
/* ============================================================
   adnovative — sistema de la web
   Dark-first. El champán estructura; el azul es lo accionable.
   ============================================================ */

:root {
  /* Marca: azules principales, lavanda secundaria, amarillo de contraste.
     El amarillo es «enfatizador»: se reserva, no se reparte. */
  --ground:      #08081A;
  --surface:     #0E0E2E;
  --raised:      #16163F;
  --deep:        #050512;
  --line:        rgba(129, 135, 212, 0.24);
  --line-soft:   rgba(255, 255, 255, 0.08);

  --ink:         #F0F0F7;
  --ink-2:       #AFB1CE;
  --ink-3:       #8386A8;
  --ink-4:       #70739A;

  --champagne:   #8187D4;
  --champagne-2: rgba(129, 135, 212, 0.36);
  --champagne-3: rgba(129, 135, 212, 0.10);
  --accent:      #F2FF49;

  --federal:     #0E0E52;
  --navy:        #150578;
  --violet:      #3943B7;

  --blue:        #2037E1;
  --blue-hover:  #3B50EE;
  --on-blue:     #FFFFFF;

  --glass:       rgba(255, 255, 255, 0.04);
  --shadow:      0 1px 1px rgba(0,0,0,.5), 0 40px 80px -50px rgba(0,0,0,1);
  --logo-filter: none;

  /* Las tres de marca: Manrope titulares, Inter cuerpo, Victor Mono
     complementaria — su cursiva es la que enfatiza. */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Victor Mono', ui-monospace, 'SF Mono', monospace;
  --font-serif: 'Victor Mono', ui-monospace, monospace;

  --page: 1300px;
  --gutter: clamp(20px, 5vw, 76px);
  --section-y: clamp(88px, 11vw, 176px);
  --ease: cubic-bezier(.19,1,.22,1);
}

:root[data-theme="light"] {
  --ground:      #F6F6FB;
  --surface:     #EDEDF6;
  --raised:      #FFFFFF;
  --deep:        #E4E4F0;
  --line:        rgba(57, 67, 183, 0.26);
  --line-soft:   rgba(14, 14, 82, 0.11);
  --ink:         #0E0E52;
  --ink-2:       #3E4272;
  --ink-3:       #5B5F90;
  --ink-4:       #8085AC;
  --champagne:   #4A4FA8;
  --champagne-2: rgba(74, 79, 168, 0.34);
  --champagne-3: rgba(74, 79, 168, 0.07);
  --accent:      #7A8400;
  --federal:     #0E0E52;
  --navy:        #150578;
  --violet:      #3943B7;
  --blue:        #2037E1;
  --blue-hover:  #1729BC;
  --glass:       rgba(13, 18, 38, 0.03);
  --shadow:      0 1px 1px rgba(15,20,40,.05), 0 30px 60px -44px rgba(15,20,40,.45);
  --logo-filter: invert(1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
canvas { display: block; }

:where(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--champagne); margin: 0;
}
.label-dim { color: var(--ink-4); }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 400; margin: 0;
  text-wrap: balance; letter-spacing: -0.04em; line-height: 1.02;
}
.display { font-size: clamp(3rem, 8vw, 7rem); font-weight: 200; letter-spacing: -0.05em; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); font-weight: 250; line-height: 1.04; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.14; }
em.serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--champagne); letter-spacing: -0.01em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.24rem); line-height: 1.58; color: var(--ink-2); max-width: 60ch; }
.body { color: var(--ink-2); max-width: 66ch; }
.num { font-variant-numeric: tabular-nums; }

/* Revelado por línea, con máscara */
.rl { display: block; overflow: hidden; }
.rl > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease);
}
.in .rl > span, .rl.in > span { transform: none; }
.rl:nth-child(2) > span { transition-delay: .09s; }
.rl:nth-child(3) > span { transition-delay: .18s; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 66px; padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, background .4s ease, transform .5s var(--ease);
}
.nav.stuck { border-bottom-color: var(--line-soft); }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; }
.brand img { height: 17px; width: auto; filter: var(--logo-filter); display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); transition: color .25s ease; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1px; background: var(--champagne); transition: right .4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s ease, color .3s ease, transform .3s var(--ease);
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--champagne); background: var(--champagne-3); transform: translateY(-2px); }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.theme-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line-soft); border-radius: 999px;
  background: transparent; color: var(--ink-3); cursor: pointer;
  transition: color .3s ease, border-color .3s ease, transform .4s var(--ease);
}
.theme-btn:hover { color: var(--champagne); border-color: var(--champagne-2); transform: rotate(35deg); }
.theme-icon { display: block; }
.theme-icon-moon { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon { display: block; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
body, .nav, .section, .stats, .scrolly, .footer {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 75% at 50% 0%, transparent 40%, var(--ground) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-block: 130px clamp(46px, 7vw, 84px);
  display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px);
}
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.loaded .hero-fade { opacity: 1; transform: none; }
.scroll-cue {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
}
.scroll-cue i {
  width: 44px; height: 1px; background: var(--line); display: block; position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--champagne);
  transform: translateX(-100%); animation: sweep 2.6s var(--ease) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%);} 55%,100% { transform: translateX(100%);} }

/* ---------- Banda de cifras ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { padding: clamp(24px, 3vw, 40px) 24px clamp(24px, 3vw, 40px) 0; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat .n {
  display: block; font-family: var(--font-display); font-weight: 250;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -0.05em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.stat .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }

/* ---------- Sección ---------- */
.section { border-top: 1px solid var(--line-soft); position: relative; }
.section > .wrap { padding-block: var(--section-y); }
.spec { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: clamp(24px, 4vw, 68px); }
.spec-aside .label { position: sticky; top: 104px; display: block; }
.stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px); }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.note-line { border-left: 1px solid var(--champagne-2); padding-left: 22px; }
.note-line .label { margin-bottom: 10px; }

.verbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); border-top: 1px solid var(--line); }
.verb { padding: 22px 20px 22px 0; border-right: 1px solid var(--line-soft); }
.verb:last-child { border-right: 0; }
.verb b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .94rem; letter-spacing: .06em; margin-bottom: 4px; }
.verb span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------- Mockup de producto ---------- */
.showcase { background: var(--deep); border-top: 1px solid var(--line-soft); overflow: hidden; }
.showcase .wrap { padding-block: var(--section-y); display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.showcase-head { display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }
.stagearea { position: relative; }
.win {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  will-change: transform;
}
.win-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-soft);
  background: var(--raised);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.win-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-4); }
.win-body { padding: clamp(16px, 2vw, 26px); }

.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th {
  text-align: left; font-family: var(--font-mono); font-weight: 500;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4);
  padding: 0 14px 12px 0; border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
.tbl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line-soft); font-size: .89rem; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .env { color: var(--ink); font-weight: 500; }
.tbl .fam { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); letter-spacing: .06em; }
.bar { position: relative; height: 4px; background: var(--line-soft); border-radius: 2px; min-width: 78px; }
.bar i {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px;
  background: var(--champagne); transition: width 1.4s var(--ease);
}
.in .bar i { width: var(--w); }
.idx { color: var(--ink); font-weight: 500; }
.idx.hi { color: var(--champagne); }

.chipcard {
  position: absolute; right: 0; bottom: -34px; width: min(310px, 74vw);
  background: var(--raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; will-change: transform;
}
.chip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .84rem; }
.chip-row span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.chip-row b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chip-sep { height: 1px; background: var(--line-soft); }

/* ---------- Scrolly: las tres tecnologías ---------- */
.scrolly { position: relative; border-top: 1px solid var(--line-soft); background: var(--deep); }
.scrolly-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); }
.steps { display: flex; flex-direction: column; }
.step {
  min-height: 96svh; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding-block: 40px;
  opacity: .22; transition: opacity .6s ease;
}
.step.on { opacity: 1; }
.step-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--champagne); }
.step-claim { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; }
.step p { font-size: .95rem; color: var(--ink-3); max-width: 46ch; }
.step .aporta { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 6px; color: var(--ink-2); font-size: .88rem; max-width: 44ch; }
.sticky-stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
}
.stage-inner { position: relative; width: 100%; height: min(74svh, 620px); }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-hud {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-4);
  display: flex; gap: 18px;
}
.stage-hud b { font-weight: 500; color: var(--ink-4); transition: color .4s ease; }
.stage-hud b.on { color: var(--champagne); }
.scrolly-intro { padding-block: var(--section-y) 0; }

/* ---------- Oferta ---------- */
.offers { display: flex; flex-direction: column; }
.offer {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3.5vw, 56px);
  padding-block: clamp(30px, 3.6vw, 48px);
  border-top: 1px solid var(--line-soft);
  transition: background .5s ease;
}
.offer:first-child { border-top: 1px solid var(--line); }
.offer:hover { background: var(--glass); }
.offer-head { display: flex; flex-direction: column; gap: 12px; }
.offer-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--champagne); }
.offer-sub { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--ink-2); line-height: 1.4; }
.offer-body { font-size: .94rem; color: var(--ink-3); max-width: 52ch; }
.offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 24px; align-content: start; }
.offer-list li {
  font-size: .9rem; color: var(--ink-2); padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; gap: 10px;
}
.offer-list li::before { content: ""; flex: none; width: 4px; height: 4px; background: var(--champagne-2); transform: translateY(-2px); }
.offer-key {
  grid-column: 1 / -1; margin-top: 10px; padding: 14px 18px;
  background: var(--champagne-3); font-size: .86rem; color: var(--ink-2);
  display: flex; gap: 14px; flex-wrap: wrap; border-radius: 4px;
}
.offer-key b {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--champagne);
  flex: none; padding-top: 3px;
}

/* ---------- Cobertura: tarjetas con arte generado ---------- */
.env-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
@media (min-width: 1080px) { .env-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Octava celda: cierra la retícula y resume el índice. */
.env-sum {
  background: var(--surface); padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.env-sum .label { display: block; }
.env-sum dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.env-sum div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
.env-sum div:last-child { border-bottom: 0; padding-bottom: 0; }
.env-sum dt { font-size: .82rem; color: var(--ink-3); }
.env-sum dd {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -.03em; color: var(--champagne); font-variant-numeric: tabular-nums;
}
.env-card {
  background: var(--surface); display: flex; flex-direction: column;
  transition: background .5s ease;
}
.env-card:hover { background: var(--raised); }
.env-art { position: relative; height: 132px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.env-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.env-txt { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 9px; }
.env-txt h4 {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  letter-spacing: -.015em; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.env-txt h4 span { font-family: var(--font-mono); font-size: 11px; color: var(--champagne); font-variant-numeric: tabular-nums; }
.env-txt p { font-size: .84rem; line-height: 1.55; color: var(--ink-3); }

/* ---------- Marquesina ---------- */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.32rem);
  letter-spacing: -.03em; color: var(--ink-3); padding-inline: 26px;
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
}
.marquee-track span::after { content: ""; width: 4px; height: 4px; background: var(--champagne-2); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Para quién / pilares ---------- */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.who > div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.who p { font-size: .92rem; color: var(--ink-3); }
/* Cuatro piezas: columnas fijas para que nunca quede una huérfana en la fila. */
.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 9px; transition: background .5s ease; }
.pillar:hover { background: var(--raised); }
.pillar b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.015em; }
.pillar p { font-size: .89rem; color: var(--ink-3); line-height: 1.58; }

/* ---------- Principio ---------- */
.principle blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 250;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.045em;
  max-width: 21ch; text-wrap: balance;
}
.principle blockquote w { display: inline-block; opacity: .16; transition: opacity .6s ease; }
.principle blockquote w.on { opacity: 1; }

