/* vC */

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --p-size: 1.1rem;
    --h1-lh: 1.2;
    --h2-lh: 1.3;
    --h3-lh: 1.4;
    --p-lh: 1.8;
    --h1-weight: 700;
    --h2-weight: 600;
    --h3-weight: 600;
    --primary: #68a31f;
    --primary-dark: #527d18;
    --secondary: #354b61;
    --accent: #f79c21;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #767676;
    --link-color: #68a31f;
    --link-hover: #527d18;
    --background-light: #f5f7f0;
    --border-color: #dde5d3;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-xxl: 80px;
    --paragraph-margin: 1.2em;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); font-size: var(--p-size); line-height: var(--p-lh); color: var(--text-dark); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-color); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); text-decoration: underline; }

/* === SKIP LINK === */
.skip-link { position: absolute; top: -100%; left: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 9999; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 0; }

/* === HEADER === */
.main-header { background: #fff; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 1000; }
.container-nav { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.main-logo { text-decoration: none; display: flex; align-items: center; gap: var(--spacing-sm); }
.main-logo img { height: 50px; width: auto; }
.main-logo-text { font-size: 1rem; font-weight: 700; color: var(--secondary); line-height: 1.2; max-width: 200px; }
.menu ul { list-style: none; display: flex; gap: var(--spacing-xs); flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--text-dark); font-weight: 500; padding: 8px 12px; border-radius: 4px; transition: background .2s, color .2s; font-size: .95rem; }
.menu a:hover, .menu a.active { background: var(--primary); color: #fff; text-decoration: none; }
.container-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.container-burger span { display: block; width: 26px; height: 3px; background: var(--secondary); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.container-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.container-burger.open span:nth-child(2) { opacity: 0; }
.container-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === HERO / MASTHEAD === */
.main-masthead { position: relative; background: var(--secondary); color: #fff; overflow: hidden; min-height: 280px; display: flex; align-items: center; }
.main-masthead-home { min-height: 400px; }
.main-masthead-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.main-masthead .container-hero { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: var(--spacing-xxl) var(--spacing-md); }
.main-masthead h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-lh); margin-bottom: var(--spacing-sm); text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.main-masthead .container-subtitle { font-size: 1.15rem; opacity: .9; max-width: 700px; }
.container-breadcrumb { font-size: .9rem; margin-bottom: var(--spacing-md); }
.container-breadcrumb a { color: #fff; opacity: .8; text-decoration: none; }
.container-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.container-breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .6; }

/* === MAIN CONTENT === */
.main-inner { max-width: 1200px; margin: 0 auto; padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xxl); }
.container-content { max-width: 100%; }
.container-content h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-lh); color: var(--text-dark); margin: 2em 0 .8em; padding-bottom: .4em; border-bottom: 2px solid var(--primary); }
.container-content h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-lh); color: var(--secondary); margin: 1.6em 0 .6em; }
.container-content h4 { font-size: var(--h4-size); font-weight: 600; margin: 1.4em 0 .5em; }
.container-content p { margin-bottom: var(--paragraph-margin); color: var(--text-medium); }
.container-content ul, .container-content ol { margin: 0 0 var(--paragraph-margin) 1.5em; color: var(--text-medium); }
.container-content li { margin-bottom: .5em; }
.container-content strong { color: var(--text-dark); }
.container-content a { color: var(--link-color); text-decoration: underline; }
.container-content a:hover { color: var(--link-hover); }

