/* ==========================================================================
   Magic Voice Speech Services — Sistema de diseño
   ========================================================================== */

:root {
  /* Colores */
  --c-primary: #7C3AED;
  --c-secondary: #06B6D4;
  --c-accent: #F59E0B;
  --c-bg: #FFFBF6;
  --c-surface: #FFFFFF;
  --c-surface-dark: #0F172A;
  /* Fondo del hero: un índigo algo más claro que el resto de secciones oscuras */
  --c-hero: #252966;
  --c-hero-rgb: 37 41 102;
  --c-text: #1E293B;
  --c-muted: #64748B;
  --c-border: rgb(15 23 42 / .08);
  --c-glass: rgb(255 255 255 / .8);
  --c-glass-border: rgb(255 255 255 / .85);

  --gradient-magic: linear-gradient(110deg, var(--c-primary), var(--c-secondary));

  /* Tipografía */
  --font-heading: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --fs-h1: clamp(3rem, 8vw, 5rem);
  --fs-h2: clamp(2rem, 5vw, 3.5rem);
  --fs-p: 1.125rem;

  /* Animación */
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-bouncy: cubic-bezier(0.68, -0.55, 0.26, 1.55);
  --dur-fast: 300ms;
  --dur-slow: 800ms;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-xl: 44px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px -32px rgb(15 23 42 / .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-p);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

::selection { background: var(--c-primary); color: #fff; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  translate: 0 -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  transition: translate var(--dur-fast) var(--ease-smooth);
}
.skip-link:focus { translate: 0 0; }

/* ---------- Utilidades ---------- */
.text-gradient {
  background: var(--gradient-magic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-magic {
  background: linear-gradient(100deg, #C4B5FD, #67E8F9 35%, #FCD34D 55%, #C4B5FD 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* "Vidrio" sin backdrop-filter: el fondo semitransparente basta y no recalcula desenfoques al hacer scroll */
.glass {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
}

.glass-dark {
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em 1.05em;
  border-radius: var(--radius-pill);
  background: rgb(124 58 237 / .08);
  color: var(--c-primary);
  font: 700 .78rem/1 var(--font-heading);
  letter-spacing: .14em;
  text-transform: uppercase;
}
/* Estrellita del logo en lugar del punto */
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--c-accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.eyebrow--dark {
  background: rgb(255 255 255 / .1);
  color: #E9D5FF;
  border: 1px solid rgb(255 255 255 / .14);
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity var(--dur-slow) var(--ease-smooth),
    translate var(--dur-slow) var(--ease-smooth);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Blobs de fondo ---------- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
}
/* Degradados radiales en vez de filter: blur(): se pintan una sola vez */
.blob {
  position: absolute;
  width: 60vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blob), transparent);
  opacity: .3;
}
.blob--violet { --blob: var(--c-primary); top: -22vmax; left: -20vmax; }
.blob--cyan { --blob: var(--c-secondary); bottom: -24vmax; right: -22vmax; }
.blob--amber { --blob: var(--c-accent); top: 35%; left: 40%; width: 40vmax; opacity: .16; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.7em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 700 1rem/1 var(--font-heading);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    scale var(--dur-fast) var(--ease-bouncy),
    translate var(--dur-fast) var(--ease-smooth),
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth);
}
.btn:hover { scale: 1.05; }
.btn:active { scale: .97; }
.btn:disabled { opacity: .6; cursor: progress; }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgb(124 58 237 / .75), inset 0 1px 0 rgb(255 255 255 / .25);
}
.btn--primary:hover {
  background: #6D28D9;
  box-shadow: 0 20px 46px -12px rgb(124 58 237 / .9), 0 0 0 6px rgb(124 58 237 / .16), inset 0 1px 0 rgb(255 255 255 / .25);
}

.btn--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow:
    -14px 0 28px -2px rgb(124 58 237 / .85),
    14px 0 28px -2px rgb(6 182 212 / .75),
    0 10px 30px -4px rgb(245 158 11 / .55);
  opacity: .7;
}
/* Sólo el CTA del hero respira; el resto del sitio queda quieto */
.hero .btn--glow::before { animation: glow-pulse 2.8s ease-in-out infinite; }
.btn--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
}

.btn--ghost {
  background: rgb(255 255 255 / .12);
  color: #fff;
  border-color: rgb(255 255 255 / .28);
}
.btn--ghost:hover { background: rgb(255 255 255 / .2); }

.btn--soft {
  background: rgb(124 58 237 / .08);
  color: var(--c-primary);
}
.btn--soft:hover { background: rgb(124 58 237 / .14); }

.btn--sm { padding: .75em 1.25em; font-size: .9rem; }
.btn--lg { padding: 1.1em 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate var(--dur-fast) var(--ease-bouncy);
}
.btn:hover .btn__icon { translate: 4px 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font: 700 .95rem/1 var(--font-heading);
  color: var(--c-primary);
  text-decoration: none;
}
.card-link span[aria-hidden] { transition: translate var(--dur-fast) var(--ease-bouncy); }
.card-link:hover span[aria-hidden] { translate: 5px 0; }

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  border-radius: 12px;
}
.brand__logo {
  width: auto;
  height: 54px;
  transform-origin: left center;
  transition: scale var(--dur-slow) var(--ease-smooth), rotate var(--dur-fast) var(--ease-bouncy);
}
.brand:hover .brand__logo { scale: 1.06; rotate: -2deg; }
.nav.is-scrolled .brand__logo { scale: .82; }
.nav.is-scrolled .brand:hover .brand__logo { scale: .88; }
.brand__logo--lg { height: 96px; }

