/* Layout: banda de marca del negocio arriba; el panel del cotizador la monta encima.
   En escritorio (≥ 960 px) un ticket «Tu cotización» acompaña a la derecha; en celular, barra inferior.
   Tema único y deliberado: colores y fuente de títulos salen de negocio.config.js. */
:root {
  --brand: #7a2e4a;
  --brand-dark: #5c2137;
  --accent: #e8b04b;
  --bg: #fbf7f4;
  --surface: #ffffff;
  --ink: #1f1a1d;
  --muted: #6b6168;
  --line: #e8dfe2;
  --danger: #b42318;
  --danger-soft: #fef0ee;
  --wa: #128c4a;
  --wa-bubble: #e7f8dc;
  --paper: #fffaf2;
  --paper-line: #e6d8c0;
  --da-navy: #081633;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tint: color-mix(in srgb, var(--brand) 7%, var(--surface));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
body:has(.summary:not([hidden])) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mini { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Barra de DigitalApp (solo en la demo) ---------- */
.demo-bar { background: var(--da-navy); color: #e8eefb; font-size: 0.8rem; }
.demo-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-block: 7px; }
.demo-bar a { color: #43d9ff; font-weight: 600; }

/* ---------- Banda de marca ---------- */
.brand-hero {
  position: relative; overflow: hidden; color: #fff; padding-block: 28px 84px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 1.2px, transparent 1.8px) 0 0 / 26px 26px,
    radial-gradient(120% 90% at 85% -10%, color-mix(in srgb, var(--brand) 85%, #fff 15%) 0%, transparent 60%),
    var(--brand-dark);
}
.brand-garland { position: absolute; top: 0; left: 0; width: 100%; height: 54px; pointer-events: none; }
.brand-garland path { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.4; }
.brand-garland circle { fill: var(--accent); }
.brand-garland circle:nth-child(3n) { fill: #fff3d6; }
.brand-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
.brand-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--brand-dark); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.brand-tag { font-size: 0.82rem; color: rgba(255,255,255,.78); }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; flex: none; }
.lang button { min-width: 44px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: 700 0.85rem var(--font-body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--brand-dark); }
.brand-intro { position: relative; display: grid; gap: 8px; padding-top: 28px; }
.brand-intro h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: -0.01em; }
.brand-intro p { color: rgba(255,255,255,.82); max-width: 46ch; }
.has-logo { background: #fff !important; overflow: hidden; padding: 3px; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-intro .sample-note { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .82rem; font-weight: 600; max-width: none; }
.brand-intro .sample-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.brand-intro .sample-note[hidden] { display: none; }

/* ---------- Disposición ---------- */
.layout { position: relative; margin-top: -56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.panel { background: var(--surface); border-radius: 24px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 1px 0 var(--line), 0 24px 60px -20px color-mix(in srgb, var(--brand-dark) 35%, transparent); min-width: 0; }

/* Pasos con nombre */
.steps-nav { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.steps-nav li { height: 5px; border-radius: 99px; background: var(--line); }
.steps-nav li.is-done, .steps-nav li.is-current { background: var(--brand); }
.steps-nav .dot, .steps-nav .lbl { display: none; }
.step-num { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
#pasoTitulo { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 6vw, 2.4rem); color: var(--ink); letter-spacing: -0.005em; }
#pasoTitulo:focus { outline: none; }
.alert { padding: 10px 12px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 0.92rem; }
.stage { display: grid; gap: 14px; min-width: 0; }
.intro { color: var(--muted); }

/* ---------- Tarjetas ---------- */
.cards { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.card { position: relative; display: grid; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .2s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.card.is-on { border-color: var(--brand); background: var(--tint); box-shadow: inset 0 0 0 1px var(--brand), 0 10px 24px -14px color-mix(in srgb, var(--brand) 60%, transparent); }
.card-title { font-weight: 700; color: var(--ink); }
.card-text { font-size: 0.88rem; color: var(--muted); }

/* Selección: insignia con palomita (tipo de evento y paquete) */
.card-ev.is-on::after, .card-pkg.is-on::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Evento: fila con ilustración en celular, mosaico en pantallas mayores */
.card-ev { grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 14px; padding-right: 44px; }
.ev-art { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); }
.card-ev.is-on .ev-art { background: color-mix(in srgb, var(--accent) 28%, var(--surface)); }
.ev-icon { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-ev.is-on .ev-icon { stroke: var(--brand-dark); }
.ev-body { display: grid; gap: 2px; min-width: 0; }

/* Paquete */
.card-pkg { gap: 8px; padding: 18px; }
.pkg-head { display: flex; align-items: center; gap: 8px; padding-right: 30px; }
.card-pkg .card-title { font-size: 1.05rem; }
.tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--brand-dark); }
.pkg-price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-weight: 700; color: var(--brand-dark); font-variant-numeric: lining-nums tabular-nums; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.pkg-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.pkg-meta .mini { color: var(--brand); }
.cap-row { display: flex; align-items: center; gap: 10px; }
.cap { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cap-fill { display: block; height: 100%; width: calc(var(--uso) * 100%); border-radius: inherit; background: var(--brand); transform-origin: left; }
.cap-label { font-size: 0.78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pkg-off { font-size: 0.85rem; font-weight: 700; color: var(--danger); }
.card.is-off { cursor: not-allowed; background: #f7f3f4; border-style: dashed; }
.card.is-off:hover { border-color: var(--line); }
/* Deshabilitado: fondo, borde punteado y aviso; el texto conserva contraste ≥ 4.5:1. */
.card.is-off .card-title, .card.is-off .pkg-price, .card.is-off .card-text, .card.is-off .pkg-meta, .card.is-off .pkg-meta .mini { color: var(--muted); }
.card.is-off .pkg-price { text-decoration: line-through; text-decoration-thickness: 2px; }
.card.is-off .cap-fill { width: 100%; background: repeating-linear-gradient(-45deg, var(--danger) 0 6px, #d9584d 6px 12px); }

/* Extras */
.card-extra { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-right: 50px; }
.extra-body { display: grid; gap: 2px; min-width: 0; }
.extra-price { font-weight: 700; color: var(--brand-dark); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--tint); }
.card-extra::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; border: 1.5px solid #cfc3c8; background: var(--surface); }
.card-extra.is-on::after { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--brand); }

/* ---------- Campos ---------- */
.fields { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.field input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.input-icon { position: relative; display: block; }
.input-icon .mini { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--brand); pointer-events: none; }
.input-icon input { padding-left: 42px; }
.hint { font-size: 0.85rem; color: var(--muted); }
.field-error { font-size: 0.88rem; font-weight: 600; color: var(--danger); }
.stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; }
.stepper input { text-align: center; font-weight: 700; font-size: 1.15rem; }
.step-btn { min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--brand); font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.step-btn:hover { background: var(--tint); }

/* ---------- Sin capacidad ---------- */
.exit { display: grid; gap: 10px; padding: 18px; border-radius: 16px; border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.exit h3 { font-family: var(--font-display); font-size: 1.6rem; }
.exit-actions, .ready-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-final { display: grid; gap: 10px; padding: 20px; margin-bottom: 18px; border-radius: 18px; background: var(--brand); color: #fff; }
.cta-final h3 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.cta-final p { color: rgba(255,255,255,.88); }
.cta-final .btn-cta { justify-self: start; background: var(--accent); color: var(--brand-dark); font-weight: 700; white-space: normal; text-align: center; }
.cta-final .btn-cta:hover { filter: brightness(1.05); }
.sim { display: grid; gap: 10px; padding: 14px; border: 2px dashed var(--line); border-radius: 18px; }
.sim-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.sim-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.exit-illo { width: 140px; height: auto; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.exit-illo rect { fill: var(--surface); }
.exit-illo .people circle { fill: var(--accent); }

/* ---------- Ticket del estimado ---------- */
.ticket { display: grid; gap: 12px; padding: 18px 18px 30px; background: var(--paper); border: 1px solid var(--paper-line); border-bottom: 0; font-variant-numeric: lining-nums tabular-nums;
  clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),95% 100%,90% calc(100% - 10px),85% 100%,80% calc(100% - 10px),75% 100%,70% calc(100% - 10px),65% 100%,60% calc(100% - 10px),55% 100%,50% calc(100% - 10px),45% 100%,40% calc(100% - 10px),35% 100%,30% calc(100% - 10px),25% 100%,20% calc(100% - 10px),15% 100%,10% calc(100% - 10px),5% 100%,0 calc(100% - 10px)); }
.ticket-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--brand-dark); padding-bottom: 10px; border-bottom: 1px dashed var(--paper-line); }
.ticket-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.05rem; }
.ticket-event { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.ticket-event div { min-width: 0; }
.ticket-event dt { font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticket-event dd { margin: 0; font-size: 0.92rem; font-weight: 600; overflow-wrap: anywhere; }
.breakdown { width: 100%; border-collapse: collapse; }
.breakdown th { text-align: left; font-weight: 500; padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }
.breakdown td { text-align: right; padding: 10px 0 10px 12px; border-bottom: 1px dashed var(--paper-line); white-space: nowrap; font-weight: 600; }
.breakdown tfoot th, .breakdown tfoot td { border-bottom: 0; padding-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--brand-dark); vertical-align: baseline; }
.breakdown tfoot th { font-size: 1.25rem; white-space: nowrap; }
.breakdown tfoot td { font-size: 1.7rem; }
.note { font-size: 0.84rem; color: var(--muted); }

/* ---------- Mensaje listo ---------- */
.wa-phone { border-radius: 20px; overflow: hidden; background: #ece5dd; border: 1px solid var(--line); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #075e54; color: #fff; font-size: .95rem; }
.wa-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--brand-dark); font-weight: 700; }
.wa-preview { margin: 14px 14px 14px auto; max-width: 92%; padding: 14px 16px; border-radius: 16px 4px 16px 16px; background: var(--wa-bubble); color: var(--ink); font: 0.92rem/1.5 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.copy-status { font-size: 0.85rem; color: var(--muted); min-height: 1.2em; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 14px; border: 1.5px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .2s; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
.btn-wa { background: var(--wa); color: #fff; }
.actions { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; }
.actions .btn-brand { flex: 1 1 auto; max-width: 300px; margin-left: auto; }
.back { text-align: center; padding-block: 18px; font-size: 0.9rem; }

/* ---------- Tu cotización (escritorio) ---------- */
.quote { display: none; }
.quote-ticket { display: grid; gap: 14px; padding: 22px 22px 34px; background: var(--paper); border: 1px solid var(--paper-line); border-bottom: 0; border-radius: 20px 20px 0 0; font-variant-numeric: lining-nums tabular-nums; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--brand-dark) 35%, transparent);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 12px),95% 100%,90% calc(100% - 12px),85% 100%,80% calc(100% - 12px),75% 100%,70% calc(100% - 12px),65% 100%,60% calc(100% - 12px),55% 100%,50% calc(100% - 12px),45% 100%,40% calc(100% - 12px),35% 100%,30% calc(100% - 12px),25% 100%,20% calc(100% - 12px),15% 100%,10% calc(100% - 12px),5% 100%,0 calc(100% - 12px)); }
.quote-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand-dark); }
.quote-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.1rem; }
.quote-list { margin: 0; display: grid; }
.quote-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--paper-line); }
.quote-list dt { font-size: 0.82rem; color: var(--muted); }
.quote-list dd { margin: 0; text-align: right; font-size: 0.92rem; font-weight: 600; }
.quote-list dd b { color: var(--brand-dark); margin-left: 4px; }
.q-empty { color: #b9adb2; font-weight: 400; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; }
.quote-total strong { font-family: var(--font-display); font-size: 2rem; color: var(--brand-dark); }
.quote-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- Barra inferior (celular) ---------- */
.summary { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--brand-dark); color: #fff; padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -8px 24px rgba(0,0,0,0.16); }
.summary-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.summary-label { display: grid; font-size: 0.85rem; line-height: 1.3; min-width: 0; }
.summary-label small { color: rgba(255,255,255,.72); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary strong { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* ---------- Pantallas medianas y grandes ---------- */
@media (min-width: 560px) {
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-2 .card-ev { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 18px; }
  .panel { padding: 30px; }
}
@media (min-width: 720px) {
  .steps-nav { gap: 0; margin-bottom: 10px; }
  .steps-nav li, .steps-nav li.is-done, .steps-nav li.is-current { height: auto; background: none; position: relative; display: grid; justify-items: center; gap: 6px; }
  .steps-nav li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
  .steps-nav li:first-child::before { display: none; }
  .steps-nav li.is-done::before, .steps-nav li.is-current::before { background: var(--brand); }
  .steps-nav .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); }
  .steps-nav li.is-current .dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
  .steps-nav li.is-done .dot { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--brand); }
  .steps-nav .lbl { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
  .steps-nav li.is-current .lbl { color: var(--ink); }
  .step-num { display: none; }
}
@media (min-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .quote { display: block; position: sticky; top: 20px; }
  .summary { display: none !important; }
  body:has(.summary:not([hidden])) { padding-bottom: 0; }
  .brand-hero { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .brand-hero { padding-block: 20px 72px; }
  .brand-intro { padding-top: 18px; gap: 6px; }
  .brand-intro p { font-size: .95rem; }
  .panel { padding: 18px; border-radius: 20px; }
  .ready-actions .btn, .exit-actions .btn { flex: 1 1 100%; }
  .ticket { padding-inline: 14px; }
}

/* ---------- Movimiento (solo si la persona no pidió reducirlo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .brand-garland circle { animation: twinkle 1.6s ease-in-out 3; }
  .brand-garland circle:nth-child(2n) { animation-delay: .5s; }
  @keyframes twinkle { 50% { opacity: .35; } }

  .stage.anim-fwd > * { animation: inFwd .34s var(--ease) both; }
  .stage.anim-back > * { animation: inBack .34s var(--ease) both; }
  .stage.anim-fwd > *:nth-child(2), .stage.anim-back > *:nth-child(2) { animation-delay: .05s; }
  .stage.anim-fwd > *:nth-child(3), .stage.anim-back > *:nth-child(3) { animation-delay: .1s; }
  @keyframes inFwd { from { opacity: 0; transform: translateX(16px); } }
  @keyframes inBack { from { opacity: 0; transform: translateX(-16px); } }
  .stage.anim-fwd .card, .stage.anim-back .card { animation: cardIn .4s var(--ease) both; }
  .stage.anim-fwd .card:nth-of-type(2) { animation-delay: .05s; }
  .stage.anim-fwd .card:nth-of-type(3) { animation-delay: .1s; }
  .stage.anim-fwd .card:nth-of-type(4) { animation-delay: .15s; }
  @keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }

  .card.pop { animation: pop .28s cubic-bezier(.2,.9,.3,1.4); }
  @keyframes pop { 40% { transform: scale(.97); } }
  .card-ev.pop .ev-icon { animation: wiggle .45s ease; }
  @keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.1); } 60% { transform: rotate(6deg); } }
  .card.pop::after { animation: checkPop .3s cubic-bezier(.2,.9,.3,1.5); }
  @keyframes checkPop { from { transform: scale(.3); } }
  .steps-nav li.is-current .dot { animation: ring .5s var(--ease); }
  @keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 30%, transparent); } }

  .stage.anim-fwd .cap-fill, .stage.anim-back .cap-fill { animation: fill .7s var(--ease) .2s both; }
  @keyframes fill { from { transform: scaleX(0); } }
  .stage.anim-fwd .ticket { animation: print .6s var(--ease) both; }
  @keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-8px); } }
  .stage.anim-fwd .wa-preview { animation: bubble .4s cubic-bezier(.2,.8,.3,1.2) .2s both; transform-origin: top right; }
  @keyframes bubble { from { opacity: 0; transform: scale(.85) translateY(8px); } }
  .stage.anim-fwd .exit-illo .people circle { animation: crowd .5s ease both; }
  .stage.anim-fwd .exit-illo .people circle:nth-child(2) { animation-delay: .08s; }
  .stage.anim-fwd .exit-illo .people circle:nth-child(3) { animation-delay: .16s; }
  .stage.anim-fwd .exit-illo .people circle:nth-child(4) { animation-delay: .24s; }
  .stage.anim-fwd .exit-illo .people circle:nth-child(5) { animation-delay: .32s; }
  .stage.anim-fwd .exit-illo .people circle:nth-child(6) { animation-delay: .4s; }
  @keyframes crowd { from { opacity: 0; transform: translateY(-6px); } }

  .summary.bump strong { animation: bump .35s ease; display: inline-block; }
  @keyframes bump { 40% { transform: scale(1.08); color: var(--accent); } }
  .btn-brand:hover { transform: translateY(-1px); }
}
