/* Fuentes autoalojadas (subconjunto latin de Google Fonts): sin ida a otro origen ni CSS que bloquee el render. */
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 400 700; font-stretch: 62% 125%; font-display: swap; src: url(/fuentes/archivo-italic-400-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(/fuentes/archivo-normal-400-900.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fuentes/atkinson-hyperlegible-italic-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fuentes/atkinson-hyperlegible-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fuentes/atkinson-hyperlegible-normal-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* «¿A cómo?» — hoja de estilo. Tokens primero (los dos temas), luego componentes.
   Regla de la casa: nada arranca invisible. Las animaciones mueven, no ocultan. */
:root {
  --fondo: #F5F7F2; --fondo-2: #EAEFE6; --fondo-3: #FFFFFF;
  --tinta: #10201A; --tinta-2: #4E5E55; --linea: #CFD9CF; --linea-2: #E2E9E0;
  --verde: #155E3B; --verde-2: #1E7A4C; --verde-3: #2E9A63; --verde-claro: #DDEFE3; --verde-tinta: #0F3E28; --verde-texto: #FFFFFF;
  --lima: #C9F26B; --miel: #F2B950;
  --wa: #25D366; --wa-2: #128C7E; --wa-tinta: #073D2E; --wa-cab: #075E54; --wa-fondo: #E5DDD5; --wa-yo: #DCF8C6; --wa-check: #53BDEB;
  --sube: #B5441F; --sube-bg: #F9E3D9; --baja: #1B6E63; --baja-bg: #D9EFEA; --igual: #6B7570; --igual-bg: #E8ECE8;
  --pizarra: #10231A; --pizarra-2: #163223; --tiza: #F1F4EE; --tiza-2: #B8C9BE;
  --sombra: 0 18px 50px -24px rgba(16, 32, 26, .35);
  --radio: 14px; --radio-chico: 8px;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --cuerpo: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --ancho: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #0E1512; --fondo-2: #141E18; --fondo-3: #18241D;
    --tinta: #E8EEE7; --tinta-2: #A3B3A9; --linea: #2A382F; --linea-2: #1F2B25;
    --verde: #4CC98A; --verde-2: #6AD6A0; --verde-3: #8EE3B8; --verde-claro: #143728; --verde-tinta: #BFF0D5; --verde-texto: #0B130F;
    --wa-fondo: #0B141A; --wa-yo: #005C4B; --wa-cab: #1F2C34;
    --sube: #F08A66; --sube-bg: #3B1D14; --baja: #63C4B5; --baja-bg: #12332F; --igual: #98A69E; --igual-bg: #1F2A24;
    --pizarra: #0A120E; --pizarra-2: #10201A; --tiza: #EEF3EC; --tiza-2: #93A89A;
    --sombra: 0 18px 50px -24px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --fondo: #0E1512; --fondo-2: #141E18; --fondo-3: #18241D;
  --tinta: #E8EEE7; --tinta-2: #A3B3A9; --linea: #2A382F; --linea-2: #1F2B25;
  --verde: #4CC98A; --verde-2: #6AD6A0; --verde-3: #8EE3B8; --verde-claro: #143728; --verde-tinta: #BFF0D5; --verde-texto: #0B130F;
  --wa-fondo: #0B141A; --wa-yo: #005C4B; --wa-cab: #1F2C34;
  --sube: #F08A66; --sube-bg: #3B1D14; --baja: #63C4B5; --baja-bg: #12332F; --igual: #98A69E; --igual-bg: #1F2A24;
  --pizarra: #0A120E; --pizarra-2: #10201A; --tiza: #EEF3EC; --tiza-2: #93A89A;
  --sombra: 0 18px 50px -24px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--cuerpo); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--verde-2); }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.012em; line-height: 1.05; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .85em; color: var(--tinta-2); }
code { font-family: var(--mono); font-size: .9em; background: var(--fondo-2); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salto { position: absolute; left: -999px; top: 8px; background: var(--verde); color: var(--verde-texto); padding: 8px 12px; z-index: 100; }
.salto:focus { left: 8px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.silencio { color: var(--tinta-2); font-size: 15px; }
.ojo { font-family: var(--display); font-variation-settings: "wdth" 100; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); margin: 0 0 12px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--tinta-2); max-width: 62ch; text-wrap: pretty; }
.sub { font-size: 20px; margin: 28px 0 10px; }
.sub-chico { font-size: 16px; margin: 22px 0 8px; color: var(--tinta-2); }
.sub.sube { color: var(--sube); } .sub.baja { color: var(--baja); }

