/* Layout: proceso de la consultoría arriba, vitrina de soluciones en tarjetas, y una ficha por solución (con sus pantallas) que se abre en su propio enlace. */
:root {
  --bg: #eef1ef;
  --panel: #ffffff;
  --ink: #15211d;
  --muted: #56645f;
  --line: #c9d2ce;
  --core: #1d5c4b;
  --core-ink: #f3f7f5;
  --amber: #d9910f;
  --amber-soft: #f6e3bd;
  --plan: #5b5fb0;
  --plan-soft: #e3e4f6;
  --rojo: #c0392b;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111916; --panel: #18231f; --ink: #e7eeeb; --muted: #9db0a9; --line: #2e3d37;
    --core: #2f8a70; --core-ink: #f3f7f5; --amber: #f0ad33; --amber-soft: #3a2f17; --plan: #9ea2ee; --plan-soft: #26284a; --rojo: #e8705f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111916; --panel: #18231f; --ink: #e7eeeb; --muted: #9db0a9; --line: #2e3d37;
  --core: #2f8a70; --core-ink: #f3f7f5; --amber: #f0ad33; --amber-soft: #3a2f17; --plan: #9ea2ee; --plan-soft: #26284a; --rojo: #e8705f; color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.envoltura { max-width: 1120px; margin: 0 auto; display: grid; gap: 72px; padding-block: 40px 72px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 0.98; font-weight: 800; font-stretch: 72%; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.05; font-weight: 750; font-stretch: 80%; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 88%; }
p { margin: 0; max-width: 64ch; }
.etiqueta { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.amber { color: var(--amber); }
.cabeza { display: grid; gap: 12px; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Portada */
.portada { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.portada .texto { display: grid; gap: 22px; min-width: 0; }
.portada .bajada { font-size: 1.2rem; color: var(--muted); }
.promesas { display: flex; flex-wrap: wrap; gap: 8px; }
.promesas span { font-family: var(--mono); font-size: 0.8rem; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; background: var(--panel); }
.lienzo { width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1; }
.lienzo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lienzo text { font-family: var(--display); fill: var(--ink); }
.nodo rect { fill: var(--panel); stroke: var(--line); stroke-width: 1.5; }
.nodo .t1 { font-size: 17px; font-weight: 700; font-stretch: 85%; }
.nodo .t2 { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.rayo { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 4 6; fill: none; opacity: 0.9; }
.chispa { fill: var(--amber); }
.nucleo rect { fill: var(--core); }
.nucleo text { fill: var(--core-ink); }
.nucleo .n1 { font-size: 22px; font-weight: 800; font-stretch: 78%; }
.nucleo .n2 { font-family: var(--mono); font-size: 10.5px; opacity: 0.85; }
.anillo { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
@media (prefers-reduced-motion: no-preference) {
  .anima .nodo { animation: surge 0.7s cubic-bezier(.2,.8,.2,1) both; }
  .anima .rayo { animation: traza 0.9s ease-out both; }
  .anima .nucleo { animation: late 2.8s ease-in-out infinite; transform-origin: 260px 260px; transform-box: view-box; }
}
@keyframes surge { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes traza { from { opacity: 0; } to { opacity: 0.9; } }
@keyframes late { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* Proceso */
.proceso { display: grid; gap: 28px; }
.bifurca { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bifurca div { border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 18px; display: grid; gap: 8px; min-width: 0; }
.bifurca b { font-family: var(--display); font-stretch: 85%; font-size: 1.15rem; }
.bifurca p { color: var(--muted); font-size: 0.97rem; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pasos li { display: grid; gap: 10px; align-content: start; padding: 0 16px 0 0; min-width: 0; }
.pasos .marca { display: flex; align-items: center; }
.pasos .punto { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 0.85rem;
  background: var(--panel); border: 2px solid var(--line); color: var(--muted); flex: none; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.pasos .tramo { height: 2px; background: var(--line); flex: 1; position: relative; overflow: hidden; }
.pasos .tramo::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.6s; }
.pasos li.hecho .punto { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.pasos li.hecho .tramo::after { transform: scaleX(1); }
.pasos li:last-child .tramo { visibility: hidden; }
.pasos .cuando { font-family: var(--mono); font-size: 0.75rem; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; }
.pasos h3 { font-size: 1.1rem; }
.pasos p { color: var(--muted); font-size: 0.95rem; }

/* Vitrina */
.vitrina { display: grid; gap: 24px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtros button {
  font-weight: 600; font-size: 0.9rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.filtros button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.leyenda { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: var(--muted); }
.rejilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tarjeta {
  text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px; cursor: pointer;
  display: grid; gap: 10px; align-content: start; color: var(--ink); min-width: 0; transition: border-color 0.2s, transform 0.2s;
}
.tarjeta:hover { border-color: var(--amber); transform: translateY(-2px); }
.tarjeta .frase { font-family: var(--display); font-size: 1.18rem; font-weight: 700; font-stretch: 85%; line-height: 1.15; }
.tarjeta .nombre { font-size: 0.95rem; color: var(--muted); }
.tarjeta .pie { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.estado { font-family: var(--mono); font-size: 0.7rem; padding: 3px 8px; border-radius: 999px; color: var(--ink); }
.estado.vivo { background: color-mix(in srgb, var(--core) 20%, transparent); }
.estado.plan { background: var(--plan-soft); }
.cliente { font-family: var(--mono); font-size: 0.7rem; padding: 3px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--ink); }

/* Ficha */
.ficha { display: grid; gap: 28px; }
.ficha-barra { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.boton { font-weight: 600; font-size: 0.92rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.ficha-cabeza { display: grid; gap: 14px; }
.ficha-cabeza .frase { font-size: 1.25rem; color: var(--muted); font-style: italic; }
.ficha-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: start; }
.ficha-texto { display: grid; gap: 26px; min-width: 0; }
.bloque { display: grid; gap: 10px; }
.flujo { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: f; }
.flujo li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; position: relative; counter-increment: f; }
.flujo li::before { content: counter(f); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.75rem; }
.flujo li::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.flujo li:last-child::after { display: none; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles > span:not(.estado):not(.cliente) { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 0.92rem; background: var(--panel); }
.roles b { font-weight: 600; }
.nota { border-left: 3px solid var(--plan); padding: 10px 14px; background: var(--plan-soft); border-radius: 0 6px 6px 0; font-size: 0.95rem; max-width: none; }
.necesita { color: var(--muted); font-size: 0.95rem; }
.otras { display: flex; flex-wrap: wrap; gap: 8px; }
.otras button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink); font-size: 0.9rem; }

/* Teléfono: las pantallas de ejemplo usan el sistema visual de las apps que ya funcionan en los clientes
   (Barlow Semi Condensed + IBM Plex Sans, fondo verde gris, tarjetas con borde, estados con punto, acento naranja).
   Siempre en claro, como una captura. */
.telefono {
  --a-bg: #eef2f0; --a-panel: #ffffff; --a-ink: #17201c; --a-muted: #5a6962; --a-line: #d3dcd7; --a-soft: #f5f8f6;
  --a-accent: #c2410c; --a-ok: #15803d; --a-warn: #b45309; --a-bad: #b91c1c; --a-info: #1d4ed8;
  --a-ui: "IBM Plex Sans", "Segoe UI", Roboto, sans-serif; --a-head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 10px; justify-items: center; min-width: 0;
}
.marco { width: 100%; max-width: 360px; background: #101614; border-radius: 42px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(10, 25, 20, 0.6), inset 0 0 0 2px #2b3632; }
.marco-in { background: var(--a-bg); color: var(--a-ink); font-family: var(--a-ui); font-size: 14px; border-radius: 33px; overflow: hidden;
  height: 640px; display: flex; flex-direction: column; color-scheme: light; }
.tel-estado { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 22px 6px; background: var(--a-panel); font-size: 12px; font-weight: 600; }
.tel-estado .isla { width: 84px; height: 22px; border-radius: 999px; background: #101614; }
.tel-estado svg { justify-self: end; width: 44px; height: 12px; fill: var(--a-ink); }
.tel-barra { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 14px 8px; background: var(--a-panel); }
.tel-barra .marca-app { font-family: var(--a-head); font-weight: 600; font-size: 1.15rem; }
.tel-barra .ejemplo { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--a-warn);
  border: 1px dashed currentColor; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.vistas { display: flex; gap: 6px; padding: 0 12px 10px; background: var(--a-panel); border-bottom: 1px solid var(--a-line); overflow-x: auto; scrollbar-width: none; }
.vistas button { font: 500 13px var(--a-ui); padding: 5px 10px; border-radius: 7px; border: 1px solid var(--a-line); background: var(--a-soft); color: var(--a-ink); cursor: pointer; white-space: nowrap; }
.vistas button[aria-pressed="true"] { border-color: var(--a-accent); box-shadow: inset 0 0 0 1px var(--a-accent); font-weight: 600; background: var(--a-panel); }
.pantalla { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.pantalla.cambia { animation: entra 0.4s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tel-nota { font-size: 0.85rem; color: var(--muted); text-align: center; max-width: 340px; margin: 0; }
.app-h1 { font-family: var(--a-head); font-weight: 600; font-size: 1.35rem; line-height: 1.1; margin: 2px 0 4px; letter-spacing: 0; }
.opcion { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 10px 12px;
  background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 9px; }
.opcion .t { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.opcion .m { font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.opcion .s { grid-column: 1 / -1; font-size: 12px; color: var(--a-muted); }
.a-estado { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--a-line);
  background: var(--a-panel); color: var(--a-ink); white-space: nowrap; }
.a-estado i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-warn); }
.a-estado.e-ok i { background: var(--a-ok); } .a-estado.e-bad i { background: var(--a-bad); } .a-estado.e-info i { background: var(--a-info); }
.a-mon { font-family: var(--mono); font-size: 10px; color: var(--a-muted); border: 1px solid var(--a-line); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.resumen { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr)); gap: 6px; }
.kpi { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.kpi span { display: block; font-size: 11px; color: var(--a-muted); }
.kpi b { font-family: var(--a-head); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.a-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: var(--a-panel);
  border: 1px solid var(--a-line); border-radius: 10px; box-shadow: 0 -4px 14px rgb(0 0 0 / 0.06); }
.a-total span { font-size: 13px; color: var(--a-muted); }
.a-total b { font-family: var(--a-head); font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.a-btn { text-align: center; font-size: 14px; font-weight: 600; padding: 11px 14px; border-radius: 8px; background: var(--a-accent); color: #fff; }
.a-btn.wa { background: #1fa855; }
.a-mapa { position: relative; height: 200px; flex-shrink: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--a-line); background: #ebeee8; }
.a-mapa svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-mapa .parque { fill: #cfe5c4; } .a-mapa .rio { fill: #aad3df; }
.a-mapa .calle { stroke: #ffffff; stroke-width: 5; fill: none; }
.a-mapa .avenida { stroke: #f6cf65; stroke-width: 8; fill: none; stroke-linecap: round; }
.a-mapa .ruta path { fill: none; stroke: #1a73e8; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.a-mapa .ruta path.borde { stroke: #ffffff; stroke-width: 8; }
.a-mapa .pin { position: absolute; width: 24px; height: 24px; margin: -24px 0 0 -12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--a-ok); border: 2px solid #fff; box-shadow: 0 2px 4px rgb(0 0 0 / 0.3); display: grid; place-items: center; font-style: normal; }
.a-mapa .pin b { transform: rotate(45deg); color: #fff; font: 600 11px var(--a-ui); }
.a-mapa .pin.a { background: var(--a-bad); } .a-mapa .pin.n { background: var(--a-accent); }
.a-mapa .yo { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #1a73e8; border: 2px solid #fff;
  box-shadow: 0 0 0 8px rgb(26 115 232 / 0.2); }
.a-mapa .google { position: absolute; left: 8px; bottom: 5px; font: 600 11px Arial, sans-serif; color: #5f6368; letter-spacing: 0.02em; }
.a-foto { display: grid; gap: 6px; justify-items: center; padding: 10px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 10px; }
.a-foto > span { font-size: 12px; color: var(--a-muted); }
.a-foto .recibo { width: 72%; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px 10px; border-radius: 8px;
  background: linear-gradient(#f6f8fb, #e9eef5); box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.35); transform: rotate(-2deg); font-size: 11px; color: #43506a; }
.a-foto .recibo b { color: #1c2638; font-size: 12px; } .a-foto .recibo .monto { font-size: 16px; }
.a-foto .ok-circ { width: 26px; height: 26px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 4px; }
.a-foto.producto svg { width: 96px; height: 96px; padding: 16px; border-radius: 10px; background: var(--a-soft); fill: var(--a-muted); }
.a-wa { border-radius: 10px; overflow: hidden; border: 1px solid var(--a-line); flex-shrink: 0; }
.wa-cab { display: flex; align-items: center; gap: 8px; background: #008069; color: #fff; padding: 8px 10px; font-size: 13px; font-weight: 600; line-height: 1.15; }
.wa-cab small { font-weight: 400; opacity: 0.85; font-size: 11px; }
.wa-av { width: 28px; height: 28px; border-radius: 50%; background: #cfd8d4; }
.wa-chat { background: #efeae2; padding: 12px 10px 14px; display: flex; justify-content: flex-end; }
.wa-burbuja { max-width: 88%; background: #d9fdd3; color: #111b21; border-radius: 8px 0 8px 8px; padding: 7px 9px 4px; font-size: 13px; line-height: 1.35;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.12); white-space: pre-line; }
.wa-burbuja small { display: block; text-align: right; color: #667781; font-size: 10px; margin-top: 2px; }
.a-barras { display: grid; gap: 8px; padding: 10px 12px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 10px; }
.a-barras div { display: grid; grid-template-columns: 84px minmax(0, 1fr) 46px; gap: 8px; align-items: center; font-size: 12px; }
.a-barras i { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--a-accent) var(--p), var(--a-soft) var(--p)); }
.a-barras span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Cierre */
.garantias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.garantias div { border-top: 2px solid var(--amber); padding-top: 12px; display: grid; gap: 6px; min-width: 0; }
.garantias b { font-family: var(--display); font-stretch: 85%; font-size: 1.12rem; }
.garantias p { color: var(--muted); font-size: 0.95rem; }
.cierre { display: grid; gap: 18px; padding: 40px clamp(20px, 5vw, 56px); background: var(--core); color: var(--core-ink); border-radius: 4px; }
.cierre h2 { color: var(--core-ink); }
.cierre p { opacity: 0.9; font-size: 1.1rem; }
.casos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.casos div { border-top: 2px solid var(--amber); padding-top: 10px; display: grid; gap: 4px; min-width: 0; }
.casos b { font-family: var(--display); font-stretch: 85%; font-size: 1.1rem; }
.casos span { opacity: 0.85; font-size: 0.95rem; }

@media (max-width: 960px) {
  .pasos { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pasos li { grid-template-columns: 34px minmax(0, 1fr); padding: 0 0 18px; column-gap: 14px; row-gap: 4px; }
  .pasos .marca { grid-row: 1 / span 3; flex-direction: column; align-self: stretch; }
  .pasos .tramo { width: 2px; height: auto; flex: 1; }
  .pasos .tramo::after { transform: scaleY(0); transform-origin: top; }
  .pasos li.hecho .tramo::after { transform: scaleY(1); }
}
@media (max-width: 860px) {
  .portada, .ficha-cuerpo, .bifurca { grid-template-columns: minmax(0, 1fr); }
  .rejilla, .casos, .garantias { grid-template-columns: minmax(0, 1fr); }
  .telefono { position: static; }
  .envoltura { gap: 56px; padding-block: 24px 56px; }
}
@media (min-width: 861px) and (max-width: 1040px) { .rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Transacciones en el teléfono: compacto, como una captura reducida; color por moneda (USD verde, pesos azul, bolívares naranja) */
.telefono { --c-usd: #15803d; --c-cop: #1d4ed8; --c-bs: #c2410c; }
.marco-in { font-size: 12px; }
.pantalla { gap: 6px; padding: 10px; }
.app-h1 { font-size: 1.1rem; margin: 0 0 2px; }
.opcion { padding: 7px 10px; border-radius: 8px; }
.opcion .m { font-size: 12px; }
.opcion .s { font-size: 11px; }
.a-estado { font-size: 10.5px; padding: 1px 7px; gap: 4px; }
.a-estado i { width: 6px; height: 6px; }
.resumen { grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr)); gap: 5px; }
.kpi { padding: 6px 8px; border-radius: 8px; }
.kpi span { font-size: 10px; line-height: 1.2; }
.kpi b { font-size: 1.05rem; white-space: nowrap; display: block; }
.a-total { padding: 8px 10px; } .a-total span { font-size: 11px; } .a-total b { font-size: 1.2rem; }
.a-btn { font-size: 12.5px; padding: 9px 12px; }
.a-mapa { height: 170px; }
.a-barras div { grid-template-columns: 74px minmax(0, 1fr) 52px; font-size: 11px; }
.wa-burbuja { font-size: 11.5px; }
.a-cab { display: grid; gap: 1px; padding: 10px 12px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 10px; }
.a-cab span { font-size: 11px; color: var(--a-muted); }
.a-cab b { font-family: var(--a-head); font-size: 1.75rem; font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.a-cab small { font-size: 11px; color: var(--a-ok); font-weight: 500; }
.a-dia { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; color: var(--a-muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 2px 0; }
.a-dia b { font-weight: 600; font-variant-numeric: tabular-nums; }
.a-mov { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 1px 8px; align-items: center; padding: 7px 9px; background: var(--a-panel);
  border: 1px solid var(--a-line); border-radius: 9px; }
.a-mov > i { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px;
  background: color-mix(in srgb, var(--a-ok) 14%, transparent); color: var(--a-ok); }
.a-mov.sal > i { background: color-mix(in srgb, var(--a-bad) 12%, transparent); color: var(--a-bad); }
.a-mov.cam > i, .a-mov.tra > i { background: color-mix(in srgb, var(--a-info) 12%, transparent); color: var(--a-info); }
.a-mov.cre > i { background: color-mix(in srgb, var(--a-warn) 14%, transparent); color: var(--a-warn); }
.a-mov .mt { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-mov .mm { font-family: var(--a-head); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; color: var(--a-ok); }
.a-mov.sal .mm { color: var(--a-bad); } .a-mov.cam .mm, .a-mov.tra .mm { color: var(--a-ink); } .a-mov.cre .mm { color: var(--a-warn); }
.a-mov .ms { grid-column: 2 / -1; font-size: 10.5px; color: var(--a-muted); min-width: 0; overflow-wrap: anywhere; }
.a-mov .mp { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.a-mov.anulado .mt, .a-mov.anulado .mm { text-decoration: line-through; opacity: 0.55; }
.px { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; padding: 1px 6px 1px 5px; border-radius: 5px; background: var(--a-soft); border: 1px solid var(--a-line); white-space: nowrap; }
.px i, .vf i, .rl i, .sn i { width: 6px; height: 6px; border-radius: 2px; background: var(--c-usd); flex-shrink: 0; display: inline-block; }
.px.cop i, .vf.cop i, .rl .cop i, .sm.cop .sn i { background: var(--c-cop); } .px.bs i, .vf.bs i, .rl .bs i, .sm.bs .sn i { background: var(--c-bs); }
.px b { font-weight: 600; font-variant-numeric: tabular-nums; }
.a-rot { font-size: 11px; font-weight: 600; }
.a-como { display: grid; gap: 5px; }
.a-como > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.bpago { display: grid; gap: 0; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--a-line); background: var(--a-panel); min-width: 0; }
.bpago b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpago small { font-size: 10.5px; color: var(--a-muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpago.on { border: 2px solid var(--a-accent); padding: 5px 7px; }
.a-varias { display: grid; border: 1px solid var(--a-line); border-radius: 9px; background: var(--a-panel); overflow: hidden; }
.vf { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 0 7px; align-items: center; padding: 6px 9px; border-top: 1px solid var(--a-line); }
.vf:first-child { border-top: 0; }
.vf b { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.vf small { grid-column: 2 / -1; font-size: 10px; color: var(--a-muted); }
.vf.vuelto { background: var(--a-soft); } .vf.vuelto b { color: var(--a-bad); }
.vr { padding: 6px 9px; border-top: 2px solid var(--a-line); font-weight: 600; color: var(--a-ok); font-size: 11.5px; }
.vr.warn { color: var(--a-warn); }
.a-reparto { display: grid; gap: 6px; padding: 8px 10px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 9px; }
.rb { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.rb i { background: var(--c-usd); } .rb i.cop { background: var(--c-cop); } .rb i.bs { background: var(--c-bs); }
.rl { display: grid; gap: 3px; font-size: 11px; }
.rl span { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.rl b { font-weight: 600; font-variant-numeric: tabular-nums; }
.a-saldos { display: grid; border: 1px solid var(--a-line); border-radius: 9px; background: var(--a-panel); overflow: hidden; }
.sm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding: 7px 10px; border-top: 1px solid var(--a-line); }
.sm:first-child { border-top: 0; }
.sn { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.sm > b { font-family: var(--a-head); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.sm > small { grid-column: 2; text-align: right; font-size: 10px; color: var(--a-muted); }
.sl { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; margin-top: 4px; padding: 4px 0 0 12px; border-top: 1px dashed var(--a-line); font-size: 10.5px; color: var(--a-muted); }
.sl span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; color: var(--a-ink); }
.st { display: flex; justify-content: space-between; padding: 7px 10px; border-top: 2px solid var(--a-line); background: var(--a-soft); font-weight: 600; }
.st b { font-variant-numeric: tabular-nums; }
.a-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.a-ctas div { display: grid; gap: 0; padding: 7px 9px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 9px; border-left: 3px solid var(--c-usd); min-width: 0; }
.a-ctas div.cop { border-left-color: var(--c-cop); } .a-ctas div.bs { border-left-color: var(--c-bs); }
.a-ctas span { font-weight: 600; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-ctas small { font-size: 10px; color: var(--a-muted); }
.a-ctas b { font-family: var(--a-head); font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-ctas .neg b { color: var(--a-bad); }

/* ---------- Sitio: barra, pie, enlaces y WhatsApp ---------- */
html { scroll-padding-top: 76px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
.sitio-barra { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.sitio-barra-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.marca { font-family: var(--display); font-size: 1.25rem; font-weight: 500; font-stretch: 80%; text-decoration: none; letter-spacing: -0.01em; }
.marca b { font-weight: 800; color: var(--core); }
.sitio-barra nav { display: flex; gap: 18px; align-items: center; font-size: 0.95rem; }
.sitio-barra nav a { text-decoration: none; color: var(--muted); }
.sitio-barra nav a:hover { color: var(--ink); }
.sitio-barra nav .nav-wa { color: var(--core-ink); background: var(--core); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
@media (max-width: 560px) { .sitio-barra nav a:not(.nav-wa) { display: none; } }
.pie-sitio { border-top: 1px solid var(--line); margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.pie-in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; color: var(--muted); font-size: 0.95rem;
  padding: 28px max(16px, env(safe-area-inset-right, 0px)) calc(96px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.wa-flotante { position: fixed; z-index: 30; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.5); }
.wa-flotante svg { width: 24px; height: 24px; fill: currentColor; }
.cta-wa { display: inline-block; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.cta-wa:hover { filter: brightness(1.08); }
.cta-wa.claro { background: var(--core-ink); color: var(--core); }
a.tarjeta { text-decoration: none; }
a.boton { text-decoration: none; display: inline-block; }
.otras a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); font-size: 0.9rem; text-decoration: none; }
.otras a:hover { border-color: var(--amber); }
.h-ficha { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.02; font-weight: 800; font-stretch: 75%; }
.pantalla:not(.activa) { animation: none; }
@media (max-width: 860px) { .ficha-cuerpo .telefono { order: -1; } }
.a-medida { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  border: 1px dashed var(--amber); border-radius: 14px; padding: 20px 22px; }
.a-medida > div { flex: 1 1 320px; }
.a-medida b { font-size: 1.15rem; }
.a-medida p { margin: 6px 0 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--mono); font-size: 0.7rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--bg); }
.tecnica ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tecnica li { position: relative; padding-left: 20px; font-size: 0.97rem; }
.tecnica li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.base-tec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.base-tec div { border-top: 2px solid var(--core); padding-top: 12px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.base-tec b { font-family: var(--display); font-stretch: 85%; font-size: 1.12rem; }
.base-tec p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .base-tec { grid-template-columns: minmax(0, 1fr); } .marco-in { height: 600px; } }
/* Texto de la ficha más contenido, para que el teléfono (las transacciones) sea lo que se mire */
.ficha-texto { font-size: 0.95rem; gap: 22px; }
.flujo li { font-size: 0.93rem; line-height: 1.5; padding-bottom: 10px; }
.tecnica li { font-size: 0.9rem; }
