/* =============================================================
   Web Master con Claude — EcomNet Global
   Sistema CSS. Paleta salmón sobre dark. Inter + Bebas + JetBrains Mono.
   ============================================================= */

:root {
  --bg-deep: #0a1d3d;
  --bg-elevated: #0e2549;
  --bg-card: #143059;
  --salmon: #f0a0a0;
  --salmon-strong: #f5b8b8;
  --salmon-soft: rgba(240, 160, 160, 0.12);
  --salmon-border: rgba(240, 160, 160, 0.28);
  --text: #f2f6fc;
  --text-dim: rgba(242, 246, 252, 0.65);
  --text-mute: rgba(242, 246, 252, 0.4);
  --border: rgba(242, 246, 252, 0.08);
  --border-strong: rgba(242, 246, 252, 0.16);
  --gold: #d4af37;
  --success: #6dc347;
  --danger: #e25555;

  /* Type stacks */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ── Tema CLARO: blanco + navy como texto, salmón sigue siendo el acento ── */
:root[data-theme="light"] {
  --bg-deep: #ffffff;
  --bg-elevated: #f6f8fc;
  --bg-card: #eaeff7;
  --salmon: #f0a0a0;
  --salmon-strong: #c2605f;
  --salmon-soft: rgba(240, 160, 160, 0.14);
  --salmon-border: rgba(240, 160, 160, 0.42);
  --text: #0a1d3d;
  --text-dim: rgba(10, 29, 61, 0.66);
  --text-mute: rgba(10, 29, 61, 0.45);
  --border: rgba(10, 29, 61, 0.10);
  --border-strong: rgba(10, 29, 61, 0.18);
  --gold: #a9862a;
  --success: #2e8b62;
  --danger: #c53d3d;
  --bg-cinematic: #eef2f8;
}

/* ── Switch de tema (sol/luna) ── */
.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 99px;
  background: rgba(10, 29, 61, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 18px -6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: #fff; border-color: rgba(240, 160, 160, 0.5); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }
:root[data-theme="light"] .theme-toggle .ic-sun  { display: none; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--salmon); text-decoration: none; }
a:hover { color: var(--salmon-strong); }

/* ── Utilidades ───────────────────────────────────── */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}

.badge {
  display: inline-block;
  background: var(--salmon-soft);
  color: var(--salmon-strong);
  border: 1px solid var(--salmon-border);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.highlight { color: var(--salmon); font-weight: 700; }
.highlight-gold { color: var(--gold); font-weight: 700; }

.mono { font-family: var(--font-mono); font-size: 0.9em; }

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--salmon), var(--salmon-strong));
  z-index: 9999;
  transition: width 0.1s linear;
  will-change: width;
}

/* ── Topbar ── */
.topbar {
  background: linear-gradient(90deg, rgba(14,37,89,0.45) 0%, rgba(6,21,48,0.45) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topbar strong { color: var(--salmon); }

/* ── Sticky nav ── */
.nav-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(12, 10, 10, 0.94);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  z-index: 100;
}
.nav-sticky.show { transform: translateY(0); }
section[id] { scroll-margin-top: 72px; }
.nav-sticky__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 13px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-sticky__brand { justify-self: start; }
.nav-sticky__links { justify-self: center; }
.nav-sticky__cta { justify-self: end; }
.nav-sticky__brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.nav-sticky__brand img { width: 24px; height: 24px; }
.nav-sticky__brand strong { color: var(--salmon); font-weight: 800; }
.nav-sticky__links {
  list-style: none; display: flex; gap: 22px;
  margin: 0;
}
.nav-sticky__links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-sticky__links a:hover { color: var(--salmon); }
.nav-sticky__cta {
  background: var(--salmon);
  color: var(--bg-deep) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-sticky__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 160, 160, 0.32);
}
@media (max-width: 720px) {
  .nav-sticky__inner { grid-template-columns: 1fr auto; gap: 12px; }
  .nav-sticky__links { display: none; }
  .nav-sticky__brand { white-space: nowrap; font-size: 0.9rem; }
  .nav-sticky__brand img { width: 22px; height: 22px; }
  .nav-sticky__cta { padding: 8px 14px; font-size: 0.8rem; white-space: nowrap; }
}

