/* ==========================================================
   Effetá: Ábrete 💙 — estilos (mobile-first)
   ========================================================== */
:root {
  --blue-900: #0B2466;
  --blue-700: #1546C8;
  --blue-600: #1F5BEA;
  --blue-500: #3B7BFF;
  --blue-200: #C7D8FF;
  --blue-100: #E4EDFF;
  --blue-50:  #F2F6FF;
  --ink:      #0E1B3D;
  --ink-2:    #4A5675;
  --line:     #D9E3F7;
  --bg:       #F7FAFF;
  --card:     #FFFFFF;
  --light:    #FFD46B;
  --light-2:  #FFF3CF;
  --warm-ink: #6B4300;
  --ok:       #0F8A43;
  --err:      #C0352E;
  --wa:       #0F8A43;
  --radius:   22px;
  --shadow:   0 10px 30px -14px rgba(21, 70, 200, .35);
  --ease:     cubic-bezier(.2, .8, .2, 1);
  --font-title: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body:  'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--ink-2); }

/* ---------- Layout ---------- */
.app {
  position: relative;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 560px) {
  body { background: radial-gradient(circle at 50% 0%, #FFF6DA 0, transparent 40%), linear-gradient(160deg, #E8EFFF, #F7FAFF); }
  .app { box-shadow: 0 30px 80px -30px rgba(11, 36, 102, .35); }
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 8px;
  transition: opacity .3s;
}
.is-cover .topbar { display: none; }
.btn-back {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--card);
  color: var(--blue-700);
  box-shadow: 0 4px 14px -6px rgba(21, 70, 200, .35);
}
.btn-back:active { transform: scale(.94); }
.progress {
  flex: 1;
  height: 10px;
  background: var(--blue-100);
  border-radius: 99px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  transition: width .6s var(--ease);
}

.stage { position: relative; flex: 1; overflow: hidden; overflow: clip; }

.screen {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
}
.screen.before { transform: translateX(-48px); }
.screen.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s var(--ease) .08s, transform .55s var(--ease), visibility 0s;
}

.footer {
  position: relative;
  padding: 10px 16px calc(env(safe-area-inset-bottom) + 14px);
  background: var(--bg);
  box-shadow: 0 -12px 20px -12px rgba(247, 250, 255, 1);
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -24px; height: 24px;
  background: linear-gradient(to top, var(--bg), rgba(247, 250, 255, 0));
  pointer-events: none;
}

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 31px; line-height: 1.15; margin-bottom: 10px; }
h2:focus, h1:focus { outline: none; }
.lead { color: var(--ink-2); margin: 0 0 24px; font-size: 18px; }
.eyebrow {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20px;
  color: var(--blue-600);
  margin: 0 0 6px;
  min-height: 1.2em;
}
.section-title { font-size: 21px; margin: 30px 0 14px; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 6px;
  border-radius: 99px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}
.note { color: var(--ink-2); font-size: 16px; margin: 18px 0 0; }
.note.small { font-size: 15px; margin-top: 10px; }

/* ---------- Botones ---------- */
.btn-next, .btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  min-height: 62px;
  padding: 14px 20px;
  border: 0;
  border-radius: 20px;
  background: var(--blue-600);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 12px 24px -10px rgba(31, 91, 234, .7);
  transition: transform .15s, background .25s, box-shadow .25s;
}
.btn-next:active:not(:disabled), .btn-primary:active { transform: scale(.98); }
.btn-next:disabled {
  background: #B5C6EE;
  color: #F4F7FF;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-next.loading { pointer-events: none; opacity: .85; }
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 12px 18px;
  border: 2px solid var(--blue-200);
  border-radius: 18px;
  background: var(--card);
  color: var(--blue-700);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
}
.btn-secondary:active { transform: scale(.98); }
.btn-ghost {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--wa);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.btn-wa:active { transform: scale(.97); }
.link {
  border: 0; background: none; padding: 4px;
  color: var(--blue-700); font-weight: 800; text-decoration: underline; font-size: inherit;
}
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

