/* =====================================================================
   MUNDO-NET · Internet de banda ancha por fibra en Luis Guillón
   DNA: «la luz que corre por la fibra y se enciende en cada casa de la zona»
   Tensión: técnico (fibra, megas) ↔ cercano (tu cuadra, tu casa)
   Elemento memorable: el mapa de calles con pulsos de luz que encienden casas
   Color: cian = la señal (mapa, técnica) · ámbar cálido = la oferta, el contacto y la marca
   Antipatrones: radio > 6px · glass · gradientes violeta · emoji · fotos de stock
   ===================================================================== */

:root {
  /* Paleta: 4 tokens madre + marca */
  --base:    oklch(15% 0.03 245);   /* noche azulada */
  --surface: oklch(20% 0.035 245);  /* un paso arriba */
  --ink:     oklch(96% 0.008 230);  /* blanco frío */
  --accent:  oklch(86% 0.16 190);   /* luz de fibra (cian) */
  --brand:   #155E96;               /* azul del logo MUNDO-NET */
  --warm:    oklch(80% 0.165 62);   /* ámbar cálido: promos, contacto, marca */

  /* Derivados */
  --ink-2:      oklch(78% 0.02 235);   /* texto secundario, ≥ 7:1 sobre base */
  --ink-3:      oklch(66% 0.025 235);  /* letra chica, ≥ 4.5:1 sobre base */
  --line:       oklch(32% 0.035 245);
  --line-soft:  oklch(25% 0.03 245);
  --accent-ink: oklch(18% 0.04 220);   /* texto sobre el acento */
  --accent-dim: oklch(86% 0.16 190 / 0.18);
  --brand-hi:   oklch(58% 0.13 248);
  --warm-hi:    oklch(86% 0.14 70);
  --warm-ink:   oklch(20% 0.05 50);    /* texto sobre el ámbar, > 9:1 */
  --warm-dim:   oklch(80% 0.165 62 / 0.16);
  --danger:     oklch(72% 0.19 22);

  /* Tipografía */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --step--1:   clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:    clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2:    clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3:    clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --step-4:    clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);
  --step-hero: clamp(2.9rem, 1.6rem + 6.4vw, 7.4rem);

  /* Espacio */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4.5rem; --s-9: 7rem;
  --gutter: clamp(1rem, 0.6rem + 2.4vw, 3rem);
  --max: 78rem;

  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --nav-h: 4rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: var(--step-0);
  font-variation-settings: "wdth" 100;
  line-height: 1.55;
  overflow-x: hidden; /* Safari < 16 no conoce clip */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 30;
  background: var(--accent); color: var(--accent-ink);
  padding: var(--s-2) var(--s-4); font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: var(--s-4); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3rem; padding: 0 var(--s-5);
  font-weight: 700; font-size: var(--step-0); letter-spacing: 0.01em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out), translate var(--t-fast) var(--ease-out);
}
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }
.btn--primary { background: var(--warm); color: var(--warm-ink); }
.btn--primary:hover { background: var(--warm-hi); }
.btn--line { border-color: var(--ink-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); min-height: 2.5rem; padding: 0 var(--s-4); font-size: var(--step--1); }
.btn--ghost:hover { border-color: var(--warm); color: var(--warm); }
.btn--block { width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: var(--s-4);
  height: var(--nav-h); padding: 0 var(--gutter);
  background: oklch(15% 0.03 245 / 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav__brand {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: 0.02em;
  text-decoration: none; font-size: var(--step-0);
}
.nav__brand img { border-radius: 3px; }
.nav__dash { color: var(--warm); }
.nav__links { display: none; }
.nav__cta { margin-left: auto; border-color: var(--warm); color: var(--warm); }
@media (min-width: 60rem) {
  .nav__links { display: flex; gap: var(--s-5); margin-left: var(--s-6); font-size: var(--step--1); }
  .nav__links a { text-decoration: none; color: var(--ink-2); padding: var(--s-2) 0; transition: color var(--t-fast); }
  .nav__links a:hover { color: var(--accent); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; gap: var(--s-7);
  max-width: var(--max); margin: 0 auto;
  padding: var(--s-7) var(--gutter) var(--s-8);
}
@media (min-width: 64rem) {
  /* asimétrico 7:5 — el copy manda, el mapa acompaña */
  .hero { grid-template-columns: 7fr 5fr; align-items: center; gap: var(--s-6); padding-top: var(--s-8); min-height: calc(100svh - var(--nav-h)); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-mono); font-size: var(--step--1); color: var(--ink-2);
  letter-spacing: 0.02em; margin-bottom: var(--s-5);
}
.eyebrow__dot {
  flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-dim); animation: beacon 2.4s var(--ease-out) infinite;
}
@keyframes beacon {
  0%   { box-shadow: 0 0 0 0 oklch(86% 0.16 190 / 0.55); }
  70%  { box-shadow: 0 0 0 0.7rem oklch(86% 0.16 190 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(86% 0.16 190 / 0); }
}

.hero__title {
  font-size: var(--step-hero); font-weight: 850; line-height: 0.9;
  font-variation-settings: "wdth" 72; letter-spacing: -0.015em; text-transform: uppercase;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--accent); }

/* La promo es parte del encabezado */
.promo {
  display: grid; grid-template-columns: auto 1fr; align-items: stretch;
  margin-top: var(--s-6); max-width: 36rem;
  border: 1.5px solid var(--warm); border-radius: var(--radius); background: var(--surface);
}
.promo__stamp {
  display: grid; place-content: center; text-align: center;
  padding: var(--s-4) var(--s-4);
  background: var(--warm); color: var(--warm-ink);
  text-transform: uppercase; line-height: 1;
}
.promo__stamp span { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; }
.promo__stamp strong { font-size: var(--step-2); font-weight: 900; font-variation-settings: "wdth" 80; margin-top: var(--s-1); }
.promo__plans { display: grid; }
.promo__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
}
.promo__row + .promo__row { border-top: 1px solid oklch(80% 0.165 62 / 0.35); }
.promo__row dt { font-weight: 600; color: var(--ink-2); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; }
.promo__speed { font-family: var(--f-mono); font-weight: 700; font-size: var(--step-2); color: var(--ink); letter-spacing: -0.02em; margin-right: 0.15em; }
.promo__price { font-family: var(--f-mono); font-weight: 700; font-size: var(--step-1); font-variant-numeric: tabular-nums; color: var(--warm); }
.promo__per { color: var(--ink-3); font-size: var(--step--1); margin-left: 0.15em; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Mapa de señal */
.signal { position: relative; width: 100%; max-width: 34rem; margin-inline: auto; }
.signal__map { width: 100%; height: auto; aspect-ratio: 1; }
.signal__streets line { stroke: var(--line-soft); stroke-width: 10; stroke-linecap: square; }
.signal__streets .signal__avenue { stroke: var(--line); stroke-width: 16; }
/* la fibra tendida: siempre visible, tenue */
.route-base { fill: none; stroke: oklch(86% 0.16 190 / 0.26); stroke-width: 2.5; stroke-linejoin: round; }
.pulse {
  fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round;
  stroke-linejoin: round; stroke-dasharray: 14 200; stroke-dashoffset: 14;
  filter: drop-shadow(0 0 4px oklch(86% 0.16 190 / 0.8));
  animation: travel 4.2s linear infinite;
}
.p2 { animation-delay: -0.9s; animation-duration: 3.6s; }
.p3 { animation-delay: -1.8s; animation-duration: 5s; }
.p4 { animation-delay: -2.6s; animation-duration: 4.6s; }
.p5 { animation-delay: -3.3s; animation-duration: 3.9s; }
@keyframes travel { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -100; } }

.home { fill: var(--surface); stroke: oklch(86% 0.16 190 / 0.55); stroke-width: 2; animation: lit 4.2s linear infinite; }
.h2 { animation-delay: -0.9s; animation-duration: 3.6s; }
.h3 { animation-delay: -1.8s; animation-duration: 5s; }
.h4 { animation-delay: -2.6s; animation-duration: 4.6s; }
.h5 { animation-delay: -3.3s; animation-duration: 3.9s; }
/* la casa se enciende cuando el pulso llega al final del recorrido */
@keyframes lit {
  0%, 86%  { fill: var(--surface); stroke: oklch(86% 0.16 190 / 0.55); }
  89%, 98% { fill: var(--accent); stroke: var(--accent); }
  100%     { fill: var(--surface); stroke: oklch(86% 0.16 190 / 0.55); }
}
.node__core { fill: var(--accent); }
.node__ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-origin: 84px 96px; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* debajo del mapa, nunca encima: tapaba casas (desktop la del recorrido 4, celular la 3) */
.signal__readout {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  margin-top: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--base); border: 1.5px solid var(--accent); border-radius: var(--radius);
}
.signal__label { font-family: var(--f-mono); font-size: var(--step--1); color: var(--ink-2); }
.signal__value { font-family: var(--f-mono); font-weight: 700; font-size: var(--step-4); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.signal__value small { font-size: var(--step-0); color: var(--ink); margin-left: 0.3em; font-weight: 500; }

/* ---------- Cinta ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line-soft); background: var(--surface); }
.ticker__track {
  display: flex; align-items: center; gap: var(--s-5); width: max-content;
  padding: var(--s-3) 0;
  font-family: var(--f-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2);
  animation: marquee 38s linear infinite;
}
.ticker__track i { width: 0.4rem; height: 0.4rem; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.plans, .calc, .steps, .faq { max-width: var(--max); margin: 0 auto; padding: var(--s-9) var(--gutter) 0; }
.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); max-width: 46rem; }
.section-head--tight { margin-bottom: var(--s-6); }
.kicker { font-family: var(--f-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: 0.04em; }
.section-title { font-size: var(--step-4); font-weight: 800; line-height: 0.98; font-variation-settings: "wdth" 78; letter-spacing: -0.01em; }
.lede { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; max-width: 38rem; }
.fine { margin-top: var(--s-5); color: var(--ink-3); font-size: var(--step--1); max-width: 60ch; }
.fine--left { margin-top: var(--s-3); }

/* ---------- Planes ---------- */
.plans__grid { display: grid; gap: var(--s-5); }
@media (min-width: 52rem) { .plans__grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }

.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 40rem) { .plan { padding: var(--s-7) var(--s-6); } }
.plan--hi { border-color: var(--warm); }
.plan--hi::before {
  /* la "fibra" encendida sobre el plan destacado */
  content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -1.5px; height: 4px; background: var(--warm);
  border-radius: var(--radius) var(--radius) 0 0;
}
.plan__tag { font-family: var(--f-mono); font-size: var(--step--1); color: var(--warm); text-transform: uppercase; letter-spacing: 0.06em; }
.plan__speed {
  font-family: var(--f-mono); font-weight: 700; font-size: clamp(4rem, 2.8rem + 6vw, 7.5rem);
  line-height: 0.85; letter-spacing: -0.05em;
}
.plan__speed small { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; margin-left: 0.35em; color: var(--ink-2); }
.plan__price { font-family: var(--f-mono); font-weight: 700; font-size: var(--step-3); font-variant-numeric: tabular-nums; line-height: 1; color: var(--warm); display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.1em; }
.plan__cur { font-size: 0.6em; color: var(--ink-2); }
.plan__per { font-family: var(--f-display); font-size: var(--step--1); font-weight: 500; color: var(--ink-3); margin-left: var(--s-2); }
.plan__fit { margin-top: var(--s-3); font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.plan__list { display: grid; gap: var(--s-2); }
.plan__list li { position: relative; padding-left: 1.5rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9rem; height: 2px; background: var(--accent); }
.plan__incl { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 var(--s-3); }
.plan__incl li {
  font-family: var(--f-mono); font-size: var(--step--1); color: var(--ink);
  padding: var(--s-1) var(--s-3); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan .btn { margin-top: auto; }

/* ---------- Calculadora ---------- */
.calc__form {
  display: grid; gap: var(--s-6);
  padding: var(--s-6) var(--s-5);
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
@media (min-width: 60rem) {
  .calc__form { grid-template-columns: auto 1fr; grid-template-areas: "personas usos" "res res"; padding: var(--s-7); column-gap: var(--s-8); }
  .calc__group:first-child { grid-area: personas; }
  .calc__group:nth-child(2) { grid-area: usos; }
  .calc__result { grid-area: res; }
}
.calc__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__group legend { font-weight: 700; font-size: var(--step-1); margin-bottom: var(--s-4); padding: 0; }

.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius); }
.stepper__btn {
  width: 3.25rem; min-height: 3.25rem; background: transparent; border: 0; cursor: pointer;
  font-size: var(--step-2); font-weight: 600; color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.stepper__btn:hover:not(:disabled) { background: var(--accent-dim); color: var(--accent); }
.stepper__btn:disabled { color: var(--line); cursor: not-allowed; }
.stepper__val {
  display: grid; place-content: center; min-width: 4.5rem;
  border-inline: 1.5px solid var(--line);
  font-family: var(--f-mono); font-weight: 700; font-size: var(--step-3); font-variant-numeric: tabular-nums;
}

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 2.75rem; padding: 0 var(--s-4);
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.chips label::before {
  content: ""; width: 0.85rem; height: 0.85rem; border: 1.5px solid var(--ink-3); border-radius: 2px; flex: none;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.chips label:hover { border-color: var(--ink-2); }
.chips input:checked + label { border-color: var(--accent); background: var(--accent-dim); }
.chips input:checked + label::before { background: var(--accent); border-color: var(--accent); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

.calc__result { display: grid; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.calc__need { color: var(--ink-2); }
.calc__need strong { font-family: var(--f-mono); color: var(--ink); }
.calc__reco { font-size: var(--step-2); font-weight: 700; line-height: 1.15; }
.calc__reco strong { color: var(--warm); font-family: var(--f-mono); }
.calc__result .btn { justify-self: start; }

.meter { position: relative; height: 0.6rem; background: var(--base); border: 1px solid var(--line); border-radius: 2px; margin-bottom: var(--s-4); }
.meter__fill {
  position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent);
  box-shadow: 0 0 10px oklch(86% 0.16 190 / 0.6);
  transition: width 420ms var(--ease-out);
}
.meter__mark { position: absolute; top: calc(100% + 0.3rem); font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3); translate: -50% 0; }
.meter__mark::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 0.3rem); width: 1px; height: 0.9rem; background: var(--ink-3); }
.meter__mark--50 { left: 50%; }
.meter__mark--100 { left: 100%; translate: -100% 0; }
.meter__mark--100::before { left: auto; right: 0; }

/* ---------- Cobertura ---------- */
.cover { position: relative; margin-top: var(--s-9); isolation: isolate; overflow: hidden; }
.cover__media { position: absolute; inset: 0; z-index: -2; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.4) contrast(1.05); }
.cover::before {
  /* velo de noche + trazas de fibra */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, oklch(15% 0.03 245 / 0.97) 0%, oklch(15% 0.03 245 / 0.9) 50%, oklch(15% 0.03 245 / 0.72) 100%),
    repeating-linear-gradient(115deg, transparent 0 46px, oklch(86% 0.16 190 / 0.08) 46px 47px);
}
.cover__inner { max-width: var(--max); margin: 0 auto; padding: var(--s-9) var(--gutter); }
.cover__form {
  display: grid; gap: var(--s-4); max-width: 34rem;
  padding: var(--s-6) var(--s-5);
  background: var(--base); border: 1.5px solid var(--line); border-left: 4px solid var(--warm); border-radius: var(--radius);
}
.cover__form .btn { justify-self: start; margin-top: var(--s-2); }
.cover__credit { position: absolute; right: var(--gutter); bottom: var(--s-3); font-size: 0.75rem; color: var(--ink-3); }

