/* AB.TOPO · sitio web. Tema oscuro (decisión del cliente, 2026-10-07): fondo casi negro y el verde de la marca.
   Tipografías en el mismo sitio (SIL Open Font License, ver fuentes/OFL.txt): Barlow, Barlow Condensed e IBM Plex Mono.
   Sin recursos de terceros: ni fuentes, ni scripts, ni estadísticas externas. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fuentes/Barlow-400-latin.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: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fuentes/Barlow-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fuentes/Barlow-500-latin.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fuentes/Barlow-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fuentes/Barlow-600-latin.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fuentes/Barlow-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fuentes/BarlowCondensed-600-latin.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fuentes/BarlowCondensed-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fuentes/BarlowCondensed-700-latin.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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fuentes/BarlowCondensed-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fuentes/IBMPlexMono-400-latin.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fuentes/IBMPlexMono-500-latin.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; }

:root {
  color-scheme: dark;
  --bg: #0D1412;
  --bg-2: #121C19;
  --bg-3: #16221E;
  --line: #22322D;
  --line-2: #2E423C;
  --fg: #E3EBE7;
  --fg-2: #C9D6D0;
  --muted: #93A59E;
  --accent: #3FB27F;
  --accent-2: #5CC995;
  --accent-soft: rgba(63, 178, 127, .12);
  --accent-ink: #062016;
  --warn: #D9B25A;
  --f-display: "Barlow Condensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --wrap: 1160px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--f-body); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.32rem; font-weight: 600; }
p { margin: 0; }
strong, b { font-weight: 600; }
kbd { font: 500 .85em/1 var(--f-mono); padding: 2px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; color: var(--fg); }
code { font: 400 .9em var(--f-mono); color: var(--fg); overflow-wrap: anywhere; }
/* direcciones y textos largos: que se corten antes de ensanchar la página en un celular */
.caja, .fila-texto, .sec-head, .legal > * { min-width: 0; }
.legal p, .legal li, .correo-grande a { overflow-wrap: anywhere; }

/* margen lateral que también deja libre la muesca o la barra del sistema de un celular de lado */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (max-width: 560px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.saltar { position: absolute; left: -9999px; top: 0; }
.saltar:focus { left: 16px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 4px; text-decoration: none; }
.eyebrow { font: 500 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); display: flex; gap: .6em; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }
.lead { color: var(--muted); font-size: 1.14rem; max-width: 64ch; }
.nota-corta { color: var(--muted); font-size: .9rem; }
.mono { font-family: var(--f-mono); }

/* barra superior */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13, 20, 18, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px 28px; min-height: 68px; }
.marca { flex: none; margin-right: auto; }
.marca img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.top-cta { flex: none; }
@media (max-width: 780px) {
  .top-in { flex-wrap: wrap; padding-block: 10px 6px; min-height: 0; gap: 6px 16px; }
  .top-cta { order: 2; }
  .nav { order: 3; width: 100%; gap: 20px; overflow-x: auto; scrollbar-width: none; padding-block: 4px 6px; }
  .nav::-webkit-scrollbar { display: none; }
  .marca img { height: 34px; }
}

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1.1 var(--f-body); padding: 14px 22px; border-radius: var(--r); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--fg); }
.btn.sm { padding: 9px 14px; font-size: .92rem; }
.btn.lg { padding: 18px 28px; font-size: 1.12rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* secciones */
section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 780px; }
.sec-head.centro { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.siguiente { margin-top: clamp(48px, 7vw, 84px); }

/* héroe */
.hero { padding-block: clamp(36px, 6vw, 84px); background: radial-gradient(1100px 520px at 88% -12%, rgba(63, 178, 127, .11), transparent 62%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-corto { padding-block: clamp(36px, 5vw, 64px); }
.hero-corto .wrap { display: grid; gap: 18px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.ventana { margin: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 80px -34px rgba(0, 0, 0, .85); }
.ventana a { display: block; }
.ventana figcaption { padding: 10px 14px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }

.datos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 60px); border-top: 1px solid var(--line-2); }
.datos div { padding: 18px 20px 2px 0; color: var(--muted); font-size: .92rem; }
.datos div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.datos b { display: block; font: 700 1.38rem/1.15 var(--f-display); color: var(--fg); margin-bottom: 4px; }
@media (max-width: 860px) {
  .datos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datos div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .datos { grid-template-columns: minmax(0, 1fr); }
  .datos div, .datos div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* pasos del flujo */
.flujo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: paso; }
.flujo li { border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px 20px; display: grid; gap: 10px; align-content: start; background: var(--bg-2); counter-increment: paso; }
.flujo li::before { content: counter(paso, decimal-leading-zero); font: 500 .8rem/1 var(--f-mono); color: var(--accent); letter-spacing: .08em; }
.flujo h3 { font-size: 1.28rem; }
.flujo p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .flujo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flujo { grid-template-columns: minmax(0, 1fr); } }

/* tarjetas de funciones */
.tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tarjetas article { background: var(--bg); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.tarjetas .ico { width: 34px; height: 34px; color: var(--accent); }
.tarjetas p { color: var(--muted); font-size: .97rem; }
.tarjetas a { font-size: .92rem; text-decoration: none; }
.mas { margin-top: 22px; }
@media (max-width: 960px) { .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tarjetas { grid-template-columns: minmax(0, 1fr); } }

/* dos columnas y listas */
.dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .dos { grid-template-columns: minmax(0, 1fr); } }
.lista-ok { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lista-ok li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.lista-ok li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); margin: 9px 0 0 4px; }
.lista-ok b { color: var(--fg); }

