/* Identidad visual UGS: azul marino #000322 y dorado #F7AA1C (tomados del logotipo oficial). */
:root {
  --navy: #000322;
  --navy-2: #0b1640;
  --navy-3: #1d2b5c;
  --gold: #f7aa1c;
  --gold-soft: #fff4dc;
  --bg: #f1f1f1;
  --card: #ffffff;
  --text: #1b1d2a;
  --muted: #5d6170;
  --line: #d9dbe3;
  --ok: #0f7a4b;
  --ok-soft: #e6f6ee;
  --warn: #b45309;
  --warn-soft: #fff3e0;
  --bad: #b42318;
  --bad-soft: #fdecec;
  --info: #1d4ed8;
  --info-soft: #e8efff;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(0, 3, 34, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 .9em; }
a { color: var(--info); }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand img { background: #fff; border-radius: 6px; padding: 3px 5px; display: block; width: 96px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--gold); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: none; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: #dfe3f0; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .9rem; white-space: nowrap;
}
.main-nav a:hover { background: var(--navy-3); color: #fff; }
.main-nav a[aria-current="page"] { background: var(--gold); color: var(--navy); font-weight: 700; }
.user-chip { display: none; align-items: center; gap: 8px; margin-left: 8px; font-size: .9rem; }
.user-chip span { color: #fff; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle { margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: #fff; position: absolute; left: 11px; transition: .2s; content: ""; }
.burger { top: 21px; }
.burger::before { top: -6px; left: 0; }
.burger::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }
.topbar.open .main-nav { display: flex; flex-direction: column; width: 100%; order: 10; padding-bottom: 10px; }
.topbar.open .user-chip { display: flex; order: 11; width: 100%; justify-content: space-between; padding: 0 10px 10px; margin: 0; }
.global-progress { height: 5px; background: #20294f; }
.global-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #ffd166); transition: width .5s ease; }

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; }
  .user-chip { display: flex; }
  .topbar-inner { flex-wrap: nowrap; }
  .main-nav a { font-size: .84rem; padding: 7px 8px; }
  .brand-text small { display: none; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  .user-chip span { display: none; }
}

/* ---------- Contenedor y bloques ---------- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 22px 16px 56px; outline: none; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
.page-head { margin-bottom: 18px; }
.page-head .kicker { display: inline-block; background: var(--gold-soft); color: #7a4a00; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 70%, #2a3c7a 100%); color: #fff; padding: 30px 22px; position: relative; overflow: hidden; }
.card.hero h1, .card.hero h2 { color: #fff; }
.card.hero p { color: #e4e8f5; }
.card.hero::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%; background: var(--gold); opacity: .55; }
.card.hero > * { position: relative; z-index: 1; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.grid.two { grid-template-columns: 1fr; }
.grid.three { grid-template-columns: 1fr; }
.grid.four { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(2, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--navy); color: #fff; transition: transform .1s, background .2s, opacity .2s;
}
.btn:hover { background: var(--navy-3); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffb93a; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: #f3f5fb; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); min-height: 36px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-pdf { background: #b42318; }
.btn-pdf:hover { background: #912018; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }

/* ---------- Formularios ---------- */
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
label.field-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: .96rem; }
.help { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-3); outline: 3px solid rgba(247,170,28,.45); outline-offset: 0; }
textarea[readonly] { background: #f7f8fb; }
.field { margin-bottom: 4px; }
.field-status { font-size: .8rem; color: var(--muted); min-height: 1.2em; }
.msg { border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: .95rem; }
.msg.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #b7e4cf; }
.msg.error { background: var(--bad-soft); color: var(--bad); border: 1px solid #f5c2bd; }
.msg.info { background: var(--info-soft); color: var(--info); border: 1px solid #c7d7fb; }
.msg.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #ffd9a6; }
.checkbox-line { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 1rem; }
.checkbox-line input { width: 22px; height: 22px; accent-color: var(--navy); }
.auth-wrap { max-width: 560px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 14px; background: #e7e9f0; padding: 4px; border-radius: 12px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; color: var(--navy); min-height: 44px; }
.auth-tabs button[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.link-btn { background: none; border: 0; color: var(--info); font: inherit; text-decoration: underline; cursor: pointer; padding: 6px 0; }

/* ---------- Progreso e indicadores ---------- */
.progress { height: 12px; background: #e6e8ef; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-3), var(--gold)); border-radius: 999px; transition: width .6s ease; }
.progress.thin { height: 8px; }
.stat { text-align: center; padding: 16px 10px; }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .9rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eceef4; color: #3a3f52; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.wait { background: var(--warn-soft); color: var(--warn); }
.pill.gold { background: var(--gold-soft); color: #7a4a00; }
.pill.info { background: var(--info-soft); color: var(--info); }
.motiv { background: linear-gradient(90deg, #fff4dc, #ffffff); border-left: 5px solid var(--gold); padding: 14px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; color: var(--navy); }

/* ---------- Tarjetas de aprendizaje y navegación ---------- */
.tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border-top: 5px solid var(--navy); transition: transform .15s; min-height: 100%; }
.tile:hover { transform: translateY(-2px); }
.tile .ico { font-size: 1.9rem; line-height: 1; }
.tile h3 { margin: 0; font-size: 1.05rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile.done { border-top-color: var(--ok); }
.tile.gold { border-top-color: var(--gold); }
.tile .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; }

.block { margin-bottom: 20px; }
.block-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.block-num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex-shrink: 0; }
.block-num.done { background: var(--ok); color: #fff; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps-list li a, .steps-list li .row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.steps-list li a:hover { outline: 2px solid var(--gold); }
.check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex-shrink: 0; font-weight: 800; color: transparent; }
.check.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps-list .meta { margin-left: auto; color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* ---------- Temas ---------- */
.topic-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
.topic-tabs a { flex: 0 0 auto; text-decoration: none; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.topic-tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.topic-tabs a.done::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.topic-tabs a[aria-current="page"].done::before { color: var(--gold); }

.analogy { display: flex; gap: 14px; background: var(--gold-soft); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.analogy .ico { font-size: 2rem; line-height: 1; }
.analogy strong { color: #7a4a00; display: block; margin-bottom: 4px; }
.acc { border: 2px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.acc summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); font-weight: 800; }
.acc[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 16px 14px; }
.compare { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 12px 0; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .side { border-radius: 12px; padding: 14px; }
.compare .bad { background: var(--bad-soft); border: 1px solid #f5c2bd; }
.compare .good { background: var(--ok-soft); border: 1px solid #b7e4cf; }
.compare h4 { margin: 0 0 6px; font-size: .95rem; }
.compare .bad h4 { color: var(--bad); }
.compare .good h4 { color: var(--ok); }
.prompt-box { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92rem; white-space: pre-wrap; background: #0e1430; color: #eef2ff; padding: 14px; border-radius: 12px; overflow-x: auto; word-break: break-word; }
.demo { counter-reset: paso; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demo li { counter-increment: paso; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.demo li::before { content: counter(paso); width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 800; }
.quiz { margin-top: 10px; }
.quiz-q { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.quiz-q legend { font-weight: 700; color: var(--navy); padding: 0 4px; }
.quiz-opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--line); margin: 8px 0; cursor: pointer; min-height: 46px; }
.quiz-opt:hover { border-color: var(--navy-3); }
.quiz-opt input { accent-color: var(--navy); width: 20px; height: 20px; }
.quiz-opt.right { border-color: var(--ok); background: var(--ok-soft); }
.quiz-opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.feedback { margin-top: 8px; font-weight: 600; }
.feedback.ok { color: var(--ok); }
.feedback.bad { color: var(--bad); }
.complete-zone { margin-top: 18px; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* ---------- Infografía de elementos ---------- */
.elements { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: 14px; }
@media (min-width: 720px) { .elements { grid-template-columns: repeat(5, 1fr); } }
.el-btn { background: #fff; border: 3px solid transparent; border-radius: 16px; padding: 14px 8px; cursor: pointer; text-align: center; font: inherit; box-shadow: var(--shadow); color: var(--navy); min-height: 110px; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.el-btn .ico { font-size: 1.8rem; line-height: 1; }
.el-btn strong { font-size: .92rem; }
.el-btn[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.el-detail { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
.el-detail h3 { display: flex; align-items: center; gap: 10px; }

/* ---------- Detective, verificación y casos ---------- */
.case { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 16px; }
.claim { border: 2px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.claim p { margin: 0 0 8px; }
.claim-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.claim-btns button { flex: 1 1 180px; border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; color: var(--navy); }
.claim-btns button[aria-pressed="true"].c-ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.claim-btns button[aria-pressed="true"].c-check { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.claim.right { border-color: var(--ok); background: #f7fcf9; }
.claim.wrong { border-color: var(--bad); background: #fff8f7; }
.sim-tag { display: inline-block; background: #fde2e2; color: var(--bad); font-weight: 800; font-size: .75rem; padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; margin-bottom: 8px; }
.note-sim { background: #fde2e2; border-left: 5px solid var(--bad); padding: 10px 14px; border-radius: 10px; margin: 10px 0; color: #6b1a14; font-size: .95rem; }
.article-box { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); white-space: pre-wrap; font-size: 1.02rem; line-height: 1.7; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { margin: 8px 0; }
.check-list label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 10px 12px; border-radius: 10px; background: #fff; border: 2px solid var(--line); }
.check-list input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }

/* ---------- Laboratorio y banco ---------- */
.lab-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .lab-grid { grid-template-columns: 1.1fr 0.9fr; } }
.diag { list-style: none; padding: 0; margin: 0; }
.diag li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.diag .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-chips button { border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; min-height: 40px; }
.filter-chips button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.bank-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bank-card .why { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f5f6fa; color: var(--navy); font-size: .88rem; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Evaluación ---------- */
.stage-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 4px; }
.stage-tabs button { flex: 0 0 auto; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; min-height: 44px; text-align: left; }
.stage-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.stage-tabs button .ok { color: var(--ok); }
.stage-tabs button[aria-selected="true"] .ok { color: var(--gold); }
.crit { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fff; }
.crit-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.crit ul { margin: 6px 0 0; padding-left: 20px; font-size: .95rem; }
.crit .sub { color: var(--muted); font-size: .88rem; }

/* ---------- Pie y avisos ---------- */
.footer { background: var(--navy); color: #d9dded; text-align: center; padding: 22px 16px; font-size: .9rem; }
.footer p { margin: 4px 0; }
.footer strong { color: var(--gold); }
.footer .muted { color: #aab1ca; }
.toast-zone { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(92vw, 460px); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 600; animation: pop .25s ease; }
.toast.error { background: var(--bad); }
.toast.ok { background: var(--ok); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.saving { font-size: .85rem; color: var(--muted); }
.big-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.badge-sim { display: inline-block; background: #fff; color: var(--navy); border-radius: 8px; padding: 2px 8px; font-weight: 800; font-size: .8rem; }
.note { font-size: .92rem; color: var(--muted); }
.sep { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

/* ---------- Teléfonos ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 16px 12px 48px; }
  .card { padding: 16px; }
  .card.hero { padding: 22px 16px; }
  .btn { width: 100%; }
  .btn-row .btn, .big-cta .btn { width: 100%; }
  .stat .num { font-size: 1.6rem; }
  .tile { padding: 14px; }
  .brand img { width: 64px; }
  .steps-list .meta { display: none; }
  .topbar-inner { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