/* ---------- Portada ---------- */
.cover {
  text-align: center;
  padding-top: calc(env(safe-area-inset-top) + 18px);
  background:
    radial-gradient(circle at 50% 14%, var(--light-2) 0, rgba(255, 243, 207, 0) 42%),
    linear-gradient(180deg, #E6EEFF 0%, var(--bg) 55%);
}
.cover-light {
  position: absolute; inset: 0 0 auto; height: 320px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 212, 107, .35), transparent 60%);
}
.kicker {
  position: relative;
  margin: 8px 0 6px;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cover h1 {
  position: relative;
  font-size: clamp(40px, 12vw, 52px);
  line-height: 1.05;
  color: var(--blue-900);
}
.subtitle { position: relative; margin: 12px auto 20px; max-width: 26em; color: var(--ink-2); font-size: 18px; }

.countdown-label { margin: 0 0 8px; font-weight: 800; color: var(--blue-700); font-size: 15px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div {
  text-align: center;
  background: var(--card);
  border-radius: 18px;
  padding: 10px 4px 8px;
  box-shadow: var(--shadow);
}
.countdown b {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.countdown span { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.countdown.small b { font-size: 22px; }
.countdown.small div { box-shadow: none; border: 1.5px solid var(--line); padding: 6px 2px; }

.notice {
  display: inline-block;
  margin: 18px 0 4px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--light);
  color: #3D2600;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 22px -10px rgba(214, 150, 0, .7);
  animation: nudge 3.2s ease-in-out infinite;
}
@keyframes nudge { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-2deg); } 96% { transform: rotate(2deg); } }

.chips {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 0; margin: 18px 0 0;
}
.chips li {
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--card);
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}
.secret {
  margin: 22px auto 0;
  max-width: 22em;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 19px;
  color: var(--blue-700);
}

.closed-card {
  margin-top: 18px;
  padding: 20px 16px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.closed-title { font-family: var(--font-title); font-weight: 600; font-size: 24px; margin: 0 0 4px; color: var(--blue-900); }
.closed-card p { margin: 0 0 12px; }

/* ---------- Puerta (motivo visual) ---------- */
.door-scene {
  position: relative;
  width: 150px; height: 150px;
  margin: 0 auto;
  display: grid; place-items: end center;
}
.door-scene .rays {
  position: absolute;
  left: 50%; top: 55%;
  width: 360px; height: 360px;
  margin: -180px 0 0 -180px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 212, 107, .55) 0 7deg, rgba(255, 212, 107, 0) 7deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 62%);
          mask: radial-gradient(circle, #000 0, transparent 62%);
  animation: spin 40s linear infinite;
  opacity: .9;
}
@keyframes spin { to { transform: rotate(1turn); } }
.door {
  position: relative;
  width: 86px; height: 126px;
  perspective: 500px;
}
.doorway {
  position: absolute; inset: 0;
  border-radius: 43px 43px 6px 6px;
  background: radial-gradient(circle at 50% 62%, #fff 0, #FFF1C2 35%, var(--light) 100%);
  box-shadow: 0 0 0 6px var(--blue-900), 0 0 50px 18px rgba(255, 212, 107, .65);
}
.door-leaf {
  position: absolute; inset: 0;
  border-radius: 43px 43px 6px 6px;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-700));
  transform-origin: 0 50%;
  transform: rotateY(0);
  animation: door-ajar 1.6s var(--ease) .4s forwards;
  box-shadow: inset -6px 0 0 rgba(0, 0, 0, .08);
}
.door-leaf::before {
  content: ""; position: absolute; inset: 14px 12px 18px;
  border: 2.5px solid rgba(255, 255, 255, .28);
  border-radius: 32px 32px 4px 4px;
}
.knob { position: absolute; right: 12px; top: 58%; width: 9px; height: 9px; border-radius: 50%; background: var(--light); }
@keyframes door-ajar { to { transform: rotateY(-48deg); } }

/* Puerta grande de confirmación */
.door-scene.big { width: 200px; height: 200px; margin-bottom: 14px; }
.door-scene.big .door { width: 120px; height: 172px; }
.door-scene.big .doorway, .door-scene.big .door-leaf { border-radius: 60px 60px 8px 8px; }
.door-scene.big .rays { width: 460px; height: 460px; margin: -230px 0 0 -230px; opacity: 0; transform: scale(.4); transition: opacity 1.2s, transform 1.6s var(--ease); }
.door-scene.big .door-leaf { animation: none; transition: transform 1.8s var(--ease) .3s; }
.confirm.opened .door-scene.big .door-leaf { transform: rotateY(-105deg); }
.confirm.opened .door-scene.big .rays { opacity: 1; transform: scale(1); animation: spin 40s linear infinite; }
.confirm.opened .door-scene.big .doorway { animation: glow 2s ease-in-out 1.2s infinite alternate; }
@keyframes glow { to { box-shadow: 0 0 0 6px var(--blue-900), 0 0 80px 34px rgba(255, 212, 107, .85); } }
.sparkles i {
  position: absolute; left: 50%; top: 55%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--light);
  opacity: 0;
}
.confirm.opened .sparkles i { animation: spark 1.8s ease-out 1.2s forwards; }
.sparkles i:nth-child(1) { --x: -90px; --y: -70px; }
.sparkles i:nth-child(2) { --x: 90px;  --y: -80px; background: var(--blue-500); }
.sparkles i:nth-child(3) { --x: -110px; --y: 10px; background: var(--blue-500); }
.sparkles i:nth-child(4) { --x: 110px; --y: 20px; }
.sparkles i:nth-child(5) { --x: -40px; --y: -110px; }
.sparkles i:nth-child(6) { --x: 50px;  --y: -115px; background: var(--blue-200); }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.4); } }

