/* Maqueta del portal del consultorio — tokens propios del portal (Fase 1). */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #EEF4F4; --surface: #FFFFFF; --surface-2: #F3F7F7; --line: #DCE6E6; --line-fuerte: #7D9193;
  --ink: #102A2C; --ink-2: #3F5759; --muted: #56696B;
  --brand: #0C7478; --brand-ink: #0A6266; --brand-soft: #E1F0F0; --on-brand: #FFFFFF;
  --ok: #17703D; --ok-soft: #E3F3EA; --warn: #8A5300; --warn-soft: #FFF1D6; --err: #B3261E; --err-soft: #FDE7E5;
  --chart-a: #008D99; --chart-b: #C2700A; --grid: #E3EBEB;
  --shadow: 0 1px 2px rgba(16,42,44,.06), 0 6px 18px rgba(16,42,44,.07);
  --velo: rgba(10,25,27,.48);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B1415; --surface: #142022; --surface-2: #1B292B; --line: #26383A; --line-fuerte: #6E8486;
    --ink: #E7F1F1; --ink-2: #BCCDCE; --muted: #9DB0B1;
    --brand: #3DB4B7; --brand-ink: #6CCFD2; --brand-soft: #173A3C; --on-brand: #062325;
    --ok: #5FD08F; --ok-soft: #143024; --warn: #F2B75B; --warn-soft: #33270F; --err: #FF8A80; --err-soft: #3A1715;
    --chart-a: #1FA3A8; --chart-b: #C98018; --grid: #223335;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --velo: rgba(0,0,0,.62);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B1415; --surface: #142022; --surface-2: #1B292B; --line: #26383A; --line-fuerte: #6E8486;
  --ink: #E7F1F1; --ink-2: #BCCDCE; --muted: #9DB0B1;
  --brand: #3DB4B7; --brand-ink: #6CCFD2; --brand-soft: #173A3C; --on-brand: #062325;
  --ok: #5FD08F; --ok-soft: #143024; --warn: #F2B75B; --warn-soft: #33270F; --err: #FF8A80; --err-soft: #3A1715;
  --chart-a: #1FA3A8; --chart-b: #C98018; --grid: #223335;
  --shadow: 0 1px 2px rgba(0,0,0,.4); --velo: rgba(0,0,0,.62);
}

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45; font-size: 16px; overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.s20 { width: 20px; height: 20px; }
.ic.s28 { width: 28px; height: 28px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Barra de la maqueta (no es producto) ---------- */
.maq { background: #17202A; color: #F3F6F8; font-size: 14px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.maq-sello { font-weight: 800; letter-spacing: .08em; font-size: 13px; border: 1px dashed #8FA3B5; border-radius: 6px; padding: 4px 8px; }
.maq-seg { display: inline-flex; background: #2A3542; border-radius: 10px; padding: 3px; }
.maq-seg button { min-height: 40px; border: 0; background: transparent; color: #E7EDF2; padding: 0 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.maq-seg button[aria-pressed="true"] { background: #F3F6F8; color: #17202A; }
.maq-btn { min-height: 44px; border: 1px solid #8FA3B5; background: transparent; color: #F3F6F8; border-radius: 10px; padding: 0 12px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.maq-lista { display: grid; gap: 6px; margin: 8px 0 16px; padding: 0; list-style: none; }
.maq-lista button { width: 100%; text-align: left; min-height: 44px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 8px 12px; font-size: 16px; }
.maq-pista { border: 1px dashed var(--line-fuerte); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--ink-2); }

/* ---------- Estructura ---------- */
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
#app.sin-barra { padding-bottom: 32px; }
.cab { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 10px 12px 6px; min-height: 64px; }
.cab h1 { margin: 0; font-size: 20px; font-weight: 700; text-align: center; letter-spacing: -.01em; }
.cab h1:focus { outline: none; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; }
.icon-btn.suave { background: var(--surface); box-shadow: var(--shadow); color: var(--brand-ink); }
.pant { padding: 4px 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.sec-tit { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 2px -6px; }
.sec-tit h2 { margin: 0; font-size: 18px; font-weight: 700; }
.liga { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--brand-ink); font-weight: 600; font-size: 16px; padding: 0 4px; }
.nota { font-size: 14px; color: var(--muted); margin: 0; }
.nota-13 { font-size: 13px; color: var(--muted); margin: 0; }
p { margin: 0; }

/* ---------- Tarjetas y filas ---------- */
.tarjeta { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tarjeta.pad { padding: 16px; }
.lista { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fila { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 68px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.fila.actual { background: var(--brand-soft); border-color: var(--brand); }
.fila .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fila .t1 { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.fila .t2 { font-size: 16px; color: var(--ink-2); overflow-wrap: anywhere; }
.fila .t3 { font-size: 14px; color: var(--muted); }
.fila .der { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; flex: none; }
.fila .imp { font-size: 16px; font-weight: 700; }
.fila > .ic:last-child { color: var(--muted); }
.burbuja { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; flex: none; font-weight: 700; font-size: 16px; }
.burbuja.redonda { border-radius: 50%; }
.burbuja.warn { background: var(--warn-soft); color: var(--warn); }
.burbuja.err { background: var(--err-soft); color: var(--err); }
.burbuja.ok { background: var(--ok-soft); color: var(--ok); }

.dato-lista { margin: 0; padding: 4px 16px; }
.dato { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dato:last-child { border-bottom: 0; }
.dato .ic { color: var(--brand-ink); margin-top: 2px; }
.dato dt { font-size: 14px; color: var(--muted); }
.dato dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Etiquetas de estado ---------- */
.estado { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; }
.estado::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.estado.e0 { color: var(--ink-2); } .estado.e1 { color: var(--brand-ink); } .estado.e2 { color: var(--brand-ink); }
.estado.e3 { color: var(--ok); } .estado.warn { color: var(--warn); } .estado.err { color: var(--err); }
.pastilla { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); }
.pastilla.ok { background: var(--ok-soft); color: var(--ok); }
.pastilla.warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- Botones y campos ---------- */
.btn { min-height: 52px; border-radius: 14px; border: 0; padding: 0 20px; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-decoration: none; }
.btn.pri { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px rgba(12,116,120,.25); }
.btn.sec { background: transparent; color: var(--brand-ink); border: 2px solid var(--brand); }
.btn.ter { background: var(--surface); color: var(--ink); border: 1px solid var(--line-fuerte); }
.btn.peligro { background: var(--err); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-fila { display: grid; gap: 10px; }
.btn-chico { min-height: 44px; border-radius: 12px; border: 1px solid var(--brand); background: transparent; color: var(--brand-ink); font-weight: 700; font-size: 16px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label, .campo .lbl { font-size: 16px; font-weight: 600; }
.campo .req { color: var(--err); }
.entrada { min-height: 52px; width: 100%; min-width: 0; border-radius: 12px; border: 1px solid var(--line-fuerte); background: var(--surface); padding: 0 14px; font-size: 17px; }
textarea.entrada { padding: 12px 14px; min-height: 96px; resize: vertical; }
.entrada-ic { position: relative; }
.entrada-ic .ic { position: absolute; left: 14px; top: 14px; color: var(--muted); pointer-events: none; }
.entrada-ic .entrada { padding-left: 46px; }
.ayuda { font-size: 14px; color: var(--muted); }
.error-campo { font-size: 16px; color: var(--err); font-weight: 600; }
.candado { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }

.seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); padding: 0 8px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; border-radius: 999px; border: 1px solid var(--line-fuerte); background: var(--surface); padding: 0 16px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

.opcion { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; border: 1px solid var(--line-fuerte); border-radius: 14px; background: var(--surface); width: 100%; text-align: left; }
.opcion[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--brand-soft); }
.opcion .marca { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-fuerte); flex: none; display: grid; place-items: center; }
.opcion[aria-pressed="true"] .marca { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.opcion .marca .ic { width: 16px; height: 16px; stroke-width: 3; }

.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 16px; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.interruptor:last-child { border-bottom: 0; }
.sw { width: 52px; height: 32px; border-radius: 999px; background: var(--line-fuerte); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .2s; }
[aria-checked="true"] .sw { background: var(--brand); }
[aria-checked="true"] .sw::after { transform: translateX(20px); }

.subir { border: 2px dashed var(--line-fuerte); border-radius: 16px; background: var(--surface-2); min-height: 112px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-2); padding: 14px; }
.subir .ic { color: var(--brand-ink); width: 32px; height: 32px; }
.subir strong { font-size: 17px; color: var(--ink); }

/* ---------- Avisos ---------- */
.aviso { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--brand-soft); color: var(--ink); align-items: flex-start; }
.aviso .ic { color: var(--brand-ink); margin-top: 1px; }
.aviso.warn { background: var(--warn-soft); } .aviso.warn .ic { color: var(--warn); }
.aviso.err { background: var(--err-soft); } .aviso.err .ic { color: var(--err); }
.aviso.ok { background: var(--ok-soft); } .aviso.ok .ic { color: var(--ok); }
.aviso strong { display: block; }

/* ---------- Pestañas ---------- */
.pestanas { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(560px, 100%); background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 -4px 18px rgba(16,42,44,.06); }
.pestana { min-height: 56px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; padding: 0; }
.pestana[aria-current="page"] { color: var(--brand-ink); }
.pestana[aria-current="page"] .ic { stroke-width: 2.4; }
.pestana.central .disco { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; margin-top: -26px; box-shadow: 0 8px 18px rgba(12,116,120,.35); border: 4px solid var(--surface); }
.pestana.central .disco .ic { width: 28px; height: 28px; stroke-width: 2.6; }
.pestana.central { color: var(--brand-ink); }

/* ---------- Inicio / Perfil ---------- */
.saludo { display: flex; align-items: center; gap: 12px; padding: 14px 16px 4px; }
.marca-desp { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.saludo .txt { flex: 1; min-width: 0; }
.saludo h1 { font-size: 22px; margin: 0; line-height: 1.2; }
.saludo h1:focus { outline: none; }
.hero { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(135deg, var(--brand) 0%, #0A5C60 100%); color: #fff; border-radius: 20px; border: 0; }
:root[data-theme="dark"] .hero { background: linear-gradient(135deg, #10585B 0%, #0B3E41 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: linear-gradient(135deg, #10585B 0%, #0B3E41 100%); } }
.hero .resumen { font-size: 16px; }
.hero .btn { background: #fff; color: #0A5C60; box-shadow: none; }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cifras.dos { grid-template-columns: repeat(2, 1fr); }
.cifra { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.cifra .burbuja { width: 40px; height: 40px; border-radius: 12px; }
.cifra .v { font-size: 22px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cifra .l { font-size: 14px; color: var(--muted); line-height: 1.25; }
.cifra.vacia .v { font-size: 17px; color: var(--ink-2); }
.perfil-cab { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 16px 0; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 32px; font-weight: 800; position: relative; border: 3px solid var(--surface); box-shadow: var(--shadow); }
.avatar .foto { position: absolute; right: -6px; bottom: -6px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); border: 3px solid var(--surface); display: grid; place-items: center; }
.avatar .foto .ic { width: 20px; height: 20px; }
.perfil-cab h1 { font-size: 22px; margin: 6px 0 0; }
.perfil-cab h1:focus { outline: none; }

/* ---------- Línea de tiempo ---------- */
.tiempo { list-style: none; margin: 0; padding: 4px 16px; }
.paso { display: grid; grid-template-columns: 32px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.paso:last-child { padding-bottom: 4px; }
.paso::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line-fuerte); }
.paso.hecho::before { background: var(--ok); }
.paso:last-child::before { display: none; }
.punto { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-fuerte); background: var(--surface); display: grid; place-items: center; }
.paso.hecho .punto { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.paso.hecho .punto .ic { width: 18px; height: 18px; stroke-width: 3; }
.paso.actual .punto { border: 3px solid var(--brand); }
.paso.actual .punto::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.paso.alerta .punto { border-color: var(--warn); }
.paso.alerta .punto::after { background: var(--warn); }
.paso .nom { font-size: 17px; font-weight: 700; }
.paso.pendiente .nom { color: var(--ink-2); font-weight: 600; }
.paso .sub { font-size: 16px; color: var(--ink-2); }
.paso .cuando { font-size: 14px; color: var(--muted); }

/* ---------- Pasos de captura ---------- */
.progreso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progreso span { height: 6px; border-radius: 3px; background: var(--line); }
.progreso span.si { background: var(--brand); }
.bloque-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bloque-cab h2 { font-size: 17px; margin: 0; }
.bloque-cuerpo { padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.renglon { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.renglon.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.servicio { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.servicio .doble { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Reportes ---------- */
.grafica { padding: 16px 12px 12px; }
.grafica svg { width: 100%; height: auto; display: block; overflow: visible; }
.grafica .eje { font-size: 13px; fill: var(--muted); }
.grafica .rejilla { stroke: var(--grid); stroke-width: 1; }
.grafica .ba { fill: var(--chart-a); } .grafica .bb { fill: var(--chart-b); }
.grafica .golpe { fill: transparent; cursor: pointer; }
.grafica .golpe:focus-visible { outline: none; stroke: var(--brand); stroke-width: 2; }
.leyenda { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--ink-2); margin: 0 4px 8px; }
.leyenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.globo { background: var(--ink); color: var(--surface); border-radius: 12px; padding: 8px 12px; font-size: 14px; display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 4px 0; }
.globo b { font-size: 16px; }
.promo { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line-fuerte); background: transparent; }
.promo .txt { flex: 1; min-width: 0; }

/* ---------- Vitrina ---------- */
.vitrina-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vitrina-card .tope { display: flex; gap: 12px; align-items: flex-start; }
.vitrina-card h3 { margin: 0; font-size: 17px; }
.vitrina-por { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hoja, aviso flotante y esqueletos ---------- */
.velo { position: fixed; inset: 0; background: var(--velo); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.hoja { background: var(--surface); width: min(560px, 100%); max-height: 88vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.hoja::before { content: ""; width: 44px; height: 5px; border-radius: 3px; background: var(--line-fuerte); align-self: center; }
.hoja h2 { margin: 0; font-size: 20px; }
.hoja h2:focus { outline: none; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); width: min(528px, calc(100% - 32px)); background: var(--ink); color: var(--surface); border-radius: 14px; padding: 14px 16px; font-size: 16px; z-index: 70; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.esq { background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: brillo 1.2s linear infinite; border-radius: 12px; }
@keyframes brillo { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .esq { animation: none; } * { transition: none !important; } }
.vacio { text-align: center; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vacio .burbuja { width: 64px; height: 64px; border-radius: 20px; }
.vacio .burbuja .ic { width: 30px; height: 30px; }
.vacio h2 { margin: 0; font-size: 18px; }

.codigo { letter-spacing: .5em; text-align: center; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 60px; padding-left: .5em; }

@media (min-width: 900px) {
  body { padding-top: 0; }
  .pant { padding-top: 8px; }
}

/* ---------- Preguntas frecuentes ---------- */
.pregunta { border-bottom: 1px solid var(--line); padding: 0 16px; }
.pregunta:last-child { border-bottom: 0; }
.pregunta summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: "+"; font-size: 24px; color: var(--brand-ink); flex: none; }
.pregunta[open] summary::after { content: "−"; }
.pregunta p { padding-bottom: 14px; }
