/* =========================================================
   SWTS · V4 «Serenidad» (Celestial Renewal)
   Mobile-first · HTML/CSS/JS vanilla
   ========================================================= */

:root {
  --night: #0A0712;
  --surface: #14101F;
  --orange: #EA580C;
  --peach: #FDBA74;
  --violet: #A070D0;
  --violet-deep: #603090;
  --cream: #F5F1EA;
  --ink: #14101F;

  --ink-soft: #463F54;          /* texto secundario sobre crema (AA) */
  --line-cream: rgba(20, 16, 31, .12);
  --text-light: #F5F1EA;
  --text-light-soft: rgba(245, 241, 234, .74);
  --line-night: rgba(245, 241, 234, .12);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  --radius-lg: clamp(22px, 3vw, 36px);
  --radius-md: 22px;

  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --ease-breath: cubic-bezier(.45, 0, .25, 1);
  --slow: 1.4s;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-light);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--violet); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--cream :focus-visible { outline-color: var(--violet-deep); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--cream); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none;
  transition: top .3s var(--ease-soft);
}
.skip:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -.02em;
  line-height: 1.02;
}
h2 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 em, h1 em { font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.15; font-variation-settings: "opsz" 48, "SOFT" 100; letter-spacing: -.01em; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--violet-deep);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--peach); }
.eyebrow__n { opacity: .72; }

.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 36ch; }
.lead--light { color: var(--text-light-soft); }
.body-light { color: var(--text-light-soft); max-width: 52ch; }

.text-glow {
  text-shadow:
    0 2px 24px rgba(10, 7, 18, .35),
    0 0 40px rgba(253, 186, 116, .38),
    0 0 90px rgba(245, 241, 234, .22),
    0 0 140px rgba(160, 112, 208, .18);
}

/* ---------- Liquid glass ---------- */
.liquid-glass {
  background: rgba(245, 241, 234, .04);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12);
  position: relative;
  isolation: isolate;
}
.liquid-glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.42) 0%, rgba(255,255,255,.14) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,.14) 80%, rgba(255,255,255,.36) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Botones ---------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft), background-color .4s, color .4s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --pad-y: 10px; --pad-x: 20px; min-height: 42px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--glow {
  box-shadow: 0 0 22px rgba(253, 186, 116, .35), 0 0 48px rgba(245, 241, 234, .16);
}
.btn--glow:hover { box-shadow: 0 0 30px rgba(253, 186, 116, .55), 0 0 70px rgba(245, 241, 234, .25); }
.btn--ghost {
  background: rgba(245, 241, 234, .08);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(245, 241, 234, .16); box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .6); }
.btn--orange { background: var(--orange); color: var(--night); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(234, 88, 12, .7); }
.btn--orange:hover { background: #F06A22; box-shadow: 0 16px 40px -12px rgba(234, 88, 12, .85); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px clamp(12px, 3vw, 28px) 0;
  transition: transform .7s var(--ease-soft);
}
.nav__bar {
  max-width: 1320px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  transition: background-color .6s var(--ease-soft);
}
.nav.is-scrolled .nav__bar { background: rgba(10, 7, 18, .66); }
.nav__brand, .nav__links a { transition: background-color .6s var(--ease-soft), color .6s var(--ease-soft); }
.nav.is-light .nav__bar { background: rgba(245, 241, 234, .78); color: var(--ink); box-shadow: inset 0 1px 1px rgba(255,255,255,.6), 0 10px 40px -20px rgba(20, 16, 31, .35); }
.nav.is-light .nav__links a { color: rgba(20, 16, 31, .72); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a.is-active { color: var(--ink); }
.nav.is-light .nav__links a::after { background: var(--violet-deep); }
.nav.is-light .nav__cta { background: var(--ink); color: var(--cream); }
.nav.is-light .burger { background: rgba(20, 16, 31, .08); }
.nav.is-light .burger span { background: var(--ink); transition: transform .5s var(--ease-soft), opacity .4s var(--ease-soft), background-color .6s; }
.nav.is-light :focus-visible { outline-color: var(--violet-deep); }
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .08em;
  font-variation-settings: "opsz" 48, "SOFT" 100; font-weight: 400;
}
.emblem {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%; overflow: hidden;
  background: #0A0712;
  box-shadow: 0 0 0 1px rgba(160, 112, 208, .35), 0 0 18px rgba(160, 112, 208, .35);
}
.emblem img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.emblem--sm { width: 38px; height: 38px; }
.nav__links { display: none; }
.nav__cta { display: none; }

.burger {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245, 241, 234, .08); border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: var(--cream); border-radius: 2px;
  transition: transform .5s var(--ease-soft), opacity .4s var(--ease-soft);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21.25px; }
.burger span:nth-child(3) { top: 27.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.nav__right { display: flex; align-items: center; gap: 10px; }

/* Selector de idioma ES / EN / FR (lógica en ../comun/swts-funcional.js) */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  background: rgba(245, 241, 234, .06);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .16);
  transition: opacity .4s, background-color .6s var(--ease-soft), box-shadow .6s var(--ease-soft);
}
.lang[data-cargando] { opacity: .55; }
.lang-b {
  min-width: 34px; height: 30px; padding: 0 8px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em;
  color: rgba(245, 241, 234, .78);
  transition: background-color .4s, color .4s;
}
.lang-b:hover { color: #fff; }
.lang-b[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.nav.is-light .lang { background: rgba(20, 16, 31, .05); box-shadow: inset 0 0 0 1px rgba(20, 16, 31, .14); }
.nav.is-light .lang-b { color: rgba(20, 16, 31, .72); }
.nav.is-light .lang-b[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
body.menu-open .nav .lang { background: rgba(245, 241, 234, .06); box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .16); }
body.menu-open .nav .lang-b { color: rgba(245, 241, 234, .78); }
body.menu-open .nav .lang-b[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

@media (min-width: 1200px) {
  .nav__bar { height: 64px; padding: 0 10px 0 20px; }
  .nav__links {
    display: flex; gap: clamp(18px, 2vw, 36px);
    position: absolute; left: 50%; transform: translateX(-50%);
  }
  .nav__links a {
    text-decoration: none; font-size: .9rem; letter-spacing: .02em;
    color: rgba(245, 241, 234, .8);
    position: relative; padding: 6px 0;
    transition: color .4s;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%; background: var(--peach);
    opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s var(--ease-soft);
  }
  .nav__links a:hover, .nav__links a.is-active { color: #fff; }
  .nav__links a.is-active::after { opacity: 1; transform: none; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}
/* Siete enlaces (con «Aprende»): en 1200–1339 px se compactan para no tocar el selector de idioma
   (el peor caso es FR, cuyo botón «Réserver une démo» es más ancho) */
@media (min-width: 1200px) and (max-width: 1339px) {
  .nav__links { gap: 17px; }
  .nav__links a { font-size: .85rem; letter-spacing: .01em; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .nav__links { gap: 12px; }
  .nav__links a { font-size: .82rem; letter-spacing: 0; }
}

/* ---------- Menú móvil ---------- */
.menu { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.menu__scrim {
  position: absolute; inset: 0; background: rgba(10, 7, 18, .5);
  opacity: 0; transition: opacity .6s var(--ease-soft);
}
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 85%; max-width: 360px;
  background: rgba(10, 7, 18, .95);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-left: 1px solid rgba(245, 241, 234, .1);
  padding: 110px 32px 32px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .7s var(--ease-soft);
  visibility: hidden;
}
.menu__panel::before {
  content: ""; position: absolute; inset: auto -40% -20% auto; width: 120%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(160, 112, 208, .25), transparent 60%);
  pointer-events: none;
}
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--f-display); font-size: 2.1rem; font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-decoration: none; padding: 6px 0;
  opacity: 0; transform: translateX(28px);
  transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft);
}
.menu__cta { margin-top: 36px; opacity: 0; transform: translateX(28px); transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft); }
.menu__foot { margin-top: auto; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light-soft); }

