/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #1c0f0e;
  --bg-2: #2a1512;
  --burgundy: #5c2822;
  --burgundy-light: #8a4034;
  --accent: #c8935f;
  --accent-light: #e3bd8f;
  --cream: #f3ead9;
  --cream-dim: #cfc0ab;
  --ink: #120908;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; color: var(--cream); }
em { font-style: italic; color: var(--accent-light); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
[hidden] { display: none !important; }
.container { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}
.eyebrow.center, .section-title.center { text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 3rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 999; pointer-events: none;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--ink);
  box-shadow: 0 8px 30px -10px rgba(200, 147, 95, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(200, 147, 95, .75); }
.btn-ghost {
  border: 1px solid rgba(243, 234, 217, .3);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(200, 147, 95, .08); transform: translateY(-2px); }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: linear-gradient(to bottom, rgba(28,15,14,.9), transparent);
  backdrop-filter: blur(6px);
}
.nav-brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: .92rem; font-weight: 500; }
.nav-links a:not(.nav-cta) { opacity: .85; transition: opacity .3s; }
.nav-links a:not(.nav-cta):hover { opacity: 1; }
.nav-cta {
  padding: .6rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--ink);
}
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .4rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* mobile menu (progressive; nav-links become a panel when toggled) */
@media (max-width: 959.98px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 199;
    flex-direction: column; justify-content: center; gap: 2.2rem;
    background: var(--bg); font-size: 1.4rem;
    transform: translateX(100%); transition: transform .5s var(--ease-out);
  }
  .nav-links.is-open { transform: translateX(0); display: flex; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(200,147,95,.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(92,40,34,.5), transparent 60%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 60%, var(--burgundy) 140%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 4rem; }
.hero-inner-split { display: grid; gap: 2.5rem; align-items: center; }
.hero-title { font-size: clamp(3rem, 10vw, 6.5rem); margin-bottom: 1.4rem; }
.hero-tagline { max-width: 42ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--cream-dim); margin-bottom: 2.2rem; }
.hero-stat { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-stat-value { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--accent-light); }
.hero-stat-label { color: var(--cream-dim); font-size: .95rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .hero-inner-split { grid-template-columns: 1.2fr .8fr; }
  .hero-photo { margin-inline: 0; max-width: none; }
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(243,234,217,.4); border-radius: 20px;
}
.hero-scroll span {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { top:6px; opacity:1; } 60% { top:20px; opacity:0; } }

/* =============================================================
   7. Stats band
   ============================================================= */
.stats-band { background: var(--burgundy); padding: 3rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem 1rem; text-align: center;
}
@media (min-width: 480px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-item .stat-value { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--accent-light); }
.stat-item .stat-label { display: block; font-size: .82rem; color: var(--cream-dim); margin-top: .3rem; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   8. Story
   ============================================================= */
.story { padding: 7rem 0; }
.story-grid { display: grid; gap: 3rem; }
.story-visual { overflow: hidden; border-radius: var(--radius); }
.story-photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius);
  object-fit: cover;
  background: linear-gradient(150deg, var(--burgundy-light), var(--bg-2));
}
.story-text p { color: var(--cream-dim); margin-bottom: 1.1rem; max-width: 56ch; }
.story-text p strong { color: var(--accent-light); font-weight: 600; }
.story-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: .8fr 1.2fr; align-items: center; }
}

/* =============================================================
   8b. Video
   ============================================================= */
.video-section { padding: 5rem 0 7rem; }
.video-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.video-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .6rem 0 2rem; }
.video-frame {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--burgundy-light), var(--bg-2));
  border: 1px solid rgba(243,234,217,.1);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
}
.video-frame wistia-player { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; }

/* =============================================================
   9. What I do (trio)
   ============================================================= */
.what-i-do { padding: 6rem 0; background: var(--bg-2); }
.trio-grid { display: grid; gap: 1.5rem; }
.trio-card {
  padding: 2.2rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200,147,95,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(243,234,217,.08);
}
.trio-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.trio-card p { color: var(--cream-dim); font-size: .95rem; margin-bottom: 1.2rem; }
.trio-price { color: var(--accent-light); font-weight: 600; font-family: var(--serif); font-size: 1.3rem; }
.trio-price-note { color: var(--cream-dim); font-size: .8rem; text-decoration: line-through; margin-left: .4rem; }
@media (min-width: 960px) { .trio-grid { grid-template-columns: repeat(3, 1fr); } }