/* === IMAGE BLOCK === */
.box-img-block { margin: 0 0 var(--spacing-xl); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.box-img-block img { width: 100%; display: block; }

/* === TABLE RESPONSIVE === */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem; }
.table-responsive table { width: 100%; min-width: 500px; border-collapse: collapse; }
.table-responsive th { background: var(--primary); color: #fff; font-weight: 600; white-space: nowrap; padding: 10px 14px; text-align: left; }
.table-responsive td { padding: 10px 14px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.table-responsive tr:nth-child(even) { background: var(--background-light); }
@media (max-width: 480px) {
    .table-responsive { overflow-x: visible; }
    .table-responsive table, .table-responsive thead, .table-responsive tbody,
    .table-responsive th, .table-responsive td, .table-responsive tr { display: block; }
    .table-responsive thead tr { display: none; }
    .table-responsive tr { margin-bottom: 1rem; border: 1px solid var(--border-color); border-radius: 6px; }
    .table-responsive td { display: flex; gap: 8px; padding: 8px 12px; }
    .table-responsive td::before { content: attr(data-label); font-weight: 600; color: var(--primary); min-width: 120px; flex-shrink: 0; }
}

/* === FAQ SCHEMA === */
div[itemscope][itemtype="https://schema.org/FAQPage"] { margin-top: 2em; }
div[itemprop="mainEntity"] { margin-bottom: 1.5em; border-left: 3px solid var(--primary); padding-left: var(--spacing-md); }
div[itemprop="mainEntity"] h3 { color: var(--primary); margin-top: 0; }

/* === CONTACT FORM === */
.container-form { max-width: 600px; }
.container-form .box-field { margin-bottom: var(--spacing-lg); }
.container-form label { display: block; font-weight: 600; margin-bottom: var(--spacing-xs); color: var(--text-dark); }
.container-form input, .container-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-color); border-radius: 6px; font-family: var(--font-primary); font-size: 1rem; transition: border-color .2s; }
.container-form input:focus, .container-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(104,163,31,.15); }
.container-form textarea { min-height: 160px; resize: vertical; }
.container-form .box-submit { display: inline-block; background: var(--primary); color: #fff; font-size: 1rem; font-weight: 600; padding: 14px 32px; border: none; border-radius: 6px; cursor: pointer; transition: background .2s; }
.container-form .box-submit:hover { background: var(--primary-dark); }
.container-form .box-success { background: #e8f5e9; color: #2e7d32; padding: var(--spacing-md); border-radius: 6px; margin-bottom: var(--spacing-lg); }
.container-form .box-error { background: #fbe9e7; color: #c62828; padding: var(--spacing-md); border-radius: 6px; margin-bottom: var(--spacing-lg); }

/* === MENTIONS LEGALES IMAGE === */
.container-mentions-img { text-align: center; margin: var(--spacing-xl) 0; }
.container-mentions-img img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* === HOME HERO === */
.wrapper-hero { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wrapper-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wrapper-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(53,75,97,.85) 0%, rgba(53,75,97,.6) 100%); }
.wrapper-hero-content { position: relative; z-index: 1; max-width: 750px; text-align: center; padding: var(--spacing-xxl) var(--spacing-md); color: #fff; }
.wrapper-hero-content h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-lh); margin-bottom: var(--spacing-md); text-shadow: 0 2px 4px rgba(0,0,0,.3); color: #fff; }
.hero-subtitle { font-size: 1.15rem; opacity: .9; margin-bottom: var(--spacing-lg); line-height: 1.7; }
.btn-main { display: inline-block; background: var(--primary); color: #fff; font-size: 1rem; font-weight: 600; padding: 14px 36px; border-radius: 6px; text-decoration: none; transition: background .2s, transform .2s; }
.btn-main:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }

/* === HOME SECTIONS === */
.container-section { padding: var(--spacing-xxl) 0; }
.container-section-alt { padding: var(--spacing-xxl) 0; background: var(--background-light); }
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }

/* === SPLIT LAYOUT === */
.primary-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.primary-split-reverse { direction: rtl; }
.primary-split-reverse > * { direction: ltr; }
.primary-split-img img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.primary-split-text h2 { margin-top: 0; }
.primary-split-text p { color: var(--text-medium); margin-bottom: var(--paragraph-margin); }
.primary-split-text ul { margin: 0 0 var(--paragraph-margin) 1.5em; color: var(--text-medium); }
.primary-split-text li { margin-bottom: .5em; }
.primary-split-text strong { color: var(--text-dark); }
.title-accent { font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-lh); color: var(--text-dark); margin-bottom: .8em; padding-bottom: .4em; border-bottom: 2px solid var(--primary); }

