/* ==========================================================================
   HENKO STUDIO — styles.css
   Mobile first. Cambiá colores y tipografía en los tokens de :root.
   Índice:
     0. Tokens          6. Clientes       12. Guía
     1. Base            7. Problema       13. FAQ
     2. Utilidades      8. Servicios      14. CTA final
     3. Botones         9. Proceso        15. Contacto
     4. Header/menú    10. Resultados     16. Footer
     5. Hero           11. Nosotros/Cal   17. Lightbox, WhatsApp, cookies
   ========================================================================== */

/* ---------- Tipografía: Poppins alojada en la web (más rápida que Google Fonts) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700.woff2") format("woff2"); }

/* ---------- 0. TOKENS ---------- */
:root {
  --bg: #000033;               /* azul noche */
  --bg-2: #05053d;             /* superficie un poco más clara */
  --bg-3: #0b0b4a;
  --accent: #AAABFA;           /* lavanda */
  --accent-strong: #c4c5ff;
  --accent-ink: #000033;       /* texto sobre lavanda */
  --text: #FFFFFF;
  --muted: #b9bad6;            /* gris suave secundario */
  --muted-2: #8b8cb5;
  --line: rgba(170, 171, 250, 0.16);
  --line-strong: rgba(170, 171, 250, 0.32);
  --surface: rgba(170, 171, 250, 0.05);
  --surface-2: rgba(170, 171, 250, 0.09);
  --success: #7ee2b8;
  --danger: #ff9aa8;
  --wa: #25D366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --glow: 0 12px 40px -8px rgba(170, 171, 250, .45);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- 1. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
/* Grano editorial muy sutil */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.i {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 2. UTILIDADES ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 12vw, 136px); }
.is-hidden { display: none !important; }
.accent { color: var(--accent); }
.muted { color: var(--muted-2); }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.hide-xs { display: none; }
@media (min-width: 480px) { .hide-xs { display: inline; } .show-xs { display: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(170,171,250,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(170,171,250,0); } 100% { box-shadow: 0 0 0 0 rgba(170,171,250,0); } }

.h2 {
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.75rem, 4.6vw, 2.6rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); margin-top: 18px; max-width: 60ch; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }

/* Reveal al hacer scroll (solo si hay JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* salvaguarda del skill */

