/* =========================================================
   SAGA - hoja de estilos
   Colores y tipografias en :root para editarlos facilmente
   ========================================================= */
/* Tipografias autohospedadas (licencia SIL OFL) */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #162b4b;
  --navy-2: #1c355e;
  --ink: #4c4a47;
  --muted: #6b6864;
  --line: #d6d1ca;
  --paper: #ffffff;
  --tint: #f0f0f0;
  --accent: #357379;
  --accent-light: #7fc3c5;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22,43,75,.07); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; }
.brand { display: inline-flex; align-items: center; }
.brand img, .footer-logo { height: 52px; width: auto; }
.footer-logo { height: 34px; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a { text-decoration: none; font-size: .95rem; font-weight: 400; letter-spacing: .01em; color: var(--navy); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--accent); }
.lang-switch { display: flex; gap: 2px; border-left: 1px solid var(--line); padding-left: 24px; }
.lang-switch a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); padding: 4px 7px; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 1.5px; background: var(--navy); margin: 6px 0; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #eef0f3; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); }
.hero--home { padding: clamp(88px, 13vw, 170px) 0 clamp(80px, 11vw, 150px); }
.hero-art { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 15ch; margin-bottom: .35em; }
.hero--home h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); max-width: 14ch; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 60ch; color: #cfd5dd; margin: 0; }
.eyebrow, .kicker { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.4em; }
.eyebrow { color: var(--accent-light); }
.crumbs { font-size: .8rem; color: #9aa6b5; margin-bottom: 2em; display: flex; gap: .7em; flex-wrap: wrap; }
.crumbs a { color: #cfd5dd; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section-title { margin-bottom: 1.2em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.big-text { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.38; color: var(--navy); margin: 0; }
.intro { border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.prose p { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-size: .88rem; font-weight: 600; letter-spacing: .02em; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; word-break: break-all; }
.text-link:hover { color: var(--accent); }
.text-link .ico { transition: transform .2s; }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); color: #dfe4ea; padding: clamp(56px, 7vw, 88px) 0; }
.stats .kicker { color: var(--accent-light); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.stat-grid li { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.stat-grid li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(2.1rem, 3.5vw, 2.9rem); line-height: 1; color: #fff; }
.stat-label { font-size: .88rem; color: #aeb8c4; max-width: 24ch; }
.regions { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #cfd5dd; }
.regions span { color: var(--accent-light); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-right: .8em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.card { display: flex; flex-direction: column; padding: 32px 28px 36px 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); transition: background .25s; position: relative; }
.card + .card { padding-left: 28px; border-left: 1px solid var(--line); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin: .5em 0 .6em; }
.card p { color: var(--muted); font-size: .94rem; flex: 1; }
.card-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.05rem; color: var(--accent); letter-spacing: .06em; }
.card-link { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 600; color: var(--navy); }
.card:hover .card-link { color: var(--accent); }

.sector-list { columns: 2; column-gap: 40px; }
.sector-list li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.22rem; color: var(--navy); }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #cfd5dd; padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; }
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 14px 24px; font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; border: 1px solid var(--navy); color: var(--navy); background: transparent; transition: background .2s, color .2s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn--accent { border-color: var(--accent); color: #fff; background: var(--accent); }
.btn--accent:hover { background: transparent; color: var(--accent-light); }

/* ---------- About ---------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 88px); border-top: 1px solid var(--line); padding-top: 48px; }
.profile-side h3 { font-size: 2rem; margin: 22px 0 4px; }
.role { color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.profile-side .kicker { margin: 40px 0 12px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; color: var(--navy); font-weight: 600; }
.profile-body p { font-size: 1.06rem; line-height: 1.8; }
.profile-body p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2rem; line-height: .8; padding: 6px 10px 0 0; color: var(--accent); }

/* ---------- Services ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { font-size: .84rem; padding: 7px 14px; border: 1px solid var(--line); color: var(--navy); background: var(--tint); }
.services-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); padding-top: 64px; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .92rem; color: var(--muted); transition: color .2s; }
.toc a span { font-variant-numeric: lining-nums; font-family: var(--serif); color: var(--accent); }
.toc a:hover, .toc a.is-active { color: var(--navy); font-weight: 600; }
.service { padding: 0 0 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; margin-bottom: 0; }
.service-head { display: flex; gap: 18px; align-items: baseline; margin-bottom: 20px; }
.service-head h2 { margin: 0; }
.service-body p { font-size: 1.04rem; line-height: 1.8; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 8px; }
.sub { background: var(--tint); padding: 28px; border-top: 2px solid var(--accent); }
.sub h4 { font-size: 1.35rem; }
.sub p { font-size: .95rem !important; line-height: 1.7 !important; margin: 0; }
.list-label { font-weight: 600; color: var(--navy) !important; margin-top: 1.4em; }
.ticks { margin: 8px 0 28px; }
.ticks li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 16px; height: 1px; background: var(--accent); }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector { padding: 32px 30px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.sector:hover { background: var(--tint); }
.sector h3 { margin: .55em 0 .45em; font-size: 1.45rem; }
.sector p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border-top: 2px solid var(--accent); background: var(--tint); padding: 32px 28px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-main { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); margin: 0 0 24px; overflow-wrap: anywhere; }
.contact-main a { text-decoration: none; }
.contact-main a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #10213a; color: #9aa6b5; padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tag { margin-top: 18px; max-width: 34ch; }
.footer-nav { columns: 2; column-gap: 24px; }
.footer-nav li { padding: 4px 0; }
.site-footer a { text-decoration: none; color: #cfd5dd; }
.site-footer a:hover { color: var(--accent-light); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .8rem; }
.to-top { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }


/* ---------- Retrato (Quienes somos) ---------- */
.intro--portrait { position: relative; overflow: hidden; background: #fff; min-height: clamp(560px, 50vw, 760px); display: flex; align-items: center; }
.portrait-media { position: absolute; inset: 0; margin: 0; }
.portrait-media img { width: 100%; height: 100%; object-fit: cover; object-position: right 5%; display: block; }
.portrait-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 28%, rgba(255,255,255,.7) 38%, rgba(255,255,255,0) 50%); }
.about-hero { position: relative; z-index: 1; width: 100%; padding-block: clamp(56px, 6vw, 88px); }
.about-text { max-width: 470px; }
.about-text .kicker { margin-bottom: 1.6em; }
.about-text .big-text { font-size: clamp(1.4rem, 1.9vw, 1.75rem); }
.headshot { width: 132px; height: 165px; object-fit: cover; display: block; }
@media (max-width: 1100px) {
  .intro--portrait { display: block; min-height: 0; }
  .portrait-media { position: relative; inset: auto; order: 2; }
  .portrait-media img { height: auto; aspect-ratio: 4 / 3; object-position: 80% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .portrait-media::after { display: none; }
  .intro--portrait { display: flex; flex-direction: column; }
  .about-hero { order: 1; padding-bottom: 8px; }
  .about-text { max-width: 640px; }
  .about-text .big-text { font-size: clamp(1.35rem, 3.6vw, 1.75rem); }
}


/* ---------- Hero de Inicio con skyline CDMX ---------- */
.hero--home { background: #1f2e4f; min-height: clamp(560px, 52vw, 760px); display: flex; align-items: center; }
.hero--home .hero-art { opacity: 1; background-color: #1f2e4f; background-image: url("../img/home-skyline-1400.jpg"); background-image: image-set(url("../img/home-skyline-1400.jpg") 1x, url("../img/home-skyline-2400.jpg") 2x); background-size: cover; background-position: right bottom; background-repeat: no-repeat; }
.hero--home::after { background: linear-gradient(90deg, rgba(31,46,79,.85) 0%, rgba(31,46,79,.55) 38%, rgba(31,46,79,0) 58%); }
.hero--home .hero-inner { width: 100%; }
.hero--home .hero-lead { max-width: 50ch; }
@media (min-width: 1600px) { .hero--home .hero-art { background-image: url("../img/home-skyline-2400.jpg"); } }
@media (max-width: 900px) {
  .hero--home { display: block; min-height: 0; padding-bottom: 100vw; }
  .hero--home .hero-lead { max-width: none; }
  .hero--home .hero-art { background-size: 190% auto; background-position: 100% 100%; }
  .hero--home::after { background: linear-gradient(180deg, #1f2e4f 0%, #1f2e4f 45%, rgba(31,46,79,.5) 60%, rgba(31,46,79,0) 70%); }
}


/* ---------- Heroes de Servicios y Sectores con ilustracion (3/4 derechos) ---------- */
.page-services .hero, .page-sectors .hero { min-height: min(41.9vw, 720px); display: flex; align-items: center; }
.page-services .hero-inner, .page-sectors .hero-inner { width: 100%; }
.page-services .hero-art, .page-sectors .hero-art { left: 25%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 18%, #000 42%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 18%, #000 42%); background: url("../img/services-orchestra-900.jpg") right center / contain no-repeat; background-image: image-set(url("../img/services-orchestra-900.jpg") 1x, url("../img/services-orchestra-1600.jpg") 2x); }
.page-services .hero-inner, .page-sectors .hero-inner { z-index: 2; }
.page-services .hero-lead, .page-sectors .hero-lead { max-width: min(40ch, 44vw); }
@media (max-width: 900px) { .page-services .hero-lead, .page-sectors .hero-lead { max-width: none; } }
@media (min-width: 1000px) { .page-services .hero-art, .page-sectors .hero-art { background-image: url("../img/services-orchestra-1600.jpg"); } }
@media (max-width: 900px) {
  .page-services .hero, .page-sectors .hero { padding-bottom: 62vw; display: block; min-height: 0; }
  .page-services .hero-art, .page-sectors .hero-art { left: 0; top: auto; height: 58vw; background-size: cover; background-position: center; -webkit-mask-image: none; mask-image: none; }
}


.page-sectors .hero-art { background-image: url("../img/sectors-industries-900.jpg"); background-image: image-set(url("../img/sectors-industries-900.jpg") 1x, url("../img/sectors-industries-1600.jpg") 2x); }
@media (min-width: 1000px) { .page-sectors .hero-art { background-image: url("../img/sectors-industries-1600.jpg"); } }
@media (min-width: 901px) { .page-sectors .hero-art { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 16%, rgba(0,0,0,.22) 27%, #000 50%); mask-image: linear-gradient(90deg, transparent 0, transparent 16%, rgba(0,0,0,.22) 27%, #000 50%); } }
/* ---------- Inicio: segunda seccion con el rayo del logo ---------- */
.intro-home { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.intro-mark { display: flex; justify-content: center; align-items: center; }
.intro-mark img { height: clamp(120px, 12vw, 170px); width: auto; }
.intro-home .big-text { min-width: 0; }
@media (max-width: 900px) {
  .intro-home { grid-template-columns: 1fr; gap: 28px; }
  .intro-mark img { height: 96px; }
}


/* ---------- Hero de Quienes somos con ilustracion (3/4 derechos, abajo) ---------- */
.page-about .hero-inner { z-index: 2; }
.page-about .hero-lead { max-width: min(40ch, 44vw); }
.page-about .hero-art { left: 25%; background: url("../img/about-meeting-900.jpg") right bottom / contain no-repeat; background-image: image-set(url("../img/about-meeting-900.jpg") 1x, url("../img/about-meeting-1600.jpg") 2x); -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 12%, rgba(0,0,0,.3) 24%, #000 45%); mask-image: linear-gradient(90deg, transparent 0, transparent 12%, rgba(0,0,0,.3) 24%, #000 45%); }
@media (min-width: 1000px) { .page-about .hero-art { background-image: url("../img/about-meeting-1600.jpg"); } }
@media (max-width: 900px) {
  .page-about .hero { padding-bottom: 52vw; }
  .page-about .hero-lead { max-width: none; }
  .page-about .hero-art { left: 0; top: auto; height: 49vw; background: url("../img/about-meeting-mobile.jpg") center bottom / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Enlaces del perfil (correo + LinkedIn) ---------- */
.profile-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.li-link { display: inline-flex; border-radius: 3px; transition: transform .2s, opacity .2s; }
.li-link svg { display: block; width: 24px; height: 24px; }
.li-link:hover { opacity: .85; transform: translateY(-1px); }

/* ---------- Animacion de entrada ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(22,43,75,.1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .lang-switch { border-left: 0; padding: 20px 0 0; gap: 8px; }
  .lang-switch a { font-size: .9rem; padding: 6px 10px; border: 1px solid var(--line); }
  .split, .profile, .services-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .services-layout { padding-top: 48px; }
  .sub-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .card-grid, .sector-grid, .stat-grid { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 28px 0 32px; border-left: 0; }
  .stat-grid li, .stat-grid li + li { padding: 22px 0 14px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .sector-list { columns: 1; }
  .toc ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { columns: 2; }
  .cta .btn { width: 100%; justify-content: center; }
  .brand img { height: 42px; }
}
