/* ============================================================
   INTERVELOZ — STYLE.CSS
   ISP Fibra Óptica · Caaguazú, Paraguay
   Sistema Visual "Fibra Viva" — Rediseño 2026-07-25
   Cloudflare/Vercel/Linear con acento amarillo señal
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   0. DESIGN TOKENS — "Fibra Viva" (DESIGN.md canónico)
   ──────────────────────────────────────────────────────────── */
:root {
  /* ── Dark spectrum ── */
  --c-fiber-void:      #050B18;   /* hero + secciones más oscuras */
  --c-midnight-hull:   #0A1628;   /* body bg base */
  --c-deep-blueprint:  #111E3A;   /* superficie de tarjetas */

  /* ── Brand colors ── */
  --c-blue:            #1A3BAB;   /* azul Interveloz */
  --c-blue-mid:        #2548CC;
  --c-fiber-glow:      #3B5BDB;   /* solo para glow/hilos */
  --c-blue-dark:       #0D2575;

  /* ── Signal Yellow ── */
  --c-yellow:          #FFC107;
  --c-yellow-hot:      #FFD54F;
  --c-yellow-deep:     #E6A800;
  --c-hairline-yellow: rgba(255,193,7,0.18);

  /* ── Ink ── */
  --c-white:           #FFFFFF;
  --c-ink-white-70:    rgba(255,255,255,0.75);  /* subido 0.70→0.75 para pasar WCAG-AA holgado sobre backgrounds oscuros */
  --c-ink-white-40:    rgba(255,255,255,0.65);  /* subido 0.40→0.65: al 0.40 daba contraste 3.73 (falla AA); labels ilegibles en hero/planes/footer */
  --c-paper-bone:      #F8F6F0;   /* pausa clara — max 2 secciones */

  /* ── Legacy aliases (usados en componentes inline del HTML) ── */
  --c-off-white:       var(--c-paper-bone);
  --c-dark:            var(--c-midnight-hull);
  --c-dark-mid:        var(--c-deep-blueprint);

  /* ── Tipografía ── */
  --font-display: 'Outfit', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ── Espaciado ── */
  --section-pad-top: 6rem;
  --section-pad-bot: 7.5rem;

  /* Ritmo vertical. Antes las 7 secciones del cuerpo usaban exactamente
     96px/120px, así que el sitio latía igual de principio a fin y se leía
     plano. Estos tres valores agrupan por tema: lo que abre un tema nuevo
     respira más, y lo que continúa el tema de la sección anterior se
     acerca para que el par se lea como una sola idea. */
  --section-pad-open: 8rem;    /* 128px — abre un tema nuevo */
  --section-join-bot: 4rem;    /* 64px  — cierra hacia su par */
  --section-join-top: 3.5rem;  /* 56px  — continúa desde su par */
  --container-max:   1200px;
  --container-pad:   clamp(1.25rem, 5vw, 4rem);

  /* ── Sombras multicapa (Glow-Over-Shadow Rule) ── */
  --shadow-sm:           0 2px 8px rgba(10,22,40,0.15), 0 8px 24px rgba(10,22,40,0.08);
  --shadow-md:           0 4px 16px rgba(10,22,40,0.2), 0 16px 48px rgba(10,22,40,0.12);
  --shadow-lg:           0 8px 32px rgba(10,22,40,0.25), 0 32px 80px rgba(10,22,40,0.15);
  --glow-yellow:         0 4px 20px rgba(255,193,7,0.35), 0 16px 48px rgba(255,193,7,0.12);
  --glow-yellow-hot:     0 8px 30px rgba(255,193,7,0.5), 0 2px 8px rgba(255,193,7,0.3);
  --glow-fiber-blue:     0 0 60px rgba(59,91,219,0.35), 0 0 120px rgba(59,91,219,0.15);

  /* Alias para los componentes que usaban el nombre viejo */
  --shadow-yellow:       var(--glow-yellow);

  /* ── Curvas de easing Emil Kowalski ── */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Radios ── */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ────────────────────────────────────────────────────────────
   1. RESET + BASE
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1rem + 0.2vw, 18px);
  line-height: 1.6;
  color: var(--c-white);
  background: var(--c-midnight-hull);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Textura noise sobre fondos dark — signature Fibra Viva */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Contenedor */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ────────────────────────────────────────────────────────────
   2. TIPOGRAFÍA DRAMÁTICA (DESIGN.md §3)
   ──────────────────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw + 1rem, 7.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw + 1rem, 7.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  max-width: 65ch;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Section label — Silent Kicker Rule: máx 3 por página */
.section-label {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  /* Default dark-bg variant */
  color: var(--c-yellow);
  border: 1px solid var(--c-hairline-yellow);
  background: rgba(255,193,7,0.06);
}