/* ---------- Tarjetas que se voltean ---------- */
.flips { display: grid; gap: 12px; }
.flip {
  display: block;
  width: 100%; height: 118px;
  padding: 0; border: 0; background: none;
  text-align: left;
  perspective: 1000px;
}
.flip-inner {
  position: relative; display: block;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.face .emo { flex: none; font-size: 34px; }
.front {
  background: var(--card);
  border: 2px dashed #C3D2F2;
  color: var(--ink-2);
}
.front small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8190B0; margin-bottom: 2px; }
.front .turn {
  margin-left: auto; flex: none;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 18px;
}
.back {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: var(--shadow);
}
.flip-count { text-align: center; color: var(--ink-2); font-weight: 700; font-size: 15px; margin: 12px 0 0; }

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--blue-100);
  color: var(--blue-900);
}
.callout p { margin: 0; }
.callout.warm { background: var(--light-2); color: var(--warm-ink); border: 1.5px solid #FFE29A; margin: 6px 0 16px; }

/* ---------- Carruseles ---------- */
.carousel {
  display: flex; gap: 12px;
  margin: 0 -16px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--blue-200); transition: width .3s, background .3s; }
.dots i.on { width: 22px; background: var(--blue-600); }

.tcard {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tphoto {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-title);
  font-size: 56px;
}
.tphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tbody { padding: 14px 16px 18px; }
.tquote { font-family: var(--font-title); font-weight: 500; font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.tname { margin: 0; color: var(--ink-2); font-weight: 700; font-size: 15px; }

.info-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  min-height: 360px;
  padding: 22px 20px;
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start;
}
.info-card h3 { font-size: 26px; margin: 2px 0 10px; color: var(--blue-900); }
.info-card p { margin: 0 0 12px; }
.info-icon {
  width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 20px; background: var(--blue-50); font-size: 32px; margin-bottom: 12px;
}
.info-tag { color: var(--blue-600); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 0 !important; }
.marker {
  font-weight: 800;
  font-size: 19px;
  padding: 2px 6px;
  background: linear-gradient(transparent 35%, var(--light) 35%, var(--light) 90%, transparent 90%);
}
.highlight-soft { padding: 10px 14px; border-radius: 14px; background: var(--light-2); color: var(--warm-ink); font-weight: 700; }
.info-card .btn-wa { margin-top: auto; }

/* ---------- Preguntas ---------- */
.q { padding-top: 6vh; }
.field {
  display: block;
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  font-size: 21px;
  font-weight: 700;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}
