/* AC Sistemas · landing v4 · tema claro con una sección de noche para seguir la luz.
   Base sin JS: todo visible y quieto. El movimiento lo agrega assets/js/motion.js (GSAP + ScrollTrigger). */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin-wght.woff2") format("woff2"); font-weight: 500 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-latin-ext-wght.woff2") format("woff2"); font-weight: 500 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken"; src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --noche: #0b1530;
  --noche-2: #13224d;
  --texto-2: #4a5265;
  --linea: #3d4250;
  --r1: #ffffff;
  --r2: #f3f5f8;
  --r3: #e6eaf0;
  --r4: #d5dbe4;
  --cian: #22d3ee;
  --cian-hondo: #0e7490;
  --cian-velo: #e3f9fd;
  --tinta-noche: #e6eef8;
  --tinta-noche-2: #a9b7d0;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --cab: 4.25rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ancho: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cab) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--r1); color: var(--noche);
  font: 400 clamp(1rem, 0.95rem + 0.25vw, 1.125rem)/1.55 "Hanken", system-ui, sans-serif;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--cian-hondo); outline-offset: 3px; border-radius: 4px; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .6rem 1rem; background: var(--noche); color: #fff; border-radius: 6px; }
.saltar:focus { top: 1rem; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Hilo de progreso ---------- */
.progreso { position: fixed; inset: 0 0 auto; height: 3px; z-index: 55; overflow: hidden; pointer-events: none; }
.progreso__luz {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, rgba(34,211,238,0), var(--cian) 70%, #fff);
  transform: translateX(calc((var(--prog, 0) - 1) * 100%));
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.9rem;
  background: var(--cian); color: var(--noche);
  font: 700 1.05rem/1 "Hanken", sans-serif; text-decoration: none;
  border: 2px solid var(--cian); border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(34,211,238,0);
  transition: background-color 150ms ease, box-shadow 250ms var(--ease-out);
}
.btn:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #4fdcf1; box-shadow: 0 10px 30px -8px rgba(34,211,238,.7); } }
.btn--chico { min-height: 2.5rem; padding: 0 1.2rem; font-size: .95rem; }
.btn--linea { background: transparent; border-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .btn--linea:hover { background: var(--cian-velo); box-shadow: none; } }

.rotulo {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem;
  font: 700 .82rem/1 "Hanken", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--cian-hondo);
}
.rotulo::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; }
h2 { font: 800 clamp(2rem, 1.2rem + 3vw, 3.4rem)/1.04 "Bricolage", sans-serif; letter-spacing: -.03em; text-wrap: balance; }
h2 em, h1 em { font-style: normal; }
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.pal > span { display: inline-block; }

