/* =====================================================================
   RUMBO · Asesorías personalizadas
   Estilos de asesorias.html, mi-reserva.html y privacidad.html.
   Tokens espejo de css/styles.css (ver DESIGN-SYSTEM.md).
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rumbo-navy: #004F8C;
  --rumbo-navy-deep: #00345E;
  --rumbo-sky: #6BC5D2;
  --rumbo-sky-soft: #D6EEF3;
  --rumbo-sky-mist: #EDF7F9;
  --rumbo-coral: #1D7874;
  --rumbo-amber: #F6C667;
  --bg: #F9F9F4;
  --bg-cream: #F1F1EB;
  --surface: #FFFFFF;
  --ink: #0F1A2B;
  --ink-soft: #3A4658;
  --ink-mute: #6B7586;
  --line: #E4E7EC;
  --line-soft: #EFF1F4;
  --green: #1D9E75; --green-l: #E1F5EE; --green-d: #085041;
  --red: #C0392B; --red-l: #FCEBEB;
  --amber-l: #FDF3D7; --amber-d: #7A5106;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15,26,43,.05), 0 2px 6px rgba(15,26,43,.06);
  --shadow-md: 0 4px 12px rgba(15,26,43,.08), 0 12px 32px rgba(15,26,43,.10);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, button { font-family: var(--font-display); }
a { color: var(--rumbo-navy); }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rumbo-sky); outline-offset: 2px; }

/* ── Topbar ── */
.topbar { background: var(--rumbo-navy); padding: 0 clamp(16px, 4vw, 40px); height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 50; }
.logo { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a.on { color: var(--rumbo-amber); }
.nav-cta { background: var(--rumbo-amber); color: var(--rumbo-navy-deep); border: none; border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 700; text-decoration: none; font-family: var(--font-display); white-space: nowrap; transition: transform .2s; }
.nav-cta:hover { transform: translateY(-1px); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Hero ── */
.hero { background: linear-gradient(140deg, var(--rumbo-navy-deep) 0%, var(--rumbo-navy) 48%, var(--rumbo-coral) 100%); padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(107,197,210,.25), transparent 70%); pointer-events: none; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--rumbo-amber); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--rumbo-amber); opacity: .6; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.12; letter-spacing: -.02em; }
.hero p { font-size: clamp(14px, 1.5vw, 17px); font-weight: 300; color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 24px; line-height: 1.65; }
.hero-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 13px; border-radius: 999px; font-weight: 500; }
.badge-w { background: rgba(255,255,255,.13); color: rgba(255,255,255,.92); }
.badge-a { background: var(--rumbo-amber); color: var(--rumbo-navy-deep); font-weight: 700; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.88); text-decoration: underline; text-underline-offset: 3px; position: relative; z-index: 1; }
.hero-link:hover { color: #fff; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 999px; border: none; cursor: pointer; transition: all .25s cubic-bezier(.2,.8,.2,1); text-decoration: none; line-height: 1.2; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-primary { background: var(--rumbo-navy); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--rumbo-navy-deep); transform: translateY(-1px); }
.btn-amber { background: var(--rumbo-amber); color: var(--rumbo-navy-deep); font-weight: 700; }
.btn-amber:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-teal { background: var(--rumbo-coral); color: #fff; }
.btn-teal:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-line { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover:not(:disabled) { border-color: var(--rumbo-navy); }
.btn-wsp { background: #25D366; color: #fff; }
.btn-wsp:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ── Secciones ── */
.section { padding: clamp(36px, 6vw, 68px) clamp(16px, 5vw, 60px); }
.container { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--rumbo-navy); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--rumbo-navy); }
.sec-title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -.02em; line-height: 1.15; }
.sec-sub { font-size: clamp(14px, 1.4vw, 16px); font-weight: 300; color: var(--ink-soft); margin-bottom: 1.75rem; line-height: 1.6; max-width: 640px; }

/* ── Pestañas ── */
.tabs-wrap { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 clamp(8px, 4vw, 40px); position: sticky; top: 60px; z-index: 40; }
.tab-bar { display: flex; gap: 2px; max-width: 820px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn { flex: 1 0 auto; white-space: nowrap; text-align: center; padding: 14px 14px; font-size: 13px; font-weight: 600; border: none; background: transparent; color: var(--ink-mute); border-bottom: 2.5px solid transparent; transition: all .25s; }
.tab-btn:hover { color: var(--rumbo-navy); }
.tab-btn.on { color: var(--rumbo-navy); border-bottom-color: var(--rumbo-navy); }
.view { display: none; }
.view.on { display: block; animation: aparecer .4s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Tarjetas y grillas ── */
.card { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); padding: clamp(16px, 3vw, 22px); }
.card + .card { margin-top: 14px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.mb { margin-bottom: 14px; }
.muted { color: var(--ink-mute); }
.small { font-size: 12.5px; }
.center { text-align: center; }

/* ── Formularios ── */
.campo { margin-bottom: 14px; }
.form-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--ink-mute); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: .08em; }
.form-label .opc { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.form-input, .form-select, .form-textarea { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--surface); width: 100%; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--rumbo-navy); box-shadow: 0 0 0 3px var(--rumbo-sky-soft); }
.form-input.invalido, .form-select.invalido { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 76px; }
.form-select { appearance: none; cursor: pointer; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8494' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ayuda { font-size: 12px; color: var(--ink-mute); margin-top: 5px; line-height: 1.45; }
.error-campo { font-size: 12px; color: var(--red); margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rumbo-navy); flex-shrink: 0; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fila-codigo { display: flex; gap: 8px; }
.fila-codigo .form-input { text-transform: uppercase; }
.fila-codigo .form-input[type="email"] { text-transform: none; }
@media (max-width: 480px) { .fila-recuperar { flex-direction: column; } .fila-recuperar .btn { width: 100%; } }

/* Interruptor (toggle) */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .pista { width: 42px; height: 24px; background: var(--line); border-radius: 999px; position: relative; transition: background .2s; flex-shrink: 0; }
.toggle .pista::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: var(--shadow-sm); }
.toggle input:checked + .pista { background: var(--rumbo-navy); }
.toggle input:checked + .pista::after { transform: translateX(18px); }
.toggle input:focus-visible + .pista { outline: 3px solid var(--rumbo-sky); outline-offset: 2px; }
.bloque-apoderado { background: var(--rumbo-sky-mist); border: 1px solid var(--rumbo-sky-soft); border-radius: var(--r-md); padding: 16px; margin: -4px 0 14px; }