/* === SECTION HEADERS === */
.section-header-centered { text-align: center; margin-bottom: var(--spacing-xl); }
.section-title { font-size: var(--h2-size); font-weight: var(--h2-weight); color: var(--text-dark); margin-bottom: var(--spacing-sm); }
.section-subtitle { font-size: 1.1rem; color: var(--text-medium); max-width: 600px; margin: 0 auto; }

/* === CARD GRID === */
.box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.box-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.box-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.1); text-decoration: none; }
.box-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.box-card-body { padding: var(--spacing-md); }
.box-card-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--secondary); margin-bottom: var(--spacing-xs); }
.box-card-body p { font-size: .95rem; color: var(--text-medium); margin: 0; }

/* === FEATURED SECTION === */
.container-featured { padding: var(--spacing-xxl) 0; background: var(--secondary); color: #fff; }
.container-featured .primary-split-text p,
.container-featured .primary-split-text li { color: rgba(255,255,255,.85); }
.container-featured .primary-split-text strong { color: #fff; }
.container-featured .table-responsive th { background: var(--primary); }
.container-featured .table-responsive td { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.container-featured .table-responsive tr:nth-child(even) { background: rgba(255,255,255,.05); }
.featured-title { font-size: var(--h2-size); font-weight: var(--h2-weight); color: var(--accent); margin-bottom: .8em; padding-bottom: .4em; border-bottom: 2px solid var(--accent); }

/* === FOOTER === */
.main-page-footer { background: var(--secondary); color: #fff; padding: var(--spacing-xxl) 0 0; margin-top: var(--spacing-xxl); }
.container-footer { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }
.container-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
.main-footer-logo { height: 40px; width: auto; margin-bottom: var(--spacing-md); }
.main-footer-tagline { font-size: .9rem; opacity: .8; line-height: 1.6; }
.main-footer-heading { font-size: 1rem; font-weight: 600; margin-bottom: var(--spacing-md); color: var(--accent); }
.main-footer-links { list-style: none; }
.main-footer-links li { margin-bottom: var(--spacing-sm); }
.main-footer-links a { color: #fff; opacity: .8; text-decoration: none; font-size: .9rem; }
.main-footer-links a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.container-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: var(--spacing-lg) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--spacing-md); font-size: .85rem; opacity: .7; }
.container-footer-bottom a { color: #fff; text-decoration: none; }
.container-footer-bottom a:hover { text-decoration: underline; color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--primary); padding: var(--spacing-md); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
    .menu.open { display: block; }
    .menu ul { flex-direction: column; gap: 0; }
    .menu a { display: block; padding: 12px 16px; border-radius: 0; border-bottom: 1px solid var(--border-color); }
    .container-burger { display: block; }
    .main-masthead h1 { font-size: 2rem; }
    .box-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --h1-size: 1.8rem; --h2-size: 1.5rem; --h3-size: 1.25rem; --p-size: 1rem; --spacing-xxl: 48px; }
    .main-inner { padding: var(--spacing-lg) var(--spacing-md) var(--spacing-xl); }
    .main-masthead .container-hero { padding: var(--spacing-xl) var(--spacing-md); }
    .main-masthead { min-height: 200px; }
    .main-masthead-home { min-height: 280px; }
    .primary-split { grid-template-columns: 1fr; gap: var(--spacing-lg); }
    .primary-split-reverse { direction: ltr; }
    .wrapper-hero { min-height: 320px; }
    .wrapper-hero-content h1 { font-size: 1.8rem; }
    .container-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .container-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container-footer-grid { grid-template-columns: 1fr; }
    .main-logo-text { display: none; }
    .box-grid { grid-template-columns: 1fr; }
    .wrapper-hero { min-height: 260px; }
}