/* tablas */
.tabla { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 1.05rem/1.2 var(--f-display); letter-spacing: .02em; background: var(--bg-2); }
tbody th { font-weight: 500; color: var(--muted); }
tbody td { color: var(--fg-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* galería */
.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.galeria figure { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.galeria a { display: block; overflow: hidden; }
.galeria img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; transition: transform .3s; }
.galeria a:hover img { transform: scale(1.025); }
.galeria img.centro { object-position: center; }
.galeria figcaption { padding: 12px 14px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .galeria { grid-template-columns: minmax(0, 1fr); } }

/* cajas */
.caja { border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); background: var(--bg-2); display: grid; gap: 16px; align-content: start; }
.caja.acento { border-color: rgba(63, 178, 127, .5); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--bg-2); }
.caja h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.caja p { color: var(--fg-2); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.pasos li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--fg-2); counter-increment: s; }
.pasos li::before { content: counter(s); font: 500 .85rem/28px var(--f-mono); text-align: center; border: 1px solid var(--line-2); border-radius: 50%; width: 30px; height: 30px; color: var(--accent); }
.pasos b { color: var(--fg); }
.limites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.limites div { border: 1px solid var(--line); border-radius: 6px; padding: 12px 8px; text-align: center; background: rgba(13, 20, 18, .5); }
.limites b { display: block; font: 700 1.6rem/1.1 var(--f-display); color: var(--fg); }
.limites span { font-size: .82rem; color: var(--muted); }
@media (max-width: 400px) { .limites { grid-template-columns: minmax(0, 1fr); } }