/* ---------- Contacto ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { padding-block: var(--section-y); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: end; }
.mail {
  font-family: var(--font-display); font-weight: 250;
  font-size: clamp(1.45rem, 3.4vw, 2.5rem); letter-spacing: -.045em; color: var(--ink);
  border-bottom: 1px solid var(--champagne-2); padding-bottom: 8px;
  display: inline-block; word-break: break-word;
  transition: border-color .35s ease, color .35s ease;
}
.mail:hover { color: var(--champagne); border-color: var(--champagne); }

.wa {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.wa:hover { border-color: var(--champagne); background: var(--champagne-3); transform: translateY(-2px); }
.wa svg { color: var(--champagne); }

.footer { border-top: 1px solid var(--line-soft); background: var(--ground); }
.footer .wrap { padding-block: 34px; display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.footer-brand, .footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-legal { justify-content: flex-end; }
.footer img { height: 15px; width: auto; filter: var(--logo-filter); opacity: .55; }
.footer p, .footer-legal-menu a { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-4); text-transform: uppercase; }
.footer-legal-nav ul, .footer-legal-menu { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.footer-legal-menu a { text-decoration: none; transition: color .25s ease; }
.footer-legal-menu a:hover, .footer-legal-menu a:focus-visible { color: var(--ink); }
.footer-copy { white-space: nowrap; }
@media (max-width: 720px) {
  .footer .wrap, .footer-brand, .footer-legal { align-items: flex-start; }
  .footer .wrap { flex-direction: column; }
  .footer-brand, .footer-legal { flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
}





/* ---------- Portada: el viaje ----------
   Una sola toma continua. Cada capa entra pequeña, pasa por escala 1 y se
   atraviesa; el conjunto se lee como un zoom que no se corta. */
.cinema {
  position: relative;
  height: 1100vh;
  background: #08081A;
  --ink: #EFEDE7; --ink-2: #A9AFC1; --ink-3: #7B8298; --ink-4: #70739A;
  --line-soft: rgba(255,255,255,.07); --line: rgba(129,135,212,.18);
  --surface: #0B0F1E; --raised: #111629; --champagne: #8187D4;
  --eco-edge: rgba(255,255,255,.11); --eco-ink: #F0F0F7; --eco-dim: #8386A8;
  --eco-gold: #8187D4; --sw: 1000px;
  color: var(--ink);
}
.cinema.flat { height: auto; }
.zoom-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.cinema.flat .zoom-sticky { position: static; height: auto; padding-block: 120px 60px; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.zoom-sticky::after {
  content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none;
  background: radial-gradient(128% 92% at 50% 50%, transparent 52%, rgba(4,6,13,.5) 84%, rgba(4,6,13,.92) 100%);
}

.zlayer {
  position: absolute; inset: 0; z-index: 10;
  display: grid; place-items: center;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 0; visibility: hidden;      /* el guion las enciende */
}
.zlayer.z0 { opacity: 1; visibility: visible; }
.z-swarm .ztile .mark { font-size: clamp(.6rem, .95vw, .95rem); }
.cinema.flat .cine-overlay { position: static; padding: 40px 0 0; }
.cinema.flat .cine-hud, .cinema.flat #field { display: none; }
.cinema.flat .zlayer.z0 { opacity: 1; visibility: visible; }
.cinema.flat .zlayer { position: static; opacity: 1 !important; transform: none !important; }
.cinema.flat .zlayer:not(.z0) { display: none; }
.zframe { width: min(92vw, 1180px); }

/* Capas de imagen: el key visual manda, el resto se aparta. */
.zshot { position: absolute; inset: 0; overflow: hidden; }
.zshot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.zshot.fit img { object-fit: contain; }
.zshot.crop img { transform: scale(4.2); transform-origin: 50% 48%; }

/* --- Capa 1: el enjambre de plataformas --- */
.z-swarm { position: relative; width: min(94vw, 1240px); aspect-ratio: 16 / 9; }
.z-swarm .ztile {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 18px; padding: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--eco-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px -32px #000;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.z-swarm .ztile svg { width: auto; max-width: 64%; max-height: 36%; }
.z-swarm .ztile .mark {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  color: #F0F0F7; text-align: center; line-height: 1.15;
}
.z-swarm .ztile .fam {
  font-family: var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--eco-dim);
}

/* --- Capa 2: el núcleo --- */
.z-core { position: relative; display: grid; place-items: center; }
.z-core .core { position: static; transform: none; width: clamp(150px, 22vw, 280px); }
.z-core .spokes { position: absolute; inset: -60%; pointer-events: none; }
.z-core .spokes line { stroke: rgba(129,135,212,.22); stroke-width: 1; }

/* --- Capa 3: las tres tecnologías --- */
.z-tri { display: flex; align-items: stretch; gap: clamp(10px, 1.6vw, 22px); width: min(94vw, 1120px); }
.z-plate {
  flex: 1; padding: clamp(18px, 2.2vw, 30px);
  border-radius: 16px; background: rgba(255,255,255,.04);
  border: 1px solid var(--eco-edge);
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.z-plate .k { font-family: var(--font-mono); font-size: clamp(10px,1vw,12px); letter-spacing: .16em; color: var(--eco-gold); }
.z-plate .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem,1.7vw,1.5rem); letter-spacing: -.03em; }
.z-plate .d { font-size: clamp(.78rem,1vw,.92rem); color: #AFB1CE; line-height: 1.5; }

/* --- Capa 4: la pantalla del operador --- */
.z-screen { width: min(94vw, 1080px); }
.z-bezel {
  border-radius: 16px; padding: 12px;
  background: linear-gradient(180deg, #1B1B45, #0C0C28);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 50px 90px -50px #000, inset 0 1px 0 rgba(255,255,255,.14);
}
.z-foot {
  height: 12px; width: 62%; margin: 0 auto;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #171B28, #0B0E18);
  border: 1px solid rgba(255,255,255,.10); border-top: 0;
}

/* --- Rótulo del viaje --- */
.cine-hud {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  pointer-events: none;
}
.cine-hud .caption {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--eco-gold);
  min-width: 15ch; text-align: right;
  transition: opacity .3s ease;
}
.cine-hud .caption.sub {
  min-width: 0; text-align: left; color: #8386A8; letter-spacing: .16em;
  opacity: 0; transition: opacity .45s ease;
}
.cine-dots { display: flex; gap: 7px; }
.cine-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: block;
  transition: background .35s ease, transform .35s ease;
}
.cine-dots i.on { background: var(--eco-gold); transform: scale(1.5); }

/* --- Rótulo fijo de portada --- */
.cine-overlay {
  position: absolute; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(74px, 11vh, 130px);
  pointer-events: none; will-change: opacity, transform;
}
.cine-overlay > * { pointer-events: auto; }
/* Velo inferior: el titular se apoya siempre en oscuro, nunca sobre la imagen. */
.cine-overlay::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, #08081A 3%, rgba(5,7,15,.95) 22%,
              rgba(5,7,15,.68) 42%, rgba(5,7,15,.16) 62%, transparent 76%);
}
/* Y un velo lateral: la columna de texto se apoya en oscuro de lado a lado. */
.cine-overlay::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to right, rgba(5,7,15,.88) 0%, rgba(5,7,15,.62) 26%,
              rgba(5,7,15,.22) 48%, transparent 68%);
}
.cine-overlay .display { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.045em; }
.cine-overlay .lead { font-size: clamp(.94rem, 1.1vw, 1.06rem); max-width: 48ch; }
.cine-overlay .inner { gap: clamp(13px, 1.6vw, 20px); }
.cine-overlay .inner {
  max-width: var(--page); margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 30px);
}
.cine-overlay h1 { max-width: 14ch; color: var(--ink); }
.cine-overlay .lead { max-width: 52ch; color: var(--ink-2); }
.cine-overlay .label { color: var(--champagne); }
.cine-overlay .btn-ghost { color: var(--ink); border-color: rgba(255,255,255,.22); }