/* ---------- Navbar isla ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 50;
  pointer-events: none;
  transition: translate var(--dur-slow) var(--ease-smooth);
}
.nav__island {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  max-width: 1160px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / .8);
  border: 1px solid rgb(255 255 255 / .6);
  box-shadow: 0 12px 40px -14px rgb(15 23 42 / .3);
  transition: scale var(--dur-slow) var(--ease-smooth);
}
/* Capa más opaca y con más sombra: sólo se anima su opacity */
.nav__island::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: rgb(255 255 255 / .96);
  box-shadow: 0 18px 50px -18px rgb(15 23 42 / .4);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}
.nav.is-scrolled { translate: 0 -6px; }
.nav.is-scrolled .nav__island { scale: .96; }
.nav.is-scrolled .nav__island::before { opacity: 1; }

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: .55em .95em;
  border-radius: var(--radius-pill);
  font: 700 .93rem/1 var(--font-heading);
  white-space: nowrap;
  text-decoration: none;
  color: var(--c-text);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
@media (max-width: 1140px) {
  .nav__island { gap: 12px; }
  .nav__links a { padding-inline: .7em; }
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { background: rgb(124 58 237 / .09); color: var(--c-primary); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(124 58 237 / .1);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
  transition: translate var(--dur-fast) var(--ease-smooth), rotate var(--dur-fast) var(--ease-smooth);
}
.nav__toggle span:first-child { translate: 0 -4px; }
.nav__toggle span:last-child { translate: 0 4px; }
.nav.is-open .nav__toggle span:first-child { translate: 0 0; rotate: 45deg; }
.nav.is-open .nav__toggle span:last-child { translate: 0 0; rotate: -45deg; }

.nav__mobile {
  pointer-events: auto;
  max-width: 1160px;
  margin: 10px auto 0;
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .97);
  border: 1px solid rgb(255 255 255 / .7);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  translate: 0 -10px;
  transition: opacity var(--dur-fast) var(--ease-smooth), translate var(--dur-fast) var(--ease-smooth), visibility var(--dur-fast);
}
.nav__mobile a:not(.btn) {
  padding: 12px 14px;
  border-radius: 14px;
  font: 700 1rem/1.2 var(--font-heading);
  text-decoration: none;
}
.nav__mobile a:not(.btn):hover { background: rgb(124 58 237 / .08); }
.nav__mobile .btn { margin-top: 8px; }
.nav.is-open .nav__mobile { opacity: 1; visibility: visible; translate: 0 0; }

