/* =========================================================
   CCSE 2027 · Simulador — extranjeriaeconomica.com
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0B3680;
  --navy-deep: #061E4A;
  --ink: #04122E;
  --pink: #FF6BAE;
  --cyan: #06B6F9;
  --gold: #F0C27A;
  --cream: #FFF7EC;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --text: #13213F;
  --muted: #5B6680;
  --line: rgba(11, 54, 128, .12);
  --radius: 22px;
  --shadow: 0 20px 60px -24px rgba(6, 30, 74, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 em, h1 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--white); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; font: 600 1rem/1 var(--sans);
  text-decoration: none; background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  --fg: var(--white);
  background: linear-gradient(135deg, var(--pink), #ff8fc1 45%, var(--cyan));
  background-size: 200% 200%; background-position: 0% 50%;
  box-shadow: 0 12px 30px -10px rgba(255, 107, 174, .7);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 18px 40px -12px rgba(6, 182, 249, .7); }
.btn-ghost { --bg: rgba(255, 255, 255, .08); --fg: var(--white); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .16); }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-ghost-dark:hover { --bg: rgba(11, 54, 128, .06); }
.btn-dark { --bg: var(--navy-deep); --fg: var(--white); box-shadow: 0 14px 34px -14px rgba(6, 30, 74, .7); }
.btn-wa { --bg: #25D366; --fg: #062b14; }
.btn-wa svg { width: 1.3em; height: 1.3em; }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.btn-lg { padding: 1.1em 2em; font-size: 1.1rem; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: var(--white); transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}
.site-header.is-solid {
  background: rgba(6, 30, 74, .82); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
@supports not (backdrop-filter: blur(1px)) { .site-header.is-solid { background: var(--navy-deep); } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { font: 700 1.2rem/1 var(--sans); letter-spacing: .02em; }
.brand-text b { font-weight: 800; background: linear-gradient(90deg, var(--pink), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-size: .95rem; opacity: .85; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .3s ease; transform-origin: left; }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }

/* ---------- HERO (scroll) ---------- */
.hero { position: relative; height: 420vh; background: var(--navy-deep); }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--navy-deep) url("../assets/img/hero-poster.webp") 70% center / cover no-repeat;
}
.js .hero-sticky { background-image: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 18, 46, .92) 0%, rgba(4, 18, 46, .7) 32%, rgba(4, 18, 46, 0) 62%),
    linear-gradient(0deg, rgba(4, 18, 46, .55) 0%, rgba(4, 18, 46, 0) 30%);
  opacity: var(--shade, 1);
}
.phase {
  position: absolute; z-index: 2; left: max(20px, calc((100vw - 1180px) / 2)); top: 50%;
  width: min(600px, 100% - 40px); transform: translateY(calc(-50% + var(--y, 0px)));
  opacity: var(--o, 1); color: var(--white); will-change: opacity, transform;
}
.js .phase-b, .js .phase-c { --o: 0; }
.phase-a { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 107, 174, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 107, 174, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 174, 0); } }
.hero-title { font-size: clamp(2.5rem, 6.2vw, 5.4rem); font-weight: 600; margin-bottom: 22px; text-wrap: balance; }
.hero-title em { color: var(--gold); }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 32em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.big-line { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.02; margin: 0; font-weight: 500; letter-spacing: -.03em; }
.big-line span { font-weight: 800; background: linear-gradient(120deg, var(--pink), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-line.accent { font-style: italic; color: var(--gold); }
.phase-c { color: var(--ink); text-align: left; }
.phase-c-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin-bottom: 18px; }
.phase-c p { font-size: 1.15rem; max-width: 28em; margin-bottom: 28px; color: #3a2a12; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
  opacity: var(--hint, 1); transition: opacity .3s;
}
.scroll-hint i { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-progress { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 3px; height: 140px; background: rgba(255, 255, 255, .18); border-radius: 3px; z-index: 3; overflow: hidden; }
.hero-progress i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--pink), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.hero-veil { position: absolute; inset: 0; background: var(--paper); opacity: var(--veil, 0); pointer-events: none; z-index: 4; }

/* ---------- Cifras ---------- */
.stats { background: var(--paper); padding: 40px 0 10px; }
.stats-grid { width: min(1180px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 26px 24px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--pink), var(--cyan)) 1; }
.stat b { display: block; font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--serif); color: var(--navy); letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .98rem; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; scroll-margin-top: calc(var(--header-h) - 40px); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); margin-bottom: 18px; }
.kicker-light { color: var(--cyan); }
.section-head h2 em { color: var(--navy); }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 20px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 30px -20px rgba(6, 30, 74, .3); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 174, .12), rgba(6, 182, 249, .08) 40%, transparent 70%);
}
.card:hover::before { opacity: 1; }