/* ── Hero ── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(240, 160, 160, 0.10), transparent 60%),
    var(--bg-deep);
  padding: 64px 20px 56px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242, 246, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 246, 252, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--salmon-soft);
  border: 1px solid var(--salmon-border);
  color: var(--salmon-strong);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.hero__tag .dot {
  width: 6px; height: 6px;
  background: var(--salmon); border-radius: 50%;
  box-shadow: 0 0 12px var(--salmon);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 .accent {
  color: var(--salmon);
  font-style: normal;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero__cta-stack {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--salmon) 0%, var(--salmon-strong) 100%);
  color: var(--bg-deep);
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 12px 36px rgba(240, 160, 160, 0.32);
}
.btn-cta:hover {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(240, 160, 160, 0.42);
}
.btn-cta--large { padding: 18px 42px; font-size: 1.08rem; }
.btn-cta--ghost {
  background: transparent;
  color: var(--salmon);
  border: 1px solid var(--salmon-border);
  box-shadow: none;
  font-weight: 600;
  padding: 14px 30px;
  font-size: 0.92rem;
}
.btn-cta--ghost:hover {
  background: var(--salmon-soft);
  color: var(--salmon-strong);
  border-color: var(--salmon);
  box-shadow: none;
}

/* ── Hero rating row ── */
.hero__rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242, 246, 252, 0.04);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stars { color: var(--gold); letter-spacing: 1px; font-size: 0.85rem; }
.hero__rating-num { font-weight: 700; color: var(--text); }
.hero__rating-sep { color: var(--text-mute); }

/* ── Lead magnet inline (hero) ── */
.hero-lead {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-lead__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--salmon);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-lead__form {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.hero-lead__form input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  min-width: 0;
}
.hero-lead__form input:focus {
  outline: none;
  border-color: var(--salmon);
  background: var(--bg-card);
}
.hero-lead__form button {
  background: var(--text);
  color: var(--bg-deep);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
}
.hero-lead__form button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--salmon);
}
.hero-lead__form button:disabled { opacity: 0.55; cursor: not-allowed; }
.hero-lead__foot {
  font-size: 0.74rem;
  color: var(--text-mute);
  margin-top: 12px;
}
.hero-lead__msg {
  font-size: 0.82rem;
  margin-top: 10px;
  font-weight: 600;
  min-height: 1.2em;
}
.hero-lead__msg.ok { color: var(--success); }
.hero-lead__msg.err { color: var(--danger); }

/* ── Live stats row (hero) ── */
.hero-live {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.hero-live__pulse {
  width: 8px; height: 8px;
  background: var(--salmon); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(240, 160, 160, 0.55);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 160, 160, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(240, 160, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 160, 160, 0); }
}

/* ── Sections base ── */
.section {
  padding: 32px 20px;
  background: transparent;
}
.section--alt { background: rgba(30, 28, 28, 0.35); }
.section__header { margin: 0 auto 28px !important; }
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--text);
  text-wrap: balance;
}
.section__header p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── Problem list ── */
.problem-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.problem-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.problem-list .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: -2px;
}
.problem-list strong { color: var(--salmon); font-weight: 600; }