.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input {
  min-height: 3rem; padding: 0 var(--s-4);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--t-fast);
}
.field input::placeholder { color: var(--ink-3); }
.field input:hover { border-color: var(--ink-3); }
.field input:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: var(--step--1); font-weight: 600; }

/* ---------- Pasos ---------- */
.steps__list { display: grid; gap: var(--s-5); counter-reset: paso; position: relative; }
@media (min-width: 52rem) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .steps__list::before {
    /* el tramo de fibra que une los tres pasos */
    content: ""; position: absolute; top: 1.6rem; left: 1.6rem; right: 1.6rem; height: 2px;
    background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%));
  }
}
.step { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.step__n {
  position: relative; display: grid; place-content: center;
  width: 3.2rem; height: 3.2rem; background: var(--base);
  border: 2px solid var(--accent); border-radius: var(--radius);
  font-family: var(--f-mono); font-weight: 700; font-size: var(--step-1); color: var(--accent);
}
.step__t { font-size: var(--step-2); font-weight: 750; font-variation-settings: "wdth" 85; line-height: 1.1; margin-top: var(--s-2); }
.step__d { color: var(--ink-2); max-width: 32ch; }

/* ---------- Preguntas ---------- */
.faq__list { border-top: 1px solid var(--line); max-width: 52rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 700; line-height: 1.25;
  transition: color var(--t-fast);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; display: grid; place-content: center;
  width: 2rem; height: 2rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--f-mono); font-weight: 500; color: var(--accent);
  transition: rotate var(--t-fast) var(--ease-out), border-color var(--t-fast);
}
.qa[open] summary::after { rotate: 45deg; border-color: var(--accent); }
.qa summary:hover { color: var(--accent); }
.qa p { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 64ch; }
.qa a { color: var(--accent); }

