:root {
  --bg: #0b0b0d;
  --card: #151518;
  --card-2: #1c1c21;
  --line: #2b2b31;
  --text: #f5f5f7;
  --muted: #a9a9b3;
  --brand: #ff6a1a;
  --brand-strong: #e5480b;
  --brand-ink: #1a0a02;
  --glow: rgba(255, 106, 26, .35);
  --ok: #34d399;
  --err: #ff8a80;
  --r: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 90, 31, .22), transparent 60%), var(--bg);
  color: var(--text); font: 400 16px/1.5 "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.app { max-width: 520px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom)); }
.top { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 20px; }
.marca { display: block; height: 28px; width: auto; }
.chip { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-ink);
  background: var(--brand); padding: 6px 10px; border-radius: 999px; }
.aviso-prueba { background: #3a2a00; color: #ffd36b; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }

h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; margin: 8px 0 20px; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: 24px; line-height: 1.2; margin: 8px 0 20px; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }

.promos { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promos li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--muted); font-size: 15px; }
.promos strong { color: var(--text); }
.promos .n { display: block; font-size: 40px; line-height: 1; color: var(--brand); margin-top: 6px; font-variant-numeric: tabular-nums; }

.opciones { display: grid; gap: 12px; }
.opcion { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; cursor: pointer;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 16px; font: inherit; min-height: 72px;
  transition: border-color .2s var(--ease), transform .15s var(--ease), background-color .2s var(--ease); }
.opcion:hover { border-color: var(--brand); background: var(--card-2); }
.opcion:active { transform: scale(.98); }
.opcion svg { flex: none; width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opcion b { display: block; font-size: 17px; }
.opcion small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

.volver { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--muted);
  font: inherit; font-size: 15px; padding: 10px 4px; margin-left: -4px; cursor: pointer; min-height: 44px; }
.volver svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.bloque { border: 0; padding: 0; margin: 0 0 22px; }
legend, label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 8px; }
#b-contacto label { margin-top: 12px; }
#b-contacto #c-nombre label { margin-top: 0; }
input:not([type=radio]) { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s var(--ease); }
input::placeholder { color: #6f6f78; }
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--glow); }
.fila { display: flex; gap: 8px; }
.fila input { flex: 1; min-width: 0; }
.sec { flex: none; min-height: 50px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--brand); background: transparent;
  color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.sec:hover { background: var(--brand); color: var(--brand-ink); }
.sec[disabled] { opacity: .6; cursor: progress; }
.ayuda { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.error { color: var(--err); font-size: 15px; margin: 8px 0 0; }
.cuenta { margin-top: 12px; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .35); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.cuenta b { color: var(--ok); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg.cinco { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tile { position: relative; margin: 0; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile > span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.seg.cinco .tile > span { align-items: center; padding: 10px 4px; min-height: 56px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile em { font-style: normal; color: var(--brand); font-size: 14px; font-weight: 600; }
.tile .mas { font-size: 11px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.tile input:checked + span { border-color: var(--brand); background: #23140c; box-shadow: inset 0 0 0 1px var(--brand); }
.tile input:focus-visible + span { box-shadow: 0 0 0 3px var(--glow), inset 0 0 0 1px var(--brand); }
.regalo { margin: 10px 0 0; font-size: 14px; color: var(--text); background: #23140c; border: 1px dashed var(--brand); border-radius: 12px; padding: 10px 12px; }

.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding: 18px 0 14px; }
.total span { color: var(--muted); }
.total strong { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pagar { width: 100%; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  border: 0; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: inherit; font-size: 19px; font-weight: 800;
  transition: transform .15s var(--ease), background-color .2s var(--ease); }
.pagar:hover { background: #ff7d36; }
.pagar:active { transform: scale(.98); }
.pagar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pagar[disabled] { opacity: .65; cursor: progress; }
.seguro { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.seguro svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

button:focus-visible, .opcion:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.paso:not([hidden]) { animation: entra .32s var(--ease); }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* estado del pedido */
.estado { text-align: center; padding-top: 12px; }
.estado .icono { width: 72px; height: 72px; margin: 8px auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); }
.estado .icono svg { width: 36px; height: 36px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.estado.ok .icono svg { stroke: var(--ok); }
.giro { animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.ficha { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 20px 0; }
.ficha dt { color: var(--muted); font-size: 14px; }
.ficha dd { margin: 2px 0 12px; font-size: 18px; font-weight: 700; word-break: break-all; }
.ficha dd:last-child { margin-bottom: 0; }
.ficha .copiar { font: inherit; font-size: 13px; color: var(--brand); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; margin-left: 8px; cursor: pointer; min-height: 32px; }
.boton-sec { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--brand); color: var(--brand); text-decoration: none; font-weight: 700; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
