/* ==========================================================================
   LeyThra — hoja de estilos compartida (rediseño octubre 2026).
   Dirección: "biblioteca de aventuras" — papel cálido, tinta navy, morado de
   marca y dorado como acento. Tipografía de sistema (sin fuentes externas,
   compatible con la CSP). Incluye modo oscuro automático.
   ========================================================================== */
:root {
  --navy: #16143A;
  --navy-soft: #2A2760;
  --purple: #6750A4;
  --purple-light: #A79BD9;
  --gold: #E3B679;
  --gold-soft: #F3DDBB;
  --bg: #FAF9FC;
  --bg-alt: #F3F0FA;
  --card: #FFFFFF;
  --text: #16143A;
  --muted: #5F5C7A;
  --border: #E7E4F2;
  --tint: #EFEAFB;
  --tint-text: #2A2760;
  --callout-bg: #FBF3E7;
  --callout-text: #7A4E1A;
  --header-bg: rgba(250, 249, 252, 0.82);
  --shadow-sm: 0 2px 8px rgba(22, 20, 58, 0.05);
  --shadow-md: 0 14px 32px rgba(22, 20, 58, 0.09);
  --shadow-lg: 0 28px 60px rgba(22, 20, 58, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-body: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Times New Roman', serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111020;
    --bg-alt: #17152B;
    --card: #1C1A31;
    --text: #F1EFFA;
    --navy: #F1EFFA;
    --navy-soft: #D9D4F2;
    --muted: #A8A5C4;
    --border: #2E2B4D;
    --purple: #A79BD9;
    --tint: #2A2650;
    --tint-text: #D9D4F2;
    --callout-bg: #2A2118;
    --callout-text: #F3DDBB;
    --header-bg: rgba(17, 16, 32, 0.82);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 28px 60px rgba(0, 0, 0, 0.5);
  }
  .store-badge { background: #2A2650; }
  .store-badge.light { background: #F1EFFA; color: #16143A; }
  .nav-cta, .btn-solid.dark { background: var(--purple); color: #16143A !important; }
  .cta-final { background: linear-gradient(135deg, #1F1B45, #2A2760); }
  .cta-final h2 { color: #fff; }
  .logo img, .foot-logo img { filter: none; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--purple); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* -------- Cabecera y navegación -------- */
header.site-header {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 30;
  transition: border-color .2s, box-shadow .2s;
}
header.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
nav.site-nav {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: .2px; color: var(--text);
}
.logo img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; font-size: 14px; font-weight: 600; align-items: center; margin-left: auto; }
.nav-links a {
  color: var(--muted); padding: 8px 12px; border-radius: 10px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--tint); }
.nav-links a.active { color: var(--purple); background: var(--tint); }
.nav-cta {
  background: var(--navy); color: var(--bg) !important;
  padding: 10px 20px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; padding: 8px; color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  nav.site-nav { gap: 12px; }
  .nav-toggle { display: block; order: 3; }
  .nav-cta { margin-left: auto; padding: 9px 16px; font-size: 13px; }
  .nav-links {
    display: none; margin-left: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 12px 16px 18px; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 15px; }
}

/* -------- Hero (inicio) -------- */
.hero {
  max-width: 1160px; margin: 0 auto; padding: 64px 24px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  position: relative;
}
.hero-glow {
  position: absolute; inset: -40px 0 auto 0; height: 560px;
  background:
    radial-gradient(520px 320px at 78% 30%, rgba(167,155,217,.32), transparent 70%),
    radial-gradient(420px 280px at 12% 10%, rgba(227,182,121,.20), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); color: var(--tint-text);
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -1.2px; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--purple); }
.tagline {
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--purple); margin-bottom: 16px;
}
.hero p.desc { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 30px; }
.hero .store-buttons { justify-content: flex-start; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone {
  width: 270px; border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, var(--navy-soft), #0B0A20);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.float-chip {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip.c1 { left: -4%; top: 14%; }
.float-chip.c2 { right: -2%; bottom: 18%; animation-delay: -3s; }
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.float-chip .dot.p { background: var(--purple); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-lottie, .page-hero .lottie-page, .mini-card .mini-icon,
.pending-box .lottie-pending, .novelty-icon, .step-icon { overflow: hidden; }
.hero-lottie svg, .page-hero .lottie-page svg, .mini-card .mini-icon svg,
.pending-box .lottie-pending svg, .novelty-icon svg, .step-icon svg { width: 100% !important; height: 100% !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; text-align: center; }
  .hero p.desc { margin-left: auto; margin-right: auto; }
  .hero .store-buttons { justify-content: center; }
  .hero h1 { font-size: 42px; }
  .phone { width: 230px; }
  .float-chip.c1 { left: 6%; } .float-chip.c2 { right: 6%; }
}

/* -------- Botones de tienda -------- */
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--bg);
  padding: 11px 20px; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(22,20,58,0.18);
  transition: transform .15s, box-shadow .15s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(22,20,58,0.26); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store-badge .txt small { font-size: 10.5px; opacity: .75; font-weight: 400; }
.store-badge .txt strong { font-size: 15.5px; font-weight: 700; }
.store-badge.light { background: #fff; color: #16143A; }

/* -------- Secciones -------- */
main { min-height: 60vh; }
.section { max-width: 1160px; margin: 0 auto; padding: 72px 24px; }
.section.narrow { max-width: 860px; }
.section.alt { max-width: none; background: var(--bg-alt); }
.section.alt > .inner { max-width: 1160px; margin: 0 auto; }
.section h2 {
  text-align: center; font-family: var(--font-display);
  font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px;
}
.section > p.lead, .inner > p.lead { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 44px; font-size: 16.5px; }
.kicker {
  display: block; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--purple); margin-bottom: 10px;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 24px; text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-light); }
.feature-card .icon-wrap {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--purple-light), var(--gold-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden; color: #16143A;
}
.feature-card .icon-wrap svg { stroke: currentColor; }
.feature-card .icon-wrap .lottie-icon { width: 32px; height: 32px; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 22px; text-align: left; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin-bottom: 10px; font-size: 15px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tint); color: var(--tint-text);
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.pill.pending { background: var(--gold-soft); color: #7A4E1A; }

.pending-box { text-align: center; padding: 50px 24px; }
.pending-box .lottie-pending { width: 160px; height: 160px; margin: 0 auto 10px; }
.pending-box h1 { font-size: 30px; font-weight: 900; margin-bottom: 10px; }
.pending-box p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }

/* -------- Formulario de soporte -------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); }
.field .hint { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; font-size: 14.5px; color: var(--text);
  background: var(--bg); font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(103,80,164,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.file-drop {
  border: 1.5px dashed var(--border); border-radius: 14px;
  padding: 20px; text-align: center; font-size: 13px; color: var(--muted);
  background: var(--bg); cursor: pointer; transition: border-color .15s;
}
.file-drop:hover { border-color: var(--purple-light); }
.file-drop.has-file { border-color: var(--purple); color: var(--text); font-weight: 600; }
.submit-btn {
  background: var(--purple); color: #fff; border: none;
  padding: 14px 30px; border-radius: 14px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }

/* -------- FAQ -------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.faq-item p { font-size: 14.5px; color: var(--muted); }

/* -------- CTA final -------- */
.cta-final {
  background: linear-gradient(135deg, #16143A, #2A2760);
  color: #fff; border-radius: 32px; max-width: 1080px;
  margin: 30px auto 80px; padding: 64px 30px; text-align: center; position: relative; overflow: hidden;
}
.cta-final::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,182,121,.35), transparent 70%); pointer-events: none;
}
.cta-final img.mark { width: 60px; margin: 0 auto 16px; }
.cta-final h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 10px; color: #fff; }
.cta-final p { color: #C9C6E8; margin-bottom: 26px; }
@media (max-width: 1120px) { .cta-final { margin-left: 16px; margin-right: 16px; } }

/* -------- Pie de página -------- */
footer.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-alt);
  padding: 52px 24px 28px; color: var(--muted); font-size: 13.5px;
}
.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.foot-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 10px; }
.foot-logo img { width: 28px; height: 28px; }
.footer-brand p { max-width: 280px; }
.footer-col h4 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--muted); padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  max-width: 1160px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px;
}