/* Selector de idioma ES / EN */
.lang {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex: none;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgb(124 58 237 / .1);
}
.lang__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  box-shadow: 0 6px 16px -6px rgb(124 58 237 / .8);
  transition: translate var(--dur-fast) var(--ease-bouncy);
}
.lang[data-current="en"] .lang__thumb { translate: 100% 0; }
.lang__btn {
  position: relative;
  min-width: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--c-primary);
  font: 700 .78rem/1 var(--font-heading);
  letter-spacing: .06em;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.lang__btn[aria-pressed="true"] { color: #fff; }

body main, body .footer, .nav__links {
  transition: opacity 180ms var(--ease-smooth);
}
/* Mientras se traduce al inglés al cargar (ver script en <head>); a los 1.2 s se muestra igual */
html[data-lang-pending] body { opacity: 0; animation: lang-failsafe 0s 1.2s forwards; }
@keyframes lang-failsafe { to { opacity: 1; } }

.is-switching-lang main,
.is-switching-lang .footer,
.is-switching-lang .nav__links { opacity: 0; }

/* Botón de llamar: visible cuando el menú se colapsa (tablet y celular) */
.nav__call {
  display: none;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-magic);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgb(124 58 237 / .8);
  transition: scale var(--dur-fast) var(--ease-bouncy);
}
.nav__call:hover { scale: 1.08; }
.nav__call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
  .nav__call { display: grid; }
  .nav__toggle { display: block; }
  .nav__mobile { display: flex; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
}
.nav__toggle { flex: none; }
/* Celulares muy angostos: logo, idioma, llamar y menú caben en una fila */
@media (max-width: 360px) {
  .nav__island { gap: 6px; }
  .brand__logo { height: 46px; }
  .nav__call, .nav__toggle { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
/* Fondo claro y cálido, foto a la derecha con stickers y estrellas */
.hero {
  --p: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: linear-gradient(160deg, #FFF4E6 0%, #F6EEFF 48%, #E3F8FC 100%);
  color: var(--c-text);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Scroll-driven: zoom-out (sólo transform) */
  transform: scale(calc(1.1 - var(--p) * .1));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blob), transparent);
  opacity: .32;
  animation: blob-float 18s ease-in-out infinite alternate;
}
.hero__blob--a { --blob: var(--c-primary); width: 52vmax; aspect-ratio: 1; top: -22vmax; right: -16vmax; }
.hero__blob--b { --blob: var(--c-secondary); width: 42vmax; aspect-ratio: 1; bottom: -20vmax; left: -14vmax; animation-delay: -9s; }
.hero__blob--c { --blob: var(--c-accent); width: 30vmax; aspect-ratio: 1; top: 20%; left: 30%; opacity: .2; animation-delay: -4s; }

video[data-fade] { opacity: 0; transition: opacity 1.2s var(--ease-smooth); }
video[data-fade].is-ready { opacity: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 130px;
  padding-bottom: clamp(140px, 18vh, 200px);
}
.hero__content {
  container-type: inline-size;
  transform: translateY(calc(var(--p) * -60px));
  opacity: calc(1 - var(--p) * 1.3);
}
/* Tamaños relativos a la columna: "COMMUNICATION." siempre cabe en una línea */
.hero__title {
  font-size: clamp(1.75rem, 8.4cqi, 3.9rem);
  margin-top: 22px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #2E1065;
}
.hero__title .text-magic {
  font-size: min(1.12em, 10cqi);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background-image: linear-gradient(100deg, #7C3AED, #DB2777 38%, #F59E0B 62%, #0891B2 90%);
}
.hero__lead {
  max-width: 50ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #475569;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero__badges li > :is(span, a), .hero__badges li {
  font: 600 .9rem/1 var(--font-body);
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .6em 1em;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / .75);
  border: 1px solid rgb(124 58 237 / .14);
  color: #4C1D95;
}
.hero__badges a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.hero__badges a:hover { text-decoration: underline; }

/* Foto con marco orgánico, una mancha de color detrás y stickers redondos */
.hero__art { position: relative; justify-self: center; width: min(100%, 520px); }
.hero__art::before {
  content: "";
  position: absolute;
  inset: 7% -5% -6% 8%;
  z-index: -1;
  border-radius: 58% 42% 50% 50% / 46% 58% 42% 54%;
  background: var(--gradient-magic);
  opacity: .9;
  rotate: 6deg;
}
.hero__photo {
  aspect-ratio: 1.08;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 46% 54% 44% 56% / 54% 46% 54% 46%;
  background: #EDE9FE;
  box-shadow: 0 40px 80px -40px rgb(124 58 237 / .6);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker {
  position: absolute;
  width: clamp(84px, 9vw, 124px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 36px -16px rgb(15 23 42 / .45);
  animation: float-y 6s ease-in-out infinite;
}
.hero__sticker--a { top: -6%; left: -4%; rotate: -8deg; }
.hero__sticker--b { right: -6%; top: 38%; rotate: 7deg; animation-delay: -3s; }
.hero__star { position: absolute; width: 34px; height: 34px; animation: twinkle 3.2s ease-in-out infinite; }
.hero__star--a { top: -2%; right: 14%; fill: var(--c-accent); }
.hero__star--b { bottom: 24%; left: -9%; width: 24px; height: 24px; fill: #EC4899; animation-delay: -1.1s; }
.hero__star--c { top: 16%; left: 22%; width: 20px; height: 20px; fill: var(--c-primary); animation-delay: -2.2s; }

.hero__float {
  position: absolute;
  left: -10%;
  bottom: -9%;
  width: 230px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--c-text);
  box-shadow: 0 30px 60px -25px rgb(76 29 149 / .45);
  animation: float-y 6s ease-in-out infinite;
  animation-delay: -1.5s;
}
.hero__float-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 .78rem/1 var(--font-heading);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero__float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  background: #22C55E;
}
/* Onda del punto "en vivo": scale + opacity en un pseudo-elemento */
.hero__float-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #22C55E;
  animation: ping 1.8s var(--ease-smooth) infinite;
}
.hero__float p { margin-top: 10px; font: 700 .95rem/1.3 var(--font-heading); color: #4C1D95; }

.eq {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  margin-top: 12px;
}
.eq span {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(var(--c-secondary), var(--c-primary));
  transform-origin: center;
  animation: eq-bar 1.2s ease-in-out infinite;
}
.eq span:nth-child(2n) { animation-delay: -.3s; }
.eq span:nth-child(3n) { animation-delay: -.6s; }
.eq span:nth-child(5n) { animation-delay: -.9s; background: linear-gradient(var(--c-accent), var(--c-primary)); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 110px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgb(124 58 237 / .35);
  border-radius: 14px;
  opacity: calc(1 - var(--p) * 4);
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--c-primary);
  animation: scroll-dot 1.8s var(--ease-smooth) infinite;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 118px; gap: 48px; }
  .hero__art { width: min(86%, 420px); }
  .hero__float { left: -8%; bottom: -12%; width: 200px; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .hero__float { display: none; }
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -84px;
}
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .82);
  box-shadow: 0 40px 80px -40px rgb(15 23 42 / .45);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 18px;
  border-left: 1px solid var(--c-border);
}
.stat:first-child { border-left: 0; }
.stat strong {
  font: 700 clamp(2rem, 3.4vw, 2.75rem)/1 var(--font-heading);
  letter-spacing: -0.04em;
  background: var(--gradient-magic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: .95rem; color: var(--c-muted); line-height: 1.4; }

@media (max-width: 760px) {
  .stats__card { grid-template-columns: repeat(2, 1fr); padding: 22px; row-gap: 22px; }
  .stat { padding: 0 12px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(88px, 12vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }

.section-head h2 { font-size: var(--fs-h2); margin-top: 20px; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--c-muted); max-width: 58ch; }
.section-head--center { text-align: center; }
.section-head--center p:not(.eyebrow) { margin-inline: auto; }
.section-head--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 32px 64px;
}
.section-head--split .section-head__aside { margin-top: 0; padding-bottom: 8px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Bento "Nuestra Magia" ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(270px, auto);
  gap: 20px;
  margin-top: 64px;
}
.bento__item { grid-column: span 2; display: grid; }
.bento__item--xl { grid-column: span 3; grid-row: span 2; }
.bento__item--wide { grid-column: span 3; }

.bento-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), var(--shadow-soft);
  color: var(--c-text);
  transition:
    transform var(--dur-slow) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast);
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
/* Malla de color más grande que la tarjeta: se desplaza con translate (no background-position) */
.bento-card__fx {
  position: absolute;
  inset: -40%;
  z-index: -3;
  background:
    radial-gradient(30% 40% at 30% 30%, var(--accent), transparent 70%),
    radial-gradient(26% 36% at 70% 70%, var(--c-secondary), transparent 70%),
    radial-gradient(22% 28% at 62% 32%, var(--c-primary), transparent 70%),
    var(--c-surface-dark);
  opacity: 0;
  animation: mesh 7s ease-in-out infinite alternate paused;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}