.menu.is-open { pointer-events: auto; }
.menu.is-open .menu__scrim { opacity: 1; }
.menu.is-open .menu__panel { transform: none; visibility: visible; }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(150ms + var(--i) * 75ms); }
.menu.is-open .menu__cta { opacity: 1; transform: none; transition-delay: 450ms; }
.menu:not(.is-open) .menu__panel { transition: transform .6s var(--ease-soft), visibility 0s linear .6s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + 40px);
  background: var(--night) url("media/image1.webp") center / cover no-repeat;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 52% at 50% 50%, rgba(10, 7, 18, .46), rgba(10, 7, 18, 0) 72%),
    linear-gradient(180deg, rgba(10, 7, 18, .42) 0%, rgba(10, 7, 18, .22) 30%, rgba(10, 7, 18, .26) 70%, rgba(10, 7, 18, .72) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 100%;
  padding: 12px var(--gutter) clamp(36px, 6vh, 64px);
  margin-inline: auto;
  max-width: 1100px;
  will-change: transform, opacity;
}
.hero__eyebrow { margin-bottom: 26px; color: var(--cream); opacity: .85; text-shadow: 0 1px 12px rgba(10,7,18,.6); }
.hero__title {
  font-size: clamp(3rem, 10.5vw, 7.2rem);
  line-height: .92;
  font-weight: 330;
  color: #fff;
  letter-spacing: -.035em;
}
.hero__title .line { display: block; }
.hero__title em { font-weight: 300; letter-spacing: -.03em; }
.hero__sub {
  margin-top: clamp(20px, 3vw, 30px);
  max-width: 34rem;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 14px rgba(10, 7, 18, .65);
}
.hero__ctas { margin-top: clamp(26px, 4vw, 38px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 960px) and (max-height: 820px) {
  .hero__title { font-size: clamp(3rem, 7vw, 5.6rem); }
}

/* Rótulos: uno a la vez en móvil, en fila que se enciende en escritorio */
.hero__rail {
  position: absolute; z-index: 2;
  top: calc(var(--nav-h) + 8px); left: var(--gutter); right: var(--gutter);
  display: grid; justify-items: center;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245, 241, 234, .9);
  text-shadow: 0 1px 10px rgba(10, 7, 18, .7);
  pointer-events: none;
}
.hero__rail li {
  grid-area: 1 / 1;
  opacity: 0;
  animation: railCycle 9s var(--ease-breath) infinite;
  animation-delay: calc(var(--k) * 3s);
}
@keyframes railCycle {
  0% { opacity: 0; transform: translateY(6px); }
  8%, 28% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-6px); }
}
@media (min-width: 760px) {
  .hero__rail { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); }
  .hero__rail li { grid-area: auto; opacity: .55; animation-name: railGlow; }
}
@keyframes railGlow {
  0%, 44%, 100% { opacity: .55; color: rgba(245, 241, 234, .9); }
  12%, 26% { opacity: 1; color: var(--peach); }
}


/* Base del hero: HUD + tarjeta de contacto */
.hero__base {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--maxw) + 80px);
  margin-inline: auto;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  display: grid; gap: 12px;
}
@media (min-width: 760px) {
  .hero__side { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero__side > * { min-width: 0; }
}
@media (min-width: 1280px) {
  .hero__base { grid-template-columns: 1fr minmax(320px, 400px); align-items: end; gap: 16px; padding-bottom: 28px; }
  .hero__side { grid-template-columns: 1fr; }
}
.hud {
  border-radius: 24px;
  padding: 14px 18px 12px;
  background: rgba(10, 7, 18, .42);
}
.hud__cap {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 4px;
}
.hud__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.hud__grid > div { padding: 10px 0 6px; border-top: 1px solid rgba(245, 241, 234, .14); min-width: 0; }
.hud__grid > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid rgba(245, 241, 234, .14); }
@media (min-width: 760px) {
  .hud__grid { grid-template-columns: repeat(4, 1fr); }
  .hud__grid > div { border-top: 0; padding: 8px 0 4px; }
  .hud__grid > div + div { padding-left: 16px; border-left: 1px solid rgba(245, 241, 234, .14); }
}
.hud dt {
  font-family: var(--f-display); font-weight: 350;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.1; letter-spacing: -.01em;
  color: #fff; white-space: nowrap;
}
.hud dd { margin-top: 4px; font-size: .76rem; line-height: 1.35; color: rgba(245, 241, 234, .8); }