/* -------- Utilidades -------- */
.center { text-align: center; }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--text); color: var(--text);
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 14px;
  transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-solid {
  display: inline-block; background: var(--purple); color: #fff !important;
  padding: 13px 26px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  transition: transform .15s, box-shadow .15s;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Entrada discreta (JS añade .reveal; sin JS todo se ve normal) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* -------- Encabezado de páginas interiores -------- */
.page-hero {
  max-width: 880px; margin: 0 auto; padding: 64px 24px 24px; text-align: center; position: relative;
}
.page-hero::before {
  content: ''; position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  width: min(520px, 100%); height: 280px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(167,155,217,.28), transparent);
}
.page-hero .lottie-page { width: 120px; height: 120px; margin: 0 auto 6px; }
.page-hero h1 { font-family: var(--font-display); font-size: 42px; line-height: 1.1; font-weight: 700; margin-bottom: 14px; letter-spacing: -.8px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 580px; margin: 0 auto; }
@media (max-width: 640px) { .page-hero h1 { font-size: 30px; } }

/* -------- Pasos (Cómo funciona) -------- */
.steps-list { max-width: 720px; margin: 0 auto; padding: 14px 24px 10px; display: flex; flex-direction: column; }
.step-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-card + .step-card { margin-top: 24px; }
.step-card::before {
  content: ''; position: absolute; left: 52px; top: -24px; width: 2px; height: 24px;
  background: repeating-linear-gradient(to bottom, var(--purple-light) 0 4px, transparent 4px 8px);
}
.step-card:first-child::before { display: none; }
.step-icon-wrap {
  position: relative; flex-shrink: 0; width: 58px; height: 58px; border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-light), var(--gold-soft));
  display: flex; align-items: center; justify-content: center; overflow: visible;
  box-shadow: 0 6px 14px rgba(103,80,164,0.22); color: #16143A;
}
.step-icon-wrap svg { width: 28px; height: 28px; stroke: currentColor; }
.step-icon-wrap .lottie-icon { width: 34px; height: 34px; }
.step-badge {
  position: absolute; bottom: -7px; right: -7px; width: 24px; height: 24px;
  border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--navy-soft));
  color: #fff; font-weight: 900; font-size: 11.5px;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--card); box-shadow: 0 2px 6px rgba(22,20,58,0.28);
}
.step-body { flex: 1; }
.step-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.step-body p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) {
  .step-card { gap: 16px; padding: 18px; }
  .step-icon-wrap { width: 48px; height: 48px; border-radius: 14px; }
  .step-icon-wrap svg { width: 22px; height: 22px; }
  .step-icon-wrap .lottie-icon { width: 28px; height: 28px; }
  .step-card::before { left: 42px; }
}

