:root {
  --bg: #ffffff;
  --ink: oklch(0.21 0.02 262);
  --ink-2: oklch(0.42 0.02 262);
  --ink-3: oklch(0.6 0.015 262);
  --line: oklch(0.91 0.006 262);
  --wash: oklch(0.97 0.004 262);
  --accent: oklch(0.63 0.22 32);
  --accent-ink: oklch(0.5 0.2 32);
  --ok: oklch(0.55 0.14 155);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(16px, 4vw, 56px);
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* Encabezado */
.demo-strip { background: var(--ink); color: #fff; font-size: 12.5px; text-align: center; padding: 6px var(--pad); letter-spacing: 0.01em; }
.top {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px);
  display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; font-stretch: 68%; font-weight: 900; font-style: italic; font-size: 30px; line-height: 1; letter-spacing: 0.01em; display: inline-flex; }
.brand-mark { color: var(--accent); }
.brand.small { font-size: 22px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); border-color: var(--ink); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 500; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn b { background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12.5px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.cart-btn b.has { background: var(--accent); }

main { min-height: 70vh; outline: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: oklch(0.3 0.02 262); }
.btn:active { transform: scale(0.98); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-ink); }
.btn.ghost { background: none; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: none; }
.btn.sm { padding: 8px 14px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); font-size: 14px; }
.link:hover { color: var(--ink); }

/* Dorsal */
.bib { display: inline-flex; align-items: center; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-top: 4px solid var(--accent); border-radius: 3px; padding: 0 7px; font-stretch: 70%; font-weight: 800; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* Inicio */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 5vw, 72px) var(--pad) clamp(36px, 5vw, 72px); align-items: end; }
.hero h1 { font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(60px, 10.5vw, 168px); line-height: 0.84; letter-spacing: -0.012em; margin: 0 0 24px; }
.hero h1 em { font-style: inherit; color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 0 0 28px; }
.finder { display: grid; grid-template-columns: 1fr 150px auto; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; max-width: 640px; }
.finder label { display: grid; gap: 1px; padding: 10px 16px 9px; border-right: 1px solid var(--line); min-width: 0; }
.finder label span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.07em; }
.finder select, .finder input { border: 0; background: none; outline: none; font-weight: 600; font-size: 16px; width: 100%; padding: 0; min-width: 0; }
.finder button { border: 0; border-radius: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 0 26px; font-size: 15.5px; }
.finder button:hover { background: var(--accent-ink); }
.hero-note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.hero-note button { color: var(--ink); font-weight: 600; }

.hero-shots { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1.12; }
.hero-shots figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--wash); }
.hero-shots figure:first-child { grid-row: span 2; }
.hero-shots img { width: 100%; height: 100%; object-fit: cover; }
.hero-shots .tag { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 4px; padding: 6px 10px 6px 6px; font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }

.section { padding: clamp(40px, 6vw, 96px) var(--pad); border-top: 1px solid var(--line); }
.section > h2 { font-stretch: 66%; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: .95; margin: 0 0 clamp(22px, 3vw, 44px); letter-spacing: -0.005em; }

.ev-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: end; text-decoration: none; }
.ev-feature .ph { aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; background: var(--wash); }
.ev-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-feature:hover img { transform: scale(1.03); }
.ev-feature h3 { font-stretch: 68%; font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; margin: 10px 0 12px; text-transform: uppercase; }
.ev-meta { color: var(--ink-2); font-size: 15px; margin: 0 0 20px; }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.state.soon::before { background: var(--ink-3); }

.ev-rows { margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.ev-row { display: grid; grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ev-row img { width: 96px; height: 64px; object-fit: cover; border-radius: 4px; filter: grayscale(1); opacity: .8; }
.ev-row h4 { margin: 0; font-size: 18px; font-weight: 700; }
.ev-row p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-stretch: 62%; font-weight: 900; font-style: italic; font-size: 54px; line-height: 1; color: var(--accent); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-2); max-width: 36ch; }

