:root {
  --bg: #FFFFFF;
  --surface: #F4F6F5;
  --surface-2: #EAEFEE;
  --text: #1A2226;
  --text-2: #4A5A61;
  --primary: #0B5D6B;
  --primary-ink: #08434E;
  --on-primary: #FFFFFF;
  --primary-soft: #E3F1F3;
  --secondary: #2E5E3E;
  --accent: #9A4A00;
  --accent-strong: #F0A657;
  --accent-bg: #FFF1E0;
  --danger: #B42318;
  --warn-text: #7A4F00;
  --warn-bg: #FFF4D6;
  --border: #DDE3E4;
  --border-strong: #76868C;
  --shadow: 0 1px 2px rgba(16, 40, 46, .06), 0 6px 18px rgba(16, 40, 46, .08);
  --shadow-up: 0 2px 6px rgba(16, 40, 46, .08), 0 14px 32px rgba(16, 40, 46, .14);
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1517; --surface: #172125; --surface-2: #1E2B30; --text: #E6EDEF; --text-2: #A9B8BD;
    --primary: #5FC4D3; --primary-ink: #9FE0EA; --on-primary: #0E1517; --primary-soft: #123A41;
    --secondary: #7FC08F; --accent: #F0A657; --accent-strong: #F0A657; --accent-bg: #2C2012;
    --danger: #F28B82; --warn-text: #F5C76B; --warn-bg: #2A2210;
    --border: #26343A; --border-strong: #5B6B70;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.35);
    --shadow-up: 0 2px 6px rgba(0,0,0,.35), 0 14px 32px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1rem; line-height: 1.5; padding-bottom: calc(80px + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--primary); }
h1 { font-size: 1.75rem; line-height: 2.125rem; font-weight: 800; letter-spacing: -.01em; margin: 12px 0 16px; }
h2 { font-size: 1.25rem; line-height: 1.625rem; font-weight: 800; margin: 0; }
h3 { font-size: 1.0625rem; line-height: 1.375rem; font-weight: 700; margin: 0; }
p { margin: 0; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; z-index: 30; }
.saltar:focus { left: 8px; }