/* ────────────────────────────────────────────────────────────
   3. CURSOR CUSTOM (desktop · hover:hover only)
   ──────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }

  .custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-yellow);
    pointer-events: none;
    z-index: 99999;
    /* scale() en lugar de width/height — GPU composited, sin layout thrash */
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s var(--ease-out), background 0.2s;
    box-shadow: 0 0 12px rgba(255,193,7,0.6);
  }

  .custom-cursor-ring {
    position: fixed;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(59,91,219,0.5);
    pointer-events: none;
    z-index: 99998;
    /* scale() en lugar de width/height — GPU composited, sin layout thrash */
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.35s var(--ease-out), border-color 0.2s;
  }

  .custom-cursor.hover-active {
    /* scale(0.7) ≈ 20px → 14px */
    transform: translate(-50%, -50%) scale(0.7);
    background: var(--c-fiber-glow);
  }

  .custom-cursor-ring.hover-active {
    /* scale(1.27) ≈ 44px → 56px */
    transform: translate(-50%, -50%) scale(1.27);
    border-color: rgba(59,91,219,0.8);
  }

  a:hover, button:hover, [role="button"]:hover {
    cursor: none;
  }
}

/* ────────────────────────────────────────────────────────────
   4. HEADER / NAV (dark-dominant, hairline amarilla)
   ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.4s var(--ease-out), visibility 0.4s, transform 0.4s var(--ease-out);
  /* El fondo, el blur y el hairline viven ACÁ (ancho completo del viewport).
     Antes estaban en .nav-inner, que está limitado a --container-max y centrado,
     así que la barra se cortaba antes de llegar a los bordes de la pantalla. */
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-hairline-yellow);
}

.site-header.scrolled {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem var(--container-pad);
  max-width: var(--container-max);
  margin-inline: auto;
  /* solo alinea el contenido; el fondo y el borde los pone .site-header */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  /* logo COMPLETO (1400x510) — incluye la bajada amarilla "Internet Fibra Óptica".
     Antes se usaba interveloz-mark-on-dark.png, que es el mismo logo con esa
     bajada recortada a media letra. Un logotipo no se modifica: se usa entero. */
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.nav-logo:hover .nav-logo-img { opacity: 0.88; }

.nav-logo-svg, .nav-logo-text { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--c-yellow); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s;
  box-shadow: var(--glow-yellow);
}

.btn-nav-wa:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-yellow-hot);
}

.btn-nav-cuenta {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-nav-cuenta:hover {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-fiber-void);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-drawer), visibility 0.35s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--c-white);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--c-yellow); }

.mobile-nav .btn-mobile-wa {
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  box-shadow: var(--glow-yellow);
}

/* ────────────────────────────────────────────────────────────
   5. HERO — "Fibra Viva" cinemático
   ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-fiber-void);
  overflow: hidden;
}

/* Noise sobre el hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.055'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

/* Blob azul glow — parallax target */
.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(59,91,219,0.28) 0%, rgba(26,59,171,0.12) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

/* Blob secundario amarillo — acento */
.hero-blob-yellow {
  position: absolute;
  width: 300px;
  height: 300px;
  left: -60px;
  bottom: 10%;
  background: radial-gradient(ellipse, rgba(255,193,7,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: blobPulse 8s ease-in-out infinite;
}

@keyframes blobPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1.0; transform: scale(1.08); }
}

/* Fiber Rail SVG — el hilo de luz horizontal */
.fiber-rail-svg {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.fiber-rail-path {
  fill: none;
  stroke: var(--c-fiber-glow);
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 8px rgba(59,91,219,0.8)) drop-shadow(0 0 24px rgba(59,91,219,0.4));
  opacity: 0;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.fiber-rail-path-2 {
  fill: none;
  stroke: var(--c-yellow);
  stroke-width: 1px;
  filter: drop-shadow(0 0 6px rgba(255,193,7,0.7));
  opacity: 0;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

/* Ondas WiFi — rediseñadas como rings azules tenues */
.hero-wave {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,91,219,0.2);
  pointer-events: none;
}

.hero-wave:nth-child(1) {
  width: 400px; height: 400px;
  right: -100px; bottom: -100px;
}

.hero-wave:nth-child(2) {
  width: 650px; height: 650px;
  right: -200px; bottom: -200px;
  border-color: rgba(59,91,219,0.12);
}

.hero-wave:nth-child(3) {
  width: 900px; height: 900px;
  right: -300px; bottom: -300px;
  border-color: rgba(59,91,219,0.07);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,193,7,0.08);
  border: 1px solid var(--c-hairline-yellow);
  color: var(--c-yellow);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw + 1rem, 7.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--c-white);
  text-wrap: balance;
}

.hero-title .accent { color: var(--c-yellow); }

/* Línea de contexto dentro del H1 — arreglo SEO v2 08/09/2026:
   el h1 debe nombrar servicio + ciudad sin matar el tagline emocional. */
.hero-title-context {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.35rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--c-ink-white-70);
  margin-top: 0.75rem;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.25rem);
  font-weight: 300;
  color: var(--c-ink-white-70);
  line-height: 1.65;
  max-width: 48ch;
}

/* Segmento selector tabs */
.hero-segment {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

.segment-btn {
  padding: 0.65rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s var(--ease-out);
  min-height: 44px;
}

.segment-btn.active {
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  box-shadow: 0 4px 16px rgba(255,193,7,0.4);
}

.segment-btn:not(.active):hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.08);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ────────────────────────────────────────────────────────────
   6. BOTONES (Design System canónico)
   ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  min-height: 52px;
  height: auto;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s, background 0.2s;
  /* Antes: white-space: nowrap. En celular las etiquetas largas
     ("Iniciar mi pedido por WhatsApp") no entran en una línea y el texto
     se cortaba contra el borde de la pastilla. Ahora baja de línea y el
     botón crece de alto. En pantallas anchas, donde sí entra, no cambia
     nada porque nunca llega a envolver. */
  white-space: normal;
  text-wrap: balance;
  will-change: transform;
  border: none;
}