.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.prices p { color: var(--ink-2); max-width: 44ch; margin: 0; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable td { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ptable tr:first-child td { border-top: 2px solid var(--ink); }
.ptable td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ptable small { color: var(--ink-3); font-weight: 400; font-size: 13.5px; margin-left: 6px; }

/* Evento */
.ev-head { padding: clamp(24px, 4vw, 56px) var(--pad) 22px; display: grid; gap: 8px; }
.crumb { font-size: 13.5px; color: var(--ink-3); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.ev-head h1 { font-stretch: 64%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 96px); line-height: .9; margin: 4px 0 6px; }
.ev-head p { margin: 0; color: var(--ink-2); }

.tools { position: sticky; top: 61px; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px var(--pad); display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.bib-input { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-top: 5px solid var(--accent); border-radius: 5px; padding: 3px 12px 4px; background: #fff; }
.bib-input span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.bib-input input { border: 0; outline: 0; width: 5.2ch; font-stretch: 68%; font-weight: 800; font-size: 26px; line-height: 1.1; padding: 0; background: none; font-variant-numeric: tabular-nums; }
.bib-input input::placeholder { color: oklch(0.82 0.01 262); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.selfie { margin: 0 var(--pad); border-bottom: 1px solid var(--line); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.selfie.open { grid-template-rows: 1fr; }
.selfie > div { overflow: hidden; }
.selfie-in { padding: 24px 0 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.selfie h3 { margin: 0 0 6px; font-size: 20px; }
.selfie p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; max-width: 48ch; }
.selfie .fine { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.samples { display: flex; gap: 10px; }
.samples button { padding: 0; border: 2px solid transparent; border-radius: 50%; overflow: hidden; width: 68px; height: 68px; background: var(--wash); transition: border-color .2s, transform .2s var(--ease); }
.samples button:hover { border-color: var(--accent); transform: translateY(-2px); }
.samples img { width: 100%; height: 100%; object-fit: cover; }
.scan { display: flex; gap: 16px; align-items: center; min-height: 96px; }
.scan-face { position: relative; width: 96px; height: 96px; border-radius: 6px; overflow: hidden; flex: none; background: var(--wash); }
.scan-face img { width: 100%; height: 100%; object-fit: cover; }
.scan-face.busy::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 14px 3px var(--accent); animation: scan 1.3s ease-in-out infinite alternate; }
@keyframes scan { from { top: 4%; } to { top: 94%; } }
.scan ol { list-style: none; margin: 0; padding: 0; font-size: 14.5px; display: grid; gap: 3px; }
.scan li { color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.scan li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex: none; }
.scan li.now { color: var(--ink); font-weight: 600; }
.scan li.now::before { background: var(--accent); animation: pulse 1s infinite; }
.scan li.done { color: var(--ink-2); }
.scan li.done::before { background: var(--ok); }
.scan li.fail { color: var(--accent-ink); font-weight: 600; }
.scan li.fail::before { background: var(--accent); }
@keyframes pulse { 50% { opacity: .3; } }

.result-bar { scroll-margin-top: 150px; padding: 16px var(--pad) 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.result-bar p { margin: 0; font-size: 15.5px; }
.result-bar strong { font-weight: 700; }
.result-bar .face-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 3px; font-size: 13.5px; font-weight: 600; }
.result-bar .face-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.result-bar .sp { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.grid { padding: 14px var(--pad) clamp(48px, 6vw, 96px); columns: 4 280px; column-gap: 10px; }
.tile { break-inside: avoid; margin: 0 0 10px; position: relative; border-radius: 5px; overflow: hidden; background: var(--wash); }
.tile > button.open { display: block; width: 100%; border: 0; padding: 0; background: none; }
.tile img { width: 100%; height: auto; transition: transform .7s var(--ease), opacity .4s; }
.tile:hover img { transform: scale(1.025); }
.tile .meta { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 5px; flex-wrap: wrap; pointer-events: none; }
.tile .match { background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 3px; padding: 3px 7px; }
.tile .pick { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); transition: transform .2s var(--ease), background .2s; }
.tile .pick:hover { transform: scale(1.08); }
.tile .pick svg { width: 18px; height: 18px; }
.tile.sel .pick { background: var(--accent); color: #fff; }
.tile.sel { outline: 3px solid var(--accent); outline-offset: -3px; }
.empty { padding: 56px var(--pad) 96px; max-width: 560px; }
.empty h3 { font-size: 24px; margin: 0 0 8px; }
.empty p { color: var(--ink-2); margin: 0 0 18px; }

/* Visor */
.viewer { border: 0; padding: 0; width: min(1240px, 96vw); max-width: none; max-height: 94vh; border-radius: 8px; overflow: hidden; background: #fff; color: var(--ink); }
.viewer::backdrop { background: rgba(14, 16, 22, .82); }
.v-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; max-height: 94vh; }
.v-stage { background: oklch(0.16 0.01 262); display: grid; place-items: center; position: relative; min-height: 320px; }
.v-frame { position: relative; max-width: 100%; }
.v-frame img { max-height: 94vh; width: auto; max-width: 100%; }
.v-box { position: absolute; border: 2px solid #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); pointer-events: none; opacity: 0; transition: opacity .3s; }
.v-box.hit { border-color: var(--accent); }
.v-frame.detect .v-box { opacity: 1; }
.v-box span { position: absolute; left: -2px; top: -20px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 2px; white-space: nowrap; }
.v-box.hit span { background: var(--accent); color: #fff; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.v-nav.prev { left: 12px; } .v-nav.next { right: 12px; }
.v-side { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 16px; overflow: auto; }
.v-side h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.v-id { font-stretch: 68%; font-weight: 800; font-size: 34px; line-height: 1; margin: 2px 0 0; }
.v-list { margin: 0; display: grid; gap: 0; }
.v-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: center; }
.v-list dt { color: var(--ink-2); } .v-list dd { margin: 0; font-weight: 600; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.v-price { font-stretch: 70%; font-weight: 800; font-size: 40px; line-height: 1; }
.v-price small { font-size: 14px; font-weight: 500; color: var(--ink-3); font-stretch: 100%; margin-left: 6px; }
.v-close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--wash); display: grid; place-items: center; z-index: 2; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; margin: 0; cursor: pointer; flex: none; }
.switch input::after { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(16px); }
.fine { font-size: 13px; color: var(--ink-3); margin: 0; }

/* Selección */
.scrim { position: fixed; inset: 0; background: rgba(14, 16, 22, .45); z-index: 40; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(430px, 100vw); background: #fff; z-index: 50; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .18); animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.d-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.d-head h2 { margin: 0; font-size: 19px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--wash); display: grid; place-items: center; }
.d-list { flex: 1; overflow: auto; padding: 6px 20px; }
.d-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.d-item img { width: 76px; height: 56px; object-fit: cover; border-radius: 4px; }
.d-item b { display: block; font-size: 14.5px; }
.d-item span { font-size: 13px; color: var(--ink-3); }
.d-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sum { display: grid; gap: 6px; margin: 0; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; }
.sum dt { color: var(--ink-2); } .sum dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.sum .off dd { color: var(--ok); }
.sum .tot { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; }
.sum .tot dt { color: var(--ink); font-weight: 700; } .sum .tot dd { font-weight: 800; }
.nudge { font-size: 13.5px; background: var(--wash); border-radius: 6px; padding: 9px 12px; color: var(--ink-2); }
.nudge b { color: var(--ink); }

/* Pago y pedido */
.page { padding: clamp(24px, 4vw, 56px) var(--pad) clamp(56px, 7vw, 110px); }
.page h1 { font-stretch: 66%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 76px); line-height: .92; margin: 6px 0 clamp(22px, 3vw, 40px); }
.pay { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.fset { border: 0; padding: 0; margin: 0 0 30px; }
.fset legend { font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 5px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input { border: 1px solid oklch(0.82 0.008 262); border-radius: 8px; padding: 12px 13px; font-size: 16px; background: #fff; outline: none; transition: border-color .2s; }
.field input:focus { border-color: var(--ink); }
.field input:user-invalid { border-color: var(--accent); }
.methods { display: grid; gap: 0; border: 1px solid oklch(0.82 0.008 262); border-radius: 10px; overflow: hidden; }
.methods label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.methods label:last-child { border-bottom: 0; }
.methods label:has(input:checked) { background: var(--wash); }
.methods input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.methods b { display: block; font-size: 15.5px; } .methods small { color: var(--ink-3); font-size: 13.5px; }
.order-box { border: 1px solid var(--line); border-radius: 10px; padding: 20px; position: sticky; top: 90px; display: grid; gap: 14px; }
.order-box h2 { margin: 0; font-size: 18px; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.mini img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; width: 100%; }

.done-head { display: grid; gap: 6px; margin-bottom: clamp(24px, 3vw, 40px); }
.done-head .state { font-size: 14px; }
.done-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-2); font-size: 15px; margin: 0; }
.done-meta b { color: var(--ink); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dl { margin: 0; }
.dl img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 5px; background: var(--wash); }
.dl figcaption { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; font-size: 14px; font-weight: 600; }

/* Panel */
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.panel-head h1 { margin: 0; font-style: normal; font-size: clamp(30px, 3.4vw, 44px); }
.panel-head p { margin: 4px 0 0; color: var(--ink-2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow: auto; }
.tabs button { border: 0; background: none; padding: 11px 14px; font-weight: 600; font-size: 14.5px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; margin: 0 0 30px; }
.kpis div { padding: 18px 20px; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis dt { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.kpis dd { margin: 4px 0 0; font-stretch: 72%; font-weight: 800; font-size: 34px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpis small { display: block; font-size: 12.5px; color: var(--ink-3); font-stretch: 100%; font-weight: 400; margin-top: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sub { font-size: 17px; margin: 0 0 12px; font-weight: 700; }
.tbl-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--wash); white-space: nowrap; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl img { width: 60px; height: 42px; object-fit: cover; border-radius: 3px; }
.tag-s { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 4px; padding: 2px 7px; background: var(--wash); color: var(--ink-2); }
.tag-s.live { background: oklch(0.95 0.05 155); color: oklch(0.38 0.1 155); }
.bars { display: grid; gap: 12px; margin: 0; }
.bars div { display: grid; grid-template-columns: 84px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.bars i { display: block; height: 10px; border-radius: 2px; background: var(--ink); }
.bars dd { margin: 0; } .bars span { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.flow li::before { content: counter(f); font-weight: 800; color: var(--accent); font-stretch: 72%; font-size: 20px; line-height: 1.1; }
.flow b { display: block; } .flow span { color: var(--ink-2); }

/* Pie y avisos */
.foot { border-top: 1px solid var(--line); padding: 30px var(--pad) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; color: var(--ink-2); font-size: 14px; }
.foot p { margin: 6px 0 0; }
.foot .credits { max-width: 52ch; font-size: 12.5px; color: var(--ink-3); margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); z-index: 80; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.rise { animation: rise .7s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 900px) {
  .hero, .ev-feature, .prices, .pay, .split, .selfie-in { grid-template-columns: 1fr; }
  .hero { align-items: start; }
  .hero-shots { aspect-ratio: 1.3; }
  .steps { grid-template-columns: 1fr; }
  .v-wrap { grid-template-columns: 1fr; overflow: auto; }
  .v-frame img { max-height: 56vh; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:nth-child(2) { border-right: 0; }
  .kpis div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .order-box { position: static; }
  .chips { margin-left: 0; }
}
@media (max-width: 640px) {
  .top { gap: 12px; }
  .nav { gap: 14px; }
  .nav a[data-nav="home"] { display: none; }
  .cart-btn span { display: none; }
  .finder { grid-template-columns: 1fr 110px; }
  .finder label:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .finder button { padding: 0 16px; }
  .ev-row { grid-template-columns: 72px 1fr; }
  .ev-row img { width: 72px; height: 52px; }
  .ev-row > :nth-child(3) { grid-column: 2; }
  .ev-row > :nth-child(4) { grid-column: 2; justify-self: start; }
  .grid { columns: 2 150px; column-gap: 6px; padding-top: 10px; }
  .tile { margin-bottom: 6px; }
  .tools { position: static; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
