/* Volver a Vos · estética de los PDFs: rojo pasión + rosa empolvado, Playfair Display + Poppins. */
:root {
  --rojo: #9e1b32; --rojo-osc: #7a1426; --tinta: #2b1215; --gris: #86686b;
  --rosa: #efd9d6; --rosa-claro: #f8ebe8; --crema: #fff7f5; --blanco: #fff; --borde: #ecd3cf;
  --sombra: 0 6px 24px rgba(122, 20, 38, .08);
  --serif: "Playfair Display", Georgia, serif; --sans: "Poppins", system-ui, sans-serif; --firma: "Great Vibes", cursive;
  --nav: 72px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--crema); color: var(--tinta); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--rojo); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
em.r, .r { color: var(--rojo); font-style: italic; }
.firma { font-family: var(--firma); color: var(--rojo); font-size: 28px; line-height: 1; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo); background: var(--rosa-claro); border: 1px solid var(--borde); padding: 4px 10px; border-radius: 99px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 99px; min-height: 46px; padding: 12px 22px; font-weight: 600; font-size: 15px; letter-spacing: .02em; background: var(--rojo); color: #fff; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.sec { background: var(--blanco); color: var(--rojo); border: 1.5px solid var(--rojo); }
.btn.suave { background: var(--rosa-claro); color: var(--rojo); }
.btn.ancho { width: 100%; }
.btn[disabled] { opacity: .5; }
.tarjeta { background: var(--blanco); border: 1px solid var(--borde); border-radius: 20px; padding: 18px; box-shadow: var(--sombra); }
.nota { font-size: 14px; color: var(--gris); }
input[type=email], input[type=text], textarea { width: 100%; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--borde); background: var(--blanco); outline: none; }
input:focus, textarea:focus { border-color: var(--rojo); }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.oculto { position: absolute; left: -9999px; }

/* ---------- Entrada ---------- */
.entrada { min-height: 100vh; display: flex; flex-direction: column; }
.entrada .foto { height: 34vh; min-height: 200px; background: url(/portadas/que-te-elija.jpg) center 30% / cover; position: relative; }
.entrada .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,247,245,0) 40%, var(--crema)); }
.entrada main { width: 100%; max-width: 440px; margin: -40px auto 0; padding: 0 22px 40px; position: relative; }
.entrada h1 { font-size: 40px; margin: 8px 0 10px; }
.entrada .promesa { color: var(--gris); margin: 0 0 22px; }
.entrada form { display: grid; gap: 12px; }
.entrada label { font-size: 13px; font-weight: 600; }
.error { background: #fbe6e6; color: var(--rojo-osc); border-radius: 12px; padding: 10px 14px; font-size: 14px; }

/* ---------- Instalar la app (cartel con pasos y dibujitos) ---------- */
.ip-hoja { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(43,18,21,.45); }
.ip-caja { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--crema); border-radius: 26px 26px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.2); animation: ip-sube .35s ease-out; }
@keyframes ip-sube { from { transform: translateY(40px); opacity: 0; } }
.ip-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ip-cab svg { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 12px; background: var(--rojo); color: #fff; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ip-cab h2 { font-size: 24px; }
.ip-caja p { margin: 6px 0 12px; }
.ip-pasos { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 10px; }
.ip-paso { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; background: var(--blanco); border: 1px solid var(--borde); border-radius: 16px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.ip-n { width: 32px; height: 32px; border-radius: 50%; background: var(--rojo); color: #fff; font-family: var(--serif); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ip-ic svg { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: #eef3fb; color: #1677ff; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ip-ic svg circle { fill: currentColor; stroke: none; }
.ip-caja .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-cerrar { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--gris); font-size: 15px; padding: 12px 18px; min-height: 44px; }
.ip-flecha { position: fixed; left: 50%; bottom: calc(6px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 71; display: flex; flex-direction: column; align-items: center; color: #fff; font-weight: 600; font-size: 13px; animation: ip-salta 1.1s ease-in-out infinite; pointer-events: none; }
.ip-flecha span { background: var(--rojo); padding: 4px 12px; border-radius: 99px; }
.ip-flecha svg { width: 34px; height: 34px; fill: none; stroke: var(--rojo); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px #fff); }
@keyframes ip-salta { 50% { transform: translate(-50%, 8px); } }
.ip-banda { display: flex; gap: 10px; align-items: center; background: var(--rojo); color: #fff; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; font-size: 14px; }
.ip-banda button { flex: none; border: 0; border-radius: 99px; background: #fff; color: var(--rojo); font-weight: 600; padding: 9px 14px; min-height: 40px; }