/* ---------- 3. BOTONES ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-strong); box-shadow: var(--glow); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); background: var(--surface-2); }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--xl { --h: 64px; padding: 0 36px; font-size: 18px; }
.btn--block { width: 100%; white-space: normal; text-align: center; padding-block: 10px; line-height: 1.25; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.is-loading { opacity: .75; cursor: progress; }
.btn.is-loading .i:last-child { animation: breathe 1s ease-in-out infinite; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,51,.6);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.icon-btn .i { width: 20px; height: 20px; }

.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.inline-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.inline-cta p { font-weight: 600; font-size: 1.1rem; }
@media (min-width: 768px) {
  .inline-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
}

/* ---------- 4. HEADER + MENÚ MOBILE ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .menu-open .header {
  background: rgba(0, 0, 51, .92);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .header.is-scrolled, .menu-open .header { background: rgba(0, 0, 51, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; border-radius: 9px; }
.brand__name { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
@media (min-width: 400px) { .brand__name { font-size: 13px; letter-spacing: .12em; } }
@media (min-width: 768px) { .brand__name { font-size: 14px; letter-spacing: .14em; } }
.brand__name span { color: var(--accent); font-weight: 500; }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.burger {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
}
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg);
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
}
.mnav[hidden] { display: none; }
.mnav.is-open { animation: menuIn .45s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a {
  font-size: clamp(1.75rem, 8vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mnav__links a:hover { color: var(--accent); }
.mnav__social { display: flex; gap: 12px; margin-top: auto; }
.mnav__social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); }
.mnav__social .i { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav { display: flex; gap: 4px; }
  .nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s; }
  .nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav a:hover, .nav a.is-active { color: var(--text); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .burger, .mnav { display: none !important; }
}

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -10% -20% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 78% 30%, rgba(170,171,250,.22), transparent 70%),
    radial-gradient(35% 30% at 10% 85%, rgba(86,88,230,.25), transparent 70%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-size: clamp(2.45rem, 9.6vw, 5.4rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 14ch;
}
.hl { position: relative; color: var(--accent); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em;
  background: linear-gradient(90deg, var(--accent), rgba(170,171,250,.2));
  border-radius: 999px;
  transform: scaleX(0); transform-origin: left;
  animation: underline 1.1s var(--ease) .8s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
/* Entrada del hero solo con movimiento (sin opacidad) para que el título pinte al instante */
.hero-in { animation: heroIn 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes heroIn { from { transform: translateY(18px); } }
.hero__sub { margin-top: 22px; color: var(--muted); font-size: clamp(1.02rem, 2.4vw, 1.25rem); max-width: 34em; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero__ctas .btn { width: 100%; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted-2); }
@media (min-width: 480px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__ctas .btn { width: auto; }
}

/* Mosaico de clips */
.hero__mosaic {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  align-items: start;
  padding-bottom: 24px;
}
.tile {
  position: relative; margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 16px; overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tile--b { transform: translateY(24px); }
.js .tile--b.reveal { transform: translateY(50px); }
.js .tile--b.reveal.is-in { transform: translateY(24px); }
.tile__video { width: 100%; height: 100%; object-fit: cover; }
.tile__cap {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,51,.85));
  font-size: 11px; line-height: 1.3;
}
.tile__cap b { font-weight: 600; }
.tile__cap span { color: var(--accent); }
.hero__badge {
  position: absolute; left: 50%; bottom: -8px; z-index: 2;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0,0,51,.9);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 13px; white-space: nowrap;
}
.hero__badge .i { color: var(--accent); }
.hero__badge b { color: var(--accent); }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero__title { font-size: clamp(3rem, 4.7vw, 4.2rem); max-width: 17ch; }
  .hero__mosaic { gap: 18px; padding-bottom: 0; }
  .tile { border-radius: 22px; }
  .tile--a { margin-top: 40px; }
  .tile--b, .js .tile--b.reveal.is-in { transform: translateY(-20px); }
  .js .tile--b.reveal { transform: translateY(10px); }
  .tile--c { margin-top: 90px; }
  .tile__cap { font-size: 12px; padding: 36px 14px 14px; }
  .hero__badge { left: -28px; bottom: 32px; translate: 0 0; }
}

