/* Asistencia de Visas HN — sitio público
   Paleta tomada del logo: dorado del sello + azul marino institucional. */
:root {
  --navy-900: #0b1628;
  --navy-800: #0f1f38;
  --navy-700: #16294a;
  --navy-600: #1f3761;
  --gold-500: #c29a4b;
  --gold-400: #d4b06a;
  --gold-600: #a57b2e;
  --gold-700: #8a6420;
  --gold-50: #faf5ea;
  --ivory: #fbf9f4;
  --paper: #ffffff;
  --ink: #16213a;
  --muted: #5b6579;
  --line: #e6e1d6;
  --ok: #1f7a4d;
  --ok-bg: #e9f6ef;
  --warn: #9a6400;
  --warn-bg: #fff5e0;
  --err: #b42318;
  --err-bg: #fdeceb;
  --wa: #0e7a3f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(11, 22, 40, .28);
  --shadow-sm: 0 4px 14px -6px rgba(11, 22, 40, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-800); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(194, 154, 75, .8); }
.btn-gold:hover { background: var(--gold-400); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6634; }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.1; color: var(--gold-700); letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--font); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--gold-700); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Portada ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,22,40,.97) 0%, rgba(11,22,40,.86) 45%, rgba(11,22,40,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 40px; padding: 84px 16px 96px; align-items: center; }
@media (min-width: 640px) { .hero-inner { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.25fr .9fr; padding-top: 110px; padding-bottom: 120px; } }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { font-size: 1.14rem; color: rgba(255,255,255,.86); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-flags { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255,255,255,.8); }
.hero-flags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-flags .icon { color: var(--gold-400); }

.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: 20px; padding: 28px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); border-top: 4px solid var(--gold-500);
}
.hero-card h2 { font-size: 1.3rem; margin-bottom: .3em; }
.hero-card ol { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 14px; }
.hero-card li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.hero-card li b { display: block; color: var(--navy-800); }
.hero-card li small { color: var(--muted); font-size: .88rem; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-50); color: var(--gold-700); font-weight: 700; font-size: .9rem; border: 1px solid #ecdcb8;
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--navy-800); color: rgba(255,255,255,.82); font-size: .93rem; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding: 18px 16px; text-align: center; }
.trust strong { color: var(--gold-400); font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section-white { background: var(--paper); }
.section-navy { background: var(--navy-800); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-navy .section-head p { color: rgba(255,255,255,.72); }

/* Países */
.countries { display: grid; gap: 22px; }
@media (min-width: 760px) { .countries { grid-template-columns: 1fr 1fr; } }
.country {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.country::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }
.country-flag { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--gold-700); text-transform: uppercase; }
.country h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin: 6px 0 10px; }
.country ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.country li { display: flex; gap: 10px; }
.country li .icon { color: var(--gold-600); margin-top: 4px; }

/* Tarjetas de servicio */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #e2cfa6; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px;
  background: var(--navy-800); color: var(--gold-400);
}
.card-icon .icon { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--gold-400); display: block; margin-bottom: 10px;
}
.steps p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.75); }

/* Consejos */
.tips { display: grid; gap: 18px; }
@media (min-width: 760px) { .tips { grid-template-columns: repeat(2, 1fr); } }
.tip { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.tip-num { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--gold-600); line-height: 1.2; }
.tip p { margin: 0; color: var(--muted); }
.tip q { font-style: italic; color: var(--ink); }

/* Split imagen + texto */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.split-media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold-500);
  border-radius: 20px; z-index: -1;
}
.badge-float {
  position: absolute; left: -12px; bottom: 26px; background: var(--navy-800); color: #fff;
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); max-width: 250px; font-size: .9rem;
}
.badge-float b { color: var(--gold-400); display: block; font-size: 1rem; }
@media (max-width: 640px) { .badge-float { left: 12px; } .split-media::after { display: none; } }
.checks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks .icon { color: var(--gold-600); margin-top: 4px; }