/* ---------- Horarios ---------- */
.hours { max-width: var(--max); margin: 0 auto; padding: var(--s-9) var(--gutter) 0; }
.hours__wrap { display: grid; gap: var(--s-6); }
@media (min-width: 56rem) { .hours__wrap { grid-template-columns: 1fr 1fr; align-items: end; } }
.status {
  display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start;
  font-family: var(--f-mono); font-size: var(--step--1);
  padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2);
}
.status__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink-3); }
.status.is-open { color: var(--ink); border-color: var(--accent); }
.status.is-open .status__dot { background: var(--accent); animation: beacon 2.4s var(--ease-out) infinite; }

.timetable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { text-align: left; padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); }
.timetable thead th { font-family: var(--f-mono); font-size: var(--step--1); color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.timetable tbody th { font-weight: 700; }
.timetable td { font-family: var(--f-mono); font-weight: 700; }
.timetable .is-closed td { color: var(--ink-3); font-weight: 500; }
.timetable .is-today { background: var(--accent-dim); }
.timetable .is-today th { box-shadow: inset 4px 0 0 var(--accent); }

/* ---------- CTA final ---------- */
.final {
  max-width: var(--max); margin: var(--s-9) auto 0; padding: var(--s-9) var(--gutter);
  text-align: center; border-top: 1px solid var(--line-soft);
  display: grid; justify-items: center; gap: var(--s-4);
}
.final__title em { font-style: normal; color: var(--warm); }
.final__title { font-size: var(--step-hero); font-weight: 850; line-height: 0.9; font-variation-settings: "wdth" 72; text-transform: uppercase; }
.final__lede { color: var(--ink-2); font-size: var(--step-1); }
.final__phone {
  display: inline-flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4); padding: var(--s-4) var(--s-6);
  background: var(--warm); color: var(--warm-ink); border-radius: var(--radius);
  font-family: var(--f-mono); font-weight: 700; font-size: var(--step-2); text-decoration: none; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast), translate var(--t-fast) var(--ease-out);
}
.final__phone:hover { background: var(--warm-hi); translate: 0 -2px; }
.final__alt { color: var(--ink-3); }
.final__alt a { color: var(--warm); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.final__alt a:hover { color: var(--warm-hi); }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line-soft); padding: var(--s-6) var(--gutter) var(--s-7); max-width: var(--max); margin: 0 auto; display: grid; gap: var(--s-3); font-size: var(--step--1); color: var(--ink-3); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink-2); }
.foot__brand strong { color: var(--warm); font-weight: 800; }
.foot__brand img { border-radius: 3px; }
.foot a { color: var(--ink-2); }