/* Sombra de color del hover en el contenedor (la tarjeta recorta su contenido) */
.bento__item { position: relative; }
.bento__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-smooth), translate var(--dur-slow) var(--ease-smooth);
}
.bento__item:has(> .bento-card:is(:hover, :focus-within, .is-active))::after { opacity: 1; translate: 0 -6px; }
.bento-card__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.08;
  transition: opacity var(--dur-slow) var(--ease-smooth), scale 1.6s var(--ease-smooth);
}
.bento-card .bento-card__video.is-ready { opacity: 0; }
.bento-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(15 23 42 / .88), rgb(15 23 42 / .15) 75%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}
.bento-card__wave {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 120px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .9;
}
.bento-card__wave path { stroke: var(--c-primary); stroke-dasharray: 60 14; }
.bento-card__wave path + path { stroke: var(--c-secondary); opacity: .6; }

.bento-card__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bento-card h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.bento__item--xl .bento-card h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.bento-card p { color: var(--c-muted); font-size: 1rem; transition: color var(--dur-fast); }
.bento__item--xl .bento-card p { font-size: 1.08rem; max-width: 46ch; }
.bento-card .card-link { margin-top: 6px; transition: color var(--dur-fast); }

.bento-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 13%, white);
  color: var(--accent);
  transition: background-color var(--dur-fast), color var(--dur-fast), scale var(--dur-fast) var(--ease-bouncy), rotate var(--dur-fast) var(--ease-bouncy);
}
.bento-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento-card__icon .i-dot { fill: currentColor; stroke: none; animation: dot-bounce 1.4s ease-in-out infinite; transform-box: fill-box; }
.bento-card__icon .i-dot:nth-of-type(2) { animation-delay: .15s; }
.bento-card__icon .i-dot:nth-of-type(3) { animation-delay: .3s; }
.bento-card__icon .i-pop { animation: pop 3s var(--ease-bouncy) infinite; transform-box: fill-box; transform-origin: center; }
.bento-card__icon .i-draw { animation: fade-pulse 2.4s ease-in-out infinite; }
.bento-card__icon .i-bar { transform-box: fill-box; transform-origin: center; animation: eq-bar 1.3s ease-in-out infinite; }
.bento-card__icon .i-bar:nth-child(2) { animation-delay: -.4s; }
.bento-card__icon .i-bar:nth-child(3) { animation-delay: -.8s; }
.bento-card__icon .i-bar:nth-child(4) { animation-delay: -.2s; }
.bento-card__icon .i-bar:nth-child(5) { animation-delay: -.6s; }
.bento-card__icon .i-tile { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; animation: tile 2.4s ease-in-out infinite; }
.bento-card__icon .i-tile:nth-of-type(3) { animation-delay: .3s; }
.bento-card__icon .i-tile:nth-of-type(4) { animation-delay: .6s; }
.bento-card__icon .i-tile:nth-of-type(5) { animation-delay: .9s; }
/* Los íconos sólo se mueven mientras la tarjeta está activa */
.bento-card .bento-card__icon * { animation-play-state: paused; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__icon * { animation-play-state: running; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: .4em .85em;
  border-radius: var(--radius-pill);
  background: rgb(124 58 237 / .08);
  color: var(--c-primary);
  font: 700 .8rem/1 var(--font-heading);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

/* Estado activo: hover, foco o visible en móvil — revela el video */
.bento-card:hover,
.bento-card:focus-within,
.bento-card.is-active {
  transform: translateY(-6px);
  color: #fff;
  border-color: rgb(255 255 255 / .2);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__fx { opacity: 1; animation-play-state: running; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__video.is-ready { opacity: 1; scale: 1; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__shade { opacity: 1; }
.bento-card:is(:hover, :focus-within, .is-active) p { color: rgb(255 255 255 / .82); }
.bento-card:is(:hover, :focus-within, .is-active) .card-link { color: #fff; }
.bento-card:is(:hover, :focus-within, .is-active) .tags li { background: rgb(255 255 255 / .14); color: #fff; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__icon { background: rgb(255 255 255 / .16); color: #fff; scale: 1.08; rotate: -6deg; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__wave path { stroke: #fff; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(250px, auto); }
  .bento__item, .bento__item--wide { grid-column: span 1; }
  .bento__item--xl { grid-column: span 2; grid-row: span 1; min-height: 420px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__item, .bento__item--wide, .bento__item--xl { grid-column: span 1; }
  .bento-card { padding: 26px; }
}

/* ---------- Sección inmersiva ---------- */
.immersive {
  --p: 0;
  --pin: 1;
  position: relative;
  height: 260vh;
}
.immersive__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  color: #fff;
}
/* La tarjeta crece hasta cubrir la pantalla con transform; al final sobra un 5% y las esquinas quedan fuera */
.immersive__media {
  position: absolute;
  inset: 0;
  overflow: clip;
  border-radius: clamp(16px, 4vmin, 48px);
  background: var(--c-surface-dark);
  transform: scale(calc(.84 + var(--pin) * .26));
}
.immersive__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.2 - var(--p) * .2));
}
.immersive__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 50%, rgb(15 23 42 / .45), rgb(15 23 42 / .85));
}
.aurora { position: absolute; inset: 0; overflow: clip; }
/* Aurora sin animación propia: se mueve sólo con el scroll (--p), así en reposo no gasta nada */
.aurora span {
  position: absolute;
  width: 75vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blob), transparent);
  opacity: .7;
}
.aurora span:nth-child(1) { --blob: var(--c-primary); top: -35%; left: -20%; translate: calc(var(--p) * 18vw) calc(var(--p) * 10vh); }
.aurora span:nth-child(2) { --blob: var(--c-secondary); bottom: -40%; right: -20%; translate: calc(var(--p) * -16vw) calc(var(--p) * -8vh); }
.aurora span:nth-child(3) { --blob: var(--c-accent); top: 20%; left: 30%; width: 45vmax; opacity: .4; translate: calc(var(--p) * -10vw) calc(var(--p) * 12vh); }

