/* Letras servidas desde la propia web (sin conectar con Google: más rápido y sin pasar la IP a terceros) */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/figtree.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/caveat-600.woff2") format("woff2"); }

/* Un poco de IA al día — estilos
   Estilo «café de papel»: fondo crema, casi todo en negro, amarillo para la acción principal y terracota de acento.
   Pensado para leer bien a los 40-60: letra grande, contraste alto y botones amplios. */

:root {
  --bg: #faf8f0;
  --bg-alt: #f3efe1;
  --card: #ffffff;
  --ink: #222222;
  --ink-soft: #666666;
  --line: #e5e7eb;
  --coral: #d8573f;
  --coral-hover: #b9442f;
  --coral-soft: #fbe5df;
  --sun: #ffdd00;
  --sun-soft: #fff6bf;
  --lilac: #f1ece1;
  --lilac-ink: #222222;
  --mint: #e7efe1;
  --mint-ink: #2f5a2a;
  --sky: #e5edf2;
  --sky-ink: #2c4d63;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 0 2px rgba(0, 0, 0, .15), 0 4px 7px rgba(0, 0, 0, .04), 0 12px 24px rgba(0, 0, 0, .04);
  --shadow-lg: 0 0 2px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .05), 0 28px 56px rgba(0, 0, 0, .09);
  --max: 1160px;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac-ink); outline-offset: 3px; border-radius: 8px; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
