/* Portada, dirección «2 + 8» (2026-11-27, aprobada por Cristian): arriba, como DroneDeploy, la foto real del terreno (ortomosaico de
   dron) con el diseño de AB.TOPO de esa misma intersección dibujándose encima y el título en tinta; abajo, como Framer, secciones
   oscuras donde el programa aparece encendido (borde fino luminoso y un brillo sutil en el verde de AB.TOPO). Textos y cifras de
   Cristian. Barlow (SIL OFL, autohospedada). Todo aquí y en js/portada.js: la CSP no deja estilos ni scripts dentro del HTML. */
@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: 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; }

:root {
  --papel: #F6F4EE;              /* el velo claro sobre la foto */
  --tinta: #101614;
  --tinta-2: #3D4844;            /* 9:1 sobre el papel */
  --verde: #1F7A52;              /* verde de AB.TOPO como texto sobre claro: 5,3:1 */
  --noche: #0B100E;              /* el fondo oscuro */
  --noche-2: #121A17;
  --noche-3: #17221E;
  --sobre-noche: #E8EEEB;
  --sobre-noche-2: #A9B6B1;      /* 8,4:1 */
  --menta: #6EE7B7;              /* verde sobre oscuro: 12:1 */
  --menta-2: #A7F3D0;
  --verde-luz: rgba(46, 158, 107, 0.5);
  --borde-luz: rgba(110, 231, 183, 0.42);
  --linea-noche: rgba(255, 255, 255, 0.1);
  --borde-control: rgba(255, 255, 255, 0.42);   /* 3,4:1 sobre la noche */
  --gris-barra: #5E6B66;
  --blanco: #FFFFFF;
  --seleccion: rgba(46, 158, 107, 0.4);
  --velo-pastilla: rgba(11, 16, 14, 0.82);
  --f: "Barlow", "Segoe UI", system-ui, sans-serif;
  --t-display: clamp(3rem, 1.4rem + 5vw, 6rem);
  --t-grande: clamp(2.6rem, 1.2rem + 4.4vw, 5.25rem);
  --t-h2: clamp(2.2rem, 1.3rem + 3vw, 3.75rem);
  --t-h3: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  --t-gigante: clamp(5rem, 2rem + 10vw, 11rem);
  --t-lead: 1.125rem;
  --t-small: 0.9375rem;
  --t-xs: 0.875rem;
  --anillo: var(--menta);
  --tactil: 44px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #2E9E6B var(--noche); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); font-size: 17px; line-height: 1.6; color: var(--sobre-noche); background: var(--noche); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--seleccion); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--anillo); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; color: var(--blanco); }
p, li, figcaption, summary, dd { text-wrap: pretty; }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { width: 20px; height: 20px; fill: currentColor; stroke: none; flex-shrink: 0; }
.sprite { display: none; }
.ancho, .container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.skip-link { position: absolute; left: -9999px; min-height: var(--tactil); display: inline-flex; align-items: center; background: var(--menta); color: var(--noche); padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 16px; top: 16px; border-radius: 6px; }

/* ---------- encabezado: sobre la foto al inicio, sólido al bajar ---------- */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s; }
.barra.solida { background: rgba(11, 16, 14, 0.97); box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.7); }
.barra-dentro { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; min-height: var(--tactil); margin-right: auto; border-radius: 10px; }
.logo img { height: 38px; width: auto; }
.barra:not(.solida) .logo { background: var(--tinta); padding: 6px 12px; }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(16, 22, 20, 0.82); }
.nav a { color: var(--sobre-noche); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, 0.12); color: var(--blanco); }
.barra.solida .nav { background: transparent; }
.nav-solo-movil { display: none !important; }
.menu { display: none; place-items: center; width: var(--tactil); height: var(--tactil); border-radius: 999px; border: 0; background: var(--tinta); color: var(--blanco); cursor: pointer; }
.menu .ico-cerrar { display: none; }
.menu[aria-expanded="true"] .ico-menu { display: none; }
.menu[aria-expanded="true"] .ico-cerrar { display: block; }