/* Nav sobre la sala oscura */
.nav.on-dark .wordmark, .nav.on-dark .brand img { filter: none; }
.nav.on-dark .brand img { filter: none; }
.nav.on-dark .nav-links a { color: #AEB5C7; }
.nav.on-dark .nav-links a:hover { color: #EFEDE7; }
.nav.on-dark .theme-btn { color: #C2C8D6; border-color: rgba(255,255,255,.2); }
.nav.on-dark { background: rgba(5,7,15,.72); }

/* --- Banda de la jornada, tras el viaje --- */
.after-trip {
  background: #08081A; border-top: 1px solid rgba(255,255,255,.08); color: #F0F0F7;
  --eco-gold: #8187D4; --eco-dim: #8386A8; --eco-ink: #F0F0F7;
}
.after-trip .wrap { padding-block: clamp(44px, 6vw, 76px); }
.after-trip .label { color: #8187D4; }

@media (max-width: 860px) {
  .cinema { height: 900vh; }
  .cine-hud .caption { min-width: 0; font-size: 9.5px; }
}


/* ---------- El vuelo: perspectiva real, no una imagen que crece ----------
   Cada objeto vive a una profundidad distinta dentro de un mismo espacio
   preserve-3d. La cámara avanza y los objetos pasan por los lados. */
.v3d { position: absolute; inset: 0; perspective: 1000px; perspective-origin: 50% 50%; z-index: 10; }
.v3d-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.o3d {
  position: absolute; left: 50%; top: 50%;
  transform-style: preserve-3d; will-change: transform, opacity;
  opacity: 0; visibility: hidden;
  backface-visibility: hidden;
}
.o3d img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* El móvil de la chica: la puerta de entrada */
.o-phone {
  border-radius: 2.2em; padding: .55em;
  background: linear-gradient(160deg, #2A3042, #0C1020);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 3em 6em -2.4em #000, inset 0 .06em 0 rgba(255,255,255,.28);
}
.o-phone .scr {
  border-radius: 1.8em; background: #070B15; overflow: hidden;
  padding: 1.5em 1em 1.1em; display: flex; flex-direction: column; gap: .75em;
  aspect-ratio: 9 / 16.5;
}
.o-phone .notch {
  width: 34%; height: .32em; border-radius: 1em; background: rgba(255,255,255,.22);
  margin: 0 auto .35em;
}
.o-phone .row1 { display: flex; align-items: center; gap: .5em; }
.o-phone .row1 svg { width: 1.5em; height: auto; }
.o-phone .row1 b { font-family: var(--font-display); font-weight: 600; font-size: .95em; color: #F0F0F7; }
.o-phone .art {
  width: 100%; aspect-ratio: 1; border-radius: .7em;
  background: conic-gradient(from 210deg at 32% 28%, #1DB954, #0E6E38 120deg, #12224A 260deg, #1DB954);
}
.o-phone .t1 { font-size: .95em; font-weight: 600; color: #F0F0F7; }
.o-phone .t2 { font-family: var(--font-mono); font-size: .72em; color: #8386A8; letter-spacing: .06em; }
.o-phone .wv { display: flex; align-items: flex-end; gap: .12em; height: 2.4em; margin-top: auto; }
.o-phone .wv i { flex: 1; background: rgba(129,135,212,.6); border-radius: .06em; }

/* Piezas de plataforma que se cruzan al vuelo */
.o-tile {
  border-radius: 1.1em; padding: .9em;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 .05em 0 rgba(255,255,255,.1), 0 2em 4em -2em #000;
  aspect-ratio: 1;
}
.o-tile svg { width: auto; max-width: 66%; max-height: 40%; }
.o-tile .mark { font-family: var(--font-display); font-weight: 600; font-size: 1em; letter-spacing: -.02em; color: #F0F0F7; text-align: center; line-height: 1.1; }
.o-tile .fam { font-family: var(--font-mono); font-size: .52em; letter-spacing: .16em; text-transform: uppercase; color: #8386A8; }

/* Las tres tecnologías, flotando a distintas distancias */
.o-plate {
  border-radius: 1em; padding: 1.4em 1.3em;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 .05em 0 rgba(255,255,255,.12), 0 2.5em 5em -2.5em #000;
  display: flex; flex-direction: column; gap: .45em;
}
.o-plate .k { font-family: var(--font-mono); font-size: .62em; letter-spacing: .18em; color: #8187D4; }
.o-plate .n { font-family: var(--font-display); font-weight: 600; font-size: 1.5em; letter-spacing: -.03em; color: #EFEDE7; }
.o-plate .d { font-size: .78em; color: #AFB1CE; line-height: 1.45; }

/* La pantalla del operador, final del trayecto */
.o-screen .bezel {
  border-radius: .8em; padding: .6em;
  background: linear-gradient(180deg, #1B1B45, #0C0C28);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 3em 6em -2.6em #000, inset 0 .05em 0 rgba(255,255,255,.16);
}
.o-screen .stand { height: .7em; width: 26%; margin: 0 auto; background: #151538; }
.o-screen .base { height: .35em; width: 46%; margin: 0 auto; border-radius: .3em; background: #1A1A42; }

/* Título de entrada: se va enseguida, la imagen habla sola */
.cine-overlay { justify-content: flex-end; }


/* ---------- Puertas de familia: cada barrio del túnel se anuncia ---------- */
.o-gate {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(129,135,212,.32);
  border-radius: 1.6em;
  position: relative;
  box-shadow: inset 0 0 6em -2em rgba(129,135,212,.5);
}
.o-gate .g-l {
  position: absolute; left: 1.1em; top: -.85em;
  background: #08081A; padding: 0 .7em;
  font-family: var(--font-mono); font-size: .78em; letter-spacing: .22em;
  text-transform: uppercase; color: #8187D4; white-space: nowrap;
}
.o-gate .g-n {
  position: absolute; right: 1.1em; bottom: -.8em;
  background: #08081A; padding: 0 .7em;
  font-family: var(--font-mono); font-size: .7em; letter-spacing: .16em;
  color: #8386A8; white-space: nowrap;
}

/* ---------- Señales que emite el móvil ---------- */
.o-chip {
  border-radius: 999px; padding: .55em 1.1em;
  border: 1px solid rgba(129,135,212,.34);
  background: rgba(129,135,212,.07);
  font-family: var(--font-mono); font-size: .82em; letter-spacing: .13em;
  text-transform: uppercase; color: #D8CDB6; white-space: nowrap;
  text-align: center;
}

/* ---------- El núcleo, construido, no fotografiado ---------- */
.o-core { display: grid; place-items: center; }
.o-core .cube {
  width: 100%; aspect-ratio: 1; border-radius: 24%;
  background: linear-gradient(150deg, rgba(32,55,225,.62), rgba(21,5,120,.34));
  border: 1px solid rgba(129,135,212,.5);
  box-shadow: 0 0 5em -.6em rgba(32,55,225,.75), inset 0 .04em 0 rgba(255,255,255,.34);
  display: grid; place-items: center;
}
.o-core .cube span {
  font-family: var(--font-display); font-weight: 600; font-size: 5.4em;
  line-height: 1; letter-spacing: -.06em;
  background: linear-gradient(160deg, #FFFFFF 22%, #C9CCFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.o-ring {
  aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(129,135,212,.3);
  box-shadow: 0 0 3em -1.4em rgba(129,135,212,.6);
}

/* Sin fotos: el vuelo empieza en negro y el titular va al lado */
.cine-overlay { justify-content: center; }
.cine-overlay::before { background: linear-gradient(to top, #08081A 2%, rgba(5,7,15,.55) 26%, transparent 58%); }
.cine-overlay::after { background: linear-gradient(to right, rgba(5,7,15,.9) 0%, rgba(5,7,15,.6) 30%, transparent 62%); }


/* ============================================================
   El vuelo, segunda pasada: superficies sólidas, suelo con fuga
   y rótulos tipográficos en vez de marcos.
   ============================================================ */

/* Fondo: nebulosa quieta + rejilla de suelo que da la fuga */
.cinema { background: #050512; }
.zoom-sticky {
  background:
    radial-gradient(58% 44% at 22% 24%, rgba(32,55,225,.16), transparent 62%),
    radial-gradient(52% 40% at 80% 72%, rgba(129,135,212,.09), transparent 64%),
    radial-gradient(90% 70% at 50% 50%, #0B0B26 0%, #050512 72%);
}

/* --- Superficies sólidas: nada translúcido que se enturbie al solaparse --- */
.o-tile {
  border-radius: 1.15em; padding: 1em .9em;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55em;
  background: linear-gradient(168deg, #171742 0%, #0E0E2E 62%, #0A0A22 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 .06em 0 rgba(255,255,255,.16),
    inset 0 -.5em 1.4em -.6em rgba(0,0,0,.7),
    0 1.4em 3em -1.2em rgba(0,0,0,.95);
  aspect-ratio: 1; backdrop-filter: none;
}
.o-tile svg { width: auto; max-width: 62%; max-height: 38%; }
.o-tile .mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05em;
  letter-spacing: -.025em; color: #F0F0F7; text-align: center; line-height: 1.1;
}
.o-tile .fam {
  font-family: var(--font-mono); font-size: .5em; letter-spacing: .2em;
  text-transform: uppercase; color: #7A8299;
  padding-top: .5em; border-top: 1px solid rgba(255,255,255,.1); width: 62%; text-align: center;
}

/* --- Rótulo de barrio: tipografía en el espacio, sin marco --- */
.o-word { text-align: center; user-select: none; }
.o-word b {
  display: block;
  font-family: var(--font-display); font-weight: 200;
  font-size: 4.6em; line-height: .92; letter-spacing: -.05em;
  color: rgba(237,234,227,.14);
  white-space: nowrap;
}
.o-word i {
  display: block; margin-top: .5em; font-style: normal;
  font-family: var(--font-mono); font-size: .82em; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(129,135,212,.62);
  white-space: nowrap;
}
.o-word s {
  display: block; height: 1px; width: 42%; margin: .9em auto 0;
  background: linear-gradient(to right, transparent, rgba(129,135,212,.5), transparent);
  text-decoration: none;
}

/* --- Señales: cápsulas sólidas --- */
.o-chip {
  border-radius: 999px; padding: .6em 1.15em;
  border: 1px solid rgba(129,135,212,.3);
  background: linear-gradient(170deg, #151538, #0B0B26);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.12), 0 1em 2.4em -1.2em #000;
  font-family: var(--font-mono); font-size: .8em; letter-spacing: .14em;
  text-transform: uppercase; color: #C6C9E4; white-space: nowrap; text-align: center;
}

/* --- La pantalla genérica del arranque: ningún logo, ningún app --- */
.o-panel {
  border-radius: 1.4em; padding: .8em;
  background: linear-gradient(165deg, #161640, #0B0B26);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.2), 0 3em 6em -2.4em #000;
}
.o-panel .in {
  border-radius: 1em; background: #06061A; overflow: hidden;
  padding: 1.2em 1.1em; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; gap: .85em;
}
.o-panel .hd { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.o-panel .hd span { font-family: var(--font-mono); font-size: .62em; letter-spacing: .22em; text-transform: uppercase; color: #8187D4; }
.o-panel .hd em { font-style: normal; font-family: var(--font-mono); font-size: .58em; letter-spacing: .14em; color: #70739A; }
.o-panel .pulse { height: 5.2em; display: flex; align-items: flex-end; gap: .16em; }
.o-panel .pulse i { flex: 1; background: linear-gradient(to top, rgba(129,135,212,.25), rgba(129,135,212,.8)); border-radius: .08em; }
.o-panel .grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: .26em; }
.o-panel .grid u { display: block; aspect-ratio: 1; border-radius: .18em; background: rgba(255,255,255,.07); text-decoration: none; }
.o-panel .grid u.on { background: rgba(129,135,212,.55); }
.o-panel .ln { height: 1px; background: rgba(255,255,255,.09); }
.o-panel .kv { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .6em; letter-spacing: .1em; color: #8386A8; }
.o-panel .kv b { color: #F0F0F7; font-weight: 500; }

/* --- El núcleo: el logotipo entero, no una inicial --- */
.o-core { display: grid; place-items: center; }
.o-core .plate {
  width: 100%; padding: 1.5em 2em; border-radius: 1.1em;
  background: linear-gradient(158deg, #16163F 0%, #0B0B26 70%);
  border: 1px solid rgba(129,135,212,.4);
  box-shadow: 0 0 5em -.5em rgba(32,55,225,.6), inset 0 .05em 0 rgba(255,255,255,.28);
  display: grid; place-items: center;
}
.o-core .plate img { width: 100%; height: auto; display: block; }
.o-ring {
  aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(129,135,212,.34);
  box-shadow: 0 0 2.4em -1em rgba(129,135,212,.55), inset 0 0 3em -1.6em rgba(129,135,212,.5);
}

/* --- Las tres tecnologías --- */
.o-plate {
  border-radius: 1.1em; padding: 1.5em 1.4em;
  background: linear-gradient(168deg, #171742, #0A0E1B);
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.15), 0 2em 4em -2em #000;
  display: flex; flex-direction: column; gap: .5em;
}

/* --- Rótulo del vuelo, más compuesto --- */
.cine-hud { bottom: 30px; gap: 20px; }
.cine-hud .caption { font-size: 11px; letter-spacing: .24em; }


/* ---------- ADN de audiencia: la persona primero, la plataforma después ---------- */
.adn {
  --eco-edge: rgba(255,255,255,.11); --eco-ink: #F0F0F7; --eco-dim: #8386A8;
  --eco-gold: #8187D4; --eco-sel: #F2FF49;
  background: #08081A; color: var(--eco-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.adn::before {
  content: ""; position: absolute; left: 14%; top: 30%; width: min(900px,90%); aspect-ratio: 1;
  transform: translate(-50%,-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(32,55,225,.18), transparent 66%);
}
.adn > .wrap { padding-block: var(--section-y); position: relative; z-index: 1; }
.adn .label { color: var(--eco-gold); }
.adn-head { display: flex; flex-direction: column; gap: 16px; max-width: 54ch; margin-bottom: clamp(24px,3vw,38px); }
.adn-head p { color: #AFB1CE; font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.58; max-width: 58ch; }

.adn-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tchip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: #9FA2C0;
  border: 1px solid var(--eco-edge);
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.tchip:hover { color: var(--eco-ink); border-color: rgba(129,135,212,.5); }
.tchip[aria-pressed="true"] { color: #08081A; background: var(--eco-sel); border-color: var(--eco-sel); }

.adn-grid { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: clamp(20px,3vw,44px); align-items: stretch; }
.helix-wrap {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--eco-edge);
  background: linear-gradient(170deg, #0E0E2E, #06061A);
  min-height: 420px;
}
.helix-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.helix-wrap .hl {
  position: absolute; left: 16px; top: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: #70739A;
}

.adn-sheet { display: flex; flex-direction: column; gap: 18px; }
.sheet-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
.sheet-top h3 { font-size: clamp(1.4rem,2.4vw,2rem); letter-spacing: -.035em; font-weight: 600; }
.sheet-top .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--eco-dim); }
.adn-sheet .desc { color: #AFB1CE; font-size: .95rem; max-width: 60ch; }

.adn-block { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.adn-block > .label { display: block; margin-bottom: 12px; }

.envbars { display: flex; flex-direction: column; gap: 9px; }
.envbar { display: grid; grid-template-columns: 104px minmax(0,1fr) 44px; gap: 12px; align-items: center; }
.envbar span { font-size: .86rem; color: #C3C4DC; }
.envbar .track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.envbar .track i { display: block; height: 100%; border-radius: 3px; background: var(--eco-gold); width: 0; transition: width .7s var(--ease); }
.envbar b { font-family: var(--font-mono); font-size: .76rem; color: var(--eco-dim); text-align: right; font-variant-numeric: tabular-nums; }

.cl-list { display: flex; flex-wrap: wrap; gap: 7px; }
.cl-pill b { color: var(--eco-sel); font-weight: 500; font-family: var(--font-mono); font-size: .92em; }
.cl-pill {
  font-size: .8rem; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(129,135,212,.34); color: #C3C4DC;
  background: rgba(129,135,212,.08);
}
.cl-note { font-size: .82rem; color: var(--eco-dim); margin-top: 10px; line-height: 1.5; }
.cl-note em { color: var(--eco-sel); font-style: normal; font-family: var(--font-serif); }

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 14px; }
.door {
  border: 1px solid var(--eco-edge); border-radius: 12px; padding: 16px 18px;
  background: rgba(255,255,255,.03);
  display: flex; flex-direction: column; gap: 7px;
}
.door .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--eco-gold); }
.door .v { font-size: .92rem; color: var(--eco-ink); font-weight: 500; }
.door .s { font-size: .8rem; color: var(--eco-dim); line-height: 1.5; }

@media (max-width: 940px) {
  .adn-grid { grid-template-columns: 1fr; }
  .helix-wrap { min-height: 320px; }
}



/* ---------- Nubes de clúster: lo primero que ves al acercarte ---------- */
.o-cloud { position: relative; aspect-ratio: 1; }
.o-cloud i {
  position: absolute; width: 3.5%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(129,135,212,.85);
}
.o-cloud u {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(129,135,212,.22); text-decoration: none;
}
.o-cloud b {
  position: absolute; left: 50%; bottom: -1.9em; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .62em; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(129,135,212,.85); white-space: nowrap;
}

/* ---------- La persona ---------- */
.o-person {
  border-radius: 1.2em; padding: 1.6em 1.5em;
  background: linear-gradient(168deg, #171742, #0A0A22);
  border: 1px solid rgba(129,135,212,.4);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.16), 0 2.4em 5em -2.2em #000;
  display: flex; flex-direction: column; gap: .9em;
}
.o-person .who { display: flex; align-items: center; gap: .8em; }
.o-person .dot {
  width: 2.2em; aspect-ratio: 1; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, #F2FF49, #8187D4 62%, #2037E1);
}
.o-person .who b { font-family: var(--font-display); font-weight: 600; font-size: 1.05em; letter-spacing: -.02em; color: #F0F0F7; }
.o-person .who span { font-family: var(--font-mono); font-size: .58em; letter-spacing: .18em; text-transform: uppercase; color: #8386A8; display: block; }
.o-person .aff { display: flex; flex-direction: column; gap: .55em; }
.o-person .aff div { display: grid; grid-template-columns: 1fr auto; gap: .6em; align-items: center; }
.o-person .aff em { font-style: normal; font-size: .78em; color: #C3C4DC; }
.o-person .aff s { text-decoration: none; font-family: var(--font-mono); font-size: .78em; color: #F2FF49; font-variant-numeric: tabular-nums; }
.o-person .aff .tr { grid-column: 1 / -1; height: .28em; border-radius: .2em; background: rgba(255,255,255,.09); overflow: hidden; }
.o-person .aff .tr i { display: block; height: 100%; background: #8187D4; border-radius: .2em; }
.o-person .foot { font-family: var(--font-mono); font-size: .58em; letter-spacing: .14em; text-transform: uppercase; color: #70739A; border-top: 1px solid rgba(255,255,255,.1); padding-top: .8em; }

/* ---------- Las dos puertas del momento ---------- */
.o-moment {
  border-radius: 1.1em; padding: 1.4em 1.3em;
  background: linear-gradient(168deg, #151538, #0A0A22);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.14), 0 2em 4em -2em #000;
  display: flex; flex-direction: column; gap: .5em;
}
.o-moment .k { font-family: var(--font-mono); font-size: .62em; letter-spacing: .2em; text-transform: uppercase; color: #F2FF49; }
.o-moment .h { font-family: var(--font-display); font-weight: 600; font-size: 1.5em; letter-spacing: -.03em; color: #F0F0F7; font-variant-numeric: tabular-nums; }
.o-moment .e { font-size: .8em; color: #AFB1CE; line-height: 1.45; }

/* El claim respira más */
.cine-overlay .display { line-height: .98; }
.cine-overlay .claim-sub {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: #8187D4; letter-spacing: -.01em;
}


/* ---------- Personitas: el clúster deja de ser una nube y se vuelve gente ---------- */
.o-guy { display: grid; place-items: center; aspect-ratio: 1; }
.o-guy svg { width: 100%; height: auto; display: block; }
.o-guy .body { fill: rgba(129,135,212,.9); }

/* ---------- La hebra de ADN ---------- */
.o-adn { display: grid; place-items: center; }
.o-adn svg { width: 100%; height: auto; overflow: visible; }
.o-adn .strand { fill: none; stroke: #8187D4; stroke-width: 1.6; }
.o-adn .rung { stroke: rgba(129,135,212,.55); stroke-width: 1.4; }
.o-adn .rung.hot { stroke: #F2FF49; stroke-width: 2.2; }
.o-adn .node { fill: #8187D4; }
.o-adn .node.hot { fill: #F2FF49; }
.o-adn .cap {
  font-family: var(--font-mono); font-size: 5.4px; letter-spacing: 1.2px;
  fill: rgba(129,135,212,.85); text-transform: uppercase;
}
.o-adn .cap.hot { fill: #F2FF49; }

/* ---------- La ficha de perfil, final del recorrido ---------- */
.o-profile {
  border-radius: 1.1em; padding: 1.5em 1.4em;
  background: linear-gradient(168deg, #171742, #0A0A22);
  border: 1px solid rgba(129,135,212,.42);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.16), 0 2.6em 5em -2.2em #000;
  display: flex; flex-direction: column; gap: 1em;
}
.o-profile .who { display: flex; align-items: center; gap: .75em; }
.o-profile .dot {
  width: 2em; aspect-ratio: 1; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, #F2FF49, #8187D4 62%, #2037E1);
}
.o-profile .who b { font-family: var(--font-display); font-weight: 600; font-size: .95em; letter-spacing: -.02em; color: #F0F0F7; display: block; }
.o-profile .who span { font-family: var(--font-mono); font-size: .52em; letter-spacing: .18em; text-transform: uppercase; color: #8386A8; }
.o-profile .sec { border-top: 1px solid rgba(255,255,255,.12); padding-top: .75em; display: flex; flex-direction: column; gap: .5em; }
.o-profile .sec > .t { font-family: var(--font-mono); font-size: .5em; letter-spacing: .2em; text-transform: uppercase; color: #70739A; }
.o-profile .aff { display: grid; grid-template-columns: 1fr auto; gap: .3em .6em; align-items: center; }
.o-profile .aff em { font-style: normal; font-size: .72em; color: #C3C4DC; }
.o-profile .aff s { text-decoration: none; font-family: var(--font-mono); font-size: .72em; color: #F2FF49; font-variant-numeric: tabular-nums; }
.o-profile .aff .tr { grid-column: 1 / -1; height: .24em; border-radius: .2em; background: rgba(255,255,255,.09); overflow: hidden; margin-bottom: .3em; }
.o-profile .aff .tr i { display: block; height: 100%; background: #8187D4; }
.o-profile .two { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.o-profile .two div { border: 1px solid rgba(255,255,255,.14); border-radius: .55em; padding: .6em .65em; display: flex; flex-direction: column; gap: .2em; }
.o-profile .two u { text-decoration: none; font-family: var(--font-mono); font-size: .48em; letter-spacing: .16em; text-transform: uppercase; color: #F2FF49; }
.o-profile .two b { font-family: var(--font-display); font-weight: 600; font-size: .9em; color: #F0F0F7; font-variant-numeric: tabular-nums; }
.o-profile .two span { font-size: .6em; color: #AFB1CE; line-height: 1.35; }


/* ---------- El enjambre vive detrás de las capas de DOM ---------- */
#swarm { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* ---------- La hebra de ADN, rehecha con aire ---------- */
.o-adn { display: grid; place-items: center; }
.o-adn svg { width: 100%; height: auto; overflow: visible; }
.o-adn .strand { fill: none; stroke: #8187D4; stroke-width: 1.5; stroke-linecap: round; }
.o-adn .rung { stroke: rgba(129,135,212,.42); stroke-width: 1.1; }
.o-adn .rung.hot { stroke: #F2FF49; stroke-width: 1.8; }
.o-adn .node { fill: #8187D4; }
.o-adn .node.hot { fill: #F2FF49; }
.o-adn .lead { stroke: rgba(129,135,212,.28); stroke-width: .7; }
.o-adn .cap { font-family: var(--font-mono); font-size: 6.4px; letter-spacing: .9px; fill: rgba(200,203,235,.9); }
.o-adn .cap.hot { fill: #F2FF49; }
.o-adn .val { font-family: var(--font-mono); font-size: 6.4px; fill: rgba(129,135,212,.75); text-anchor: end; }
.o-adn .ttl { font-family: var(--font-mono); font-size: 7px; letter-spacing: 2.4px; fill: rgba(129,135,212,.75); text-anchor: middle; }

/* ---------- La ficha, con jerarquía de verdad ---------- */
.o-profile {
  border-radius: 1.1em; padding: 0;
  background: linear-gradient(168deg, #191948, #0A0A22 72%);
  border: 1px solid rgba(129,135,212,.42);
  box-shadow: inset 0 .06em 0 rgba(255,255,255,.18), 0 3em 6em -2.4em #000;
  overflow: hidden;
}
.o-profile .hd {
  display: flex; align-items: center; gap: .75em;
  padding: 1.15em 1.3em; border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
}
.o-profile .dot {
  width: 2.1em; aspect-ratio: 1; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 28%, #F2FF49, #8187D4 58%, #2037E1);
  box-shadow: 0 0 1.4em -.3em rgba(242,255,73,.55);
}
.o-profile .hd b { font-family: var(--font-display); font-weight: 600; font-size: 1em; letter-spacing: -.025em; color: #F0F0F7; display: block; }
.o-profile .hd span { font-family: var(--font-mono); font-size: .52em; letter-spacing: .2em; text-transform: uppercase; color: #8386A8; }
.o-profile .bd { padding: 1.2em 1.3em; display: flex; flex-direction: column; gap: 1.15em; }
.o-profile .t { font-family: var(--font-mono); font-size: .5em; letter-spacing: .22em; text-transform: uppercase; color: #70739A; display: block; margin-bottom: .6em; }
.o-profile .aff { display: grid; grid-template-columns: 1fr auto; gap: .18em .6em; align-items: baseline; }
.o-profile .aff em { font-style: normal; font-size: .74em; color: #D3D5E6; }
.o-profile .aff s { text-decoration: none; font-family: var(--font-mono); font-size: .74em; color: #F2FF49; font-variant-numeric: tabular-nums; }
.o-profile .aff .tr { grid-column: 1 / -1; height: .22em; border-radius: .2em; background: rgba(255,255,255,.1); overflow: hidden; margin: .1em 0 .55em; }
.o-profile .aff .tr i { display: block; height: 100%; background: linear-gradient(to right, #2037E1, #8187D4); }
.o-profile .two { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.o-profile .two div {
  border: 1px solid rgba(255,255,255,.13); border-radius: .6em; padding: .75em .8em;
  display: flex; flex-direction: column; gap: .25em; background: rgba(255,255,255,.025);
}
.o-profile .two u { text-decoration: none; font-family: var(--font-mono); font-size: .48em; letter-spacing: .18em; text-transform: uppercase; color: #F2FF49; }
.o-profile .two b { font-family: var(--font-display); font-weight: 600; font-size: 1.05em; color: #F0F0F7; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.o-profile .two span { font-size: .58em; color: #AFB1CE; line-height: 1.4; }

/* ---------- Portada: el key visual manda, el texto se apoya en oscuro ---------- */
.hero2 {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: #0A1533;              /* el azul del propio key visual */
}
.hero2-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;        /* deja la cabeza dentro */
  background: #0A1533;
  animation: kvIn 1.6s cubic-bezier(.19,1,.22,1) both;
}
/* En vertical la imagen cabe entera: el fondo continúa el suyo y no se corta nada. */
@media (max-aspect-ratio: 1/1) {
  .hero2-img { object-fit: contain; object-position: 50% 26%; }
}
@keyframes kvIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero2-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, #08081A 3%, rgba(8,8,26,.94) 24%, rgba(8,8,26,.55) 48%, transparent 72%),
    linear-gradient(to right, rgba(8,8,26,.88) 0%, rgba(8,8,26,.55) 30%, transparent 62%);
}
.hero2-inner {
  position: relative; z-index: 2; width: 100%;
  padding-block: 120px clamp(52px, 8vw, 96px);
  display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 22px);
  animation: heroUp 1.1s cubic-bezier(.19,1,.22,1) .35s both;
}
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero2-inner .display { font-size: clamp(2.4rem, 5.4vw, 4.8rem); letter-spacing: -.05em; }
.hero2-inner .label { color: #8187D4; }
.hero2-inner .display { color: #F0F0F7; }
.hero2-inner em.serif { color: #8187D4; }
.hero2-inner .claim-sub { color: #AFB1CE; }
.hero2-inner .btn-ghost { color: #F0F0F7; border-color: rgba(255,255,255,.24); }
@media (prefers-reduced-motion: reduce) { .hero2-img, .hero2-inner { animation: none; } }

/* ---------- El momento: la tercera coordenada ---------- */
.mom {
  --eco-edge: rgba(255,255,255,.11); --eco-ink: #F0F0F7; --eco-dim: #8386A8;
  --eco-gold: #8187D4; --eco-sel: #F2FF49;
  background: #06061A; color: var(--eco-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.mom::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: min(760px,80%); aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(129,135,212,.15), transparent 66%);
}
.mom > .wrap { padding-block: var(--section-y); position: relative; z-index: 1; }
.mom .label { color: var(--eco-gold); }
.mom-head { display: flex; flex-direction: column; gap: 16px; max-width: 56ch; margin-bottom: clamp(28px,3.6vw,46px); }
.mom-head p { color: #AFB1CE; font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.58; max-width: 60ch; }

/* La franja de 24 horas */
.rail24 { position: relative; margin-bottom: clamp(24px,3vw,38px); }
.rail24-hours {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: #6B6E92;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.rail24-band { position: relative; height: 230px; margin-top: 10px; }
.mband {
  position: absolute; height: 30px; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(129,135,212,.4);
  background: linear-gradient(170deg, rgba(129,135,212,.2), rgba(129,135,212,.07));
  display: flex; align-items: center; padding: 0 11px; gap: 9px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: #C3C4DC; white-space: nowrap; overflow: hidden;
  transition: border-color .3s ease, background .3s ease, color .3s ease, transform .3s var(--ease);
}
.mband:hover { transform: translateY(-2px); border-color: rgba(242,255,73,.6); color: var(--eco-ink); }
.mband[aria-pressed="true"] {
  background: var(--eco-sel); border-color: var(--eco-sel); color: #06061A; font-weight: 500;
}
.mband small { font-size: 9px; opacity: .72; letter-spacing: .1em; }
.mband-free {
  position: absolute; right: 0; bottom: 0;
  border-style: dashed;
}

.mom-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(20px,3vw,44px); align-items: start; }
.mom-sheet { display: flex; flex-direction: column; gap: 16px; }
.mom-sheet h3 { font-size: clamp(1.4rem,2.4vw,2rem); letter-spacing: -.035em; font-weight: 600; }
.mom-when { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--eco-sel); }
.mom-rows { display: flex; flex-direction: column; }
.mom-row {
  display: grid; grid-template-columns: 148px minmax(0,1fr); gap: 18px;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.mom-row .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--eco-dim); padding-top: 3px; }
.mom-row .v { font-size: .94rem; color: #C3C4DC; line-height: 1.55; }
.mom-row .v strong { color: var(--eco-ink); font-weight: 500; }
.mom-src { font-size: .8rem; color: #6B6E92; line-height: 1.5; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.mom-src b { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--eco-dim); display: block; margin-bottom: 5px; font-weight: 500; }

.mom-aside {
  border: 1px solid var(--eco-edge); border-radius: 16px; padding: 22px;
  background: rgba(255,255,255,.03);
  display: flex; flex-direction: column; gap: 14px;
}
.mom-aside .label { display: block; }
.mom-aside p { font-size: .9rem; color: #AFB1CE; line-height: 1.6; }
.mom-aside em { font-style: normal; font-family: var(--font-serif); color: var(--eco-sel); }
.tri { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; }
.tri div { background: #0B0B26; padding: 12px 14px; display: flex; gap: 12px; align-items: baseline; }
.tri span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--eco-gold); flex: none; width: 62px; }
.tri b { font-size: .88rem; font-weight: 500; color: var(--eco-ink); }

@media (max-width: 940px) {
  .mom-grid { grid-template-columns: 1fr; }
  .rail24-band { height: 300px; }
  .mband { font-size: 9px; }
}

/* ---------- Explorador de audiencias: sala oscura, siempre ---------- */
.exp {
  --eco-bg: #08081A; --eco-edge: rgba(255,255,255,.11);
  --eco-ink: #F0F0F7; --eco-dim: #8386A8; --eco-gold: #8187D4;
  --eco-sel: #F2FF49;
  background: var(--eco-bg); color: var(--eco-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.exp::before {
  content: ""; position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%);
  width: min(1200px,130%); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(32,55,225,.16) 0%, rgba(32,55,225,.05) 40%, transparent 70%);
}
.exp > .wrap { padding-block: var(--section-y); position: relative; z-index: 1; }
.exp .label { color: var(--eco-gold); }
.exp-head { display: flex; flex-direction: column; gap: 16px; max-width: 52ch; margin-bottom: clamp(24px, 3vw, 38px); }
.exp-head p { color: #AFB1CE; font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.58; max-width: 58ch; }

.exp-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.fchip {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  background: transparent; color: #9AA2B8;
  border: 1px solid var(--eco-edge);
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.fchip:hover { color: var(--eco-ink); border-color: rgba(129,135,212,.45); }
.fchip[aria-pressed="true"] { color: #08081A; background: var(--eco-sel); border-color: var(--eco-sel); }
.exp-hint { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--eco-dim); margin-left: auto; }

.exp-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(18px,2.4vw,32px); align-items: stretch; }
.exp-canvas-wrap {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--eco-edge);
  background: radial-gradient(120% 100% at 50% 40%, #070B18 0%, #050512 70%);
  min-height: 460px; aspect-ratio: 4 / 3;
  cursor: grab; touch-action: pan-y;
}
.exp-canvas-wrap.dragging { cursor: grabbing; }
.exp-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.axis-note {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; pointer-events: none;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #70739A; line-height: 1.7;
}
.axis-note b { color: var(--eco-gold); font-weight: 500; }

.exp-panel {
  border: 1px solid var(--eco-edge); border-radius: 18px;
  background: rgba(255,255,255,.028);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.exp-panel .pid { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--eco-gold); }
.exp-panel h3 { font-size: 1.32rem; letter-spacing: -.03em; font-weight: 600; }
.exp-panel .ptag { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: #AEB5C7; line-height: 1.4; }
.pmeta { display: flex; gap: 22px; padding-block: 12px; border-block: 1px solid rgba(255,255,255,.09); }
.pmeta div { display: flex; flex-direction: column; gap: 3px; }
.pmeta span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--eco-dim); }
.pmeta b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: .78rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--eco-edge); color: #C3C4DC;
}
.pmarks { display: flex; flex-direction: column; gap: 7px; }
.pmarks li { font-size: .85rem; color: #AFB1CE; display: flex; gap: 9px; align-items: baseline; }
.pmarks li::before { content: ""; flex: none; width: 4px; height: 4px; background: var(--eco-gold); transform: translateY(-2px); }
.porigen { font-size: .8rem; line-height: 1.55; color: #767E96; border-top: 1px solid rgba(255,255,255,.09); padding-top: 12px; margin-top: auto; }
.porigen b { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--eco-dim); margin-bottom: 5px; font-weight: 500; }
.pempty { color: #8386A8; font-size: .92rem; line-height: 1.6; }
.badge-real {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase;
  color: #08081A; background: var(--eco-gold); padding: 4px 10px; border-radius: 999px;
}

.exp-table { margin-top: 20px; }
.exp-table summary {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eco-dim); cursor: pointer; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.09);
  list-style: none;
}
.exp-table summary::-webkit-details-marker { display: none; }
.exp-table summary::before { content: "+ "; color: var(--eco-gold); }
.exp-table[open] summary::before { content: "− "; }
.exp-table summary:hover { color: var(--eco-ink); }
.exp-table .scroller { overflow-x: auto; }
.exp-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.exp-table th {
  text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 9.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--eco-dim);
  padding: 10px 16px 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); white-space: nowrap;
}
.exp-table td { padding: 11px 16px 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .85rem; color: #AFB1CE; }
.exp-table td:first-child { color: var(--eco-ink); font-weight: 500; }

@media (max-width: 940px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-canvas-wrap { aspect-ratio: 1 / 1; min-height: 340px; }
  .exp-hint { margin-left: 0; width: 100%; }
}

/* ---------- Un día en el índice: collage de entornos ---------- */
.day {
  --eco-bg: #08081A; --eco-edge: rgba(255,255,255,.11);
  --eco-ink: #F0F0F7; --eco-dim: #8386A8; --eco-gold: #8187D4;
  --sw: 1000px;
  background: var(--eco-bg); color: var(--eco-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.day::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 22% 18%, rgba(32,55,225,.16), transparent 60%),
              radial-gradient(70% 60% at 82% 78%, rgba(129,135,212,.10), transparent 62%);
}
.day > .wrap { padding-block: var(--section-y); position: relative; z-index: 1; }
.day .label { color: var(--eco-gold); }
.day-head { display: flex; flex-direction: column; gap: 16px; max-width: 50ch; margin-bottom: clamp(28px, 4vw, 48px); }
.day-head p { color: #AFB1CE; font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.58; max-width: 56ch; }

.day-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.card {
  position: absolute;
  border-radius: calc(var(--sw) * .014);
  background: #0A0E1C;
  border: 1px solid var(--eco-edge);
  box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
  will-change: transform;
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { border-color: rgba(129,135,212,.5); box-shadow: 0 40px 80px -36px #000, 0 0 40px -10px rgba(32,55,225,.5); }
.card .stamp {
  position: absolute; left: calc(var(--sw) * .008); bottom: calc(var(--sw) * .008);
  z-index: 3;
  font-family: var(--font-mono); font-size: calc(var(--sw) * .0088);
  letter-spacing: .12em; text-transform: uppercase;
  color: #0A0E1C; background: var(--eco-gold);
  padding: calc(var(--sw) * .004) calc(var(--sw) * .008);
  border-radius: 999px; white-space: nowrap;
}

/* --- TV --- */
.c-tv { left: 28%; top: 2%; width: 46%; aspect-ratio: 16 / 10; padding: calc(var(--sw) * .009); }
.tv-hero {
  height: 58%; border-radius: calc(var(--sw) * .008);
  background: linear-gradient(118deg, #1B2A6B 0%, #38246B 48%, #0D1330 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: calc(var(--sw) * .011);
}
.tv-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,20,.88), transparent 62%);
}
.tv-hero div { position: relative; z-index: 1; }
.tv-kicker { font-family: var(--font-mono); font-size: calc(var(--sw) * .0085); letter-spacing: .16em; text-transform: uppercase; color: var(--eco-gold); }
.tv-title { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--sw) * .019); letter-spacing: -.03em; margin-top: calc(var(--sw) * .003); }
.tv-adslot {
  position: absolute; right: calc(var(--sw) * .011); top: calc(var(--sw) * .011); z-index: 2;
  font-family: var(--font-mono); font-size: calc(var(--sw) * .0082); letter-spacing: .1em;
  color: #0A0E1C; background: var(--eco-gold); padding: 2px calc(var(--sw) * .006); border-radius: 3px;
}
.tv-row { display: flex; align-items: center; gap: calc(var(--sw) * .008); margin-top: calc(var(--sw) * .009); }
.tv-app {
  flex: 1; aspect-ratio: 16 / 10; border-radius: calc(var(--sw) * .005);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center; padding: calc(var(--sw) * .006);
}
.tv-app svg { max-width: 70%; max-height: 58%; width: auto; }
.tv-meta {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: calc(var(--sw) * .008);
  font-family: var(--font-mono); font-size: calc(var(--sw) * .0085); color: var(--eco-dim);
  letter-spacing: .08em; text-transform: uppercase;
}

/* --- teléfonos --- */
.phone { width: 13.5%; aspect-ratio: 9 / 18.5; padding: calc(var(--sw) * .006); }
.phone::before {
  content: ""; position: absolute; left: 50%; top: calc(var(--sw) * .006);
  transform: translateX(-50%); width: 26%; height: calc(var(--sw) * .0055);
  background: rgba(255,255,255,.16); border-radius: 999px;
}
.ph-body { height: 100%; padding-top: calc(var(--sw) * .018); display: flex; flex-direction: column; gap: calc(var(--sw) * .007); }
.ph-head { display: flex; align-items: center; gap: calc(var(--sw) * .005); }
.ph-head svg { width: calc(var(--sw) * .014); height: auto; }
.ph-head b { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--sw) * .0092); letter-spacing: -.02em; }
.ph-art {
  width: 100%; aspect-ratio: 1; border-radius: calc(var(--sw) * .006);
  background: conic-gradient(from 210deg at 32% 28%, #1DB954 0deg, #0E6E38 120deg, #12224A 260deg, #1DB954 360deg);
}
.ph-t { font-size: calc(var(--sw) * .0092); font-weight: 600; letter-spacing: -.01em; }
.ph-s { font-family: var(--font-mono); font-size: calc(var(--sw) * .008); color: var(--eco-dim); letter-spacing: .05em; }
.wave { display: flex; align-items: flex-end; gap: calc(var(--sw) * .0022); height: calc(var(--sw) * .022); }
.wave i { flex: 1; background: rgba(129,135,212,.55); border-radius: 1px; }
.ph-rows { display: flex; flex-direction: column; gap: calc(var(--sw) * .005); margin-top: auto; }
.ph-row { display: flex; align-items: center; gap: calc(var(--sw) * .005); }
.ph-row span { flex: none; width: calc(var(--sw) * .014); aspect-ratio: 1; border-radius: calc(var(--sw) * .003); background: rgba(255,255,255,.08); }
.ph-row em { font-style: normal; font-size: calc(var(--sw) * .0082); color: #C3C4DC; }

.c-audio { left: 4%; top: 20%; }
.c-mob { left: 82.5%; top: 15%; }

.map { width: 100%; aspect-ratio: 1 / 1.05; border-radius: calc(var(--sw) * .006); overflow: hidden; background: #0B1122; }
.map svg { width: 100%; height: 100%; display: block; }
.fare {
  display: flex; align-items: center; justify-content: space-between; gap: calc(var(--sw) * .005);
  padding: calc(var(--sw) * .006) calc(var(--sw) * .007);
  border-radius: calc(var(--sw) * .005); background: rgba(255,255,255,.06);
}
.fare b { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--sw) * .011); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fare svg { width: calc(var(--sw) * .022); height: auto; }

/* --- delivery + display --- */
.c-del { left: 20%; top: 66%; width: 20%; padding: calc(var(--sw) * .01); }
.c-ad  { left: 58%; top: 66%; width: 23%; padding: calc(var(--sw) * .01); }
.mini-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: calc(var(--sw) * .008); }
.mini-h b { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--sw) * .0115); letter-spacing: -.025em; }
.mini-h i { font-style: normal; font-family: var(--font-mono); font-size: calc(var(--sw) * .008); color: var(--eco-dim); letter-spacing: .1em; }
.basket { display: flex; flex-direction: column; gap: calc(var(--sw) * .005); }
.basket div {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: calc(var(--sw) * .0088); color: #C3C4DC;
  padding-bottom: calc(var(--sw) * .005); border-bottom: 1px solid rgba(255,255,255,.07);
  font-variant-numeric: tabular-nums;
}
.basket div:last-child { border-bottom: 0; }
.basket .spon { color: var(--eco-gold); }

.ad-unit { display: flex; gap: calc(var(--sw) * .008); align-items: flex-start; }
.ad-thumb {
  flex: none; width: 33%; aspect-ratio: 4 / 3; border-radius: calc(var(--sw) * .005);
  background: linear-gradient(140deg, #2B4A8F, #6E4B9E 60%, #16203E);
}
.ad-copy { display: flex; flex-direction: column; gap: calc(var(--sw) * .004); }
.ad-copy b { font-size: calc(var(--sw) * .0098); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.ad-copy span { font-family: var(--font-mono); font-size: calc(var(--sw) * .0078); color: var(--eco-dim); letter-spacing: .08em; }
.ad-badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: calc(var(--sw) * .0072);
  letter-spacing: .1em; color: #0A0E1C; background: #8E97AD;
  padding: 1px calc(var(--sw) * .005); border-radius: 2px;
}

/* --- línea de tiempo --- */
.timeline { margin-top: clamp(26px, 3.5vw, 44px); border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.timeline ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 14px 20px; }
.timeline li { display: flex; flex-direction: column; gap: 4px; position: relative; padding-top: 14px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: calc(100% - 20px); height: 1px;
  background: linear-gradient(to right, var(--eco-gold), rgba(129,135,212,.12));
}
.timeline b { font-family: var(--font-display); font-weight: 600; font-size: .96rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.timeline span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--eco-dim); }

@media (max-width: 860px) {
  .day-stage { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; --sw: 620px; }
  .card { position: static; width: auto; }
  .c-tv { grid-column: 1 / -1; }
  .phone { aspect-ratio: 9 / 16; }
}
@media (prefers-reduced-motion: reduce) { .card { transform: none !important; } }

/* ---------- Ecosistema: sala oscura, siempre ---------- */
.eco {
  --eco-bg: #08081A;
  --eco-tile: rgba(255,255,255,.045);
  --eco-edge: rgba(255,255,255,.11);
  --eco-wire: rgba(129,135,212,.30);
  --eco-glow: #2F49F5;
  --eco-ink: #F0F0F7;
  --eco-dim: #8386A8;
  --eco-gold: #8187D4;
  background: var(--eco-bg);
  color: var(--eco-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.eco::before {
  content: ""; position: absolute; left: 50%; top: 52%;
  width: min(1100px, 120%); aspect-ratio: 1; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(32,55,225,.20) 0%, rgba(32,55,225,.06) 38%, transparent 68%);
  pointer-events: none;
}
.eco > .wrap { padding-block: var(--section-y); position: relative; z-index: 1; }
.eco-head { display: flex; flex-direction: column; gap: 16px; max-width: 48ch; margin-bottom: clamp(30px, 4vw, 52px); }
.eco .label { color: var(--eco-gold); }
.eco-head h2 { color: var(--eco-ink); }
.eco-head p { color: #AFB1CE; font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.58; max-width: 56ch; }

.const-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 380px; }
.const-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.const-wires .wire { fill: none; stroke: var(--eco-wire); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.const-wires .pulse {
  fill: none; stroke: #F2FF49; stroke-width: 1.6; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(57,67,183,.9));
  stroke-dasharray: 5 999;
}
.const-wires .joint { fill: #F2FF49; opacity: .55; }

.tile {
  position: absolute; transform: translate(-50%, -50%);
  width: var(--tile); height: var(--tile);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  border-radius: 18px;
  background: var(--eco-tile);
  border: 1px solid var(--eco-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 40px -30px rgba(0,0,0,.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .7s var(--ease) var(--d, 0ms), border-color .4s var(--ease),
              box-shadow .4s var(--ease), transform .4s var(--ease);
}
.const-stage.in .tile { opacity: 1; }
.tile:hover {
  border-color: rgba(129,135,212,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 34px -6px rgba(32,55,225,.55);
  transform: translate(-50%, -50%) scale(1.05);
}
.tile svg { width: auto; max-width: 62%; max-height: 34%; }
.tile .mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(.82rem, 1.2vw, 1.05rem); letter-spacing: -.035em;
  color: #FFFFFF; text-align: center; line-height: 1.08;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
/* Filete corto bajo el nombre: le da el peso óptico que tiene un logotipo. */
.tile .mark::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--eco-gold); opacity: .85;
}
.tile .fam {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--eco-dim);
}

.core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(124px, 14vw, 172px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  /* La variación circular del logo: degradado de Palatinate a Federal. */
  background: linear-gradient(100deg, #2B3CEA 0%, #2037E1 20%, #1A1A8C 58%, #0E0E52 100%);
  border: 1px solid rgba(8, 8, 26, .85);
  box-shadow: 0 0 70px -8px rgba(32,55,225,.6), inset 0 1px 0 rgba(255,255,255,.2);
  z-index: 2;
}
.core .badge {
  font-family: var(--font-display); font-weight: 700; color: #FFFFFF;
  font-size: clamp(1.32rem, 2.1vw, 1.85rem); line-height: .93;
  letter-spacing: -.045em; text-align: left;
}
.core::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1px solid rgba(129,135,212,.16);
  animation: halo 4.5s ease-in-out infinite;
}
@keyframes halo { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.035); } }

.eco-foot {
  margin-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}
.eco-foot .label { flex: none; }
.buychips { display: flex; flex-wrap: wrap; gap: 8px; }
.buychip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--eco-edge); background: rgba(255,255,255,.03);
  font-size: .82rem; color: #C6CBDA;
  transition: border-color .3s ease, background .3s ease;
}
.buychip:hover { border-color: rgba(129,135,212,.5); background: rgba(255,255,255,.06); }
.buychip svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .const-stage { aspect-ratio: auto; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .const-wires { display: none; }
  .tile { position: static; transform: none; width: auto; aspect-ratio: 1; height: auto; }
  .tile:hover { transform: none; }
  .core {
    position: static; transform: none;            /* si no, arrastra el translate y se sale */
    grid-column: 1 / -1; order: -1;
    width: 132px; aspect-ratio: 1; border-radius: 50%;
    margin: 0 auto 14px;
  }
  .core::after { inset: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile { opacity: 1; transition: none; }
  .core::after { animation: none; }
  .const-wires .pulse { display: none; }
}


/* ---------- Estado cero del producto ---------- */
.win-state {
  margin-left: auto; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4);
  display: inline-flex; align-items: center; gap: 7px;
}
.win-state::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-4); flex: none;
}
.brief {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.brief-field {
  display: flex; align-items: center; gap: 2px;
  padding: 12px 14px; border-radius: 6px;
  background: var(--raised); border: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--ink-4); min-height: 44px;
}
.caret {
  display: inline-block; width: 1px; height: 15px; background: var(--champagne);
  animation: blink 1.15s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tbl tr.skel td { color: var(--ink-4); }
.tbl tr.skel .bar i { background: var(--line-soft); }
.tbl .dash { font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.zero-note {
  margin-top: 16px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4);
}

/* ---------- Remates de portada ---------- */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: 0 50%;
  opacity: .8;
}
.hero-inner, #field { will-change: opacity, transform; }
.stamp-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-4);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 5px 12px;
}
.stamp-live i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--champagne);
  animation: beat 2.6s ease-in-out infinite;
}
@keyframes beat { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Grano: una textura mínima para que las superficies grandes no queden planas */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .caret, .stamp-live i { animation: none; }
}

.cultura > .label, .sedes > .label { display: block; margin-bottom: 12px; }
.cultura ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cultura li {
  font-size: .88rem; color: var(--ink-2); padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--champagne-3);
}
.sedes ol {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0;
  border-top: 1px solid var(--line);
}
.sedes li {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--ink);
  padding: 18px 18px 18px 0; border-right: 1px solid var(--line-soft);
}
.sedes li:last-child { border-right: 0; }

.verif { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 26px; }
.verif > .label { display: block; margin-bottom: 16px; }
.verif ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line-soft);
  border: 1px solid var(--line-soft); }
@media (min-width: 1000px) { .verif ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .verif ol { grid-template-columns: 1fr; } }
.verif li { background: var(--surface); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; counter-increment: v; }
.verif li::before {
  content: counter(v, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--champagne);
}
.verif ol { counter-reset: v; }
.verif b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.015em; }
.verif span { font-size: .87rem; color: var(--ink-3); line-height: 1.55; }

/* ---------- Key visuals ---------- */
.kv {
  margin: 0; display: flex; flex-direction: column; gap: 14px;
  padding-block: clamp(14px, 2.2vw, 30px);
}
.kv img {
  width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.kv figcaption {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-4);
}

/* ---------- Revelado ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .spec { grid-template-columns: 1fr; gap: 20px; }
  .spec-aside .label { position: static; }
  .offer { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .scrolly-grid { grid-template-columns: 1fr; }
  .sticky-stage { height: 62svh; order: -1; }
  .stage-inner { height: 100%; }
  .step, .step.on { min-height: 0; padding-block: 46px; opacity: 1; }
  .chipcard { position: static; width: 100%; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .hero-fade { opacity: 1; transform: none; }
  .rl > span { transform: none; }
  .step { opacity: 1; }
  .principle blockquote w { opacity: 1; }
  .marquee-track { animation: none; }
}


.cls-1{fill:#e50914}

 .st0{fill:#01147B;} .st1{fill:url(#disney_SVGID_1_);} 

/* WordPress integration */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* v1.0.4 — identidad de marca: logo real en cabecera */
.brand img {
  height: 24px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}
@media (max-width: 940px) {
  .brand img {
    height: 21px;
    max-width: 146px;
  }
}
.footer img {
  height: 18px;
  width: auto;
}

/* ============================================================
   Tema claro real — v1.0.6
   La primera implementación cambiaba las variables globales, pero la portada,
   ADN y Ecosistema conservaban una paleta oscura fija. Estas reglas hacen que
   el selector claro/oscuro afecte de forma visible a toda la landing sin
   perder contraste sobre el key visual.
   ============================================================ */

/* Cabecera clara también cuando está encima de una sección que antes se
   consideraba siempre oscura. */
:root[data-theme="light"] .nav,
:root[data-theme="light"] .nav.on-dark {
  background: rgba(246, 246, 251, .86);
  border-bottom-color: rgba(14, 14, 82, .10);
  box-shadow: 0 10px 34px -28px rgba(14, 14, 82, .35);
}
:root[data-theme="light"] .nav.on-dark .nav-links a,
:root[data-theme="light"] .nav-links a { color: #5B5F90; }
:root[data-theme="light"] .nav.on-dark .nav-links a:hover,
:root[data-theme="light"] .nav-links a:hover { color: #0E0E52; }
:root[data-theme="light"] .nav.on-dark .theme-btn,
:root[data-theme="light"] .theme-btn {
  color: #3E4272;
  border-color: rgba(57, 67, 183, .24);
  background: rgba(255,255,255,.55);
}
:root[data-theme="light"] .nav.on-dark .brand img,
:root[data-theme="light"] .brand img { filter: invert(1); }

/* Portada: conserva la fotografía, pero cambia claramente la atmósfera y el
   contraste tipográfico. */
:root[data-theme="light"] .hero2 { background: #E8EAF5; }
:root[data-theme="light"] .hero2-img {
  opacity: .74;
  filter: brightness(1.16) saturate(.78) contrast(.86);
}
:root[data-theme="light"] .hero2-veil {
  background:
    linear-gradient(to top,
      rgba(246,246,251,.99) 2%,
      rgba(246,246,251,.94) 24%,
      rgba(246,246,251,.70) 46%,
      rgba(246,246,251,.18) 72%,
      transparent 88%),
    linear-gradient(to right,
      rgba(246,246,251,.96) 0%,
      rgba(246,246,251,.78) 31%,
      rgba(246,246,251,.34) 53%,
      rgba(246,246,251,.04) 74%,
      transparent 88%);
}
:root[data-theme="light"] .hero2-inner .display { color: #0E0E52; }
:root[data-theme="light"] .hero2-inner .label,
:root[data-theme="light"] .hero2-inner em.serif { color: #3943B7; }
:root[data-theme="light"] .hero2-inner .claim-sub { color: #3E4272; }
:root[data-theme="light"] .hero2-inner .btn-ghost {
  color: #0E0E52;
  border-color: rgba(14,14,82,.25);
  background: rgba(255,255,255,.32);
}
:root[data-theme="light"] .hero2-inner .btn-ghost:hover {
  border-color: #4A4FA8;
  background: rgba(74,79,168,.08);
}

/* ADN — deja de ser una sala oscura fija en modo claro. */
:root[data-theme="light"] .adn {
  --eco-edge: rgba(14,14,82,.13);
  --eco-ink: #0E0E52;
  --eco-dim: #5B5F90;
  --eco-gold: #4A4FA8;
  --eco-sel: #2037E1;
  background: #F6F6FB;
  color: var(--eco-ink);
  border-top-color: rgba(14,14,82,.10);
}
:root[data-theme="light"] .adn::before {
  background: radial-gradient(circle, rgba(32,55,225,.11), transparent 66%);
}
:root[data-theme="light"] .adn-head p,
:root[data-theme="light"] .adn-sheet .desc { color: #3E4272; }
:root[data-theme="light"] .tchip { color: #5B5F90; }
:root[data-theme="light"] .tchip:hover { color: #0E0E52; }
:root[data-theme="light"] .tchip[aria-pressed="true"] {
  color: #FFFFFF;
  background: #2037E1;
  border-color: #2037E1;
}
:root[data-theme="light"] .helix-wrap {
  background: linear-gradient(170deg, #FFFFFF, #ECEEF8);
  box-shadow: 0 28px 60px -46px rgba(14,14,82,.38);
}
:root[data-theme="light"] .helix-wrap .hl { color: #5B5F90; }
:root[data-theme="light"] .adn-block { border-top-color: rgba(14,14,82,.11); }
:root[data-theme="light"] .envbar span,
:root[data-theme="light"] .cl-pill { color: #3E4272; }
:root[data-theme="light"] .envbar .track { background: rgba(14,14,82,.09); }
:root[data-theme="light"] .cl-pill {
  background: rgba(74,79,168,.07);
  border-color: rgba(74,79,168,.24);
}
:root[data-theme="light"] .cl-pill b,
:root[data-theme="light"] .cl-note em { color: #2037E1; }
:root[data-theme="light"] .door {
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 42px -38px rgba(14,14,82,.35);
}

/* Ecosistema — claro de verdad, manteniendo el núcleo azul como elemento de
   marca y los logos de plataforma con su color original. */
:root[data-theme="light"] .eco {
  --eco-bg: #F1F2F9;
  --eco-tile: rgba(255,255,255,.82);
  --eco-edge: rgba(14,14,82,.13);
  --eco-wire: rgba(57,67,183,.28);
  --eco-ink: #0E0E52;
  --eco-dim: #5B5F90;
  --eco-gold: #4A4FA8;
  background: var(--eco-bg);
  color: var(--eco-ink);
  border-top-color: rgba(14,14,82,.10);
}
:root[data-theme="light"] .eco::before {
  background: radial-gradient(circle, rgba(32,55,225,.10) 0%, rgba(32,55,225,.035) 38%, transparent 68%);
}
:root[data-theme="light"] .eco-head p { color: #3E4272; }
:root[data-theme="light"] .tile {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 48px -38px rgba(14,14,82,.34);
}
:root[data-theme="light"] .tile:hover {
  border-color: rgba(57,67,183,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 18px 44px -30px rgba(32,55,225,.34);
}
:root[data-theme="light"] .tile .mark { color: #0E0E52; }
:root[data-theme="light"] .const-wires .pulse {
  stroke: #2037E1;
  filter: drop-shadow(0 0 3px rgba(32,55,225,.35));
}
:root[data-theme="light"] .const-wires .joint { fill: #2037E1; }
:root[data-theme="light"] .eco-foot { border-top-color: rgba(14,14,82,.10); }
:root[data-theme="light"] .buychip {
  background: rgba(255,255,255,.64);
  color: #3E4272;
}
:root[data-theme="light"] .buychip:hover {
  background: #FFFFFF;
  border-color: rgba(57,67,183,.36);
}

/* La transición incluye imagen/velos y las salas que tenían colores fijos. */
.hero2, .hero2-img, .hero2-veil, .hero2-inner .display, .hero2-inner .claim-sub,
.adn, .adn::before, .helix-wrap, .door,
.eco, .eco::before, .tile, .buychip {
  transition: background .38s ease, background-color .38s ease, color .38s ease,
              border-color .38s ease, box-shadow .38s ease, filter .38s ease, opacity .38s ease;
}


/* ==========================================================
   ADS ON FIRE - capacidad creativa integrada en Home
   ========================================================== */
.aof {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 520px at 82% 44%, rgba(255,77,35,.10), transparent 68%),
    radial-gradient(680px 420px at 70% 18%, rgba(255,193,38,.055), transparent 72%),
    var(--ground);
}
.aof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 52%, rgba(255,255,255,.018) 52% 67%, transparent 67%);
}
.aof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  padding-block: var(--section-y);
}
.aof-copy { min-width: 0; }
.aof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.aof-flame { display: inline-grid; place-items: center; flex: none; }
.aof-flame svg { display:block; width:100%; height:100%; overflow:visible; }
.aof-flame--eyebrow { width: 19px; height: 24px; }
.aof-flame-outer { fill: #FF4D23; }
.aof-flame-inner { fill: #FFD335; }
.aof-title { max-width: 12.5ch; margin-bottom: 24px; }
.aof-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--champagne);
}
.aof-lead {
  max-width: 58ch;
  color: var(--ink-3);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.65;
  margin-bottom: 28px;
}
.aof-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.aof-cap {
  min-height: 132px;
  padding: 17px 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.aof-cap:hover { transform: translateY(-3px); border-color: var(--line); background: var(--glass); }
.aof-cap-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(255,91,46,.32);
  background: rgba(255,91,46,.075);
  color: #FF7047;
}
.aof-cap-icon svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.aof-cap:first-child .aof-cap-icon svg { fill:currentColor; stroke:none; }
.aof-cap b { display:block; margin-bottom:7px; color:var(--ink); font-size:.82rem; font-weight:600; }
.aof-cap p { margin:0; color:var(--ink-4); font-size:.76rem; line-height:1.45; }
.aof-proof {
  margin: 0 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.aof-proof span { color:#FF7047; margin-inline:6px; }
.aof-actions { display:flex; }
.aof-actions .btn-primary { display:inline-flex; align-items:center; gap:20px; }

.aof-visual {
  min-width: 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  grid-template-rows: 1.02fr .98fr;
  gap: 9px;
  padding: 9px;
  min-height: 570px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 34px 80px -58px rgba(0,0,0,.7), inset 0 1px rgba(255,255,255,.035);
}
.aof-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 17px;
  background: #11152E;
}
.aof-card--app { grid-column:1; grid-row:1; }
.aof-card--ctv { grid-column:2; grid-row:1; }
.aof-card--gym { grid-column:1; grid-row:2; }
.aof-card--audio { grid-column:2; grid-row:2; }
.aof-env-label {
  position:absolute;
  z-index:8;
  left:13px;
  top:12px;
  display:flex;
  flex-direction:column;
  gap:1px;
  color:#fff;
  text-shadow:0 1px 8px rgba(0,0,0,.35);
}
.aof-env-label b { font:500 9px/1.2 var(--font-mono); letter-spacing:.13em; }
.aof-env-label span { font:400 8px/1.2 var(--font-mono); opacity:.55; }
.aof-phone {
  position:absolute;
  width:58%;
  height:77%;
  right:8%;
  bottom:-4%;
  border:5px solid #050611;
  border-radius:25px 25px 17px 17px;
  background:linear-gradient(180deg,#E7E8EF,#C8CCDB);
  box-shadow:0 22px 38px -18px rgba(0,0,0,.8);
  transform:rotate(-4deg);
  overflow:hidden;
}
.aof-phone::before { content:""; position:absolute; top:5px; left:50%; width:38%; height:10px; border-radius:999px; background:#050611; transform:translateX(-50%); z-index:3; }
.aof-phone-bar { height:28px; padding:8px 9px 0; display:flex; justify-content:space-between; color:#0E0E52; font:600 6px/1 var(--font-mono); }
.aof-phone-bar i { width:18px; height:5px; border-radius:999px; background:#0E0E52; opacity:.55; }
.aof-ad { position:absolute; overflow:hidden; }
.aof-ad--app {
  inset:34px 7px 7px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  border-radius:14px;
  color:#fff;
  background:
    linear-gradient(180deg,transparent 25%,rgba(5,6,20,.88)),
    radial-gradient(circle at 68% 23%,#F9B45D 0 7%,transparent 8%),
    linear-gradient(135deg,#767CC8,#243B84 46%,#161735);
}
.aof-ad--app::before { content:""; position:absolute; width:95px; height:95px; border-radius:50%; right:-31px; top:20px; background:rgba(255,255,255,.12); box-shadow:-72px 44px 0 -14px rgba(255,255,255,.08); }
.aof-ad--app small { position:relative; z-index:2; font-size:6px; opacity:.75; }
.aof-ad--app strong { position:relative; z-index:2; font-size:10px; line-height:1.05; max-width:80%; }
.aof-mini-cta { position:relative; z-index:2; display:inline-flex; align-self:flex-start; margin-top:8px; padding:5px 7px; border-radius:999px; background:#fff; color:#11152E; font:600 5px/1 var(--font-mono); }
.aof-flame--badge { position:absolute; z-index:6; width:14px; height:18px; top:12px; left:12px; filter:drop-shadow(0 3px 5px rgba(0,0,0,.24)); }

.aof-screen { position:absolute; inset:0; background:#13172E; }
.aof-scenery { position:absolute; inset:0; overflow:hidden; background:linear-gradient(180deg,#7D97B5 0%,#DBA477 49%,#29344A 50%,#15192A 100%); }
.aof-sun { position:absolute; width:48px; height:48px; border-radius:50%; right:18%; top:21%; background:#FFD79B; box-shadow:0 0 38px rgba(255,190,112,.38); }
.aof-mountain { position:absolute; bottom:-20%; width:88%; height:70%; background:#26354A; clip-path:polygon(0 100%,12% 57%,24% 74%,42% 30%,59% 69%,72% 44%,100% 100%); }
.aof-mountain--one { left:-15%; opacity:.92; }
.aof-mountain--two { right:-26%; bottom:-31%; background:#131C2B; transform:scale(1.08); }
.aof-ad--ctv { inset:auto 14px 15px 14px; padding:15px; border-radius:13px; background:linear-gradient(90deg,rgba(4,6,20,.93),rgba(4,6,20,.60),rgba(4,6,20,.18)); color:#fff; }
.aof-ad--ctv .aof-flame--badge { top:12px; left:auto; right:12px; }
.aof-ad--ctv strong { display:block; font:500 clamp(12px,1.22vw,17px)/1.03 var(--font-sans); letter-spacing:-.02em; }
.aof-ad--ctv .aof-mini-cta { margin-top:9px; }

.aof-gym-scene { position:absolute; inset:0; overflow:hidden; background:linear-gradient(180deg,#777F8B,#202638 76%); }
.aof-gym-scene::before { content:""; position:absolute; inset:18% 0 0; background:repeating-linear-gradient(90deg,transparent 0 18%,rgba(255,255,255,.06) 18.5% 19%,transparent 19.5% 36%); }
.aof-gym-scene > i { position:absolute; bottom:5%; width:13%; height:32%; border-radius:40% 40% 15% 15%; background:#0F1424; box-shadow:0 -18px 0 -5px #0F1424; opacity:.78; }
.aof-gym-scene > i:nth-child(1) { left:8%; height:27%; }
.aof-gym-scene > i:nth-child(2) { right:11%; height:35%; }
.aof-gym-scene > i:nth-child(3) { left:30%; height:22%; }
.aof-poster { position:absolute; width:39%; height:65%; left:50%; top:25%; transform:translateX(-50%); display:flex; flex-direction:column; justify-content:flex-end; padding:12px 10px; border:3px solid #13182A; border-radius:4px; background:linear-gradient(170deg,#3943B7,#141742 62%,#090A18); color:#fff; box-shadow:0 16px 24px -13px rgba(0,0,0,.8); }
.aof-poster::before { content:""; position:absolute; inset:0; background:linear-gradient(150deg,transparent 43%,rgba(255,255,255,.1) 43.5% 44%,transparent 44.5%); }
.aof-poster .aof-flame--badge { top:12px; left:50%; transform:translateX(-50%); }
.aof-poster strong { position:relative; font:700 clamp(8px,.82vw,12px)/.95 var(--font-sans); letter-spacing:.02em; }
.aof-poster small { position:relative; margin-top:5px; font:500 clamp(5px,.5vw,7px)/1.05 var(--font-mono); opacity:.72; }

.aof-audio-player { position:absolute; inset:0; padding:48px 18px 16px; display:grid; grid-template-columns:44% 1fr; grid-template-rows:1fr auto auto; gap:10px 15px; background:radial-gradient(circle at 80% 12%,rgba(57,67,183,.34),transparent 42%),linear-gradient(145deg,#111A30,#080A16); }
.aof-cover { grid-row:1/4; position:relative; border-radius:12px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:13px; background:radial-gradient(circle at 70% 23%,rgba(255,180,70,.9) 0 6%,transparent 6.5%),linear-gradient(145deg,#D23C3C,#5A1F55 45%,#121734); color:#fff; box-shadow:0 14px 26px -18px #000; }
.aof-cover::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 22% 22%,rgba(255,255,255,.2),transparent 30%); }
.aof-cover .aof-flame--badge { top:12px; left:12px; }
.aof-cover strong { position:relative; z-index:2; font:500 clamp(9px,.92vw,13px)/1.03 var(--font-sans); }
.aof-track { align-self:end; height:3px; border-radius:999px; background:rgba(255,255,255,.15); overflow:hidden; }
.aof-track span { display:block; width:62%; height:100%; border-radius:inherit; background:#FF7047; }
.aof-controls { display:flex; align-items:center; justify-content:center; gap:13px; color:#fff; font-size:8px; }
.aof-controls b { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#11152E; font-size:9px; padding-left:2px; }
.aof-controls i { font-style:normal; opacity:.55; }

.aof-visual.in .aof-flame--badge,
.aof-eyebrow.in .aof-flame--eyebrow { animation:aofFlame .8s var(--ease) both; }
.aof-visual.in .aof-card:nth-child(2) .aof-flame--badge { animation-delay:.12s; }
.aof-visual.in .aof-card:nth-child(3) .aof-flame--badge { animation-delay:.20s; }
.aof-visual.in .aof-card:nth-child(4) .aof-flame--badge { animation-delay:.28s; }
@keyframes aofFlame { 0%{opacity:0;transform:translateY(8px) scale(.72) rotate(-7deg)} 58%{opacity:1;transform:translateY(-2px) scale(1.08) rotate(3deg)} 100%{opacity:1;transform:none} }
.aof-poster .aof-flame--badge { transform:translateX(-50%); }
.aof-visual.in .aof-poster .aof-flame--badge { animation-name:aofFlamePoster; }
@keyframes aofFlamePoster { 0%{opacity:0;transform:translateX(-50%) translateY(8px) scale(.72) rotate(-7deg)} 58%{opacity:1;transform:translateX(-50%) translateY(-2px) scale(1.08) rotate(3deg)} 100%{opacity:1;transform:translateX(-50%)} }

.offer-creative {
  position:relative;
  display:grid;
  grid-template-columns: 150px minmax(140px,.65fr) minmax(260px,1.5fr) 32px;
  align-items:center;
  gap:18px;
  margin: 30px 0 12px;
  padding: 18px 20px;
  border:1px solid var(--line-soft);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(255,77,35,.055),rgba(255,211,53,.025),transparent 72%);
  color:inherit;
  text-decoration:none;
  transition:transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.offer-creative:hover { transform:translateY(-2px); border-color:rgba(255,112,71,.38); background:linear-gradient(90deg,rgba(255,77,35,.095),rgba(255,211,53,.04),var(--glass) 72%); }
.offer-creative-kicker { font:500 9px/1.3 var(--font-mono); letter-spacing:.13em; text-transform:uppercase; color:#FF7047; }
.offer-creative-name { font:500 1rem/1.2 var(--font-sans); color:var(--ink); }
.offer-creative-copy { font-size:.82rem; line-height:1.45; color:var(--ink-3); }
.offer-creative-arrow { justify-self:end; color:#FF7047; font-size:1.35rem; }

:root[data-theme="light"] .aof {
  background:
    radial-gradient(900px 520px at 82% 44%, rgba(255,77,35,.085), transparent 68%),
    radial-gradient(680px 420px at 70% 18%, rgba(255,193,38,.075), transparent 72%),
    #F6F6FB;
}
:root[data-theme="light"] .aof::before { background:linear-gradient(120deg,transparent 0 52%,rgba(57,67,183,.035) 52% 67%,transparent 67%); }
:root[data-theme="light"] .aof-cap { background:rgba(255,255,255,.64); box-shadow:0 18px 48px -42px rgba(14,14,82,.32), inset 0 1px #fff; }
:root[data-theme="light"] .aof-visual { background:rgba(255,255,255,.68); box-shadow:0 30px 70px -56px rgba(14,14,82,.55), inset 0 1px #fff; }
:root[data-theme="light"] .offer-creative { background:linear-gradient(90deg,rgba(255,77,35,.065),rgba(255,211,53,.035),rgba(255,255,255,.52) 72%); }

@media (max-width: 980px) {
  .aof-grid { grid-template-columns:1fr; gap:42px; }
  .aof-copy { max-width:760px; }
  .aof-title { max-width:15ch; }
  .aof-visual { min-height:600px; }
  .offer-creative { grid-template-columns:120px minmax(120px,.6fr) minmax(220px,1.3fr) 28px; }
}
@media (max-width: 680px) {
  .aof-grid { gap:30px; }
  .aof-title { max-width:none; }
  .aof-capabilities { grid-template-columns:1fr; }
  .aof-cap { min-height:0; display:grid; grid-template-columns:34px 1fr; gap:12px; align-items:start; }
  .aof-cap-icon { margin:0; }
  .aof-visual { min-height:660px; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; border-radius:20px; }
  .aof-card { border-radius:14px; }
  .aof-card--app { grid-column:1; grid-row:1; }
  .aof-card--ctv { grid-column:2; grid-row:1; }
  .aof-card--gym { grid-column:1; grid-row:2; }
  .aof-card--audio { grid-column:2; grid-row:2; }
  .aof-phone { width:66%; right:7%; }
  .aof-audio-player { grid-template-columns:1fr; grid-template-rows:1fr auto auto; padding:46px 12px 13px; }
  .aof-cover { grid-row:1; min-height:145px; }
  .offer-creative { grid-template-columns:1fr 28px; gap:5px 12px; padding:16px; }
  .offer-creative-kicker,.offer-creative-name,.offer-creative-copy { grid-column:1; }
  .offer-creative-arrow { grid-column:2; grid-row:1/4; align-self:center; }
}
@media (max-width: 430px) {
  .aof-visual { min-height:720px; grid-template-columns:1fr; grid-template-rows:repeat(4, minmax(0,1fr)); }
  .aof-card--app { grid-column:1; grid-row:1; }
  .aof-card--ctv { grid-column:1; grid-row:2; }
  .aof-card--gym { grid-column:1; grid-row:3; }
  .aof-card--audio { grid-column:1; grid-row:4; }
  .aof-phone { width:42%; right:13%; height:88%; }
  .aof-poster { width:28%; height:72%; }
  .aof-audio-player { grid-template-columns:35% 1fr; grid-template-rows:1fr auto auto; }
  .aof-cover { grid-row:1/4; min-height:0; }
}
@media (prefers-reduced-motion: reduce) {
  .aof-visual.in .aof-flame--badge,
  .aof-eyebrow.in .aof-flame--eyebrow { animation:none; }
}