.hero__side { display: grid; gap: 8px; }
.talk {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  text-decoration: none;
  background: rgba(10, 7, 18, .42);
  transition: background-color .5s var(--ease-soft), transform .6s var(--ease-soft);
}
.talk:hover { background: rgba(10, 7, 18, .6); transform: translateY(-2px); }
.talk__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.talk__txt strong { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; font-variation-settings: "opsz" 36, "SOFT" 100; }
.talk__txt span { font-size: .78rem; color: rgba(245, 241, 234, .76); }
.talk__cta { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); white-space: nowrap; }
.hero__family {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 8px; border-radius: 18px;
  background: rgba(10, 7, 18, .42);
  text-decoration: none;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.55;
  color: rgba(245, 241, 234, .9);
  transition: background-color .5s var(--ease-soft), transform .6s var(--ease-soft), color .4s;
}
.hero__family img { width: 84px; height: 63px; flex: none; border-radius: 12px; object-fit: cover; object-position: 50% 50%; background: #EAD6BF; }
.hero__family:hover { background: rgba(10, 7, 18, .6); transform: translateY(-2px); color: #fff; }

/* Entrada del hero: respiración lenta */
[data-hero] { opacity: 0; transform: translateY(22px); filter: blur(8px); }
.is-ready [data-hero] {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1.6s var(--ease-soft), transform 1.6s var(--ease-soft), filter 1.6s var(--ease-soft);
}
.is-ready [data-hero="0"] { transition-delay: .15s; }
.is-ready [data-hero="1"] { transition-delay: .35s; }
.is-ready [data-hero="2"] { transition-delay: .6s; }
.is-ready [data-hero="3"] { transition-delay: .85s; }
.is-ready [data-hero="4"] { transition-delay: 1.05s; }
.is-ready [data-hero="5"] { transition-delay: 1.25s; }
.is-ready [data-hero="6"] { transition-delay: 1.5s; }

/* Pista de scroll: vertical, al borde derecho (solo escritorio) */
.scroll-hint { display: none; }
@media (min-width: 960px) {
  .scroll-hint {
    position: absolute; z-index: 2; right: var(--gutter); top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    text-decoration: none;
    font-family: var(--f-mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
    color: rgba(245, 241, 234, .85);
  }
  .scroll-hint__txt { writing-mode: vertical-rl; }
}
.scroll-hint__line {
  position: relative; width: 1px; height: 54px; background: rgba(245, 241, 234, .25); overflow: hidden;
}
.scroll-hint__line i {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: linear-gradient(180deg, transparent, var(--peach));
  animation: drip 2.8s var(--ease-breath) infinite;
}
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }

/* =========================================================
   CITA · parallax noche → amanecer
   ========================================================= */
.quote {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0A0712 0%, #603090 46%, #A070D0 76%, #FDBA74 100%);
  isolation: isolate;
}
.quote__layers { position: absolute; inset: 0; pointer-events: none; }
.quote__layers > * { position: absolute; will-change: transform, opacity; }

.q-stars {
  inset: 0 0 45% 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 44% 12%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 58% 34%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 71% 20%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 86% 38%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.6px 1.6px at 92% 10%, rgba(253,186,116,.9), transparent 60%),
    radial-gradient(1px 1px at 6% 56%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 36% 64%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 64% 58%, rgba(255,255,255,.5), transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  animation: twinkle 7s var(--ease-breath) infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.q-halo { border-radius: 50%; }
.q-halo--a {
  width: min(90vw, 780px); aspect-ratio: 1; left: -18%; top: 12%;
  background: radial-gradient(circle, rgba(160, 112, 208, .45), rgba(160, 112, 208, 0) 62%);
}
.q-halo--b {
  width: min(80vw, 640px); aspect-ratio: 1; right: -16%; top: 38%;
  background: radial-gradient(circle, rgba(253, 186, 116, .35), rgba(253, 186, 116, 0) 62%);
}
.q-arc {
  left: 50%; top: 4%;
  width: 150vw; max-width: 2200px; margin-left: -75vw;
  z-index: 1;
}
@media (min-width: 1467px) { .q-arc { margin-left: -1100px; } }
.q-arc svg { width: 100%; height: auto; }
.q-sun {
  left: 50%; bottom: -34vh;
  width: min(120vw, 1100px); aspect-ratio: 1; margin-left: calc(min(120vw, 1100px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 244, 228, .95) 0%, rgba(253, 186, 116, .75) 16%, rgba(253, 186, 116, .25) 34%, rgba(253, 186, 116, 0) 58%);
  z-index: 0;
}
.q-mist { z-index: 3; border-radius: 50%; }
.q-mist--left, .q-mist--right {
  width: clamp(360px, 55vw, 760px); height: clamp(200px, 26vw, 360px);
  background:
    radial-gradient(ellipse 50% 45% at 30% 60%, rgba(245, 241, 234, .75), rgba(245, 241, 234, 0) 70%),
    radial-gradient(ellipse 45% 40% at 62% 48%, rgba(253, 186, 116, .55), rgba(253, 186, 116, 0) 72%),
    radial-gradient(ellipse 40% 35% at 78% 70%, rgba(245, 241, 234, .55), rgba(245, 241, 234, 0) 70%),
    radial-gradient(ellipse 60% 30% at 50% 80%, rgba(160, 112, 208, .45), rgba(160, 112, 208, 0) 70%);
  opacity: 0;
}
.q-mist--left { left: -22%; bottom: 8%; }
.q-mist--right { right: -26%; bottom: 14%; transform: scaleX(-1); }
.q-mist--floor {
  left: -10%; right: -10%; bottom: -12%; height: 34%;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(245, 241, 234, .55), rgba(253, 186, 116, .2) 45%, rgba(253, 186, 116, 0) 72%);
  border-radius: 0;
}

.quote__content {
  position: relative; z-index: 2;
  max-width: 980px; padding: 0 var(--gutter);
  text-align: center;
  margin-top: -6vh;
}
.quote__text {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(2.4rem, 8vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(10, 7, 18, .45), 0 0 60px rgba(253, 186, 116, .3);
}
.quote__text .w {
  display: block;
  opacity: .12; filter: blur(6px); transform: translateY(.18em);
  transition: opacity 1.4s var(--ease-soft), filter 1.4s var(--ease-soft), transform 1.4s var(--ease-soft);
}
.quote__text .w.is-lit { opacity: 1; filter: none; transform: none; }
.quote__text .w i { font-style: normal; color: var(--peach); }
.quote__cap {
  margin-top: clamp(22px, 3vw, 34px);
  display: inline-block;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(10, 7, 18, .42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .18);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: #fff;
}

/* =========================================================
   Secciones genéricas
   ========================================================= */
.section { position: relative; padding-block: clamp(96px, 14vw, 180px); }
.section--cream { background: var(--cream); color: var(--ink); }
.section--night { background: var(--night); color: var(--text-light); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 900px; }
.section-head h2 em { color: var(--violet-deep); }
.section--night .section-head h2 em, .section--night h2 em { color: var(--peach); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head .lead { margin-top: 24px; }
.section-head--center .lead { margin: 24px auto 0; max-width: 44ch; }
.section-head--split .lead { margin-top: 0; }
.section-head--split { max-width: none; display: grid; gap: 28px; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; }
}

/* Revelado lento al hacer scroll */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity var(--slow) var(--ease-soft), transform var(--slow) var(--ease-soft);
  transition-delay: calc(var(--d, 0) * 140ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-hero] { opacity: 1; transform: none; filter: none; }

/* Keyframes compartidos (corazón, vórtice de ciencia) */
@keyframes ripple {
  0% { transform: scale(.35); opacity: 0; }
  25% { opacity: .75; }
  100% { transform: scale(1.08); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: scale(.86); }
  50% { transform: scale(1.04); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   EL SISTEMA
   ========================================================= */
.system__grid { display: grid; gap: 22px; }
@media (min-width: 900px) {
  .system__grid {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: "kit list" "kit bobina" "specs specs";
    gap: 24px;
  }
  .system__grid .photo--tall { grid-area: kit; }
  .system__list { grid-area: list; }
  .system__grid .photo--square { grid-area: bobina; }
  .system__specs { grid-area: specs; }
}
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #E9E2D6; }
.photo img { width: 100%; height: 100%; object-fit: cover; animation: photoBreath 14s var(--ease-breath) infinite alternate; }
/* Fotos animadas del kit: el póster es la foto; el loop solo corre en pantalla */
.photo video, .eq-card__media video { width: 100%; height: 100%; object-fit: cover; background: #E9E2D6; }
@keyframes photoBreath { from { transform: scale(1); } to { transform: scale(1.03); } }
.photo { max-width: 700px; }
@media (max-width: 899px) { .system__grid .photo { margin-inline: auto; width: 100%; } }
.gallery {
  margin-top: 22px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery .photo { scroll-snap-align: start; aspect-ratio: 4 / 5; }
.gallery .photo:nth-child(2) img { animation-delay: -4s; }
.gallery .photo:nth-child(3) img { animation-delay: -8s; }
.gallery .photo:nth-child(4) img { animation-delay: -12s; }
@media (min-width: 760px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; gap: 24px; margin-top: 24px; }
  .gallery .photo:nth-child(2) { translate: 0 40px; }
  .gallery { padding-bottom: 40px; }
  .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--4 .photo:nth-child(4) { translate: 0 40px; }
}
@media (min-width: 1000px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Banda de la lámpara de plasma (que la bobina no domine) */
.plasma-band {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 22px 0 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: #120C1E;
  box-shadow: 0 60px 120px -60px rgba(160, 112, 208, .55);
}
@media (min-width: 760px) { .plasma-band { aspect-ratio: 21 / 9; margin-top: 24px; } }
.plasma-band video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; background: #120C1E; }
.plasma-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 7, 18, .6) 0%, rgba(10, 7, 18, 0) 50%), linear-gradient(0deg, rgba(10, 7, 18, .45) 0%, rgba(10, 7, 18, 0) 40%);
}
.plasma-band__cap {
  position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); bottom: clamp(18px, 4vw, 44px);
  display: flex; align-items: baseline; gap: 14px; color: var(--cream);
}
.plasma-band__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; color: var(--peach); }
.plasma-band__t {
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1;
  text-shadow: 0 2px 20px rgba(10, 7, 18, .6);
}
.photo--tall { aspect-ratio: 3 / 4; }
.photo--square { aspect-ratio: 4 / 3; }
.photo--square img { object-position: 50% 25%; }
@media (min-width: 900px) { .photo--tall { aspect-ratio: auto; min-height: 100%; } }
/* Fotos de estudio del equipo actual (30-sep-2026): 1200×896, 4:3. Se muestran ENTERAS (sin cortar caja ni bobinas):
   el video conserva su 4:3 y se centra; el resto del marco es el mismo papel del estudio, con el borde fundido. */
.photo--estudio { display: grid; align-content: center; background: linear-gradient(180deg, var(--paper-a, #F1E9DD), var(--paper-b, #F1E9DD)); }
.photo--estudio video {
  height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
/* Móvil: el marco se ajusta a la foto 4:3 y la leyenda baja a su propia franja de papel (no tapa bobinas ni caja) */
@media (max-width: 899px) {
  .photo--tall.photo--estudio { aspect-ratio: auto; }
  .photo--tall.photo--estudio figcaption { position: static; justify-self: start; margin: 4px 14px 14px; }
}
.photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 7, 18, .6); color: var(--cream);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
}
.system__list, .system__specs {
  background: #FBF8F3; border: 1px solid var(--line-cream);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
}
.list-title {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-deep); margin-bottom: 20px;
}
.numbered li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line-cream);
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 350;
  font-variation-settings: "opsz" 36, "SOFT" 100; line-height: 1.3;
}
.numbered li:last-child { border-bottom: 1px solid var(--line-cream); }
.numbered span { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); letter-spacing: .12em; flex: none; width: 22px; }
.system__specs { display: grid; gap: 36px; }
@media (min-width: 760px) {
  .system__specs { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .system__specs > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .system__specs { grid-template-columns: 1.35fr 1fr 1fr; gap: 56px; }
  .system__specs > :first-child { grid-column: auto; }
}
.ticks li { position: relative; padding: 10px 0 10px 28px; color: var(--ink-soft); border-top: 1px solid var(--line-cream); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange) 35%, rgba(234,88,12,.18) 40%);
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  padding: 10px 16px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line-cream);
  font-size: .95rem; color: var(--ink);
}

.figures {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-cream);
}
@media (min-width: 860px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { padding: 28px 8px 8px 0; }
.figure + .figure { padding-left: 0; }
@media (min-width: 860px) { .figure + .figure { padding-left: 28px; border-left: 1px solid var(--line-cream); } }
.figure__v {
  font-family: var(--f-display); font-weight: 330;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.03em;
  color: var(--ink);
  white-space: nowrap;
}
.figure__unit { font-size: .45em; letter-spacing: 0; color: var(--violet-deep); font-weight: 400; }
.figure dd { margin-top: 10px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* Variantes de la fila de cifras */
.figures--compact .figure__v { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.figures--5.figures--compact .figure__v { font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.figures--5 .figure:last-child { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .figures--5 { grid-template-columns: repeat(3, 1fr); }
  .figures--5 .figure:last-child { grid-column: auto; }
  .figures--5 .figure + .figure { padding-left: 28px; border-left: 1px solid var(--line-cream); }
  .figures--5 .figure:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}
@media (min-width: 1100px) {
  .figures--5 { grid-template-columns: repeat(5, 1fr); }
  .figures--5 .figure:nth-child(3n + 1) { padding-left: 28px; border-left: 1px solid var(--line-cream); }
  .figures--5 .figure:first-child { padding-left: 0; border-left: 0; }
}
.figures--night { border-top-color: var(--line-night); }
.figures--night .figure__v { color: var(--cream); }
.figures--night .figure__unit { color: var(--peach); }
.figures--night dd { color: var(--text-light-soft); }
@media (min-width: 860px) { .figures--night .figure + .figure { border-left-color: var(--line-night); } }

.system__close {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 34ch;
  text-align: center;
  font-family: var(--f-display); font-style: italic; font-weight: 330;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.3;
  color: var(--ink);
}

/* =========================================================
   CIENCIA
   ========================================================= */
.science { overflow: hidden; }
.science__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .science__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.science__vortex { width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.science__vortex svg { width: 100%; height: 100%; overflow: visible; }
.vx { fill: none; stroke-width: 1; transform-origin: 200px 200px; }
.vx--1 { stroke: rgba(253, 186, 116, .55); animation: spin 38s linear infinite; }
.vx--2 { stroke: rgba(160, 112, 208, .6); animation: spin 52s linear infinite reverse; transform: rotate(60deg); }
.vx--3 { stroke: rgba(245, 241, 234, .35); animation: spin 70s linear infinite; transform: rotate(120deg); }
.science__words { font-size: clamp(2.4rem, 6.4vw, 5rem); margin-bottom: 30px; }
.science__words span { display: inline-block; }
.science .lead { max-width: 44ch; margin-bottom: 22px; }
.science__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Capacidades del sistema */
.caps { margin-top: clamp(72px, 10vw, 128px); position: relative; }
.caps__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--peach);
  padding-bottom: 16px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line-night);
}
.caps__status { display: inline-flex; align-items: center; gap: 10px; color: var(--text-light-soft); font-size: .66rem; }
.caps__pulse { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--peach); animation: pulse 2.8s var(--ease-breath) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 186, 116, .55); }
  70% { box-shadow: 0 0 0 10px rgba(253, 186, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 186, 116, 0); }
}
.caps__grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .caps__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.cap {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  background: rgba(245, 241, 234, .035);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  transition: transform 1s var(--ease-soft), background-color .8s, opacity var(--slow) var(--ease-soft);
}
.cap:hover { transform: translateY(-6px); background: rgba(245, 241, 234, .06); }
.cap__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; color: var(--peach); margin-bottom: auto; padding-bottom: 30px; }
.cap p { color: var(--text-light-soft); }
/* Etiqueta: lockup rectangular de texto plano (sin sellos) */
.tag {
  align-self: flex-start; margin-top: 6px;
  padding: 6px 10px; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(253, 186, 116, .5);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--peach);
}