/* ---------- botones redondeados (el 2) ---------- */
.boton, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.boton:hover, .btn:hover { transform: translateY(-1px); }
.boton:active, .btn:active { transform: none; }
.boton-chico { min-height: var(--tactil); padding: 0 20px; font-size: 15px; }
.boton-tinta { background: var(--tinta); color: var(--blanco); }
.boton-tinta:hover { background: var(--verde); }
.boton-borde { border-color: var(--tinta); color: var(--tinta); background: rgba(246, 244, 238, 0.6); }
.boton-borde:hover { background: var(--tinta); color: var(--blanco); }
.boton-claro, .btn-primary { background: var(--blanco); color: var(--tinta); }
.boton-claro:hover, .btn-primary:hover { background: var(--menta); }
.boton-borde-claro, .btn-outline-light, .btn-outline-dark { border-color: var(--borde-control); color: var(--blanco); background: transparent; }
.boton-borde-claro:hover, .btn-outline-light:hover, .btn-outline-dark:hover { border-color: var(--menta); color: var(--menta); }
.btn-lg { min-height: 56px; }
.btn-ancho { width: 100%; }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.7; transform: none; }
.btn[aria-disabled="true"]:hover { border-color: var(--borde-control); color: var(--blanco); }
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tactil); color: var(--menta); font-weight: 600; text-decoration: none; border-radius: 6px; }
.enlace-flecha:hover { text-decoration: underline; text-underline-offset: 4px; }
.enlace-flecha .ico { width: 16px; height: 16px; transition: transform .2s; }
.enlace-flecha:hover .ico { transform: translateX(3px); }
.kicker { display: inline-block; color: var(--menta); font-weight: 600; font-size: var(--t-small); margin-bottom: 12px; }
kbd { background: var(--noche-3); border: 1px solid var(--borde-control); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-size: .85em; font-family: "Cascadia Mono", Consolas, monospace; color: var(--blanco); }