/* aviso de servicio degradado (último boletín guardado) */
.aviso-degradado { background: var(--miel); color: #2B1D02; font-weight: 700; padding: 10px clamp(16px, 4vw, 48px); font-size: 15px; }

/* ── cabecera ── */
.cab { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--fondo) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linea-2); }
.marca { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 900; font-size: 26px; color: var(--tinta); text-decoration: none; letter-spacing: -.02em; }
.marca-q { color: var(--verde); }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav > a { text-decoration: none; font-weight: 700; font-size: 15px; }
.nav > a:not(.btn) { color: var(--tinta); }
.nav > a:not(.btn):hover { color: var(--verde); }
.marca-pie { font-size: 22px; }

/* ── botones ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-family: var(--display); font-variation-settings: "wdth" 96; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primario { background: var(--verde); color: var(--verde-texto); }
.btn-primario:hover { background: var(--verde-2); color: var(--verde-texto); }
.btn-fantasma { background: transparent; color: var(--tinta); border-color: var(--linea); }
.btn-fantasma:hover { border-color: var(--tinta); color: var(--tinta); }
.btn-wa { background: var(--wa); color: var(--wa-tinta); }
.btn-wa:hover { background: #2EE07A; color: var(--wa-tinta); box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .8); }
.btn-chico { padding: 9px 14px; font-size: 14px; }
.cta-fila { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.enlace-chico { font-size: 14px; }

/* ── héroe ── */
.heroe { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 400px); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 88px); color: var(--tiza); overflow: hidden; isolation: isolate; }
.heroe-foto, .heroe-velo { position: absolute; inset: 0; z-index: -1; }
.heroe-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transform: scale(1.04); animation: foto-entra 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.heroe-velo { background: linear-gradient(100deg, rgba(8, 26, 17, .96) 0%, rgba(10, 34, 22, .9) 42%, rgba(10, 34, 22, .62) 70%, rgba(10, 34, 22, .45) 100%); }
.heroe .ojo { color: var(--lima); }
.titulo-heroe { font-size: clamp(42px, 6.8vw, 92px); font-weight: 900; font-variation-settings: "wdth" 72; line-height: .96; letter-spacing: -.015em; color: #fff; margin-bottom: .35em; }
/* palabra rotatoria: recorte en línea; la palabra vieja sale hacia arriba y la nueva entra desde abajo; nunca queda vacío */
.rota { display: inline-block; position: relative; vertical-align: bottom; color: var(--lima); border-bottom: 5px solid rgba(201, 242, 107, .55); padding: .04em 0 .1em; margin-bottom: -.06em; overflow: hidden; line-height: 1.02; }
.rota-in { display: inline-block; white-space: nowrap; }
.rota-in.sale { position: absolute; left: 0; top: 0; animation: rota-sale .42s cubic-bezier(.4, 0, .2, 1) forwards; }
.rota-in.entra { animation: rota-entra .46s cubic-bezier(.2, .8, .2, 1) both; }
.heroe .lede { color: var(--tiza-2); }
.heroe .btn-fantasma { color: #fff; border-color: rgba(255, 255, 255, .45); }
.heroe .btn-fantasma:hover { border-color: #fff; }
.confianza { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.confianza li { display: grid; gap: 1px; }
.confianza b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: #fff; line-height: 1.1; }
.confianza span { font-size: 13px; color: var(--tiza-2); }
.buscar { position: relative; display: flex; align-items: stretch; width: 100%; max-width: 520px; margin-top: 6px; }
.buscar input { flex: 1; min-width: 0; padding: 13px 16px; font: inherit; font-size: 16px; border: 2px solid var(--linea); border-right: 0; border-radius: 999px 0 0 999px; background: var(--fondo-3); color: var(--tinta); }
.buscar button { padding: 0 18px; border: 2px solid var(--verde); background: var(--verde); color: var(--verde-texto); border-radius: 0 999px 999px 0; font-size: 20px; cursor: pointer; }
.heroe .buscar input { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; }
.heroe .buscar input::placeholder { color: rgba(255, 255, 255, .6); }
.heroe .buscar { flex-basis: 100%; }
.buscar-grande input { font-size: 18px; padding: 16px 20px; }
.sugerencias { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--fondo-3); color: var(--tinta); border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; z-index: 40; }
.sugerencias a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; text-decoration: none; color: var(--tinta); border-top: 1px solid var(--linea-2); }
.sugerencias a:first-child { border-top: 0; }
.sugerencias a:hover, .sugerencias a.activa { background: var(--verde-claro); }
.sugerencias small { color: var(--tinta-2); }

/* teléfono del héroe: una conversación real de WhatsApp, pintada por el servidor */
.telefono { background: var(--wa-fondo); color: #111B21; border-radius: 28px; border: 8px solid #101613; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; width: 100%; max-width: 400px; justify-self: end; animation: telefono-entra .9s cubic-bezier(.2, .8, .2, 1) both; font-size: 14.5px; }
.tel-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--wa-cab); color: #fff; }
.tel-cab small { display: block; font-size: 12px; opacity: .85; color: #fff; }
.tel-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--lima); color: var(--verde-tinta); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 20px; }
.tel-puntos { margin-left: auto; font-size: 20px; opacity: .9; }
.tel-hilo { padding: 12px 10px 8px; display: flex; flex-direction: column; gap: 6px; min-height: 300px; background-image: radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px); background-size: 14px 14px; }
.tel-dia { align-self: center; background: rgba(255, 255, 255, .85); color: #54656F; font-size: 12px; padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; }
.tel-burbuja { position: relative; max-width: 92%; padding: 7px 10px 18px; border-radius: 10px; line-height: 1.4; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); overflow-wrap: anywhere; }
.tel-burbuja.yo { align-self: flex-end; background: var(--wa-yo); border-top-right-radius: 2px; }
.tel-burbuja.bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
:root:not([data-theme="light"]) .tel-burbuja.bot { background: #202C33; color: #E9EDEF; }
:root:not([data-theme="light"]) .tel-burbuja.yo { color: #E9EDEF; }
:root:not([data-theme="light"]) .tel-dia { background: #182229; color: #8696A0; }
.tel-hora { position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: #667781; }
.tel-check { font-style: normal; color: var(--wa-check); letter-spacing: -.12em; }
.tel-pie { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #F0F2F5; color: #8696A0; font-size: 14px; }
:root:not([data-theme="light"]) .tel-pie { background: #1F2C34; }

/* pizarra */
.bloque-pizarra { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 0; }
.pizarra { background: linear-gradient(160deg, var(--pizarra-2), var(--pizarra)); color: var(--tiza); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 18px 22px 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); }
.pizarra-cab { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--tiza-2); border-bottom: 1px dashed rgba(255, 255, 255, .2); padding-bottom: 10px; margin-bottom: 6px; }
.pizarra-fecha { color: var(--lima); }
.pizarra-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 28px; }
.pizarra-lista a { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 8px 0; color: var(--tiza); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pizarra-lista a:hover .pz-nombre { color: var(--lima); }
.pz-nombre { font-weight: 700; }
.pz-n { font-size: 11.5px; color: var(--tiza-2); font-weight: 400; margin-left: 6px; white-space: nowrap; }
.pizarra-lista li { transition: background .5s ease; border-radius: 6px; }
.pizarra-lista li.luz { background: rgba(201, 242, 107, .08); }
.var.sospechoso { color: var(--miel); background: rgba(242, 185, 80, .16); }
.pz-precio { font-family: var(--display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pizarra .var { background: transparent; padding: 0; font-size: 13px; }
.pizarra .var.sube { color: #FFB199; } .pizarra .var.baja { color: #8FE3D3; } .pizarra .var.igual { color: var(--tiza-2); }
.pizarra-pie { margin: 10px 0 0; font-size: 13px; color: var(--tiza-2); }
.pizarra-pie a { color: var(--lima); }

/* cinta */
.cinta { background: var(--verde-tinta); color: var(--tiza); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
:root:not([data-theme="light"]) .cinta { background: #0B1A12; }
.cinta-pista { display: flex; gap: 0; width: max-content; animation: cinta 60s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-item { padding: 9px 22px; border-right: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cinta-item b { font-family: var(--display); font-weight: 700; margin-right: 6px; }
.cinta-item i { font-style: normal; margin-left: 6px; }
.cinta-item i.sube { color: #FFB199; } .cinta-item i.baja { color: #8FE3D3; } .cinta-item i.igual { color: var(--tiza-2); }

/* ── bloques ── */
.bloque { max-width: var(--ancho); margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.bloque-suave { max-width: none; background: var(--fondo-2); }
.bloque-suave > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }
.bloque-cab { margin-bottom: 26px; max-width: 70ch; }
.bloque-cab-pagina { padding-bottom: 12px; }
.miga { font-size: 14px; color: var(--tinta-2); margin-bottom: 14px; }
.miga a { color: var(--tinta-2); }

/* variaciones */
.var { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.var.sube { color: var(--sube); background: var(--sube-bg); }
.var.baja { color: var(--baja); background: var(--baja-bg); }
.var.igual, .var.vacia { color: var(--igual); background: var(--igual-bg); }
i.sube { color: var(--sube); font-style: normal; } i.baja { color: var(--baja); font-style: normal; } i.igual { color: var(--igual); font-style: normal; }

/* chat interactivo, con la piel de WhatsApp */
.chat { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.chat-tel { background: var(--wa-fondo); border: 8px solid #101613; border-radius: 28px; box-shadow: var(--sombra); overflow: hidden; display: flex; flex-direction: column; min-height: 580px; color: #111B21; }
.chat-cab { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--wa-cab); color: #fff; }
.chat-cab small { display: block; opacity: .85; font-size: 12px; color: #fff; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--lima); color: var(--verde-tinta); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 22px; }
.chat-hilo { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 460px; background-image: radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px); background-size: 14px 14px; }
.burbuja { position: relative; max-width: 90%; padding: 7px 10px 18px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; animation: burbuja .28s cubic-bezier(.2, .8, .2, 1) both; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); }
.burbuja.bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.burbuja.yo { align-self: flex-end; background: var(--wa-yo); border-top-right-radius: 2px; }
.burbuja a { word-break: break-all; }
.b-hora { position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: #54656F; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .burbuja.bot { background: #202C33; color: #E9EDEF; }
  :root:not([data-theme="light"]) .burbuja.yo { color: #E9EDEF; }
  :root:not([data-theme="light"]) .burbuja.bot .b-hora { color: #8696A0; }
  :root:not([data-theme="light"]) .burbuja.yo .b-hora { color: #A6D6C8; }
}
:root[data-theme="dark"] .burbuja.bot { background: #202C33; color: #E9EDEF; }
:root[data-theme="dark"] .burbuja.yo { color: #E9EDEF; }
:root[data-theme="dark"] .burbuja.bot .b-hora { color: #8696A0; }
:root[data-theme="dark"] .burbuja.yo .b-hora { color: #A6D6C8; }
.b-check { font-style: normal; color: var(--wa-check); letter-spacing: -.12em; }
.burbuja.escribiendo { display: inline-flex; gap: 5px; padding: 12px 14px; }
.burbuja.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: punto 1.1s infinite ease-in-out; }
.burbuja.escribiendo i:nth-child(2) { animation-delay: .15s } .burbuja.escribiendo i:nth-child(3) { animation-delay: .3s }
.chat-chips { display: flex; gap: 8px; padding: 10px 10px 0; overflow-x: auto; scrollbar-width: none; background: #F0F2F5; }
:root:not([data-theme="light"]) .chat-chips { background: #1F2C34; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: none; border: 1px solid var(--linea); background: var(--fondo-3); color: var(--tinta); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chat-chips button:hover { border-color: var(--verde); color: var(--verde); }
.chat-form { display: flex; gap: 8px; padding: 10px; background: #F0F2F5; }
:root:not([data-theme="light"]) .chat-form { background: #1F2C34; }
.chat-form input { flex: 1; min-width: 0; padding: 12px 16px; border: 0; border-radius: 999px; font: inherit; background: #fff; color: #111B21; }
:root:not([data-theme="light"]) .chat-form input { background: #2A3942; color: #E9EDEF; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wa-2); color: #fff; font-size: 18px; cursor: pointer; }
.chat-lado h3 { margin-top: 8px; }
.lista-pasos { padding-left: 20px; margin: 0 0 18px; }
.lista-pasos li { margin-bottom: 10px; }

/* movimientos y destacados */
.dos-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: 36px; }
.lista-mov { list-style: none; margin: 0; padding: 0; }
.lista-mov li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea-2); }
.lista-mov a { font-weight: 700; text-decoration: none; color: var(--tinta); }
.lista-mov a:hover { color: var(--verde); }
.lista-mov span { font-variant-numeric: tabular-nums; color: var(--tinta-2); }
.rejilla-destacados { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.destacado { display: grid; gap: 6px; padding: 16px 16px 12px; background: var(--fondo-3); border: 1px solid var(--linea); border-radius: var(--radio); text-decoration: none; color: var(--tinta); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.destacado:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--verde-3); }
.dest-nombre { font-weight: 700; font-size: 15px; }
.dest-precio { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dest-precio small { font-size: 13px; font-weight: 400; color: var(--tinta-2); margin-left: 2px; }
.dest-pie { font-size: 12.5px; color: var(--tinta-2); }
.spark { width: 100%; height: auto; overflow: visible; color: var(--verde-2); }
.spark.sube { color: var(--sube); } .spark.baja { color: var(--baja); }
.spark-linea { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.spark-area { fill: currentColor; opacity: .12; }
.spark-fin { fill: currentColor; }

/* pasos */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 3vw, 36px); }
.pasos li { position: relative; padding-top: 6px; }
.paso-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--verde); color: var(--verde-texto); font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.pasos p { color: var(--tinta-2); font-size: 15.5px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--linea); border-radius: 999px; background: var(--fondo-3); color: var(--tinta); text-decoration: none; font-size: 14px; transition: border-color .15s, color .15s, transform .15s; }
.chip:hover { border-color: var(--verde); color: var(--verde); transform: translateY(-1px); }
.chip-diario::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde-3); }
.chip-mas { border-style: dashed; color: var(--verde); }

/* planes */
.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 26px 24px; background: var(--fondo-3); border: 1px solid var(--linea); border-radius: 18px; }
.plan h3 { font-size: 26px; margin: 0 0 4px; }
.plan-etiqueta { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); font-weight: 700; margin: 0 0 6px; }
.plan-precio { font-family: var(--display); font-weight: 900; font-size: 40px; letter-spacing: -.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.plan-precio small { font-size: 16px; font-weight: 400; color: var(--tinta-2); margin-left: 4px; }
.plan-alt { font-size: 14px; color: var(--tinta-2); }
.plan ul { padding-left: 20px; margin: 12px 0 22px; flex: 1; }
.plan li { margin-bottom: 8px; }
.plan-destacado { border: 2px solid var(--verde); box-shadow: var(--sombra); position: relative; }
.plan .btn { align-self: flex-start; }

/* tablas */
.tabla-envoltura { overflow-x: auto; border: 1px solid var(--linea); border-radius: var(--radio-chico); background: var(--fondo-3); margin: 0 0 12px; }
.tabla { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tabla th { text-align: left; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); padding: 12px 14px; border-bottom: 1px solid var(--linea); white-space: nowrap; background: var(--fondo-2); position: sticky; top: 0; }
.tabla td { padding: 10px 14px; border-bottom: 1px solid var(--linea-2); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tbody tr:hover td { background: var(--verde-claro); }
.tabla a { text-decoration: none; font-weight: 700; color: var(--tinta); }
.tabla a:hover { color: var(--verde); }
.tabla-chica { font-size: 14px; }
.tabla .enlace-chico { white-space: nowrap; }
@media (max-width: 640px) { .col-extra { display: none; } }
.fila-sel td { background: var(--verde-claro); }
.grupo-semanal { border: 1px solid var(--linea); border-radius: var(--radio-chico); background: var(--fondo-3); margin-bottom: 10px; padding: 0 14px; }
.grupo-semanal summary { cursor: pointer; padding: 12px 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.grupo-semanal .tabla-envoltura { border: 0; margin-bottom: 8px; }

/* cifras */
.resumen-cifras { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 8px 0 6px; }
.cifra { display: grid; gap: 2px; }
.cifra-n { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.cifra-l { font-size: 13.5px; color: var(--tinta-2); max-width: 26ch; }

/* gráfica */
.grafica { position: relative; background: var(--fondo-3); border: 1px solid var(--linea); border-radius: var(--radio); padding: 12px 8px 4px; margin-bottom: 20px; }
.grafica svg { display: block; width: 100%; height: auto; font-family: var(--cuerpo); }
.gr-grid { stroke: var(--linea-2); stroke-width: 1; }
.gr-tick { font-size: 12px; fill: var(--tinta-2); font-variant-numeric: tabular-nums; }
.gr-linea { fill: none; stroke: var(--verde-2); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.gr-area { fill: var(--verde-2); opacity: .1; }
.gr-banda { fill: var(--verde-2); opacity: .13; }
.gr-fin { fill: var(--verde-2); stroke: var(--fondo-3); stroke-width: 2; }
.gr-punto { fill: transparent; cursor: crosshair; }
.gr-punto:hover, .gr-punto.activo { fill: var(--verde-2); fill-opacity: .35; }
.gr-tip { position: absolute; pointer-events: none; background: var(--tinta); color: var(--fondo); font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -120%); box-shadow: var(--sombra); font-variant-numeric: tabular-nums; }
.js .gr-linea.dibuja { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dibujar 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.selector { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; margin-top: 4px; }
.selector select { font: inherit; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--linea); background: var(--fondo-3); color: var(--tinta); max-width: 320px; }

/* plazas */
.rejilla-plazas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.plaza-tarjeta { display: grid; gap: 2px; padding: 16px; background: var(--fondo-3); border: 1px solid var(--linea); border-radius: var(--radio-chico); text-decoration: none; color: var(--tinta); transition: transform .18s, border-color .18s; }
.plaza-tarjeta:hover { transform: translateY(-2px); border-color: var(--verde-3); }
.plaza-tarjeta b { font-family: var(--display); font-size: 19px; }
.plaza-tarjeta span { font-size: 13.5px; color: var(--tinta-2); }

/* formularios */
.form { display: grid; gap: 14px; max-width: 640px; }
.form-corto { max-width: 360px; }
.form-linea { display: inline; }
.campo { display: grid; gap: 6px; font-size: 14px; color: var(--tinta-2); }
.campo-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.campo input, .campo select, .campo textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--linea); border-radius: 10px; background: var(--fondo-3); color: var(--tinta); width: 100%; }
.campo textarea { resize: vertical; }
.aviso-ok { background: var(--baja-bg); color: var(--baja); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.aviso-error { background: var(--sube-bg); color: var(--sube); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.activar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.activar-precio { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 4px 0 0; }
.activar-lado { background: var(--fondo-3); border: 1px solid var(--linea); border-radius: var(--radio); padding: 20px 22px; }
.pago-manual { display: grid; gap: 8px; padding: 14px 16px; background: var(--fondo-3); border: 1px dashed var(--verde); border-radius: var(--radio-chico); margin-top: 10px; font-size: 15px; }
.pago-manual b { font-family: var(--mono); font-size: 15px; }

/* documentación de la API */
.prosa-api { max-width: 78ch; }
.prosa-api h2 { font-size: 24px; margin-top: 34px; }
.prosa-api h3 { font-size: 17px; margin-top: 22px; }
.codigo { background: var(--pizarra); color: var(--tiza); padding: 14px 16px; border-radius: var(--radio-chico); overflow-x: auto; font-size: 13.5px; line-height: 1.5; margin: 8px 0 14px; }
.codigo code { background: transparent; color: inherit; padding: 0; font-size: inherit; }

/* faq y prosa */
.faq { max-width: 70ch; }
.faq details { border-bottom: 1px solid var(--linea); padding: 12px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--verde); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 4px; color: var(--tinta-2); }
.prosa { max-width: 70ch; }
.prosa h2 { font-size: 24px; margin-top: 30px; }
.lista-simple { padding-left: 18px; }
.lista-simple li { margin-bottom: 6px; }

/* pie */
.pie { max-width: var(--ancho); margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; border-top: 1px solid var(--linea); font-size: 14.5px; color: var(--tinta-2); }
.pie a { color: var(--tinta-2); }
.pie a:hover { color: var(--verde); }

/* asentamiento: solo movimiento; el contenido es visible desde el primer fotograma */
.js .rv { transform: translateY(14px); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { transform: none; }

/* ── animaciones (ninguna parte de opacidad 0 sobre contenido que se lee) ── */
@keyframes foto-entra { from { transform: scale(1.12); filter: saturate(.6) } to { transform: scale(1.04); filter: saturate(1) } }
@keyframes telefono-entra { from { transform: translateY(26px) rotate(1.2deg) } to { transform: none } }
@keyframes rota-sale { to { transform: translateY(-110%) } }
@keyframes rota-entra { from { transform: translateY(110%) } to { transform: none } }
@keyframes cinta { to { transform: translateX(-50%) } }
@keyframes burbuja { from { transform: translateY(8px) scale(.97) } to { transform: none } }
@keyframes punto { 0%, 60%, 100% { transform: translateY(0); opacity: .5 } 30% { transform: translateY(-4px); opacity: 1 } }
@keyframes dibujar { to { stroke-dashoffset: 0 } }

@media (max-width: 900px) {
  .heroe { grid-template-columns: 1fr; }
  .telefono { justify-self: stretch; max-width: none; }
  .chat { grid-template-columns: 1fr; }
  .activar { grid-template-columns: 1fr; }
  .nav > a:not(.btn) { display: none; }
  .titulo-heroe { font-size: clamp(40px, 12vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .cinta-pista { animation: none; }
  .js .rv { transform: none; }
}