/* =========================================================
   TESLA
   ========================================================= */
.tesla__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .tesla__grid { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
  .tesla__text { position: sticky; top: 112px; }
}
.tesla__text p { color: var(--ink-soft); max-width: 58ch; margin-bottom: 20px; font-size: clamp(1.02rem, 1.3vw, 1.12rem); }
.pull {
  margin-top: 40px; padding-left: 26px;
  border-left: 2px solid var(--orange);
}
.pull p {
  font-family: var(--f-display); font-style: italic; font-weight: 330;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--ink) !important;
  max-width: 30ch !important;
}
.patent {
  background: var(--surface); color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(96, 48, 144, .6);
}
.patent::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,241,234,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(245,241,234,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.patent__coil { width: min(100%, 300px); margin: 0 auto 32px; aspect-ratio: 1; position: relative; }
.coil { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.coil--a { stroke: var(--orange); }
.coil--b { stroke: var(--cream); opacity: .85; }
.patent__data { display: grid; gap: 18px; position: relative; }
.patent__data div { border-top: 1px solid var(--line-night); padding-top: 16px; }
.patent__data dt { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 350; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -.02em; }
.patent__data dd { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-top: 6px; }
.patent__plate {
  position: relative;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-light-soft);
  padding-bottom: 14px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line-night);
}
.lineage { position: relative; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-night); }
.lineage__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 12px;
}
.lineage__tag { padding: 4px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .32); color: var(--cream); font-size: .6rem; }
.lineage li { position: relative; padding: 10px 0 10px 22px; font-size: .92rem; line-height: 1.45; color: rgba(245, 241, 234, .86); border-top: 1px dashed rgba(245, 241, 234, .12); }
.lineage li:first-child { border-top: 0; }
.lineage li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--orange); }
.ref {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em;
  color: rgba(245, 241, 234, .6);
  overflow-wrap: anywhere;
}
.ref--ink { color: var(--ink-soft); margin-top: 0; }

.person {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; gap: 22px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FBF8F3 0%, #EFE6F6 100%);
  border: 1px solid var(--line-cream);
}
@media (min-width: 960px) {
  .person {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas: "head side" "bio side" "tags side";
    column-gap: 72px; row-gap: 26px; align-items: start;
  }
  .person__head { grid-area: head; } .person__bio { grid-area: bio; } .person__tags { grid-area: tags; } .person__side { grid-area: side; }
}
.person__head .eyebrow { margin-bottom: 14px; }
.person__role { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.person h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.person h3 em { color: var(--violet-deep); }
.person__fields {
  margin-top: 14px;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-variation-settings: "opsz" 24, "SOFT" 100;
  color: var(--violet-deep);
}
.person__bio { color: var(--ink-soft); max-width: 60ch; }
.person__bio p + p { margin-top: 14px; }
.person__bio strong { color: var(--ink); font-weight: 500; }
.person__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.person__tags li {
  padding: 7px 12px; border-radius: 3px;
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line-cream);
  font-size: .86rem; color: var(--ink);
}
.person__side { display: grid; gap: 22px; align-content: start; }
.person__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.person__stats div { border-top: 1px solid var(--line-cream); padding-top: 14px; }
.person__stats dt { font-family: var(--f-display); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 350; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -.02em; line-height: 1.05; }
.person__stats dd { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.35; }
.person__link {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-weight: 500; color: var(--violet-deep);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .4s;
}
.person__link:hover { color: var(--ink); }

/* Banda de llamada a la acción: un amanecer pequeño */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(48px, 7vw, 88px);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px);
  display: grid; gap: 26px; align-items: center;
  background: linear-gradient(180deg, #0A0712 0%, #2A1745 40%, #603090 78%, #8A5BB8 100%);
  color: var(--cream);
  box-shadow: 0 50px 100px -50px rgba(96, 48, 144, .6);
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; bottom: -120%; width: 900px; aspect-ratio: 1; margin-left: -450px;
  border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(253, 186, 116, .5) 0%, rgba(253, 186, 116, .18) 30%, rgba(253, 186, 116, 0) 58%);
  animation: sunBreath 12s var(--ease-breath) infinite alternate;
}
.cta-band__stars { position: absolute; inset: 0 0 45% 0; z-index: -1; opacity: .8; }
.cta-band h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 330; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100; line-height: 1.1; }
.cta-band h3 em { color: var(--peach); }
.cta-band p { margin-top: 12px; color: rgba(245, 241, 234, .84); max-width: 46ch; }
.cta-band .btn { justify-self: start; }
.cta-band :focus-visible { outline-color: var(--peach); }
@media (min-width: 860px) {
  .cta-band { grid-template-columns: 1fr auto; gap: 48px; }
}
/* Variante sobre noche: vidrio en vez de cielo */
.cta-band--glass {
  background: rgba(245, 241, 234, .04);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .14), 0 50px 100px -60px rgba(160, 112, 208, .5);
}
.cta-band--glass::before { background: radial-gradient(circle, rgba(253, 186, 116, .3) 0%, rgba(253, 186, 116, .1) 30%, rgba(253, 186, 116, 0) 58%); }

/* =========================================================
   PARA TU PRÁCTICA
   ========================================================= */
.practice { overflow: hidden; }
.practice::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(160, 112, 208, .12), transparent 70%);
}
.practice__grid { display: grid; gap: 18px; position: relative; }
@media (min-width: 860px) { .practice__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.p-card {
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.5vw, 44px);
  background: #FBF8F3;
  border: 1px solid var(--line-cream);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -40px rgba(96, 48, 144, .35);
  min-height: 250px;
  display: flex; flex-direction: column;
  transition: transform 1s var(--ease-soft), box-shadow 1s var(--ease-soft), opacity var(--slow) var(--ease-soft);
}
.p-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 40px 70px -40px rgba(96, 48, 144, .5); }
.p-card__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; color: var(--violet-deep); margin-bottom: auto; padding-bottom: 42px; }
.p-card h3 { margin-bottom: 12px; }
.p-card p { color: var(--ink-soft); }
.practice .figures { position: relative; margin: 0 0 clamp(48px, 7vw, 80px); }

/* Testimonio de implementación: placa de noche sobre crema */
.impl {
  position: relative; overflow: hidden; isolation: isolate;
  margin: clamp(48px, 7vw, 80px) auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 56px);
  background: var(--surface); color: var(--cream);
  box-shadow: 0 50px 100px -50px rgba(96, 48, 144, .6);
  display: grid; gap: 22px;
}
.impl::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(160, 112, 208, .22), transparent 70%),
    linear-gradient(rgba(245,241,234,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(245,241,234,.035) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}
.impl__label { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.impl blockquote p {
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem); line-height: 1.32;
  color: #fff;
}
.impl blockquote p::before { content: "“"; color: var(--peach); }
.impl blockquote p::after { content: "”"; color: var(--peach); }
.impl figcaption { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-night); }
.impl__who { font-weight: 500; }
.impl__note { font-size: .82rem; line-height: 1.55; color: var(--text-light-soft); max-width: 72ch; }

/* =========================================================
   EL CORAZÓN COMO CENTRO
   ========================================================= */