.field::placeholder { color: #9AA6C2; font-weight: 600; }
.field:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 123, 255, .18); }
.field.is-valid { border-color: #7FCBA0; }
.field.is-error { border-color: var(--err); }
textarea.field { line-height: 1.35; }
.field-prefix { position: relative; display: flex; align-items: center; }
.field-prefix > span {
  position: absolute; left: 16px;
  font-weight: 800; color: var(--ink-2); font-size: 18px; pointer-events: none;
}
.field-prefix .field { padding-left: 92px; letter-spacing: .04em; }
#monto-otro { padding-left: 52px; }
.label { display: block; font-family: var(--font-title); font-weight: 600; font-size: 22px; margin: 24px 0 10px; }

.msg { min-height: 26px; margin: 10px 2px 0; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.msg.error { color: var(--err); }
.msg.ok { color: var(--ok); }
.suggest {
  margin-top: 8px; padding: 10px 14px; min-height: 44px;
  border: 0; border-radius: 14px; background: var(--light-2); color: var(--warm-ink); font-weight: 700; font-size: 16px;
}

.stepper { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.step-btn {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--blue-700);
  font-size: 32px; font-weight: 700; line-height: 1;
}
.step-btn:active { transform: scale(.93); background: var(--blue-50); }
.age-input {
  width: 130px;
  padding: 4px 0;
  border: 0;
  border-bottom: 4px solid var(--blue-200);
  background: transparent;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 64px;
  color: var(--blue-900);
  border-radius: 0;
}
.age-input:focus { outline: none; border-color: var(--blue-600); }
.age-input::placeholder { color: #C6D2EC; }
.out-card {
  margin-top: 18px; padding: 18px;
  border-radius: 20px; background: var(--card); box-shadow: var(--shadow);
  animation: pop .45s var(--ease);
}
.out-title { font-family: var(--font-title); font-weight: 600; font-size: 20px; margin: 0 0 6px; color: var(--blue-900); }
.out-card p { margin: 0 0 12px; }

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt {
  position: relative;
  min-height: 100px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 34px;
  color: var(--ink);
  transition: transform .15s, border-color .2s, background .2s, box-shadow .2s;
}
.opt.opt-text { font-size: 24px; min-height: 84px; }
.opt:active, .choice:active { transform: scale(.97); }
.opt[aria-checked="true"] {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(59, 123, 255, .18);
}
.opt[aria-checked="true"]::after {
  content: "✓"; position: absolute; top: 8px; right: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-600); color: #fff; font-size: 14px;
}

.choices { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 70px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  font-weight: 800; font-size: 19px; text-align: left;
  transition: transform .15s, border-color .2s, background .2s;
}
.choice .emo { font-size: 26px; }
.choice .check {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 9px;
  border: 2px solid var(--blue-200);
  display: grid; place-items: center;
  color: #fff; font-size: 16px;
  transition: background .2s, border-color .2s;
}
#enterado .choice .check { border-radius: 50%; }
.choice[aria-checked="true"] { border-color: var(--blue-600); background: var(--blue-50); }
.choice[aria-checked="true"] .check { background: var(--blue-600); border-color: var(--blue-600); }
.choice[aria-checked="true"] .check::after { content: "✓"; }

.reveal { margin-top: 16px; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Resumen ---------- */
.summary { display: grid; gap: 10px; }
.sum-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1.5px solid var(--line);
}
.sum-card > div { flex: 1; min-width: 0; }
.sum-card small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sum-card b { display: block; font-size: 18px; overflow-wrap: anywhere; }
.sum-card .edit {
  flex: none;
  min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 99px;
  background: var(--blue-50); color: var(--blue-700);
  font-weight: 800; font-size: 15px;
}

/* ---------- Pago ---------- */
.deadline {
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1.5px solid var(--line);
}
.deadline p { margin: 0 0 10px; font-size: 16px; }
.deadline .countdown span { font-size: 12px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts .opt { min-height: 64px; font-size: 21px; border-radius: 18px; }
.amounts .opt[aria-checked="true"]::after { top: -6px; right: -6px; width: 22px; height: 22px; font-size: 12px; }
.amounts .opt small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 800; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.pending {
  margin-top: 14px; padding: 14px 16px;
  border-radius: 18px;
  background: var(--blue-50);
  font-weight: 700;
}
.pending p { margin: 0; }
.pending .bar { height: 10px; margin: 10px 0 8px; border-radius: 99px; background: var(--blue-100); overflow: hidden; }
.pending .bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--light), #F4B400); transition: width .5s var(--ease); }
.pending .big { font-family: var(--font-title); font-size: 22px; color: var(--blue-900); }

.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px; border-radius: 18px; background: var(--blue-100);
}
.tab {
  min-height: 50px; border: 0; border-radius: 14px; background: transparent;
  font-family: var(--font-title); font-weight: 600; font-size: 19px; color: var(--blue-700);
}
.tab[aria-selected="true"] { background: var(--card); color: var(--blue-900); box-shadow: 0 4px 12px -6px rgba(21, 70, 200, .4); }
.tab-panel { padding: 14px 0 6px; animation: pop .3s var(--ease); }
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 12px 12px 16px; margin-bottom: 10px;
  border-radius: 16px; background: var(--card); border: 1.5px solid var(--line);
}
.copy-row small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.copy-row b { display: block; font-size: 19px; letter-spacing: .03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy {
  flex: none;
  min-height: 44px; min-width: 92px; padding: 8px 14px;
  border: 0; border-radius: 99px;
  background: var(--blue-600); color: #fff; font-weight: 800; font-size: 15px;
  transition: background .2s;
}
.copy.copied { background: var(--ok); }
.holder { margin: 4px 2px 6px; color: var(--ink-2); font-size: 15px; }
#btn-comprobante { margin-top: 18px; }
.secondary { margin-top: 22px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.give-more { margin-top: 4px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.give-more summary {
  list-style: none; cursor: pointer;
  min-height: 52px; padding: 14px 16px;
  font-weight: 800; color: var(--blue-700); text-align: center;
}
.give-more summary::-webkit-details-marker { display: none; }
.give-more p { margin: 0; padding: 0 16px 16px; font-size: 16px; }

/* ---------- Confirmación ---------- */
.confirm { text-align: center; padding-top: 14px; }
.confirm h2 { font-size: 30px; color: var(--blue-900); }
.checklist {
  list-style: none; padding: 6px; margin: 8px 0 0;
  border-radius: 22px; background: var(--card); box-shadow: var(--shadow);
  text-align: left;
}
.checklist li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px; font-weight: 800; }
.checklist li + li { border-top: 1.5px solid var(--blue-50); }
.check-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 0;
  border: 0; background: none; text-align: left; font-weight: 800;
}
.box {
  flex: none;
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  border: 2px solid var(--blue-200);
  color: #fff; font-size: 17px;
  transition: background .25s, border-color .25s, transform .25s;
}
.box.done, .check-item[aria-checked="true"] .box { background: var(--ok); border-color: var(--ok); }
.check-item[aria-checked="true"] .box::after { content: "✓"; }
.check-item[aria-checked="true"] .box { transform: scale(1.08); }
.actions { display: grid; gap: 10px; margin-top: 22px; }
.confia {
  margin: 34px 0 0;
  font-family: var(--font-title); font-weight: 700; font-size: 40px;
  color: var(--blue-600); letter-spacing: .02em;
}
.sign { margin: 0 0 12px; color: var(--ink-2); font-weight: 700; }

/* ---------- Contactos ---------- */
.contacts { display: grid; gap: 10px; text-align: left; }
.contact {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 18px;
  background: var(--blue-50);
}
.contact > div { flex: 1; min-width: 0; }
.contact small { display: block; color: var(--blue-700); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact b { display: block; font-size: 17px; }
.contact span { color: var(--ink-2); font-size: 15px; font-weight: 700; }
.contact .btn-wa { flex: none; padding: 10px 14px; }

/* ---------- Hojas inferiores y toast ---------- */
.sheet-backdrop {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(11, 36, 102, .4);
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 21;
  display: grid; gap: 10px;
  max-height: 85%; overflow-y: auto;
  padding: 10px 16px calc(env(safe-area-inset-bottom) + 18px);
  border-radius: 28px 28px 0 0;
  background: var(--card);
  animation: sheet-up .4s var(--ease);
}
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet h3 { font-size: 24px; margin: 4px 0 2px; }
.sheet p { margin: 0 0 6px; }
.grab { width: 44px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 6px; }
.pack { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; }
.pack li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--blue-50); font-weight: 700; }
.pack li span { font-size: 22px; line-height: 1.1; }

