:root {
  --white: #ffffff;
  --black: #000000;
  --indigo: #0a2cb0;
  --violet: #4b16e9;
  --lime: #8ce815;

  --ink: #0c0d12;
  --ink-2: #2d3040;
  --muted: #6c7080;
  --muted-2: #8b8e9b;
  --line: #e5e7ef;
  --line-strong: #d7dae5;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --surface-indigo: #eff2ff;
  --surface-violet: #f2efff;

  --shell: 1180px;
  --page-pad: clamp(1rem, 4vw, 2.5rem);
  --header-h: 70px;
  --section-space: clamp(54px, 6vw, 76px);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: clamp(28px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }

::selection { background: rgba(75, 22, 233, .16); color: var(--black); }

.shell {
  width: min(100% - (var(--page-pad) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--black);
  color: var(--white);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: none; }

/* ---------------- Header · Liquid Glass ---------------- */
.site-header {
  position: relative;
  z-index: 200;
  top: auto;
  height: calc(var(--header-h) - 16px);
  margin-top: 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  background: transparent;
}

.nav-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100% - (var(--page-pad) * 2), var(--shell));
  height: 100%;
  margin-inline: auto;
  padding-inline: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.24) 44%, rgba(238,241,255,.28) 100%);
  box-shadow:
    0 10px 32px rgba(36,43,92,.08),
    0 2px 8px rgba(21,24,52,.045),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(75,22,233,.055),
    inset 1px 0 0 rgba(255,255,255,.54),
    inset -1px 0 0 rgba(255,255,255,.34);
  backdrop-filter: blur(26px) saturate(1.75) brightness(1.045);
  -webkit-backdrop-filter: blur(26px) saturate(1.75) brightness(1.045);
  transform: translateZ(0);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

/* Reflexión especular: simula la refracción del Liquid Glass sin cargar shaders. */
.nav-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -70% -18%;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 20% 18%, rgba(255,255,255,.98), rgba(255,255,255,.36) 32%, transparent 68%),
    radial-gradient(34% 46% at 78% 82%, rgba(153,164,255,.20), transparent 72%);
  filter: blur(10px);
  opacity: .68;
  transform: translate3d(-5%,0,0) rotate(-3deg);
  animation: liquidGlassFlow 10s var(--ease-smooth) infinite alternate;
}

.nav-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    inset 0 0 0 1px rgba(255,255,255,.16),
    inset 0 -10px 24px rgba(88,100,182,.035);
}

.nav-shell > * { position: relative; z-index: 1; }



@keyframes liquidGlassFlow {
  from { transform: translate3d(-7%,-1%,0) rotate(-4deg); }
  to { transform: translate3d(7%,2%,0) rotate(3deg); }
}

.brand {
  justify-self: start;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-symbol {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 25deg, var(--indigo), var(--violet), var(--lime), var(--indigo));
  box-shadow: 0 7px 20px rgba(75,22,233,.17);
}
.brand-symbol::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: rgba(255,255,255,.94);
}
.brand-symbol span {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--violet);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text strong { font-size: .9rem; letter-spacing: -.025em; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: .65rem; font-weight: 560; }

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.desktop-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #444858;
  font-size: .78rem;
  font-weight: 650;
  transition: color 180ms ease, background-color 180ms ease;
}
.desktop-nav a:hover { color: var(--ink); background: rgba(255,255,255,.52); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

.button {
  --btn-bg: var(--ink);
  --btn-color: var(--white);
  --btn-border: transparent;
  position: relative;
  isolation: isolate;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 20px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.014em;
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

/* Un solo destello recorre el perímetro. La banda es más gruesa y no hay una segunda línea persiguiéndola. */
@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}

.button::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 48%);
  opacity: .52;
  transition: opacity 240ms ease;
}

.button::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: var(--edge-thickness, 2.35px);
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--edge-angle),
    transparent 0deg 308deg,
    var(--edge-soft, rgba(255,255,255,.14)) 318deg,
    var(--edge-color, rgba(255,255,255,.78)) 330deg,
    var(--edge-hot, rgba(255,255,255,.98)) 340deg 348deg,
    var(--edge-color, rgba(255,255,255,.78)) 356deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .96;
  filter: drop-shadow(0 0 5px var(--edge-glow, rgba(255,255,255,.28)));
  animation: edgeLightTravel 3.85s linear infinite;
}

@keyframes edgeLightTravel {
  from { --edge-angle: 360deg; }
  to { --edge-angle: 0deg; }
}

.button > span { position: relative; z-index: 4; }
.button:hover { transform: translateY(-2px); }
.button:hover::before { opacity: .72; }
.arrow { transition: transform 240ms var(--ease-out); }
.button:hover .arrow { transform: translate(2px,-2px); }