/* ---------- Cómo funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 36px 30px 34px; transition: transform .35s ease, box-shadow .35s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-n { display: inline-block; font: 600 .9rem/1 var(--sans); letter-spacing: .1em; color: var(--white); background: var(--navy); padding: 8px 12px; border-radius: 999px; margin-bottom: 26px; }
.step h3 { font-size: 1.6rem; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Tareas ---------- */
.tasks { background: linear-gradient(180deg, var(--paper), #EEF4FF); }
.task-list { display: grid; gap: 14px; }
.task { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; }
.task-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 700 1.6rem/1 var(--serif); color: var(--white); background: linear-gradient(140deg, var(--navy), #1a57c2); }
.task:nth-child(2) .task-num { background: linear-gradient(140deg, var(--pink), #ff94c4); }
.task:nth-child(3) .task-num { background: linear-gradient(140deg, var(--cyan), #5fd3ff); }
.task:nth-child(4) .task-num { background: linear-gradient(140deg, #7a4fd6, var(--pink)); }
.task:nth-child(5) .task-num { background: linear-gradient(140deg, var(--navy), var(--cyan)); }
.task h3 { font-size: 1.3rem; margin-bottom: 6px; }
.task p { color: var(--muted); margin: 0 0 12px; font-size: .97rem; }
.task-bar { height: 6px; background: rgba(11, 54, 128, .08); border-radius: 6px; overflow: hidden; }
.task-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--pink), var(--cyan)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
.task.is-in .task-bar i, .no-io .task-bar i { width: var(--w); }
.task-count { text-align: right; min-width: 84px; }
.task-count b { display: block; font: 700 2.6rem/1 var(--serif); color: var(--navy); }
.task-count span { font-size: .85rem; color: var(--muted); }

/* ---------- Pruébalo ---------- */
.try { background: var(--white); }
.try-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.try .section-head { margin-bottom: 0; }
.try .section-head .btn { margin-top: 28px; }
.quiz { padding: 34px; box-shadow: var(--shadow); }
.quiz::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.quiz-top { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: .85rem; }
.quiz-tag { font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: .12em; }
.quiz-id { color: var(--muted); }
.quiz-q { font: 600 clamp(1.3rem, 2.2vw, 1.65rem)/1.25 var(--serif); margin-bottom: 24px; }
.quiz-opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  font: 500 1.02rem/1.35 var(--sans); color: var(--text); transition: border-color .2s, background .2s, transform .2s;
}
.opt span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--white); border: 1.5px solid var(--line); text-transform: uppercase; }
@media (hover: hover) { .opt:hover:not(:disabled) { border-color: var(--navy); transform: translateX(4px); } }
.opt:disabled { cursor: default; }
.opt.is-right { border-color: #18a957; background: #eafaf0; }
.opt.is-right span { background: #18a957; color: #fff; border-color: #18a957; }
.opt.is-wrong { border-color: #e2445c; background: #fdecef; }
.opt.is-wrong span { background: #e2445c; color: #fff; border-color: #e2445c; }
.quiz-info { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #F2F6FF; border: 1px solid var(--line); animation: rise .45s ease; }
.quiz-info p { margin: 0; font-size: .98rem; }
.quiz-verdict { font-weight: 700; margin-bottom: 6px !important; }
.quiz-next { margin-top: 20px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Despacho ---------- */
.firm { background: radial-gradient(1200px 600px at 85% 20%, rgba(6, 182, 249, .18), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(255, 107, 174, .2), transparent 60%), var(--navy-deep); color: var(--white); overflow: hidden; }
.firm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.firm h2 { margin-bottom: 26px; }
.firm h2 em { color: var(--gold); }
.firm p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.firm strong { color: var(--white); }
.checks { list-style: none; padding: 0; margin: 26px 0 36px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: rgba(255, 255, 255, .9); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--cyan)); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 6px); width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.firm-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.firm-visual { position: relative; justify-self: center; }
.passport-card { width: min(360px, 80vw); aspect-ratio: 2 / 3; border-radius: 26px; overflow: hidden; transform: perspective(1200px) rotateY(-12deg) rotateX(4deg); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .6s ease; }
.passport-card img { width: 100%; height: 100%; object-fit: cover; }
.firm-visual:hover .passport-card { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.badge-float { position: absolute; left: -40px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.15; animation: float 5s ease-in-out infinite; }
.badge-float img { width: 46px; height: 46px; border-radius: 50%; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 1.2rem/1.3 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 400 1.4rem/1 var(--sans); color: var(--navy); background: rgba(11, 54, 128, .07); transition: transform .3s, background .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--pink); color: #fff; }
.faq-list details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ---------- CTA final ---------- */
.final-cta { padding: clamp(80px, 10vw, 130px) 0; text-align: center; background: linear-gradient(135deg, #fff0f7, #eaf8ff); }
.final-cta h2 { max-width: 15em; margin: 0 auto 36px; }
.final-cta h2 em { color: var(--pink); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 60px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 40px; align-items: start; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand a:not(.brand) { color: var(--white); }
.disclaimer { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.copy { text-align: center; margin: 44px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .4); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px 0 16px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); font-weight: 600; transition: transform .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.05); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ring 2.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .try-grid, .firm-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq .section-head { position: static; }
  .firm-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { flex-direction: row; gap: 20px; }
}
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
/* Pantallas verticales (móvil y tablet): texto arriba, pasaporte abajo */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 18, 46, .96) 0%, rgba(4, 18, 46, .85) 34%, rgba(4, 18, 46, 0) 56%),
      linear-gradient(0deg, rgba(4, 18, 46, .7) 0%, rgba(4, 18, 46, 0) 22%);
  }
  .phase { top: calc(var(--header-h) + 28px); transform: translateY(var(--y, 0px)); width: min(680px, 100% - 40px); }
  .phase-c { top: auto; bottom: 90px; }
  .hero-title { font-size: clamp(2.1rem, 7.4vw, 3.8rem); }
  .hero-progress { display: none; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .hero { height: 360vh; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 18, 46, .96) 0%, rgba(4, 18, 46, .85) 34%, rgba(4, 18, 46, 0) 56%),
      linear-gradient(0deg, rgba(4, 18, 46, .7) 0%, rgba(4, 18, 46, 0) 22%);
  }
  .phase { top: calc(var(--header-h) + 18px); transform: translateY(var(--y, 0px)); }
  .phase-c { top: auto; bottom: 90px; }
  .hero-title { font-size: clamp(2.1rem, 9.4vw, 2.8rem); margin-bottom: 14px; }
  .hero-sub { font-size: 1rem; margin-bottom: 0; }
  .phase-a .hero-ctas { display: none; }
  .big-line { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero-progress { display: none; }
  .scroll-hint { bottom: 22px; white-space: nowrap; font-size: .7rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .1em; margin-bottom: 14px; }
  .hero-sub { font-size: .95rem; line-height: 1.5; }
  .task { grid-template-columns: 48px 1fr; padding: 20px; gap: 16px; }
  .task-num { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 12px; }
  .task-count { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .task-count b { font-size: 1.8rem; display: inline; }
  .quiz { padding: 24px 20px; }
  .badge-float { left: 0; bottom: 14px; }
  .wa-float { height: 56px; padding: 0 14px; }
  .wa-label { display: none; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat { padding: 18px 14px; }
}
/* Solo efectos intrusivos se apagan con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .badge-float, .wa-float::before, .eyebrow .dot { animation: none; }
}