.immersive__content {
  position: relative;
  text-align: center;
  opacity: var(--pin);
}
.immersive__statement {
  max-width: 24ch;
  margin: 28px auto 0;
  font: 700 clamp(1.9rem, 4.6vw, 3.75rem)/1.18 var(--font-heading);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.immersive__statement em { font-style: normal; }
.word {
  opacity: .16;
  transition: opacity .5s var(--ease-smooth);
}
.word.is-lit { opacity: 1; }
.word--magic {
  background: linear-gradient(100deg, #C4B5FD, #67E8F9 50%, #FCD34D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Proceso ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-soft);
}
.step:nth-child(even) { margin-top: 56px; }
.step__num {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--gradient-magic);
  color: #fff;
  font: 700 1.15rem/1 var(--font-heading);
  box-shadow: 0 14px 30px -12px rgb(124 58 237 / .7);
}
.step h3 { font-size: 1.35rem; }
.step p { margin-top: 10px; color: var(--c-muted); font-size: 1rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
}

/* ---------- Marquee testimonios ---------- */
.marquee {
  display: grid;
  gap: 20px;
  margin-top: 56px;
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  animation: marquee 60s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.quote {
  flex: none;
  width: min(390px, 80vw);
  margin-right: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  background: rgb(255 255 255 / .9);
  border: 1px solid var(--c-glass-border);
  box-shadow: 0 20px 40px -28px rgb(15 23 42 / .35);
  transition: translate var(--dur-fast) var(--ease-smooth);
}
.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 30px 50px -28px rgb(124 58 237 / .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast);
}
.quote:hover { translate: 0 -4px; }
.quote:hover::after { opacity: 1; }
.quote__stars { color: var(--c-accent); letter-spacing: 3px; font-size: .95rem; }
.quote blockquote {
  margin: 12px 0 20px;
  font: 700 1.08rem/1.5 var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote footer strong { display: block; font: 700 .95rem/1.2 var(--font-heading); }
.quote footer small { color: var(--c-muted); font-size: .85rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 50%, white));
  color: #fff;
  font: 700 .85rem/1 var(--font-heading);
  flex: none;
}

/* ---------- Checklist ---------- */
.checklist-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px 72px;
  align-items: start;
}
.checklist__intro { position: sticky; top: 130px; }
@media (max-width: 960px) {
  .checklist-wrap { grid-template-columns: 1fr; }
  .checklist__intro { position: static; }
}
.checklist {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -45px rgb(124 58 237 / .45);
}
.checklist__progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgb(124 58 237 / .1);
  overflow: clip;
}
.checklist__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), var(--c-accent));
  transform-origin: left center;
  scale: 0 1;
  transition: scale var(--dur-slow) var(--ease-smooth);
}
.checklist__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font: 700 .85rem/1 var(--font-heading);
  color: var(--c-muted);
}
.checklist__step { margin: 26px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.js .checklist__step:not(.is-current) { display: none; }
.checklist__step.is-current { animation: step-in var(--dur-slow) var(--ease-smooth); }
.checklist__step legend {
  margin-bottom: 14px;
  font: 700 1.5rem/1.2 var(--font-heading);
  letter-spacing: -0.02em;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  font-size: 1rem;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), scale var(--dur-fast) var(--ease-bouncy);
}
.check:hover { border-color: rgb(124 58 237 / .4); }
.check:active { scale: .99; }
.check input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 8px;
  border: 2px solid rgb(100 116 139 / .45);
  background: #fff;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.check input::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  rotate: 45deg;
  scale: 0;
  transition: scale var(--dur-fast) var(--ease-bouncy);
}
.check input:checked { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked::after { scale: 1; }
.check:has(input:checked) { border-color: var(--c-primary); background: rgb(124 58 237 / .05); }

.checklist__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.checklist__nav[hidden] { display: none; }
.checklist__nav [data-prev][hidden] { display: inline-flex; visibility: hidden; }
.no-js .checklist__nav, .no-js .checklist__progress, .no-js .checklist__meta { display: none; }

.checklist__result { padding: 24px 0 4px; text-align: center; animation: step-in var(--dur-slow) var(--ease-smooth); }
.checklist__result:focus { outline: none; }
.checklist__result-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--gradient-magic);
  font-size: 2rem;
  box-shadow: 0 20px 40px -16px rgb(124 58 237 / .7);
  animation: pop-in var(--dur-slow) var(--ease-bouncy);
}
.checklist__result h3 { font-size: 1.6rem; }
.checklist__result p { margin: 12px auto 0; max-width: 46ch; color: var(--c-muted); }
.checklist__result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- CTA cards ---------- */
.cta-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cta-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform var(--dur-slow) var(--ease-smooth);
}
/* ::before = sombra de color del hover, ::after = orbe; ambos sólo cambian opacity */
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}
.cta-card::before { box-shadow: 0 40px 70px -35px color-mix(in srgb, var(--accent) 60%, transparent); opacity: 0; }
.cta-card::after { background: radial-gradient(240px circle at 100% 0, var(--accent), transparent 70%); opacity: .14; }
.cta-card:hover { transform: translateY(-6px); }
.cta-card:hover::before { opacity: 1; }
.cta-card:hover::after { opacity: .3; }
.cta-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 13%, white);
  color: var(--accent);
}
.cta-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cta-card h3 { margin-top: 22px; font-size: 1.4rem; }
.cta-card p { margin: 10px 0 18px; color: var(--c-muted); font-size: 1rem; }
@media (max-width: 900px) { .cta-cards { grid-template-columns: 1fr; } }