/* Barra de prueba social */
.proof {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.proof li { display: flex; flex-direction: column; gap: 2px; padding: 18px 16px; }
.proof li:nth-child(odd) { border-right: 1px solid var(--line); }
.proof li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.proof b { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; }
.proof span { font-size: 13px; color: var(--muted); }
@media (min-width: 768px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
  .proof li { padding: 22px 26px; border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .proof li:last-child { border-right: 0; }
}

/* ---------- 6. CLIENTES (marquee) ---------- */
.clients { padding-block: clamp(40px, 7vw, 72px); border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(170,171,250,.03), transparent); }
.clients__label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 24px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; }
/* Cada grupo se anima por separado: capas más chicas = render más liviano */
.marquee__group { display: flex; align-items: center; flex: none; animation: marquee 22s linear infinite; will-change: transform; }
.marquee:hover .marquee__group { animation-play-state: paused; }
.client { display: flex; align-items: center; gap: 14px; padding-inline: clamp(20px, 4vw, 44px); position: relative; }
.client::after { content: "✦"; position: absolute; right: -8px; color: var(--accent); font-size: 14px; opacity: .7; }
.client__name { font-size: clamp(1.9rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; line-height: 1.1; }
.client--outline .client__name { color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.client__tag { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__group { animation-duration: 70s; } }

/* ---------- 7. PROBLEMA ---------- */
.problem__grid { display: grid; gap: 40px; }
.pains { display: grid; gap: 12px; }
.pain {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  transition: border-color .3s, transform .4s var(--ease);
}
.pain:hover { border-color: var(--line-strong); transform: translateX(4px); }
.pain .i { width: 22px; height: 22px; color: var(--danger); margin-top: 2px; }
.pain b { color: var(--text); font-weight: 600; }
.answer {
  margin-top: clamp(48px, 8vw, 80px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(170,171,250,.18), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.answer__title { font-size: clamp(1.8rem, 5.4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.answer__text { color: var(--muted); font-size: 1.05rem; margin-bottom: 8px; }
@media (min-width: 1024px) {
  .problem__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
}

/* ---------- 8. SERVICIOS ---------- */
.cards { display: grid; gap: 16px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .35s, transform .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(170,171,250,.14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); }
.card__icon .i { width: 26px; height: 26px; }
.card__num { font-size: 13px; font-weight: 600; color: var(--muted-2); letter-spacing: .1em; }
.card__title { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.card__text { color: var(--muted); margin-top: 10px; }
.card .checks { margin: 22px 0 28px; flex: 1; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks .i { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.4; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } .card { padding: 32px 28px 28px; } }

/* ---------- 9. PROCESO ---------- */
.steps { --progress: 0; position: relative; display: grid; gap: 28px; padding-left: 64px; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(var(--accent), var(--accent-strong)); transform: scaleY(var(--progress)); transform-origin: top; }
.step { position: relative; }
.step__num {
  position: absolute; left: -64px; top: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-weight: 700; color: var(--accent);
  z-index: 1;
}
.step__title { font-size: 1.25rem; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.01em; }
.step p { color: var(--muted); max-width: 40ch; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-left: 0; padding-top: 72px; }
  .steps::before, .steps::after { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform: scaleX(var(--progress)); transform-origin: left; }
  .step__num { left: 0; top: -72px; }
}

/* ---------- 10. RESULTADOS ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: clamp(48px, 7vw, 72px); }
.stat {
  min-width: 0;
  padding: 18px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.stat:first-child { grid-column: 1 / -1; background: radial-gradient(80% 140% at 0% 0%, rgba(170,171,250,.16), transparent 60%), var(--bg-2); border-color: var(--line-strong); }
.stat__num { display: block; font-size: clamp(1.55rem, 7vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat:first-child { padding: 22px 18px; }
.stat:first-child .stat__num { font-size: clamp(2.3rem, 10vw, 4.6rem); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }
@media (min-width: 640px) { .stat { padding: 22px 18px; } .stat span { font-size: 14px; } }
@media (min-width: 1024px) {
  .stats { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 16px; }
  .stat:first-child { grid-column: auto; }
  .stat { padding: 28px 26px; }
  .stat__num { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
  .stat:first-child .stat__num { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
}

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.work {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 0; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  background: var(--bg-3);
  text-align: left;
  transition: transform .5s var(--ease), border-color .3s, opacity .4s;
}
.work.is-filtered { display: none; }
.work__video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover { border-color: var(--line-strong); }
.work:hover .work__video { transform: scale(1.04); }
.work__info {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,51,.92));
  font-size: 12px; line-height: 1.35;
}
.work__info b { font-size: 14px; font-weight: 600; }
.work__info span { color: var(--accent); }
.work__play {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,51,.65); border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.work__play .i { width: 16px; height: 16px; margin-left: 2px; }
.work:hover .work__play { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
@media (min-width: 768px) { .works { grid-template-columns: repeat(3, 1fr); gap: 16px; } .work { border-radius: 20px; } .work__info { padding: 56px 16px 16px; font-size: 13px; } }
@media (min-width: 1200px) { .works { grid-template-columns: repeat(6, 1fr); gap: 14px; } .work__info { padding: 48px 12px 12px; font-size: 12px; } }

.cases { display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 72px); }
.case {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.case__head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.case__client { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.case__role { font-size: 13px; color: var(--accent); }
.case__body { display: grid; gap: 16px; flex: 1; }
.case dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.case dd { margin: 0; color: var(--muted); font-size: 15px; }
.case__result { margin-top: auto; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.case__result dd { color: var(--text); }
.case__result b { color: var(--accent); }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.analytics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.analytics figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.analytics figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); }

/* Testimonios */
.carousel__nav { display: flex; gap: 8px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%;
  gap: 16px; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.quote blockquote { font-size: 1.1rem; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.quote b { display: block; }
.quote small { color: var(--accent); font-size: 13px; }
@media (min-width: 768px) { .carousel { grid-auto-columns: calc(50% - 8px); } }
@media (min-width: 1024px) { .carousel { grid-auto-columns: calc(33.333% - 11px); } }

/* ---------- 11. NOSOTROS ---------- */
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.about__photo { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4 / 5; background: var(--bg-3); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,51,.55)); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: 28px; border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(170,171,250,.05) 10px 11px);
}
.about__badge {
  position: absolute; right: -6px; bottom: 28px;
  display: flex; flex-direction: column;
  padding: 14px 18px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--glow);
}
.about__badge b { font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; }
.about__badge span { font-size: 12px; font-weight: 500; max-width: 12ch; line-height: 1.3; margin-top: 4px; }
.prose { display: grid; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 1.02rem; }
.prose b { color: var(--text); font-weight: 600; }
.values { display: grid; gap: 12px; margin-top: 32px; }
.values li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.values__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.values b { font-weight: 600; }
.values span:last-child { font-size: 14px; color: var(--muted); }
.about__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; transition: border-color .25s, color .25s; }
.pill-link:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .about__badge { right: -28px; }
}

/* ---------- 11b. CONSULTORÍA ---------- */
.consult { background: linear-gradient(180deg, transparent, rgba(170,171,250,.04) 30%, transparent); }
.consult__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 50% 0%, rgba(170,171,250,.14), transparent 70%); }
.consult__info { display: grid; gap: 16px; margin-bottom: 28px; }
.consult__list { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.consult__list h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
@media (min-width: 768px) { .consult__info { grid-template-columns: 1fr 1fr; } }
.cal-wrap { position: relative; }
.cal-inline {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  overflow: hidden;
}
.cal-inline iframe { border-radius: var(--radius); }
.cal-skeleton { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; }
.cal-skeleton .i { width: 36px; height: 36px; color: var(--accent); animation: breathe 1.6s ease-in-out infinite; }
.cal-inline.is-loaded .cal-skeleton { display: none; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.94); } }
.cal-fallback { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.cal-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 12. GUÍA ---------- */
.guide__box {
  position: relative;
  display: grid; gap: 36px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(170,171,250,.16), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-strong);
}
.guide__cover { display: grid; place-items: center; perspective: 1200px; }
.book {
  position: relative;
  width: min(240px, 70%);
  aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px;
  border-radius: 6px 16px 16px 6px;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(170,171,250,.35), transparent 60%),
    linear-gradient(160deg, #10106a, #000033 70%);
  border: 1px solid var(--line-strong);
  box-shadow: -14px 24px 50px -10px rgba(0,0,0,.7), inset 6px 0 0 rgba(255,255,255,.06);
  transform: rotateY(-16deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.guide__box:hover .book { transform: rotateY(-6deg) rotateX(2deg) translateY(-4px); }
.book img { width: 44px; height: 44px; border-radius: 10px; }
.book__kicker { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-top: auto; }
.book__title { font-size: clamp(1.1rem, 3.6vw, 1.45rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.book__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
@media (min-width: 1024px) { .guide__box { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; } }

/* Formularios */
.form { display: grid; gap: 16px; margin-top: 28px; }
.form[hidden] { display: none; }
.guide__box > *, .contact__grid > *, .about__grid > *, .faq__grid > *, .hero__grid > * { min-width: 0; }
.form__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(0,0,51,.6);
  color: var(--text);
  font-size: 16px; /* evita zoom en iOS */
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23AAABFA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--bg); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(170,171,250,.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field legend { margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; cursor: pointer; transition: all .25s; }
.choice input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__legal { font-size: 12px; color: var(--muted-2); text-align: center; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.form__status { font-size: 14px; text-align: center; min-height: 1em; }
.form__status.is-error { color: var(--danger); }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.success { display: grid; gap: 14px; margin-top: 28px; padding: clamp(18px, 4vw, 24px); border-radius: var(--radius); border: 1px solid rgba(126,226,184,.35); background: rgba(126,226,184,.06); animation: menuIn .5s var(--ease); }
.success[hidden] { display: none; }
.success__title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; }
.success__title .i { color: var(--success); width: 24px; height: 24px; stroke-width: 2.4; }
.success__text { color: var(--muted); }

/* ---------- 13. FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
.faq__head .btn { margin-top: 28px; }
.accordion { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background-color .3s; }
.qa[open] { border-color: var(--line-strong); background: var(--surface-2); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px; font-weight: 600; font-size: 1.02rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 22px; height: 22px; color: var(--accent); transition: transform .4s var(--ease); }
.qa[open] summary .i { transform: rotate(45deg); }
.qa__a { padding: 0 20px 20px; color: var(--muted); }
.qa[open] .qa__a { animation: menuIn .4s var(--ease); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- 14. CTA FINAL ---------- */
.final {
  position: relative;
  min-height: 86vh; min-height: 86svh;
  display: grid; place-items: center;
  padding-block: 96px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}
.final__orb {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(900px, 140vw); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170,171,250,.28), rgba(86,88,230,.12) 40%, transparent 68%);
  animation: orb 14s ease-in-out infinite alternate;
}
@keyframes orb { to { transform: scale(1.12) rotate(20deg); } }
.final__orb::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(170,171,250,.18); }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final__mark { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--glow); }
.final__title { font-size: clamp(2.2rem, 7.4vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }

/* ---------- 15. CONTACTO ---------- */
.contact__grid { display: grid; gap: 48px; }
.contact__list { display: grid; gap: 10px; margin-top: 32px; }
.contact__list a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  font-weight: 500; word-break: break-word;
  transition: border-color .25s, transform .4s var(--ease);
}
.contact__list a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact__list small { display: block; font-size: 12px; color: var(--muted-2); font-weight: 500; }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.contact__form { padding: clamp(22px, 4vw, 40px); border-radius: 28px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.contact__form .form { margin-top: 0; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } }

