:root {
  --white: #ffffff;
  --olive: #807f26;
  --green: #3a7a2a;
  --ink: #111111;
  --body: #333333;
  --muted: #666666;
  --tint: #f5f7f3;
  --line: rgba(17, 17, 17, .13);
  --gutter: clamp(24px, 5vw, 76px);
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--body); font-family: "Poppins", sans-serif; font-size: 16px; line-height: 1.75; }
body.menu-open { overflow: hidden; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 20px; padding: 12px 18px; border-radius: 4px; background: var(--green); color: var(--white); }
.skip-link:focus { top: 20px; }
.content-shell { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(88px, 8vw, 120px); scroll-margin-top: 76px; }
.centered { text-align: center; }

/* Navbar */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid rgba(17, 17, 17, .08); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-shell { display: flex; align-items: center; gap: clamp(14px, 1.55vw, 24px); width: min(100%, 1440px); height: 88px; margin-inline: auto; padding-inline: var(--gutter); transition: height .25s ease; }
.site-header.is-scrolled .nav-shell { height: 72px; }
.brand { flex: 0 0 150px; display: flex; align-items: center; height: 68px; }
.brand img { width: auto; max-width: 144px; max-height: 64px; height: auto; object-fit: contain; transition: max-width .25s ease, max-height .25s ease; }
.site-header.is-scrolled .brand img { width: auto; max-width: 132px; max-height: 56px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.2vw, 20px); margin-left: auto; }
.nav-links a { position: relative; color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; right: 100%; bottom: -8px; left: 0; height: 2px; background: var(--green); transition: right .23s ease; }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active:not(.nav-cta) { color: var(--green); }
.language-switch { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1; }
.language-option { min-width: 27px; min-height: 28px; padding: 0 5px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.language-option.is-active { background: var(--green); color: var(--white); }
.nav-cta, .primary-button, .secondary-button, .submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 25px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 600; letter-spacing: .035em; cursor: pointer; transition: transform .23s ease, background-color .23s ease; }
.nav-cta:hover, .primary-button:hover, .secondary-button:hover, .submit-button:hover:not(:disabled) { background: var(--olive); transform: translateY(-2px); }
.button-arrow { display: inline-block; transition: transform .23s ease; }
.primary-button:hover .button-arrow, .secondary-button:hover .button-arrow, .submit-button:hover .button-arrow { transform: translateX(4px); }
.nav-cta { flex: none; min-width: 118px; margin-left: 0; color: var(--white); font-size: 12px; text-transform: uppercase; }
.menu-toggle, .mobile-only, .mobile-drawer-header, .menu-overlay { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 760px; height: 100svh; max-height: 980px; overflow: hidden; background: linear-gradient(90deg, var(--white) 0 54%, var(--tint) 54% 100%); }
.hero-photo { position: absolute; z-index: 0; inset: 0 0 0 50%; background: url("../assets/photos/hero-refinery.jpg") center / cover no-repeat; opacity: 0; animation: hero-image-in .9s .15s ease forwards; }
.hero-photo::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 18%; background: linear-gradient(90deg, rgba(255,255,255,.48), rgba(255,255,255,0)); pointer-events: none; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 55%, rgba(17,17,17,.48) 100%); }
.hero-wash { position: absolute; z-index: 1; inset: 0 42% 0 0; background: var(--white); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: 106px; opacity: 0; transform: translateY(24px); animation: hero-content-in .75s .1s ease forwards; }
.hero-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 18px; color: var(--olive); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; }
.hero-kicker::after, .eyebrow::after { content: ""; width: 58px; height: 2px; background: currentColor; }
.hero h1 { max-width: 700px; margin: 22px 0 24px; color: var(--ink); font-size: clamp(3rem, 5vw, 5.5rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 .hero-title-break { display: inline; }
.hero h1 span { font-weight: 700; }
.hero h1 strong { color: var(--olive); font-weight: 700; }
.hero-copy { max-width: 580px; margin: 0 0 32px; color: var(--body); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; }
.primary-button { min-width: 174px; }
.hero-capabilities { display: flex; width: min(650px, 49vw); margin-top: clamp(48px, 7vh, 84px); border-top: 1px solid var(--line); }
.hero-capabilities span { flex: 1; padding: 22px 24px 0 0; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .09em; }
.hero-capabilities span + span { border-left: 1px solid var(--line); padding-left: 28px; }

/* Shared section typography */
.split { display: grid; align-items: center; gap: clamp(52px, 7vw, 110px); }
.split-company { grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); }
.split-values { grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); }
.section-intro { margin-bottom: 30px; }
.section-intro h2 { margin: 13px 0 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; text-transform: uppercase; }
.lead-copy { color: var(--body); font-size: clamp(1.1rem, 1.55vw, 1.42rem); line-height: 1.65; }
.split p:not(.lead-copy) { color: var(--muted); }
.why-image, .products-image, .contact-image, .partner-logo { overflow: hidden; }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; z-index: -1; inset: -42px -42px auto auto; width: 70%; aspect-ratio: 1; border: 1px solid var(--olive); border-radius: 50%; opacity: .6; }
.image-frame img, .why-image img, .products-image img, .contact-image img, .partner-logo img { transition: transform .6s ease; }
.image-frame img { width: 100%; height: 100%; border-radius: 30px 0 30px 0; object-fit: cover; }
.image-company { aspect-ratio: 1.04; }
.image-tall { height: min(680px, 67vw); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.fact-row div { padding: 26px 20px 0 0; }
.fact-row div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.fact-row b, .fact-row span { display: block; }
.fact-row b { color: var(--ink); font-size: 15px; }
.fact-row span { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Values */
.values-section { background: linear-gradient(90deg, var(--white) 0 64%, var(--tint) 64%); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.value-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.92); transition: transform .25s ease, border-color .25s ease; }
.value-card span, .pillars-grid > article > span { color: var(--olive); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.value-card h3 { margin: 26px 0 0; color: var(--ink); font-size: 16px; line-height: 1.4; text-transform: uppercase; }

/* Regions */
.centered-intro { display: flex; flex-direction: column; align-items: center; }
.regions-section .section-intro { margin-bottom: 0; }
.regions-section .eyebrow::after { display: none; }
.section-intro .regiones-title { max-width: 1000px; margin: 20px auto 0; color: var(--ink); font-family: "Poppins", sans-serif; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 700; line-height: .95; text-align: center; white-space: normal; }
.regiones-title::after { content: ""; display: block; width: 58px; height: 2px; margin: 22px auto 0; background: var(--olive); }
.regions-map { width: min(100%, 1125px); margin: clamp(38px, 3.5vw, 48px) auto 36px; aspect-ratio: 1125 / 462; object-fit: contain; }
.regions-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.regions-grid article { min-height: 122px; padding: 22px 24px; }
.regions-grid article + article { border-left: 1px solid var(--line); }
.regions-grid h3 { margin: 0 0 10px; color: var(--ink); font-size: 15px; text-transform: uppercase; letter-spacing: .13em; }
.regions-grid h3::after { content: ""; display: block; width: 34px; height: 2px; margin: 12px auto; background: var(--olive); }
.regions-grid p { margin: 0; color: var(--muted); }

/* Why us */
.why-section { padding-block: clamp(72px, 7vw, 104px); background: var(--tint); scroll-margin-top: 76px; }
.why-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); grid-template-areas: "content image" "band image"; align-items: stretch; }
.why-content { grid-area: content; padding: clamp(44px, 5vw, 76px); background: var(--white); }
.why-intro { max-width: 700px; margin: -4px 0 38px; color: var(--muted); font-size: 17px; }
.why-image { grid-area: image; min-height: 740px; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillars-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: transform .25s ease, border-color .25s ease; }
.pillars-grid h3, .why-band h3 { margin: 10px 0 8px; color: var(--ink); font-size: 17px; line-height: 1.3; text-transform: uppercase; }
.pillars-grid p, .why-band p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.why-band { grid-area: band; display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; padding: 34px clamp(38px, 5vw, 76px); background: var(--tint); border-top: 1px solid var(--line); }
.why-band article + article { border-left: 1px solid var(--line); padding-left: 36px; }