.button--nav {
  --btn-bg: var(--indigo);
  --edge-color: #708cff;
  --edge-hot: #dfe6ff;
  --edge-soft: rgba(51,87,255,.28);
  --edge-glow: rgba(74,103,255,.42);
  --edge-thickness: 2.2px;
  min-height: 39px;
  padding-inline: 15px;
  box-shadow: 0 9px 22px rgba(10,44,176,.18);
  font-size: .8rem;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(255,255,255,.30));
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(16,20,50,.055), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.55);
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 240ms var(--ease-smooth), opacity 180ms ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: var(--page-pad);
  right: var(--page-pad);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(246,247,255,.60));
  box-shadow: 0 24px 64px rgba(18,23,56,.15), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: .94rem;
  font-weight: 650;
}
.mobile-menu a:hover { background: var(--surface-soft); }

.button:focus-visible, .menu-toggle:focus-visible, .video-play:focus-visible, a:focus-visible {
  outline: 3px solid rgba(75,22,233,.25);
  outline-offset: 3px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: clamp(20px, 3vw, 34px) 0 clamp(34px, 4vw, 52px);
  overflow: hidden;
  background: #fff;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: #fff;
}
.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(75,22,233,.075) 0%, rgba(75,22,233,.025) 27%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 11%, #f5f5ff 25%, #ececff 42%, #e4e5ff 57%, #f1f1ff 76%, #fafaff 89%, #ffffff 100%);
}

/* Cuadrícula grande: recrea la capa SVG tenue de la referencia sin depender de assets externos. */
.hero-grid {
  position: absolute;
  inset: -4% -4% 0;
  opacity: .58;
  background-image:
    linear-gradient(rgba(48,55,120,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,55,120,.055) 1px, transparent 1px);
  background-size: clamp(88px, 8vw, 122px) clamp(88px, 8vw, 122px);
  background-position: 50% 7%;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 19%, #000 73%, transparent 96%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 19%, #000 73%, transparent 96%);
}

/* Líneas secundarias muy finas para añadir profundidad sin competir con el contenido. */
.hero-lines {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    repeating-linear-gradient(to bottom, rgba(31,38,90,.028) 0 1px, transparent 1px 36px),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.34) 48%, rgba(255,255,255,.34) 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 28%, #000 72%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 28%, #000 72%, transparent 95%);
}