/* ── Barra de pasos ── */
.step-bar { display: flex; align-items: flex-start; margin-bottom: 1.75rem; }
.sdot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; font-weight: 700; flex-shrink: 0; transition: all .3s; }
.sdot.done { background: var(--green); color: #fff; }
.sdot.now { background: var(--rumbo-navy); color: #fff; box-shadow: 0 0 0 4px var(--rumbo-sky-soft); }
.sdot.wait { background: var(--line-soft); color: var(--ink-mute); }
.sline { flex: 1; height: 2px; background: var(--line); margin-top: 15px; transition: background .3s; }
.sline.done { background: var(--green); }
.slbl-wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.slbl { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-mute); text-align: center; white-space: nowrap; }
.slbl.now { color: var(--rumbo-navy); font-weight: 500; }
@media (max-width: 600px) { .slbl { display: none; } .step-bar { margin-bottom: 1.25rem; } }
.paso-titulo { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.paso-sub { font-size: 14px; color: var(--ink-soft); font-weight: 300; margin-bottom: 18px; line-height: 1.55; }
.acciones { display: flex; gap: 10px; margin-top: 18px; }
.acciones .btn:last-child { flex: 1; }

/* ── Planes ── */
.planes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .planes { grid-template-columns: 1fr; } }
.plan { position: relative; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px; background: var(--surface); cursor: pointer; transition: all .2s; text-align: left; font-family: var(--font-body); color: var(--ink); width: 100%; }
.plan:hover { border-color: var(--rumbo-sky); }
.plan.sel { border-color: var(--rumbo-navy); background: var(--rumbo-sky-mist); box-shadow: var(--shadow-sm); }
.plan .p-nombre { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.plan .p-precio { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--rumbo-navy); letter-spacing: -.02em; margin: 4px 0 2px; }
.plan .p-desc { font-size: 12.5px; color: var(--ink-mute); line-height: 1.45; }
.plan .p-chip { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 700; background: var(--rumbo-coral); color: #fff; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); }
.plan .p-radio { position: absolute; top: 16px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.plan.sel .p-radio { border-color: var(--rumbo-navy); background: radial-gradient(circle, var(--rumbo-navy) 45%, transparent 50%); }

/* ── Tarjetas de asesor ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px 18px; text-align: center; display: flex; flex-direction: column; transition: all .35s cubic-bezier(.2,.8,.2,1); }
.tcard:hover { transform: translateY(-4px); border-color: var(--rumbo-sky); box-shadow: var(--shadow-md); }
.avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 12px; overflow: hidden; background: var(--rumbo-sky-mist); border: 3px solid var(--rumbo-sky-soft); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.tcard .role { font-family: var(--font-mono); font-size: 10.5px; color: var(--rumbo-coral); letter-spacing: .05em; margin: 4px 0 8px; text-transform: uppercase; }
.tcard .org { font-size: 12.5px; font-weight: 300; color: var(--ink-soft); line-height: 1.5; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 12px; }
.tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--rumbo-sky-mist); color: var(--rumbo-navy); }
.avail-wrap { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.avail-bar { display: flex; gap: 3px; margin-bottom: 6px; }
.avail-slot { flex: 1; height: 5px; border-radius: 3px; }
.avail-free { background: var(--green); }
.avail-used { background: var(--line); }
.avail-text { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute); display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 12px; text-align: left; }
.next-badge { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; font-family: var(--font-body); white-space: nowrap; }
.next-g { background: var(--green-l); color: var(--green-d); }
.next-y { background: var(--amber-l); color: var(--amber-d); }
.next-n { background: var(--line-soft); color: var(--ink-mute); }
.tcard-actions { display: flex; gap: 8px; }
.linkedin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--rumbo-navy); font-family: var(--font-display); font-size: 12px; font-weight: 600; text-decoration: none; transition: all .2s; flex-shrink: 0; }
.linkedin-btn:hover { border-color: var(--rumbo-sky); background: var(--rumbo-sky-mist); }
.tcard-actions .btn { flex: 1; padding: 9px 12px; font-size: 12.5px; }

/* Selección de asesor (paso 2) */
.sel-card { border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .2s; background: var(--surface); padding: 14px; text-align: left; font-family: var(--font-body); color: var(--ink); width: 100%; display: flex; flex-direction: column; }
.sel-card:hover { border-color: var(--rumbo-sky); transform: translateY(-2px); }
.sel-card.sel { border-color: var(--rumbo-navy); background: var(--rumbo-sky-mist); box-shadow: var(--shadow-sm); }
.sel-card.sin { opacity: .62; }
.sel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sel-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--rumbo-sky-mist); }
.sel-av img { width: 100%; height: 100%; object-fit: cover; }
.sel-av.logo-av { display: flex; align-items: center; justify-content: center; background: var(--rumbo-navy); color: #fff; font-family: var(--font-display); font-size: 9px; font-weight: 800; text-align: center; line-height: 1.15; }
.sel-name { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; }
.sel-role { font-size: 11px; color: var(--ink-mute); line-height: 1.35; }
.sel-card .tag-row { justify-content: flex-start; margin-bottom: 8px; }
.sel-card .avail-text { margin: auto 0 0; }
.reco { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber-l); color: var(--amber-d); margin-bottom: 8px; align-self: flex-start; }

/* ── Calendario ── */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-mes { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); text-align: center; padding: 4px 0; text-transform: uppercase; }
.cal-dia { aspect-ratio: 1; border-radius: 10px; border: none; background: transparent; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--line); position: relative; cursor: default; display: flex; align-items: center; justify-content: center; }
.cal-dia.vacio { visibility: hidden; }
.cal-dia.con { color: var(--ink); background: var(--rumbo-sky-mist); cursor: pointer; }
.cal-dia.con:hover { background: var(--rumbo-sky-soft); }
.cal-dia.con::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.cal-dia.hoy { box-shadow: inset 0 0 0 1.5px var(--rumbo-sky); }
.cal-dia.sel { background: var(--rumbo-navy); color: #fff; }
.cal-dia.sel::after { background: var(--rumbo-amber); }
.cal-dia.elegido::before { content: '✓'; position: absolute; top: 2px; right: 4px; font-size: 9px; color: var(--rumbo-coral); }
.cal-dia.sel.elegido::before { color: var(--rumbo-amber); }
.horas-wrap { margin-top: 14px; }
.horas-titulo { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.hora { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--rumbo-navy); transition: all .15s; }
.hora:hover:not(:disabled) { border-color: var(--rumbo-navy); }
.hora.sel { background: var(--rumbo-navy); border-color: var(--rumbo-navy); color: #fff; }
.hora:disabled { color: var(--line); cursor: not-allowed; }
.cal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .cal-layout { grid-template-columns: 1fr; } }
.elegidos { display: flex; flex-direction: column; gap: 8px; }
.elegido-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--rumbo-sky-mist); border: 1px solid var(--rumbo-sky-soft); font-size: 13.5px; }
.elegido-item .num { width: 24px; height: 24px; border-radius: 50%; background: var(--rumbo-navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.elegido-item .quitar { margin-left: auto; border: none; background: none; color: var(--ink-mute); font-size: 18px; line-height: 1; padding: 2px 6px; }
.elegido-item.vacio { background: transparent; border-style: dashed; color: var(--ink-mute); }
.elegido-item.vacio .num { background: var(--line); color: var(--ink-mute); }
.cargando { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px 10px; color: var(--ink-mute); font-size: 14px; }
.cargando::before { content: ''; width: 18px; height: 18px; border: 2px solid var(--rumbo-sky); border-right-color: transparent; border-radius: 50%; animation: girar .7s linear infinite; }

/* ── Resumen ── */
.resumen { background: var(--bg); border-radius: var(--r-sm); padding: 14px 16px; }
.res-fila { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.res-fila > span:first-child { color: var(--ink-mute); flex-shrink: 0; }
.res-fila > span:last-child { font-weight: 600; text-align: right; }
.res-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; align-items: center; }
.res-total > span:first-child { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 14px; }
.res-total > span:last-child { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--rumbo-coral); }
.tachado { text-decoration: line-through; color: var(--ink-mute); font-weight: 400; margin-right: 6px; font-size: 14px; }

/* ── Avisos ── */
.alert { border-radius: var(--r-sm); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; }
.alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-y { background: var(--amber-l); border: 1px solid var(--rumbo-amber); color: var(--amber-d); }
.alert-g { background: var(--green-l); border: 1px solid #9FE1CB; color: var(--green-d); }
.alert-b { background: var(--rumbo-sky-mist); border: 1px solid var(--rumbo-sky-soft); color: var(--rumbo-navy-deep); }
.alert-r { background: var(--red-l); border: 1px solid #F2B8B5; color: #8A1F14; }
.alert + .alert { margin-top: 10px; }

/* ── Pago ── */
.pago-grid { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
@media (max-width: 560px) { .pago-grid { grid-template-columns: 1fr; } }
.qr { width: 100%; max-width: 200px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; margin: 0 auto; }
.dato-pago { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; font-size: 14px; }
.dato-pago strong { font-family: var(--font-mono); font-size: 14px; }
.copiar { border: none; background: var(--rumbo-sky-mist); color: var(--rumbo-navy); font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; font-family: var(--font-display); }
.subida { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 20px; text-align: center; cursor: pointer; transition: all .2s; display: block; }
.subida:hover, .subida.encima { border-color: var(--rumbo-navy); background: var(--rumbo-sky-mist); }
.subida input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.subida i { font-size: 30px; color: var(--rumbo-navy); }
.subida .vista { max-height: 220px; margin: 10px auto 0; border-radius: var(--r-sm); }
.metodos { display: flex; gap: 8px; flex-wrap: wrap; }
.metodo { flex: 1; min-width: 90px; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 10px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink); }
.metodo.sel { border-color: var(--rumbo-coral); background: var(--rumbo-sky-mist); color: var(--rumbo-coral); }
.cuenta-regresiva { font-family: var(--font-mono); font-weight: 500; }
.codigo-grande { font-family: var(--font-mono); font-size: 22px; font-weight: 500; letter-spacing: .06em; color: var(--rumbo-navy); }

/* ── Éxito ── */
.ok-check { width: 68px; height: 68px; border-radius: 50%; background: var(--green-l); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.ok-check i { font-size: 30px; color: var(--green); }
.ok-titulo { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }

/* ── Flujo (cómo funciona) ── */
.flow-step { display: flex; gap: 14px; margin-bottom: 20px; position: relative; }
.flow-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; flex-shrink: 0; z-index: 1; background: var(--rumbo-navy); color: #fff; }
.flow-dot.gris { background: var(--line-soft); color: var(--ink-mute); }
.flow-dot.teal { background: var(--rumbo-coral); }
.flow-dot.verde { background: var(--green); }
.flow-line { position: absolute; left: 16px; top: 34px; bottom: -20px; width: 2px; background: var(--line); }
.flow-step:last-child .flow-line { display: none; }
.flow-body { flex: 1; padding-top: 5px; }
.flow-title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.flow-desc { font-size: 13.5px; font-weight: 300; color: var(--ink-soft); line-height: 1.6; }
.flow-tool { font-family: var(--font-mono); font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 999px; display: inline-block; margin-top: 6px; letter-spacing: .04em; background: var(--rumbo-sky-mist); color: var(--rumbo-navy); }

/* ── Precios ── */
.price-card { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--surface); transition: all .35s cubic-bezier(.2,.8,.2,1); }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--rumbo-sky); }
.price-card.featured { border: 2px solid var(--rumbo-coral); }
.price-head { background: var(--rumbo-navy); padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.price-card.featured .price-head { background: var(--rumbo-coral); }
.price-head-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; }
.price-fav { font-size: 10px; font-weight: 700; background: rgba(255,255,255,.25); color: #fff; padding: 3px 10px; border-radius: 999px; }
.price-body { padding: 20px; }
.price-amount { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--rumbo-navy); margin-bottom: 4px; letter-spacing: -.02em; }
.price-card.featured .price-amount { color: var(--rumbo-coral); }
.price-desc { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 14px; }
.price-feats { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 300; color: var(--ink-soft); }
.price-feat { display: flex; gap: 8px; align-items: flex-start; }
.price-feat i { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── Preguntas ── */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 15px 18px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--rumbo-navy); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; font-weight: 300; }