/* el ícono nunca se comprime; el que cede es el texto */
.btn > svg { flex-shrink: 0; }

/* btn-primary — Signal Yellow, glow obligatorio */
.btn-primary {
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  box-shadow: var(--glow-yellow);
}

.btn-primary:hover {
  background: var(--c-yellow-hot);
  transform: translateY(-2px);
  box-shadow: var(--glow-yellow-hot);
}

.btn-primary:active {
  background: var(--c-yellow-deep);
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--c-yellow-hot);
  outline-offset: 2px;
}

/* btn-secondary (ghost) — ghost over dark */
.btn-secondary {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

/* btn-outline-yellow — sobre fondos dark */
.btn-outline-yellow {
  border: 2px solid var(--c-yellow);
  color: var(--c-yellow);
  background: transparent;
}

.btn-outline-yellow:hover {
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  transform: translateY(-2px);
}

/* btn-dark — para callouts con bg azul */
.btn-dark {
  background: var(--c-blue-dark);
  color: var(--c-yellow);
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ────────────────────────────────────────────────────────────
   7. HERO DERECHO — card-fiber glassmorphism
   ──────────────────────────────────────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* card-fiber canónica del DESIGN.md */
.hero-glass-card {
  background: var(--c-deep-blueprint);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--glow-fiber-blue), 0 8px 32px rgba(5,11,24,0.6);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,193,7,0.5), transparent);
}

.hero-glass-card:hover {
  box-shadow: 0 0 80px rgba(59,91,219,0.45), 0 0 160px rgba(59,91,219,0.2), 0 8px 40px rgba(5,11,24,0.7);
  transform: translateY(-4px);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, background 0.3s;
}

.hero-stat:hover {
  border-color: rgba(255,193,7,0.2);
  background: rgba(255,255,255,0.06);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-ink-white-40);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Verificador de cobertura — input-hairline del DESIGN.md */
.coverage-checker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.coverage-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink-white-70);
}

.coverage-input-row {
  display: flex;
  gap: 0;
  background: var(--c-midnight-hull);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.coverage-input-row:focus-within {
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(255,193,7,0.12);
}

.coverage-input-row input {
  flex: 1;
  min-width: 0; /* flex gotcha: sin esto, el <input> rehúsa encoger bajo su size intrínseco (~240px), empuja al button fuera del pill y overflow:hidden le come el texto */
  background: transparent;
  border: none;
  outline: none;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  color: var(--c-white);
  font-family: var(--font-body);
}

.coverage-input-row input::placeholder {
  color: var(--c-ink-white-40);
}

.coverage-btn {
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0 2.25rem 0 1.5rem;
  border: none;
  border-radius: 0;
  min-height: 44px;
  min-width: 130px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  /* Sin border-radius propio: la pill viene del contenedor .coverage-input-row
     con overflow:hidden. Borde nativo del button eliminado para evitar "salida". */
}

.coverage-btn:hover { background: var(--c-yellow-hot); }

.coverage-hint {
  font-size: 0.8rem;
  color: var(--c-ink-white-40);
  text-align: center;
}

/* ────────────────────────────────────────────────────────────
   8. BANDA DE DIFERENCIADORES — yellow band, datos como personaje
   ──────────────────────────────────────────────────────────── */
.diferenciadores {
  background: var(--c-midnight-hull);
  padding: 2rem var(--container-pad);
  position: relative;
  overflow: hidden;
}

.diferenciadores::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.diferenciadores-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.dif-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 2rem;
  position: relative;
}

.dif-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--c-hairline-yellow);
}

.dif-icon {
  width: 48px;
  height: 48px;
  background: var(--c-deep-blueprint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(59,91,219,0.2);
  flex-shrink: 0;
}

.dif-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-yellow);
}

.dif-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.dif-label {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.dif-desc {
  font-size: 0.8125rem;
  color: var(--c-ink-white-70);
  margin-top: 0.35rem;
  line-height: 1.45;
  max-width: 24ch;
}

/* ────────────────────────────────────────────────────────────
   9. PLANES HOGAR — midnight-hull + card-fiber
   ──────────────────────────────────────────────────────────── */
.planes-hogar {
  background: var(--c-midnight-hull);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.planes-hogar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Fiber rail en planes hogar */
.planes-hogar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,91,219,0.4), transparent);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
  position: relative;
}

.planes-hogar .section-title {
  color: var(--c-white);
  margin-bottom: 1rem;
}

.planes-hogar .section-desc {
  color: var(--c-ink-white-70);
  margin-inline: auto;
}

.planes-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* card-fiber — DESIGN.md canónico */
.plan-card {
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.35s;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  background: var(--c-midnight-hull);
  transform: translateY(-6px);
  box-shadow: var(--glow-fiber-blue);
}

/* Línea superior sutil */
.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,193,7,0.3), transparent);
}

/* Plan destacado — glow-signal-yellow amplificado */
.plan-card.featured {
  background: rgba(17,30,58,0.9);
  border-color: rgba(255,193,7,0.45);
  box-shadow: var(--glow-yellow), 0 4px 40px rgba(5,11,24,0.5);
  transform: scale(1.03);
}