.heart { overflow: hidden; background: linear-gradient(180deg, #0A0712 0%, #140C24 60%, #1E1234 100%); }
.heart__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 78% 35%, rgba(234, 88, 12, .12), transparent 70%),
    radial-gradient(ellipse 55% 50% at 20% 70%, rgba(96, 48, 144, .3), transparent 70%);
}
.heart__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .heart__grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.heart h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; }
.heart .lead { max-width: 42ch; margin: 28px 0 18px; }
.heart__visual { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.heart__ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px solid rgba(253, 186, 116, .3);
  opacity: 0;
  animation: ripple 7.2s var(--ease-breath) infinite;
  animation-delay: calc(var(--r) * -2.4s);
}
/* Dos luces que respiran al mismo compás: sincronía, sin cuerpos ni siluetas */
.heart__orb {
  position: absolute; top: 22%; width: 56%; aspect-ratio: 1; border-radius: 50%;
  mix-blend-mode: screen; filter: blur(4px);
  animation: breathe 7.2s var(--ease-breath) infinite;
}
.heart__orb--a { left: 10%; background: radial-gradient(circle at 50% 50%, rgba(255, 244, 230, .95) 0%, rgba(253, 186, 116, .8) 22%, rgba(234, 88, 12, .28) 46%, rgba(234, 88, 12, 0) 70%); }
.heart__orb--b { right: 10%; background: radial-gradient(circle at 50% 50%, rgba(239, 228, 250, .95) 0%, rgba(160, 112, 208, .8) 22%, rgba(96, 48, 144, .32) 46%, rgba(96, 48, 144, 0) 70%); }
.heart__figures { margin-top: clamp(56px, 8vw, 96px); position: relative; }
.heart__figures dd { line-height: 1.5; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.t-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .t-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } .t-grid .t-card:nth-child(2n) { translate: 0 56px; } .t-grid { padding-bottom: 56px; } }
.t-card {
  background: #FBF8F3;
  border: 1px solid var(--line-cream);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 30px 60px -44px rgba(96, 48, 144, .35);
}
.t-card__tag {
  align-self: flex-start;
  font-family: var(--f-display); font-style: italic; font-size: .98rem;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(160, 112, 208, .14); color: var(--violet-deep);
}
.t-card__title { font-size: clamp(1.45rem, 2.3vw, 1.85rem); color: var(--ink); margin-bottom: -6px; }
.t-card blockquote p {
  font-family: var(--f-display); font-weight: 330;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.42;
  color: var(--ink);
}
.t-card figcaption {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-cream);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.legal {
  margin-top: clamp(64px, 9vw, 112px);
  max-width: 880px;
  font-size: .875rem; line-height: 1.6;
  color: var(--ink-soft);
  padding-top: 22px; border-top: 1px solid var(--line-cream);
}

/* =========================================================
   EQUIPOS
   ========================================================= */
.equipment { overflow: hidden; }
.equipment__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 25% 40%, rgba(96, 48, 144, .35), transparent 70%),
    radial-gradient(ellipse 45% 35% at 80% 55%, rgba(234, 88, 12, .14), transparent 70%);
}
.eq-grid { display: grid; gap: 18px; position: relative; }
@media (min-width: 860px) { .eq-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.eq-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
  background: linear-gradient(160deg, rgba(160, 112, 208, .16), rgba(20, 16, 31, .9) 55%);
  border: 1px solid rgba(245, 241, 234, .12);
  display: flex; flex-direction: column; gap: 22px;
  min-height: 420px;
  overflow: hidden;
  transition: transform 1s var(--ease-soft), border-color .8s, opacity var(--slow) var(--ease-soft);
}
.eq-card::after {
  content: ""; position: absolute; width: 380px; aspect-ratio: 1; right: -140px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 112, 208, .35), transparent 65%);
  pointer-events: none;
}
.eq-card--family { background: linear-gradient(160deg, rgba(253, 186, 116, .14), rgba(20, 16, 31, .9) 55%); }
.eq-card--family::after { background: radial-gradient(circle, rgba(253, 186, 116, .28), transparent 65%); }
.eq-card:hover { transform: translateY(-6px); border-color: rgba(245, 241, 234, .26); }
.eq-card__kicker { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
/* «Nuevo»: lockup rectangular de texto plano (regla de marca: sin sellos ni pastillas tipo insignia) */
.badge { padding: 3px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(253, 186, 116, .65); color: var(--cream); font-size: .62rem; letter-spacing: .18em; }
.eq-card h3 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 330; letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.eq-card p { color: var(--text-light-soft); max-width: 46ch; position: relative; }
.eq-card__cta { margin-top: auto; align-self: flex-start; position: relative; }
.eq-card__media {
  position: relative; z-index: 1;
  margin: 0; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 3; max-width: 700px;
  background: #EEE8DF;
}
.eq-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; animation: photoBreath 14s var(--ease-breath) infinite alternate; }
.eq-card__media video { object-position: 50% 50%; }
.eq-card__media--family, .eq-card__media--estudio { background: #F3E8DB; }
.eq-card__media--family video, .eq-card__media--estudio video { object-position: 50% 50%; background: #F3E8DB; }
.eq-card__stack { position: relative; z-index: 1; margin-bottom: 18px; }
.eq-card__inset {
  position: absolute; z-index: 2; right: 16px; bottom: -18px;
  width: 34%; aspect-ratio: 4 / 3; margin: 0;
  border-radius: 16px; overflow: hidden;
  background: #EAD6BF;
  box-shadow: 0 0 0 4px #1C1428, 0 24px 44px -12px rgba(0, 0, 0, .65);
}
.eq-card__inset video { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   MOMENTO DE MARCA
   ========================================================= */
.brand {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px var(--gutter);
  background: #0A0712;
}
.brand__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.brand__stars { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, #000 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, #000 80%); }
.brand__halo {
  position: absolute; left: 50%; top: 46%; width: min(140vw, 1300px); aspect-ratio: 1; margin: calc(min(140vw, 1300px) / -2) 0 0 calc(min(140vw, 1300px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 48, 144, .42) 0%, rgba(96, 48, 144, .14) 38%, rgba(96, 48, 144, 0) 62%);
  will-change: transform, opacity;
}
.brand__mark { margin: 0; will-change: transform, opacity; }
.brand__mark img {
  display: block;
  width: min(78vw, 620px); height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
@media (max-width: 699px) {
  .brand__mark img { width: min(92vw, 440px); max-height: 82svh; object-fit: contain; }
}
.brand__tag {
  margin-top: 8px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-light-soft); text-align: center;
  will-change: opacity;
}
.includes {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-night);
  position: relative;
}
.includes__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 30px; font-weight: 350; }
.includes__grid { display: grid; gap: 0; }
@media (min-width: 700px) { .includes__grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .includes__grid { grid-template-columns: repeat(3, 1fr); } }
.includes__grid li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-night); }
.includes__grid svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--peach); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.includes__grid strong { display: block; font-weight: 500; }
.includes__grid span { display: block; font-size: .9rem; color: var(--text-light-soft); margin-top: 2px; line-height: 1.5; }

/* =========================================================
   CIERRE · amanecer + formulario
   ========================================================= */
.close {
  position: relative; overflow: hidden;
  padding-block: clamp(110px, 15vw, 190px) clamp(90px, 12vw, 150px);
  background: linear-gradient(180deg, #0A0712 0%, #2A1745 30%, #603090 62%, #8A5BB8 86%, #B67FB0 100%);
  isolation: isolate;
}
.close__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.close__sun {
  position: absolute; left: 50%; bottom: -60%; width: 1400px; aspect-ratio: 1; margin-left: -700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 186, 116, .55) 0%, rgba(253, 186, 116, .22) 30%, rgba(253, 186, 116, 0) 58%);
  animation: sunBreath 12s var(--ease-breath) infinite alternate;
}
@keyframes sunBreath { from { transform: scale(.94); opacity: .85; } to { transform: scale(1.04); opacity: 1; } }
.close__mist {
  position: absolute; left: -10%; right: -10%; bottom: -8%; height: 40%;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(245, 241, 234, .28), transparent 70%);
}
.close__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .close__grid { grid-template-columns: 1fr 1fr; gap: 90px; } }
.close__text h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.06; }
.close__text .lead { margin-top: 24px; color: rgba(245, 241, 234, .86); }
.close__list { margin-top: 30px; display: grid; gap: 12px; }
.close__list li { position: relative; padding-left: 28px; color: rgba(245, 241, 234, .92); }
/* viñeta: una línea de horizonte (sin palomitas) */
.close__list li::before {
  content: ""; position: absolute; left: 2px; top: .8em; width: 14px; height: 1.5px; border-radius: 2px;
  background: var(--peach); box-shadow: 0 0 10px rgba(253, 186, 116, .8);
}

.form-card__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 241, 234, .14);
}
.form-card__label { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); }
/* Lockup rectangular de texto plano (NO sello circular) */
.lockup {
  padding: 6px 10px; border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .42);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
}

