/* =====================================================================
   ZAPICO ELEVADORES — estilos
   Dirección: industrial editorial. Negro profundo + azul eléctrico de marca.
   Tipografía: Archivo (display expandido / texto) + IBM Plex Mono (etiquetas).
   ===================================================================== */

:root {
  --blue: #0000f5;
  --blue-deep: #0000b8;
  --blue-soft: #4d4dff;
  --blue-tint: #e9e9ff;
  --ink: #06060f;
  --ink-2: #0d0d1c;
  --ink-3: #15152a;
  --paper: #f4f5fa;
  --paper-2: #ffffff;
  --gray: #6b6f85;
  --gray-2: #a3a7bd;
  --line: rgba(255,255,255,.1);
  --line-dark: rgba(6,6,15,.1);
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.16,1,.3,1);
  --container: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-variation-settings: 'wdth' 100;
  background: var(--ink);
  color: #fff;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.blue { color: var(--blue-soft); }
.section--light .blue, .section--tint .blue { color: var(--blue); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
[data-lucide], svg.lucide { width: 1em; height: 1em; stroke-width: 2; flex-shrink: 0; }

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 800;
  font-variation-settings: 'wdth' 92;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 18ch;
}
.h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; max-width: 26ch; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--gray-2); max-width: 56ch; margin-top: 18px; }
.section--light .lead, .section--tint .lead { color: var(--gray); }
.eyebrow { color: var(--blue-soft); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section--light .eyebrow, .section--tint .eyebrow { color: var(--blue); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateY(100%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,245,.7); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.section--light .btn-ghost, .section--tint .btn-ghost { border-color: var(--line-dark); color: var(--ink); }
.btn-wa { background: var(--wa); color: #05240f; }
.btn-lg { padding: 19px 32px; font-size: 16px; }
.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn [data-lucide], .btn svg { width: 18px; height: 18px; }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: var(--ink); }
.loader-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink-2); z-index: 1; }
.loader-door--l { left: 0; border-right: 1px solid var(--line); }
.loader-door--r { right: 0; border-left: 1px solid var(--line); }
.loader-door::before { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,0,245,.6); }
.loader-door--l::before { right: 0; } .loader-door--r::before { left: 0; }
.loader-panel { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-brand img { width: 150px; opacity: .9; }
.loader-floor { display: flex; align-items: center; gap: 14px; font-family: 'IBM Plex Mono', monospace; font-size: clamp(56px, 10vw, 110px); font-weight: 600; color: var(--blue-soft); line-height: 1; letter-spacing: -.04em; }
.loader-arrow { font-size: .35em; animation: bob 1s ease-in-out infinite; }
.loader-caption { color: var(--gray-2); }
.loader.is-open .loader-panel { opacity: 0; transition: opacity .35s; }
.loader.is-open .loader-door--l { transform: translateX(-100%); }
.loader.is-open .loader-door--r { transform: translateX(100%); }
.loader.is-open .loader-door { transition: transform 1.1s var(--ease); }
.loader.is-open { background: transparent; pointer-events: none; }
.loader.is-done { display: none; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .4s, backdrop-filter .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-solid { background: rgba(6,6,15,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 118px; height: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue-soft); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 900; background: var(--ink); clip-path: circle(0 at calc(100% - 46px) 39px); transition: clip-path .8s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 46px) 39px); visibility: visible; }
.menu-inner { height: 100%; padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-links a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(34px, 9vw, 56px); font-weight: 800; font-variation-settings: 'wdth' 90; line-height: 1.15; letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu-links a:nth-child(1){transition-delay:.15s}.menu-links a:nth-child(2){transition-delay:.2s}.menu-links a:nth-child(3){transition-delay:.25s}.menu-links a:nth-child(4){transition-delay:.3s}.menu-links a:nth-child(5){transition-delay:.35s}.menu-links a:nth-child(6){transition-delay:.4s}
.menu-links a .mono { color: var(--blue-soft); }
.menu-foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.menu-foot .mono { color: var(--gray-2); }

/* ---------- Indicador de piso ---------- */
.floorbar { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 800; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; opacity: 0; transition: opacity .6s; }
.floorbar.is-on { opacity: 1; }
.floorbar-track { width: 8px; height: 220px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.floorbar-cab { position: absolute; left: 1px; right: 1px; height: 26px; border-radius: 3px; background: var(--blue-soft); box-shadow: 0 0 14px rgba(77,77,255,.9); top: 0; }
.floorbar-label { color: var(--gray-2); writing-mode: vertical-rl; transform: rotate(180deg); }
.section--light ~ .floorbar { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 115%; object-fit: cover; object-position: center; opacity: .55; filter: saturate(.75) contrast(1.05); will-change: transform; }
.hero-img.is-missing { opacity: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%); opacity: .7; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,15,.92) 0%, rgba(6,6,15,.65) 45%, rgba(6,6,15,.35) 100%), linear-gradient(180deg, rgba(6,6,15,.4), transparent 30%, rgba(6,6,15,1)); }
.hero-media::after { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,245,.35), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-8%, 10%) scale(1.1); } }
.hero-inner { position: relative; z-index: 2; }
.hero-kicker { color: var(--blue-soft); margin-bottom: 26px; }
.hero-title { font-size: clamp(46px, 9.2vw, 132px); font-weight: 900; font-variation-settings: 'wdth' 110; line-height: .92; letter-spacing: -.035em; text-transform: uppercase; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.hero-sub { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255,255,255,.72); max-width: 54ch; margin: 30px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; margin-top: 64px; border-top: 1px solid var(--line); max-width: 760px; }
.hero-stat { flex: 1; padding: 22px 18px 0 0; }
.hero-stat + .hero-stat { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stat b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat > span { display: block; margin-top: 8px; font-size: 12px; color: var(--gray-2); letter-spacing: .04em; }
[data-hero-item] { opacity: 0; transform: translateY(24px); }


.hero-scroll { position: absolute; left: var(--pad); bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 12px; color: var(--gray-2); }
.hero-scroll-cab { width: 14px; height: 22px; border: 1.5px solid var(--gray-2); border-radius: 3px; position: relative; overflow: hidden; }
.hero-scroll-cab::after { content: ''; position: absolute; left: 2px; right: 2px; height: 6px; background: var(--blue-soft); border-radius: 1px; animation: cab 1.6s var(--ease) infinite; }
@keyframes cab { 0% { top: -8px; } 60%, 100% { top: 20px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Secciones ---------- */
.section { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--tint { background: var(--blue-tint); color: var(--ink); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.section-head--row .lead { margin: 0; max-width: 34ch; }

/* Reveal (estado inicial; GSAP anima) */
[data-reveal], [data-reveal-group] > * { opacity: 0; transform: translateY(32px); }
.no-motion [data-reveal], .no-motion [data-reveal-group] > * , .no-motion [data-hero-item], .no-motion .hero-title .line > span { opacity: 1; transform: none; }

/* ---------- Fondos de sección ---------- */
.section-bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; opacity: .28; pointer-events: none; z-index: 0; mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); will-change: transform; }
.section-bg--top { opacity: .2; mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 70%); }
.section-bg--left { opacity: .3; object-position: left center; mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 75%), linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 75%); }
.section > .container { position: relative; z-index: 1; }
.numbers, .path, .coverage { overflow: hidden; }