.plan-card.featured::before {
  background: linear-gradient(to right, transparent, var(--c-yellow), transparent);
  height: 2px;
  left: 0;
  right: 0;
  opacity: 0.7;
}

.plan-card.featured:hover {
  box-shadow: 0 8px 40px rgba(255,193,7,0.55), 0 2px 12px rgba(255,193,7,0.3), var(--glow-fiber-blue);
  transform: scale(1.03) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.plan-speed {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  letter-spacing: -0.02em;
}

.plan-speed-unit {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-ink-white-70);
}

.plan-speed-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-ink-white-40);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 900;
  color: var(--c-yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price-period {
  font-size: 0.8rem;
  color: var(--c-ink-white-40);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  line-height: 1.35;
  max-width: none;
}

.plan-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l2.5 2.5L10 3.5' stroke='%23FFC107' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.plan-card .btn {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.8rem;
}

/* ────────────────────────────────────────────────────────────
   10. PLANES EMPRESARIALES — fiber-void (más oscuro, diferenciado)
   ──────────────────────────────────────────────────────────── */
.planes-empresa {
  background: var(--c-fiber-void);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.planes-empresa::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(26,59,171,0.2) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.planes-empresa .section-title { color: var(--c-white); margin-bottom: 1rem; }
.planes-empresa .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

/* Cards empresa: variant azul sobre fiber-void */
.planes-empresa .plan-card {
  background: rgba(17,30,58,0.7);
  border-color: rgba(59,91,219,0.25);
}

.planes-empresa .plan-card:hover {
  border-color: rgba(59,91,219,0.5);
  box-shadow: var(--glow-fiber-blue);
}

.planes-empresa .plan-card.featured {
  background: rgba(17,30,58,0.95);
  border-color: rgba(255,193,7,0.4);
  box-shadow: var(--glow-yellow), 0 4px 40px rgba(5,11,24,0.6);
}

.empresa-nota {
  max-width: var(--container-max);
  margin-inline: auto;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--c-ink-white-40);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ────────────────────────────────────────────────────────────
   11. CASOS DE USO — deep-blueprint
   ──────────────────────────────────────────────────────────── */
.casos-uso {
  background: var(--c-deep-blueprint);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.casos-uso::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(59,91,219,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.casos-uso .section-title { color: var(--c-white); margin-bottom: 1rem; }
.casos-uso .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.casos-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* caso-card como card-fiber del DESIGN.md */
.caso-card {
  background: var(--c-midnight-hull);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.caso-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,0.35);
  box-shadow: var(--glow-fiber-blue);
}

.caso-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.caso-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--c-yellow);
}

.caso-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.caso-desc {
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.caso-speed {
  /* flex (no inline-flex) + centrado: con inline-flex cada píldora tomaba
     el ancho de su texto y, al saltar a dos líneas, las 3 cards quedaban
     desalineadas entre sí. Ahora las 3 miden igual y el texto va centrado. */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  background: rgba(255,193,7,0.08);
  border: 1px solid rgba(255,193,7,0.2);
  color: var(--c-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

/* ────────────────────────────────────────────────────────────
   12. CÓMO PEDIR — fiber-void con fiber rail conectando pasos
   ──────────────────────────────────────────────────────────── */
.como-pedir {
  background: var(--c-fiber-void);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.como-pedir::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,193,7,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.como-pedir .section-title { color: var(--c-white); margin-bottom: 1rem; }
.como-pedir .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.pasos-layout {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pasos-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Fiber rail vertical conectando pasos */
.pasos-list::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 4rem;
  bottom: 4rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(59,91,219,0.6), rgba(255,193,7,0.3), rgba(59,91,219,0.6));
  filter: drop-shadow(0 0 4px rgba(59,91,219,0.5));
}

.paso-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}

.paso-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-yellow);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,193,7,0.15);
  position: relative;
  z-index: 1;
}

.paso-content { padding-top: 0.75rem; }

.paso-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.4rem;
}

.paso-desc {
  font-size: 0.9rem;
  color: var(--c-ink-white-70);
  line-height: 1.55;
  max-width: 38ch;
}

/* Callout card */
.pasos-callout {
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--glow-fiber-blue), 0 8px 40px rgba(5,11,24,0.5);
  position: relative;
  overflow: hidden;
}

.pasos-callout::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.callout-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,193,7,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.callout-icon svg { width: 28px; height: 28px; fill: var(--c-yellow); }

.callout-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--c-yellow);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.callout-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.callout-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-white);
  max-width: none;
}

.callout-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--c-yellow);
  color: var(--c-blue-dark);
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
   13. COBERTURA — midnight-hull (contraste con fiber-void)
   ──────────────────────────────────────────────────────────── */
.cobertura {
  background: var(--c-midnight-hull);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
  id: cobertura;
}

.cobertura::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(255,193,7,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.cobertura .section-title { color: var(--c-white); margin-bottom: 1rem; }
.cobertura .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.cobertura-layout {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Párrafo con los barrios en texto plano — arreglo SEO v2 08/09/2026.
   Antes los 5 barrios solo existían dentro del SVG del radar. */
.cobertura-intro {
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  color: var(--c-ink-white-70);
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  line-height: 1.65;
}

.cobertura-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .cobertura-bottom-row { grid-template-columns: 1fr; }
}

/* Barrios como pills interactivas con hairline-yellow */
.barrios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.barrio-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink-white-70);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.barrio-chip::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,193,7,0.6);
}