/* ── Feature cards (Qué incluye el PDF) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--salmon-border);
  transform: translateY(-2px);
}
.feature-card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--salmon);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
  padding: 2px 8px;
  background: var(--salmon-soft);
  border-radius: 6px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}
.feature-card__stack {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.feature-card__chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(242, 246, 252, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ── Para quién / no para quién ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.audience-card {
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid var(--border);
}
.audience-card--yes {
  background: linear-gradient(180deg, rgba(240,160,160,0.06) 0%, rgba(240,160,160,0.015) 100%);
  border-color: var(--salmon-border);
}
.audience-card--no {
  background: rgba(35, 32, 32, 0.5);
  border-color: var(--border);
}
.audience-card h3 {
  font-size: 1.08rem;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
}
.audience-card ul { list-style: none; }
.audience-card li {
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.audience-card li:last-child { border-bottom: none; }

/* ── Preview "páginas del PDF" simuladas en CSS ── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.preview-page {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  aspect-ratio: 3/4;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.25s;
}
.preview-page:hover { transform: translateY(-4px) rotate(-0.5deg); }
.preview-page::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--salmon);
}
.preview-page__page {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.preview-page__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.preview-page__lines {
  flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.preview-page__line {
  height: 6px;
  background: rgba(242, 246, 252, 0.07);
  border-radius: 3px;
}
.preview-page__line.short { width: 60%; }
.preview-page__line.medium { width: 85%; }
.preview-page__line.accent {
  background: var(--salmon-soft);
  border-left: 2px solid var(--salmon);
  height: 12px;
}
.preview-page__code {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--salmon);
  margin-top: 8px;
  white-space: pre;
  overflow: hidden;
}

/* ── Testimonios ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px;
}
.testimonial-card__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 10px; }
.testimonial-card__text { font-size: 0.95rem; color: var(--text); line-height: 1.55; margin-bottom: 14px; }
.testimonial-card__author {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: normal;
}
.testimonial-card__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--salmon);
  display: block;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.testimonial-card--hidden { display: none; }
.testimonials-grid.is-expanded .testimonial-card--hidden {
  display: block;
  animation: testimonialFadeIn 0.35s ease both;
}
@keyframes testimonialFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testimonials-toggle-wrap {
  text-align: center;
  margin-top: 28px;
}
.testimonials-toggle {
  background: transparent;
  border: 1px solid var(--salmon-border);
  color: var(--salmon);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.testimonials-toggle:hover {
  background: var(--salmon-soft);
  color: var(--text);
  border-color: var(--salmon);
}
.testimonials-toggle__arrow {
  display: inline-block;
  transition: transform 0.25s;
  font-size: 1rem;
  line-height: 1;
}
.testimonials-toggle.is-expanded .testimonials-toggle__arrow {
  transform: rotate(180deg);
}

/* ── Price box ── */
.price-box {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--salmon-border);
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--salmon-soft);
}
.price-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, var(--salmon-soft), transparent 60%);
  pointer-events: none;
}
.price-box > * { position: relative; z-index: 1; }
.price-box__tag {
  display: inline-block;
  background: var(--salmon);
  color: var(--bg-deep);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.price-box__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 8px;
  color: var(--text);
}
.price-box__sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.price-box__items {
  text-align: left;
  list-style: none;
  margin: 24px auto;
  max-width: 380px;
}
.price-box__items li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
}
.price-box__items li:last-child { border-bottom: none; }
.price-box__items li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  color: var(--salmon);
  font-weight: 800;
}
.price-box__items strong { color: var(--salmon); }

.price-number {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--salmon);
  display: inline-block;
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
}
.price-old {
  font-size: 1.1rem;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-right: 10px;
  font-weight: 500;
}
.price-row { margin: 18px 0 10px; }
.price-foot {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 10px 0 24px;
}
.price-guarantee {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 18px;
}
.payment-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin-top: 20px;
}
.payment-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(242, 246, 252, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
  transition: border-color 0.15s;
}
.faq-list details[open] {
  border-color: var(--salmon-border);
}
.faq-list summary {
  cursor: pointer;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  color: var(--salmon);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.faq-list details p code {
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.4);
  color: var(--salmon);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ── Closing ── */
.closing-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.closing-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  color: var(--text);
  text-wrap: balance;
}
.closing-recap {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 460px;
  margin: 28px auto;
  text-align: left;
}
.closing-recap__item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.94rem;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.closing-recap__item .check {
  color: var(--salmon);
  font-weight: 800;
  flex-shrink: 0;
}
.closing-recap__item strong { color: var(--text); }
.closing-trust {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 18px;
}