.press { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.press-title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.press ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.press a { color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.4; display: block; }
.press a:hover { color: var(--gold-700); }
.press a span { display: block; font-size: .8rem; font-weight: 600; color: var(--gold-700); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq details[open] { border-color: #e2cfa6; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.5rem; color: var(--gold-600); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA final */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); color: #fff; border-radius: 24px; padding: 48px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 36em; margin: 0 auto 26px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 58px; height: 58px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
.footer-brand span { font-family: var(--display); color: var(--gold-400); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .84rem; color: rgba(255,255,255,.55); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Flujo (precalificación, agenda, pago) ---------- */
.flow { padding: 44px 0 90px; min-height: calc(100vh - 72px); }
.flow-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.flow-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.flow-head p { color: var(--muted); }

.progress-steps { display: flex; justify-content: center; gap: 6px; margin: 0 auto 30px; flex-wrap: wrap; font-size: .82rem; }
.progress-steps span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.progress-steps span.is-done { color: var(--ok); border-color: #bfe3cf; background: var(--ok-bg); }
.progress-steps span.is-current { color: var(--navy-900); background: var(--gold-50); border-color: var(--gold-500); font-weight: 700; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 28px; }
@media (min-width: 640px) { .panel { padding: 38px; } }

.quiz-bar { height: 6px; background: #efe9dc; border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.quiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); transition: width .3s ease; }
.quiz-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }

.q-step h2 { font-family: var(--font); font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.js .q-step:not(.is-active) { display: none; }
.q-step + .q-step { margin-top: 40px; }
.js .q-step + .q-step { margin-top: 0; }

.options { display: grid; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.option:hover { border-color: #d9c49a; background: #fffdf8; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c6bfae; flex: none; display: grid; place-items: center; transition: border-color .15s; }
.option input:checked + .radio { border-color: var(--gold-600); }
.option input:checked + .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-600); }
.option:has(input:checked) { border-color: var(--gold-600); background: var(--gold-50); }
.option input:focus-visible + .radio { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.choice-grid .option { justify-content: center; font-weight: 600; }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-800); }
.field small { font-weight: 400; color: var(--muted); }
.input, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d8d2c4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(194,154,75,.22); }
.field-error { color: var(--err); font-size: .85rem; margin-top: 5px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold-600); flex: none; }

.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.js .quiz-nav [data-submit] { display: none; }
.js .quiz-nav.is-last [data-submit] { display: inline-flex; }
.js .quiz-nav.is-last [data-next] { display: none; }
.no-js-hide { display: none; }
.js .no-js-hide { display: inline-flex; }
.js .no-js-only { display: none; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert-error { background: var(--err-bg); color: var(--err); border: 1px solid #f5c4bf; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe3cf; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #f3dca8; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* Resultado */
.result { text-align: center; max-width: 640px; margin: 0 auto; }
.gauge { position: relative; width: 190px; height: 190px; margin: 0 auto 22px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .track { stroke: #efe9dc; }
.gauge .value { stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.gauge-label { position: absolute; inset: 0; display: grid; place-content: center; }
.gauge-label b { font-family: var(--display); font-size: 3rem; color: var(--navy-800); line-height: 1; }
.gauge-label span { color: var(--muted); font-size: .85rem; }
.band { display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.band-alto { background: var(--ok-bg); color: var(--ok); }
.band-medio { background: var(--warn-bg); color: var(--warn); }
.band-bajo { background: var(--err-bg); color: var(--err); }

/* Agenda */
.booking { display: grid; gap: 24px; }
@media (min-width: 900px) { .booking { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day {
  flex: none; width: 76px; padding: 12px 6px; text-align: center; border: 1.5px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); background: #fff; scroll-snap-align: start; transition: border-color .15s;
}
.day small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day b { display: block; font-size: 1.5rem; font-family: var(--display); line-height: 1.2; }
.day:hover { border-color: #d9c49a; }
.day.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.day.is-active small { color: var(--gold-400); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 8px; }
.slot .option { justify-content: center; padding: 13px 10px; font-weight: 600; }
.summary { position: sticky; top: 96px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--navy-800); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 18px; }
.summary .total b { font-family: var(--display); font-size: 1.6rem; color: var(--navy-800); }

/* Pago */
.pay-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.countdown { display: inline-flex; gap: 6px; align-items: center; background: var(--warn-bg); color: var(--warn); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.test-cards { margin-top: 22px; border: 1px dashed #d9c49a; background: #fffdf6; border-radius: 12px; padding: 16px 18px; font-size: .88rem; }
.test-cards summary { cursor: pointer; font-weight: 700; color: var(--gold-700); }
.test-cards table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.test-cards td { padding: 6px 4px; border-top: 1px solid #f0e6cf; vertical-align: top; }
.test-cards code { font-size: .86rem; background: #fff; border: 1px solid #efe3c6; padding: 2px 6px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.pay-result { display: none; margin-top: 16px; }
.pay-result.show { display: block; }

/* Confirmación */
.ticket { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.ticket-head { background: var(--navy-800); color: #fff; text-align: center; padding: 34px 24px 28px; }
.ticket-head img { width: 76px; height: 76px; margin: 0 auto 14px; background: #fff; border-radius: 50%; padding: 5px; }
.ticket-head h1 { color: #fff; font-size: 1.7rem; margin-bottom: .2em; }
.ticket-head p { color: rgba(255,255,255,.75); margin: 0; }
.ticket-check { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin: -27px auto 0; border: 4px solid #fff; position: relative; }
.ticket-check .icon { color: #fff; width: 26px; height: 26px; stroke-width: 3; }
.ticket-body { padding: 24px 28px 32px; }
.ticket-code { text-align: center; margin-bottom: 24px; }
.ticket-code small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.ticket-code b { font-family: var(--display); font-size: 2rem; letter-spacing: .08em; color: var(--gold-700); }
.ticket-rows { display: grid; gap: 14px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 20px 0; margin-bottom: 22px; }
.ticket-rows div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.ticket-rows dt { color: var(--muted); font-size: .9rem; }
.ticket-rows dd { margin: 0; font-weight: 600; color: var(--navy-800); }
.ticket-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .ticket-actions { grid-template-columns: 1fr 1fr; } }

.challenge { max-width: 420px; margin: 0 auto; }
.bank-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }

@media print {
  .site-header, .site-footer, .wa-float, .ticket-actions { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
