/* Net.Yá — estilos del sitio */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Marca */
  --noche: #061232;
  --noche-2: #0b1c4a;
  --noche-3: #10265e;
  --azul: #1f6bff;
  --azul-claro: #6aa8ff;
  --amarillo: #ffc928;
  --amarillo-claro: #ffe07a;
  --verde-wa: #25d366;

  /* Texto */
  --texto: #eef3ff;
  --texto-2: #b4c2e3;
  --texto-3: #8395c2;
  --linea: rgba(130, 165, 255, .18);

  /* Colores de planes (los de los flyers) */
  --p200: #3ddc74;
  --p300: #3b92ff;
  --p400: #b07cff;
  --p500: #ff8c2a;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --cuerpo: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radio: 14px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amarillo); text-underline-offset: 3px; }
a:hover { color: var(--amarillo-claro); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amarillo); color: var(--noche); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.saltar:focus { top: 12px; }

.contenedor { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--grande { width: 34px; height: 34px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--cuerpo); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.boton:active { transform: translateY(1px); }
.boton--primario { background: var(--amarillo); color: #10183a; }
.boton--primario:hover { background: var(--amarillo-claro); color: #10183a; }
.boton--wa { background: var(--verde-wa); color: #05290f; }
.boton--wa:hover { background: #4be283; color: #05290f; }
.boton--chico { min-height: 40px; padding: .5em 1.05em; font-size: .95rem; }
.boton--grande { min-height: 58px; font-size: 1.2rem; padding: .8em 1.7em; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 50, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }

.marca { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--texto); }
.marca__ondas { width: 14px; height: 24px; fill: none; stroke-width: 3; stroke-linecap: round; margin-top: -4px; }
.marca--pie .marca__ondas { width: 17px; height: 29px; }
.marca__texto { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.85rem; letter-spacing: .01em; line-height: 1; color: #fff; }
.marca__texto b { color: var(--amarillo); font-weight: 800; }
.marca:hover { color: var(--texto); }

.menu { display: flex; align-items: center; gap: 28px; }
.menu > a:not(.boton) { color: var(--texto-2); text-decoration: none; font-weight: 600; }
.menu > a:not(.boton):hover { color: #fff; }

.menu-boton { display: none; }

@media (max-width: 820px) {
  .menu-boton {
    display: grid; place-items: center; width: 46px; height: 46px;
    background: transparent; border: 1px solid var(--linea); border-radius: 12px; color: var(--texto); cursor: pointer;
  }
  .menu-boton__barras, .menu-boton__barras::before, .menu-boton__barras::after {
    content: ""; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
  }
  .menu-boton__barras::before { position: absolute; top: -6px; }
  .menu-boton__barras::after { position: absolute; top: 6px; }
  .menu-boton[aria-expanded="true"] .menu-boton__barras { background: transparent; }
  .menu-boton[aria-expanded="true"] .menu-boton__barras::before { transform: translateY(6px) rotate(45deg); }
  .menu-boton[aria-expanded="true"] .menu-boton__barras::after { transform: translateY(-6px) rotate(-45deg); }

  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--noche-2); border-bottom: 1px solid var(--linea);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .menu.abierto { display: flex; }
  .menu > a:not(.boton) { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 1.1rem; }
  .menu .boton { margin-top: 16px; min-height: 48px; }
}

/* ---------- Portada ---------- */
.portada {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(31, 107, 255, .38), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(255, 201, 40, .10), transparent 70%),
    linear-gradient(180deg, #061232 0%, #08184a 100%);
}
.portada__fibras { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.fibra { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: trazo 1.8s cubic-bezier(.2, .7, .2, 1) forwards; filter: drop-shadow(0 0 6px rgba(80, 150, 255, .7)); }
.fibra--2 { stroke-width: 4; animation-delay: .25s; filter: drop-shadow(0 0 8px rgba(255, 201, 40, .6)); }
.fibra--3 { stroke-width: 1.5; opacity: .7; animation-delay: .45s; }
@keyframes trazo { to { stroke-dashoffset: 0; } }

.portada__rejilla { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 32px; }
.portada__lema { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.35rem; color: var(--amarillo); margin-bottom: 10px; letter-spacing: .01em; }
.portada h1 {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(2.9rem, 7.2vw, 5.6rem); line-height: .93; letter-spacing: -.005em;
  max-width: 13ch;
}
.portada__bajada { margin-top: 22px; max-width: 46ch; font-size: 1.2rem; color: var(--texto-2); }
.portada__bajada strong { color: #fff; font-weight: 700; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portada__datos { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--texto); font-weight: 600; }
.portada__datos li { display: inline-flex; align-items: center; gap: 8px; }
.portada__datos .ico { color: var(--amarillo); width: 22px; height: 22px; }

.portada__mascota { justify-self: center; position: relative; }
.portada__mascota::before {
  content: ""; position: absolute; inset: 12% 2% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 201, 40, .28), rgba(31, 107, 255, .18) 60%, transparent);
  z-index: -1;
}
.portada__mascota img {
  width: min(360px, 100%);
  filter: drop-shadow(0 0 1px rgba(150, 190, 255, .9)) drop-shadow(0 12px 40px rgba(31, 107, 255, .55));
  animation: llegada .9s .3s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes llegada { from { opacity: 0; transform: translate(40px, 24px) rotate(6deg); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  /* En móvil la abeja acompaña al lema, arriba a la derecha */
  .portada__rejilla { grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; }
  .portada__texto { display: contents; }
  .portada__texto > * { grid-column: 1 / -1; }
  .portada__lema { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(1.6rem, 6.4vw, 2.2rem); line-height: 1.02; max-width: 9em; }
  .portada__mascota { grid-column: 2; grid-row: 1; justify-self: end; margin: -12px -6px 0 0; }
  .portada__mascota img { width: clamp(124px, 32vw, 210px); }
  .portada h1 { margin-top: 14px; max-width: 11ch; }
}

/* ---------- Secciones ---------- */
.seccion { padding: clamp(64px, 9vw, 112px) 0; }
.cabeza { margin-bottom: clamp(32px, 4vw, 48px); max-width: 60ch; }
.cabeza p { margin-top: 10px; color: var(--texto-2); font-size: 1.125rem; }
.seccion h2, .cierre h2 {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.005em;
}

/* ---------- Planes ---------- */
.planes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

.plan {
  --c: var(--p300);
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: #08173f;
  background:
    radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    #08173f;
  border: 1.5px solid var(--c);
  border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 28px color-mix(in srgb, var(--c) 22%, transparent), inset 0 0 22px color-mix(in srgb, var(--c) 10%, transparent);
}
.plan__nombre {
  font-family: var(--cuerpo); font-style: normal; font-weight: 700; font-size: 1rem;
  color: var(--c); letter-spacing: .02em;
}
.plan__velocidad { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.plan__megas {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(4.4rem, 6.6vw, 5.8rem); line-height: .9; color: #fff;
  text-shadow: 0 0 18px color-mix(in srgb, var(--c) 75%, transparent), 0 0 2px #fff;
  letter-spacing: -.01em;
}
.plan__unidad { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.7rem; color: var(--c); }
.plan__precio {
  margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap;
  font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.plan__moneda { font-size: 1.5rem; margin-right: 2px; align-self: flex-start; margin-top: 4px; }
.plan__centavos { font-size: 1.5rem; }
.plan__mes { font-family: var(--cuerpo); font-weight: 500; font-size: .95rem; color: var(--texto-3); margin-left: 8px; }
.plan__ideal { margin-top: 14px; color: var(--texto-2); font-size: 1rem; flex: 1; }
.boton--plan {
  margin-top: 22px; width: 100%;
  background: transparent; color: #fff; border-color: var(--c); border-color: color-mix(in srgb, var(--c) 80%, transparent);
}
.boton--plan:hover { background: var(--c); color: #071028; border-color: var(--c); }
.plan--destacado .boton--plan { background: var(--c); color: #061232; }
.plan--destacado .boton--plan:hover { background: color-mix(in srgb, var(--c) 82%, #fff); color: #071028; }
.plan__sello {
  position: absolute; top: -13px; right: 20px;
  background: var(--amarillo); color: #10183a; font-weight: 700; font-size: .85rem;
  padding: 4px 12px; border-radius: 999px; transform: rotate(-3deg);
}
.plan:target { outline: 3px solid var(--c); outline-offset: 4px; }

@media (max-width: 1060px) { .planes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 560px) {
  .planes { grid-template-columns: 1fr; gap: 20px; }
  .plan { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 22px 20px 20px; }
  .plan__nombre, .plan__ideal, .boton--plan { grid-column: 1 / -1; }
  .plan__velocidad { grid-column: 1; margin-top: 4px; }
  .plan__precio { grid-column: 2; grid-row: 2; margin-top: 0; flex-wrap: wrap; justify-content: flex-end; align-self: end; font-size: 2.3rem; text-align: right; }
  .plan__precio .plan__mes { flex-basis: 100%; margin: 4px 0 0; }
  .plan__megas { font-size: 4.4rem; }
  .boton--plan { margin-top: 16px; }
}

/* ---------- Asesor ---------- */
.seccion--asesor { background: linear-gradient(180deg, transparent, rgba(16, 38, 94, .55) 30%, rgba(16, 38, 94, .55) 70%, transparent); }
.asesor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.asesor__foto { margin: 0; }
.asesor__foto img { border-radius: 22px; width: 100%; aspect-ratio: 661 / 445; object-fit: cover; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.asesor__foto figcaption { margin-top: 14px; color: var(--texto-2); font-size: 1rem; max-width: 48ch; }
.asesor__intro { margin-top: 10px; color: var(--texto-2); font-size: 1.125rem; }

.opciones { border: 0; padding: 0; margin: 26px 0 0; }
.opciones legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opciones legend { width: 100%; float: left; }
.opciones label { cursor: pointer; }
.opciones input { position: absolute; opacity: 0; pointer-events: none; }
.opciones span {
  display: inline-flex; align-items: center; min-height: 46px; padding: .55em 1.1em;
  border-radius: 999px; border: 1.5px solid var(--linea); background: rgba(6, 18, 50, .6);
  color: var(--texto); font-weight: 600; transition: border-color .15s, background-color .15s, color .15s;
}
.opciones label:hover span { border-color: var(--azul-claro); }
.opciones input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.opciones input:focus-visible + span { outline: 3px solid var(--amarillo); outline-offset: 3px; }

.resultado {
  margin-top: 28px; min-height: 132px;
  border-radius: 18px; border: 1.5px dashed var(--linea); padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: center;
}
.resultado__vacio { color: var(--texto-3); }
.resultado.listo { border-style: solid; border-color: var(--c); border-color: color-mix(in srgb, var(--c) 70%, transparent); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%); }
.resultado__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.resultado__plan { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.resultado__plan small { font-size: 1.3rem; color: var(--c); margin-left: 6px; }
.resultado__por { margin-top: 8px; color: var(--texto-2); }
.resultado .boton { margin-top: 0; }
.resultado.listo .resultado__fila { animation: aparece .3s ease-out; }
@keyframes aparece { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) { .asesor { grid-template-columns: 1fr; } .asesor__form { order: -1; } }

/* ---------- Incluido ---------- */
.incluido { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linea); }
.incluido li { padding: 30px 28px 32px 0; border-bottom: 1px solid var(--linea); }
.incluido li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--linea); }
.incluido .ico { color: var(--amarillo); }
.incluido h3 { margin-top: 14px; font-family: var(--cuerpo); font-weight: 700; font-size: 1.2rem; }
.incluido p { margin-top: 6px; color: var(--texto-2); max-width: 36ch; }
@media (max-width: 860px) {
  .incluido { grid-template-columns: 1fr 1fr; }
  .incluido li, .incluido li:not(:nth-child(3n + 1)) { padding: 24px 18px 26px 0; border-left: 0; }
  .incluido li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--linea); }
}
@media (max-width: 520px) {
  .incluido { grid-template-columns: 1fr; }
  .incluido li, .incluido li:nth-child(2n) { padding: 22px 0; border-left: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .incluido li .ico { grid-row: span 2; margin-top: 2px; }
  .incluido h3 { margin-top: 0; }
}

/* ---------- Cobertura ---------- */
.seccion--cobertura { background: radial-gradient(50% 80% at 85% 50%, rgba(31, 107, 255, .22), transparent 70%); }
.cobertura { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cobertura__texto p { margin: 16px 0 26px; color: var(--texto-2); font-size: 1.125rem; max-width: 50ch; }

/* Ruta de fibra: tres nodos unidos por una línea luminosa */
.ruta { list-style: none; margin: 0; padding: 0 0 0 8px; position: relative; display: grid; gap: 34px; }
.ruta::before {
  content: ""; position: absolute; left: 27px; top: 26px; bottom: 26px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--amarillo), var(--azul));
  box-shadow: 0 0 14px rgba(255, 201, 40, .55), 0 0 26px rgba(31, 107, 255, .5);
}
.ruta li { position: relative; display: grid; grid-template-columns: 42px 1fr; column-gap: 20px; align-items: center; }
.ruta .ico {
  grid-row: span 2; width: 42px; height: 42px; padding: 9px; border-radius: 50%;
  background: var(--noche); color: var(--amarillo);
  border: 2px solid var(--amarillo); box-shadow: 0 0 16px rgba(255, 201, 40, .45);
}
.ruta li:nth-child(2) .ico { color: #9cc6ff; border-color: #6aa8ff; box-shadow: 0 0 16px rgba(80, 150, 255, .5); }
.ruta li:nth-child(3) .ico { color: #9cc6ff; border-color: var(--azul); box-shadow: 0 0 16px rgba(31, 107, 255, .55); }
.ruta__nombre { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.ruta__detalle { color: var(--texto-3); font-size: .98rem; }
@media (max-width: 820px) { .cobertura { grid-template-columns: 1fr; } }

/* ---------- Soporte ---------- */
.soporte { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.soporte__intro { margin-top: 12px; color: var(--texto-2); font-size: 1.125rem; }
.pasos { list-style: none; counter-reset: paso; margin: 30px 0 0; padding: 0; display: grid; gap: 24px; }
.pasos > li { counter-increment: paso; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
.pasos > li > * { grid-column: 2; }
.pasos > li::before {
  content: counter(paso); grid-column: 1; grid-row: 1 / span 6;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem;
  color: #10183a; background: var(--amarillo);
}
.pasos h3 { font-family: var(--cuerpo); font-weight: 700; font-size: 1.2rem; margin-top: 2px; }
.pasos p { margin-top: 4px; color: var(--texto-2); max-width: 54ch; }
.pasos strong { color: #ff6b6b; }

.soporte__tarjeta {
  border-radius: 22px; padding: 28px 26px;
  background: linear-gradient(160deg, var(--noche-3), #091a47);
  border: 1px solid var(--linea);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  position: sticky; top: 96px;
}
.soporte__etiqueta { color: var(--texto-2); font-weight: 600; }
.soporte__numero {
  display: block; margin-top: 4px; text-decoration: none; color: #fff;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 3.3rem); line-height: 1.05;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.soporte__numero:hover { color: var(--amarillo); }
.soporte__botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.soporte__test { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.soporte__test .ico { color: var(--azul-claro); }
.soporte__test p { color: var(--texto-2); font-size: .98rem; }
.soporte__test a { font-weight: 700; }
@media (max-width: 860px) { .soporte { grid-template-columns: 1fr; } .soporte__tarjeta { position: static; } }

/* ---------- Preguntas ---------- */
.seccion--preguntas { padding-top: 0; }
.preguntas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.preguntas__lista { border-top: 1px solid var(--linea); }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.15rem;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--amarillo); border-bottom: 2.5px solid var(--amarillo);
  transform: rotate(45deg); transition: transform .2s;
}
.preguntas details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.preguntas details p { padding: 0 0 22px; color: var(--texto-2); max-width: 62ch; }
@media (max-width: 860px) { .preguntas { grid-template-columns: 1fr; } }

/* ---------- Cierre ---------- */
.cierre {
  padding: clamp(48px, 7vw, 80px) 0;
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(255, 201, 40, .16), transparent 60%),
    linear-gradient(90deg, #0d2464, #0a1d55);
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
}
.cierre__fila { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); flex-wrap: wrap; }
.cierre__logo { width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 0 30px rgba(255, 140, 42, .35); }
.cierre__texto { flex: 1 1 280px; }
.cierre__texto p { margin-top: 8px; color: var(--texto-2); font-size: 1.125rem; }
.cierre .boton--grande { font-variant-numeric: tabular-nums; }

/* ---------- Pie ---------- */
.pie { padding: 56px 0 28px; background: #040c24; }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.marca--pie { margin: 0; }
.marca--pie .marca__texto { font-size: 2.2rem; }
.pie__lema { margin-top: 6px; color: var(--texto-3); }
.pie__titulo { font-family: var(--cuerpo); font-size: .95rem; font-weight: 600; color: var(--texto-3); margin-bottom: 8px; }
.pie a { color: var(--texto); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.1rem; }
.pie a:hover { color: var(--amarillo); }
.pie__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linea); color: var(--texto-3); font-size: .92rem; }
@media (max-width: 760px) { .pie { padding-bottom: 96px; } .pie__rejilla { grid-template-columns: 1fr 1fr; } .pie__rejilla > div:first-child { grid-column: 1 / -1; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--verde-wa); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 0 4px rgba(37, 211, 102, .25);
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante:hover { color: #fff; background: #3be07c; }
.wa-flotante:focus-visible { border-radius: 50%; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fibra { animation: none; stroke-dashoffset: 0; }
  .portada__mascota img, .resultado.listo .resultado__fila { animation: none; }
  .boton, .opciones span { transition: none; }
}
.resultado__por strong { color: #fff; font-weight: 700; white-space: nowrap; }

/* =========================================================
   Página de información al usuario (ARCOTEL)
   ========================================================= */
.doc-cabeza {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  background: radial-gradient(50% 90% at 85% 0%, rgba(31, 107, 255, .3), transparent 70%), linear-gradient(180deg, #061232, #08184a);
  border-bottom: 1px solid var(--linea);
}
.doc-cabeza h1 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .95; }
.doc-cabeza__intro { margin-top: 16px; max-width: 62ch; color: var(--texto-2); font-size: 1.15rem; }
.doc-cabeza__fecha { margin-top: 14px; color: var(--texto-3); font-size: .95rem; }

.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); align-items: start; }
.doc__indice { position: sticky; top: 92px; }
.doc__indice-titulo { color: var(--texto-3); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.doc__indice ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linea); }
.doc__indice a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: .98rem; }
.doc__indice a:hover { color: #fff; border-left-color: var(--amarillo); }

.doc__cuerpo { max-width: 820px; }
.doc__seccion { padding: 8px 0 44px; margin-bottom: 40px; border-bottom: 1px solid var(--linea); }
.doc__seccion:last-child { border-bottom: 0; margin-bottom: 0; }
.doc__seccion h2 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; margin-bottom: 16px; }
.doc__seccion h3 { font-family: var(--cuerpo); font-weight: 700; font-size: 1.15rem; margin: 22px 0 10px; }
.doc__seccion > p { color: var(--texto-2); max-width: 68ch; margin-top: 12px; }
.doc__seccion > p:first-of-type { margin-top: 0; }
.doc__seccion strong { color: #fff; }
.nota { font-size: .95rem; color: var(--texto-3) !important; }

/* Ficha de datos */
.ficha, .condiciones, .herramientas { margin: 0; display: grid; }
.ficha > div, .condiciones > div, .herramientas > div {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea);
}
.ficha > div:first-child { border-top: 1px solid var(--linea); }
.ficha > div:last-child, .condiciones > div:last-child, .herramientas > div:last-child { border-bottom: 0; }
.ficha dt, .condiciones dt, .herramientas dt { color: var(--texto-3); font-weight: 600; }
.ficha dd, .condiciones dd, .herramientas dd { margin: 0; color: var(--texto); }
.condiciones { margin-top: 22px; }
.dato { font-family: var(--cuerpo); font-weight: 700; color: var(--amarillo); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Tablas */
.tabla-marco { margin-top: 20px; overflow-x: auto; border: 1px solid var(--linea); border-radius: 14px; background: #08173f; }
.tabla-marco:focus-visible { outline-offset: 2px; }
.tabla { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.tabla th, .tabla td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla thead th { color: var(--texto-3); font-weight: 600; font-size: .92rem; background: rgba(16, 38, 94, .6); white-space: nowrap; }
.tabla tbody tr:last-child > * { border-bottom: 0; }
.tabla tbody th { font-weight: 700; color: #fff; white-space: nowrap; }
.tabla td { white-space: nowrap; }
.tabla--calidad td { white-space: normal; }
.tabla .num { text-align: right; white-space: nowrap; }
.tabla .total { color: var(--amarillo); font-weight: 700; }
.tabla tbody th[scope="row"] { position: sticky; left: 0; background: #08173f; }
.tabla--calidad { min-width: 520px; }
.tabla--calidad tbody th { white-space: normal; font-weight: 600; color: var(--texto); }

/* Descargas y enlaces */
.doc-descarga { margin-top: 18px !important; }
.doc-descarga a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.doc-descarga .ico { width: 22px; height: 22px; }
.enlaces-externos { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.enlaces-externos a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.enlaces-externos .ico { width: 16px; height: 16px; opacity: .8; }

/* Listas */
.lista { margin: 12px 0 0; padding-left: 1.2em; color: var(--texto-2); display: grid; gap: 8px; max-width: 68ch; }
.lista li::marker { color: var(--amarillo); }
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dos-columnas h3 { margin-top: 0; }

/* Descuentos */
.beneficios { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.beneficio { border: 1px solid var(--linea); border-radius: 16px; padding: 22px 22px 20px; background: linear-gradient(160deg, var(--noche-3), #091a47); }
.beneficio h3 { margin: 0; font-size: 1.1rem; color: var(--texto-2); }
.beneficio .beneficio__cifra { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.2rem; line-height: 1.05; color: var(--amarillo); margin-top: 4px; }
.beneficio > p { margin-top: 10px; color: var(--texto-2); }
.beneficio .lista { font-size: .98rem; }
.beneficio .beneficio__base { font-size: .88rem; color: var(--texto-3); }

/* Reclamos */
.pasos--doc { margin-top: 8px; }
.pasos--doc p { margin-top: 8px; color: var(--texto-2); }
.pasos--doc h3 { margin: 10px 0 0; }
.pasos--doc > li + li { margin-top: 8px; }
.canales { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; border-top: 1px solid var(--linea); }
.canales li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea); color: var(--texto); }
.canales__tipo { color: var(--texto-3); font-weight: 600; }
.canales a { font-weight: 700; overflow-wrap: anywhere; }

/* Datos pendientes de completar (los marca el instalador) */
.pendiente {
  background: rgba(255, 201, 40, .12); color: var(--amarillo-claro);
  border: 1px dashed var(--amarillo); border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: .92em;
}

@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__indice { position: static; }
  .doc__indice ul { border-left: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .doc__indice a { margin: 0; padding: 7px 14px; border: 1px solid var(--linea); border-radius: 999px; font-size: .92rem; }
  .doc__indice a:hover { border-color: var(--amarillo); }
}
@media (max-width: 640px) {
  .ficha > div, .condiciones > div, .herramientas > div { grid-template-columns: 1fr; gap: 2px; }
  .dos-columnas, .beneficios { grid-template-columns: 1fr; }
  .canales li { grid-template-columns: 1fr; gap: 0; }
}

/* Enlaces de información al usuario en la portada */
.planes__nota { margin-top: 26px; color: var(--texto-2); max-width: 75ch; }
.planes__nota strong { color: #fff; }
.pie__rejilla--5 { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; }
.pie__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pie .pie__lista a { font-size: 1rem; font-weight: 500; color: var(--texto-2); }
.pie .pie__lista a:hover { color: var(--amarillo); }
.pie__legal a { color: var(--texto-2); display: inline; font-size: inherit; font-weight: 600; text-decoration: underline; }
@media (max-width: 980px) { .pie__rejilla--5 { grid-template-columns: 1fr 1fr 1fr; } .pie__rejilla--5 > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .pie__rejilla--5 { grid-template-columns: 1fr 1fr; } .pie__rejilla--5 > div:last-child { grid-column: 1 / -1; } }

/* Luces de la ONT (soporte) */
.pasos strong { color: #fff; }
.pasos .alerta { color: #ff6b6b; }
.ont { margin: 14px 0 6px; }
.ont__panel {
  display: inline-flex; gap: 22px; align-items: center;
  padding: 12px 20px; border-radius: 12px;
  background: linear-gradient(180deg, #f4f6fb, #d9deea);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 8px 20px rgba(0, 0, 0, .35);
}
.ont__luz {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cuerpo); font-weight: 700; font-size: .8rem; letter-spacing: .06em; color: #3a4357;
}
.ont__luz::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: #9aa3b5; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35);
}
.ont__luz--verde::before { background: #22d35e; box-shadow: 0 0 6px 2px rgba(34, 211, 94, .75), inset 0 -1px 1px rgba(0, 0, 0, .2); }
.ont__luz--apagada::before { background: #b9c0cd; }
.ont figcaption { margin-top: 10px; color: var(--texto-3); font-size: .95rem; max-width: 52ch; }
.pasos li > p + p { margin-top: 8px; }

/* =========================================================
   Indicadores de calidad y uso del canal
   ========================================================= */
.miga { color: var(--texto-3); font-size: .95rem; margin-bottom: 10px; }
.miga a { color: var(--texto-2); }
.doc--ancho { grid-template-columns: minmax(0, 1fr); }
.doc--ancho .doc__cuerpo { max-width: 1060px; }

.tabla--indicadores { min-width: 820px; }
.tabla--indicadores td, .tabla--indicadores tbody th { white-space: normal; vertical-align: top; }
.tabla--indicadores tbody th { font-weight: 600; color: #fff; min-width: 220px; position: static; }
.ind-num {
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
  background: var(--noche-3); color: var(--texto-2); font-size: .8rem; font-weight: 700; vertical-align: 1px;
}
.formula { display: block; font-weight: 600; color: var(--texto); white-space: nowrap; }
.formula__nota { display: block; margin-top: 4px; color: var(--texto-3); font-size: .9rem; max-width: 34ch; }
.tabla--indicadores .meta, .tabla--indicadores .obtenido { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabla--indicadores .obtenido { color: #fff; font-weight: 700; }
.cumple { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cumple::before { font-size: .85em; }
.cumple--si { background: rgba(61, 220, 116, .14); color: #7ff0a6; }
.cumple--si::before { content: "✓"; }
.cumple--no { background: rgba(255, 107, 107, .14); color: #ff9b9b; }
.cumple--no::before { content: "✕"; }
.cumple--na { background: rgba(180, 194, 227, .12); color: var(--texto-2); }
.declaracion {
  margin-top: 20px !important; padding: 14px 18px; border-radius: 12px;
  background: rgba(61, 220, 116, .1); border: 1px solid rgba(61, 220, 116, .35); color: #c9f7d9 !important;
}

/* Enlaces a calidad desde información al usuario */
.enlaces-calidad { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.enlace-calidad {
  display: block; padding: 18px 20px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(160deg, var(--noche-3), #091a47); border: 1px solid var(--linea);
}
.enlace-calidad:hover { border-color: var(--azul-claro); }
.enlace-calidad__titulo { display: block; color: #fff; font-weight: 700; font-size: 1.1rem; }
.enlace-calidad__titulo::after { content: " ›"; color: var(--amarillo); }
.enlace-calidad__texto { display: block; margin-top: 6px; color: var(--texto-2); font-size: .98rem; }
@media (max-width: 640px) { .enlaces-calidad { grid-template-columns: 1fr; } }

/* Uso del canal */
.cap-resumen {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 48px; align-items: center;
  padding: 24px 26px; margin-bottom: 40px; border-radius: 18px;
  background: linear-gradient(160deg, var(--noche-3), #091a47); border: 1px solid var(--linea);
}
.cap-cifra__etiqueta { color: var(--texto-2); font-weight: 600; }
.cap-cifra__valor { font-family: var(--cuerpo); font-weight: 600; font-size: clamp(3rem, 7vw, 4rem); line-height: 1.05; color: #fff; }
.cap-datos { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap-datos dt { color: var(--texto-3); font-size: .92rem; font-weight: 600; }
.cap-datos dd { margin: 4px 0 0; color: #fff; font-weight: 700; font-size: 1.1rem; }
@media (max-width: 760px) { .cap-resumen { grid-template-columns: 1fr; } .cap-datos { grid-template-columns: 1fr 1fr; } }

.grafico { margin-top: 18px; width: 100%; overflow: hidden; }
.graf-svg { display: block; width: 100%; height: auto; }
.graf-grid { stroke: rgba(130, 165, 255, .16); stroke-width: 1; }
.graf-ref { stroke: rgba(238, 243, 255, .55); stroke-width: 1; }
.graf-ref-txt { fill: var(--texto-2); font: 600 12px var(--cuerpo); }
.graf-eje { fill: var(--texto-3); font: 500 12px var(--cuerpo); font-variant-numeric: tabular-nums; }
.graf-valor { fill: var(--texto); font: 700 13px var(--cuerpo); }
.graf-cruz { stroke: rgba(238, 243, 255, .45); stroke-width: 1; }
.graf-hit { outline: none; cursor: default; }
.graf-hit.activa { fill: rgba(130, 165, 255, .08); }
.graf-vacio { color: var(--texto-3); padding: 20px 0; }
.graf-tip {
  position: fixed; z-index: 80; pointer-events: none;
  padding: 8px 12px; border-radius: 10px; background: #0e1f52; border: 1px solid rgba(130, 165, 255, .35);
  color: var(--texto); font-size: .9rem; line-height: 1.45; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); font-variant-numeric: tabular-nums;
}
.graf-tip strong { color: #fff; }
.cap-tabla { margin-top: 16px; }
.cap-tabla summary { cursor: pointer; color: var(--amarillo); font-weight: 600; }
.cap-tabla .tabla { min-width: 0; }
.doc--ancho .tabla:not(.tabla--indicadores) { min-width: 0; }
.cap-vacio { padding: 28px; border-radius: 16px; border: 1.5px dashed var(--linea); color: var(--texto-2); max-width: 60ch; }

.doc__seccion > .tabla-marco + p { margin-top: 14px; }

/* Indicadores en celular: cada indicador como tarjeta */
@media (max-width: 760px) {
  .tabla--indicadores { min-width: 0; }
  .tabla--indicadores thead { display: none; }
  .tabla--indicadores, .tabla--indicadores tbody { display: block; }
  .tabla--indicadores tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 14px; align-items: end;
    padding: 16px; border-bottom: 1px solid var(--linea);
  }
  .tabla--indicadores tbody tr:last-child { border-bottom: 0; }
  .tabla--indicadores tr > * { display: block; padding: 0; border: 0 !important; min-width: 0; }
  .tabla--indicadores tbody th { grid-column: 1 / -1; min-width: 0; }
  .tabla--indicadores td:nth-child(2) { grid-column: 1 / -1; }
  .tabla--indicadores .formula { white-space: normal; }
  .tabla--indicadores .meta::before, .tabla--indicadores .obtenido::before {
    display: block; color: var(--texto-3); font-size: .8rem; font-weight: 600; margin-bottom: 2px;
  }
  .tabla--indicadores .meta::before { content: "Meta"; }
  .tabla--indicadores .obtenido::before { content: "Obtenido"; }
}
.graf-valor { paint-order: stroke; stroke: #061232; stroke-width: 4px; stroke-linejoin: round; }