/* ── Footer ── */
footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(6,21,48,0.85) 10%,
    #061530 22%,
    #061530 100%);
  border-top: 1px solid var(--border);
  padding: 96px 22px 32px;
  color: var(--text-dim);
  font-size: 0.86rem;
}
#footer-dots {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
}
footer > *:not(#footer-dots) { position: relative; z-index: 1; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.footer-brand img { width: 26px; height: 26px; }
.footer-brand strong { color: var(--salmon); }
.footer-parent {
  display: block;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-parent a { color: var(--salmon); font-weight: 600; }
.footer-social {
  display: flex; gap: 14px;
  justify-content: center;
  margin: 14px 0 22px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--salmon);
  border-color: var(--salmon);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: var(--text); }
.footer-social a:hover svg { fill: var(--bg-deep); }
footer p { margin: 6px 0; }
footer a { color: var(--text-dim); }
footer a:hover { color: var(--salmon); }
.footer-legal {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 18px;
}
.footer-legal a { margin: 0 6px; }

/* Footer móvil (memoria feedback_landing_footer_mobile.md) */
@media (max-width: 600px) {
  .footer-inner { text-align: left; }
  .footer-brand { display: flex; justify-content: center; }
  .footer-parent { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-cols {
    display: grid;
    grid-template-columns: auto auto;
    gap: 18px 52px;
    margin: 24px auto;
    width: max-content;
    justify-content: center;
    text-align: center;
  }
  .footer-cols h4 {
    font-size: 0.74rem;
    color: var(--salmon);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .footer-cols a {
    display: block;
    padding: 6px 0;
    font-size: 0.88rem;
  }
  .footer-legal { text-align: center; }
}
@media (min-width: 601px) {
  .footer-cols {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  .footer-cols h4 { display: none; }
  .footer-cols a {
    font-size: 0.86rem;
    color: var(--text-dim);
  }
}

/* ── Sticky CTA mobile ── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(25, 23, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), opacity 0.25s ease;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta a {
  display: block;
  background: linear-gradient(135deg, var(--salmon) 0%, var(--salmon-strong) 100%);
  color: var(--bg-deep) !important;
  text-align: center;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(240, 160, 160, 0.32);
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body.sticky-cta-visible { padding-bottom: 70px; }
}

/* ── Exit modal: upsell curso 3 IAs TGN ── */
.exit-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  align-items: center; justify-content: center;
}
.exit-modal.show { display: flex; }
.exit-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.exit-modal__box {
  position: relative;
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--salmon-border);
  border-radius: 22px;
  padding: 36px 32px 30px;
  max-width: 520px;
  width: calc(100% - 32px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(240,160,160,0.08) inset;
  animation: exitModalIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes exitModalIn {
  0% { transform: translateY(20px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.exit-modal__close {
  position: absolute; top: 14px; right: 16px;
  background: transparent;
  border: none;
  color: var(--text-mute);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.exit-modal__close:hover { color: var(--text); }
.exit-modal__tag {
  display: inline-block;
  background: var(--salmon-soft);
  color: var(--salmon-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.exit-modal__box h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--text);
  text-transform: uppercase;
}
.exit-modal__box h3 span { color: var(--salmon); }
.exit-modal__lead {
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 22px;
}
.exit-modal__lead strong { color: var(--salmon); font-weight: 700; }
.exit-modal__stack {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.exit-modal__chip {
  background: var(--bg-deep);
  border: 1px solid var(--salmon-border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.01em;
}
.exit-modal__plus {
  color: var(--salmon);
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
}
.exit-modal__sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
}
.exit-modal__cta {
  display: block;
  text-align: center;
  background: var(--salmon);
  color: var(--bg-deep);
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 14px 32px rgba(240, 160, 160, 0.32);
}
.exit-modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(240, 160, 160, 0.45);
}
.exit-modal__foot {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
}
@media (max-width: 540px) {
  .exit-modal__box { padding: 28px 22px 24px; }
  .exit-modal__box h3 { font-size: 1.5rem; }
  .exit-modal__chip { font-size: 0.72rem; padding: 7px 10px; }
}

/* ── Exit/modal lead magnet (legacy, no usado tras pivot a upsell TGN) ── */
.lead-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  align-items: center; justify-content: center;
}
.lead-modal.show { display: flex; }
.lead-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.lead-modal__box {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--salmon-border);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lead-modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent;
  border: none;
  color: var(--text-mute);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.lead-modal__close:hover { color: var(--text); }
.lead-modal__tag {
  display: inline-block;
  background: var(--salmon-soft);
  color: var(--salmon-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead-modal__box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
  color: var(--text);
}
.lead-modal__box p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}
.lead-modal__form {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.lead-modal__form input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  min-width: 0;
}
.lead-modal__form input:focus {
  outline: none;
  border-color: var(--salmon);
}
.lead-modal__form button {
  background: var(--salmon);
  color: var(--bg-deep);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}
.lead-modal__form button:disabled { opacity: 0.6; cursor: not-allowed; }
.lead-modal__msg {
  font-size: 0.82rem;
  margin-top: 10px;
  font-weight: 600;
  min-height: 1.2em;
}
.lead-modal__msg.ok { color: var(--success); }
.lead-modal__msg.err { color: var(--danger); }
.lead-modal__foot {
  font-size: 0.74rem;
  color: var(--text-mute);
  margin-top: 12px;
}

/* ── Util: pequeñas separaciones ── */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

/* =============================================================
   ACCESIBILIDAD — Skip-link + focus visible global
   ============================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--salmon);
  color: #191717;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus ring premium consistente (sólo teclado) */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--salmon-strong);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset 0.15s ease;
}
.btn-cta:focus-visible,
.nav-sticky__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(240, 160, 160, 0.32);
}
a:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 3px;
  border-radius: 3px;
}
input:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--salmon-strong);
  outline-offset: 2px;
}

/* =============================================================
   ACCESIBILIDAD — Soporte de preferencia: reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
   VISUAL POLISH — refuerzo de jerarquía tipográfica + microinteracciones
   ============================================================= */

/* Tabular nums donde haya cifras (precios, contadores, ratings) */
.hero__rating,
.hero-live,
.price-row,
.price-number,
.price-old,
#hero-rating-count,
#hero-live-count,
#hero-live-last {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

/* Hero — refuerzo de jerarquía */
.hero h1 {
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero__subtitle {
  text-wrap: pretty;
  max-width: 62ch;
}

/* CTAs principales — interaction premium */
.btn-cta {
  position: relative;
  isolation: isolate;
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1),
              box-shadow 0.22s ease,
              background 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(240, 160, 160, 0.45),
              0 2px 6px -2px rgba(0, 0, 0, 0.5);
}
.btn-cta:active {
  transform: translateY(0);
  transition-duration: 0.08s;
}

/* Cards — hover sutil que indica interactividad */
.feature-card,
.audience-card,
.testimonial-card {
  transition: transform 0.28s cubic-bezier(.2,.7,.2,1),
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              background 0.28s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--salmon-border);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(240, 160, 160, 0.06) inset;
}
.testimonial-card:hover {
  border-color: var(--salmon-border);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55);
}