/* ---------- Marca de agua: fibra óptica real ----------
   Foto de una bandeja de fibras (Wikimedia Commons, CC0), recortada sin la marca del fabricante y
   pasada a duotono cian (el color de la señal). Es textura, no protagonista: opacidad baja y bordes
   que se funden con máscaras. Va en un ::before con z-index -1 dentro de la sección (isolation
   aísla el apilado), así nunca tapa texto ni recibe clics. Sangra hasta el borde de la ventana
   (calc 50% - 50vw); body tiene overflow-x: clip, no aparece scroll horizontal. */
.plans, .steps, .final { position: relative; isolation: isolate; }
.plans::before, .steps::before, .final::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: cover;
  opacity: 0.1; mix-blend-mode: screen;
}
/* planes: bandejas a la derecha, se apagan hacia el centro y en las puntas */
.plans::before {
  top: var(--s-6); bottom: calc(var(--s-6) * -1);
  right: calc(50% - 50vw); width: min(70vw, 38rem);
  background-image: url("/sitio/assets/img/fibra-bandejas.webp"); background-position: left center;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent), linear-gradient(#0000, #000 18%, #000 82%, #0000);
  mask-image: linear-gradient(to left, #000 35%, transparent), linear-gradient(#0000, #000 18%, #000 82%, #0000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* instalación: franja a la izquierda, del lado opuesto a planes para alternar */
.steps::before {
  top: var(--s-8); height: min(60vw, 22rem);
  left: calc(50% - 50vw); width: min(85vw, 46rem);
  background-image: url("/sitio/assets/img/fibra-franja.webp"); background-position: right center;
  -webkit-mask-image: radial-gradient(closest-side at 30% 50%, #000 40%, transparent);
  mask-image: radial-gradient(closest-side at 30% 50%, #000 40%, transparent);
}
/* cierre: la franja detrás del «¡Contratá ya!», centrada y a todo lo ancho */
.final::before {
  inset: 0 calc(50% - 50vw);
  background-image: url("/sitio/assets/img/fibra-franja.webp"); background-position: center;
  opacity: 0.12;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
@media (min-width: 52rem) {
  .plans::before, .steps::before { opacity: 0.14; }
  .final::before { opacity: 0.16; }
}

/* ---------- Revelado progresivo (solo con JS + GSAP) ---------- */
/* has-motion lo pone main.js recién cuando GSAP cargó: sin script inline (la CSP de `/` lo bloquearía) */
.has-motion [data-reveal] { opacity: 0; translate: 0 1.25rem; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .pulse { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0.55; }
  .home { fill: var(--accent); stroke: var(--accent); }
  .ticker__track { transform: none; }
}

/* Botón «¡Contratá ya!» con el logo de WhatsApp */
.final__phone-txt { font-family: var(--f-display); font-weight: 900; font-size: var(--step-3); line-height: 1; text-transform: uppercase; font-variation-settings: "wdth" 80; letter-spacing: 0.01em; }
.final__phone .ico { width: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); height: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); }
