/* ISPmap · landing — tokens de brand/tokens.css */
:root {
  --tinta: #13212C; --tinta-2: #1E3343; --tinta-3: #2A4152;
  --marca: #C2187A; --marca-osc: #A3125F; --marca-clara: #E2489E; --marca-soft: #FBE6F1;
  --papel: #F2F3EF; --blanco: #FFFFFF; --surface-2: #F8F9F6;
  --line: #DCDFD8; --line-2: #C3C8C0; --line-osc: #2C4253;
  --text: #13212C; --text-2: #4A5863; --muted: #7C8891; --text-osc: #B9C3CA;
  --troncal: #B8322A; --subtroncal: #D98A1C; --distribucion: #1E7F93; --ok: #2F8A4E;
  --f-ui: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-dato: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 4px; --r2: 6px;
  /* colores de fibra TIA-598 */
  --fibras: linear-gradient(90deg, #1f6fd6 0 8.33%, #f28a1e 0 16.66%, #2b9a48 0 25%, #8a5a2f 0 33.33%, #8e979f 0 41.66%, #f4f4f4 0 50%, #d7302b 0 58.33%, #1d1d1f 0 66.66%, #f2c417 0 75%, #8a4dd6 0 83.33%, #f27cb6 0 91.66%, #35c6bb 0);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--text); font: 400 17px/1.55 var(--f-ui); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 720; letter-spacing: -.015em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.angosto { max-width: 820px; }
:focus-visible { outline: 2px solid var(--marca-clara); outline-offset: 3px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-ui); text-decoration: none; padding: 11px 16px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn.grande { padding: 15px 22px; font-size: 16px; }
.btn.ancho { width: 100%; }
.btn.marca { background: var(--marca); color: #fff; }
.btn.marca:hover { background: var(--marca-osc); }
.btn.ghost { border-color: var(--line-osc); color: var(--papel); }
.btn.ghost:hover { border-color: var(--text-osc); background: var(--tinta-2); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--tinta); border-bottom: 1px solid var(--line-osc); color: var(--papel); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--papel); }
.logo svg { width: 30px; height: 30px; }
.logo b { font-size: 22px; font-weight: 780; font-stretch: 116%; letter-spacing: -.02em; }
.logo b span { font-weight: 380; color: var(--marca-clara); }
.links { display: flex; gap: 22px; margin-left: 8px; }
.links a { text-decoration: none; color: var(--text-osc); font-size: 15px; font-weight: 500; }
.links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* ---------- comunes ---------- */
.kicker { font: 500 13px/1.3 var(--f-dato); letter-spacing: .04em; text-transform: uppercase; color: var(--marca-clara); margin-bottom: 18px; }
.kicker.oscuro { color: var(--marca); }
.fibras { display: inline-block; width: 72px; height: 4px; background: var(--fibras); flex: none; }
.shot { margin: 0; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot .zoom img, .visor img { border: 1px solid var(--line-2); border-radius: var(--r2); background: #fff; }

/* ---------- hero ---------- */
.hero { background-color: var(--tinta); color: var(--papel); padding: 72px 0 0; position: relative;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 112px 92px; }
.hero-txt { max-width: 760px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); font-stretch: 112%; font-weight: 760; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--marca-clara); font-weight: 420; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-osc); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.nota { margin-top: 16px; font-size: 14px; color: var(--muted); }
.nota b { color: var(--papel); font-weight: 600; }
.hero-shot { margin: 56px auto 0; max-width: 1440px; padding: 0 24px; }
.hero-shot .zoom img { border: 1px solid var(--line-osc); border-radius: var(--r2); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.hero-shot figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; font-size: 14px; color: var(--text-osc); }
.hero-shot figcaption b { color: var(--papel); font-weight: 600; }
.cifras { display: grid; grid-template-columns: repeat(6, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line-osc); }
.cifras div { padding: 22px 0 30px; border-right: 1px solid var(--line-osc); padding-left: 18px; }
.cifras div:first-child { padding-left: 0; }
.cifras div:last-child { border-right: 0; }
.cifras dt { font: 500 12px/1 var(--f-dato); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cifras dd { margin: 10px 0 0; font: 500 30px/1 var(--f-dato); color: var(--papel); letter-spacing: -.02em; }

/* ---------- problema ---------- */
.problema { padding: 112px 0 96px; border-bottom: 1px solid var(--line); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.problema h2, .titulo-sec, .precio h2, .faq h2 { font-size: clamp(32px, 4vw, 48px); font-stretch: 108%; }
.dolores { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.dolores li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line-2); color: var(--text-2); position: relative; }
.dolores li::before { content: ""; position: absolute; left: 0; top: 26px; width: 20px; height: 2px; background: var(--troncal); }
.dolores li::after { content: ""; position: absolute; left: 7px; top: 19px; width: 2px; height: 16px; background: var(--troncal); transform: rotate(35deg); }
.dolores span { color: var(--text); font-weight: 600; }
.remate { margin-top: 56px; max-width: 860px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 450; }

/* ---------- producto ---------- */
.producto { padding: 104px 0 40px; }
.titulo-sec { max-width: 760px; margin-bottom: 24px; }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.feat.inv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.inv .feat-txt { order: 2; }
.feat h3 { font-size: clamp(26px, 2.6vw, 34px); font-stretch: 106%; margin-bottom: 18px; }
.feat-txt > p { color: var(--text-2); }
.lista { list-style: none; margin: 24px 0 0; padding: 0; }
.lista li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); font-size: 16px; }
.lista li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; background: var(--marca); }
.mini-datos { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 10px; border: 1px solid var(--line-2); border-radius: var(--r2); background: #fff; }
.mini-datos div { padding: 14px 16px; border-right: 1px solid var(--line); }
.mini-datos div:last-child { border-right: 0; }
.mini-datos dt { font-size: 13px; color: var(--text-2); }
.mini-datos dd { margin: 6px 0 0; font: 600 22px/1 var(--f-dato); white-space: nowrap; }
.chico { font-size: 13px; color: var(--muted); }
.par { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: 16px; align-items: start; }
.feat.traza { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

/* ---------- campo ---------- */
.campo { background: var(--tinta); color: var(--papel); padding: 104px 0; overflow: hidden; }
.campo-grid { display: grid; grid-template-columns: 380px 1fr; gap: 88px; align-items: center; }
.tel { justify-self: center; width: 100%; max-width: 340px; padding: 12px; background: #0B141B; border: 1px solid var(--line-osc); border-radius: 34px; }
.tel img { border-radius: 24px; }
.campo h2 { font-size: clamp(32px, 4vw, 50px); font-stretch: 108%; max-width: 620px; }
.campo-txt > p { margin-top: 22px; color: var(--text-osc); max-width: 580px; }
.pasos { list-style: none; counter-reset: p; margin: 32px 0 0; padding: 0; max-width: 520px; }
.pasos li { counter-increment: p; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-osc); }
.pasos li::before { content: counter(p, decimal-leading-zero); font: 500 13px var(--f-dato); color: var(--marca-clara); }
.pasos b { font-weight: 650; }

/* ---------- control ---------- */
.control { padding: 32px 0 104px; }
.control .feat { border-bottom: 0; }
.ficha-tec { border: 1px solid var(--line-2); border-radius: var(--r2); background: #fff; }
.ft-cab { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.ft-cab h3 { font-size: 20px; }
.ficha-tec dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.ficha-tec dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ficha-tec dl div:nth-child(odd) { border-right: 1px solid var(--line); }
.ficha-tec dl div:nth-last-child(-n+2) { border-bottom: 0; }
.ficha-tec dt { font: 500 13px/1.6 var(--f-dato); text-transform: uppercase; letter-spacing: .03em; color: var(--marca); }
.ficha-tec dd { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---------- galería ---------- */
.galeria { background: var(--tinta); color: var(--papel); padding: 96px 0; }
.galeria h2 { font-size: clamp(30px, 3.6vw, 44px); font-stretch: 108%; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 32px 0 20px; border: 1px solid var(--line-osc); border-radius: var(--r); width: max-content; max-width: 100%; }
.tabs button { font: 500 14px var(--f-ui); color: var(--text-osc); background: none; border: 0; border-right: 1px solid var(--line-osc); padding: 11px 16px; cursor: pointer; }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-selected="true"] { background: var(--papel); color: var(--tinta); font-weight: 650; }
.tabs button:hover:not([aria-selected="true"]) { color: #fff; background: var(--tinta-2); }
.visor { margin: 0; }
.visor img { border-color: var(--line-osc); }
.visor figcaption { margin-top: 14px; font-size: 14px; color: var(--text-osc); }

/* ---------- precio ---------- */
.precio { padding: 112px 0; border-bottom: 1px solid var(--line); }
.sub { margin-top: 20px; color: var(--text-2); max-width: 460px; font-size: 18px; }
.plan { background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--marca); border-radius: var(--r2); padding: 32px; }
.plan-cab { display: flex; justify-content: space-between; align-items: center; }
.plan-nom { font-weight: 760; font-stretch: 112%; font-size: 20px; }
.plan-prueba { font: 500 12px var(--f-dato); text-transform: uppercase; letter-spacing: .04em; color: var(--marca); background: var(--marca-soft); padding: 5px 8px; border-radius: var(--r); }
.monto { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.monto b { font: 600 clamp(44px, 5vw, 58px)/1 var(--f-dato); letter-spacing: -.04em; }
.monto span { color: var(--text-2); font-size: 18px; }
.plan-pie { margin-top: 8px; font-size: 14px; color: var(--muted); }
.incluye { list-style: none; margin: 26px 0 28px; padding: 0; }
.incluye li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.incluye li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan-chico { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- faq ---------- */
.faq { padding: 104px 0; }
.faq h2 { margin-bottom: 32px; }
details { border-top: 1px solid var(--line-2); }
details:last-of-type { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 620; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: rotate(-135deg); top: 31px; }
details p { padding: 0 0 22px; color: var(--text-2); max-width: 720px; }

/* ---------- cierre y pie ---------- */
.cierre { background: var(--tinta); color: var(--papel); padding: 104px 0; border-top: 4px solid transparent; border-image: var(--fibras) 1; }
.cierre h2 { font-size: clamp(30px, 4.2vw, 52px); font-stretch: 108%; max-width: 940px; }
.pie { background: #0D171F; color: var(--text-osc); padding: 48px 0 40px; font-size: 14px; }
.pie-in { display: grid; gap: 14px; }
.pie-links { display: flex; flex-wrap: wrap; gap: 20px; }
.pie-links a { color: var(--papel); text-decoration: none; }
.pie-links a:hover { text-decoration: underline; }
.pie-legal { color: var(--muted); font-size: 13px; }

/* ---------- lightbox ---------- */
dialog#lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(10, 18, 24, .88); }
dialog#lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: var(--r2); }
dialog#lightbox .cerrar { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; font-size: 26px; line-height: 1; color: #fff; background: none; border: 1px solid #ffffff55; border-radius: var(--r); cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .links { display: none; }
  .feat, .feat.inv, .feat.traza { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .feat.inv .feat-txt { order: 0; }
  .dos { grid-template-columns: 1fr; gap: 40px; }
  .campo-grid { grid-template-columns: 1fr; gap: 56px; }
  .tel { order: 2; }
  .cifras { grid-template-columns: repeat(3, 1fr); }
  .cifras div:nth-child(3) { border-right: 0; }
  .cifras div:nth-child(4) { padding-left: 0; }
  .cifras div:nth-child(-n+3) { border-bottom: 1px solid var(--line-osc); }
  .ficha-tec dl { grid-template-columns: 1fr; }
  .ficha-tec dl div:nth-child(odd) { border-right: 0; }
  .ficha-tec dl div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .hero-shot { padding: 0 16px; }
  .solo-desk { display: none; }
  .nav-in { height: 58px; }
  .hero { padding-top: 48px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cifras dd { font-size: 24px; }
  .cifras div { padding-left: 12px; }
  .problema, .producto, .precio, .faq, .campo, .galeria, .cierre { padding-top: 72px; padding-bottom: 72px; }
  .control { padding-bottom: 72px; }
  .par { grid-template-columns: 1fr; }
  .mini-datos dd { font-size: 19px; }
  .mini-datos div { padding: 12px; }
  .ficha-tec dl div { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .plan { padding: 24px 20px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 50%; border-bottom: 1px solid var(--line-osc); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.pie-legal a { color: inherit; }