/* trio cards as clickable buttons (index.html "Cómo trabajo") */
.trio-card-link {
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), border-color .35s;
}
.trio-card-link:hover { transform: translateY(-4px); border-color: rgba(200,147,95,.4); }
.trio-card-title { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: .3rem; }
.trio-card-subtitle {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.trio-card-link p { color: var(--cream-dim); font-size: .95rem; margin-bottom: 1.2rem; flex: 1; }
.trio-card-cta { color: var(--accent-light); font-weight: 600; font-size: .9rem; }

/* =============================================================
   10. Timeline
   ============================================================= */
.timeline-section { padding: 7rem 0; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--accent), transparent);
}
.timeline-item { position: relative; padding-left: 3rem; padding-bottom: 3rem; }
.timeline-item::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(200,147,95,.4);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { display: block; color: var(--accent); font-weight: 600; font-size: .85rem; margin-bottom: .3rem; letter-spacing: .04em; text-transform: uppercase; }
.timeline-item h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.timeline-item p { color: var(--cream-dim); max-width: 56ch; }

/* =============================================================
   11. Programs (soft teaser, no pricing)
   ============================================================= */
.programs { padding: 7rem 0; background: var(--bg-2); }
.programs-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.programs-lead { color: var(--cream-dim); font-size: 1.05rem; }

/* =============================================================
   12. Proof
   ============================================================= */
.proof { padding: 7rem 0; }
.proof-grid { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.proof-card {
  text-align: center; padding: 2.6rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200,147,95,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(243,234,217,.08);
}
.proof-number { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--accent-light); margin-bottom: .5rem; }
.proof-label { color: var(--cream-dim); font-size: .92rem; }
.proof-note { text-align: center; color: var(--cream-dim); font-size: .85rem; max-width: 60ch; margin: 0 auto; opacity: .8; }
@media (min-width: 720px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   13. Objections
   ============================================================= */
.objections { padding: 7rem 0; background: var(--bg-2); }
.objections-grid { display: grid; gap: 1.2rem; }
.objection-card { padding: 1.8rem; border-radius: var(--radius); background: var(--bg); border: 1px solid rgba(243,234,217,.08); }
.objection-card h3 { font-size: 1.05rem; color: var(--accent-light); margin-bottom: .6rem; font-family: var(--sans); font-weight: 600; }
.objection-card p { color: var(--cream-dim); font-size: .92rem; }
@media (min-width: 720px) { .objections-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   14. Manifesto
   ============================================================= */
.manifesto {
  padding: 8rem 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(200,147,95,.14), transparent 65%), var(--burgundy);
  text-align: center;
}
.manifesto-text {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); max-width: 46ch; margin: 0 auto;
  color: var(--cream);
}

/* =============================================================
   15. Contact
   ============================================================= */
.contact { padding: 7rem 0; }
.contact-grid { display: grid; gap: 3rem; }
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.contact p { color: var(--cream-dim); max-width: 48ch; margin-bottom: 2rem; }
.contact-social { display: flex; flex-direction: column; gap: 1rem; }
.contact-social a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.4rem; border-radius: 10px; border: 1px solid rgba(243,234,217,.1);
  font-weight: 600; transition: border-color .3s, background .3s;
}
.contact-social a span { color: var(--cream-dim); font-weight: 400; }
.contact-social a:hover { border-color: var(--accent); background: rgba(200,147,95,.06); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr .8fr; align-items: center; } }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { padding: 2.5rem 0; border-top: 1px solid rgba(243,234,217,.08); }
.footer-inner {
  display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center;
  font-size: .85rem; color: var(--cream-dim);
}
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a:hover { color: var(--accent); }
.footer-top { color: var(--accent); }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; } }

/* =============================================================
   17. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   18. Funnel pages (oferta.html / empezar.html)
   ============================================================= */
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

.nav-minimal { justify-content: center; background: rgba(28,15,14,.85); backdrop-filter: blur(6px); }

/* --- Oferta / VSL hero --- */
.offer-hero { padding: 7rem 0 4rem; }
.offer-hero-inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.offer-hero h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 16ch; margin: 0; }
.offer-hero-sub { color: var(--cream-dim); max-width: 52ch; font-size: 1.05rem; }
.video-frame-lg { width: 100%; margin-block: .5rem 1rem; }

/* --- Stack de oferta --- */
.offer-stack { padding: 5rem 0 6rem; }
.stack-card {
  max-width: 640px; margin: 0 auto; padding: 2.6rem;
  border-radius: var(--radius); background: linear-gradient(160deg, rgba(200,147,95,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(243,234,217,.1); text-align: center;
}
.stack-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.2rem; }
.stack-item { display: flex; gap: 1rem; align-items: flex-start; }
.stack-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; margin-top: .2rem;
}
.stack-item h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.stack-item p { color: var(--cream-dim); font-size: .92rem; }
.stack-price { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin-bottom: 1.6rem; }
.stack-price-value-old { color: var(--cream-dim); text-decoration: line-through; font-size: 1.1rem; }
.stack-price-value-new { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.2rem); color: var(--accent-light); }
.stack-price-note { color: var(--cream-dim); font-size: .85rem; }
.stack-disclaimer { color: var(--cream-dim); font-size: .8rem; margin-top: 1rem; opacity: .8; }

