/* Después de las 10 · diseño tipográfico oscuro y cálido (sin imágenes generadas) */
:root {
  --bg: #120a0c;
  --bg2: #1c1013;
  --card: #241417;
  --line: #3a2226;
  --txt: #f6ece6;
  --muted: #bfa9a3;
  --vino: #8e2c3e;
  --rosa: #e0637a;
  --ambar: #f0a25b;
  --oro: #f6c986;
  --ok: #7fcf9a;
  --r: 18px;
  --sombra: 0 18px 50px -20px rgba(0, 0, 0, .8);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; font-family: var(--sans); color: var(--txt); line-height: 1.5;
  background:
    radial-gradient(120% 60% at 85% -10%, rgba(224, 99, 122, .22), transparent 60%),
    radial-gradient(90% 50% at -10% 30%, rgba(240, 162, 91, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--oro); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.peq { font-size: .875rem; }
.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 20px; }
.centro { text-align: center; }
.oculto { display: none !important; }
.sep { height: 1px; background: var(--line); margin: 28px 0; border: 0; }

/* Marca */
.marca { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: var(--txt); }
.marca .reloj { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; font-family: var(--sans);
  background: conic-gradient(from 200deg, var(--rosa), var(--ambar), var(--rosa)); color: #1a0c0f; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; max-width: 560px; margin: 0 auto; }

/* Botones */
.btn { appearance: none; border: 0; cursor: pointer; font: 600 1.05rem/1 var(--sans); padding: 18px 22px; border-radius: 999px; width: 100%;
  color: #1a0c0f; background: linear-gradient(135deg, var(--oro), var(--ambar) 45%, var(--rosa)); box-shadow: 0 10px 30px -10px rgba(224, 99, 122, .7);
  display: inline-flex; justify-content: center; align-items: center; gap: .5em; text-decoration: none; transition: transform .15s, filter .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { filter: grayscale(.6) brightness(.7); cursor: wait; }
.btn.grande { font-size: 1.25rem; padding: 24px; }
.btn.sec { background: transparent; color: var(--txt); border: 1.5px solid var(--line); box-shadow: none; }
.btn.chico { width: auto; padding: 12px 18px; font-size: .95rem; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 8px; }

/* Secciones landing */
.hero { padding: 28px 0 36px; }
.chip { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--oro); border: 1px solid rgba(246, 201, 134, .35); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, var(--oro), var(--rosa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bloque { padding: 28px 0; }
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: p; }
.pasos li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px 58px; position: relative; counter-increment: p; }
.pasos li::before { content: counter(p); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--vino); color: var(--txt); }
.precio { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.precio small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.caja { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.garantia { display: flex; gap: 14px; align-items: flex-start; }
.garantia .sello { flex: 0 0 52px; height: 52px; border-radius: 50%; border: 2px dashed var(--oro); display: grid; place-items: center; font-weight: 700; color: var(--oro); font-size: .8rem; text-align: center; line-height: 1; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--oro); }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); }
footer.pie { padding: 36px 20px 48px; text-align: center; color: var(--muted); font-size: .85rem; }
footer.pie a { color: var(--muted); margin: 0 8px; }

/* Hueco de ilustración (v1 sin imágenes) */
.ilustracion { border-radius: var(--r); min-height: 160px; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(246, 201, 134, .35), transparent 60%),
    radial-gradient(60% 80% at 75% 70%, rgba(224, 99, 122, .35), transparent 60%),
    linear-gradient(160deg, #2b1418, #160b0d); }
.ilustracion::after { content: '10'; position: absolute; right: 14px; bottom: -18px; font: 700 7rem/1 var(--serif); color: rgba(255, 255, 255, .06); }

/* Cartas */
.cartas { display: grid; gap: 14px; }
.carta { position: relative; border-radius: 22px; padding: 26px 22px 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(165deg, #2e171b, #1a0d10 70%); border: 1px solid #4a2a2f; box-shadow: var(--sombra); }
.carta .meta { display: flex; justify-content: space-between; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.carta .texto { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin: 18px 0; }
.carta.grande { min-height: 52dvh; }
.carta.grande .texto { font-size: clamp(1.5rem, 6.4vw, 2rem); }
.nivel { display: inline-flex; gap: 4px; align-items: center; }
.nivel i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: inline-block; }
.nivel i.on { background: var(--rosa); }
.carta[data-nivel='3'] { border-color: #6d2c39; }
.carta[data-nivel='4'] { border-color: var(--rosa); background: linear-gradient(165deg, #3a1219, #1a0b0e 70%); }
.voltear { perspective: 1000px; }
.voltear .carta { transition: transform .6s; transform-style: preserve-3d; }

/* Test */
.test { min-height: 100dvh; display: flex; flex-direction: column; padding: 16px 0 28px; }
.barra { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 8px 0 28px; }
.barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ambar), var(--rosa)); transition: width .3s; }
.opciones { display: grid; gap: 10px; margin-top: 16px; }
.op { text-align: left; background: var(--bg2); color: var(--txt); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; font: 500 1.05rem var(--sans); cursor: pointer; }
.op:active, .op.sel { border-color: var(--rosa); background: #2a1318; }
input[type=text], input[type=email] { width: 100%; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--txt); font: 1.1rem var(--sans); }
input:focus { outline: none; border-color: var(--rosa); }
label.campo { display: block; margin: 0 0 14px; }
label.campo span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--rosa); flex: 0 0 22px; margin-top: 2px; }
.bump { border: 2px dashed var(--ambar); background: rgba(240, 162, 91, .07); }

/* Puerta 18+ */
.puerta { position: fixed; inset: 0; z-index: 50; background: rgba(10, 5, 6, .96); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(8px); }
.puerta .caja { max-width: 420px; text-align: center; }

/* App */
.grid-planes { display: grid; gap: 12px; }
.plan { text-align: left; width: 100%; cursor: pointer; color: var(--txt); background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; font: inherit; position: relative; }
.plan h3 { margin-bottom: 4px; }
.plan.bloqueado { opacity: .75; border-style: dashed; }
.plan .candado { position: absolute; right: 16px; top: 16px; font-size: .78rem; color: var(--oro); }
.niveles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.niveles button { min-height: 92px; }
.prep { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; }
.prep ul { padding-left: 18px; color: var(--muted); }
.acciones { display: grid; gap: 10px; margin-top: 18px; }
.contador { font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.progreso-ref { display: flex; gap: 8px; margin: 12px 0; }
.progreso-ref i { flex: 1; height: 10px; border-radius: 6px; background: var(--line); }
.progreso-ref i.on { background: linear-gradient(90deg, var(--ambar), var(--rosa)); }
.copiar { display: flex; gap: 8px; }
.copiar input { font-size: .9rem; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(18, 10, 12, .92); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.tabbar button { background: none; border: 0; color: var(--muted); font: 600 .8rem var(--sans); padding: 6px 10px; cursor: pointer; }
.tabbar button.on { color: var(--oro); }
.aviso { background: rgba(240, 162, 91, .1); border: 1px solid rgba(240, 162, 91, .35); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--txt); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; z-index: 60; }
.legal { padding-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li, .legal p { color: #e5d6cf; }
.ph { background: rgba(240, 162, 91, .2); color: var(--oro); padding: 0 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.pasos.sin-num li { padding-left: 16px; } .pasos.sin-num li::before { display: none; }