/* ---------- primer viewport: la foto real a sangre y el diseño encima ---------- */
.portada { position: relative; min-height: min(100vh, 980px); display: flex; align-items: center; overflow: hidden; background: var(--papel); isolation: isolate; color: var(--tinta); --anillo: var(--verde); }
.portada-foto { position: absolute; inset: 0; z-index: -3; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.diseno { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.diseno-celular { display: none; }
.diseno path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: trazar 2.2s cubic-bezier(.16, 1, .3, 1) both; }
.diseno .t-relleno { stroke: #36D07A; stroke-width: 1.6; animation-delay: .2s; }
.diseno .t-corte { stroke: #FF5A4A; stroke-width: 1.6; animation-delay: .2s; }
.diseno .t-borde { stroke: #FFFFFF; stroke-width: 2.2; animation-delay: .6s; }
.diseno .t-sap { stroke: #FFFFFF; stroke-width: 1.2; stroke-dasharray: 6 6; animation: aparecer-sap 1.2s ease .9s both; }
.diseno .t-eje { stroke: #4ADE80; stroke-width: 3.2; animation-delay: 1.1s; animation-duration: 2.6s; }
@keyframes trazar { from { stroke-dashoffset: 1; } }
@keyframes aparecer-sap { from { opacity: 0; } }
/* el velo claro deja leer el título a la izquierda y la obra a la derecha */
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246, 244, 238, 0.95) 0%, rgba(246, 244, 238, 0.88) 34%, rgba(246, 244, 238, 0.35) 58%, rgba(246, 244, 238, 0) 76%); }
.portada-dentro { padding-top: 120px; padding-bottom: 96px; width: 100%; }
.sello { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--verde); margin-bottom: 20px; }
.sello::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.portada h1 { font-size: var(--t-display); line-height: 0.96; max-width: 11ch; letter-spacing: -0.04em; color: var(--tinta); }
.portada h1 span { color: var(--verde); }
.bajada { margin-top: 24px; max-width: 46ch; font-size: var(--t-lead); color: var(--tinta-2); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.version { margin-top: 18px; font-size: 14px; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.pie-foto { position: absolute; right: 24px; bottom: 20px; font-size: 13px; color: var(--blanco); background: var(--velo-pastilla); padding: 6px 12px; border-radius: 999px; }

/* ---------- las secciones oscuras (el 8) ---------- */
.oscuro, .section { background: var(--noche); color: var(--sobre-noche); padding: 160px 0; }
.oscuro + .oscuro, .oscuro + .section, .section + .section, .section + .oscuro { padding-top: 40px; }
.section-alt, .banda-oscura { background: var(--noche); }
.titulo-grande { font-size: var(--t-grande); line-height: 0.98; max-width: 16ch; letter-spacing: -0.04em; }
.intro { margin-top: 24px; max-width: 56ch; font-size: var(--t-lead); color: var(--sobre-noche-2); }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.sin-margen { margin-bottom: 0; }
.section-head h2 { font-size: var(--t-h2); line-height: 1; margin-bottom: 18px; letter-spacing: -0.035em; }
.section-head p { color: var(--sobre-noche-2); font-size: var(--t-lead); max-width: 64ch; }
.section-head.center p { margin-inline: auto; }
.brilla { border-radius: 16px; overflow: hidden; background: var(--noche-2); border: 1px solid var(--borde-luz); box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.06), 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 90px -20px var(--verde-luz); }

/* cifras */
.cifras-grid { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.gigante b { display: block; font-size: var(--t-gigante); line-height: 0.8; font-weight: 600; letter-spacing: -0.05em; color: var(--menta); font-variant-numeric: tabular-nums; text-shadow: 0 0 60px rgba(46, 158, 107, 0.45); }
.gigante span { display: block; margin-top: 16px; font-size: 1.5rem; font-weight: 600; color: var(--blanco); }
.barras { display: grid; gap: 32px; }
.fila { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; align-items: baseline; }
.fila span { color: var(--sobre-noche-2); font-weight: 500; }
.fila b { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; font-weight: 600; color: var(--blanco); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.barra-tiempo { grid-column: 1 / -1; display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.barra-tiempo i { display: block; height: 100%; border-radius: 5px; }
.barra-tiempo .ab { width: 16%; background: var(--menta); box-shadow: 0 0 18px rgba(110, 231, 183, 0.7); }
.barra-tiempo .otro { width: 100%; background: var(--gris-barra); }
.acciones-n { color: var(--sobre-noche-2); padding-top: 22px; border-top: 1px solid var(--linea-noche); }
.acciones-n b { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; color: var(--blanco); font-weight: 600; margin-right: 12px; font-variant-numeric: tabular-nums; }
.acciones-n small { font-size: .5em; color: var(--sobre-noche-2); font-weight: 500; }
.nota { margin-top: 64px; font-size: 14px; color: var(--sobre-noche-2); max-width: 92ch; }

/* flujo: la pantalla queda fija y los pasos pasan al bajar */
.flujo-grid { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pantalla-fija { position: sticky; top: 110px; }
.pantalla { position: relative; aspect-ratio: 16 / 10.2; }
.paso-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--noche-2); opacity: 0; transition: opacity .6s ease; }
.paso-img.activa { opacity: 1; }
.pasos { list-style: none; display: grid; }
.paso { padding: 34px 0; border-top: 1px solid var(--linea-noche); min-height: 46vh; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-content: start; opacity: 0.5; transition: opacity .4s; }
.paso .n { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; border: 1px solid var(--borde-control); color: var(--blanco); font-variant-numeric: tabular-nums; transition: background .3s, border-color .3s, color .3s; }
.paso h3 { font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.02em; }
.paso p { margin-top: 10px; color: var(--sobre-noche-2); }
.paso.activo { opacity: 1; }
.paso.activo .n { background: var(--menta); border-color: var(--menta); color: var(--noche); box-shadow: 0 0 24px rgba(110, 231, 183, 0.55); }

/* funciones con pestañas */
.tabs-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab-btn { min-height: var(--tactil); background: transparent; border: 1.5px solid var(--borde-control); color: var(--sobre-noche); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: var(--t-small); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab-btn:hover { border-color: var(--menta); color: var(--menta); }
.tab-btn[aria-selected="true"] { background: var(--blanco); color: var(--tinta); border-color: var(--blanco); }
.tab-content { display: none; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tab-content.active { display: grid; }
.feat-stack { display: grid; gap: 24px; }
.feat-row h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 4px; letter-spacing: -0.01em; }
.feat-row p { font-size: var(--t-small); color: var(--sobre-noche-2); line-height: 1.55; max-width: 52ch; }
.feat-row b { color: var(--blanco); }
.tab-media { border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--noche-2); border: 1px solid var(--borde-luz); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -24px var(--verde-luz); }
.tab-media img { width: 100%; transition: transform .5s ease; }
.tab-media:hover img { transform: scale(1.02); }
.tab-media .media-vertical { max-height: 520px; width: auto; margin: 0 auto; }
.tab-media figcaption { padding: 12px 16px; font-size: var(--t-xs); color: var(--sobre-noche-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ampliar { display: inline-flex; align-items: center; gap: 5px; color: var(--menta); white-space: nowrap; font-weight: 600; }
.ampliar .ico { width: 14px; height: 14px; }
.mas-detalle { margin-top: 32px; }

/* comparador a todo el ancho */
.sangre { background: var(--noche); padding-top: 120px; }
.sangre-cabeza { margin-bottom: 40px; }
.sangre-cabeza h2 { font-size: var(--t-h2); line-height: 1; margin-bottom: 14px; max-width: 18ch; letter-spacing: -0.035em; }
.sangre-cabeza p { color: var(--sobre-noche-2); font-size: var(--t-lead); max-width: 64ch; }
.compare-box { position: relative; width: 100%; aspect-ratio: 1584 / 881; max-height: 88vh; overflow: hidden; user-select: none; -webkit-user-select: none; cursor: ew-resize; touch-action: pan-y; border-block: 1px solid var(--borde-luz); }
.compare-box:focus-visible { outline-offset: -4px; }
.compare-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-left { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid var(--menta); box-shadow: 6px 0 30px -6px rgba(110, 231, 183, 0.6); }
.compare-left img { max-width: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: var(--menta); color: var(--noche); display: grid; place-items: center; pointer-events: none; box-shadow: 0 0 30px rgba(110, 231, 183, 0.6); transition: transform .2s; }
.compare-knob .ico { width: 26px; height: 26px; }
.compare-box:hover .compare-knob, .compare-box:focus-visible .compare-knob { transform: translate(-50%, -50%) scale(1.06); }
.compare-box.arrastrando .compare-knob { transform: translate(-50%, -50%) scale(.94); }
.compare-pill { position: absolute; top: 24px; background: var(--velo-pastilla); color: var(--blanco); font-size: var(--t-small); font-weight: 600; padding: 6px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.pill-l { left: 24px; }
.pill-r { right: 24px; }

/* demo: el visor real, encendido */
.escenario { position: relative; margin-top: 64px; aspect-ratio: 1566 / 720; }
.escenario .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .8s; }
.escenario.vivo .poster { opacity: 0; pointer-events: none; }
.escenario .visor { position: absolute; inset: 0; padding: 0; }
.escenario .visor-app { margin: 0; height: 100%; background: transparent; gap: 0; }
.escenario .visor-caja { height: 100%; min-height: 0; border-radius: 0; border: 0; }
.escenario .visor-inferior, .escenario .visor-ayuda, .escenario .visor-nota, .escenario .visor-pestanas, .escenario noscript, .escenario .visor-inicio { display: none !important; }
.demo .acciones { margin-top: 40px; }

/* galería en mosaico */
.mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.pieza { position: relative; overflow: hidden; border-radius: 14px; background: var(--noche-2); cursor: zoom-in; border: 1px solid var(--linea-noche); transition: border-color .3s, box-shadow .3s; }
.pieza:hover { border-color: var(--borde-luz); box-shadow: 0 0 60px -20px var(--verde-luz); }
.pieza img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.pieza:hover img { transform: scale(1.04); }
.pieza figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px; font-size: var(--t-small); font-weight: 600; color: var(--blanco); background: linear-gradient(transparent, rgba(11, 16, 14, 0.88)); }
.p-grande { grid-column: span 3; grid-row: span 2; }
.p-alta { grid-row: span 2; }
.p-ancha { grid-column: span 2; }
.plans-showcase { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--linea-noche); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.plans-showcase-info { max-width: 680px; }
.plans-showcase h3 { font-size: var(--t-h3); line-height: 1.15; margin-bottom: 8px; }
.plans-showcase p { font-size: var(--t-small); color: var(--sobre-noche-2); line-height: 1.55; }

/* en su equipo */
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.local-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.local-list li { padding-top: 16px; border-top: 1px solid var(--borde-luz); font-size: var(--t-small); color: var(--sobre-noche-2); }
.local-list li b { display: block; color: var(--blanco); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }

/* precios */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: stretch; }
.plan-card { border-radius: 18px; padding: 48px 32px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.plan-trial { background: var(--noche-2); border: 1px solid var(--linea-noche); }
.plan-pro { background: var(--noche-2); border: 1px solid var(--borde-luz); box-shadow: 0 0 90px -24px var(--verde-luz); position: relative; overflow: hidden; }
.plan-pro::before { content: "LANZAMIENTO"; position: absolute; top: 18px; right: -34px; transform: rotate(35deg); background: var(--menta); color: var(--noche); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.06em; padding: 4px 40px; }
.plan-titulo { font-size: var(--t-h3); line-height: 1.1; margin-bottom: 10px; }
.texto-suave, .texto-claro { color: var(--sobre-noche-2); }
.texto-chico { font-size: var(--t-small); color: var(--sobre-noche-2); }
.limits-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; border-block: 1px solid var(--linea-noche); }
.limits-row div { padding: 16px 12px; text-align: center; border-left: 1px solid var(--linea-noche); }
.limits-row div:first-child { border-left: 0; }
.limits-row dt { font-size: var(--t-h3); line-height: 1.1; font-weight: 600; color: var(--blanco); font-variant-numeric: tabular-nums; }
.limits-row dd { font-size: var(--t-xs); color: var(--sobre-noche-2); }
.license-tiers { display: grid; margin: 24px 0; border-top: 1px solid var(--linea-noche); }
.tier-item { padding: 16px 0; border-bottom: 1px solid var(--linea-noche); }
.tier-item-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px; }
.tier-item-head strong { color: var(--blanco); }
.tier-price { font-size: var(--t-h3); font-weight: 600; color: var(--menta); white-space: nowrap; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tier-price s, .tier-sub s { color: var(--sobre-noche-2); font-weight: 400; text-decoration-thickness: 1px; }
.tier-price s { font-size: 0.7em; margin-right: 4px; }
.tier-price small { font-size: var(--t-xs); font-weight: 500; color: var(--sobre-noche-2); }
.tier-sub { font-size: var(--t-xs); color: var(--sobre-noche-2); font-variant-numeric: tabular-nums; }

/* preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-mas { margin-top: 16px; }
.faq-list { display: grid; border-top: 1px solid var(--linea-noche); }
.faq-list details { border-bottom: 1px solid var(--linea-noche); }
.faq-list summary { font-weight: 600; font-size: var(--t-lead); color: var(--blanco); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; transition: color .2s; }
.faq-list summary:hover { color: var(--menta); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 22px; height: 22px; color: var(--menta); transition: transform .2s; }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details > div { padding: 0 0 24px; color: var(--sobre-noche-2); }
.faq-list details > div p { max-width: 66ch; }
.faq-list a { color: var(--menta); }

/* cierre */
.cierre { position: relative; overflow: hidden; background: var(--noche); padding: 160px 0; isolation: isolate; border-top: 1px solid var(--linea-noche); }
.cierre-fondo { position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: 56%; height: auto; border-radius: 18px; z-index: -1; opacity: .55; border: 1px solid var(--borde-luz); box-shadow: 0 0 120px -20px var(--verde-luz); }
.cierre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--noche) 0%, var(--noche) 40%, rgba(11, 16, 14, 0.4) 70%, rgba(11, 16, 14, 0.1) 100%); }
.cierre h2 { font-size: var(--t-display); line-height: 0.95; letter-spacing: -0.04em; max-width: 13ch; margin-bottom: 24px; }
.cierre p { color: var(--sobre-noche-2); font-size: var(--t-lead); max-width: 40ch; margin-bottom: 32px; }
.cierre-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.cierre .cierre-correo { margin: 24px 0 0; font-size: var(--t-small); }
.cierre-correo a { color: var(--sobre-noche-2); text-underline-offset: 3px; display: inline-flex; min-height: var(--tactil); align-items: center; }
.cierre-correo a:hover { color: var(--menta); }

/* pie */
.site-footer { background: #070B09; color: var(--sobre-noche-2); padding: 64px 0 116px; font-size: var(--t-small); border-top: 1px solid var(--linea-noche); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--linea-noche); }
.footer-brand img { height: 54px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin-bottom: 10px; max-width: 52ch; }
.site-footer h2 { font-size: 1.15rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer li { min-height: 32px; display: flex; align-items: center; }
.site-footer a { text-decoration: none; transition: color .2s; border-radius: 4px; }
.site-footer a:hover { color: var(--menta); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { padding-top: 24px; font-size: 13px; display: grid; gap: 8px; }
.footer-legal p { max-width: 110ch; }
.footer-legal strong { color: var(--sobre-noche); }

.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 90; background: #177A3E; color: var(--blanco); min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: var(--t-small); text-decoration: none; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6); display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, background .2s; }
.wa-float:hover { transform: translateY(-2px); background: #12632F; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; padding: 24px; background: rgba(7, 11, 9, 0.96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-inner { max-width: 1180px; max-height: 92vh; text-align: center; }
.lightbox-inner img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--borde-luz); }
.lightbox-cap { color: var(--sobre-noche-2); margin-top: 12px; font-size: var(--t-small); }
.lightbox-close, .lightbox-nav { position: fixed; background: rgba(255, 255, 255, 0.12); color: var(--blanco); border: 1px solid var(--borde-control); border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 20px; right: 24px; width: 48px; height: 48px; }
.lightbox-nav { top: 50%; translate: 0 -50%; width: 52px; height: 52px; }
.lightbox-close .ico, .lightbox-nav .ico { width: 24px; height: 24px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
body.sin-scroll { overflow: hidden; }

/* aparición suave ligada al scroll (si el navegador no la sabe hacer, todo queda visible) */
@supports (animation-timeline: view()) {
  .aparece { animation: aparecer linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes aparecer { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .portada-foto img, .diseno { animation: alejar linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes alejar { from { transform: scale(1.08); } to { transform: scale(1); } }
}

@media (max-width: 1120px) {
  .menu { display: grid; }
  .nav { position: fixed; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 2px; border-radius: 0; background: var(--noche); padding: 10px 16px 18px; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.7); max-height: calc(100dvh - 76px); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s, visibility .25s; }
  .barra.menu-abierto .nav { opacity: 1; visibility: visible; transform: none; }
  .barra.menu-abierto { background: rgba(11, 16, 14, 0.97); }
  .nav a { font-size: var(--t-lead); min-height: 52px; padding: 0 12px; border-bottom: 1px solid var(--linea-noche); border-radius: 0; }
  .nav a.nav-solo-movil { display: flex !important; justify-content: center; margin-top: 12px; border: 0; background: var(--blanco); color: var(--tinta); border-radius: 999px; font-weight: 600; }
  .nav-solo-movil .ico { width: 18px; height: 18px; margin-left: 6px; }
}
@media (max-width: 1080px) {
  .flujo-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pantalla-fija { top: 64px; z-index: 2; background: var(--noche); padding: 16px 0 20px; box-shadow: 0 24px 24px -12px var(--noche); }
  .paso { min-height: 0; padding: 24px 0; }
  .mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grande { grid-column: span 2; }
}
@media (max-width: 960px) {
  .cifras-grid, .tab-content, .local-grid, .pricing-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tab-content .tab-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cierre-fondo { display: none; }
}
@media (max-width: 760px) {
  .ancho, .container { padding: 0 16px; }
  .barra-dentro { height: 64px; }
  .nav { top: 64px; max-height: calc(100dvh - 64px); }
  .barra-cta { display: none; }
  .portada { min-height: 100svh; align-items: flex-end; }
  .diseno-escritorio { display: none; }
  .diseno-celular { display: block; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 20%, transparent 29%); mask-image: linear-gradient(180deg, #000 0, #000 20%, transparent 29%); }
  .portada::before { background: linear-gradient(180deg, rgba(246, 244, 238, 0) 0%, rgba(246, 244, 238, 0) 26%, rgba(246, 244, 238, 0.9) 44%, rgba(246, 244, 238, 0.98) 100%); }
  .portada-dentro { padding-top: 300px; padding-bottom: 64px; }
  .portada h1 { font-size: 2.9rem; }
  .bajada { font-size: 1rem; }
  .acciones .boton, .cierre-acciones .btn { flex: 1 1 100%; }
  .pie-foto { top: 76px; bottom: auto; left: 16px; right: 16px; font-size: 12px; text-align: center; }
  .oscuro, .section, .cierre { padding: 96px 0; }
  .sangre { padding-top: 96px; }
  .cifras-grid, .flujo-grid { margin-top: 48px; }
  .paso h3 { font-size: 1.5rem; }
  .escenario { aspect-ratio: 4 / 3; }
  .escenario .poster { object-position: 40% center; }
  .tabs-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .tab-btn { white-space: nowrap; }
  .local-list { grid-template-columns: minmax(0, 1fr); }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .p-grande, .p-ancha { grid-column: span 2; }
  .p-grande, .p-alta { grid-row: span 2; }
  .plan-card { padding: 40px 20px 20px; }
  .compare-pill { font-size: .75rem; padding: 4px 10px; top: 8px; }
  .pill-l { left: 8px; } .pill-r { right: 8px; }
  .compare-knob { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer li { min-height: var(--tactil); }
  .site-footer a { display: inline-flex; align-items: center; min-height: var(--tactil); }
  .lightbox-nav { top: auto; bottom: 20px; translate: none; }
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; bottom: 16px; right: 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- portada oscura (2026-11-27, provisoria mientras Cristian elige entre la 1 y la 2): sin velo claro, título blanco ---------- */
/* portada oscura: título blanco sobre la foto, sin velo claro */
.portada { background: #0B100E; color: #FFFFFF; --anillo: var(--menta); }
.portada h1 { color: #FFFFFF; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.portada h1 span { color: var(--menta); }
.sello { color: var(--menta); } .sello::before { background: var(--menta); }
.bajada { color: rgba(255, 255, 255, .88); } .version { color: rgba(255, 255, 255, .72); }
.boton-tinta { background: var(--menta); color: #0B100E; } .boton-tinta:hover { background: #FFFFFF; }
.boton-borde { border-color: rgba(255, 255, 255, .75); color: #FFFFFF; background: rgba(11, 16, 14, .35); } .boton-borde:hover { background: #FFFFFF; color: #0B100E; }
.barra:not(.solida) .logo { background: rgba(11, 16, 14, .55); }
/* diseño más marcado */
.diseno .t-relleno, .diseno .t-corte { stroke-width: 2.4; }
.diseno .t-borde { stroke-width: 3.2; }
.diseno .t-sap { stroke-width: 1.8; }
.diseno .t-eje { stroke-width: 5; }/* B · oscura: la foto en penumbra y el diseño en verde encendido */
.portada-foto img { filter: brightness(.48) saturate(.85) contrast(1.15); }
.portada::before { background: linear-gradient(90deg, rgba(5, 8, 7, .92) 0%, rgba(5, 8, 7, .72) 34%, rgba(5, 8, 7, 0) 62%), linear-gradient(0deg, rgba(5, 8, 7, .85), transparent 35%); }
.diseno .t-eje { stroke: #6EE7B7; }
.diseno .t-borde { stroke: #E8FFF4; }
.diseno { filter: drop-shadow(0 0 5px rgba(110, 231, 183, .75)); }
@media (max-width: 760px) { .portada::before { background: linear-gradient(180deg, rgba(5, 8, 7, 0) 0%, rgba(5, 8, 7, 0) 26%, rgba(5, 8, 7, .88) 44%, rgba(5, 8, 7, .97) 100%); } }
/* calce: solo lo que coincide con lo construido; en verde para que se distinga de la pintura blanca */
.diseno .t-borde { stroke: #6EE7B7; stroke-width: 3.4; }
.diseno .t-eje { stroke: #4ADE80; stroke-width: 5; }
/* el dibujo solo donde se luce la foto: se desvanece detrás del texto y antes de los bordes (sin líneas que se salgan) */
.diseno-escritorio { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 54%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, transparent 36%, #000 54%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); mask-composite: intersect; }
@media (max-width: 760px) {
  .diseno-celular { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 20%, transparent 29%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 20%, transparent 29%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-composite: intersect; }
}