/* ---------- Bandas de imagen ---------- */
.band { position: relative; height: clamp(360px, 52vh, 560px); overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.band--tall { height: clamp(420px, 64vh, 680px); }
.band img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; filter: saturate(.85); will-change: transform; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,15,.6) 0%, rgba(6,6,15,.15) 35%, rgba(6,6,15,.55) 65%, rgba(6,6,15,.95) 100%); }
.band-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(36px, 5vw, 64px); }
.band-inner .mono { color: var(--blue-soft); margin-bottom: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.band-inner h3 { text-shadow: 0 2px 20px rgba(0,0,0,.6); font-size: clamp(28px, 4.2vw, 56px); font-weight: 800; font-variation-settings: 'wdth' 92; line-height: 1.02; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; color: #fff; }

/* ---------- Servicios ---------- */
.services { border-top: 1px solid var(--line-dark); }
.service { display: grid; grid-template-columns: 60px 64px 1fr 48px; gap: 22px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-dark); position: relative; isolation: isolate; cursor: default; transition: padding .5s var(--ease); }
.service::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--pad)); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.service:hover::before { transform: scaleY(1); transform-origin: top; }
.service:hover { color: #fff; padding-left: 12px; }
.service-num { color: var(--blue); font-size: 14px; transition: color .3s; }
.service:hover .service-num { color: var(--blue-soft); }
.service-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: 26px; color: var(--blue); transition: background .3s, border-color .3s, color .3s, transform .5s var(--ease); }
.service:hover .service-ico { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 6px; }
.service p { color: var(--gray); max-width: 64ch; transition: color .3s; font-size: 15px; }
.service:hover p { color: rgba(255,255,255,.7); }
.service-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-dark); display: grid; place-items: center; font-size: 20px; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.service:hover .service-arrow { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }

/* ---------- Números ---------- */
.numbers { overflow: hidden; }
.numbers::before { content: ''; position: absolute; left: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,245,.28), transparent 65%); filter: blur(30px); pointer-events: none; }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); position: relative; }
.num { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.num:hover { background: rgba(255,255,255,.03); }
.num b { display: block; font-size: clamp(52px, 6.5vw, 96px); font-weight: 900; font-variation-settings: 'wdth' 105; letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.num b .pre { font-size: .62em; vertical-align: .12em; margin-right: 2px; color: var(--gray-2); }
.num b small { font-size: .38em; font-weight: 700; margin-left: 4px; letter-spacing: 0; color: var(--gray-2); }
.num > span { display: block; margin-top: 14px; color: var(--gray-2); font-size: 15px; }
.num--accent b { color: var(--blue-soft); }

/* ---------- Baja incidencia ---------- */
.incidence-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.incidence-legend { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--gray); }
.incidence-legend li { display: flex; align-items: center; gap: 12px; }
.incidence-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sw { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.sw--blue { background: var(--blue); } .sw--mid { background: var(--blue-soft); opacity: .55; } .sw--gray { background: #c9ccdb; }
.incidence-note { margin-top: 26px; color: var(--gray-2); font-size: 11px; }
.dots { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; }
.dot { aspect-ratio: 1; border-radius: 3px; background: #dfe2ec; transform: scale(.4); opacity: 0; }
.dot--blue { background: var(--blue); } .dot--mid { background: var(--blue-soft); opacity: .55; }
.dots-caption { margin-top: 16px; color: var(--gray); text-align: right; }

/* ---------- El camino ---------- */
.path { overflow: hidden; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.path-card--slow { background: var(--ink-2); border: 1px solid var(--line); color: var(--gray-2); }
.path-card--fast { background: var(--blue); color: #fff; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 40px 80px -40px rgba(0,0,245,.9); }
.path-card--fast::before { content: ''; position: absolute; right: -20%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); pointer-events: none; }
.path-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 34px; }
.path-head .mono { opacity: .7; }
.path-head h3 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; font-variation-settings: 'wdth' 100; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; color: #fff; }
.path-nodes { display: flex; flex-direction: column; gap: 0; position: relative; }
.pnode { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 18px; padding: 0 0 26px; position: relative; opacity: .35; transition: opacity .4s; }
.pnode:last-child { padding-bottom: 0; }
.pnode::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: currentColor; opacity: .18; }
.pnode:last-child::before { display: none; }
.pnode::after { content: ''; position: absolute; left: 23px; top: 48px; width: 2px; height: 0; background: currentColor; }
.pnode-dot { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 20px; background: rgba(0,0,0,.15); transition: transform .4s var(--ease), background .3s, color .3s; }
.pnode b { font-size: 18px; font-weight: 800; color: #fff; align-self: end; }
.pnode small { font-size: 13px; opacity: .85; }
.pnode.is-on { opacity: 1; }
.pnode.is-on .pnode-dot { background: #fff; color: var(--ink); transform: scale(1.08); }
.path-card--fast .pnode.is-on .pnode-dot { color: var(--blue); }
.pnode.is-on::after { animation: fill-line var(--seg, 1.4s) linear forwards; }
@keyframes fill-line { to { height: calc(100% - 48px); } }
.path-clock { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); display: flex; align-items: center; gap: 8px; font-size: 20px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: #fff; }
.path-card--slow .path-clock { color: #ff7a59; }
.path-clock [data-lucide], .path-clock svg { width: 18px; height: 18px; }
.path-clock small { font-size: 11px; letter-spacing: .1em; opacity: .7; margin-left: 2px; align-self: flex-end; margin-bottom: 3px; }
.path-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.path-tags li { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; }
.path-card--fast .path-tags li { border-color: rgba(255,255,255,.5); opacity: 1; }
.path-toast { margin-top: 28px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 13px; transform: translateY(16px); opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.path-toast.is-on { opacity: 1; transform: none; }
.path-toast [data-lucide], .path-toast svg { width: 26px; height: 26px; color: var(--wa); }
.path-toast div { display: flex; flex-direction: column; }
.path-toast span { color: var(--gray); }
.path-foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.path-foot .mono { color: var(--gray-2); text-transform: none; letter-spacing: .04em; }

/* ---------- Tecnología ---------- */
.tech-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.phone-wrap { position: sticky; top: 110px; display: grid; place-items: center; }
.phone { width: 100%; max-width: 360px; background: #fff; border-radius: 40px; border: 8px solid var(--ink); box-shadow: 0 50px 80px -30px rgba(6,6,15,.45); overflow: hidden; position: relative; }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 22px 18px 14px; background: var(--ink); color: #fff; }
.phone-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.phone-top b { display: block; font-size: 14px; }
.phone-top small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-2); }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.chat { padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 420px; background: #eef0f6; background-image: radial-gradient(rgba(0,0,245,.06) 1px, transparent 1px); background-size: 14px 14px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.msg.is-on { opacity: 1; transform: none; }
.msg--bot { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--status { align-self: stretch; max-width: 100%; display: flex; gap: 10px; align-items: flex-start; background: #fff; border-left: 3px solid var(--blue); color: var(--ink); }
.msg--status [data-lucide], .msg--status svg { width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
.msg--status span { color: var(--gray); } .msg--status b { color: var(--ink); }
.msg--ok { border-left-color: var(--wa); } .msg--ok svg, .msg--ok [data-lucide] { color: var(--wa); }
.phone-input { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 16px; color: var(--gray-2); font-size: 13px; background: #fff; border-top: 1px solid var(--line-dark); }
.phone-input svg, .phone-input [data-lucide] { color: var(--blue); width: 18px; height: 18px; }
.phone-shadow { position: absolute; inset: auto 10% -10px; height: 40px; background: radial-gradient(ellipse, rgba(0,0,245,.35), transparent 70%); filter: blur(12px); z-index: -1; }
.tech-list { display: flex; flex-direction: column; }
.tfeat { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.tfeat:first-child { border-top: 1px solid var(--line-dark); }
.tfeat-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 24px; }
.tfeat h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.tfeat p { color: var(--gray); font-size: 15px; }
.ia { margin-top: clamp(70px, 9vw, 130px); padding-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.ia-head { margin-bottom: 40px; }
.ia-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ia-card { background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 24px; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.ia-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,245,.35); border-color: var(--blue); }
.ia-card .mono { color: var(--blue); }
.ia-card h4 { font-size: 18px; font-weight: 800; margin: 18px 0 8px; }
.ia-card p { color: var(--gray); font-size: 14px; }

/* ---------- Familia ---------- */
.family-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.fam-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 4/5; }
.fam-photo--big { aspect-ratio: 4/3.4; }
.fam-photo--big img { object-position: center 30%; }
.fam-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fam-photo:hover img { transform: scale(1.04); }
.fam-photo figcaption { position: absolute; left: 18px; bottom: 16px; color: rgba(255,255,255,.8); background: rgba(6,6,15,.55); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 8px; }
.fam-people { display: flex; flex-direction: column; gap: 14px; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); transition: border-color .3s, transform .5s var(--ease); }
.person:hover { border-color: rgba(77,77,255,.5); transform: translateX(6px); }
.person .fam-photo { aspect-ratio: 1; border-radius: 12px; }
.person h3 { font-size: 20px; font-weight: 800; }
.person .mono { color: var(--blue-soft); margin: 4px 0 8px; font-size: 11px; }
.person p:not(.mono) { color: var(--gray-2); font-size: 14px; }
.fam-points { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fam-points li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--gray-2); font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
.fam-points li b { color: #fff; display: block; font-size: 16px; }
.fam-points [data-lucide], .fam-points svg { width: 26px; height: 26px; color: var(--blue-soft); }

/* Placeholder de foto faltante */
.is-missing { background: repeating-linear-gradient(135deg, var(--ink-3) 0 12px, var(--ink-2) 12px 24px); }
.is-missing img { opacity: 0; }
.is-missing::after { content: 'Foto real · próximamente'; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); text-align: center; padding: 20px; }

/* ---------- Galería ---------- */
.gallery { padding-top: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 12px; }
.gal-item { position: relative; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.gal-item:nth-child(1) { grid-row: span 2; }
.gal-item:nth-child(4) { grid-column: span 2; }
.gal-item:nth-child(4) img { object-position: center 30%; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; filter: saturate(.85); }
.gal-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gal-item span { position: absolute; left: 14px; bottom: 12px; background: rgba(6,6,15,.6); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 6px; color: #fff; }

/* ---------- Normativa ---------- */
.rules-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.rules-txt { position: sticky; top: 110px; }
.rules-txt .btn { margin-top: 30px; }
.checks { display: flex; flex-direction: column; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.checks li:first-child { border-top: 1px solid var(--line-dark); }
.check { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 20px; }
.checks b { font-size: 17px; font-weight: 800; display: block; margin-bottom: 4px; }
.checks p { color: var(--gray); font-size: 14px; }

/* ---------- Hogares ---------- */
.homes-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.homes-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: #d9daf5; }
.homes-photo img { width: 100%; height: 100%; object-fit: cover; }
.homes-photo.is-missing { background: repeating-linear-gradient(135deg, #dcdcf7 0 12px, #e9e9ff 12px 24px); }
.homes-badge { position: absolute; right: 18px; bottom: 18px; background: var(--blue); color: #fff; border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -20px rgba(0,0,245,.8); }
.homes-badge b { font-size: 36px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.homes-badge span { font-size: 12px; opacity: .85; margin-top: 4px; }
.homes-list { margin: 30px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.homes-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,245,.1); border-radius: 14px; padding: 18px; }
.homes-list [data-lucide], .homes-list svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.homes-list b { display: block; font-size: 15px; margin-bottom: 4px; }
.homes-list p { color: var(--gray); font-size: 13.5px; }

/* ---------- Cobertura ---------- */
.coverage-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.chips li:hover { background: var(--blue); border-color: var(--blue); }
.coverage-note { margin-top: 22px; color: var(--gray); text-transform: none; letter-spacing: .03em; font-size: 12px; }
.cities { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cities .mono { color: var(--blue-soft); }
.cities p { margin-top: 8px; color: var(--gray-2); font-size: 15px; }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
#map { height: 520px; width: 100%; background: var(--ink-2); }
.leaflet-container { font-family: inherit; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(190deg) saturate(.35) brightness(.72) contrast(1.05); }
.map-badge { position: absolute; z-index: 500; left: 16px; bottom: 16px; background: rgba(6,6,15,.8); backdrop-filter: blur(10px); padding: 10px 14px; border-radius: 999px; display: flex; align-items: center; gap: 10px; color: #fff; border: 1px solid var(--line); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: ping 2s infinite; }
.city-marker { background: var(--blue-soft); width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(77,77,255,.25), 0 0 16px rgba(77,77,255,.9); }
.city-marker--main { background: #fff; width: 14px; height: 14px; box-shadow: 0 0 0 6px rgba(0,0,245,.5), 0 0 30px rgba(0,0,245,1); }
.city-label { width: 0 !important; height: 0 !important; }
.cl { position: absolute; top: -8px; left: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.cl--left { left: auto; right: 14px; }
.leaflet-control-attribution { background: rgba(6,6,15,.7) !important; color: var(--gray) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--gray-2) !important; }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; }
.testi p { font-size: 17px; line-height: 1.5; }
.testi footer { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.testi footer .mono { color: var(--gray); }

/* ---------- Contacto ---------- */
.contact-ctas { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 48px; }
.contact-note { color: var(--gray); text-transform: none; letter-spacing: .03em; font-size: 12px; max-width: 70ch; }
.cta-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 26px 28px; border-radius: var(--radius); transition: transform .5s var(--ease), box-shadow .5s; }
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -25px rgba(6,6,15,.5); }
.cta-card--blue { background: var(--blue); color: #fff; }
.cta-card--dark { background: var(--ink); color: #fff; }
.cta-card[hidden] { display: none; }
.cta-card [data-lucide], .cta-card > svg { width: 40px; height: 40px; }
.cta-card b { display: block; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.cta-card span { font-size: 14px; opacity: .8; }
.cta-card em { font-style: normal; opacity: .9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); }
.channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line-dark); transition: border-color .3s, transform .4s var(--ease); }
a.channel:hover { border-color: var(--blue); transform: translateX(4px); }
.channel [data-lucide], .channel > svg { width: 24px; height: 24px; color: var(--blue); }
.channel b { display: block; font-size: 15px; }
.channel span { font-size: 14px; color: var(--gray); }
.form { background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-dark); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; outline: none; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,0,245,.1); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { justify-content: center; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); }
.form-msg.is-error { background: #ffe9e4; color: #b3260c; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--gray-2); padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 20px; font-size: 14px; max-width: 46ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h4 { color: #fff; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: 11px; color: var(--gray); text-transform: none; letter-spacing: .04em; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 850; display: flex; align-items: center; gap: 12px; }
.wa-float-bubble { background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float-bubble { opacity: 1; transform: none; }
.wa-float-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .5s var(--ease); }
.wa-float:hover .wa-float-btn { transform: scale(1.08) rotate(-8deg); }
.wa-float-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: 360px 1fr; }
  .ia-grid { grid-template-columns: repeat(2, 1fr); }
  .fam-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
  .floorbar { display: none; }
  .hero { display: block; padding: 130px 0 90px; }
  .section-head--row { grid-template-columns: 1fr; align-items: start; }
  .section-head--row .lead { margin-top: 14px; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .incidence-inner, .path-grid, .tech-grid, .family-grid, .rules-inner, .homes-inner, .coverage-inner, .contact-grid, .contact-ctas { grid-template-columns: 1fr; }
  .phone-wrap, .rules-txt { position: static; }
  .fam-photo--big { aspect-ratio: 3/2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  #map { height: 420px; }
}
@media (max-width: 640px) {
  .h2 { max-width: 100%; }
  .hero-title { font-size: clamp(36px, 11vw, 80px); font-variation-settings: 'wdth' 86; }
  .hero-stats { flex-wrap: wrap; margin-top: 44px; }
  .hero-stat { flex: 1 1 50%; padding: 18px 0 0; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; }
  .hero-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }
  .service { grid-template-columns: 48px 1fr; grid-template-rows: auto auto; gap: 10px 16px; padding: 24px 0; }
  .service-num { grid-column: 1; grid-row: 1; align-self: center; }
  .service-ico { width: 48px; height: 48px; font-size: 20px; grid-column: 1; grid-row: 2; }
  .service-txt { grid-column: 2; grid-row: 1 / span 2; }
  .service-arrow { display: none; }
  .service:hover { padding-left: 0; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num { padding: 26px 18px; }
  .num b { font-size: clamp(40px, 11vw, 60px); }
  .num > span { font-size: 13px; }
  .dots { grid-template-columns: repeat(11, 1fr); gap: 5px; }
  .path-clock { position: static; margin-bottom: 20px; }
  .ia-grid { grid-template-columns: 1fr; }
  .fam-points { grid-template-columns: 1fr; }
  .person { grid-template-columns: 88px 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gal-item:nth-child(1) { grid-row: span 2; }
  .gal-item:nth-child(4) { grid-column: span 2; }
  .homes-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 40px 1fr; }
  .cta-card em { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-track { font-size: 12px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-bubble { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}