/* Highlight con underline sutil animado al hover */
.highlight {
  background-image: linear-gradient(180deg, transparent 60%, rgba(240, 160, 160, 0.18) 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s cubic-bezier(.2,.7,.2,1);
}
.section__header:hover .highlight,
.section.is-visible .highlight {
  background-size: 100% 100%;
}

/* Precio — visual más fuerte */
.price-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--salmon) 0%, var(--salmon-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* FAQ — chevron suave y focus accesible */
details > summary {
  cursor: pointer;
  transition: color 0.2s ease;
}
details[open] > summary {
  color: var(--salmon-strong);
}
details > summary::marker { color: var(--salmon); }

/* Topbar leve animación de pulse de la "·" */
.topbar { position: relative; overflow: hidden; }
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 160, 160, 0.06) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: topbar-sheen 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes topbar-sheen {
  0%, 60%, 100% { transform: translateX(-100%); }
  30% { transform: translateX(100%); }
}

/* Selección de texto en color de marca */
::selection {
  background: var(--salmon);
  color: #191717;
}
::-moz-selection {
  background: var(--salmon);
  color: #191717;
}

/* Scrollbar dark personalizado (desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg-deep); }
  ::-webkit-scrollbar-thumb {
    background: rgba(242, 246, 252, 0.12);
    border-radius: 999px;
    border: 2px solid var(--bg-deep);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--salmon-border);
  }
}

/* Contraste mínimo WCAG AA en textos secundarios */
.feature-card p,
.testimonial-card__text,
.faq-list p {
  color: rgba(242, 246, 252, 0.78); /* +15% sobre --text-dim para AA */
}

