/* =================================================================
   Gemma's Languages — Sistema de diseño
   Paleta basada en el logo (teal/turquesa) + fucsia/rosa y acentos.
   Estilo: formal pero simpático. Globos redondeados, blobs orgánicos,
   ilustraciones e iconos (sin fotografías de personas).
   ================================================================= */

:root {
  /* --- Marca: teal (del logo) --- */
  --teal-900: #0c5552;
  --teal-800: #0f6b66;
  --teal-700: #12827b;   /* teal oscuro del logo */
  --teal:     #159c93;   /* color de marca principal */
  --teal-400: #3bbcb1;
  --teal-300: #79d6cc;
  --teal-100: #d4f0ec;

  /* --- Secundario: fucsia / rosa --- */
  --fuchsia:  #d6266e;
  --pink:     #f4669a;
  --pink-300: #ffa3c4;
  --pink-100: #ffe0eb;

  /* --- Acentos juguetones (blobs / detalles) --- */
  --coral:  #ff7a4d;
  --lime:   #bfe356;
  --lemon:  #ffd23f;
  --grape:  #7c5cff;

  /* --- Fondos suaves de secciones / tarjetas --- */
  --lavender: #e7ddf8;
  --mint:     #def2ee;
  --blush:    #ffe6ee;
  --cream:    #f7f4ee;
  --paper:    #ffffff;

  /* --- Tinta / neutros --- */
  --ink:    #14302e;     /* texto principal (teal muy oscuro) */
  --ink-70: #3d5755;
  --ink-50: #6b817f;
  --line:   #e7e3da;

  /* --- Hero / superficies oscuras --- */
  --hero:    #102e2c;
  --hero-2:  #0c2523;

  /* --- Tipografía --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* --- Medidas --- */
  --container: 1180px;
  --header-h: 70px;      /* alto aprox. de la cabecera (padding nav + logo) */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(16, 46, 44, .07);
  --shadow:    0 14px 40px rgba(16, 46, 44, .10);
  --shadow-lg: 0 30px 70px rgba(16, 46, 44, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* --------------------------- Tipografía -------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.15rem; }
.display-italic { font-style: italic; font-variation-settings: "SOFT" 60; }
p { color: var(--ink-70); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--fuchsia); border-radius: 2px; }

/* ---------------------------- Layout ----------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.12rem; }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-mint  { background: var(--mint); }
.bg-blush { background: var(--blush); }

/* ---------------------------- Botones ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--fuchsia); color: #fff; box-shadow: 0 10px 24px rgba(214, 38, 110, .28); }
.btn--primary:hover { background: #c01f62; box-shadow: 0 16px 30px rgba(214, 38, 110, .34); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(21, 156, 147, .26); }
.btn--teal:hover { background: var(--teal-700); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline.on-dark:hover { background: rgba(255,255,255,.1); }
.btn--ghost { padding: .5rem .2rem; color: var(--teal-700); font-weight: 700; }
.btn--ghost:hover { color: var(--fuchsia); }
.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }

/* ----------------------------- Pills ----------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .85rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  background: var(--teal-100); color: var(--teal-800);
}
.pill--pink { background: var(--pink-100); color: var(--fuchsia); }
.pill--lemon{ background: #fff1c2; color: #9a6b00; }

/* ============================ HEADER ============================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.on-hero { background: transparent; }
.site-header.scrolled {
  background: rgba(247, 244, 238, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 0; position: relative;
}
.nav__logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); flex-shrink: 0; }
.on-hero .nav__logo, .on-hero .nav__links > li > a, .on-hero .nav__has-sub > button, .on-hero .nav__lang button { color: #fff; }
.nav__logo .mark { width: 38px; height: 38px; flex-shrink: 0; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links > li { position: relative; }
.nav__links > li > a, .nav__has-sub > button {
  font-weight: 600; font-size: .98rem; color: var(--ink);
  background: none; border: 0; display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem 0; transition: color .2s;
}
.nav__links a:hover, .nav__has-sub > button:hover { color: var(--teal); }
.on-hero .nav__links a:hover, .on-hero .nav__has-sub > button:hover { color: var(--teal-300); }
.nav__links a.is-active { color: var(--teal); }
.on-hero .nav__links a.is-active { color: var(--lime); }
.nav__has-sub > button .chev { transition: transform .25s; }
.nav__has-sub.open > button .chev { transform: rotate(180deg); }

/* Submenú */
.nav__sub {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--radius); padding: .6rem; min-width: 230px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
  border: 1px solid var(--line);
}
.nav__has-sub:hover .nav__sub, .nav__has-sub.open .nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__sub a { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .18s; }
.nav__sub a:hover { background: var(--mint); color: var(--teal-800); }
.nav__sub .flag { font-size: 1.1rem; }