/* Products */
.products-section { background: var(--white); color: var(--ink); scroll-margin-top: 76px; }
.products-layout { display: grid; grid-template-columns: minmax(0, 58fr) minmax(360px, 42fr); align-items: center; padding-right: 0; }
.products-content { padding-block: clamp(64px, 5.5vw, 80px); padding-right: clamp(36px, 5vw, 72px); }
.products-section .section-intro { margin-bottom: 0; }
.products-section .section-intro h2 { margin-top: 18px; color: var(--green); font-family: "Poppins", sans-serif; font-size: clamp(2.5rem, 4.5vw, 4.8rem); font-weight: 700; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; align-items: start; margin-top: 42px; }
.product-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.product-media { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: clamp(150px, 12vw, 190px); aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid rgba(128,127,38,.25); border-radius: 50%; background: var(--white); transition: border-color .25s ease; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-name { margin: 18px 0 0; color: var(--green); font-family: "Poppins", sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-transform: uppercase; }
.product-line { display: block; width: 34px; height: 3px; margin-top: 12px; border-radius: 999px; background: var(--green); }
.secondary-button { margin-top: 40px; }
.products-image { width: 100%; height: clamp(650px, 53vw, 760px); }
.products-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }

/* Offices and partners */
.offices-section { position: relative; isolation: isolate; overflow: hidden; background: var(--white); }
.offices-section::before { content: ""; position: absolute; z-index: 0; inset: 100px 0 auto; height: min(620px, 58vw); background: url("../assets/maps/regiones-servidas-map.png") center top / min(1200px, 92vw) auto no-repeat; opacity: .035; pointer-events: none; }
.offices-section > .content-shell { position: relative; z-index: 1; }
.offices-section .section-intro { margin-bottom: 0; }
.offices-section .eyebrow::before { content: ""; width: 58px; height: 2px; background: currentColor; }
.offices-section .section-intro h2 { margin-top: 20px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.offices-showcase { position: relative; z-index: 1; width: min(100%, 1240px); margin: 52px auto 0; }
.office-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 34px 30px; border: 1px solid rgba(58,122,42,.22); border-radius: 18px; background: var(--white); text-align: center; transition: transform .25s ease, border-color .25s ease; }
.office-card-main { width: min(64%, 820px); margin-inline: auto; padding: 40px 42px; }
.office-alliances-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; margin-top: 26px; }
.office-pin { position: relative; display: block; width: 31px; height: 31px; margin: 4px 0 25px; border: 3px solid var(--green); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.office-pin::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border: 2px solid var(--green); border-radius: 50%; transform: translate(-50%, -50%); }
.office-type { margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: .18em; text-transform: uppercase; }
.office-city { margin: 14px 0 0; color: var(--green); font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.15; text-transform: uppercase; }
.office-card-main .office-city { font-size: clamp(1.75rem, 2.8vw, 2.65rem); }
.office-rule { display: block; width: 42px; height: 2px; margin: 18px 0; border-radius: 999px; background: var(--olive); }
.office-card address { margin: 0; color: var(--body); font-size: 14px; font-style: normal; line-height: 1.7; }
.office-card-main address { font-size: 16px; }
.partners-section { background: var(--tint); }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.partner-card { display: flex; flex-direction: column; min-height: 380px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.partner-logo { display: grid; place-items: center; height: 270px; padding: 35px; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-card h3 { min-height: 92px; margin: auto 24px 0; padding: 22px 0; border-top: 1px solid var(--line); color: var(--green); font-size: 14px; line-height: 1.4; }

/* Contact */
.contact-section { scroll-margin-top: 76px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr); min-height: 890px; }
.contact-content { width: min(780px, 100%); margin-left: auto; padding: clamp(86px, 7vw, 118px) clamp(44px, 6vw, 92px) clamp(86px, 7vw, 118px) var(--gutter); }
.contact-content .section-intro { margin-bottom: 36px; }
.contact-content .lead-copy { margin-bottom: 42px; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 8px; color: var(--body); font-size: 14px; font-weight: 500; }
.field label span { color: var(--green); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; border: 1px solid rgba(17,17,17,.22); border-radius: 8px; background: var(--white); padding: 13px 15px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 170px; resize: vertical; padding-bottom: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,122,42,.12); }
.field-phone .iti { width: 100%; }
.field-phone .iti input { padding-left: 112px !important; }
.iti__dropdown-content { max-width: min(360px, calc(100vw - 40px)); }
.counter { position: absolute; right: 13px; bottom: 8px; color: var(--muted); font-size: 12px; }
.field-error { grid-column: 1 / -1; min-height: 0; margin: -12px 0 0; color: var(--body); font-size: 13px; }
.field-error:empty { display: none; }
.submit-button { width: 100%; min-height: 54px; margin-top: 24px; border-radius: 8px; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 30px; margin-top: 14px; font-size: 14px; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: var(--body); }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Compact contact modal */
.contact-modal { width: min(920px, calc(100% - 32px)); max-height: min(800px, calc(100dvh - 32px)); margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(17,17,17,.14); border-radius: 18px; background: var(--white); color: var(--body); box-shadow: 0 24px 70px rgba(17,17,17,.2); }
.contact-modal::backdrop { background: rgba(17,17,17,.56); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.contact-modal[open] { animation: modal-in .25s ease both; }
.contact-modal-panel { position: relative; max-height: min(800px, calc(100dvh - 32px)); padding: clamp(24px, 4vw, 38px); overflow-y: auto; overscroll-behavior: contain; }
.contact-modal-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.contact-modal-close:hover { border-color: var(--olive); color: var(--green); transform: rotate(4deg); }
.contact-modal-header { padding-right: 58px; }
.contact-modal-header h2 { margin: 10px 0 8px; color: var(--green); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.contact-modal-header p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.contact-form-compact { margin-top: 24px; }
.contact-form-compact .form-grid { gap: 14px 16px; }
.contact-form-compact .field label { margin-bottom: 5px; font-size: 12px; }
.contact-form-compact .field input, .contact-form-compact .field select, .contact-form-compact .field textarea { min-height: 48px; padding: 10px 13px; }
.contact-form-compact .field textarea { min-height: 104px; }
.contact-form-compact .field-error { margin-top: -8px; }
.contact-form-compact .submit-button { min-height: 50px; margin-top: 18px; }
.contact-form-compact .form-status { min-height: 24px; margin-top: 10px; }

@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Footer */
.site-footer { padding: 66px 0 40px; background: var(--green); color: var(--white); }
.footer-offices { display: grid; grid-template-columns: repeat(4, 1fr); }
.footer-offices > div { padding: 0 30px; }
.footer-offices > div:first-child { padding-left: 0; }
.footer-offices > div + div { border-left: 1px solid rgba(255,255,255,.28); }
.footer-offices h3 { margin: 0 0 12px; font-size: 12px; line-height: 1.55; text-transform: uppercase; }
.footer-offices p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.7; }
.footer-bottom { margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.3); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.85); font-size: 13px; }