/* ---------- Motion base ---------- */
.pressable { transition: transform .18s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.pressable:active { transform: scale(.96); }
@media (hover: hover) { .pressable:hover { filter: brightness(1.04); } }
.revelar { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.revelar.visible { opacity: 1; transform: none; }
.vista.entrando { animation: entrar .32s var(--ease) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }

/* ---------- Barra ---------- */
.barra {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 16px; padding-top: calc(6px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; min-height: 48px; }
.marca img { border-radius: 9px; }
.barra-acciones { display: flex; gap: 8px; align-items: center; }
.btn-chico, .btn-sos {
  min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; font: inherit; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer;
}
.btn-chico { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-sos { background: var(--danger); color: #fff; border: 0; }
/* Selector de idioma: el select nativo cubre la píldora, invisible, para conservar accesibilidad y el selector del sistema. */
.idioma { position: relative; padding: 0 10px; gap: 4px; }
.idioma svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.idioma .idioma-flecha { width: 14px; height: 14px; stroke-width: 2.4; color: var(--text-2); }
.idioma select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: inherit; font-size: 16px; border: 0; }
.idioma:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.btn-sos svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .btn-sos { color: #0E1517; } }
.aviso { background: var(--warn-bg); color: var(--warn-text); padding: 8px 16px; font-weight: 600; }

main { max-width: 760px; margin: 0 auto; padding: 0 16px 24px; outline: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 12px -4px 16px; border-radius: 24px; overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, #0B5D6B 0%, #08434E 55%, #2E5E3E 100%);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 6s ease-out; }
.hero-img.cargada { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,30,35,0) 25%, rgba(8,30,35,.82) 100%); }
.hero-txt { padding: 20px; }
.hero h1 { margin: 4px 0 4px; font-size: 2rem; line-height: 2.375rem; color: #fff; }
.hero p { color: rgba(255,255,255,.92); }
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 999px; }
.hero-kicker:empty { display: none; }

/* ---------- Evento ---------- */
.evento {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 24px; padding: 18px; margin: 0 0 20px;
  background: radial-gradient(120% 90% at 100% 0%, #C2410C 0%, rgba(194,65,12,0) 60%), linear-gradient(160deg, #1A2226 0%, #0B3B44 100%);
  box-shadow: var(--shadow-up); animation: entrar .5s var(--ease) both;
}
.evento::after { content: "IRONMAN"; position: absolute; right: -8px; bottom: -18px; font-size: 5rem; font-weight: 800; letter-spacing: -.04em; color: rgba(255,255,255,.06); z-index: -1; pointer-events: none; }
.evento-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.evento-etq { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #F0A657; color: #1A2226; padding: 4px 10px; border-radius: 999px; }
.evento-cuenta { font-weight: 800; font-size: .9375rem; color: #FFD7A8; }
.evento-titulo { font-size: 1.75rem; line-height: 2.125rem; margin: 10px 0 4px; color: #fff; }
.evento-bajada { color: rgba(255,255,255,.88); margin-bottom: 12px; }
.agenda { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.agenda li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 10px; }
.agenda .cuando { font-weight: 800; font-size: .8125rem; line-height: 1.2; color: #FFD7A8; }
.agenda .cuando span { display: block; color: #fff; font-size: 1rem; }
.agenda p { font-size: .9375rem; }
.evento-consejos { margin: 0 0 14px; padding-left: 18px; color: rgba(255,255,255,.9); font-size: .9375rem; display: grid; gap: 4px; }
.evento-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-claro, .btn-borde { min-height: 48px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.btn-claro { background: #fff; color: #0B3B44; border: 0; flex: 1 1 auto; }
.btn-borde { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.evento-nota { margin-top: 10px; font-size: .75rem; color: rgba(255,255,255,.7); }
.card .insignia.evt { background: #C2410C; color: #fff; }

/* ---------- Transparencia ---------- */
.campana-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; margin-top: 4px; }
.campana-link::after { content: "→"; margin-left: 6px; transition: transform .2s var(--ease); }
.campana-link:hover::after { transform: translateX(3px); }
.volver { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 700; text-decoration: none; }
.volver::before { content: "←"; margin-right: 6px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 12px; }
.kpi { background: var(--surface); border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; animation: entrar .4s var(--ease) both; }
.kpi:nth-child(2) { animation-delay: 60ms; } .kpi:nth-child(3) { animation-delay: 120ms; }
.kpi span { font-size: .8125rem; color: var(--text-2); font-weight: 600; }
.kpi strong { font-size: 1.125rem; font-weight: 800; color: var(--primary-ink); overflow-wrap: anywhere; }
.meta-barra.grande { height: 16px; background: var(--surface); }
.reglas { margin: 12px 0 24px; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.reglas li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.reglas li::before { content: counter(r); width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); font-weight: 800; display: grid; place-items: center; }
.entregas { list-style: none; margin: 12px 0 24px; padding: 0; display: grid; gap: 8px; }
.entrega { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.entrega strong { font-size: 1.125rem; font-weight: 800; color: var(--secondary); text-align: right; }
.entrega .f { font-weight: 700; }
.entrega .d { color: var(--text-2); font-size: .875rem; grid-column: 1 / -1; }
.entrega a { font-size: .875rem; font-weight: 700; grid-column: 1 / -1; }
.aportantes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.aportante { padding: 6px 12px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .9375rem; }
.aportante.n0 { background: var(--accent-strong); color: #1A2226; }
.aportante.n1 { background: var(--accent-bg); color: var(--text); border: 1px solid var(--accent-strong); }

/* ---------- Palabras ---------- */
.sub { color: var(--text-2); margin: 4px 0 0; }
.palabras { display: grid; gap: 10px; margin-bottom: 24px; }
@media (min-width: 640px) { .palabras { grid-template-columns: 1fr 1fr; } }
.palabra { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); animation: entrar .3s var(--ease) both; }
.palabra-t { font-size: 1.25rem; font-weight: 800; color: var(--primary-ink); }
.palabra-s { font-weight: 600; }
.palabra-e { color: var(--text-2); font-style: italic; font-size: .9375rem; margin-top: 4px; }

/* ---------- Campaña ---------- */
.campana { background: var(--primary-soft); border-radius: var(--radius); padding: 16px; margin-bottom: 28px; }
.campana-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.campana-top h2 { font-size: 1.0625rem; line-height: 1.375rem; }
.campana-icono { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.campana-icono svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.campana-monto strong { font-size: 1.75rem; font-weight: 800; color: var(--primary-ink); letter-spacing: -.01em; }
.campana-monto span { color: var(--text-2); font-weight: 600; }
.meta-barra { height: 12px; background: var(--bg); border-radius: 999px; overflow: hidden; margin: 8px 0; }
.meta-relleno { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 1.2s var(--ease); }
.campana-pie { color: var(--text-2); font-size: .9375rem; }

/* ---------- Secciones y carruseles ---------- */
.seccion-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.ver-todo { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.carrusel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 16px; padding: 4px 16px 16px; margin: 0 -16px 16px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel > * { scroll-snap-align: start; }
.grilla { display: grid; gap: 16px; }
@media (min-width: 640px) { .grilla { grid-template-columns: 1fr 1fr; } }

/* ---------- Tarjeta de lugar ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); } }
.card.aliado { border: 2px solid var(--accent-strong); }
.card.destacado { border: 2px solid color-mix(in srgb, var(--accent-strong) 60%, transparent); }
.card-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(110deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; overflow: hidden; }
.card-media.lista { animation: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.card-media img.cargada { opacity: 1; }
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.04); } }
.card-media .sin-foto, .hoja-media .sin-foto { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.card-media .sin-foto svg, .hoja-media .sin-foto svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.insignias { position: absolute; top: 10px; left: 10px; right: 56px; display: flex; flex-wrap: wrap; gap: 6px; }
.insignia { font-size: .8125rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1A2226; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.insignia.dest { background: var(--accent-strong); color: #1A2226; }
.credito { position: absolute; right: 8px; bottom: 6px; font-size: .6875rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 2px rgba(0,0,0,.7); text-decoration: none; padding: 4px 2px; }
.card-cuerpo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-linea { color: var(--text-2); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--text-2); font-size: .8125rem; font-weight: 600; margin-top: 2px; }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-abrir { position: absolute; inset: 0; z-index: 1; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.card-abrir:focus-visible { outline-offset: -3px; }
.btn-mas {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.96); color: #0B5D6B; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .25s var(--spring), background-color .2s var(--ease), color .2s var(--ease);
}
.btn-mas svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; transition: transform .3s var(--spring); }
.btn-mas[aria-pressed="true"] { background: #0B5D6B; color: #fff; }
.btn-mas[aria-pressed="true"] svg { transform: rotate(45deg); }
.btn-mas:active { transform: scale(.88); }
.card-promo { margin-top: 6px; font-size: .875rem; font-weight: 700; color: var(--warn-text); background: var(--warn-bg); padding: 4px 10px; border-radius: 8px; align-self: flex-start; }

/* Planes */
.plan {
  position: relative; border: 0; text-align: left; cursor: pointer; font: inherit; color: #fff; min-height: 128px; padding: 14px;
  border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  background: var(--primary); box-shadow: var(--shadow);
}
.plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.plan::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,30,35,.05), rgba(8,30,35,.85)); }
@media (hover: hover) { .plan:hover img { transform: scale(1.05); } }
.plan strong { font-size: 1.125rem; font-weight: 800; }
.plan span { font-size: .875rem; opacity: .92; }

/* Tip */
.tip { border-left: 4px solid var(--accent-strong); background: var(--surface); border-radius: 12px; padding: 12px 14px; margin: 4px 0 24px; }
.tip-etq { font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }

/* ---------- Buscador y chips ---------- */
.buscador { position: relative; display: block; }
.buscador svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; }
.buscador input {
  width: 100%; min-height: 52px; padding: 0 16px 0 44px; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid transparent; border-radius: 999px; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.buscador input:focus { outline: none; border-color: var(--primary); background: var(--bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 600;
  background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); cursor: pointer;
}
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.vacio { color: var(--text-2); padding: 20px; background: var(--surface); border-radius: var(--radius); text-align: center; }

/* ---------- Botones ---------- */
.btn, .btn-secundario, .btn-texto {
  min-height: 48px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
}
.btn { background: var(--primary); color: var(--on-primary); border: 0; box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-secundario { background: var(--bg); color: var(--primary); border: 1px solid var(--border-strong); }
.btn-texto { background: none; border: 0; color: var(--text-2); }
.btn svg, .btn-secundario svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Mi día ---------- */
.dia-controles { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.campo { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .9375rem; }
.campo input { min-height: 48px; padding: 0 12px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; }
.dia-resumen { font-weight: 700; color: var(--primary-ink); }
.itinerario { list-style: none; margin: 0 0 16px; padding: 0; position: relative; }
.parada { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-bottom: 16px; animation: entrar .35s var(--ease) both; }
.parada::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--border-strong) 0 4px, transparent 4px 8px); }
.parada:last-child::before { display: none; }
.parada-hora { width: 56px; height: 56px; border-radius: 16px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 800; font-size: .9375rem; }
.parada-caja { display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.parada-foto { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.parada-info { min-width: 0; }
.parada-info h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.parada-info p { color: var(--text-2); font-size: .875rem; }
.parada-botones { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; cursor: pointer; font: inherit; font-size: .875rem; font-weight: 600; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn.quitar { margin-left: auto; color: var(--danger); }
.parada-nombre { all: unset; cursor: pointer; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.parada-nombre:focus-visible { outline: 3px solid var(--primary); border-radius: 6px; }
.parada-botones { flex-wrap: nowrap; }
.duracion { display: inline-flex; align-items: center; gap: 4px; }
.dia-vacio { text-align: center; padding: 24px 0 8px; }
.dia-vacio-t { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.dia-vacio > p { color: var(--text-2); margin-bottom: 16px; }
.dia-vacio .carrusel { text-align: left; }
.dia-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dia-acciones .btn { flex: 1 1 100%; }

/* ---------- Ayuda ---------- */
.emergencias { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.emergencias a {
  display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 12px 14px;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); text-decoration: none; font-weight: 600;
}
.emergencias a strong { font-size: 1.75rem; line-height: 1.1; font-weight: 800; color: var(--danger); }
.acordeones { display: grid; gap: 8px; margin: 12px 0 24px; }
.acordeon { background: var(--surface); border-radius: 12px; padding: 0 14px; overflow: hidden; }
.acordeon summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; cursor: pointer; list-style: none; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: 4px; }
.acordeon[open] summary::after { transform: rotate(225deg); }
.acordeon > p { padding-bottom: 12px; color: var(--text-2); }
.acordeon[open] > p { animation: entrar .3s var(--ease) both; }
.alerta { background: var(--warn-bg); color: var(--warn-text); margin-bottom: 24px; }
.alerta > p, .alerta a { color: var(--warn-text); }
.fuente { font-size: .8125rem; color: var(--text-2); }
.nota { font-size: .8125rem; color: var(--text-2); margin-top: 8px; }

/* ---------- Pie ---------- */
.pie { max-width: 760px; margin: 0 auto; padding: 8px 16px 32px; }
.pie-caja { background: linear-gradient(135deg, #0B5D6B, #08434E); color: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pie-caja .btn { background: #fff; color: #0B5D6B; box-shadow: none; }
.pie-t { font-weight: 800; font-size: 1.125rem; }

/* ---------- Pestañas ---------- */
.pestanas {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
}
.pestanas a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; text-decoration: none; color: var(--text-2); font-size: .75rem; font-weight: 600; }
.pestanas svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.pestanas a::before { content: ""; position: absolute; top: 6px; width: 56px; height: 32px; border-radius: 999px; background: var(--primary-soft); transform: scaleX(.3); opacity: 0; transition: transform .3s var(--spring), opacity .2s var(--ease); z-index: -1; }
.pestanas a[aria-current="page"] { color: var(--primary); font-weight: 800; }
.pestanas a[aria-current="page"]::before { transform: scaleX(1); opacity: 1; }
.pestanas a[aria-current="page"] svg { transform: translateY(-1px) scale(1.06); }
.tab-icono { position: relative; display: inline-flex; }
.contador { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-strong); color: #1A2226; font-size: .6875rem; font-weight: 800; display: grid; place-items: center; }
.contador.pop { animation: pop .45s var(--spring); }

/* ---------- Hoja inferior (ficha) ---------- */
.hoja {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 90vh; max-height: 90dvh;
  border-radius: 24px 24px 0 0; background: var(--bg); color: var(--text); box-shadow: var(--shadow-up); overflow: hidden;
}
.hoja[open] { animation: subir .38s var(--ease) both; }
.hoja.cerrando { animation: bajar .25s var(--ease) both; }
.hoja::backdrop { background: rgba(8, 20, 24, .5); animation: fundido .3s var(--ease) both; }
@keyframes subir { from { transform: translateY(100%); } to { transform: none; } }
@keyframes bajar { to { transform: translateY(100%); } }
@keyframes fundido { from { opacity: 0; } }
.hoja-cuerpo { overflow-y: auto; max-height: 90vh; max-height: 90dvh; padding-bottom: env(safe-area-inset-bottom); }
.hoja-media { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.hoja-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoja-cerrar { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #1A2226; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hoja-cerrar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hoja-info { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.hoja-info h2 { font-size: 1.5rem; line-height: 1.875rem; }
.hoja-info .desc { color: var(--text-2); }
.datos { display: grid; gap: 8px; margin: 4px 0; }
.dato { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.dato svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hoja-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.hoja-acciones .btn { flex: 1 1 auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-up);
  transition: opacity .25s var(--ease), transform .35s var(--spring); max-width: calc(100% - 32px); text-align: center;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .revelar { opacity: 1; transform: none; }
}

#vista-transparencia h2 { margin-top: 24px; }

/* ---------- Aviso de medición (Google Analytics) ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 30;
  max-width: 560px; margin: 0 auto; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-up); padding: 16px;
  animation: consent-in .35s var(--ease);
}
.consent-t { font-weight: 800; margin: 0 0 4px; }
.consent-p { margin: 0 0 12px; color: var(--text-2); font-size: .9375rem; }
.consent-acc { display: flex; gap: 8px; }
.consent-acc button { flex: 1 1 0; }
.btn-enlace { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 48px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero { flex-direction: column; align-items: stretch; justify-content: space-between; }
.hero-logo { display: block; width: min(64%, 250px); height: auto; margin: 18px 0 0 20px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); animation: entrar .5s var(--ease) both; }
.hero { min-height: 300px; }
.pie-logo { width: min(60%, 200px); height: auto; margin-bottom: 4px; }

/* ---------- Panorama colapsable ---------- */
.evento-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; margin: 2px 0 0;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.evento-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.evento.abierto .evento-toggle svg { transform: rotate(180deg); }
.evento-mas { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.evento.abierto .evento-mas { grid-template-rows: 1fr; }
.evento-mas-in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .4s; }
.evento.abierto .evento-mas-in { visibility: visible; transition: visibility 0s; padding-top: 12px; }
.evento .evento-bajada { margin-bottom: 8px; }

/* ---------- Onboarding ---------- */
.onb { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--text); display: flex; flex-direction: column; animation: fundido .3s var(--ease) both; }
.onb.saliendo { animation: onbSalir .3s var(--ease) both; }
@keyframes onbSalir { to { opacity: 0; transform: scale(1.02); } }
.onb-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); }
.onb-idiomas { display: flex; gap: 6px; }
.onb-idiomas button { min-width: 44px; min-height: 40px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.onb-idiomas button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.onb-saltar { min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--text-2); font: inherit; font-weight: 700; cursor: pointer; }
.onb-pistas { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.onb-pistas::-webkit-scrollbar { display: none; }
.onb-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 28px 16px; max-width: 560px; margin: 0 auto; overflow-y: auto; }
.onb-arte { align-self: center; width: 100%; max-width: 320px; aspect-ratio: 4/3; border-radius: 24px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 85% 10%, rgba(240,166,87,.55), rgba(240,166,87,0) 60%), linear-gradient(150deg, #0B5D6B, #08434E 60%, #2E5E3E); color: #fff; }
.onb-arte img { width: 72%; height: auto; }
.onb-arte svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.onb-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.onb-slide h2 { font-size: 1.75rem; line-height: 2.125rem; }
.onb-slide p { color: var(--text-2); font-size: 1.0625rem; }
.flujo { display: grid; gap: 8px; width: 100%; padding: 16px; }
.flujo-paso { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; background: rgba(255,255,255,.12); border-radius: 14px; padding: 8px 10px; text-align: left; opacity: 0; transform: translateX(-12px); }
.onb-slide.activa .flujo-paso { animation: flujoIn .45s var(--ease) both; }
.onb-slide.activa .flujo-paso:nth-child(2) { animation-delay: .15s; } .onb-slide.activa .flujo-paso:nth-child(3) { animation-delay: .3s; }
@keyframes flujoIn { to { opacity: 1; transform: none; } }
.flujo-paso span { width: 44px; height: 44px; border-radius: 12px; background: #F0A657; color: #1A2226; display: grid; place-items: center; }
.flujo-paso span svg { width: 22px; height: 22px; stroke-width: 2.2; }
.flujo-paso strong { display: block; font-size: .9375rem; }
.flujo-paso small { font-size: .8125rem; opacity: .9; }
.onb-arte .mock { width: 78%; background: #fff; color: #1A2226; border-radius: 16px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); text-align: left; display: grid; gap: 8px; }
.mock-foto { height: 64px; border-radius: 10px; background: linear-gradient(135deg, #5FC4D3, #2E5E3E); position: relative; }
.mock-mas { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0B5D6B; display: grid; place-items: center; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.onb-slide.activa .mock-mas { animation: pulso 1.6s var(--ease) .3s infinite; }
@keyframes pulso { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240,166,87,.8); } 50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(240,166,87,0); } }
.mock-linea { height: 10px; border-radius: 6px; background: #E3E8E9; }
.mock-linea.corta { width: 60%; }
.mock-btn { height: 26px; border-radius: 999px; background: #0B5D6B; width: 55%; }
.mock-paradas { display: grid; gap: 6px; }
.mock-parada { display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: center; }
.mock-parada b { height: 26px; border-radius: 8px; background: #0B5D6B; color: #fff; font-size: .6875rem; display: grid; place-items: center; }
.mock-sos { position: absolute; top: 14px; right: 14px; background: #B42318; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .875rem; }
.onb-slide.activa .mock-sos { animation: pulso 1.6s var(--ease) .3s infinite; }
.onb-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.onb-puntos { display: flex; gap: 6px; }
.onb-puntos button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--border-strong); opacity: .45; cursor: pointer; transition: width .3s var(--ease), opacity .3s var(--ease), background-color .3s; position: relative; }
.onb-puntos button::after { content: ""; position: absolute; inset: -17px -6px; }
.onb-puntos button[aria-current="step"] { width: 28px; opacity: 1; background: var(--primary); }
.onb-sig { min-width: 140px; }
.ver-intro { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; margin-top: 4px; background: none; border: 0; color: var(--primary); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Hoy: paneles desplegables ---------- */
.paneles { display: grid; gap: 10px; margin-bottom: 20px; }
.panel { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-cab { margin: 0; font-size: inherit; line-height: inherit; }
.panel-btn { width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.panel-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; border-radius: var(--radius); }
.panel-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.panel-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel[data-panel="campana"] .panel-ico { background: var(--primary); color: var(--on-primary); }
.panel[data-panel="tip"] .panel-ico { background: var(--accent-bg); color: var(--accent); }
.panel-t { display: flex; flex-direction: column; min-width: 0; font-weight: 800; font-size: 1.0625rem; line-height: 1.375rem; }
.panel-res { font-size: .8125rem; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel.abierto .panel-res { opacity: 0; height: 0; }
.panel-res { transition: opacity .2s var(--ease); }
.panel-flecha { width: 22px; height: 22px; fill: none; stroke: var(--text-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.panel.abierto .panel-flecha { transform: rotate(180deg); }
.panel-cuerpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.panel.abierto .panel-cuerpo { grid-template-rows: 1fr; }
.panel-in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .35s; padding: 0 16px; }
.panel.abierto .panel-in { visibility: visible; transition: visibility 0s; }
.panel-in > :last-child { margin-bottom: 14px; }
.panel .carrusel { margin-bottom: 4px; }
.panel .ver-todo { margin-left: auto; display: flex; justify-content: flex-end; }
.panel .campana { margin: 0 0 14px; padding: 14px; }
.campana-acc { display: flex; flex-wrap: wrap; gap: 0 18px; }
.tip-txt { margin: 0 0 14px; color: var(--text); }

/* ---------- Mi día: fechas ---------- */
.dia-fechas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 12px; margin: 0 -16px 4px; }
.dia-fechas::-webkit-scrollbar { display: none; }
.fecha-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-transform: capitalize; }
.fecha-chip b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); font-size: .75rem; display: grid; place-items: center; }
.fecha-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.fecha-chip[aria-pressed="true"] b { background: color-mix(in srgb, var(--on-primary) 25%, transparent); color: var(--on-primary); }

/* ---------- Lista / Mapa ---------- */
.vista-modo { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin: 0 0 12px; }
.modo { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 700; cursor: pointer; }
.modo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modo[aria-pressed="true"] { background: var(--bg); color: var(--primary); box-shadow: var(--shadow); }
.mapa-caja { position: relative; margin: 0 -16px; }
.mapa { height: 50vh; min-height: 300px; max-height: 620px; background: var(--surface-2); z-index: 0; }
.mapa .leaflet-control-attribution { font-size: 10px; }
.mapa-yo { position: absolute; top: 12px; right: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg); color: var(--primary); font: inherit; font-weight: 800; box-shadow: var(--shadow-up); cursor: pointer; }
.mapa-yo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mapa-carrusel { position: relative; z-index: 5; margin: -96px 0 0; padding: 0 16px 12px; grid-auto-columns: min(82%, 320px); }
.mapa-carrusel .card { box-shadow: var(--shadow-up); }
.mapa-carrusel .card-media { aspect-ratio: 16/7; }
.mapa-carrusel .card.resaltada { outline: 3px solid var(--accent-strong); outline-offset: -1px; }
.mapa-nota { padding: 0 16px; margin: 0; font-size: .875rem; color: var(--text-2); min-height: 1.2em; }
.dist { color: var(--primary); font-weight: 800; }
.pin { background: none; border: 0; }
.pin span { width: 36px; height: 36px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; background: var(--primary); color: #fff; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); transition: transform .2s var(--spring); }
.pin span svg { width: 18px; height: 18px; transform: rotate(45deg); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pin-lugar span { background: #2E5E3E; }
.pin-neg span { background: #0B5D6B; }
.pin-dest span { background: #9A4A00; }
.pin-aliado span { background: #F0A657; color: #1A2226; }
.pin-evt span { background: #C2410C; }
.pin.activo { z-index: 1000 !important; }
.pin.activo span { transform: rotate(-45deg) scale(1.25); }

/* ---------- Aporte voluntario ---------- */
.aportar { background: linear-gradient(150deg, var(--primary-soft), var(--accent-bg)); border: 1px solid var(--border); border-radius: 20px; padding: 18px; margin: 0 0 16px; }
.aportar-etq { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.aportar h2 { margin-bottom: 6px; }
.aportar > p { color: var(--text-2); }
.montos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.monto { min-height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-weight: 800; cursor: pointer; padding: 0 4px; }
.monto[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.banco { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; background: var(--bg); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; font-size: .9375rem; }
.banco dt { color: var(--text-2); font-weight: 600; }
.banco dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.aportar-acc { display: flex; flex-wrap: wrap; gap: 8px; }
.aportar-acc > * { flex: 1 1 140px; }
@media (max-width: 360px) { .montos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Instalar / pantalla completa ---------- */
.instalar { display: grid; grid-template-columns: 40px 1fr auto 44px; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 6px 10px 12px; margin: 0 0 20px; animation: entrar .35s var(--ease) both; }
.instalar > img, .instalar > svg { width: 40px; height: 40px; border-radius: 10px; }
.instalar-t { font-weight: 800; margin: 0; }
.instalar-p { margin: 0; font-size: .8125rem; color: var(--text-2); }
.instalar .btn { min-height: 40px; padding: 0 14px; }
.instalar-x { width: 44px; height: 44px; border: 0; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.instalar-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 400px) { .instalar { grid-template-columns: 1fr 44px; } .instalar > img, .instalar > svg { display: none; } .instalar .btn { grid-column: 1; grid-row: 2; justify-self: start; } .instalar-x { grid-column: 2; grid-row: 1; } }
.barra { transition: transform .3s var(--ease); }
.barra.oculta { transform: translateY(-100%); }
@media (display-mode: standalone) { .barra { padding-top: calc(6px + env(safe-area-inset-top)); } }
@media (prefers-reduced-motion: reduce) { .panel-cuerpo, .panel-flecha, .barra { transition: none; } }
.card-ir { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 8px; padding: 0 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: .875rem; text-decoration: none; }
.card-ir svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