/* preguntas */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.faq .sec-head { margin: 0; align-content: start; }
.faq-lista { border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 1.2rem/1.3 var(--f-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.5rem/1 var(--f-mono); color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* banda de contacto */
.banda { background: linear-gradient(90deg, rgba(63, 178, 127, .14), rgba(63, 178, 127, .03)); border-block: 1px solid rgba(63, 178, 127, .32); padding-block: clamp(40px, 6vw, 64px); }
.banda .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.banda .wrap > div { display: grid; gap: 8px; }
.banda h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.correo-grande { font: 500 clamp(1.05rem, 2.4vw, 1.45rem)/1.3 var(--f-mono); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.correo-grande a { word-break: break-all; }

/* funciones */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { font: 500 .82rem/1 var(--f-mono); padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); text-decoration: none; }
.subnav a:hover { color: var(--fg); border-color: var(--accent); }
.fila { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.fila.inv > :first-child { order: 2; }
.fila-texto { display: grid; gap: 16px; }
.fila-texto ul { margin: 0; padding-left: 1.15em; color: var(--muted); display: grid; gap: 8px; }
.fila-texto li::marker { color: var(--accent); }
.fila-texto li b { color: var(--fg); }
.norma { font: 500 .78rem/1.4 var(--f-mono); color: var(--warn); }
.fila-sola { max-width: 860px; }
@media (max-width: 900px) {
  .fila, .fila.inv { grid-template-columns: minmax(0, 1fr); }
  .fila.inv > :first-child { order: 0; }
}
.miniaturas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.miniaturas a { display: block; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: #fff; }
.miniaturas span { display: block; font: 500 .75rem/1.2 var(--f-mono); color: var(--muted); padding: 6px 2px 0; }
@media (max-width: 560px) { .miniaturas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* descargar */
.descarga { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.descarga .caja { align-content: center; }
.ficha { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; font-size: .95rem; }
.ficha dt { color: var(--muted); }
.ficha dd { margin: 0; color: var(--fg-2); }
.hash { font: 400 .78rem/1.5 var(--f-mono); word-break: break-all; color: var(--fg-2); }
.aviso { border: 1px solid rgba(217, 178, 90, .45); background: rgba(217, 178, 90, .07); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 8px; color: var(--fg-2); }
.aviso .t { font: 500 .76rem/1 var(--f-mono); color: var(--warn); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .descarga { grid-template-columns: minmax(0, 1fr); } }

/* novedades */
.versiones { display: grid; border-left: 2px solid var(--line-2); margin-left: 6px; max-width: 880px; }
.versiones article { position: relative; padding: 0 0 34px 28px; display: grid; gap: 8px; }
.versiones article:last-child { padding-bottom: 0; }
.versiones article::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.versiones article.actual::before { border-color: var(--accent); background: var(--accent); }
.versiones h2 { font-size: 1.5rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.versiones time { font: 500 .8rem/1 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.versiones p { color: var(--fg-2); max-width: 78ch; }
.etiqueta { font: 500 .7rem/1 var(--f-mono); color: var(--accent-ink); background: var(--accent); padding: 4px 7px; border-radius: 3px; letter-spacing: .06em; text-transform: uppercase; }

/* textos legales */
.legal { max-width: 80ch; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: .02em; }
.legal h2 { font-size: 1.16rem; letter-spacing: .05em; margin-top: 22px; }
.legal p, .legal li { color: var(--fg-2); }
.legal .sub { color: var(--muted); font: 500 .85rem/1.5 var(--f-mono); }
.legal ul { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.legal .clausula b:first-child { color: var(--fg); font-family: var(--f-mono); font-weight: 500; font-size: .92em; margin-right: 6px; }
.legal mark { background: rgba(217, 178, 90, .18); color: var(--warn); padding: 0 3px; border-radius: 3px; }
.legal pre { white-space: pre-wrap; font: 400 .84rem/1.55 var(--f-mono); color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 14px; margin: 0; }
.legal .indice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

/* pie */
.pie { padding-block: 52px 40px; color: var(--muted); font-size: .93rem; }
.pie-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.pie h2 { font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--fg); margin-bottom: 12px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie a { color: var(--muted); text-decoration: none; }
.pie a:hover { color: var(--accent); }
.pie-marca img { width: 176px; margin-bottom: 14px; }
.pie-marca p { max-width: 46ch; }
.aviso-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .85rem; }
.aviso-legal strong { color: var(--fg); }
@media (max-width: 860px) {
  .pie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .pie-grid { grid-template-columns: minmax(0, 1fr); } }

/* utilidades */
.copiar { font: 500 .72rem/1 var(--f-mono); padding: 6px 9px; background: transparent; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); cursor: pointer; }
.copiar:hover { color: var(--fg); border-color: var(--accent); }
.arroba { color: var(--muted); }
.error404 { min-height: 50vh; display: grid; align-content: center; gap: 18px; }

/* precios (2026-11-08) */
.precios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .precios { grid-template-columns: minmax(0, 1fr); } }
.precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.precio b { font: 700 clamp(2.2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--fg); letter-spacing: .01em; }
.precio span { color: var(--muted); }
.precios .lista-ok { gap: 10px; font-size: .95rem; }
.precios .cta { margin-top: auto; }

/* informes en hoja vertical: no más altos que la pantalla */
.ventana img.hoja { max-height: min(78vh, 760px); width: auto; margin-inline: auto; }

/* botón flotante de WhatsApp: abajo a la derecha, sin tapar el pie (el cuerpo deja su alto libre al final) */
.wsp { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.wsp:hover, .wsp:focus-visible { background: #25C063; color: #fff; }
.wsp:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wsp svg { width: 26px; height: 26px; flex: none; }
body { padding-bottom: 76px; }
@media (max-width: 560px) { .wsp { padding: 12px; } .wsp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media print { .wsp { display: none; } body { padding-bottom: 0; } }
/* tabla de periodos de cada plan (mensual, trimestral, anual) */
.periodos { width: 100%; border-collapse: collapse; font-size: .92rem; }
.periodos th, .periodos td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.periodos thead th { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.periodos tbody th { color: var(--fg-2); font-weight: 500; }
.periodos td b { font: 700 1.35rem/1.1 var(--f-display); color: var(--fg); }
.periodos td:last-child { color: var(--muted); font-size: .84rem; }
@media (max-width: 400px) { .periodos thead { display: none; } .periodos tr { display: grid; grid-template-columns: 1fr auto; } .periodos td:last-child { grid-column: 1 / -1; padding-top: 0; } }
.periodos td s { color: var(--muted); font-size: .85rem; margin-right: 4px; }
.aviso.lanzamiento { border-color: rgba(63, 178, 127, .5); background: var(--accent-soft); margin-top: 18px; max-width: 760px; }
@media (min-width: 981px) { .precios { grid-template-columns: repeat(2, minmax(0, 1fr)); } .precios > .caja:nth-child(3) { grid-column: 1 / -1; } }
.periodos td:nth-child(2) { white-space: nowrap; }
@media (max-width: 400px) { .periodos td:nth-child(2) { white-space: normal; } }

/* formulario antes de descargar (2026-11-08): sin JavaScript funciona igual (envío normal al servidor, que redirige al instalador) */
.formulario { display: grid; gap: 12px; }
.formulario .campo { display: grid; gap: 4px; }
.formulario label { font-size: .92rem; color: var(--fg-2); }
.formulario .req, .formulario .opc { color: var(--muted); font-size: .82rem; }
.formulario input[type=text], .formulario input[type=email], .formulario input[type=tel] { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 12px; }
.formulario input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.formulario .casilla { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.formulario .casilla input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.formulario .trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulario button.btn { border: 0; cursor: pointer; font: inherit; }