.barrio-chip:hover {
  border-color: rgba(255,193,7,0.45);
  background: rgba(255,193,7,0.05);
  transform: translateX(4px);
  box-shadow: var(--glow-fiber-blue);
}

.cobertura-cta-block {
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--glow-fiber-blue), 0 4px 32px rgba(5,11,24,0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.4s;
}

.cobertura-cta-block:hover {
  box-shadow: 0 0 80px rgba(59,91,219,0.4), 0 0 150px rgba(59,91,219,0.18);
}

.cobertura-cta-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
}

.cobertura-cta-desc {
  font-size: 0.9rem;
  color: var(--c-ink-white-70);
  max-width: 36ch;
}

/* ── Bloque oficina enriquecido ── */
.cobertura-oficina-block {
  justify-content: flex-start;
}

.oficina-label {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-yellow);
  opacity: 0.85;
}

.oficina-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-white);
  margin: 0;
}

.oficina-address {
  color: var(--c-ink-white-70);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
}

.oficina-horarios {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.oficina-horario-item {
  color: var(--c-ink-white-70);
  font-size: 0.875rem;
  margin: 0;
}

.oficina-horario-item strong {
  color: var(--c-white);
  font-weight: 700;
}

.oficina-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--c-yellow);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: auto;
  text-decoration: none;
  transition: opacity 0.2s;
}

.oficina-map-link:hover {
  opacity: 0.75;
}

/* ────────────────────────────────────────────────────────────
   14. SOPORTE — deep-blueprint
   ──────────────────────────────────────────────────────────── */
.soporte {
  background: var(--c-deep-blueprint);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.soporte::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.soporte .section-title { color: var(--c-white); margin-bottom: 1rem; }
.soporte .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.soporte-layout {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.soporte-col { display: flex; flex-direction: column; gap: 1.5rem; }

.soporte-block-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

/* soporte-card — card-fiber variant */
.soporte-card {
  background: var(--c-midnight-hull);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 24px rgba(5,11,24,0.4);
  transition: box-shadow 0.3s;
}

.soporte-card:hover {
  box-shadow: var(--glow-fiber-blue);
}

.horarios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.horarios-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  max-width: none;
}

.horarios-list li:last-child { border-bottom: none; }

.horario-dia { font-weight: 600; color: var(--c-white); }
.horario-tiempo { color: var(--c-ink-white-70); font-weight: 500; }

/* Política de mora */
.mora-card {
  background: var(--c-blue);
  border: 1px solid rgba(59,91,219,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--glow-fiber-blue);
}

.mora-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mora-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  line-height: 1.45;
  max-width: none;
}

.mora-item-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(255,193,7,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--c-yellow);
  font-weight: 900;
  margin-top: 1px;
}

.mora-ejemplo {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  color: var(--c-ink-white-70);
  border-left: 2px solid var(--c-yellow);
  max-width: none;
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────────
   15. CÓMO PAGAR — fiber-void
   ──────────────────────────────────────────────────────────── */
.como-pagar {
  background: var(--c-fiber-void);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.como-pagar::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.como-pagar .section-title { color: var(--c-white); margin-bottom: 1rem; }
.como-pagar .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.pago-layout {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.banco-card {
  background: var(--c-deep-blueprint);
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--glow-fiber-blue), 0 8px 40px rgba(5,11,24,0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.4s;
}

.banco-card:hover {
  box-shadow: 0 0 80px rgba(59,91,219,0.4), 0 0 160px rgba(59,91,219,0.18);
}

.banco-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banco-logo-placeholder {
  width: 48px;
  height: 48px;
  background: var(--c-yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--c-blue-dark);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.banco-nombre {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
}

.banco-nombre small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-ink-white-40);
}

.banco-datos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.banco-dato {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.banco-dato-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,193,7,0.7);
}

.banco-dato-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.02em;
  max-width: none;
}

.banco-aviso {
  background: rgba(255,193,7,0.07);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.825rem;
  color: var(--c-ink-white-70);
  line-height: 1.5;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: none;
}

.aviso-icon { flex-shrink: 0; font-size: 1rem; line-height: 1.5; }

.pago-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.pago-info-card {
  background: var(--c-deep-blueprint);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pago-info-card:hover {
  border-color: var(--c-hairline-yellow);
  box-shadow: 0 4px 24px rgba(5,11,24,0.4);
}

.pago-info-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-yellow);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pago-info-card p {
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────
   15b. PREGUNTAS FRECUENTES — midnight-hull
   Bloque visible (h3 + p abierto), sin acordeón. Arreglo SEO v2
   08/09/2026 — el sitio no tenía ningún bloque de FAQ real.
   ──────────────────────────────────────────────────────────── */
.preguntas {
  background: var(--c-midnight-hull);
  padding: var(--section-pad-top) var(--container-pad) var(--section-pad-bot);
  position: relative;
  overflow: hidden;
}

.preguntas .section-title { color: var(--c-white); margin-bottom: 1rem; }
.preguntas .section-desc { color: var(--c-ink-white-70); margin-inline: auto; }

.preguntas-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pregunta-item {
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.pregunta-item:hover {
  border-color: rgba(255,193,7,0.4);
  box-shadow: var(--glow-fiber-blue);
}

.pregunta-titulo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.pregunta-respuesta {
  font-size: 0.9rem;
  color: var(--c-ink-white-70);
  line-height: 1.6;
  max-width: none;
}

@media (max-width: 700px) {
  .preguntas-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────
   16. FOOTER — fiber-void, hairline superior
   ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-fiber-void);
  padding: 5rem var(--container-pad) 2rem;
  position: relative;
  overflow: hidden;
}

/* Hairline amarilla en la parte superior */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,193,7,0.45), transparent);
}