.offer-final-cta { padding: 6rem 0 7rem; text-align: center; }
.offer-final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 20ch; margin: 0 auto 2rem; }

/* --- Quiz --- */
.quiz-section { padding: 8rem 0 6rem; min-height: 80vh; }
.quiz-container { max-width: 560px; margin: 0 auto; }
.quiz-noscript { color: var(--cream-dim); text-align: center; margin-bottom: 2rem; }
.quiz-progress { height: 4px; border-radius: 4px; background: rgba(243,234,217,.1); margin-bottom: 3rem; overflow: hidden; }
.quiz-progress-bar { display: block; height: 100%; width: 33%; background: var(--accent); transition: width .4s var(--ease-out); }
.quiz-question { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.8rem; color: var(--cream); padding: 0; }
.quiz-step { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.quiz-option {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.3rem;
  border-radius: 10px; border: 1px solid rgba(243,234,217,.12);
  cursor: pointer; transition: border-color .25s, background .25s;
}
.quiz-option:hover { border-color: rgba(200,147,95,.5); background: rgba(200,147,95,.05); }
.quiz-option input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.quiz-option:has(input:checked) { border-color: var(--accent); background: rgba(200,147,95,.1); }
.quiz-option span { font-size: .98rem; }
.quiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; }
.quiz-nav .btn-primary:only-child,
.quiz-nav .btn-primary:last-child { margin-left: auto; }
.quiz-result { text-align: center; max-width: 520px; margin: 0 auto; }
.quiz-result h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: .8rem 0 1.2rem; }
.quiz-result p { color: var(--cream-dim); margin-bottom: 2rem; }
.quiz-result-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 540px) { .quiz-result-actions { flex-direction: row; justify-content: center; } }

/* --- VSL gate (nombre + correo antes del video) --- */
html.vsl-locked, html.vsl-locked body { overflow: hidden; height: 100%; }
.vsl-gate {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem var(--gutter);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,147,95,.16), transparent 60%),
    var(--bg);
  transition: opacity .5s var(--ease-out), visibility .5s;
}
.vsl-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.vsl-gate-inner { max-width: 460px; width: 100%; }
.vsl-gate-inner h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin: .8rem 0 1rem; }
.vsl-gate-sub { color: var(--cream-dim); margin-bottom: 2rem; }
.vsl-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; text-align: left; }
.vsl-field span { font-size: .85rem; color: var(--cream-dim); }
.vsl-field span em { font-style: normal; opacity: .7; }
.vsl-field input {
  padding: .9rem 1.1rem; border-radius: 10px; border: 1px solid rgba(243,234,217,.15);
  background: rgba(255,255,255,.03); color: var(--cream); font: inherit; font-size: .98rem;
}
.vsl-field input:focus-visible { border-color: var(--accent); outline: none; }
.vsl-gate-inner .btn { width: 100%; justify-content: center; margin-top: .4rem; }

/* --- exit links locked until the video ends --- */
[data-exit-link] { cursor: default; opacity: .45; pointer-events: none; }
[data-exit-link].is-unlocked { cursor: pointer; opacity: 1; pointer-events: auto; }

/* --- breathing / heartbeat CTA once revealed --- */
/* --- Success stories carousel (infinite, right-to-left) --- */
.success-carousel { padding: 6rem 0 5rem; overflow: hidden; }
.success-carousel .section-title { margin-bottom: 3rem; }
.carousel-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.carousel-track {
  display: flex; width: max-content;
  animation: carouselScroll 42s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-item {
  flex: none; width: 200px; aspect-ratio: 9 / 16; margin-right: 1.4rem;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(243,234,217,.1);
  box-shadow: 0 20px 45px -18px rgba(0,0,0,.55);
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
/* translateX(-50%) is exact (no seam/jump) because every item — including the
   last one in each half — carries the same margin-right, so the 10-item track
   is perfectly periodic and splits cleanly at the halfway point. Using flexbox
   `gap` instead breaks this (gap has one fewer step than items, so 50% lands
   half a gap short of the real seam). */
@keyframes carouselScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (min-width: 720px) {
  .carousel-item { width: 240px; }
}

.btn-pulse { animation: btnPulse 2.2s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 30px -10px rgba(200,147,95,.6); }
  50% { transform: scale(1.045); box-shadow: 0 10px 40px -8px rgba(200,147,95,.85); }
}
@media (prefers-reduced-motion: reduce) { .btn-pulse { animation: none; } }
.quiz-step-invalid .quiz-option { border-color: rgba(220,90,90,.5); }