.toast {
  position: absolute; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 92px); z-index: 30;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--blue-900); color: #fff;
  font-weight: 700; font-size: 16px; text-align: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .screen, .screen.before { transform: none; }
}

/* ---------- Invitación, envío y protección ---------- */
.invite-hint {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--light-2);
  color: var(--warm-ink);
  font-weight: 800;
  animation: pop .4s var(--ease);
}
.error-card {
  display: grid; gap: 10px;
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 20px;
  background: #FFF3F2;
  border: 1.5px solid #F5C2BE;
  animation: pop .4s var(--ease);
}
.error-card p, .error-card ul { margin: 0; }
.error-card ul { padding-left: 20px; color: var(--err); font-weight: 700; }
.error-card ul:empty { display: none; }
.error-card .btn-wa { justify-self: start; }
#resumen-enviado { margin: 0 0 16px; }
.turnstile { display: flex; justify-content: center; margin-top: 16px; min-height: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Salud y contactos de emergencia ---------- */
.em-form .label.sm { font-size: 18px; margin: 18px 0 8px; }
.em-form .label.sm:first-child { margin-top: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt {
  min-height: 46px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 99px;
  background: var(--card);
  font-weight: 800;
  font-size: 16px;
  transition: transform .15s, border-color .2s, background .2s;
}
.chip-opt:active { transform: scale(.96); }
.chip-opt[aria-checked="true"] { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.em-form #em1-parentesco-otro, .em-form #em2-parentesco-otro { margin-top: 10px; }