.footer-top {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  max-width: 100%;
  display: block;
}

.footer-logo-text { display: none; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-white-40);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
  color: var(--c-yellow);
  border-color: rgba(255,193,7,0.4);
  background: rgba(255,193,7,0.07);
  box-shadow: 0 0 12px rgba(255,193,7,0.2);
}

.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-ink-white-40);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--c-ink-white-70);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--c-yellow); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--c-ink-white-70);
  max-width: none;
}

.footer-contact-item strong {
  color: var(--c-white);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--c-ink-white-40);
}

.footer-legal a {
  color: var(--c-ink-white-70);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--c-yellow); }

/* ────────────────────────────────────────────────────────────
   17. WHATSAPP FLOTANTE — glow verde pulsante
   ──────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.wa-float-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.875rem 1.5rem 0.875rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  min-height: 52px;
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.25); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 2px 12px rgba(0,0,0,0.3); }
}

.wa-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6), 0 4px 12px rgba(0,0,0,0.2);
  animation-play-state: paused;
}

.wa-float-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--c-white);
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
   18. SPOTLIGHT — cursor glow sobre secciones dark
   ──────────────────────────────────────────────────────────── */
.spotlight-section {
  position: relative;
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    700px circle at var(--mx, 50%) var(--my, 50%),
    rgba(59,91,219,0.08) 0%,
    rgba(255,193,7,0.03) 40%,
    transparent 70%
  );
}

.spotlight-section:hover .spotlight-overlay { opacity: 1; }

/* ────────────────────────────────────────────────────────────
   19. FOCUS VISIBLE — accesibilidad WCAG AA
   ──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ────────────────────────────────────────────────────────────
   20. SCROLL TO TOP
   ──────────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17,30,58,0.9);
  border: 1px solid var(--c-hairline-yellow);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-fiber-blue);
}

.scroll-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ────────────────────────────────────────────────────────────
   21. SECCIÓN MI CUENTA (inline styles override base)
   ──────────────────────────────────────────────────────────── */
#mi-cuenta {
  background: var(--c-deep-blueprint);
}

/* ────────────────────────────────────────────────────────────
   22. WORD REVEAL HELPERS
   ──────────────────────────────────────────────────────────── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.15em;
}

.word-inner {
  display: inline-block;
}

/* ────────────────────────────────────────────────────────────
   23. PREFERS REDUCED MOTION — accesibilidad obligatoria
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .fiber-rail-path,
  .fiber-rail-path-2 {
    stroke-dashoffset: 0 !important;
    opacity: 0.4 !important;
  }
  .hero-blob-yellow { animation: none !important; }
  .wa-float-btn { animation: none !important; }
  /* Dejar todo visible */
  * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ────────────────────────────────────────────────────────────
   24. ANTI-FLASH HERO — fallback si GSAP no dispara en <3s
   Si el timeline de GSAP no corre (CDN caído, error JS),
   esta animación CSS de 0.01s con delay 3s garantiza visibilidad.
   Cuando GSAP dispara antes, sus estilos inline la sobreescriben
   y el keyframe queda irrelevante.
   ──────────────────────────────────────────────────────────── */
@keyframes ensureVisible {
  to { opacity: 1; transform: none; clip-path: none; }
}

.hero-title, .hero-subtitle, .hero-kicker, .hero-segment,
.hero-cta-group, .hero-glass-card, .hero-blob, .hero-blob-yellow,
.word-inner, .hero-guarani-tagline {
  animation: ensureVisible 0.01s ease 3s forwards;
}

/* ────────────────────────────────────────────────────────────
   25. PRINT — evita página en blanco si GSAP no disparó
   ──────────────────────────────────────────────────────────── */
@media print {
  * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .custom-cursor, .custom-cursor-ring, .wa-float, .scroll-top { display: none !important; }
}

/* ────────────────────────────────────────────────────────────
   25. RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-right { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .planes-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-6px); }
  .casos-grid { grid-template-columns: 1fr; }
  .pasos-layout { grid-template-columns: 1fr; }
  .pasos-list::before { display: none; }
  .cobertura-layout { grid-template-columns: 1fr; }
  .barrios-grid { grid-template-columns: 1fr; }
  .soporte-layout { grid-template-columns: 1fr; }
  .pago-layout { grid-template-columns: 1fr; }
  .diferenciadores-grid { grid-template-columns: 1fr; }
  .dif-item:not(:last-child)::after { display: none; }
  .dif-item { padding: 2rem 1.5rem; border-bottom: 1px solid rgba(26,59,171,0.15); }
  .dif-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root {
    --section-pad-top: 4rem;
    --section-pad-bot: 5rem;
    /* mismo ritmo, comprimido para celular */
    --section-pad-open: 5rem;
    --section-join-bot: 2.5rem;
    --section-join-top: 2rem;
  }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .wa-float-btn span { display: none; }
  .wa-float-btn { padding: 0.875rem; border-radius: 50%; }
}