/* Acciones derecha */
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__lang { position: relative; }
.nav__lang > button { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; font-weight: 700; font-size: .92rem; color: var(--ink); padding: .4rem .2rem; }
.nav__lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .4rem; min-width: 120px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__lang.open .nav__lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__lang-menu a { display: block; padding: .5rem .7rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.nav__lang-menu a:hover { background: var(--mint); }

/* Hamburguesa */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem; margin-left: auto; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.on-hero .nav__toggle span { background: #fff; }

/* ============================= HERO ============================= */
.hero {
  background: radial-gradient(120% 100% at 80% 0%, var(--hero) 0%, var(--hero-2) 70%);
  color: #fff; position: relative; overflow: hidden;
  /* La cabecera transparente (on-hero) es sticky y reserva su fila; tiramos el
     hero hacia arriba para que quede DETRÁS de ella y el texto blanco se lea
     sobre el fondo oscuro. El padding-top compensa para no tapar el contenido. */
  margin-top: calc(-1 * var(--header-h));
  padding: calc(clamp(2rem, 6vw, 4.5rem) + var(--header-h)) 0 clamp(5rem, 10vw, 8rem);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center; }
.hero__art { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero__copy h1 { color: #fff; }
.hero__copy .lead { color: rgba(255,255,255,.82); font-size: 1.18rem; margin: 1.4rem 0 2rem; max-width: 30ch; }
.hero__copy h1 em { color: var(--lime); font-style: italic; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__badges { display: flex; gap: 1.4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: rgba(255,255,255,.78); font-weight: 600; }
.hero__badge svg { width: 20px; height: 20px; color: var(--teal-300); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; color: var(--cream); }

/* Composición ilustrada del hero */
.art-stack { position: relative; width: min(100%, 460px); aspect-ratio: 1; }
.art-stack .blob-main { position: absolute; inset: 8% 6%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
.art-stack .float { position: absolute; }
.art-stack .float--flower { width: 36%; top: -4%; left: -2%; animation: floaty 7s ease-in-out infinite; }
.art-stack .float--leaf { width: 26%; bottom: 2%; right: -2%; animation: floaty 6s ease-in-out infinite reverse; }
.art-stack .float--bubble { width: 40%; top: 6%; right: -6%; animation: floaty 8s ease-in-out infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-3deg); } }

/* Blobs decorativos genéricos */
.blob { position: absolute; z-index: 0; pointer-events: none; }

/* ===================== TARJETAS "GLOBO" ========================= */
.cards { display: grid; gap: 1.4rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.balloon {
  background: var(--lavender);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.balloon:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.balloon h3 { margin-bottom: .7rem; }
.balloon p { font-size: 1rem; }
.balloon .icon-chip {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm);
}
.balloon .icon-chip svg { width: 28px; height: 28px; color: var(--teal-700); }
.balloon .more { margin-top: 1.2rem; display: inline-flex; }
.balloon--mint { background: var(--mint); }
.balloon--blush { background: var(--blush); }
.balloon--teal { background: var(--teal); color: #fff; }
.balloon--teal h3 { color: #fff; }
.balloon--teal p { color: rgba(255,255,255,.85); }
.balloon--teal .icon-chip svg { color: var(--teal-700); }
.balloon--lemon { background: #fff3cf; }
.balloon--outline { background: #fff; border: 1.5px solid var(--line); }

/* Tarjeta destacada con número */
.feature-card { background: #fff; border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.feature-card .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--fuchsia); font-weight: 600; }
.feature-card h4 { margin: .6rem 0 .4rem; }
.feature-card p { font-size: .96rem; }

/* ===================== SECCIONES ALTERNAS ======================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__art { order: -1; }
.split__art { position: relative; display: grid; place-items: center; min-height: 320px; }
.split__art .panel {
  width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.split ul.ticks { margin-top: 1.4rem; display: grid; gap: .7rem; }
.split ul.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-70); }
.split ul.ticks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: .15rem; }

/* ===================== ÁREAS / ICON GRID ======================== */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem;
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s;
}
.area:hover { transform: translateY(-5px); border-color: var(--teal-300); }
.area .blob-ico { width: 60px; height: 60px; margin-bottom: 1rem; }
.area h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .4rem; }
.area p { font-size: .96rem; }

/* ===================== TESTIMONIOS ============================== */
.testi { position: relative; overflow: hidden; }
.testi__track { display: flex; gap: 1.4rem; transition: transform .5s var(--ease); }
.testi__card {
  flex: 0 0 calc((100% - 2.8rem) / 3); background: #fff; border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 230px;
}
.testi__card .quote { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink); line-height: 1.4; }
.testi__card .who { margin-top: 1.4rem; font-weight: 700; color: var(--fuchsia); display: flex; align-items: center; gap: .5rem; }
.testi__card .who .dot { color: var(--lime); }
.testi__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.testi__dots { display: flex; gap: .5rem; }
.testi__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); transition: .25s; }
.testi__dots button.active { background: var(--ink); width: 26px; border-radius: 6px; }
.testi__arrows { display: flex; gap: .6rem; }
.testi__arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: .2s; }
.testi__arrows button:hover { border-color: var(--teal); color: var(--teal); }

/* ===================== CTA BAND ================================= */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
  background: linear-gradient(120deg, var(--teal-800), var(--teal) 90%);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-box p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 1rem auto 1.8rem; }
.cta-box .btn--primary { background: #fff; color: var(--teal-800); }
.cta-box .btn--primary:hover { background: var(--lemon); color: var(--ink); }
.cta-box .blob { opacity: .5; }

/* ===================== FOOTER ================================== */
.site-footer { background: var(--hero-2); color: rgba(255,255,255,.72); padding: 4rem 0 2rem; }
.site-footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .nav__logo { color: #fff; margin-bottom: 1rem; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 32ch; font-size: .95rem; }
.footer__col h5 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__col li { margin-bottom: .65rem; font-size: .96rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ===================== COOKIES ================================= */
.cookie {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%) translateY(140%);
  width: min(100% - 2rem, 720px); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; z-index: 200;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  transition: transform .45s var(--ease);
}
.cookie.show { transform: translateX(-50%) translateY(0); }
.cookie p { font-size: .9rem; flex: 1 1 320px; }
.cookie a { color: var(--teal-700); text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; margin-left: auto; }

/* ===================== PÁGINAS INTERNAS ======================== */
.page-hero { background: radial-gradient(120% 120% at 85% 0%, var(--hero) 0%, var(--hero-2) 75%); color: #fff; padding: clamp(2rem,5vw,3rem) 0 clamp(4rem,8vw,6rem); position: relative; overflow: hidden; }
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero .eyebrow::before { background: var(--lime); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 52ch; margin-top: 1.2rem; font-size: 1.12rem; }
.page-hero .crumbs { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 1.2rem; }
.page-hero .crumbs a:hover { color: #fff; }
.prose { max-width: 720px; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul:not(.ticks) { margin: 0 0 1.2rem 1.1rem; list-style: disc; }
.prose ul:not(.ticks) li { margin-bottom: .4rem; color: var(--ink-70); }

/* Lista de certificaciones */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; transition: transform .25s var(--ease), box-shadow .25s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert .tag { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--teal-700); }
.cert p { font-size: .92rem; margin-top: .4rem; }

/* Acordeón sencillo */
.accordion { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__head { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--ink); }
.accordion__head .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; }
.accordion__item.open .plus { background: var(--teal); color: #fff; border-color: var(--teal); transform: rotate(45deg); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion__body-inner { padding: 0 1.4rem 1.3rem; color: var(--ink-70); }

/* ===================== FORMULARIO ============================== */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px;
  font: inherit; color: var(--ink); background: var(--cream); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-info .row { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info .row . chip, .contact-info .row .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; flex-shrink: 0; color: var(--teal-700); }

/* ===================== UTILIDADES ============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--teal); font-weight: 600; line-height: 1; }
.stat .l { font-size: .92rem; color: var(--ink-50); margin-top: .3rem; }

/* ===================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__art { order: -1; }
  .hero__cta, .hero__badges { justify-content: center; }
  .hero__copy .lead { margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__art { order: 0; }
  .cards--3, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .testi__card { flex-basis: calc((100% - 1.4rem) / 2); }
}
@media (max-width: 760px) {
  .nav__menu { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: #fff; flex-direction: column; align-items: flex-start; padding: 5rem 1.6rem 2rem; gap: 1.2rem; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); overflow-y: auto; }
  .nav__menu.open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%; }
  .nav__links > li > a, .nav__has-sub > button { color: var(--ink) !important; font-size: 1.1rem; }
  .nav__sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: .4rem 0 .4rem 1rem; min-width: 0; display: none; }
  .nav__has-sub.open .nav__sub { display: block; }
  .nav__actions { width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: .5rem; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--ink); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--ink); }
  .cards--3, .cards--2, .area-grid { grid-template-columns: 1fr; }
  .testi__card { flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