/* Print friendly */
@media print {
  .nav-sticky, .topbar, .scroll-progress, .sticky-cta, .exit-modal { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* =============================================================
   HERO — Stack badges + trust strip + machine-de-ventas tweaks
   ============================================================= */
.hero__stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 22px 0 26px;
  padding: 0;
}
.hero__stack li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--salmon-border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1),
              background 0.22s ease,
              border-color 0.22s ease;
}
.hero__stack li:hover {
  transform: translateY(-2px);
  background: var(--salmon-soft);
  border-color: var(--salmon);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}
.hero__trust svg {
  color: var(--salmon);
  flex-shrink: 0;
}

/* CTA mid-page tras features */
.features-cta {
  text-align: center;
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.features-cta__sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* Grid de features ajustado para 4 (en vez de 6) — desktop 2x2 */
.features-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .features-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Hero: subtítulo respira mejor */
.hero__subtitle {
  margin-bottom: 0;
}
.hero h1 .accent {
  position: relative;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px;
  background: linear-gradient(90deg, var(--salmon) 0%, transparent 100%);
  border-radius: 2px;
  opacity: 0.6;
}

@media (max-width: 540px) {
  .hero__stack { gap: 6px; margin: 18px 0 22px; }
  .hero__stack li { font-size: 0.68rem; padding: 5px 11px; }
  .hero__trust { gap: 12px 18px; margin-top: 18px; padding-top: 18px; }
  .hero__trust span { font-size: 0.72rem; }
}

/* =============================================================
   HERO CINEMATIC — Esfera Three.js + tipografía display gigante
   ============================================================= */
:root {
  --bg-cinematic: #061530;
}

.hero--cinematic {
  position: relative;
  background: transparent;
  min-height: 86vh;
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: clamp(52px, 7vh, 84px) 20px clamp(30px, 4vh, 52px);
  overflow: hidden;
  isolation: isolate;
}
/* Esfera CSS 3D — réplica del sistema de ecomnet-cinematic */
.sphere-container {
  position: absolute;
  top: 50%; left: 50%;
  width: min(700px, 90vmin);
  height: min(700px, 90vmin);
  margin-left: calc(-1 * min(700px, 90vmin) / 2);
  margin-top:  calc(-1 * min(700px, 90vmin) / 2);
  z-index: 0;
  pointer-events: none;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.sphere-rotation {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.wireframe-line {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(240,160,160,0.75);
  border-radius: 50%;
  box-shadow:
    0 0 70px rgba(240,160,160,0.3),
    inset 0 0 30px rgba(240,160,160,0.12);
  transform-style: preserve-3d;
  will-change: transform;
}
/* Bloom soft detrás de la esfera para profundidad */
.sphere-bloom {
  position: absolute;
  top: 50%; left: 50%;
  width: min(900px, 100vmin);
  height: min(900px, 100vmin);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(240,160,160,0.32) 0%, transparent 50%),
    radial-gradient(circle at 28% 32%, rgba(255,200,200,0.18) 0%, transparent 35%);
  mix-blend-mode: screen;
  filter: blur(110px);
  opacity: 0.9;
}
/* Vignette sutil tras el texto para legibilidad sin tapar las estrellas */
.hero--cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 40% 35% at 50% 45%, rgba(12, 10, 10, 0.55) 0%, rgba(12, 10, 10, 0.20) 45%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Tipografía display cinematic — Bebas Neue + tracking premium */
.hero__title-cinematic {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 auto 32px;
  max-width: 18ch;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  font-variant-numeric: tabular-nums;
}
.hero__title-cinematic .hero__line {
  display: block;
}
.hero__title-cinematic .hero__line--accent {
  background: linear-gradient(180deg, var(--salmon-strong) 0%, var(--salmon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(240, 160, 160, 0.25));
}

.hero--cinematic .hero__subtitle {
  max-width: 56ch;
  margin: 0 auto 28px;
  color: var(--text-dim);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.hero--cinematic .hero__stack { justify-content: center; }
.hero--cinematic .hero__rating { justify-content: center; }
.hero--cinematic .hero__cta-stack { justify-content: center; }
.hero--cinematic .hero-live { justify-content: center; }
.hero--cinematic .hero__trust { margin-left: auto; margin-right: auto; }

/* Pills del stack sólidas (sin backdrop-filter) */
.hero--cinematic .hero__stack li {
  background: var(--bg-card);
}

@media (max-width: 720px) {
  .sphere-container {
    top: 42%;
    width: min(460px, 96vw);
    height: min(460px, 96vw);
    margin-left: calc(-1 * min(460px, 96vw) / 2);
    margin-top: calc(-1 * min(460px, 96vw) / 2);
    -webkit-mask-image: radial-gradient(circle at center, #000 38%, transparent 74%);
    mask-image: radial-gradient(circle at center, #000 38%, transparent 74%);
    opacity: 0.85;
  }
  .hero__title-cinematic { font-size: clamp(2.4rem, 11vw, 4rem); margin-bottom: 22px; }
  .hero--cinematic .hero__subtitle { font-size: 0.92rem; }
  .sphere-bloom {
    width: min(560px, 98vw);
    height: min(560px, 98vw);
    top: 42%;
    opacity: 0.4;
    filter: blur(70px);
  }
  .hero--cinematic::before {
    background:
      radial-gradient(ellipse 80% 65% at 50% 42%, rgba(12, 10, 10, 0.62) 0%, rgba(12, 10, 10, 0.28) 42%, transparent 78%),
      linear-gradient(to bottom, transparent 60%, var(--bg-cinematic) 100%);
  }
}

/* =============================================================
   FEATURE CARDS CINEMATIC — número gigante + glass background
   ============================================================= */
.features-grid--cinematic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features-grid--cinematic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid--cinematic { grid-template-columns: 1fr; } }

.feature-card--cinematic {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  padding: 28px 22px 22px;
  isolation: isolate;
}
.feature-card--cinematic::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--salmon-border) 50%, transparent 100%);
  z-index: 2;
}
.feature-card__index {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--salmon);
  opacity: 0.16;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-card--cinematic:hover .feature-card__index {
  opacity: 0.28;
  transform: scale(1.04);
}
.feature-card--cinematic .feature-card__num {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 12px;
}
.feature-card--cinematic h3 {
  position: relative;
  z-index: 1;
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
.feature-card--cinematic p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(242, 246, 252, 0.78);
}
.feature-card--cinematic .feature-card__stack {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.feature-card--cinematic:hover {
  transform: translateY(-4px);
  border-color: var(--salmon-border);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(240, 160, 160, 0.06) inset,
              0 0 32px -8px rgba(240, 160, 160, 0.15);
}

/* Fondo general más cinematic (cuando no hay scrub) */
body {
  background: var(--bg-cinematic);
}

/* =============================================================
   Audience grid single column (sin "NO es para ti")
   ============================================================= */
.audience-grid--single {
  display: block;
  max-width: 680px;
  margin: 0 auto;
}
.audience-grid--single .audience-card {
  padding: 0;
  border: none;
  background: none;
}
.audience-grid--single .audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.audience-grid--single .audience-card ul li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  font-size: 0.95rem;
}
.audience-grid--single .audience-card ul li:last-child { border-bottom: none; }
.audience-grid--single .audience-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 22px;
  height: 22px;
  background: var(--salmon-soft);
  border: 1px solid var(--salmon-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a0a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.audience-card__tag {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--salmon-border);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--salmon);
  text-align: center;
  letter-spacing: 0.01em;
}
@media (max-width: 540px) {
  .audience-grid--single .audience-card { padding: 0; }
  .audience-grid--single .audience-card ul li { font-size: 0.88rem; padding: 12px 0 12px 32px; }
  .audience-grid--single .audience-card ul li::before { top: 16px; width: 20px; height: 20px; }
}

/* =============================================================
   COUNTDOWN 24H — caja de urgencia en sección precio
   ============================================================= */
.countdown-box {
  margin: 24px 0 22px;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(240,160,160,0.08) 0%, rgba(240,160,160,0.02) 100%);
  border: 1px solid var(--salmon-border);
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.countdown-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--salmon) 50%, transparent 100%);
  z-index: 0;
}
.countdown-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--salmon);
  font-weight: 600;
  margin-bottom: 12px;
}
.countdown-clock {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.01em;
}
.countdown-u {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}
.countdown-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--salmon);
  opacity: 0.5;
  padding: 0 2px;
  align-self: center;
  margin-top: -10px;
  animation: cd-blink 1s steps(2, end) infinite;
}
@keyframes cd-blink { 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .countdown-sep { animation: none; } }
.countdown-foot {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.countdown-foot s { color: var(--text-mute); }
@media (max-width: 480px) {
  .countdown-unit { min-width: 54px; padding: 5px 6px; }
  .countdown-num { font-size: 1.7rem; }
  .countdown-sep { font-size: 1.6rem; margin-top: -8px; }
  .countdown-u { font-size: 0.55rem; }
}

/* =============================================================
   STARFIELD GLOBAL — background de estrellas detrás de toda la página
   ============================================================= */
html { background: var(--bg-cinematic); }
body { background: transparent !important; position: relative; z-index: 1; }
.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.stars-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2000px;
  animation: stars-scroll linear infinite;
  will-change: transform;
}
.star-dot {
  position: absolute;
  background: transparent;
  border-radius: 50%;
}
@keyframes stars-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-2000px); }
}
@media (prefers-reduced-motion: reduce) {
  .stars-layer { animation: none; }
}
/* Contenido sobre el starfield. Secciones con bg opaco lo tapan = efecto cards flotando */
/* Elementos en flujo: relative + z-index para quedar sobre el starfield.
   NO incluir aquí los fixed (.nav-sticky, .sticky-cta, .scroll-progress, .exit-modal)
   porque position:relative rompería su posicionamiento fijo. */