/* ---------- Spotlights ---------- */
.spotlights { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.spotlight {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 340px;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--c-surface-dark);
  color: #fff;
}
.spotlight h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 18ch; }
.spotlight p:not(.eyebrow) { color: rgb(255 255 255 / .75); max-width: 44ch; font-size: 1rem; }
.spotlight .btn { margin-top: 6px; }
.spotlight__orb {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -15%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .75;
  transition: translate 1.2s var(--ease-smooth), opacity 1.2s var(--ease-smooth);
}
.spotlight:hover .spotlight__orb { translate: -6% 8%; opacity: .95; }
.spotlight--violet .spotlight__orb { background: radial-gradient(circle, var(--c-primary), transparent 70%); }
.spotlight--cyan .spotlight__orb { background: radial-gradient(circle, var(--c-secondary), transparent 70%); }
.spotlights__note { margin-top: 24px; text-align: center; color: var(--c-muted); font-size: 1rem; }
.spotlights__note a { color: var(--c-primary); font-weight: 600; }
@media (max-width: 860px) { .spotlights { grid-template-columns: 1fr; } }

/* ---------- Seguros ---------- */
.section-head p a { color: var(--c-primary); font-weight: 600; white-space: nowrap; }
.insurance { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.ins-card {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
}
.ins-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at 100% 0, var(--accent), transparent 70%);
  opacity: .12;
  pointer-events: none;
}
.ins-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ins-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.ins-card > p { margin-top: 8px; color: var(--c-muted); font-size: 1rem; }
.ins-badge {
  padding: .45em .9em;
  border-radius: var(--radius-pill);
  background: rgb(16 185 129 / .12);
  color: #047857;
  font: 700 .78rem/1 var(--font-heading);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ins-badge--soon { background: rgb(245 158 11 / .15); color: #B45309; }
.ins-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ins-list--2 { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
.ins-group {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  font: 700 1rem/1.3 var(--font-heading);
  color: var(--c-text);
}
.ins-list--sub { margin-top: 14px; }
.ins-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 1.35; }
.ins-list svg {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, white);
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ins-card--soon { border-style: dashed; border-color: rgb(245 158 11 / .45); box-shadow: none; }
.ins-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.ins-chips li {
  padding: .55em 1.1em;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-bg);
  color: var(--c-text);
  font: 700 .9rem/1 var(--font-heading);
}
@media (max-width: 860px) { .insurance { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ins-list--2 { grid-template-columns: 1fr; } }

/* ---------- Página del equipo ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(160deg, #FFF4E6 0%, #F6EEFF 48%, #E3F8FC 100%);
  color: #2E1065;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 15%, rgb(124 58 237 / .22), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgb(6 182 212 / .18), transparent 70%);
}
.page-hero__content { padding-top: clamp(150px, 18vw, 210px); padding-bottom: clamp(72px, 10vw, 128px); }
.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  max-width: 15ch;
  margin-top: 24px;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.page-hero__lead { max-width: 52ch; margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #475569; }
.page-hero .hero__blob { opacity: .25; }

.team { display: grid; gap: clamp(24px, 4vw, 40px); }
.member {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
}
.member:nth-child(even) { grid-template-columns: 1fr minmax(220px, 320px); }
.member:nth-child(even) .member__photo { order: 2; }
.member__photo {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: radial-gradient(90% 90% at 25% 15%, color-mix(in srgb, var(--a) 55%, #fff), var(--a) 75%);
  color: #fff;
  font: 700 clamp(3.5rem, 7vw, 5.5rem)/1 var(--font-heading);
  letter-spacing: -0.04em;
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__role { color: var(--c-primary); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.member h2 { margin-top: 10px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.member__cred { color: var(--c-muted); font-size: .6em; letter-spacing: -0.01em; }
.member__langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.member__langs li {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgb(124 58 237 / .08);
  color: var(--c-primary);
  font-size: .875rem;
  font-weight: 600;
}
.member__bio { margin-top: 20px; }
.member__bio strong { font-weight: 600; color: var(--c-primary); }
.member__love {
  margin: 24px 0 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, rgb(124 58 237 / .08), rgb(6 182 212 / .08));
}
.member__love-title { margin-bottom: 6px; font: 700 1rem/1.3 var(--font-heading); color: var(--c-primary); }
.member__love p:not(.member__love-title) { font-size: 1.05rem; }
@media (max-width: 820px) {
  .member, .member:nth-child(even) { grid-template-columns: 1fr; }
  .member:nth-child(even) .member__photo { order: 0; }
  .member__photo { width: min(100%, 300px); }
}

.team-cta { min-height: 0; align-items: center; text-align: center; }
.team-cta h2 { font-size: var(--fs-h2); }
.team-cta .spotlight__orb { right: auto; left: 15%; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 72px; align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius-md);
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  box-shadow: 0 16px 34px -28px rgb(15 23 42 / .4);
}
.faq__item[open] { box-shadow: 0 24px 44px -28px rgb(124 58 237 / .45); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font: 700 1.05rem/1.35 var(--font-heading);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(124 58 237 / .1);
  color: var(--c-primary);
  font-size: 1.3rem;
  font-weight: 600;
  transition: rotate var(--dur-fast) var(--ease-bouncy), background-color var(--dur-fast), color var(--dur-fast);
}
.faq__item[open] summary::after { rotate: 45deg; background: var(--c-primary); color: #fff; }
.faq__item p { padding: 0 24px 22px; color: var(--c-muted); font-size: 1rem; }
.faq__item[open] p { animation: step-in var(--dur-slow) var(--ease-smooth); }

/* ---------- Contacto ---------- */
.contact {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--c-surface-dark);
  color: #fff;
  box-shadow: 0 60px 100px -50px rgb(124 58 237 / .6);
}
.contact__blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blob), transparent);
}
.contact__blob--a { --blob: var(--c-primary); width: 760px; height: 760px; opacity: .5; top: -320px; left: -270px; }
.contact__blob--b { --blob: var(--c-secondary); width: 620px; height: 620px; opacity: .35; bottom: -300px; right: -220px; }
.contact__info h2 { margin-top: 22px; font-size: clamp(2rem, 4.4vw, 3.25rem); }
.contact__info > p:not(.eyebrow) { margin-top: 18px; color: rgb(255 255 255 / .75); }
.contact__list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: rgb(255 255 255 / .85); font-size: 1rem; }
.contact__list li span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .1);
  font-size: 1.05rem;
}
.contact__list a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
.contact__list a:hover { color: #fff; text-decoration: underline; }

.contact__social { margin-top: 32px; }
.contact__social p {
  margin-bottom: 12px;
  font: 700 .78rem/1 var(--font-heading);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .6);
}