/* ---------- Cabecera ---------- */
.cab {
  position: sticky; top: 0; z-index: 50; height: var(--cab);
  background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 250ms ease;
}
.cab.is-scroll { box-shadow: 0 1px 0 var(--r3), 0 10px 30px -18px rgba(11,21,48,.35); }
.cab__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.marca { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.marca__txt { display: flex; flex-direction: column; font: 700 1.15rem/1.05 "Bricolage", sans-serif; letter-spacing: -.01em; }
.marca__txt small { font: 500 .72rem/1.3 "Hanken", sans-serif; color: var(--texto-2); letter-spacing: 0; }
.nav { display: none; gap: 2rem; font-weight: 500; }
.nav a { position: relative; text-decoration: none; color: var(--texto-2); transition: color 150ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 2px; background: var(--cian); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav a:hover { color: var(--noche); }
.nav a:hover::after { transform: scaleX(1); }
@media (min-width: 52rem) { .nav { display: flex; } }

/* ---------- Portada ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--cab)); overflow: hidden; }
.hero__txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(1.25rem, 4vh, 3rem) 1rem 0; }
.ceja { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; padding: .45rem .9rem; border: 1px solid var(--r3); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--texto-2); background: var(--r1); }
.ceja__led { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cian); box-shadow: 0 0 0 3px var(--cian-velo); }
.hero h1 { max-width: 15ch; font: 800 clamp(2.5rem, 1.1rem + 4.6vw, 4.6rem)/1 "Bricolage", sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 em {
  color: var(--noche);
  background: linear-gradient(var(--cian), var(--cian)) 0 88% / var(--sub, 100%) .16em no-repeat;
}
.hero__sub { margin: 1rem 0 1.5rem; max-width: 34ch; color: var(--texto-2); font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); }
.hero__acciones { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.hero__link { color: var(--cian-hondo); font-weight: 650; text-underline-offset: .25em; text-decoration-thickness: 1.5px; }

.escena { position: relative; flex: 1 1 auto; width: 100%; min-height: 19rem; margin-top: 1.5rem; overflow: hidden; }
.escena__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (min-width: 48rem) { .escena { min-height: 23rem; } }
/* Pantallas bajas (notebook, tablet apaisada, celular chico): el texto se compacta para que la
   habitación entre entera en la primera pantalla, sin tener que bajar. */
@media (max-height: 54.99rem) {
  .hero__txt { padding-top: clamp(.75rem, 2.5vh, 1.5rem); }
  .ceja { margin-bottom: .6rem; }
  .hero h1 { font-size: min(clamp(2.5rem, 1.1rem + 4.6vw, 4.6rem), 8.5vh); }
  .hero__sub { margin: .6rem 0 1rem; }
  .hero__acciones { flex-flow: row wrap; justify-content: center; column-gap: 1.5rem; }
  .escena { min-height: 16rem; margin-top: 1rem; }
}
/* Celular chico (640 de alto): la ceja repite «Lules, Tucumán» de la marca; se oculta para dar lugar a la escena. */
@media (max-height: 42rem) {
  .ceja { display: none; }
  .escena { min-height: 14rem; }
}
/* Celular acostado: texto y habitación lado a lado. */
@media (max-height: 30rem) and (orientation: landscape) {
  .hero { flex-direction: row; align-items: stretch; }
  .hero__txt { flex: 0 0 48%; justify-content: center; padding: .75rem 1rem; }
  .hero h1 { font-size: min(2.2rem, 9vh); }
  .escena { margin-top: 0; min-height: 0; }
}

/* Ilustración de la portada: contorno único, rellenos claros, cian solo donde hay señal. */
.ln { fill: none; stroke: var(--linea); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ln--fino { stroke-width: 1.5; }
.f1 { fill: var(--r1); } .f2 { fill: var(--r2); } .f3 { fill: var(--r3); } .f4 { fill: var(--r4); }
.f-tinta { fill: var(--linea); }
.fibra-base { fill: none; stroke: var(--r4); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.fibra-luz { fill: none; stroke: var(--cian); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 100; }
.fibra-paquete { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 23; opacity: 0; }
.led { fill: var(--cian); stroke: var(--linea); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.onda { fill: none; stroke: var(--cian); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.wifi .onda--1 { opacity: .55; transform: scale(1.6); }
.wifi .onda--2 { opacity: .35; transform: scale(2.6); }
.wifi .onda--3 { opacity: .18; transform: scale(3.6); }
.tv-luz { fill: var(--cian-velo); }
.tv-play { fill: var(--noche); transform-box: fill-box; transform-origin: center; }
.tv-barras { fill: #fff; }
.tv-progreso { fill: var(--cian); transform-box: fill-box; transform-origin: left center; transform: scaleX(.62); }
.medidor-luz { fill: none; stroke: var(--cian); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 14; }
.medidor-aguja { transform-box: fill-box; transform-origin: 100% 100%; transform: rotate(var(--aguja, 108deg)); }
.celular__ok circle { fill: var(--cian); }
.celular__ok path { fill: none; stroke: var(--noche); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.celular__ok { transform-box: fill-box; transform-origin: center; }
.celular__barra { fill: var(--r4); }
.hoja { transform-box: fill-box; transform-origin: 50% 100%; }
.hoja--2 { transform-origin: 0% 100%; } .hoja--3 { transform-origin: 100% 100%; }

/* Bucles de la portada: arrancan cuando termina el dibujo (.vivo) y se pausan fuera de pantalla. */
@media (prefers-reduced-motion: no-preference) {
  .hero.vivo .fibra-paquete { opacity: 1; animation: viajar 1600ms linear infinite; }
  .hero.vivo .led { animation: titilar 1800ms ease-in-out infinite; }
  .hero.vivo .led:nth-child(2) { animation-delay: -500ms; } .hero.vivo .led:nth-child(3) { animation-delay: -1100ms; }
  .hero.vivo .led:nth-child(4) { animation-delay: -300ms; } .hero.vivo .led:nth-child(5) { animation-delay: -800ms; }
  .hero.vivo .wifi .onda { animation: expandir 3000ms var(--ease-out) infinite; }
  .hero.vivo .wifi .onda--2 { animation-delay: 1000ms; } .hero.vivo .wifi .onda--3 { animation-delay: 2000ms; }
  .hero.vivo .tv-progreso { animation: avanzar 9000ms linear infinite; }
  .hero.vivo .hoja { animation: mecer 5000ms ease-in-out infinite alternate; }
  .hero.vivo .hoja--2 { animation-delay: -1600ms; } .hero.vivo .hoja--3 { animation-delay: -3200ms; }
}
.pausado *, .pausado *::before, .pausado *::after { animation-play-state: paused !important; }

/* ---------- Por qué AC ---------- */
.hechos { background: var(--r2); border-block: 1px solid var(--r3); }
.hechos__lista { list-style: none; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter); max-width: var(--ancho); display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.hechos h3 { margin: .9rem 0 .35rem; font: 700 1.2rem/1.2 "Bricolage", sans-serif; letter-spacing: -.01em; }
.hechos p { margin: 0; color: var(--texto-2); }
.ico { width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 14px; background: var(--r1); border: 1px solid var(--r3); fill: none; stroke: var(--cian-hondo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- El recorrido de la luz (noche) ---------- */
.viaje { position: relative; background: var(--noche); color: var(--tinta-noche); padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.con-viaje .viaje { padding-bottom: 0; }
.viaje .rotulo { color: var(--cian); }
.viaje__cab { max-width: var(--ancho); margin: 0 auto clamp(2rem, 4vw, 3rem); padding: 0 var(--gutter); }
.viaje h2 { max-width: 18ch; }
.viaje h2 em { color: var(--cian); }

/* Dibujo del recorrido */
.cielo { fill: var(--noche); }
.monte-lejos { fill: #13224d; }
.monte-cerca { fill: #182a5c; }
.suelo { fill: #0e1a3c; }
.pn { fill: none; stroke: #8ea2c9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pn--fino { stroke-width: 1.5; }
.p1 { fill: #1d3068; } .p2 { fill: #16265a; } .p3 { fill: #0f1a3d; }
.interior { fill: #0c1534; }
.cartel { fill: var(--tinta-noche); font: 700 30px "Bricolage", sans-serif; letter-spacing: -.5px; }
.etq { fill: var(--tinta-noche-2); font: 600 24px "Hanken", sans-serif; }
.enlace { fill: none; stroke: #2a3d70; stroke-width: 6; stroke-linecap: round; }
.acometida { fill: none; stroke: #2a3d70; stroke-width: 3; stroke-linecap: round; }
.enlace-luz { fill: none; stroke: var(--cian); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 5 3; }
.ruta-base { fill: none; stroke: #2a3d70; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ruta-luz, .ruta-halo { fill: none; stroke: var(--cian); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.ruta-luz { stroke-width: 6; }
.ruta-halo { stroke-width: 22; opacity: .22; }
.ruta-viva { fill: none; stroke: var(--cian); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ruta-paquetes { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .5 3.5; }
.ruta-cabeza { fill: #fff; stroke: var(--cian); stroke-width: 10; stroke-opacity: .45; opacity: 0; }
.rack-leds circle, .casa-leds circle { fill: var(--cian); stroke: #8ea2c9; stroke-width: 1.5; }
.estrellas circle { fill: #c9d6ee; opacity: .55; }
.ventana-luz { fill: #bdf3fb; opacity: 0; transition: opacity 700ms ease; }
.interior-luz { fill: var(--cian); opacity: 0; transition: opacity 900ms ease; pointer-events: none; }
.casa-leds circle { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 250ms ease, transform 250ms var(--ease-out); transform: scale(.4); }
.casa-wifi .onda { opacity: 0; }
.ventana-luz--fija { opacity: .85; }
.interior-luz--fija { opacity: .12; }
.casa-leds--fijos circle { opacity: 1; transform: none; }
.casa-wifi--fija .onda:nth-child(1) { opacity: .6; transform: scale(1.6); }
.casa-wifi--fija .onda:nth-child(2) { opacity: .35; transform: scale(2.5); }
.casa-wifi--fija .onda:nth-child(3) { opacity: .15; transform: scale(3.4); }
.viaje__svg.nap-on .ventana-luz { opacity: .85; }
.viaje__svg.casa-on .interior-luz { opacity: .12; }
.viaje__svg.casa-on .casa-leds circle { opacity: 1; transform: none; }
.viaje__svg.casa-on .casa-leds circle:nth-child(2) { transition-delay: 120ms; }
.viaje__svg.casa-on .casa-leds circle:nth-child(3) { transition-delay: 240ms; }
.viaje__svg.casa-on .casa-leds circle:nth-child(4) { transition-delay: 360ms; }
.viaje__svg.casa-on .casa-leds circle:nth-child(5) { transition-delay: 520ms; }

@media (prefers-reduced-motion: no-preference) {
  .enlace-luz { animation: fluir 900ms linear infinite; }
  .ruta-paquetes { animation: fluir 2400ms linear infinite; }
  .rack-leds circle { animation: titilar 1600ms ease-in-out infinite; }
  .rack-leds circle:nth-child(2) { animation-delay: -400ms; } .rack-leds circle:nth-child(3) { animation-delay: -900ms; } .rack-leds circle:nth-child(4) { animation-delay: -1300ms; }
  .estrellas circle { animation: titilar 4200ms ease-in-out infinite; }
  .estrellas circle:nth-child(odd) { animation-delay: -2100ms; }
  .viaje__svg.casa-on .casa-wifi .onda, .casa-wifi--fija .onda { animation: expandir-chico 3000ms var(--ease-out) infinite; }
  .viaje__svg.casa-on .casa-wifi .onda:nth-child(2), .casa-wifi--fija .onda:nth-child(2) { animation-delay: 1000ms; }
  .viaje__svg.casa-on .casa-wifi .onda:nth-child(3), .casa-wifi--fija .onda:nth-child(3) { animation-delay: 2000ms; }
}
.fuera .enlace-luz, .fuera .ruta-paquetes, .fuera .rack-leds circle, .fuera .estrellas circle, .fuera .onda { animation-play-state: paused; }

/* Escena fija (solo escritorio con movimiento: motion.js agrega .con-viaje) */
.viaje__escena { display: none; }
.con-viaje .viaje__escena {
  display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 3vh, 2rem);
  height: calc(100vh - var(--cab)); overflow: hidden;
}
.con-viaje .paradas { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* sigue disponible para lectores de pantalla */
.viaje__pista { --h: min(62vh, 640px); align-self: flex-start; position: relative; height: var(--h); width: calc(var(--h) * 3200 / 700); flex: none; will-change: transform; }
.viaje__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viaje__rotulos { list-style: none; margin: 0; padding: 0; }
.viaje__rotulos li {
  position: absolute; top: 2.5%; left: var(--x); translate: -50% 0;
  padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
  font: 700 .9rem/1 "Hanken", sans-serif; letter-spacing: .02em;
  color: var(--tinta-noche-2); background: rgba(11,21,48,.7); border: 1px solid #2a3d70;
  transition: color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
/* Posición de cada rótulo sobre el recorrido (antes en style="", que la CSP bloquea). */
.viaje__rotulos li:nth-child(1) { --x: 10.6%; }
.viaje__rotulos li:nth-child(2) { --x: 36%; }
.viaje__rotulos li:nth-child(3) { --x: 55.2%; }
.viaje__rotulos li:nth-child(4) { --x: 81.3%; }
.viaje__rotulos li.is-pasada { color: var(--noche); background: var(--cian); border-color: var(--cian); box-shadow: 0 0 24px rgba(34,211,238,.45); }
.viaje__texto { position: relative; width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); min-height: 4.5em; }
.viaje__frase { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; margin: 0; max-width: 46ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--tinta-noche); opacity: 0; translate: 0 10px; transition: opacity 400ms ease, translate 500ms var(--ease-out); }
.viaje__frase.is-activa { opacity: 1; translate: 0 0; }

/* Paradas apiladas: la base */
.paradas { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--ancho); display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.parada { display: grid; gap: 1.1rem; }
.parada__svg { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; border-radius: 18px; border: 1px solid #22325f; background: var(--noche); }
.parada__n { display: inline-block; margin-bottom: .35rem; font: 700 .85rem/1 "Hanken", sans-serif; letter-spacing: .14em; color: var(--cian); }
.parada h3 { font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.75rem)/1.15 "Bricolage", sans-serif; letter-spacing: -.02em; margin-bottom: .4rem; }
.parada p { margin: 0; max-width: 46ch; color: var(--tinta-noche-2); }
@media (min-width: 48rem) {
  .paradas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Planes ---------- */
.planes { max-width: var(--ancho); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.seccion__cab { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.seccion__cab p:not(.rotulo) { margin: 1rem 0 0; max-width: 46ch; color: var(--texto-2); }
.planes__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); align-items: stretch; }
.plan {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .4rem;
  padding: 2rem 1.75rem 1.75rem; border-radius: 24px;
  background: var(--r1); border: 1px solid var(--r3);
  box-shadow: 0 1px 2px rgba(11,21,48,.04), 0 18px 40px -28px rgba(11,21,48,.35);
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(34,211,238,.16), transparent 60%);
  transition: opacity 300ms ease;
}
@media (hover: hover) and (pointer: fine) { .plan:hover::before { opacity: 1; } }
.plan__tec { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-weight: 650; color: var(--texto-2); }
.plan__etq { padding: .3rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--noche); background: var(--cian); }
.plan__vel { margin: .25rem 0 0; display: flex; align-items: baseline; gap: .5rem; font: 800 clamp(4rem, 3rem + 3vw, 5.5rem)/.95 "Bricolage", sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan__vel small { font: 700 1.1rem/1 "Hanken", sans-serif; letter-spacing: 0; color: var(--texto-2); }
.plan__precio { margin: .4rem 0 1.4rem; font-size: 1.05rem; color: var(--texto-2); }
.plan__precio b { font: 800 1.6rem/1 "Bricolage", sans-serif; color: var(--noche); letter-spacing: -.02em; }
.plan .btn { margin-top: auto; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--destacado { background: var(--noche); color: var(--tinta-noche); border-color: transparent; }
.plan--destacado .plan__tec, .plan--destacado .plan__vel small, .plan--destacado .plan__precio { color: var(--tinta-noche-2); }
.plan--destacado .plan__precio b { color: #fff; }
.plan--destacado::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--cian) 85%, #fff 90%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  .plan--destacado.visto::after { animation: girar 4s var(--ease-in-out) 1; }
  .plan--destacado:hover::after, .plan--destacado:focus-within::after { animation: girar 4s linear infinite; }
}

/* ---------- Cobertura ---------- */
.cobertura { background: var(--r2); display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.cobertura > * { max-width: 36rem; }
.cobertura__foto { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(11,21,48,.45); }
.cobertura__foto img { width: 100%; height: 100%; object-fit: cover; }
.cobertura__txt p:not(.rotulo) { color: var(--texto-2); margin: 1rem 0 1.5rem; max-width: 40ch; }
.zonas { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zonas li { padding: .4rem .8rem; border-radius: 999px; background: var(--r1); border: 1px solid var(--r3); font-weight: 600; }
@media (min-width: 60rem) {
  .cobertura { grid-template-columns: 1.1fr 1fr; justify-content: center; }
  .cobertura__foto { justify-self: end; width: 100%; }
}

/* ---------- Contacto ---------- */
.contacto { max-width: var(--ancho); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pasos { --p: 1; position: relative; list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: 1.1rem; }
.pasos::before, .pasos::after { content: ""; position: absolute; left: 1.05rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--r3); }
.pasos::after { background: var(--cian); transform-origin: top; transform: scaleY(var(--p)); }
.pasos li { position: relative; z-index: 1; display: flex; gap: 1rem; align-items: flex-start; color: var(--texto-2); }
.pasos strong { color: var(--noche); }
.pasos__n { flex: none; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--noche); color: #fff; font: 700 .95rem/1 "Hanken", sans-serif; box-shadow: 0 0 0 4px var(--r1); }
address { font-style: normal; display: grid; gap: .4rem; margin-bottom: 1.6rem; }
address p { margin: 0; }
.dato { display: inline-block; min-width: 6rem; font-weight: 700; color: var(--noche); }
.contacto__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.contacto__foto { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.contacto__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 60rem) { .contacto { grid-template-columns: 1fr 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--noche); color: var(--tinta-noche-2); }
.pie__in { max-width: var(--ancho); margin: 0 auto; padding: 2.5rem var(--gutter); display: grid; gap: .5rem; font-size: .92rem; }
.pie__in p { margin: 0; }
.pie__marca { color: var(--tinta-noche); font-weight: 650; }

/* ---------- Keyframes ---------- */
@keyframes viajar   { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -25; } }
@keyframes fluir    { to { stroke-dashoffset: -16; } }
@keyframes titilar  { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes expandir { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(5); } }
@keyframes expandir-chico { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
@keyframes avanzar  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mecer    { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes girar    { to { --ang: 360deg; } }