/* -------- Mini tarjetas -------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 18px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card .mini-icon { width: 44px; height: 44px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.mini-card h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 4px; }
.mini-card p { font-size: 13px; color: var(--muted); }

/* -------- Niveles Premium -------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.tier-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s; position: relative;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier-card.featured { border-color: var(--purple); box-shadow: 0 18px 40px rgba(103,80,164,0.20); }
.tier-card.featured::before {
  content: 'Más elegido'; position: absolute; top: -12px; right: 20px;
  background: var(--gold); color: #3A2708; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.tier-badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; text-transform: uppercase; }
.tier-badge.ads { background: var(--tint); color: var(--tint-text); }
.tier-badge.pro { background: #FDECC8; color: #7A4E1A; }
.tier-badge.ultra { background: #DCF3F8; color: #0E6E80; }
.tier-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 4px; }
.tier-card .tier-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.tier-perks { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier-perks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text); }
.tier-perks li .chk {
  flex-shrink: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.tier-note { margin-top: 18px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }

/* -------- Novedades -------- */
.novelty-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; position: relative; }
.novelty-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px; transition: transform .2s, box-shadow .2s;
}
.novelty-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.novelty-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-light), var(--gold-soft));
  display: flex; align-items: center; justify-content: center; color: #16143A;
}
.novelty-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.novelty-item h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.novelty-item p { font-size: 14.5px; color: var(--muted); }
.version-chip {
  display: inline-block; margin-bottom: 22px; font-size: 12.5px; font-weight: 700;
  background: var(--tint); color: var(--tint-text); padding: 6px 16px; border-radius: 999px;
}

/* -------- Prensa -------- */
.press-assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 560px) { .press-assets { grid-template-columns: 1fr; } }
.press-asset { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; text-align: center; }
.press-asset img { width: 72px; height: 72px; margin: 0 auto 12px; object-fit: contain; }
.press-asset h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 10px; }
.press-asset .btn-outline { padding: 8px 16px; font-size: 12.5px; }
.boilerplate { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; font-size: 15px; color: var(--text); line-height: 1.8; }