/* Redes sociales */
.social { display: flex; gap: 10px; }
.footer__brand .social { margin-top: 22px; }
.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgb(124 58 237 / .08);
  color: var(--c-primary);
  transition:
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    scale var(--dur-fast) var(--ease-bouncy),
    rotate var(--dur-fast) var(--ease-bouncy);
}
.social__link svg { width: 20px; height: 20px; fill: currentColor; }
.social__link:hover {
  background: var(--c-primary);
  color: #fff;
  scale: 1.1;
  rotate: -6deg;
  box-shadow: 0 12px 24px -10px rgb(124 58 237 / .8);
}
.social--dark .social__link {
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .12);
  color: #fff;
}
.social--dark .social__link:hover { background: var(--c-primary); border-color: transparent; }

.contact__form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field span { font: 700 .85rem/1 var(--font-heading); color: rgb(255 255 255 / .75); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .06);
  color: #fff;
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4B5FD' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field option { color: var(--c-text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #A78BFA;
  background-color: rgb(255 255 255 / .1);
  box-shadow: 0 0 0 4px rgb(124 58 237 / .35);
}
.contact__form .btn { margin-top: 6px; }

/* Campo trampa anti-spam: fuera de la vista y del teclado */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Checks obligatorios: términos y privacidad */
.consent { display: grid; gap: 12px; margin-top: 4px; }
.consent__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  line-height: 1.45;
  color: rgb(255 255 255 / .82);
  cursor: pointer;
}
.consent__item input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #A78BFA;
  cursor: pointer;
}
.consent__item input:focus-visible { outline: 3px solid #A78BFA; outline-offset: 2px; }
.consent__item a { color: #A5F3FC; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 1.5em; font-size: .95rem; color: #A5F3FC; text-align: center; }
.form-status.is-error { color: #FCA5A5; }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--c-border); background: rgb(255 255 255 / .6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; color: var(--c-muted); font-size: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { margin-bottom: 6px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.footer__col a { width: fit-content; font-size: .98rem; text-decoration: none; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--c-primary); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: .9rem;
}
.footer__bottom a { text-decoration: none; font-weight: 600; color: var(--c-primary); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom .footer__legal a { color: var(--c-muted); }
.footer__bottom .footer__legal a:hover { color: var(--c-primary); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: var(--gutter);
  bottom: 16px;
  z-index: 60;
  width: min(420px, calc(100% - 2 * var(--gutter)));
  padding: 20px 22px;
  border: 1px solid rgb(124 58 237 / .15);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 24px 60px -24px rgb(46 16 101 / .45);
  opacity: 0;
  translate: 0 24px;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-smooth), translate var(--dur-slow) var(--ease-smooth), visibility 0s var(--dur-slow);
}
.cookie-banner.is-visible { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.cookie-banner__title { font: 700 1.05rem/1.2 var(--font-heading); color: #2E1065; }
.cookie-banner__text { margin-top: 8px; font-size: .92rem; line-height: 1.5; color: #475569; }
.cookie-banner__text a { color: var(--c-primary); font-weight: 600; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Páginas legales ---------- */
html[lang="en"] [data-lang-only="es"],
html:not([lang="en"]) [data-lang-only="en"] { display: none; }
.legal__updated { margin-top: 14px; font-size: .9rem; font-weight: 600; color: #7C3AED; }
.legal {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 60px -40px rgb(46 16 101 / .35);
}
.legal__body > * + * { margin-top: 1em; }
.legal h2 { margin-top: 2em; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.25; color: #2E1065; }
.legal h2 + * { margin-top: .6em; }
.legal p, .legal li { color: #334155; line-height: 1.7; }
.legal ul { display: grid; gap: .5em; padding-left: 1.25em; list-style: disc; }
.legal li::marker { color: var(--c-primary); }
.legal a { color: var(--c-primary); font-weight: 600; overflow-wrap: anywhere; }
.legal code { padding: .1em .4em; border-radius: 6px; background: #F1EAFF; font-size: .9em; }
.legal__note { padding: 16px 20px; border-radius: var(--radius-md); background: #FFF0DC; }
.legal__table { overflow-x: auto; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.legal th { font-family: var(--font-heading); color: #2E1065; }
/* minmax(0, 1fr) + overflow-wrap: el correo largo se parte en vez de ensanchar la columna */
.footer__col a { overflow-wrap: anywhere; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Keyframes ---------- */
@keyframes glow-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes ping {
  0% { scale: 1; opacity: .6; }
  80%, 100% { scale: 3.2; opacity: 0; }
}
@keyframes blob-float {
  0% { translate: 0 0; }
  50% { translate: 6vw 4vh; }
  100% { translate: -4vw 8vh; }
}
@keyframes eq-bar { 0%, 100% { scale: 1 .35; } 50% { scale: 1 1; } }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; opacity: 1; } 50% { scale: .7; rotate: 20deg; opacity: .6; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes scroll-dot { 0% { translate: 0 0; opacity: 1; } 70% { translate: 0 14px; opacity: 0; } 100% { opacity: 0; } }
@keyframes mesh { 0% { translate: -12% -10%; } 100% { translate: 12% 10%; } }
@keyframes dot-bounce { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -4px; } }
@keyframes pop { 0%, 40%, 100% { scale: 1; } 20% { scale: 1.12; } }
@keyframes fade-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes tile { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .7; opacity: .5; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes step-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ---------- Pausas: secciones fuera de pantalla y pestaña oculta ---------- */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after,
.is-tab-hidden *, .is-tab-hidden *::before, .is-tab-hidden *::after { animation-play-state: paused !important; }

/* ---------- Toque infantil: color, formas redondas y detalles ---------- */
/* Subrayado ondulado en la palabra de color de cada título */
.section-head h2 .text-gradient {
  text-decoration: underline wavy var(--c-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: .22em;
  text-decoration-skip-ink: none;
}
/* Bandas de color pastel con esquinas muy redondas */
#proceso, #checklist, #seguros {
  margin-inline: clamp(8px, 2vw, 28px);
  border-radius: clamp(32px, 5vw, 64px);
}
#proceso { background: linear-gradient(180deg, #F1EAFF, #FBF8FF); }
#checklist { background: linear-gradient(180deg, #E2F8FB, #F5FDFE); }
#seguros { background: linear-gradient(180deg, #FFF0DC, #FFFAF2); }

/* Cada paso con su color y un poquito chueco */
.step__num { rotate: -6deg; border-radius: 20px; }
.step:nth-child(2) .step__num { background: linear-gradient(135deg, #06B6D4, #22C55E); box-shadow: 0 14px 30px -12px rgb(6 182 212 / .7); rotate: 5deg; }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #F59E0B, #EC4899); box-shadow: 0 14px 30px -12px rgb(236 72 153 / .6); }
.step:nth-child(4) .step__num { background: linear-gradient(135deg, #EC4899, #7C3AED); box-shadow: 0 14px 30px -12px rgb(124 58 237 / .7); rotate: 4deg; }

/* Servicios: foto redonda tipo sticker; al pasar el cursor la foto cubre la tarjeta */
.bento-card__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  opacity: 0;
  scale: 1.08;
  transition: opacity var(--dur-slow) var(--ease-smooth), scale 1.6s var(--ease-smooth);
}
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__photo { opacity: 1; scale: 1; }
.bento-card__sticker {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 92px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: var(--pos, center);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 32px -14px rgb(15 23 42 / .45);
  rotate: 6deg;
  transition: opacity var(--dur-fast), scale var(--dur-fast) var(--ease-bouncy), rotate var(--dur-fast) var(--ease-bouncy);
}
.bento__item--xl .bento-card__sticker { top: 30px; right: 30px; width: clamp(130px, 14vw, 190px); rotate: -5deg; }
.bento-card:is(:hover, :focus-within, .is-active) .bento-card__sticker { opacity: 0; scale: .6; rotate: 24deg; }

/* Filosofía: foto real con un velo morado-turquesa */
.immersive__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.2 - var(--p) * .2));
}
.immersive__overlay { background: linear-gradient(135deg, rgb(76 29 149 / .7), rgb(14 116 144 / .55)); }

/* Checklist: foto con marco blanco */
.checklist__photo {
  margin-top: 32px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 6px solid #fff;
  border-radius: 40px 40px 40px 12px;
  box-shadow: 0 30px 60px -34px rgb(8 145 178 / .6);
  rotate: -2deg;
}
.checklist__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .checklist__photo { max-width: 460px; } }

/* Spotlight con foto de fondo */
.spotlight__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.spotlight--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 51 68 / .05) 0%, rgb(8 51 68 / .55) 45%, rgb(8 51 68 / .92) 100%);
}
.spotlight--photo .spotlight__orb { opacity: .45; }

/* Secciones largas bajo el primer pantallazo: el navegador no las pinta hasta que se acercan */
#proceso, #historias, #checklist, #recursos, #seguros, #faq, #contacto, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__media, .hero__content { transform: none; opacity: 1; }
  .hero__media::after { opacity: 0; }
  .immersive { height: auto; }
  .immersive__sticky { position: relative; height: auto; min-height: 80vh; padding-block: 120px; }
  .immersive__media { transform: none; border-radius: 0; }
  .aurora span { translate: none; }
  .immersive__content { opacity: 1; }
  .word { opacity: 1; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
}