/* ---------- 16. FOOTER ---------- */
.footer { padding-top: 72px; border-top: 1px solid var(--line); background: #00002a; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 34ch; font-size: 15px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .25s, color .25s, border-color .25s; }
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer__nav { display: grid; gap: 8px; align-content: start; }
.footer__nav a { color: var(--muted); width: fit-content; transition: color .25s; }
.footer__nav a:hover { color: var(--accent); }
.footer__cta { display: grid; gap: 14px; justify-items: start; align-content: start; }
.footer__mail { color: var(--muted); font-size: 14px; }
.footer__mail:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; padding-block: 24px calc(92px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.footer__bottom a:hover, .footer__bottom .link-btn:hover { color: var(--accent); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; padding-right: 200px; padding-bottom: 32px; }
}

/* ---------- 17. LIGHTBOX ---------- */
.lightbox {
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 0; border: 0;
  background: transparent; color: var(--text);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 20, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { display: flex; flex-direction: column; gap: 12px; animation: menuIn .4s var(--ease); }
.lightbox__stage {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: calc(100svh - 110px);
  margin-inline: auto;
  width: 100%;
  border-radius: 22px; overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
}
.lightbox__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.lightbox__close { position: absolute; top: 12px; right: 12px; }
.lightbox__sound { position: absolute; top: 12px; left: 12px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 48px 16px 16px; background: linear-gradient(transparent, rgba(0,0,51,.9)); font-size: 13px; pointer-events: none; }
.lightbox__cap b { font-size: 16px; }
.lightbox__cap span { color: var(--accent); }
.lightbox__cta { flex: none; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 16px;
  border-radius: 999px;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55);
  font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), bottom .4s var(--ease), box-shadow .3s;
}
.wa-float .i { width: 26px; height: 26px; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, .7); }
.cookies-visible .wa-float { bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; padding: 0 20px 0 16px; }
  .wa-float__label { display: inline; }
  .cookies-visible .wa-float { bottom: 24px; }
}

/* ---------- Banner de cookies ---------- */
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 5, 61, .97);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 14px; color: var(--muted);
  animation: menuIn .5s var(--ease);
}
.cookies[hidden] { display: none; }
.cookies a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookies__actions { display: flex; gap: 8px; }
.cookies__actions .btn { flex: 1; }
@media (min-width: 768px) {
  .cookies { left: 24px; right: auto; bottom: 24px; max-width: 420px; }
}

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; padding-top: calc(var(--header-h) + 56px); padding-bottom: 80px; }
.legal__date { color: var(--muted-2); font-size: 14px; margin: 12px 0 32px; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__back { margin-top: 40px; }
.footer--mini { padding-top: 0; }
.footer--mini .footer__bottom { padding-right: var(--gutter); padding-bottom: 32px; }

/* ---------- Movimiento reducido: solo frenamos lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  .final__orb, .eyebrow .dot, .cal-skeleton .i { animation: none; }
}