/* Reveal effects */
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); }
.reveal-ready .reveal.reveal-scale { transform: translateY(12px) scale(.98); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity .72s ease, transform .72s ease; transition-delay: var(--reveal-delay, 0ms); }

@keyframes hero-content-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-in { to { opacity: 1; } }

@media (hover: hover) and (pointer: fine) {
  .value-card:hover, .partner-card:hover, .pillars-grid article:hover { transform: translateY(-4px); border-color: rgba(128,127,38,.62); }
  .office-card:hover { transform: translateY(-4px); border-color: rgba(58,122,42,.45); }
  .image-frame:hover img, .why-image:hover img, .products-image:hover img, .contact-image:hover img, .partner-logo:hover img { transform: scale(1.02); }
  .product-item:hover .product-media { border-color: var(--olive); }
  .product-item:hover .product-media img { transform: scale(1.025); }
}

@media (max-width: 1250px) {
  .desktop-only { display: none; }
  .brand, .language-switch, .menu-toggle { position: relative; z-index: 2; }
  .language-switch { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-left: 0; padding: 12px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; z-index: 1; inset: 0; display: flex; padding: 110px 30px 40px; background: var(--white); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links .mobile-only { display: flex; width: 100%; margin: 24px 0 0; border-bottom: 0; }
  .hero-photo { left: 50%; }
  .hero-wash { right: 38%; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
  .hero h1 { max-width: 58vw; }
  .hero-copy { max-width: 50vw; }
  .hero-capabilities { width: 53vw; }
  .split-company, .split-values { gap: 56px; }
  .fact-row { grid-template-columns: 1fr; gap: 14px; border-top: 0; }
  .fact-row div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--tint); }
  .fact-row div + div { border-left: 1px solid var(--line); padding-left: 20px; }
  .products-layout { grid-template-columns: minmax(0, 58fr) minmax(340px, 42fr); }
  .products-content { padding-block: 68px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-offices { grid-template-columns: 1fr 1fr; gap: 38px 0; }
  .footer-offices > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; margin-top: 38px; }
  .office-card-main { width: min(78%, 760px); }
  .office-alliances-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-alliances-grid .office-card:last-child { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
}

@media (max-width: 900px) {
  .split-company, .split-values { grid-template-columns: 1fr; }
  .image-company, .image-tall { height: auto; aspect-ratio: 1.45; }
  .values-section { background: var(--white); }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .regions-grid article:nth-child(3) { border-left: 0; }
  .why-layout { grid-template-columns: 1fr; grid-template-areas: "content" "image" "band"; }
  .why-image { min-height: 520px; max-height: 650px; }
  .why-band { padding-block: 38px; }
  .products-layout { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .products-content { padding-right: 0; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-image { height: clamp(440px, 65vw, 560px); margin-inline: calc(var(--gutter) * -1); width: calc(100% + (var(--gutter) * 2)); }
  .products-image img { min-height: 0; height: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-content { width: 100%; padding-right: var(--gutter); }
  .contact-image { height: 540px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-height: 84px; }
  body { font-size: 16px; line-height: 1.78; }
  .site-header, .site-header.is-scrolled { position: sticky; inset: auto; top: 0; border-bottom-color: rgba(17,17,17,.1); background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-shell, .site-header.is-scrolled .nav-shell { height: 84px; gap: 10px; padding-inline: 18px; }
  .brand { order: 1; flex: 0 1 clamp(104px, 32vw, 150px); height: 62px; }
  .brand img, .site-header.is-scrolled .brand img { width: auto; max-width: 150px; max-height: 64px; }
  .language-switch { order: 2; flex: 0 0 88px; justify-content: center; width: 88px; height: 40px; margin-left: auto; gap: 3px; padding: 3px 5px; font-size: 10px; }
  .language-option { min-width: 29px; min-height: 30px; padding-inline: 3px; }
  .menu-toggle { order: 3; display: flex; width: 44px; min-width: 44px; height: 44px; margin: 0; padding: 10px; }
  .menu-toggle span { width: 24px; height: 2px; }
  .nav-links { position: fixed; z-index: 4; inset: 0 0 0 auto; display: flex; width: min(86vw, 360px); height: 100dvh; margin: 0; padding: 0 22px 24px; background: var(--white); box-shadow: -16px 0 44px rgba(17,17,17,.13); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.is-open { transform: translateX(0); }
  .mobile-drawer-header { position: sticky; z-index: 2; top: 0; display: flex; flex: 0 0 84px; align-items: center; justify-content: space-between; margin: 0 -2px 8px; border-bottom: 1px solid var(--line); background: var(--white); }
  .mobile-drawer-header img { width: auto; max-width: 118px; max-height: 62px; height: auto; object-fit: contain; }
  .drawer-close { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 34px; line-height: 1; cursor: pointer; }
  .drawer-close span { transform: translateY(-1px); }
  .nav-links > a { display: flex; align-items: center; min-height: 0; padding: 15px 10px 15px 14px; border-bottom: 1px solid rgba(17,17,17,.09); border-left: 3px solid transparent; color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.35; white-space: normal; }
  .nav-links > a.is-active { border-left-color: var(--green); color: var(--green); }
  .nav-links .mobile-only { display: flex; width: 100%; margin: 0; border-bottom: 1px solid rgba(17,17,17,.09); }
  .menu-overlay { position: fixed; z-index: 3; inset: 0; display: block; width: 100%; height: 100dvh; padding: 0; border: 0; background: rgba(17,17,17,.25); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
  body.menu-open .menu-overlay { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .section-pad { padding-block: clamp(72px, 19vw, 92px); }

  /* True mobile hero: one block flow, content first and photo last */
  .hero { display: block; height: auto; min-height: 0; max-height: none; padding: 0; overflow: hidden; background: var(--white); }
  .hero-content { width: 100%; padding-top: 64px; padding-bottom: 38px; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: clamp(280px, 70vw, 420px); background-position: 60% center; }
  .hero-photo::before { display: none; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.16)); }
  .hero-wash { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: .17em; }
  .hero-kicker { display: flex; flex-wrap: wrap; max-width: 100%; gap: 12px; margin: 0; font-size: .82rem; line-height: 1.6; letter-spacing: .18em; white-space: normal; }
  .hero-kicker::after, .eyebrow::after { width: 34px; }
  .hero h1 { max-width: 100%; margin: 24px 0 0; font-size: clamp(3rem, 13vw, 4.4rem); line-height: .94; letter-spacing: -.04em; overflow-wrap: normal; }
  .hero h1 .hero-title-break { display: block; }
  .hero-copy { max-width: 100%; margin: 30px 0 0; font-size: 18px; line-height: 1.55; }
  .hero .primary-button { width: auto; min-width: 210px; min-height: 56px; margin-top: 28px; }
  .hero-capabilities { display: block; width: 100%; margin-top: 42px; border-top: 1px solid var(--line); }
  .hero-capabilities span, .hero-capabilities span + span { display: flex; align-items: center; gap: 14px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; }
  .hero-capabilities span::before { content: ""; flex: 0 0 20px; width: 20px; height: 2px; background: var(--olive); }

  .section-intro { margin-bottom: 28px; }
  .section-intro h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); line-height: 1.1; overflow-wrap: normal; }
  .lead-copy { font-size: 18px; line-height: 1.68; }
  .split { gap: 46px; }
  .image-frame::before { display: none; }
  .image-company, .image-tall { aspect-ratio: 4 / 3; }
  .fact-row { margin-top: 36px; gap: 12px; }
  .fact-row div { padding: 20px; }
  .fact-row b { font-size: 16px; }
  .fact-row span { font-size: 15px; }

  .values-grid { gap: 14px; margin-top: 36px; }
  .value-card { min-height: 150px; padding: 22px; }
  .value-card h3 { font-size: 15px; }

  .regions-map { width: calc(100% + 16px); max-width: none; margin: 40px -8px 32px; }
  .regions-grid { gap: 0; margin-top: 20px; }
  .regions-grid article { min-height: 132px; padding: 22px 10px; }
  .regions-grid article + article { border-left: 0; }
  .regions-grid article:nth-child(even) { border-left: 1px solid var(--line); }
  .regions-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .regions-grid h3 { font-size: 14px; letter-spacing: .08em; }

  .why-section { padding-block: 0; }
  .why-layout { padding-inline: 0; }
  .why-content { padding: 78px var(--gutter) 64px; }
  .why-intro { margin-bottom: 34px; font-size: 16px; line-height: 1.75; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars-grid article { padding: 24px; }
  .pillars-grid h3 { font-size: 17px; }
  .pillars-grid p { font-size: 15px; }
  .why-image { min-height: 0; height: clamp(390px, 120vw, 520px); }
  .why-band { grid-template-columns: 1fr; gap: 30px; padding: 42px var(--gutter) 52px; }
  .why-band article + article { border-top: 1px solid var(--line); border-left: 0; padding: 30px 0 0; }

  .products-content { padding-block: 72px 60px; }
  .products-section .section-intro h2 { margin-top: 16px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 38px; }
  .product-media { width: min(150px, 100%); }
  .product-name { font-size: .875rem; }
  .secondary-button { width: 100%; min-height: 52px; margin-top: 38px; }
  .products-image { height: clamp(360px, 105vw, 470px); }

  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
  .partner-card { min-height: 300px; }
  .partner-logo { height: 215px; padding: 24px; }
  .partner-card h3 { min-height: 110px; margin-inline: 16px; font-size: 13px; }

  .contact-content { padding-block: 82px 72px; }
  .contact-content .section-intro { margin-bottom: 30px; }
  .contact-content .lead-copy { margin-bottom: 38px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .field-full, .field-error { grid-column: auto; }
  .field label { font-size: 14px; }
  .field input, .field select { min-height: 56px; }
  .field textarea { min-height: 190px; }
  .submit-button { min-height: 56px; }
  .contact-image { height: clamp(340px, 105vw, 470px); }

  .contact-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .contact-modal-panel { max-height: calc(100dvh - 24px); padding: 24px 18px; }
  .contact-modal-close { top: 14px; right: 14px; }
  .contact-modal-header { padding-right: 48px; }
  .contact-modal-header h2 { font-size: clamp(2rem, 11vw, 2.75rem); }
  .contact-form-compact { margin-top: 20px; }
  .contact-form-compact .form-grid { gap: 14px; }
  .contact-form-compact .field textarea { min-height: 112px; }

  .site-footer { padding: 58px 0 36px; }
  .footer-offices { grid-template-columns: 1fr; gap: 0; }
  .footer-offices > div { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0 !important; }
  .footer-offices > div:first-child { padding-top: 0; border-top: 0; }
  .footer-offices h3 { font-size: 13px; }
  .footer-offices p { font-size: 14px; }
}

@media (max-width: 640px) {
  .offices-section::before { top: 130px; height: 430px; background-size: 760px auto; }
  .offices-section .eyebrow::before, .offices-section .eyebrow::after { width: 34px; }
  .offices-showcase { margin-top: 40px; }
  .office-card-main { width: 100%; padding: 36px 24px; }
  .office-alliances-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .office-alliances-grid .office-card:last-child { grid-column: auto; width: 100%; }
  .office-card { width: 100%; padding: 34px 24px; }
  .office-type { font-size: 11px; letter-spacing: .14em; }
  .office-city, .office-card-main .office-city { font-size: clamp(1.5rem, 8vw, 2rem); }
  .office-card address, .office-card-main address { font-size: 15px; line-height: 1.65; }
}

@media (max-width: 370px) {
  :root { --gutter: 18px; }
  .nav-shell, .site-header.is-scrolled .nav-shell { gap: 8px; padding-inline: 18px; }
  .brand { flex-basis: 96px; }
  .brand img, .site-header.is-scrolled .brand img { width: auto; max-width: 96px; max-height: 60px; }
  .language-switch { flex-basis: 88px; width: 88px; padding-inline: 3px; }
  .values-grid, .regions-grid, .products-grid, .partners-grid { grid-template-columns: 1fr; }
  .regions-grid article:nth-child(even) { border-left: 0; }
  .regions-grid article + article { border-top: 1px solid var(--line); }
  .product-media { width: min(190px, 72vw); }
  .product-name { font-size: 1rem; }
  .partner-card { min-height: 340px; }
  .partner-logo { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .hero-content, .hero-photo, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}