.form-card {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  background: rgba(10, 7, 18, .52);
  box-shadow: 0 50px 100px -40px rgba(10, 7, 18, .7), inset 0 1px 1px rgba(255,255,255,.12);
}
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 500; margin-bottom: 8px; color: var(--cream); }
.field__hint { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(245, 241, 234, .22);
  background: rgba(245, 241, 234, .06);
  color: var(--cream);
  font-size: 1rem;
  transition: border-color .4s, background-color .4s, box-shadow .4s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 241, 234, .5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--peach);
  background: rgba(245, 241, 234, .1);
  box-shadow: 0 0 0 4px rgba(253, 186, 116, .18);
}
.field select option { background: var(--surface); color: var(--cream); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--cream); border-bottom: 1.5px solid var(--cream);
  transform: rotate(45deg); pointer-events: none;
}
.field [aria-invalid="true"] { border-color: #FFB4A0; box-shadow: 0 0 0 4px rgba(255, 140, 110, .16); }
.field__err { min-height: 0; font-size: .84rem; color: #FFD2C4; margin-top: 6px; }
.field__err:empty { display: none; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--text-light-soft); text-align: center; }
.form-note a { color: var(--cream); }

.form-success {
  text-align: center; padding: 30px 8px;
  animation: rise 1.2s var(--ease-soft) both;
}
.form-success svg { width: 64px; height: 64px; margin: 0 auto 20px; fill: none; stroke: var(--peach); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1.2s .3s var(--ease-soft) forwards; }
.form-success h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.form-success p { font-size: 1rem; line-height: 1.6; color: var(--text-light-soft); max-width: 38ch; margin-inline: auto; }
.form-success__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.form-success:focus { outline: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--night); padding: 72px 0 44px; border-top: 1px solid var(--line-night); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; } }
.footer__brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .08em; font-variation-settings: "opsz" 36, "SOFT" 100; }
.footer__brand .footer__emblem { width: 64px; height: 64px; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.footer__motto {
  margin-top: 18px;
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 100;
  font-size: 1.6rem; color: var(--peach);
}
.footer__desc { margin-top: 8px; color: var(--text-light-soft); max-width: 40ch; font-size: .95rem; }
.footer__h { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); margin-bottom: 12px; }
.footer__col ul { display: grid; gap: 2px; }
.footer__col a { display: inline-block; padding: 6px 0; color: var(--text-light-soft); text-decoration: none; font-size: .95rem; transition: color .4s; }
.footer__col a:hover { color: var(--cream); }
.footer__links { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { color: var(--text-light-soft); text-decoration: none; font-size: .92rem; padding: 6px 0; }
.footer__links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin-top: 18px; font-size: .85rem; line-height: 1.6; color: var(--text-light-soft); max-width: 92ch; }
.footer__copy { margin-top: 18px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--text-light-soft); }

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP (enlace: ../comun/swts-funcional.js)
   ========================================================= */
.wa-float {
  position: fixed; z-index: 80;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  color: #25D366;
  background: rgba(10, 7, 18, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .55), 0 14px 34px -10px rgba(10, 7, 18, .7), 0 0 26px rgba(37, 211, 102, .22);
  transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft), opacity .4s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, .6);
  animation: waRipple 4.8s var(--ease-breath) infinite;
  pointer-events: none;
}
@keyframes waRipple { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .8), 0 18px 40px -10px rgba(10, 7, 18, .7), 0 0 36px rgba(37, 211, 102, .35); }
.wa-float:focus-visible { outline-color: #25D366; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* =========================================================
   APRENDE · la historia de las ideas (luz de mañana)
   Todo el texto vive en el HTML (un nodo por texto, para el
   selector ES/EN/FR). Aquí solo hay forma y movimiento suave.
   ========================================================= */
.learn {
  overflow-x: clip;
  isolation: isolate;
  padding-top: clamp(96px, 12vw, 164px);
  interpolate-size: allow-keywords;
  background:
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(253, 186, 116, .2), rgba(253, 186, 116, 0) 70%),
    radial-gradient(ellipse 55% 36% at 100% 52%, rgba(160, 112, 208, .1), rgba(160, 112, 208, 0) 70%),
    radial-gradient(ellipse 50% 30% at 0% 86%, rgba(253, 186, 116, .1), rgba(253, 186, 116, 0) 70%),
    var(--cream);
}
/* Amanecer: un arco de horizonte que abre el capítulo */
.learn__dawn {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0;
  height: clamp(70px, 10vw, 150px);
  pointer-events: none;
}
.learn__dawn::after {
  /* centrado con márgenes: sunBreath anima transform */
  content: ""; position: absolute; left: 50%; top: 0; width: min(90vw, 900px); aspect-ratio: 3 / 1;
  margin: calc(min(90vw, 900px) / -6) 0 0 calc(min(90vw, 900px) / -2);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(253, 186, 116, .34) 0%, rgba(253, 186, 116, .1) 38%, rgba(253, 186, 116, 0) 68%);
  animation: sunBreath 12s var(--ease-breath) infinite alternate;
}
.learn__arc { width: 100%; height: 100%; }

.learn__eyebrow { display: flex; align-items: center; gap: 12px; }
.learn__glyph {
  width: 26px; height: 10px; flex: none; overflow: visible;
  fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.learn__head h2 { max-width: 14ch; }
.learn__head .lead { max-width: 40ch; }

/* Rótulo de subsección (h3 en mono, con una línea de horizonte) */
.learn__label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  font-variation-settings: normal;
  letter-spacing: .2em; line-height: 1.4; text-transform: uppercase;
  color: var(--violet-deep);
}
.learn__label::before {
  content: ""; flex: none; width: 22px; height: 1.5px; border-radius: 2px;
  background: var(--orange);
}
.learn__label--light { color: var(--peach); }
.learn__label--light::before { background: var(--peach); box-shadow: 0 0 10px rgba(253, 186, 116, .8); }