section[id] { scroll-margin-top: 80px; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--ink-soft); font-size: 1.12rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem;
  padding: 7px 14px; border-radius: 999px;
  background: var(--lilac); color: var(--lilac-ink);
  margin-bottom: 18px;
}
.pill--sun { background: var(--sun-soft); color: #7a5400; }
.pill--coral { background: var(--coral-soft); color: #a3300f; }
.mark { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 30px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(238, 75, 34, .32), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn--primary:hover { background: var(--coral-hover); color: #fff; box-shadow: 0 14px 30px rgba(238, 75, 34, .38), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2560; color: #fff; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 246, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(23, 19, 58, .05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 44px; height: 44px; flex: none; transition: transform .3s ease; }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font-family: var(--font-title); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.logo__text b { color: var(--coral); }
.logo__text small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transition: transform .2s ease; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .burger { display: grid; }
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a::after { display: none; }
}
@media (max-width: 560px) { .nav .btn { display: none; } .logo__text { font-size: 1.15rem; } }

/* Hero */
.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -180px;
  background: radial-gradient(closest-side, rgba(255, 201, 60, .45), rgba(255, 201, 60, 0));
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; left: -260px; bottom: -260px;
  background: radial-gradient(closest-side, rgba(236, 231, 255, .95), rgba(236, 231, 255, 0));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.rotator { display: block; color: var(--coral); min-height: 1.1em; }
.rotator__word { display: inline-block; }
.rotator__word.is-out { animation: wordOut .35s ease forwards; }
.rotator__word.is-in { animation: wordIn .45s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.35em); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.reassure i { width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 800; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .hero__cta .btn { width: 100%; } }

/* Demostración interactiva */
.demo { position: relative; }
.demo__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 16px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 700; font-size: .95rem; color: var(--ink);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.phone {
  position: relative; width: min(370px, 100%); margin-inline: auto;
  background: #0f0d24; border-radius: 48px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2850;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0f0d24; border-radius: 20px; z-index: 2; }
.phone__screen { background: #f6f5fb; border-radius: 38px; overflow: hidden; height: 560px; display: flex; flex-direction: column; }
.phone__bar { background: #fff; padding: 54px 18px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #ebe9f3; font-size: .92rem; font-weight: 800; }
.phone__bar span { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; font-size: .72rem; }
.phone__bar em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ink-soft); background: var(--sun-soft); padding: 3px 9px; border-radius: 999px; }
.chat { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: hidden; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 20px; font-size: .88rem; line-height: 1.45; animation: msgIn .45s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg--me { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(23, 19, 58, .07); }
.msg--ai b { color: var(--coral); }
.msg--ai ul { margin: 4px 0 0; padding-left: 18px; }
.msg--photo { padding: 6px; background: var(--coral); }
.snap { width: 196px; border-radius: 15px; padding: 10px; display: grid; gap: 6px; background: linear-gradient(#f2f5f8, #e2e8ee); }
.snap__row { display: flex; justify-content: space-around; font-size: 1.45rem; padding: 3px 0 6px; border-bottom: 3px solid #c8d2da; }
.snap__row:last-child { border-bottom: 0; }
.snap--paper { background: #fff; color: var(--ink); font-size: .74rem; line-height: 1.35; padding: 12px; }
.snap--paper b { display: block; font-size: .8rem; margin-bottom: 4px; }
.snap--paper i { display: block; height: 6px; border-radius: 3px; background: #e6e3ef; margin-top: 6px; }
.snap--sms { background: #fff; color: var(--ink); font-size: .78rem; line-height: 1.4; padding: 12px; }
.snap--sms b { display: block; color: var(--ink-soft); font-size: .7rem; margin-bottom: 4px; }
.snap--sms u { color: var(--sky-ink); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px 16px; background: #fff; border-radius: 20px; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(23, 19, 58, .07); animation: msgIn .3s ease both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a6a2bd; animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.float {
  position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 10px;
  animation: bob 5s ease-in-out infinite;
}
.float b { font-family: var(--font-title); font-size: 1.5rem; color: var(--coral); }
.float--a { left: -8px; bottom: 90px; }
.float--b { right: -6px; top: 120px; animation-delay: -2.5s; }
.float--b span { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (max-width: 560px) { .float { display: none; } .phone__screen { height: 520px; } }
.demo__note { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* Franja de temas que se desliza */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; font-size: .98rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Así es un cursillo */
.lesson { display: grid; grid-template-columns: 300px 1fr; gap: 24px; max-width: 1000px; margin-inline: auto; }
.lesson__steps { display: grid; gap: 10px; align-content: start; }
.lesson__step {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.lesson__step:hover { transform: translateX(3px); }
.lesson__step span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); font-size: 1.15rem; flex: none; transition: background .2s ease; }
.lesson__step[aria-selected="true"] { border-color: var(--coral); background: var(--coral-soft); }
.lesson__step[aria-selected="true"] span { background: var(--coral); }
.lesson__panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); min-height: 360px; position: relative; overflow: hidden; }
.lesson__panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--sun-soft); z-index: 0; }
.lesson__panel > * { position: relative; z-index: 1; }
.lesson__panel[hidden] { display: none; }
.lesson__panel.is-active { animation: msgIn .4s ease both; }
.lesson__label { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); margin-bottom: 10px; }
.result-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.result-card div { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px; font-size: .92rem; }
.result-card b { display: block; font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.prompt { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 20px 22px; margin: 16px 0; font-size: 1rem; line-height: 1.55; }
.prompt mark { background: var(--sun); color: var(--ink); border-radius: 5px; padding: 0 4px; }
.prompt__copy { min-height: 48px; padding: 10px 20px; font-size: .98rem; }
.mini-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: m; }
.mini-steps li { counter-increment: m; display: flex; gap: 14px; align-items: flex-start; }
.mini-steps li::before { content: counter(m); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); font-weight: 800; display: grid; place-items: center; }
.fix { display: grid; gap: 12px; margin-top: 16px; }
.fix div { border-left: 4px solid var(--coral); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 12px 16px; }
.fix i { color: var(--ink-soft); }
@media (max-width: 860px) {
  .lesson { grid-template-columns: 1fr; }
  .lesson__steps { grid-template-columns: repeat(2, 1fr); }
  .lesson__step:hover { transform: none; }
  .result-card { grid-template-columns: 1fr; }
}

/* Cursillos */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .courses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .courses { grid-template-columns: 1fr; } }
.course {
  --tint: var(--bg-alt); --tint-ink: var(--ink);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.course:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.course__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.course__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--tint); display: grid; place-items: center; font-size: 2rem; transition: transform .3s ease; }
.course:hover .course__icon { transform: scale(1.08) rotate(-6deg); }
.course__tag { font-size: .8rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--tint-ink); }
.course__tag--live { background: var(--coral); color: #fff; }
.course p { color: var(--ink-soft); margin-bottom: 14px; }
.course details { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 12px; }
.course summary { cursor: pointer; font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.course summary::-webkit-details-marker { display: none; }
.course summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s ease; }
.course details[open] summary::after { transform: rotate(45deg); }
.course ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: .96rem; }
.course--peach { --tint: var(--coral-soft); --tint-ink: #a3300f; }
.course--lilac { --tint: var(--lilac); --tint-ink: var(--lilac-ink); }
.course--mint { --tint: var(--mint); --tint-ink: var(--mint-ink); }
.course--sky { --tint: var(--sky); --tint-ink: var(--sky-ink); }
.course--sun { --tint: var(--sun-soft); --tint-ink: #7a5400; }
.course--main { border: 2px solid var(--coral); }

/* Test de estafas */
.quiz-wrap { background: var(--ink); color: #fff; }
.quiz-wrap .section__head p { color: #c9c6e0; }
.quiz-wrap h2 { color: #fff; }
.quiz { max-width: 720px; margin-inline: auto; background: #221d4f; border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.quiz__progress { display: flex; gap: 6px; margin-bottom: 20px; }
.quiz__progress i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); transition: background .3s ease; }
.quiz__progress i.is-done { background: var(--sun); }
.quiz__sms { background: #fff; color: var(--ink); border-radius: 20px; border-top-left-radius: 6px; padding: 18px 20px; font-size: 1.02rem; line-height: 1.5; box-shadow: var(--shadow); }
.quiz__sms small { display: block; color: var(--ink-soft); font-weight: 700; margin-bottom: 6px; font-size: .85rem; }
.quiz__sms u { color: var(--sky-ink); }
.quiz__q { font-weight: 800; font-size: 1.15rem; margin: 22px 0 14px; text-align: center; }
.quiz__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__answers .btn { min-height: 62px; font-size: 1.08rem; }
.btn--scam { background: var(--coral); color: #fff; }
.btn--scam:hover { background: var(--coral-hover); color: #fff; }
.btn--real { background: #fff; color: var(--ink); }
.btn--real:hover { background: var(--mint); color: var(--ink); }
.quiz__answers .btn:disabled { opacity: .45; cursor: default; transform: none; }
.quiz__answers .btn.is-picked { opacity: 1; outline: 3px solid var(--sun); outline-offset: 3px; }
.quiz__feedback { margin-top: 18px; border-radius: 18px; padding: 18px 20px; display: none; animation: msgIn .4s ease both; }
.quiz__feedback.is-ok { display: block; background: rgba(220, 245, 232, .12); border: 2px solid #5fd39a; }
.quiz__feedback.is-ko { display: block; background: rgba(255, 201, 60, .1); border: 2px solid var(--sun); }
.quiz__feedback b { font-size: 1.1rem; display: block; margin-bottom: 6px; }
.quiz__feedback ul { margin: 6px 0 0; padding-left: 20px; color: #dcd9ef; }
.quiz__next { margin-top: 16px; }
.quiz__end { text-align: center; display: none; animation: msgIn .4s ease both; }
.quiz__end.is-on { display: block; }
.quiz__score { font-family: var(--font-title); font-size: 4rem; font-weight: 800; color: var(--sun); line-height: 1; margin-bottom: 8px; }
@media (max-width: 520px) { .quiz__answers { grid-template-columns: 1fr; } }

/* Regalo */
.gift { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: linear-gradient(135deg, #ffd65e 0%, var(--sun) 50%, #ffb938 100%); border-radius: 32px; padding: clamp(28px, 5vw, 60px); box-shadow: var(--shadow-lg); overflow: hidden; }
.gift::before { content: "🥕"; position: absolute; font-size: 9rem; right: 46%; bottom: -36px; opacity: .18; transform: rotate(-18deg); pointer-events: none; }
.gift h2 { margin-bottom: 14px; }
.gift__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.gift__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.gift__list li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; flex: none; font-size: .85rem; margin-top: 1px; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.form label { display: block; font-weight: 800; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; min-height: 58px; padding: 12px 18px; font: inherit; font-size: 1.05rem;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus { border-color: var(--lilac-ink); outline: none; box-shadow: 0 0 0 4px var(--lilac); background: #fff; }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .92rem; color: var(--ink-soft); }
.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--coral); }
.form small { display: block; color: var(--ink-soft); margin-top: 12px; font-size: .86rem; text-align: center; }
.hidden { display: none; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .gift::before { display: none; } }

/* Precio */
.toggle { display: inline-flex; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin: 0 auto 30px; position: relative; }
.toggle button { position: relative; z-index: 1; min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 0; background: transparent; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); transition: color .2s ease; }
.toggle button[aria-pressed="true"] { color: #fff; }
.toggle__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .3s cubic-bezier(.3, .9, .3, 1), width .3s ease; }
.toggle em { font-style: normal; font-size: .78rem; background: var(--sun); color: var(--ink); padding: 2px 8px; border-radius: 999px; }
.price-wrap { text-align: center; }
.price-card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 32px; box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 40px); border: 2px solid var(--ink); position: relative; }
.price-card__badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-weight: 800; font-size: .88rem; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.price { font-family: var(--font-title); font-weight: 800; font-size: clamp(3.6rem, 8vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; margin: 6px 0; }
.price small { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; }
.price-card__note { color: var(--ink-soft); min-height: 1.6em; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; text-align: left; }
.price-card li { display: flex; gap: 12px; align-items: center; }
.price-card li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 800; flex: none; font-size: .85rem; }
.price-card__small { font-size: .9rem; color: var(--ink-soft); margin: 12px 0 0; }
.swap { transition: opacity .2s ease; }
.swap.is-swapping { opacity: 0; }

.timeline { max-width: 880px; margin: 44px auto 0; }
.timeline h3 { text-align: center; margin-bottom: 22px; }
.timeline ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.timeline li { text-align: center; padding: 0 12px; position: relative; }
.timeline li span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.4rem; background: #fff; border: 3px solid var(--line); position: relative; }
.timeline li:nth-child(1) span { border-color: var(--mint-ink); background: var(--mint); }
.timeline li:nth-child(2) span { border-color: #c89400; background: var(--sun-soft); }
.timeline li:nth-child(3) span { border-color: var(--coral); background: var(--coral-soft); }
.timeline li b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.timeline li p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .timeline ol { grid-template-columns: 1fr; gap: 18px; }
  .timeline ol::before { display: none; }
  .timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; text-align: left; align-items: center; }
  .timeline li span { margin: 0; grid-row: span 2; }
}
.cancel-box { max-width: 880px; margin: 32px auto 0; display: flex; gap: 18px; align-items: center; background: var(--mint); border-radius: var(--radius); padding: 22px 26px; }
.cancel-box span { font-size: 2rem; }
.cancel-box p { margin: 0; }
.cancel-box a { color: var(--mint-ink); font-weight: 800; }

/* Sobre Pol */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; max-width: 960px; margin-inline: auto; }
.about__photo { position: relative; width: 240px; height: 280px; }
.about__photo div { position: absolute; inset: 0; border-radius: 32px; background: var(--lilac); display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; font-size: 6rem; color: var(--lilac-ink); transform: rotate(-4deg); box-shadow: var(--shadow-lg); overflow: hidden; }
.about__photo div img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::before { content: ""; position: absolute; inset: 0; border-radius: 32px; background: var(--sun); transform: rotate(5deg) translate(10px, 6px); }
.about__photo::after { content: "👋"; position: absolute; right: -14px; bottom: 14px; font-size: 2.6rem; background: #fff; border-radius: 50%; width: 70px; height: 70px; display: grid; place-items: center; box-shadow: var(--shadow); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; text-align: center; } .about__photo { margin: 0 auto 10px; width: 190px; height: 220px; } }

/* Preguntas */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-size: 1.3rem; flex: none; transition: transform .25s ease, background .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { color: var(--ink-soft); animation: msgIn .3s ease both; }

/* CTA final */
.final { position: relative; text-align: center; background: var(--coral); color: #fff; border-radius: 36px; padding: clamp(40px, 7vw, 80px) 24px; overflow: hidden; }
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.final::before { width: 320px; height: 320px; left: -100px; top: -120px; }
.final::after { width: 240px; height: 240px; right: -60px; bottom: -100px; }
.final h2 { color: #fff; position: relative; }
.final p { position: relative; color: #ffe7dd; font-size: 1.15rem; max-width: 560px; margin: 0 auto 26px; }
.final .btn { position: relative; background: #fff; color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.final .btn:hover { background: var(--ink); color: #fff; }
.final a.small { position: relative; display: inline-block; margin-top: 16px; color: #fff; font-weight: 700; }

/* Aparecer al bajar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }

/* Pie */
.footer { background: var(--ink); color: #c9c6e0; padding: 56px 0 120px; font-size: .96rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer .logo { color: #fff; }
.footer .logo__text small { color: #a7a3c4; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__cancel { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; }
.footer__bottom { border-top: 1px solid #2e2960; margin-top: 36px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .footer { padding-bottom: 56px; } }

/* Botón fijo en el móvil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: none; box-shadow: 0 -10px 30px rgba(23,19,58,.1); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta small { display: block; text-align: center; color: var(--ink-soft); font-size: .8rem; margin-top: 6px; font-weight: 700; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* Páginas de texto (legal, guía, cancelar) */
.page { padding: clamp(40px, 6vw, 80px) 0; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: .4em; }
.prose .lead { font-size: 1.2rem; color: var(--ink-soft); }
.note { background: var(--lilac); border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0; }
.note--warn { background: var(--sun-soft); }
.big-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.big-steps li { counter-increment: s; position: relative; padding: 4px 0 18px 60px; }
.big-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); font-weight: 800; display: grid; place-items: center; }
.center { text-align: center; }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumbs a { color: var(--ink-soft); }
.big-emoji { font-size: 4.5rem; line-height: 1; margin-bottom: 12px; display: inline-block; animation: bob 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
}

@media (max-width: 560px) {
  .hero::before { width: 420px; height: 420px; right: -160px; top: -120px; }
  .hero::after { display: none; }
}

/* ===================================================================
   Estilo «café de papel» (encima de lo anterior)
   =================================================================== */
body { font-weight: 400; font-size: 19px; }
b, strong { font-weight: 700; }
h1, h2 { color: #000; font-weight: 800; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; }
h3 { font-weight: 700; color: #000; }
a { color: #000; }
a:hover { color: var(--coral-hover); }
:focus-visible { outline-color: #000; }

/* Etiquetas en versalitas que susurran */
.pill { background: transparent; color: var(--ink-soft); padding: 0; border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
.pill--sun, .pill--coral { background: transparent; color: var(--ink-soft); }
.mark { background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); }

/* Botones: amarillo con texto negro, sin brillos */
.btn { font-weight: 700; }
.btn--primary { background: var(--sun); color: #000; box-shadow: none; }
.btn--primary:hover { background: #f7d046; color: #000; box-shadow: none; }
.btn--ghost { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: #000; }
.btn--ghost:hover { border-color: #000; }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: #333; color: #fff; }

/* Cabecera y logo */
.header { background: rgba(250, 248, 240, .9); }
.logo__text { font-weight: 800; letter-spacing: -0.035em; font-size: 1.3rem; }
.logo__text b { color: #000; }
.logo__text small { color: var(--ink-soft); letter-spacing: .14em; }
.nav__links a::after { background: var(--sun); height: 4px; }

/* Hero centrado tipo álbum de recortes */
.hero { text-align: center; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.hero::before, .hero::after { display: none; }
.hero__center { position: relative; max-width: 900px; margin-inline: auto; z-index: 1; }
.hero__center h1 { margin-bottom: 24px; }
.hero__center .hero__lead { margin-inline: auto; font-size: 1.25rem; max-width: 620px; color: #444; }
.hero__center .hero__cta { justify-content: center; }
.hero__center .reassure { justify-content: center; }
.rotator { color: var(--coral); }
.reassure li { background: transparent; border: 0; padding: 0; color: var(--ink-soft); font-weight: 500; }
.reassure i { background: var(--sun); color: #000; }

.notes { position: absolute; inset: 0; pointer-events: none; }
.note-card {
  position: absolute; width: 190px; background: #fff; border-radius: 18px; padding: 14px 16px 12px;
  box-shadow: var(--shadow); text-align: left; pointer-events: auto;
  transition: box-shadow .3s ease;
  animation: bob 6s ease-in-out infinite;
}
.note-card:hover { box-shadow: var(--shadow-lg); }
.note-card__who { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; }
.note-card__who span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: var(--bg-alt); }
.note-card p { margin: 0; font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.15; color: #000; }
.note-card small { display: block; margin-top: 6px; font-size: .78rem; color: var(--coral-hover); font-weight: 700; }
.note-card--1 { left: -190px; top: 10px; rotate: -6deg; }
.note-card--2 { right: -190px; top: -10px; rotate: 5deg; animation-delay: -1.5s; }
.note-card--3 { left: -160px; bottom: 0; rotate: 4deg; animation-delay: -3s; }
.note-card--4 { right: -170px; bottom: 30px; rotate: -4deg; animation-delay: -4.5s; }
@media (max-width: 1320px) { .note-card--1, .note-card--3 { left: -120px; } .note-card--2, .note-card--4 { right: -120px; } }
@media (max-width: 1180px) { .notes { display: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Sección de la demostración */
.demo-sec { padding-top: 0; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; background: #fff; border-radius: 40px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 64px); }
.demo-grid h2 { margin-bottom: 16px; }
.demo-grid p { color: #444; font-size: 1.12rem; }
.demo__tabs { justify-content: flex-start; }
.demo-grid .demo__tabs { margin: 24px 0 0; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; text-align: center; } .demo-grid .demo__tabs { justify-content: center; } }
.chip { border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip:hover { border-color: #000; }
.chip[aria-selected="true"] { background: #000; border-color: #000; }
.phone { background: #111; box-shadow: var(--shadow-lg); rotate: -1.5deg; }
.phone::before { background: #111; }
.phone__screen { background: #f4f4f1; }
.phone__bar span { background: #000; }
.phone__bar em { background: var(--sun); color: #000; }
.msg--me { background: #222; }
.msg--photo { background: #222; }
.msg--ai b { color: var(--coral-hover); }
.float { box-shadow: var(--shadow-lg); font-weight: 700; }
.float b { color: #000; background: var(--sun); border-radius: 10px; padding: 0 8px; }
.float--b span { background: var(--sun); }
.demo__note { display: none; }

/* Franja de temas */
.marquee { background: var(--sun); color: #000; border-block: 1px solid #000; }
.marquee__item { background: transparent; border: 1px solid rgba(0, 0, 0, .85); font-weight: 600; }

/* Cursillo por dentro */
.lesson__step { border: 1px solid var(--line); box-shadow: var(--shadow); }
.lesson__step span { background: var(--bg-alt); }
.lesson__step[aria-selected="true"] { border-color: #000; background: #fff; box-shadow: var(--shadow-lg); }
.lesson__step[aria-selected="true"] span { background: var(--sun); }
.lesson__panel { border-radius: 32px; }
.lesson__panel::after { background: var(--sun-soft); }
.lesson__label { color: var(--ink-soft); letter-spacing: .14em; }
.prompt { background: #222; }
.fix div { border-left-color: var(--sun); }

/* Tarjetas de cursillos como papel */
.course { border: 0; box-shadow: var(--shadow); border-radius: 28px; }
.course:hover { box-shadow: var(--shadow-lg); }
.course--main { outline: 2px solid #000; outline-offset: -2px; }
.course__tag { background: var(--bg-alt); color: var(--ink-soft); }
.course__tag--live { background: var(--sun); color: #000; }
.course--peach, .course--lilac, .course--mint, .course--sky, .course--sun { --tint-ink: #000; }
.course--peach { --tint: var(--coral-soft); }
.course--lilac { --tint: #efe9dc; }
.course--mint { --tint: var(--mint); }
.course--sky { --tint: var(--sky); }
.course--sun { --tint: var(--sun-soft); }

/* Test de estafas */
.quiz-wrap { background: #222; }
.quiz-wrap .pill { color: #bdbdbd; }
.quiz { background: #2e2e2e; box-shadow: none; border: 1px solid #3a3a3a; }
.btn--scam { background: var(--coral); color: #fff; }
.btn--scam:hover { background: var(--coral-hover); color: #fff; }
.btn--real:hover { background: var(--sun); }
.quiz-wrap .section__head p, .quiz__end p { color: #cfcfcf !important; }
.quiz__sms u { color: #1d4ed8; }

/* Regalo: banda amarilla */
.gift { background: var(--sun); border-radius: 40px; box-shadow: none; }
.gift .pill { background: transparent !important; color: #000; }
.gift p { color: #222; }
.gift__list li::before { background: #000; color: var(--sun); }
.form { box-shadow: var(--shadow-lg); border-radius: 28px; }
.form input[type="text"], .form input[type="email"] { border: 1px solid #d4d4d4; background: #fff; }
.form input:focus { border-color: #000; box-shadow: 0 0 0 4px var(--sun-soft); }
.form .btn--primary { background: #000; color: #fff; }
.form .btn--primary:hover { background: #333; color: #fff; }

/* Precio */
.toggle { border: 1px solid var(--line); box-shadow: var(--shadow); }
.toggle__thumb { background: #000; }
.price-card { border: 0; box-shadow: var(--shadow-lg); border-radius: 40px; }
.price-card__badge { background: var(--coral); }
.price { color: #000; }
.price-card li::before { background: var(--sun); color: #000; }
.timeline li:nth-child(1) span { border-color: #000; background: #fff; }
.timeline li:nth-child(2) span { border-color: #000; background: var(--sun-soft); }
.timeline li:nth-child(3) span { border-color: #000; background: var(--sun); }
.cancel-box { background: #fff; box-shadow: var(--shadow); }
.cancel-box a { color: #000; text-decoration: underline; }

/* Sobre Pol: polaroid */
.about__photo div { background: #f3efe1; border: 10px solid #fff; border-bottom-width: 46px; border-radius: 6px; color: #000; box-shadow: var(--shadow-lg); }
.about__photo::before { background: var(--sun); border-radius: 6px; }
.about__photo::after { content: "Pol, en Barcelona"; width: auto; height: auto; background: transparent; box-shadow: none; font-family: var(--font-hand); font-size: 1.6rem; right: auto; left: 50%; bottom: 4px; transform: translateX(-50%) rotate(-4deg); border-radius: 0; color: #000; white-space: nowrap; }

/* Preguntas */
.faq details { border: 0; box-shadow: var(--shadow); border-radius: 20px; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq details[open] summary::after { background: var(--sun); }

/* CTA final */
.final { background: #222; border-radius: 40px; }
.final p { color: #d6d6d6; }
.final .btn { background: var(--sun); color: #000; box-shadow: none; }
.final .btn:hover { background: #f7d046; color: #000; }
.final::before, .final::after { background: rgba(255, 221, 0, .08); }

/* Pie */
.footer { background: #111; color: #bdbdbd; }
.footer .logo__text small { color: #9a9a9a; }
.footer__bottom { border-top-color: #2a2a2a; }

/* Páginas de texto */
.note { background: #fff; box-shadow: var(--shadow); }
.note--warn { background: var(--sun-soft); box-shadow: none; }
.big-steps li::before, .mini-steps li::before { background: var(--sun); }

.float--a { left: -36px; bottom: 24px; }

.gift::before { display: none; }
.course__icon { color: #000; }
.timeline li span { font-weight: 800; font-size: 1.2rem; }
.lesson__step span { font-weight: 800; }
.cancel-box span { display: grid; }

/* Calendario de cursillos */
.next-up { max-width: 760px; margin: -12px auto 44px; background: #fff; border-radius: 32px; box-shadow: var(--shadow-lg); padding: 28px clamp(20px, 4vw, 40px); text-align: center; }
.next-up[hidden] { display: none; }
.next-up__label { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.next-up__title { font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.02em; color: #000; margin: 6px 0 2px; }
.next-up__date { color: var(--ink-soft); margin-bottom: 18px; }
.next-up__date::first-letter { text-transform: uppercase; }
.countdown { display: flex; justify-content: center; gap: 10px; }
.countdown div { background: var(--sun); border-radius: 18px; min-width: 84px; padding: 12px 8px 10px; }
.countdown b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1; color: #000; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .8rem; font-weight: 600; color: #222; }
@media (max-width: 480px) { .countdown div { min-width: 0; flex: 1; } .countdown b { font-size: 1.6rem; } }
.course__tag--soon-date { background: #000; color: #fff; }
.course__when { font-size: .9rem; color: var(--ink-soft); margin: -6px 0 12px; }

/* Hojas de calendario de los cursillos */
.leaves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; perspective: 1600px; }
@media (max-width: 960px) { .leaves { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .leaves { grid-template-columns: 1fr; } }
.leaf { rotate: var(--tilt, 0deg); transition: rotate .35s ease, translate .35s ease; }
.leaf:hover { rotate: 0deg; translate: 0 -6px; }
.leaf__inner { position: relative; display: grid; min-height: 430px; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .9, .3, 1); border-radius: 26px; }
.leaf__inner:focus-visible { outline: 3px solid #000; outline-offset: 6px; }
.leaf.is-flipped .leaf__inner { transform: rotateY(180deg); }
.leaf__face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: visible; }
.leaf__back { transform: rotateY(180deg); padding: 34px 28px 24px; background: var(--tint); }
.leaf__tape { position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: -3deg; background: rgba(255, 238, 150, .75); box-shadow: 0 1px 2px rgba(0,0,0,.08); z-index: 3; }
.leaf__top { display: flex; justify-content: space-between; align-items: center; background: #222; color: #fff; border-radius: 26px 26px 0 0; padding: 12px 22px; font-weight: 800; letter-spacing: .18em; font-size: .9rem; }
.leaf__rings { display: flex; gap: 10px; }
.leaf__rings i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.leaf__date { display: flex; align-items: baseline; gap: 10px; padding: 14px 22px 0; border-bottom: 1px dashed var(--line); }
.leaf__date b { font-size: 4.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: .95; color: #000; font-variant-numeric: tabular-nums; }
.leaf__date span { font-weight: 700; color: var(--ink-soft); text-transform: capitalize; padding-bottom: 12px; }
.leaf__body { padding: 18px 22px 8px; }
.leaf__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; color: #000; margin-bottom: 12px; }
.leaf__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.leaf__body p { color: var(--ink-soft); margin: 0; }
.leaf__note { position: absolute; right: 16px; top: 76px; font-family: var(--font-hand); font-size: 1.7rem; line-height: 1; color: var(--coral-hover); rotate: -8deg; background: #fff; padding: 6px 12px; border-radius: 12px; box-shadow: var(--shadow); }
.leaf__hint { margin-top: auto; padding: 12px 22px 18px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.leaf__back .leaf__hint { padding: 12px 0 0; }
.leaf__back-label { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #444; margin-bottom: 8px; }
.leaf__back h3 { font-size: 1.45rem; }
.leaf__back ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.leaf__back li { display: flex; gap: 10px; align-items: flex-start; color: #222; }
.leaf__back li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: #000; color: var(--sun); display: grid; place-items: center; flex: none; font-size: .8rem; font-weight: 800; margin-top: 2px; }
.leaf.is-live .leaf__top { background: var(--sun); color: #000; }
.leaf.is-live .leaf__note { color: #000; background: var(--sun); }
.leaf.is-next .leaf__face.leaf__front::after { content: "La siguiente"; position: absolute; left: -12px; bottom: 64px; background: var(--coral); color: #fff; font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 999px; rotate: -4deg; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .leaf.is-flipped .leaf__front { display: none; } .leaf.is-flipped .leaf__back { transform: none; } }

/* ===================================================================
   Cuenta: crear cuenta, entrar, recuperar y «Mis cursillos»
   =================================================================== */
.auth-header .header__inner { min-height: 72px; }
.auth-header__link { font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.auth-header__link b { color: #000; text-decoration: underline; text-underline-offset: 3px; }

.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) 16px; }
.auth__card { width: min(100%, 480px); }
.auth__card h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 10px; }
.auth__card .lead { color: #444; font-size: 1.1rem; margin-bottom: 26px; }
.auth__side { position: relative; background: var(--sun); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 48px; }
@media (max-width: 960px) { .auth { grid-template-columns: 1fr; } .auth__side { display: none; } }

/* Pasos 1-2-3 */
.steps-bar { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; align-items: center; }
.steps-bar li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.steps-bar li + li::before { content: ""; width: 26px; height: 2px; background: var(--line); margin-right: 4px; }
.steps-bar span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: .85rem; }
.steps-bar .is-now { color: #000; }
.steps-bar .is-now span { background: #000; border-color: #000; color: var(--sun); }
@media (max-width: 420px) { .steps-bar li { font-size: 0; gap: 0; } .steps-bar li.is-now { font-size: .9rem; gap: 8px; } }

/* Formulario */
.panel { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 32px); }
.panel .field { margin-bottom: 18px; }
.panel label { display: block; font-weight: 700; margin-bottom: 6px; }
.panel input[type="text"], .panel input[type="email"], .panel input[type="password"] {
  width: 100%; min-height: 58px; padding: 12px 18px; font: inherit; font-size: 1.08rem;
  border: 1px solid #d4d4d4; border-radius: var(--radius-sm); background: #fff; color: #000; transition: border-color .2s ease, box-shadow .2s ease;
}
.panel input:focus { border-color: #000; outline: none; box-shadow: 0 0 0 4px var(--sun-soft); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 92px !important; }
.pass-wrap button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; min-height: 42px; padding: 6px 14px; border: 0; border-radius: 10px; background: var(--bg-alt); font-weight: 700; cursor: pointer; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.field__row a { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.meter { display: flex; gap: 6px; margin-top: 10px; }
.meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .25s ease; }
.meter[data-level="1"] i:nth-child(1) { background: var(--coral); }
.meter[data-level="2"] i:nth-child(-n+2) { background: var(--sun); }
.meter[data-level="3"] i { background: #2f8a4b; }
.meter__label { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; display: block; }
.panel .check { font-size: .92rem; }
.panel .btn--block { margin-top: 6px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: .9rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.plan-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--sun-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; font-weight: 700; }
.plan-chip a { font-size: .9rem; color: #000; }
.fine { font-size: .88rem; color: var(--ink-soft); margin-top: 16px; text-align: center; }
.fine a { color: #000; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-weight: 600; font-size: .98rem; animation: msgIn .3s ease both; }
.alert--error { background: var(--coral-soft); color: #8a2a17; }
.alert--ok { background: #e3f3e6; color: #1f5c2e; }
.alert--info { background: var(--sun-soft); color: #5c4a00; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(0,0,0,.2); border-top-color: #000; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-banner { background: #000; color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; }
.demo-banner b { color: var(--sun); }
.demo-banner[hidden] { display: none; }

/* Lado amarillo: álbum de recortes */
.scrap { position: relative; width: min(100%, 460px); }
.scrap h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 18px; }
.scrap__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.scrap__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 1.05rem; }
.scrap__list li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: #000; color: var(--sun); display: grid; place-items: center; flex: none; font-size: .85rem; font-weight: 800; margin-top: 1px; }
.scrap__polaroid { background: #fff; padding: 14px 14px 52px; border-radius: 6px; box-shadow: var(--shadow-lg); rotate: -3deg; width: 300px; position: relative; }
.scrap__polaroid .phone-mini { background: #f4f4f1; border-radius: 4px; padding: 14px; display: grid; gap: 8px; }
.scrap__polaroid .phone-mini div { font-size: .82rem; line-height: 1.4; padding: 8px 12px; border-radius: 14px; max-width: 90%; }
.scrap__polaroid .phone-mini .me { background: #222; color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.scrap__polaroid .phone-mini .ai { background: #fff; box-shadow: var(--shadow); border-bottom-left-radius: 4px; }
.scrap__polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--font-hand); font-size: 1.6rem; }
.scrap__tape { position: absolute; top: -12px; left: 50%; width: 100px; height: 26px; translate: -50% 0; rotate: 4deg; background: rgba(255, 255, 255, .6); }
.scrap__note { position: absolute; right: -10px; bottom: -26px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.1; rotate: 5deg; max-width: 210px; }
.scrap__note small { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--ink-soft); margin-top: 4px; font-weight: 600; }

/* Mis cursillos */
.area { padding: clamp(28px, 5vw, 56px) 0 80px; }
.area__hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.area__hello h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.area__hello p { color: var(--ink-soft); margin: 6px 0 0; }
.welcome { position: relative; background: #222; color: #fff; border-radius: 32px; padding: 26px 30px; margin-bottom: 22px; overflow: hidden; display: flex; gap: 20px; align-items: center; animation: msgIn .5s ease both; }
.welcome[hidden] { display: none; }
.welcome b { font-size: 1.3rem; display: block; }
.welcome p { margin: 4px 0 0; color: #d6d6d6; }
.welcome__big { font-size: 3rem; line-height: 1; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 10px; height: 16px; border-radius: 2px; animation: fall 2.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(240px) rotate(540deg); opacity: 0; } }
.status { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 40px; }
.status b { font-size: 1.15rem; }
.status p { margin: 4px 0 0; color: var(--ink-soft); }
.status > div:last-child:not(.status__ring) { flex: 1; min-width: 240px; }
.status--off { background: var(--coral-soft); box-shadow: none; }
.status--trial { justify-content: flex-start; }
.status__ring { --p: 1; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(#000 calc(var(--p) * 360deg), var(--line) 0); position: relative; flex: none; }
.status__ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.status__ring b, .status__ring span { position: relative; display: block; line-height: 1; }
.status__ring b { font-size: 1.7rem; }
.status__ring span { font-size: .75rem; color: var(--ink-soft); font-weight: 700; margin-top: -10px; }
.area h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 22px; }
.leaves--mine { margin-bottom: 56px; }
.leaf--mine .leaf__face { min-height: 330px; }
.leaf--mine .leaf__cta { margin-top: auto; padding: 14px 22px 22px; }
.leaf__locked { display: block; text-align: center; font-weight: 700; color: var(--ink-soft); padding: 14px; border: 1px dashed #cfcfcf; border-radius: 999px; }
.area.is-locked .leaf--mine.is-live .leaf__cta a { pointer-events: none; opacity: .45; }
.account { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.account__item { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.account__item small { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .75rem; color: var(--ink-soft); }
.account__item b { font-size: 1.05rem; word-break: break-word; }
.account__item a, .account__item button { margin-top: auto; padding-top: 10px; font-weight: 700; color: #000; background: none; border: 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 1rem; }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; } }

.auth__side { align-items: flex-start; padding-top: clamp(48px, 8vh, 96px); }
.auth__side .scrap { position: sticky; top: 110px; }

.leaf--mine.is-next .leaf__face.leaf__front::after { bottom: auto; top: 150px; left: auto; right: -10px; }
.welcome__big { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: #000; display: grid; place-items: center; font-size: 2rem; font-weight: 800; flex: none; }

/* Primera capa de información de datos (RGPD) y enlace de borrar cuenta */
.rgpd { margin-top: 14px; font-size: 13px; color: #555; }
.rgpd summary { cursor: pointer; font-weight: 600; color: #222; }
.rgpd p { margin: 8px 0 0; line-height: 1.5; }
.account__delete { font-size: 14px; color: #777; text-decoration: underline; }
.account__delete:hover { color: #d8573f; }

/* Tablas de los textos legales: en el móvil se desplazan dentro de su caja */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #e5e7eb; }
.legal-table th { background: #faf8f0; font-weight: 700; }
.legal-table tr:last-child td { border-bottom: 0; }
.prose .fine { color: #6b6b6b; font-size: 14px; }
.prose ol { padding-left: 1.3em; }

/* =========================================================================
   PÁGINA DE CURSILLO (/cursillos/<id>) — mismo estilo «café de papel»
   ========================================================================= */
.curso { padding: 28px 0 96px; }
.curso__volver { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; }
.curso__volver:hover { text-decoration: underline; }
.curso__estado { max-width: 640px; margin: 48px auto; text-align: center; }
.curso__estado .panel { padding: 36px 28px; }
.curso__estado h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 8px 0 12px; }
.curso__estado p { color: var(--ink-soft); margin: 0 auto 22px; max-width: 46ch; }

/* Portada del cursillo */
.c-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; margin: 22px 0 36px; }
.c-hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 4px; }
.c-hero__gancho { font-family: var(--font-hand); font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--coral); rotate: -2deg; display: inline-block; margin: 0 0 14px; }
.c-hero__resumen { font-size: 1.15rem; line-height: 1.55; color: var(--ink); max-width: 52ch; margin: 0 0 18px; }
.c-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.c-meta li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); }
.c-necesitas { position: relative; background: #fff; border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--shadow-lg); rotate: 1.2deg; }
.c-necesitas::before { content: ""; position: absolute; top: -12px; left: 50%; translate: -50% 0; width: 96px; height: 24px; background: rgba(255, 221, 0, .75); rotate: -3deg; border-radius: 3px; }
.c-necesitas h2 { font-size: 1.1rem; margin: 0 0 12px; }
.c-necesitas ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.c-necesitas li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.c-necesitas li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Elegir IA */
.c-ia { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 8px; }
.c-ia__label { font-weight: 700; }
.c-ia__opciones { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.c-ia__opciones button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); min-height: 44px; }
.c-ia__opciones button[aria-pressed="true"] { background: #000; color: #fff; }

/* Barra de progreso fija */
.c-barra { position: sticky; top: 72px; z-index: 30; background: rgba(250, 248, 240, .94); backdrop-filter: blur(10px); border-block: 1px solid var(--line); margin: 0 0 32px; }
.c-barra__inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; flex-wrap: wrap; }
.c-barra__niveles { display: flex; gap: 8px; flex-wrap: wrap; }
.c-barra__niveles a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.c-barra__niveles a.is-here { background: var(--sun); border-color: var(--sun); }
.c-progreso { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.c-progreso__track { flex: 1; height: 10px; border-radius: 999px; background: #ebe6d6; overflow: hidden; }
.c-progreso__fill { height: 100%; width: 0; background: #000; border-radius: inherit; transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* Nivel */
.c-nivel { scroll-margin-top: 140px; margin: 0 0 56px; }
.c-nivel__head { background: #000; color: #fff; border-radius: var(--radius); padding: 30px 30px 28px; position: relative; overflow: hidden; margin-bottom: 26px; }
.c-nivel__head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--sun); opacity: .95; }
.c-nivel__etiqueta { position: relative; z-index: 1; display: inline-block; font-family: var(--font-hand); font-size: 1.7rem; color: var(--sun); rotate: -3deg; margin-bottom: 2px; }
.c-nivel__head h2 { position: relative; z-index: 1; font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin: 0 0 8px; color: #fff; max-width: 22ch; }
.c-nivel__head p { position: relative; z-index: 1; margin: 0; color: #d9d9d9; max-width: 56ch; font-size: 1.05rem; line-height: 1.5; }
.c-nivel__head .c-nivel__num { position: absolute; z-index: 1; right: 22px; top: 18px; font-weight: 800; font-size: 4.4rem; line-height: 1; color: #000; }

/* Paso */
.c-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: paso; }
.c-paso { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 22px 86px; position: relative; border: 2px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
.c-paso::before { counter-increment: paso; content: counter(paso); position: absolute; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #000; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; transition: background .25s ease; }
.c-paso.is-hecho { border-color: #000; }
.c-paso.is-hecho::before { content: "✓"; background: #000; color: var(--sun); }
.c-paso h3 { font-size: 1.3rem; margin: 6px 0 10px; line-height: 1.25; }
.c-paso p { margin: 0 0 12px; line-height: 1.6; font-size: 1.05rem; }
.c-paso a { color: #000; font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.c-donde { background: var(--bg); border: 1px dashed #d8d1bb; border-radius: 16px; padding: 14px 16px; margin: 12px 0; }
.c-donde__label { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.c-donde p { margin: 0; }
.c-lista { margin: 8px 0 12px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.c-lista li { padding-left: 26px; position: relative; line-height: 1.5; }
.c-lista li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.c-rutina { counter-reset: r; list-style: none; padding: 0; margin: 10px 0 12px; display: grid; gap: 10px; }
.c-rutina li { counter-increment: r; display: flex; gap: 12px; align-items: flex-start; background: var(--sun-soft); border-radius: 14px; padding: 12px 14px; line-height: 1.45; }
.c-rutina li::before { content: counter(r); flex: none; width: 28px; height: 28px; border-radius: 50%; background: #000; color: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.c-frases { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.c-frase { font: inherit; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 10px 14px; cursor: pointer; line-height: 1.35; min-height: 44px; }
.c-frase:hover { border-color: #000; }
.c-frase.is-copiada { background: var(--sun); border-color: var(--sun); }
.c-ojo { display: flex; gap: 12px; align-items: flex-start; background: var(--coral-soft); border-radius: 14px; padding: 12px 14px; margin: 12px 0; line-height: 1.5; font-size: .98rem; }
.c-ojo b { flex: none; }
.c-problemas { margin: 10px 0 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.c-problemas summary { cursor: pointer; font-weight: 700; color: var(--ink-soft); padding: 6px 0; list-style: none; }
.c-problemas summary::-webkit-details-marker { display: none; }
.c-problemas summary::before { content: "+ "; color: var(--coral); font-weight: 800; }
.c-problemas[open] summary::before { content: "– "; }
.c-problemas dl { margin: 6px 0 0; display: grid; gap: 10px; }
.c-problemas dt { font-weight: 700; }
.c-problemas dd { margin: 2px 0 0; color: var(--ink-soft); line-height: 1.5; }
.c-hecho { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; border: 2px solid #000; background: #fff; font: inherit; font-weight: 800; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 46px; }
.c-hecho::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #000; }
.c-paso.is-hecho .c-hecho { background: #000; color: #fff; }
.c-paso.is-hecho .c-hecho::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--sun); }

/* Generador del mensaje */
.c-gen { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 6px; }
.c-gen__form { display: grid; gap: 12px; align-content: start; }
.c-gen__form .field { margin: 0; }
.c-gen__form label { font-weight: 700; font-size: .95rem; }
.c-gen__form input[type=text], .c-gen__form input[type=number], .c-gen__form select { width: 100%; min-height: 48px; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.c-gen__form input:focus, .c-gen__form select:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px var(--sun); }
.c-gen__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-gen__checks { display: flex; flex-wrap: wrap; gap: 8px; }
.c-gen__checks label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer; background: #fff; min-height: 44px; }
.c-gen__checks input { width: 18px; height: 18px; accent-color: #000; }
.c-gen__checks label:has(input:checked) { background: var(--sun); border-color: var(--sun); }
.c-gen__salida { position: sticky; top: 150px; align-self: start; }
.c-gen__salida .prompt { margin: 0 0 12px; white-space: pre-line; min-height: 220px; }
.c-gen__salida small { display: block; color: var(--ink-soft); margin-top: 8px; }

/* Pantalla de ejemplo: dónde tocar */
.c-pantalla { margin: 14px 0; display: flex; justify-content: center; }
.c-pantalla__movil { width: 260px; background: #111; border-radius: 30px; padding: 12px; box-shadow: var(--shadow-lg); }
.c-pantalla__screen { background: #fff; border-radius: 20px; padding: 16px 12px 12px; display: grid; gap: 10px; }
.c-pantalla__burbuja { justify-self: end; background: #f1f1f1; border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-size: .82rem; max-width: 80%; }
.c-pantalla__barra { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 999px; padding: 6px; }
.c-pantalla__mas { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.c-pantalla__mas::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid var(--coral); animation: tocaAqui 1.6s ease-out infinite; }
.c-pantalla__texto { flex: 1; color: #999; font-size: .82rem; }
.c-pantalla__enviar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #e5e5e5; display: grid; place-items: center; font-size: .9rem; }
.c-pantalla__nota { font-family: var(--font-hand); font-size: 1.35rem; color: var(--coral); margin: 4px 0 0 6px; rotate: -3deg; }
@keyframes tocaAqui { 0% { opacity: 1; scale: .8; } 100% { opacity: 0; scale: 1.5; } }
@media (prefers-reduced-motion: reduce) { .c-pantalla__mas::after { animation: none; } }

/* Fin de nivel */
.c-fin { text-align: center; background: var(--sun); border-radius: var(--radius); padding: 30px 24px; margin: 26px 0 0; }
.c-fin h3 { font-size: 1.6rem; margin: 0 0 6px; }
.c-fin p { margin: 0 auto 16px; max-width: 48ch; }
.c-fin .btn--primary { background: #000; color: #fff; }

/* Ayuda */
.c-ayuda { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px; margin: 0 0 48px; }
.c-ayuda__cara { width: 72px; height: 72px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; rotate: -4deg; }
.c-ayuda h2 { font-size: 1.4rem; margin: 0 0 4px; }
.c-ayuda p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.c-ayuda__botones { display: flex; flex-direction: column; gap: 8px; }

.c-seccion-titulo { font-size: clamp(1.5rem, 3.6vw, 2rem); margin: 0 0 18px; }

@media (max-width: 860px) {
  .c-hero { grid-template-columns: 1fr; }
  .c-necesitas { rotate: 0deg; }
  .c-gen { grid-template-columns: 1fr; }
  .c-gen__salida { position: static; }
  .c-ayuda { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .c-ayuda__botones { width: 100%; }
}
@media (max-width: 560px) {
  .c-paso { padding: 22px 18px 18px; }
  .c-paso::before { position: static; margin-bottom: 6px; }
  .c-barra { top: 64px; }
  .c-barra__inner { gap: 10px; }
  .c-nivel__head { padding: 26px 22px; }
  .c-nivel__head::after { width: 96px; height: 96px; right: -26px; top: -26px; }
  .c-nivel__head .c-nivel__num { font-size: 2.1rem; right: 12px; top: 10px; }
  .c-nivel__head h2, .c-nivel__head p { padding-right: 34px; }
  .c-gen__fila { grid-template-columns: 1fr; }
}

/* Ajustes de la página del cursillo */
.curso .fine { text-align: left; }
.curso .c-gen__salida .fine, .curso .c-gen__salida small { text-align: left; }

/* Recuadro de arriba: elegir la IA y abrirla */
.c-abrir { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px 18px 14px; margin: 4px 0 8px; max-width: 560px; border: 2px solid #000; }
.c-abrir__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.c-abrir__btn { font-size: 1.08rem; min-height: 54px; }
.c-abrir .fine { margin: 10px 0 0; }
.c-barra__abrir { margin-left: auto; flex: none; text-decoration: none; font-weight: 800; font-size: .92rem; color: #000; background: var(--sun); border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.c-barra__abrir:hover { background: #000; color: var(--sun); }

/* «Ver lo que deberías ver» */
.c-ejemplo { margin: 12px 0; }
.c-ejemplo summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 10px 16px; border-radius: 999px; background: var(--sky); color: var(--sky-ink); min-height: 44px; }
.c-ejemplo summary::-webkit-details-marker { display: none; }
.c-ejemplo summary::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c4d63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-ejemplo[open] summary { background: #000; color: #fff; }
.c-ejemplo[open] summary::before { filter: invert(1) brightness(2); }
.c-ejemplo__caja { margin-top: 12px; background: var(--bg-alt); border-radius: 18px; padding: 18px; display: grid; justify-items: center; animation: msgIn .3s ease both; }
.c-ejemplo__caja > [data-ia] { width: 100%; display: grid; justify-items: center; gap: 12px; }
.c-ejemplo__nota { margin: 8px 2px 0; font-family: var(--font-hand); font-size: 1.25rem; color: var(--coral); line-height: 1.2; }
.m-pie { margin: 0; font-size: .92rem; color: var(--ink-soft); text-align: center; }

/* Chat */
.m-chat { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 0 12px 14px; overflow: hidden; display: grid; gap: 10px; }
.m-chat__top { margin: 0 -12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: .95rem; text-align: center; }
.m-chat__msg { font-size: .92rem; line-height: 1.45; padding: 10px 13px; border-radius: 16px; max-width: 88%; }
.m-chat__msg--tu { justify-self: end; background: #f0f0f0; border-bottom-right-radius: 4px; }
.m-chat__msg--ia { justify-self: start; background: transparent; padding-left: 4px; max-width: 100%; }
.m-chat__foto { display: block; height: 86px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(135deg, #e8f0f7, #cfdbe6); position: relative; font-size: .78rem; color: #4a6276; display: grid; place-items: center; font-weight: 700; }
.m-chat__aviso { justify-self: start; font-size: .82rem; font-weight: 700; color: #555; background: #f4f4f4; border-radius: 999px; padding: 6px 12px; }

/* Lista de Keep */
.m-keep { width: 100%; max-width: 320px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px 16px 12px; display: grid; gap: 8px; border-top: 6px solid #f9ab00; }
.m-keep__titulo { font-size: 1.05rem; }
.m-keep__item { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.m-keep__caja { width: 18px; height: 18px; border: 2px solid #777; border-radius: 3px; flex: none; }
.m-keep__item.is-tachado { color: #999; text-decoration: line-through; }
.m-keep__item.is-tachado .m-keep__caja { background: #777 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.m-keep__chip { justify-self: start; font-size: .8rem; font-weight: 700; background: #f1f3f4; border-radius: 999px; padding: 5px 10px; margin-top: 4px; }
.m-keep__colab { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #555; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.m-keep__avatar { width: 24px; height: 24px; border-radius: 50%; background: #d8573f; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }
.m-keep--nota p { margin: 0; font-size: .9rem; line-height: 1.45; color: #333; }

/* Tienda de apps */
.m-tienda { width: 100%; max-width: 380px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.m-tienda__icono { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; font-weight: 800; }
.m-tienda b { display: block; font-size: .98rem; }
.m-tienda small { display: block; color: #666; font-size: .82rem; }
.m-tienda__estrellas { color: #f2a900; font-size: .8rem; letter-spacing: 1px; }
.m-tienda__btn { background: #0a66ff; color: #fff; font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 7px 16px; }

/* Nevera (cómo hacer la foto) */
.m-nevera { width: 200px; height: 230px; background: #fdfdfd; border: 6px solid #d9dde1; border-radius: 16px; padding: 14px 12px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.m-nevera__balda { display: flex; align-items: flex-end; gap: 8px; border-bottom: 4px solid #e6eaee; padding-bottom: 6px; }
.m-nevera__balda i { display: block; width: 26%; height: 42px; border-radius: 8px; }

@media (max-width: 560px) {
  .c-barra__abrir { margin-left: 0; }
  .c-abrir__fila { justify-content: flex-start; }
}

/* Respuesta por voz y chat recién abierto */
.c-voz { margin: 16px 0 6px; padding: 16px; border-radius: var(--radius); background: #fff8dd; }
.c-voz > p { margin: 0 0 4px; }
.c-pantalla__burbuja--ia { justify-self: start; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px 16px 16px 4px; }
.c-pantalla__mas--quieto::after { display: none; }
.c-pantalla__mic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #e5e5e5; display: grid; place-items: center; font-size: .95rem; }
.c-voz .c-pantalla__mic { background: #000; }
.c-voz .c-pantalla__mic::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid var(--coral); animation: tocaAqui 1.6s ease-out infinite; }
.c-voz .c-pantalla__nota { text-align: right; }
.m-chat--vacio { margin-top: 14px; min-height: 230px; grid-template-rows: auto 1fr auto; }
.m-chat--vacio .m-chat__top { display: flex; justify-content: space-between; align-items: center; }
.m-chat__cuenta { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: #000; display: grid; place-items: center; font-size: .8rem; }
.m-chat__saludo { align-self: center; text-align: center; font-size: 1.15rem; font-weight: 700; margin: 0; color: #333; }

/* Mensaje listo para copiar y aviso de antes de empezar */
.c-copiar { margin: 14px 0; }
.c-copiar__label { display: block; font-weight: 800; margin-bottom: 6px; }
.c-copiar__texto { margin: 0 0 10px; white-space: pre-line; }
.c-antes { background: var(--sun); border-radius: 14px; padding: 14px 16px; margin: -10px 0 22px; line-height: 1.5; }

/* Campo de texto largo en los formularios de los cursillos */
.c-gen__form textarea { width: 100%; min-height: 84px; font: inherit; font-size: 16px; line-height: 1.4; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; resize: vertical; }
.c-gen__form textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px var(--sun); }