/* ── Estado de reserva (mi-reserva) ── */
.estado-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.estado-pendiente_pago { background: var(--amber-l); color: var(--amber-d); }
.estado-en_revision { background: var(--rumbo-sky-soft); color: var(--rumbo-navy-deep); }
.estado-confirmada { background: var(--green-l); color: var(--green-d); }
.estado-cancelada, .estado-expirada { background: var(--red-l); color: #8A1F14; }
.sesion-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.sesion-card:first-child { border-top: none; padding-top: 0; }
.sesion-num { width: 46px; text-align: center; flex-shrink: 0; }
.sesion-num .d { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--rumbo-navy); line-height: 1; }
.sesion-num .m { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); text-transform: uppercase; }
.sesion-info { flex: 1; min-width: 0; }
.sesion-info .t { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.sesion-info .s { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.sesion-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.escala { display: flex; gap: 6px; flex-wrap: wrap; }
.escala button { min-width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.escala button.sel { background: var(--rumbo-navy); border-color: var(--rumbo-navy); color: #fff; }
.estrellas button { font-size: 20px; }

/* ── Avisos flotantes ── */
#rumbo-toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.rumbo-toast { pointer-events: auto; cursor: pointer; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-md); animation: aparecer .3s ease; transition: opacity .4s, transform .4s; }
.rumbo-toast.error { background: var(--red); }
.rumbo-toast.ok { background: var(--rumbo-navy-deep); }
.rumbo-toast.fuera { opacity: 0; transform: translateY(8px); }

/* ── Banner demo ── */
.banner-demo { background: var(--rumbo-amber); color: var(--rumbo-navy-deep); text-align: center; font-size: 12.5px; font-weight: 600; padding: 7px 12px; font-family: var(--font-display); }

/* ── Footer ── */
.footer { background: var(--rumbo-navy); padding: 1.75rem clamp(20px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer .f-logo { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: #fff; }
.footer .f-tag { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }
.footer .f-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer .f-links a { font-size: 12px; color: rgba(255,255,255,.75); text-decoration: none; }
.footer .f-links a:hover { color: #fff; }

/* ── Texto legal ── */
.legal h2 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal p + p { margin-top: 10px; }

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