/* -------- Capturas -------- */
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .shots-grid { grid-template-columns: repeat(2, 1fr); } }
.shots-grid.compact { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .shots-grid.compact { grid-template-columns: repeat(2, 1fr); } }
.shot {
  border-radius: 22px; overflow: hidden; background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.shot:nth-child(even) { margin-top: 22px; }
@media (max-width: 900px) { .shot:nth-child(even) { margin-top: 0; } }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 11px 12px; text-align: center; border-top: 1px solid var(--border); }
.shot-single { max-width: 260px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.shot-single img { display: block; width: 100%; height: auto; }
.shot-float { max-width: 220px; float: right; margin: 4px 0 16px 24px; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.shot-float img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .shot-float { float: none; margin: 0 auto 20px; } }

/* -------- Documentos legales: lectura editorial con índice fijo -------- */
.legal-wrap {
  max-width: 1120px; margin: 0 auto; padding: 52px 24px 40px;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 40px; align-items: start;
}
.legal-head, .legal-lang-note { grid-column: 1 / -1; }
.legal-head { text-align: center; margin-bottom: 28px; }
.legal-head h1 { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.6px; }
.legal-head .legal-meta { font-size: 13px; color: var(--muted); }
.legal-lang-note {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 18px; font-size: 13px; color: var(--muted); margin: 0 0 30px;
}
.legal-toc {
  position: sticky; top: 92px; align-self: start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 20px 14px; max-height: calc(100vh - 116px); overflow-y: auto;
}
.legal-toc h2 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; text-align: left; font-family: var(--font-body); font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { font-size: 13.5px; margin-bottom: 7px; padding-left: 2px; }
.legal-toc a { color: var(--text); font-weight: 600; }
.legal-toc a:hover, .legal-toc a.current { color: var(--purple); }
.legal-body { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: var(--shadow-sm); }
.legal-body h2 {
  text-align: left; font-family: var(--font-display);
  font-size: 22px; font-weight: 700; margin: 38px 0 12px; padding-top: 18px;
  border-top: 1px solid var(--border); scroll-margin-top: 90px; letter-spacing: -.2px;
}
.legal-body h2:first-of-type { margin-top: 28px; }
.legal-body h3 { font-size: 15.5px; font-weight: 800; margin: 20px 0 6px; }
.legal-body p { color: var(--text); font-size: 15px; margin-bottom: 13px; line-height: 1.75; }
.legal-body p.muted { color: var(--muted); font-size: 13.5px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px 22px; }
.legal-body li { font-size: 15px; margin-bottom: 7px; line-height: 1.7; }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { background: var(--tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.legal-callout {
  background: var(--callout-bg); border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: var(--radius-md); padding: 16px 18px; font-size: 14px; color: var(--callout-text); margin: 18px 0;
}
.legal-callout strong { color: inherit; }
.back-to-top { display: inline-block; margin-top: 30px; font-size: 13px; font-weight: 700; }
@media (max-width: 960px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; margin-bottom: 24px; }
  .legal-toc ol { columns: 2; column-gap: 24px; }
  .legal-toc li { break-inside: avoid; }
  .legal-body { padding: 28px 22px; }
}
@media (max-width: 560px) { .legal-toc ol { columns: 1; } .legal-head h1 { font-size: 30px; } }

/* Impresión: solo contenido */
@media print {
  header.site-header, footer.site-footer, .legal-toc, .cta-final, .nav-toggle { display: none !important; }
  .legal-wrap { display: block; }
  .legal-body { border: none; padding: 0; box-shadow: none; }
}

/* Iconos propios: visibles incluso sin JavaScript, CDN o movimiento. */
[data-lottie] { position: relative; color: var(--purple); }
[data-lottie] .lottie-fallback { display: block; width: 100%; height: 100%; }
[data-lottie] .lottie-art { display: none; position: absolute; inset: 0; }
[data-lottie].lottie-ready .lottie-fallback { visibility: hidden; }
[data-lottie].lottie-ready .lottie-art { display: block; }
@media (prefers-reduced-motion: reduce) {
  [data-lottie].lottie-ready .lottie-fallback { visibility: visible; }
  [data-lottie].lottie-ready .lottie-art { display: none; }
}