/* ---------- Glosario ---------- */
.gloss {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 30px; align-items: center;
  padding: clamp(26px, 4.6vw, 60px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FBF8F3 0%, #F4EDF5 55%, #EFE6F6 100%);
  border: 1px solid var(--line-cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 80px -56px rgba(96, 48, 144, .45);
}
.gloss::after {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 186, 116, .2), rgba(253, 186, 116, 0) 62%);
  pointer-events: none;
}
@media (min-width: 900px) { .gloss { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.gloss__term {
  margin: 22px 0 18px;
  font-family: var(--f-display); font-style: italic; font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em;
  color: var(--ink);
}
.gloss__def { color: var(--ink-soft); max-width: 60ch; font-size: clamp(1rem, 1.25vw, 1.08rem); }
.gloss__fig { margin: 0; max-width: 520px; width: 100%; justify-self: center; }
.gloss__svg { width: 100%; height: auto; overflow: visible; }
.gl-ticks { fill: none; stroke: var(--violet-deep); stroke-opacity: .55; stroke-width: 1.2; stroke-linecap: round; }
.gl-dot { animation: glSlide 11s var(--ease-breath) infinite alternate; }
@keyframes glSlide { from { transform: translateX(-150px); } to { transform: translateX(150px); } }
.gl-field { fill: none; stroke: var(--violet); stroke-opacity: .42; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.gl-arrow { fill: none; stroke: var(--violet-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gl-vector { transform-box: view-box; transform-origin: 220px 216px; animation: glWind 9s var(--ease-breath) infinite alternate; }
@keyframes glWind { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }

/* ---------- Línea de tiempo (placa de noche) ---------- */
.tl {
  --tl-pad: clamp(20px, 4vw, 52px);
  --tl-gap: 44px;
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(22px, 3vw, 28px);
  padding: var(--tl-pad) 0 calc(var(--tl-pad) - 8px);
  border-radius: var(--radius-lg);
  background: var(--surface); color: var(--cream);
  box-shadow: 0 60px 120px -60px rgba(96, 48, 144, .6);
}
.tl::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(160, 112, 208, .22), transparent 70%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(234, 88, 12, .12), transparent 70%),
    linear-gradient(rgba(245, 241, 234, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 234, .035) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}
.tl :focus-visible { outline-color: var(--peach); }
.tl__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin: 0 var(--tl-pad); padding-bottom: 18px;
  border-bottom: 1px solid var(--line-night);
}
.tl__ctrl { display: none; align-items: center; gap: 12px; }
.tl__hint { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-light-soft); margin-right: 4px; }
.tl__progress { position: relative; width: clamp(80px, 9vw, 132px); height: 2px; margin-right: 8px; border-radius: 2px; background: rgba(245, 241, 234, .14); overflow: hidden; }
.tl__progress i {
  position: absolute; inset: 0; transform-origin: 0 50%;
  transform: scaleX(max(.1, var(--tl-p, 0)));
  background: linear-gradient(90deg, var(--peach), var(--orange));
  box-shadow: 0 0 10px rgba(253, 186, 116, .7);
  transition: transform .35s var(--ease-soft);
}
.tl__btn {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(245, 241, 234, .06); color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .26);
  transition: background-color .4s, box-shadow .4s, opacity .4s, transform .6s var(--ease-soft);
}
.tl__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tl__btn:hover { background: rgba(245, 241, 234, .14); box-shadow: inset 0 0 0 1px rgba(253, 186, 116, .75); transform: translateY(-2px); }
.tl.is-start .tl__btn[data-tl="-1"], .tl.is-end .tl__btn[data-tl="1"] { opacity: .3; pointer-events: none; }
.no-js .tl__btn { display: none; }

/* Móvil: vertical, con la línea a la izquierda */
.tl__viewport { padding: 28px var(--tl-pad) 0; border-radius: 18px; }
.tl__viewport:focus-visible { outline-offset: -4px; }
.tl__track { display: grid; }
.tl__item {
  position: relative;
  display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 16px;
  padding-bottom: 38px;
}
.tl__item::before {
  content: ""; position: absolute; left: 10.5px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(253, 186, 116, .55), rgba(160, 112, 208, .45));
}
.tl__item:first-child::before { top: 1.1rem; }
.tl__item:last-child::before { bottom: auto; height: 1.1rem; }
.tl__node { grid-column: 1; grid-row: 1; position: relative; min-height: 22px; }
.tl__node::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--peach);
  box-shadow: 0 0 0 4px rgba(253, 186, 116, .14), 0 0 16px rgba(253, 186, 116, .8);
  transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft);
}
.tl__year, .tl__title, .tl__text { grid-column: 2; min-width: 0; }
.tl__year {
  grid-row: 1;
  font-family: var(--f-display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1; letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 0 30px rgba(253, 186, 116, .28);
}
.tl__title {
  grid-row: 2;
  margin: 14px 0 10px;
  font-family: var(--f-display); font-weight: 380; font-variation-settings: "opsz" 36, "SOFT" 100;
  font-size: clamp(1.22rem, 1.55vw, 1.4rem); line-height: 1.24; letter-spacing: -.005em;
  color: var(--cream);
}
.tl__text { grid-row: 3; font-size: .95rem; line-height: 1.64; color: var(--text-light-soft); }
.tl__item--now .tl__year { font-style: italic; color: var(--peach); }
.tl__item--now .tl__node::after { animation: pulse 2.8s var(--ease-breath) infinite; }
.tl__item:hover .tl__node::after { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(253, 186, 116, .16), 0 0 24px rgba(253, 186, 116, .95); }

@media (max-width: 599px) {
  .tl { margin-inline: calc(var(--gutter) * -1 + 8px); border-radius: 26px; }
}

/* Escritorio: carril horizontal con desplazamiento propio */
@media (min-width: 960px) {
  .tl__ctrl { display: flex; }
  .tl__viewport {
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--tl-pad);
    scrollbar-width: none;
    padding: 36px var(--tl-pad) 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--tl-pad) * .6), #000 calc(100% - var(--tl-pad) * 1.8), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--tl-pad) * .6), #000 calc(100% - var(--tl-pad) * 1.8), transparent 100%);
  }
  .tl__viewport::-webkit-scrollbar { display: none; }
  .tl.is-start .tl__viewport {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - var(--tl-pad) * 1.8), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - var(--tl-pad) * 1.8), transparent 100%);
  }
  .tl__track { grid-auto-flow: column; grid-auto-columns: clamp(330px, 27vw, 400px); width: max-content; padding-right: var(--tl-pad); }
  .tl__item { display: flex; flex-direction: column; padding: 0 var(--tl-gap) 0 0; scroll-snap-align: start; }
  .tl__item::before { display: none; }
  .tl__node { height: 22px; margin: 22px 0 24px; }
  .tl__node::before {
    content: ""; position: absolute; left: 0; right: calc(var(--tl-gap) * -1); top: 50%; height: 1px;
    background: linear-gradient(90deg, rgba(253, 186, 116, .6), rgba(160, 112, 208, .5));
  }
  .tl__node::after { left: 0; margin-left: 0; }
  .tl__item:first-child .tl__node::before { left: 6px; }
  .tl__item--now .tl__node::before {
    background: repeating-linear-gradient(90deg, rgba(253, 186, 116, .7) 0 6px, transparent 6px 12px);
    -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent);
    mask-image: linear-gradient(90deg, #000 30%, transparent);
  }
  .tl__title { margin-top: 0; }
}

/* ---------- Para saber más ---------- */
.deep { margin-top: clamp(72px, 10vw, 128px); }
.deep > .learn__label { margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line-cream); }
.deep__grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .deep__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.deep-card {
  display: flex; flex-direction: column;
  padding: 12px 12px clamp(26px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: #FBF8F3; border: 1px solid var(--line-cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -40px rgba(96, 48, 144, .35);
  transition: transform 1s var(--ease-soft), box-shadow 1s var(--ease-soft), opacity var(--slow) var(--ease-soft);
}
.deep-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 70px -40px rgba(96, 48, 144, .5); }
.deep-card h4 {
  margin: 26px clamp(12px, 1.6vw, 22px) 12px;
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em;
  color: var(--ink);
}
.deep-card p { margin: 0 clamp(12px, 1.6vw, 22px); color: var(--ink-soft); font-size: .98rem; }
.deep-card__art {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0; aspect-ratio: 16 / 11;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #120C1E;
}
.deep-card__art::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(245, 241, 234, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 241, 234, .04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.deep-card__art > * { position: relative; z-index: 1; }

/* Tableta: ilustración a la izquierda, texto a la derecha */
@media (min-width: 600px) and (max-width: 859px) {
  .deep-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: 6px; padding: 12px; }
  .deep-card__art { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 280px; }
  .deep-card h4 { margin-top: 20px; }
  .deep-card p { margin-bottom: 20px; }
}

/* P1 · la cavidad Tierra–ionosfera */
.bell { display: block; width: 100%; height: 100%; }
.bell__iono-glow { fill: rgba(160, 112, 208, .12); }
.bell__iono { fill: none; stroke: var(--violet); stroke-opacity: .75; stroke-width: 1.2; stroke-dasharray: 2 5; }
.bell__earth { stroke: rgba(253, 186, 116, .8); stroke-width: 1.4; }
.bell__wave { fill: none; stroke: var(--peach); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(253, 186, 116, .75)); }
.bell__wave--a { animation: standA 1.9s var(--ease-breath) infinite alternate; }
.bell__wave--b { opacity: 0; animation: standB 1.9s var(--ease-breath) infinite alternate; }
@keyframes standA { from { opacity: 1; } to { opacity: 0; } }
@keyframes standB { from { opacity: 0; } to { opacity: 1; } }
.bell__flash { fill: url(#bellGlow); opacity: 0; animation: flash 4.4s ease-out infinite; animation-delay: calc(var(--f) * 1.1s); }
.bell__spark { fill: #FFF4E4; opacity: 0; animation: flash 4.4s ease-out infinite; animation-delay: calc(var(--f) * 1.1s); }
@keyframes flash { 0%, 100% { opacity: 0; } 3% { opacity: 1; } 6% { opacity: .35; } 8% { opacity: .9; } 18% { opacity: 0; } }

/* P2 · el plasma de argón y su «firma» de luz */
.deep-card__art--plasma img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 36% 34%;
  animation: photoBreath 14s var(--ease-breath) infinite alternate;
}
.deep-card__art--plasma::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 7, 18, .78) 0%, rgba(10, 7, 18, 0) 42%);
}
.deep-card__art--plasma .spectrum {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px;
  width: calc(100% - 32px); height: 16px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(245, 241, 234, .14), 0 0 24px rgba(160, 112, 208, .35);
}
.spectrum__lines { filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6)); animation: specGlow 5s var(--ease-breath) infinite alternate; }
@keyframes specGlow { from { opacity: .72; } to { opacity: 1; } }