/* Masa luminosa detrás de los puntos. Da volumen y evita que el canvas se sienta plano. */
.hero-light-field {
  position: absolute;
  left: 50%;
  top: 47%;
  width: min(92vw, 1240px);
  height: min(48vw, 620px);
  transform: translate(-50%,-50%);
  border-radius: 50%;
  opacity: .76;
  filter: blur(34px);
  background:
    radial-gradient(ellipse at 40% 52%, rgba(255,255,255,.92) 0 14%, rgba(255,255,255,.34) 36%, transparent 65%),
    radial-gradient(ellipse at 68% 48%, rgba(90,78,255,.12), transparent 56%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .56;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent 7%, #000 22%, #000 73%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 7%, #000 22%, #000 73%, transparent 95%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(76px);
  opacity: .27;
}
.hero-orb--one {
  width: min(70vw, 960px);
  height: min(70vw, 960px);
  left: -31%;
  top: 22%;
  background: radial-gradient(circle, rgba(75,22,233,.17), transparent 69%);
}
.hero-orb--two {
  width: min(62vw, 820px);
  height: min(62vw, 820px);
  right: -26%;
  top: 31%;
  background: radial-gradient(circle, rgba(10,44,176,.14), transparent 70%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .018;
  mix-blend-mode: multiply;
  background-image: url("../img/noise.svg");
  background-size: 160px 160px;
}
.hero-bottom-fade {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.92) 67%, #fff 96%);
}


.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy { display: flex; flex-direction: column; align-items: center; }
.glass-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(10,44,176,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: #2f3350;
  box-shadow: 0 8px 28px rgba(10,44,176,.065), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.eyebrow {
  margin: 0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .095em;
}
.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(140,232,21,.15);
}
.hero-concept {
  margin: 18px 0 0;
  color: #484c60;
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  font-weight: 620;
  letter-spacing: -.02em;
}
.hero h1 {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(2.9rem, 6.3vw, 5.5rem);
  line-height: 1.025;
  letter-spacing: -.064em;
  padding-bottom: .08em;
  overflow: visible;
  font-weight: 660;
}
.hero h1 .hero-accent {
  color: var(--violet);
}
.hero-subtitle {
  margin: 14px 0 0;
  color: #3a3e51;
  font-size: clamp(.9rem, 1.3vw, 1.02rem);
  font-weight: 650;
  letter-spacing: -.017em;
}
.hero-description {
  max-width: 680px;
  margin: 11px 0 0;
  color: #5f6374;
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  line-height: 1.58;
  letter-spacing: -.016em;
}
.hero-actions { margin-top: 18px; }
.button--hero {
  --btn-bg: rgba(255,255,255,.88);
  --btn-color: var(--indigo);
  --btn-border: rgba(10,44,176,.14);
  --edge-color: #5f33ee;
  --edge-hot: #b7a6ff;
  --edge-soft: rgba(75,22,233,.24);
  --edge-glow: rgba(75,22,233,.30);
  --edge-thickness: 2.45px;
  min-height: 51px;
  box-shadow: 0 12px 34px rgba(40,35,120,.14), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.button--hero:hover { box-shadow: 0 16px 40px rgba(40,35,120,.18), inset 0 1px 0 #fff; }

.product-stage {
  position: relative;
  width: min(100%, 860px);
  height: clamp(292px, 32vw, 352px);
  margin-top: clamp(6px, 1vw, 14px);
  display: grid;
  place-items: center;
}
.stage-ring {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(75,22,233,.11);
}
.stage-ring--one { width: min(50vw, 460px); height: min(50vw, 460px); }
.stage-ring--two { width: min(39vw, 348px); height: min(39vw, 348px); border-style: dashed; opacity: .8; animation: slowSpin 26s linear infinite; }
@keyframes slowSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.stage-chip {
  position: absolute;
  z-index: 4;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(14,16,27,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #3d4155;
  box-shadow: 0 10px 30px rgba(17,22,52,.08);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  font-size: .64rem;
  font-weight: 820;
  letter-spacing: .08em;
}
.stage-chip span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.stage-chip--left { left: 12%; top: 38%; animation: chipFloatA 5.8s ease-in-out infinite; }
.stage-chip--right { right: 11%; top: 56%; animation: chipFloatB 6.4s ease-in-out infinite; }
@keyframes chipFloatA { 50% { transform: translate3d(0,-8px,0); } }
@keyframes chipFloatB { 50% { transform: translate3d(0,9px,0); } }

.book-scene {
  position: relative;
  width: 224px;
  height: 320px;
  perspective: 1000px;
  transform: translateY(7px);
}
.book-shadow {
  position: absolute;
  width: 205px;
  height: 56px;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34,30,86,.23), transparent 70%);
  filter: blur(12px);
}
.book {
  position: absolute;
  inset: 4px 11px 22px 12px;
  transform: rotateY(-14deg) rotateX(3deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 22px 28px rgba(33,29,86,.14));
  animation: bookFloat 5.4s var(--ease-smooth) infinite;
}
@keyframes bookFloat {
  0%, 100% { transform: rotateY(-14deg) rotateX(3deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(2deg) rotateZ(-.5deg) translateY(-10px); }
}
.book-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 7px 15px 15px 7px;
  background: #111421;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 26px rgba(0,0,0,.08);
  transform: translateZ(13px);
}
.book-cover-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  user-select: none;
  -webkit-user-drag: none;
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 12%, transparent 82%, rgba(255,255,255,.08));
  mix-blend-mode: multiply;
  opacity: .42;
}
.book-spine {
  position: absolute;
  width: 19px;
  top: 7px;
  bottom: 6px;
  left: -10px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #061767, #0a2cb0);
  transform: rotateY(76deg) translateZ(3px);
  transform-origin: right center;
}
.book-pages {
  position: absolute;
  top: 9px;
  bottom: 5px;
  right: -9px;
  width: 16px;
  border-radius: 0 8px 8px 0;
  background: repeating-linear-gradient(to right, #fff, #fff 2px, #e7e7ed 3px);
  transform: rotateY(72deg) translateZ(-2px);
  transform-origin: left center;
}


/* ---------------- Animated marker highlights ---------------- */
.marker-highlight {
  --marker-color-a: rgba(140,232,21,.46);
  --marker-color-b: rgba(140,232,21,.72);
  --marker-height: .54em;
  --marker-y: 84%;
  display: inline;
  position: relative;
  padding-inline: .035em;
  margin-inline: -.035em;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background-image: linear-gradient(96deg, var(--marker-color-a), var(--marker-color-b) 54%, rgba(140,232,21,.56));
  background-repeat: no-repeat;
  background-position: 0 var(--marker-y);
  background-size: 0% var(--marker-height);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 720ms cubic-bezier(.16,1,.3,1) var(--highlight-delay, 0ms);
}

.marker-highlight.is-highlighted {
  background-size: 100% var(--marker-height);
}

.marker-highlight--hero {
  --marker-height: .50em;
  --marker-y: 86%;
}

/* ---------------- Shared headings ---------------- */
.section-kicker {
  margin: 0;
  color: var(--indigo);
  font-size: .69rem;
  font-weight: 830;
  letter-spacing: .1em;
  line-height: 1.45;
}
.section-kicker--with-dot { display: flex; align-items: center; gap: 9px; }
.section-heading h2,
.problem-copy h2,
.offer-intro h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.065;
  letter-spacing: -.052em;
  font-weight: 650;
  padding-bottom: .07em;
  overflow: visible;
}
.section-heading--center { max-width: 840px; margin-inline: auto; text-align: center; }