@media (max-width: 375px) {
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .hero-segment { width: 100%; }
  .segment-btn { flex: 1; text-align: center; }
}

/* ────────────────────────────────────────────────────────────
   26. GUARANÍ — toques de identidad cultural
   ──────────────────────────────────────────────────────────── */

/* Hero: tagline guaraní bajo el H1 */
.hero-guarani-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--c-yellow);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: none;
}

/* Kicker pill: span guaraní dentro del hero-kicker */
.kicker-gn {
  color: var(--c-yellow);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* Nav: subtítulos en guaraní bajo los links */
.nav-links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.nav-gn {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--c-yellow);
  opacity: 0.72;
  letter-spacing: 0.04em;
  margin-top: 0.15em;
  font-style: italic;
  line-height: 1.2;
}

/* En mobile el nav colapsa — ocultar guaraní en nav móvil */
@media (max-width: 768px) {
  .nav-gn { display: none; }
}

/* ────────────────────────────────────────────────────────────
   27. MAPA DE COBERTURA SVG
   ──────────────────────────────────────────────────────────── */

.cobertura-map-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Leyenda — chips grandes */
.map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill, 100px);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid;
  background: var(--c-deep-blueprint);
}

.legend-dot {
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Activo */
.legend-chip.legend-active {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}
.legend-chip.legend-active .legend-dot {
  width: 12px;
  height: 12px;
  background: var(--c-yellow);
  box-shadow: 0 0 8px rgba(255,193,7,0.6);
}

/* Próximamente */
.legend-chip.legend-soon {
  color: #7B96F0;
  border-color: rgba(59,91,219,0.6);
}
.legend-chip.legend-soon .legend-dot {
  width: 8px;
  height: 8px;
  background: #3B5BDB;
  border: 2px dashed rgba(59,91,219,0.8);
  box-sizing: content-box;
}

/* Sin cobertura */
.legend-chip.legend-none {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.25);
}
.legend-chip.legend-none .legend-dot {
  width: 8px;
  height: 8px;
  background: var(--c-deep-blueprint);
  border: 1.5px solid rgba(255,255,255,0.3);
  box-sizing: content-box;
}

/* ── Wrapper del radar sonar ── */
.map-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,193,7,0.14);
  box-shadow: 0 0 60px rgba(59,91,219,0.25), 0 8px 40px rgba(5,11,24,0.6);
  background: #050B18;
}

.coverage-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Nodo central — halo pulsante */
.center-halo {
  animation: centerPulse 2.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes centerPulse {
  0%, 100% { transform: scale(1);    opacity: 0.06; }
  50%       { transform: scale(1.35); opacity: 0.16; }
}

/* Blips próximamente — pulse individual vía scale (cross-browser) */
.blip-pulse {
  animation: blipPulse 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes blipPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.55); opacity: 1;   }
}

/* Zonas interactivas en desktop */
@media (hover: hover) and (pointer: fine) {
  .map-zone {
    cursor: pointer;
  }

  .map-zone:hover circle:not(.blip-hit):not(.blip-hit-none):not(.center-halo) {
    transform: scale(1.35);
    transform-box: fill-box;
    transform-origin: center;
    filter: brightness(1.3);
    transition: transform 0.2s, filter 0.2s;
  }

  .map-zone:focus-visible {
    outline: 2px solid var(--c-yellow);
    outline-offset: 6px;
    border-radius: 50%;
  }
}

/* Área de hit ampliada (transparente) */
.blip-hit,
.blip-hit-none {
  fill: transparent;
  cursor: pointer;
}

/* Tooltip del mapa */
.map-tooltip {
  position: fixed;
  background: var(--c-deep-blueprint);
  border: 1px solid var(--c-hairline-yellow);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  pointer-events: none;
  z-index: 500;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-tooltip-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.25rem;
}

.map-tooltip-status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.map-tooltip-status.activo    { color: var(--c-yellow); }
.map-tooltip-status.pronto    { color: #7B9EFF; }
.map-tooltip-status.sin       { color: rgba(255,255,255,0.4); }

.map-tooltip-wa {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-yellow);
  margin-top: 0.4rem;
}

/* Nota disclaimer del mapa */
.map-disclaimer {
  font-size: 0.75rem;
  color: var(--c-ink-white-40);
  line-height: 1.5;
  font-style: italic;
  max-width: none;
}

/* Responsive: mapa full-width en mobile sin scroll horizontal */
@media (max-width: 900px) {
  .cobertura-map-col { width: 100%; }
  .map-wrapper { max-width: 100%; }
  .coverage-map-svg { width: 100%; height: auto; }
}

/* Etiquetas de barrio del radar — arreglo SEO v2 08/09/2026.
   El viewBox es 1200x700 y el SVG escala a width:100%, así que el
   font-size="14" de cada <text> del markup se hace ilegible en celular
   (~4px reales a 390px de ancho, medido: 14 * (350/1200) ≈ 4.1px).
   CSS con selector de clase pisa el atributo de presentación del SVG
   (prioridad más baja que cualquier regla de hoja de estilos), así que
   basta con declarar un font-size mayor aquí, en dos escalones. */