/* P3 · cubo de Metatrón (13 círculos, 78 líneas) */
.deep-card__art--metatron { background: radial-gradient(circle at 50% 50%, #2A1745 0%, #120C1E 68%); }
.deep-card__art--metatron::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(253, 186, 116, .22), rgba(253, 186, 116, 0) 65%);
  animation: breathe 7.2s var(--ease-breath) infinite;
}
.metatron { position: absolute; inset: 0; margin: auto; width: 100%; height: 86%; overflow: visible; }
/* el viewBox está centrado en 0,0: con view-box el origen del giro es 0 0 */
.metatron__spin { transform-box: view-box; transform-origin: 0 0; animation: spin 140s linear infinite; }
.metatron__circles circle { fill: none; stroke: rgba(160, 112, 208, .7); stroke-width: 1.1; }
.metatron__lines line {
  stroke: rgba(253, 186, 116, .62); stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.8s var(--ease-soft) .35s;
}
html:not(.no-js) .deep-card:not(.is-in) .metatron__lines line { stroke-dashoffset: 1; }
.metatron__nodes circle { fill: #FFF4E4; filter: drop-shadow(0 0 3px rgba(253, 186, 116, .9)); }

/* ---------- Preguntas frecuentes ---------- */
.faq { margin-top: clamp(72px, 10vw, 128px); display: grid; gap: 30px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(280px, .78fr) 1.4fr; gap: 72px; align-items: start; }
  .faq__aside { position: sticky; top: 112px; }
}
.faq__aside .learn__label { margin-bottom: 24px; }
@media (max-width: 959px) { .spectro { aspect-ratio: 2 / 1; max-width: 560px; } }
/* Espectrograma: las cinco notas de la Tierra como bandas de luz (0–40 Hz) */
.spectro {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; max-width: 420px;
  border-radius: 22px;
  background: #120C1E;
  box-shadow: 0 40px 80px -50px rgba(96, 48, 144, .7);
}
.spectro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(245, 241, 234, .35), transparent 60%),
    radial-gradient(1px 1px at 34% 71%, rgba(245, 241, 234, .3), transparent 60%),
    radial-gradient(1px 1px at 57% 14%, rgba(245, 241, 234, .3), transparent 60%),
    radial-gradient(1px 1px at 76% 58%, rgba(245, 241, 234, .28), transparent 60%),
    radial-gradient(1px 1px at 88% 30%, rgba(245, 241, 234, .3), transparent 60%),
    radial-gradient(1px 1px at 46% 90%, rgba(245, 241, 234, .25), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(96, 48, 144, .4), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(160, 112, 208, .16), transparent 70%),
    linear-gradient(rgba(245, 241, 234, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 234, .035) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, auto, auto, auto, auto, 20px 20px, 20px 20px;
}
.spectro::after {
  content: ""; position: absolute; left: 16px; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(180deg, rgba(245, 241, 234, 0), rgba(245, 241, 234, .3));
}
.spectro__band {
  position: absolute; left: 26px; right: 0;
  bottom: calc(8% + var(--hz) / 40 * 84%);
  height: calc(5px + var(--w) * 9px);
  transform: translateY(50%);
  opacity: calc(.3 + var(--w) * .7);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 214, .9) 0, rgba(253, 186, 116, .55) 29px, rgba(255, 228, 196, .95) 67px, rgba(253, 186, 116, .5) 101px, rgba(255, 236, 214, .9) 137px),
    repeating-linear-gradient(90deg, rgba(160, 112, 208, 0) 0, rgba(160, 112, 208, .6) 37px, rgba(234, 88, 12, .45) 63px, rgba(160, 112, 208, 0) 89px);
  box-shadow: 0 0 16px 3px rgba(253, 186, 116, calc(var(--w) * .35)), 0 0 34px 8px rgba(160, 112, 208, calc(var(--w) * .22));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 88%, transparent 100%);
  filter: blur(1.6px);
  animation: specDrift 36s linear infinite;
}
@keyframes specDrift { from { background-position: 0 0, 0 0; } to { background-position: -1370px 0, -890px 0; } }

.faq__list { counter-reset: faq; border-bottom: 1px solid var(--line-cream); }
.faq__item { counter-increment: faq; border-top: 1px solid var(--line-cream); }
.faq__item summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 24px 52px 24px 46px;
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: clamp(1.18rem, 1.9vw, 1.5rem); line-height: 1.28; letter-spacing: -.01em;
  color: var(--ink);
  transition: color .4s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: counter(faq, decimal-leading-zero);
  position: absolute; left: 0; top: calc(24px + .45em);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; line-height: 1;
  color: var(--violet-deep);
}
.faq__item summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.5px solid var(--violet-deep); border-bottom: 1.5px solid var(--violet-deep);
  transform: rotate(45deg);
  transition: transform .6s var(--ease-soft), margin .6s var(--ease-soft);
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item summary:hover { color: var(--violet-deep); }
.faq__item summary:focus-visible { outline-offset: 2px; }
.faq__item p { padding: 0 52px 28px 46px; max-width: 70ch; color: var(--ink-soft); }
@supports selector(::details-content) {
  .faq__item::details-content {
    block-size: 0; overflow-y: clip;
    transition: block-size .7s var(--ease-soft), content-visibility .7s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}
@media (max-width: 599px) {
  .faq__item summary { padding: 22px 38px 22px 38px; }
  .faq__item summary::before { top: calc(22px + .45em); }
  .faq__item summary::after { right: 6px; }
  .faq__item p { padding: 0 8px 26px 38px; }
}

.learn__sources {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 20px; border-top: 1px solid var(--line-cream);
  max-width: 112ch;
  font-family: var(--f-mono); font-size: .7rem; line-height: 1.8; letter-spacing: .02em;
  color: var(--ink-soft);
}

/* Fuera de pantalla, las animaciones decorativas se detienen (clase puesta por app.js) */
.learn.is-offscreen *, .learn.is-offscreen *::before, .learn.is-offscreen *::after, .learn.is-offscreen .learn__dawn::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .learn__dawn::after, .gl-dot, .gl-vector, .bell__wave, .metatron__spin, .spectro__band,
  .spectrum__lines, .deep-card__art img, .deep-card__art--metatron::after, .tl__item--now .tl__node::after { animation: none !important; }
  .bell__wave--a { opacity: 1; }
  .bell__wave--b { opacity: 0; }
  .bell__flash, .bell__spark { animation: none !important; opacity: .85; }
  .metatron__lines line { stroke-dashoffset: 0 !important; }
}

/* Menú móvil en pantallas bajas: que quepan los siete enlaces */
@media (max-height: 760px) and (max-width: 1199px) {
  .menu__panel { padding-top: 92px; }
  .menu__links { gap: 2px; }
  .menu__links a { font-size: 1.8rem; padding: 4px 0; }
  .menu__cta { margin-top: 24px; }
}

/* =========================================================
   Movimiento reducido: sin parallax ni scrub, imagen fija
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__video { display: none; }
  [data-hero], [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .quote__layers > * { transform: none !important; }
  .q-mist { opacity: 1 !important; }
  .q-mist--right { transform: scaleX(-1) !important; }
  .quote__text .w { opacity: 1; filter: none; transform: none; }
  .scroll-hint__line i { top: 30%; }
  .photo img, .eq-card__media img { transform: none !important; }
  [data-brand] { transform: none !important; opacity: 1 !important; }
  /* Rótulos del hero: los tres visibles, en fila */
  .hero__rail { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .hero__rail li { grid-area: auto; opacity: 1 !important; animation: none !important; transform: none !important; }
  .caps__pulse, .wa-float::before { animation: none !important; }
  .heart__ring { opacity: .3; transform: scale(calc(.6 + var(--r) * .2)); }
  /* Kit: el póster queda como foto fija (el JS no reproduce los loops) */
}

/* Menú abierto: la barra vuelve a tono noche sobre el panel */
body.menu-open .nav .nav__bar { background: transparent; box-shadow: none; color: var(--cream); }
body.menu-open .nav .nav__bar::before { opacity: 0; }
body.menu-open .nav .burger { background: rgba(245, 241, 234, .08); }
body.menu-open .nav .burger span { background: var(--cream); }

/* ── Hero en móvil: el generador en su propio cuadro, centrado y nítido (pedido de Emilio, 29-sep) ──
   En vertical el video de fondo solo enseñaba la franja central (cortinas) y el maletín quedaba cortado
   a la derecha y tapado por el texto. Aquí el video pasa a ser un panel propio entre los botones y las
   cifras, encuadrado sobre el maletín (que en el cuadro original está en ~52–92 % del ancho). */
@media (max-width: 759px) {
  .hero { background: var(--night); padding-bottom: 8px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(10, 7, 18, .55) 0%, rgba(10, 7, 18, .35) 40%, rgba(10, 7, 18, .9) 100%),
      url("media/image1.webp") 30% 40% / cover no-repeat;
    filter: blur(2px) saturate(.9);
    transform: scale(1.06);
  }
  .hero__rail { order: 0; }
  .hero__content { order: 1; flex: 0 0 auto; padding-bottom: 22px; }
  .hero__media {
    order: 2; position: relative; inset: auto; z-index: 1;
    margin: 0 var(--gutter) 18px;
    aspect-ratio: 6 / 5;
    border-radius: 26px; overflow: hidden;
    background: #14101F url("media/image1.webp") 100% 55% / cover no-repeat;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(245, 241, 234, .14);
  }
  .hero__video { transform: none; object-position: 100% 55%; }
  .hero__veil {
    background: linear-gradient(180deg, rgba(10, 7, 18, 0) 70%, rgba(10, 7, 18, .35) 100%);
  }
  .hero__base { order: 3; }
}

/* Visuales compartidos de «Aprende» (comun/aprende-visuales.css): marco oscuro tipo pantalla sobre el fondo claro */
:root:root { --apv-frame-bg: #17121F; --apv-frame-line: rgba(23, 18, 31, .18); }

/* =========================================================
   «EL KIT, PIEZA POR PIEZA» · dos bloques: Quantum Leap y Quantum Family (30-sep-2026)
   Fotos de estudio claras: el marco toma el papel del estudio y la viñeta oscura se suaviza.
   ========================================================= */
#kit .kc-kit__h { margin: 0 0 clamp(18px, 2.4vw, 30px); font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
#kit .kc-kit__h--next { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--kc-line); }
#kit .kc-kit__fig { background: #F1E9DD; }
#kit .kc-kit__fig::after { background: radial-gradient(120% 90% at 50% 40%, transparent 62%, rgba(74, 52, 30, .1)); }
#kit .kc-piece__t { font-variation-settings: "opsz" 48, "SOFT" 100; }