.topbar, main, footer { position: relative; z-index: 1; }

/* =============================================================
   TESTIMONIOS MARQUEE — 2 filas con scroll automático smooth
   ============================================================= */
.testimonials-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  margin: 0 calc(-1 * var(--gutter, 22px));
  padding: 0 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
}
.marquee-track > .testimonial-card {
  flex-shrink: 0;
  width: 340px;
}
.marquee-row--left .marquee-track {
  animation: marquee-left 80s linear infinite;
}
.marquee-row--right .marquee-track {
  animation: marquee-right 80s linear infinite;
}
@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.marquee-row:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}
@media (max-width: 640px) {
  .marquee-track > .testimonial-card { width: 270px; }
  .marquee-row--left .marquee-track,
  .marquee-row--right .marquee-track { animation-duration: 55s; }
}

/* =============================================================
   MOBILE — secciones deslizables horizontales (carrusel)
   ============================================================= */
@media (max-width: 720px) {
  /* Feature cards "50+ páginas" → carrusel horizontal con snap */
  .features-grid--cinematic {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin: 0 -20px;
    padding: 12px 20px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .features-grid--cinematic::-webkit-scrollbar { display: none; }
  .features-grid--cinematic > .feature-card--cinematic {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  /* Audience "Es para ti si..." → bullets en carrusel horizontal */
  .audience-grid--single .audience-card ul {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin: 4px -10px 0;
    padding: 2px 10px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .audience-grid--single .audience-card ul::-webkit-scrollbar { display: none; }
  .audience-grid--single .audience-card ul li {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border: 1px solid var(--border) !important;
    border-radius: 14px;
    padding: 18px 18px 18px 48px !important;
    background: rgba(255,255,255,0.025);
    font-size: 0.86rem;
  }
  .audience-grid--single .audience-card ul li::before {
    top: 20px !important;
    left: 16px !important;
  }
}