@media (max-width: 900px) {
  .coverage-map-svg .zone-label {
    font-size: 32px;
  }
}
@media (max-width: 480px) {
  .coverage-map-svg .zone-label {
    font-size: 60px;
  }
}

/* ────────────────────────────────────────────────────────────
   28. SOPORTE-CARD con fondo azul (override de inline style)
   ──────────────────────────────────────────────────────────── */
.soporte-card[style*="background:var(--c-blue)"],
.soporte-card[style*="background: var(--c-blue)"] {
  background: var(--c-blue) !important;
  border-color: rgba(255,255,255,0) !important;
}

/* ────────────────────────────────────────────────────────────
   29. FOTOGRAFÍAS ILUSTRATIVAS — integración 2026-07-29
   Imágenes generadas/ambientales, nunca documentales.
   Overlay oscuro obligatorio (Dark-By-Default Rule + scrim B.5.4).
   ──────────────────────────────────────────────────────────── */

/* ── Hero: capa de fondo detrás de waves/blobs/fiber-rail ── */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Gradiente 88-92% opacidad fiber-void: la foto es atmósfera, el texto manda */
  background: linear-gradient(
    120deg,
    rgba(5,11,24,0.90) 0%,
    rgba(5,11,24,0.88) 45%,
    rgba(5,11,24,0.92) 100%
  );
  pointer-events: none;
}

/* ── Banda de foto full-width dentro de una sección (Planes Hogar) ── */
.section-photo-band {
  max-width: var(--container-max);
  margin: 0 auto 4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  height: clamp(260px, 32vw, 420px);
}

.section-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Viñeta suave en los bordes — mantiene el ritmo dark-dominant sin tapar la foto */
  background:
    linear-gradient(180deg, rgba(10,22,40,0.25) 0%, transparent 25%, transparent 75%, rgba(10,22,40,0.45) 100%),
    linear-gradient(90deg, rgba(10,22,40,0.35) 0%, transparent 15%, transparent 85%, rgba(10,22,40,0.35) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .section-photo-band { height: clamp(200px, 55vw, 300px); margin-bottom: 3rem; }
}

/* ── Banda divisora full-width — macro fibra óptica ── */
/* ────────────────────────────────────────────────────────────
   RITMO VERTICAL POR TEMA
   Estas reglas van al final a propósito: sobrescriben solo el
   padding vertical de las secciones ya definidas arriba, sin
   tocar su fondo, su padding lateral ni su contenido.

   Los dos pares:
     · Planes hogar + Planes empresariales = "los planes"
     · Soporte + Cómo pagar                = "ya sos cliente"
   Dentro de cada par las secciones se acercan; entre temas
   distintos el sitio abre. Eso le da un latido en vez de una
   sucesión monótona de bloques idénticos.
   ──────────────────────────────────────────────────────────── */

/* Par 1 — los planes */
.planes-hogar   { padding-bottom: var(--section-join-bot); }
.planes-empresa { padding-top:    var(--section-join-top); }

/* Abre tema nuevo: para qué negocio sirve */
.casos-uso      { padding-top:    var(--section-pad-open); }

/* Abre tema nuevo: hasta dónde llegamos */
.cobertura      { padding-top:    var(--section-pad-open); }

/* Par 2 — ya sos cliente */
.soporte        { padding-bottom: var(--section-join-bot); }
.como-pagar     { padding-top:    var(--section-join-top); }

/* ── Casos de uso: foto-header dentro de cada caso-card ── */
.caso-card {
  overflow: hidden; /* clip del photo-wrap a los corners redondeados */
  /* columna flex para que la píldora de velocidad se empuje al fondo:
     los textos de las 3 cards tienen largos distintos y sin esto las
     píldoras quedaban a alturas diferentes entre sí. */
  display: flex;
  flex-direction: column;
}

.caso-card .caso-speed {
  margin-top: auto;
}

.caso-photo-wrap {
  position: relative;
  margin: -2.5rem -2rem 1.5rem;
  height: clamp(160px, 20vw, 200px);
  overflow: hidden;
}

.caso-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caso-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 55%, rgba(10,22,40,0.9) 100%);
  pointer-events: none;
}

/* ── Cómo pedir: foto-header dentro de pasos-callout ── */
.pasos-callout-photo-wrap {
  position: relative;
  margin: -3rem -2.5rem 1.75rem;
  height: clamp(180px, 24vw, 240px);
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pasos-callout-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pasos-callout-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,30,58,0) 45%, rgba(17,30,58,0.95) 100%);
  pointer-events: none;
}

/* ── Soporte: foto de apoyo visual en la primera columna ── */
.soporte-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
}

.soporte-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.soporte-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 55%, rgba(10,22,40,0.55) 100%);
  pointer-events: none;
}

/* ── Responsive: fotos no rompen layout en mobile (375px) ── */
@media (max-width: 480px) {
  .caso-photo-wrap { height: clamp(140px, 38vw, 170px); }
  .pasos-callout-photo-wrap { height: clamp(160px, 40vw, 200px); }
}