.section-heading .video-message__second {
  display: inline-block;
  margin-top: .16em;
}
.section-heading--center h2 { margin: 8px auto 0; }


/* Protección tipográfica: evita recortes de ascendentes/descendentes con fuentes del sistema. */
.hero h1,
.section-heading h2,
.problem-copy h2,
.offer-intro h2 {
  text-wrap: balance;
  overflow: visible;
}
.hero-subtitle,
.hero-description,
.problem-copy p,
.offer-intro > p:last-child {
  overflow: visible;
}
.button > span,
.desktop-nav a,
.mobile-menu a {
  line-height: 1.25;
}

/* ---------------- Video ---------------- */
.video-section { padding: var(--section-space) 0; background: #fff; }
.video-shell { max-width: 980px; margin: clamp(22px, 3vw, 34px) auto 0; }
.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(14,16,27,.09);
  border-radius: clamp(24px, 3vw, 34px);
  background: #f3f3fb;
  box-shadow: 0 28px 80px rgba(32,35,74,.12), 0 1px 0 rgba(255,255,255,.95) inset;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #f9faff, #eeeaff 54%, #eef3ff); }
.video-gradient { position: absolute; inset: 0; background: radial-gradient(circle at 32% 34%, rgba(75,22,233,.24), transparent 31%), radial-gradient(circle at 72% 60%, rgba(10,44,176,.18), transparent 35%); }
.video-grid {
  position: absolute;
  inset: -20%;
  opacity: .5;
  background-image: linear-gradient(rgba(10,44,176,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(10,44,176,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: rotate(-5deg) scale(1.08);
}
.video-play {
  position: relative;
  z-index: 2;
  width: clamp(68px, 7vw, 88px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10,44,176,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.84);
  box-shadow: 0 15px 40px rgba(39,34,110,.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}
.video-play:hover { transform: scale(1.05); box-shadow: 0 18px 46px rgba(39,34,110,.2); }
.video-play span { width: 0; height: 0; margin-left: 5px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--violet); }
.video-placeholder-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.video-placeholder-copy small { color: var(--indigo); font-size: .62rem; font-weight: 830; letter-spacing: .11em; }
.video-placeholder-copy strong { color: #525667; font-size: .84rem; font-weight: 650; }
.video-meta { margin-top: 11px; display: flex; justify-content: flex-end; gap: 14px; color: #9a9ca7; font-size: .68rem; font-weight: 650; }

/* ---------------- Problem ---------------- */
.problem-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-space) 0;
  border-block: 1px solid #ececf4;
  background: linear-gradient(135deg, #fafbff 0%, #f1efff 51%, #f5f8ff 100%);
}
.problem-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.problem-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(75,22,233,.08); }
.problem-circle--one { width: 520px; height: 520px; right: -180px; top: -225px; box-shadow: 0 0 0 65px rgba(75,22,233,.022), 0 0 0 130px rgba(10,44,176,.014); }
.problem-circle--two { width: 280px; height: 280px; left: -150px; bottom: -160px; border-style: dashed; }
.problem-grid { display: grid; grid-template-columns: .72fr 1.65fr; gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.problem-kicker { padding-top: 8px; }
.problem-copy h2 { max-width: 820px; margin: 0; }
.problem-copy p {
  max-width: 700px;
  margin: 17px 0 0;
  color: #555a6c;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  line-height: 1.72;
  letter-spacing: -.016em;
}

/* ---------------- Offer ---------------- */
.offer-section { padding: var(--section-space) 0; background: #fff; }
.offer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.94);
  box-shadow: 0 30px 90px rgba(28,31,66,.095);
}
.offer-decoration { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.offer-glow { position: absolute; border-radius: 50%; filter: blur(8px); }
.offer-glow--a { width: 430px; height: 430px; right: -130px; top: -190px; background: radial-gradient(circle, rgba(75,22,233,.16), transparent 68%); }
.offer-glow--b { width: 390px; height: 390px; left: -190px; bottom: -220px; background: radial-gradient(circle, rgba(10,44,176,.10), transparent 68%); }
.offer-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image: linear-gradient(rgba(10,44,176,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,44,176,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 82% 18%, #000, transparent 36%);
}
.offer-content { padding: clamp(28px, 4vw, 50px); }
.offer-intro { max-width: 800px; }
.offer-intro h2 { margin: 9px 0 0; }
.offer-intro > p:last-child {
  max-width: 700px;
  margin: 15px 0 0;
  color: #555a6c;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.56;
}
.offer-intro strong { color: var(--ink); }

.benefits {
  margin: 23px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  list-style: none;
}
.benefits li {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #e7e8f0;
  border-radius: 15px;
  background: rgba(255,255,255,.76);
  color: #343745;
  font-size: .87rem;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.benefits li span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(140,232,21,.18);
  color: #376b00;
  font-size: .77rem;
  font-weight: 850;
}






















.lock { width: 13px; height: 10px; border: 1.7px solid currentColor; border-radius: 3px; position: relative; }
.lock::before { content: ""; position: absolute; width: 7px; height: 7px; left: 50%; top: -7px; transform: translateX(-50%); border: 1.7px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }

/* Logos de pago: compactos, a color y sin dependencias externas. */






/* Apple Pay */






/* Google Pay */






/* Visa */


/* Mastercard */






/* American Express */



/* Carnet */



/* ---------------- Footer ---------------- */
.site-footer { padding: 20px 0 22px; border-top: 1px solid #ececf1; background: #fff; }
.site-footer p { margin: 0; color: #7b7e8c; font-size: .74rem; text-align: center; }

/* ---------------- Motion ---------------- */
.js [data-hero-item], .js [data-reveal] { opacity: 0; }
.js.is-ready [data-hero-item] {
  animation: heroReveal 860ms var(--ease-out) both;
  animation-delay: calc(420ms + (var(--hero-index, 0) * 58ms));
}
@keyframes heroReveal {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0,18px,0) scale(.985); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}
[data-reveal].is-visible {
  animation: sectionReveal 860ms var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes sectionReveal {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0,18px,0) scale(.985); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; gap: 8px; }
  .menu-toggle { display: flex; }
  .problem-grid { grid-template-columns: 1fr; gap: 20px; }
  .problem-kicker { max-width: 500px; }
  .benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
  
  
  
  
}

@media (max-width: 640px) {
  :root { --header-h: 64px; --section-space: 50px; }
  .hero-grid {
    opacity: .47;
    background-size: 74px 74px;
    background-position: 50% 9%;
  }
  .hero-lines { opacity: .42; background-size: auto; }
  .hero-light-field { width: 150vw; height: 72vw; top: 50%; opacity: .62; filter: blur(30px); }
  .hero-dots { opacity: .48; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: .84rem; }
  .button--nav { min-height: 38px; padding-inline: 13px; }
  .nav-actions { gap: 6px; }

  .hero { min-height: auto; padding-top: 20px; padding-bottom: 38px; }
  .eyebrow { font-size: .61rem; letter-spacing: .07em; }
  .hero-concept { margin-top: 16px; }
  .hero h1 { max-width: 560px; font-size: clamp(2.68rem, 13vw, 3.9rem); }
  .hero-subtitle { max-width: 310px; line-height: 1.4; }
  .hero-description { max-width: 520px; font-size: .98rem; line-height: 1.52; }
  .hero-actions { width: 100%; margin-top: 17px; }
  .hero-actions .button { width: min(100%, 330px); }
  .product-stage { width: 100%; height: 280px; margin-top: 4px; }
  .book-scene { width: 188px; height: 268px; }
  .stage-chip--left { left: 0; top: 36%; }
  .stage-chip--right { right: 0; top: 57%; }
  .stage-ring--one { width: 282px; height: 282px; }
  .stage-ring--two { width: 222px; height: 222px; }

  .video-section, .problem-section, .offer-section { padding-block: var(--section-space); }
  .section-heading h2, .problem-copy h2, .offer-intro h2 { font-size: clamp(2.05rem, 10.5vw, 3rem); }
  .video-shell { margin-top: 22px; }
  .video-frame { border-radius: 24px; }
  .video-placeholder-copy { bottom: 7%; }

  .benefits { grid-template-columns: 1fr 1fr; gap: 8px; }
  .benefits li { min-height: 47px; padding-inline: 11px; font-size: .78rem; }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

@media (max-width: 640px) {
  .section-heading--center h2 { margin-top: 6px; }
  .problem-copy p { margin-top: 14px; }
  .offer-intro > p:last-child { margin-top: 13px; }
  .benefits { margin-top: 19px; }
  
  .site-footer { padding-block: 18px 20px; }
}

@media (max-width: 390px) {
  .button--nav { padding-inline: 11px; font-size: .73rem; }
  .stage-chip { min-height: 31px; padding-inline: 9px; font-size: .56rem; }
  .benefits { grid-template-columns: 1fr; }
  
  
  
  
  
  
  
  
  
  
  
}

@media (hover: none) {
  .button:hover, .video-play:hover { transform: none; }
  .button:hover .arrow { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marker-highlight { transition: none !important; background-size: 100% var(--marker-height) !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-hero-item], .js [data-reveal] { opacity: 1; filter: none; transform: none; }
  .hero-dots { display: none; }
}

/* ==========================================================
   PURCHASE · BLOQUE FINAL DEPURADO
   Fuente única de verdad para pricing / CTA / métodos de pago.
   Restaura la composición estable y elimina la cascada V9/V9.1/V9.2.
   ========================================================== */
.purchase-panel {
  margin-top: 24px;
  padding: clamp(18px, 2.3vw, 24px);
  border: 1px solid #e2e4ed;
  border-radius: 24px;
  background: rgba(248,249,253,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.purchase-pricing-column {
  min-width: 0;
  padding-right: clamp(18px, 2.4vw, 30px);
  border-right: 1px solid #e2e5ee;
}

.purchase-conversion-column {
  min-width: 0;
  padding-left: clamp(2px, .8vw, 8px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.purchase-pricing { min-width: 0; }
.purchase-regular-price,
.purchase-special-label { margin: 0; }

.purchase-regular-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #7a7e8d;
}

.purchase-regular-price > span:first-child {
  color: #7a7f90;
  font-size: clamp(.95rem, 1.35vw, 1.1rem);
  font-weight: 720;
}

.purchase-regular-price .regular-price__amount {
  position: relative;
  display: inline-block;
  color: #575d70;
  font-size: clamp(1.35rem, 2.35vw, 1.95rem);
  line-height: 1;
  font-weight: 830;
  text-decoration: none;
}

.purchase-regular-price .regular-price__amount::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 51%;
  height: 2.5px;
  border-radius: 999px;
  background: #E1252A;
  transform: translateY(-50%);
  pointer-events: none;
}

.purchase-regular-price .regular-price__currency {
  color: #6f7485;
  font-size: .62em;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .045em;
}

.purchase-special-label {
  margin-top: 9px;
  color: var(--lime);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.purchase-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
  white-space: nowrap;
}

.purchase-price strong {
  color: var(--ink);
  font-size: clamp(3.85rem, 7vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.075em;
  padding-bottom: .02em;
  font-weight: 700;
}

.purchase-price span {
  color: #73788b;
  font-size: clamp(.92rem, 1.4vw, 1.12rem);
  font-weight: 850;
  letter-spacing: .04em;
}

.checkout-info {
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.checkout-note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7a7e8c;
  font-size: .84rem;
  font-weight: 600;
}


.lock {
  width: 13px;
  height: 10px;
  border: 1.7px solid currentColor;
  border-radius: 3px;
  position: relative;
  flex: 0 0 auto;
}
.lock::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  border: 1.7px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.offer-status {
  min-height: 42px;
  margin: 0;
  display: flex;
  align-items: center;
}
.offer-status.is-initializing { visibility: hidden; }

.offer-status__active,
.offer-status__expired {
  min-height: 42px;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: .78rem;
  font-weight: 760;
}

.offer-status__active:not([hidden]) {
  display: inline-flex;
  background: #FFF3E8;
  border: 1px solid #F7C79B;
  color: #d36c0f;
}

.offer-status__expired:not([hidden]) {
  display: inline-flex;
  background: #FFF3E8;
  border: 1px solid #F7C79B;
  color: #d36c0f;
}

.offer-status__label {
  color: #d36c0f;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.offer-status__pulse { animation: none; transform: none; filter: none; }
.offer-status__timer-label { color: #d36c0f; font-weight: 650; }

.offer-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  min-width: 54px;
  color: #7C2D12;
  font-size: .9rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .035em;
}

.offer-countdown__prefix,
.offer-countdown__separator,
.offer-countdown__seconds { display: inline-block; }

.offer-countdown__seconds {
  margin-left: 1px;
  font-size: 1.18em;
  font-weight: 950;
  transform-origin: 50% 62%;
  animation: countdownSecondPulse 1s ease-in-out infinite;
}

@keyframes countdownSecondPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.14); opacity: .86; }
}

.button--purchase {
  --btn-bg: var(--lime);
  --btn-color: #112000;
  --edge-color: #aef45a;
  --edge-hot: #efffc8;
  --edge-soft: rgba(79,155,0,.28);
  --edge-glow: rgba(140,232,21,.44);
  --edge-thickness: 2.55px;
  width: min(100%, 400px);
  min-width: 0;
  min-height: 58px;
  padding-inline: 20px;
  box-shadow: 0 13px 30px rgba(93,170,5,.19);
  font-size: clamp(.86rem, 1.05vw, .98rem);
  letter-spacing: .005em;
}

.payment-stack {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.payment-heading {
  margin: 0;
  color: #7b8192;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.payment-methods {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  width: max-content;
  max-width: 100%;
}
.payment-methods[hidden] { display: none !important; }

.payment-badge,
.payment-badge--apple,
.payment-badge--gpay,
.payment-badge--visa,
.payment-badge--mastercard,
.payment-badge--amex,
.payment-badge--carnet {
  width: 58px;
  min-width: 58px;
  height: 44px;
  flex: 0 0 58px;
  padding: 5px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dfe2eb;
  border-radius: 11px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 8px rgba(22,26,45,.055), inset 0 1px 0 rgba(255,255,255,.98);
}

/* Inline SVGs: reglas explícitas para evitar cápsulas vacías por herencia CSS. */
.payment-badge .payment-logo,
.payment-badge svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  flex: 0 0 auto;
  overflow: visible;
}

.payment-badge--apple svg { width: 47px; height: 24px; }
.payment-badge--gpay svg { width: 43px; height: 19px; }
.payment-badge--visa svg { width: 43px; height: 15px; }
.payment-badge--mastercard svg { width: 35px; height: 23px; }
.payment-badge--amex svg { width: 31px; height: 25px; }
.payment-badge--carnet svg { width: 39px; height: 22px; }

@media (max-width: 900px) {
  .purchase-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .purchase-pricing-column {
    padding-right: 0;
    padding-bottom: 17px;
    border-right: 0;
    border-bottom: 1px solid #e2e5ee;
  }
  .purchase-conversion-column {
    padding-left: 0;
    align-items: stretch;
  }
  .button--purchase { width: min(100%, 420px); }
}

@media (max-width: 640px) {
  .purchase-panel {
    padding: 15px;
    border-radius: 20px;
  }

  .purchase-layout {
    display: block;
  }

  .purchase-pricing-column {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid #e2e5ee;
    text-align: center;
  }

  .purchase-pricing { text-align: center; }
  .purchase-regular-price,
  .purchase-price,
  .checkout-info,
  .checkout-note { justify-content: center; }

  .purchase-regular-price > span:first-child { font-size: .88rem; }
  .purchase-regular-price .regular-price__amount { font-size: 1.28rem; }
  .purchase-regular-price .regular-price__amount::after { height: 2px; }
  .purchase-regular-price .regular-price__currency { font-size: .64rem; }

  .purchase-special-label {
    margin-top: 7px;
    text-align: center;
    font-size: .62rem;
  }

  .purchase-price { gap: 6px; margin-top: 2px; }
  .purchase-price strong { font-size: clamp(3rem, 16vw, 4.2rem); }
  .purchase-price span { font-size: .9rem; }
  .checkout-note { font-size: .78rem; }

  .purchase-conversion-column {
    width: 100%;
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
  }

  .purchase-conversion-column > * {
    width: 100%;
    max-width: none;
    grid-area: auto !important;
    justify-self: stretch !important;
    align-self: stretch !important;
  }

  .offer-status {
    min-height: 38px;
    justify-content: center;
  }
  .offer-status__active,
  .offer-status__expired {
    min-height: 38px;
    padding: 8px 11px;
    gap: 7px;
    font-size: .7rem;
    flex-wrap: wrap;
  }
  .offer-status__timer-label { display: none; }
  .offer-countdown { min-width: auto; font-size: .82rem; }

  .button--purchase {
    width: 100%;
    min-height: 54px;
    padding-inline: 14px;
    font-size: .8rem;
  }

  .payment-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .payment-heading {
    width: 100%;
    text-align: center;
    font-size: .66rem;
  }

  .payment-methods {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .payment-badge,
  .payment-badge--apple,
  .payment-badge--gpay,
  .payment-badge--visa,
  .payment-badge--mastercard,
  .payment-badge--amex,
  .payment-badge--carnet {
    width: 100%;
    min-width: 0;
    height: 40px;
    flex: none;
    padding: 5px 7px;
    border-radius: 9px;
  }

  .payment-badge--apple svg { width: 44px; height: 22px; }
  .payment-badge--gpay svg { width: 40px; height: 18px; }
  .payment-badge--visa svg { width: 39px; height: 14px; }
  .payment-badge--mastercard svg { width: 32px; height: 21px; }
  .payment-badge--amex svg { width: 29px; height: 23px; }
  .payment-badge--carnet svg { width: 36px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-countdown__seconds { animation: none; }
}

/* ==========================================================
   V9.6 · Mobile sticky offer
   - Cápsula de urgencia compacta y sutil
   - Al expirar: "✨ Oferta de lanzamiento"
   - Barra liquid-glass alineada con el header
   ========================================================== */

.mobile-offer-bar {
  --mobile-offer-footer-offset: 0px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--mobile-offer-footer-offset);
  width: 100%;
  z-index: 1200;
  display: none;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 300ms var(--ease-smooth), bottom 90ms linear;
}

.mobile-offer-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-offer-bar__capsule {
  position: absolute;
  left: 50%;
  top: -34px;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 96px);
  min-height: 28px;
  margin: 0;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: translateX(-50%);
  border: 1px solid #F7C79B;
  border-radius: 999px;
  background: #FFF3E8;
  box-shadow: 0 7px 18px rgba(211,108,15,.10), inset 0 1px 0 rgba(255,255,255,.9);
  color: #d36c0f;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.mobile-offer-bar__capsule > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mobile-offer-bar__capsule [data-mobile-offer-expired] {
  color: #d36c0f;
}

.mobile-offer-bar__capsule [hidden] {
  display: none !important;
}

.mobile-offer-bar__countdown {
  color: #7C2D12;
  font-size: 9.5px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.mobile-offer-bar__seconds {
  display: inline-block;
  transform-origin: 50% 62%;
}

.mobile-offer-bar__seconds.is-pulsing {
  animation: mobileStickySecondPulse 420ms cubic-bezier(.16,1,.3,1);
}

@keyframes mobileStickySecondPulse {
  0% { transform: scale(1); }
  46% { transform: scale(1.13); }
  100% { transform: scale(1); }
}

.mobile-offer-bar__inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 74px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.72);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.66), rgba(246,247,255,.42));
  box-shadow:
    0 -12px 34px rgba(26,31,62,.13),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(75,22,233,.04);
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.045);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.045);
}

.mobile-offer-bar__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 72%, rgba(255,255,255,.15) 100%);
  pointer-events: none;
}

.mobile-offer-bar__regular-price {
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-offer-bar__regular-label {
  margin-bottom: 5px;
  color: #697180;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.mobile-offer-bar__regular-row {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.mobile-offer-bar__regular-row strong {
  position: relative;
  color: #626a7b;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.mobile-offer-bar__regular-row strong::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 51%;
  height: 2px;
  border-radius: 999px;
  background: #E1252A;
  transform: rotate(-3deg);
}

.mobile-offer-bar__regular-row small {
  position: relative;
  top: -1px;
  color: #9aa1af;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .01em;
}

.mobile-offer-bar__cta {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--lime);
  color: #112000;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(93,170,5,.18);
  white-space: nowrap;
}

.mobile-offer-bar__cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2.35px;
  background: conic-gradient(
    from var(--sticky-edge-angle),
    transparent 0 77%,
    rgba(183,255,96,.20) 83%,
    #b7ff60 87%,
    #fff 90%,
    #b7ff60 93%,
    transparent 98%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: stickyEdgeSweep 3.1s linear infinite;
  pointer-events: none;
}

@property --sticky-edge-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes stickyEdgeSweep {
  to { --sticky-edge-angle: -360deg; }
}

@media (max-width: 640px) {
 .mobile-offer-bar { display: block; }
}

@media (max-width: 350px) {
  .mobile-offer-bar__capsule {
    max-width: calc(100% - 60px);
    min-height: 27px;
    padding-inline: 9px;
    font-size: 9px;
  }
  .mobile-offer-bar__countdown { font-size: 9px; }
  .mobile-offer-bar__inner {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .mobile-offer-bar__regular-row strong { font-size: 18px; }
  .mobile-offer-bar__cta { font-size: 12px; }
}

@media (min-width: 641px) {
 .mobile-offer-bar { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-offer-bar,
  .mobile-offer-bar__seconds.is-pulsing,
  .mobile-offer-bar__cta::before {
    animation: none !important;
    transition: none !important;
  }
}


/* V10.3 · Estado UX durante el bloque principal de compra.
   La transición base (opacity + translateY) saca la sticky de forma suave. */
@media (max-width: 640px) {
  .mobile-offer-bar.is-paused-for-purchase {
    pointer-events: none;
  }
}
