/* ==========================================================================
   MUDANZAS CONFIABLES - Landing corporativa
   Metodología: mobile first. Los estilos base son para móvil y se amplían
   con min-width (640 / 900 / 1100).
   Dirección visual: "ruta nocturna". Azul rey de marca (chalecos y camión),
   asfalto, reflejante plateado y la carretera punteada del logo como hilo
   conductor de toda la página.
   Tema único oscuro (sin secciones invertidas). Una sola familia: Geist.
   Escala de radios: 10 (detalles) / 14 (inputs, iconos) / 22 (tarjetas) /
   28 (marco hero y formulario) / 999 (botones y pastillas).
   Índice:
     0 Fuentes · 1 Tokens · 2 Base · 3 Utilidades · 4 Botones
     5 Preloader · 6 Header y menú · 7 Reveal · 8 Hero · 9 Marquee
     10 Manifiesto · 11 Servicios · 12 Viaje · 13 Cifras · 14 Bento
     15 FAQ · 16 Contacto y formulario · 17 Footer · 18 WhatsApp flotante
     19 Keyframes · 20 Responsive · 21 Reduced motion
   ========================================================================== */

/* ============ 0. FUENTES (auto-alojadas) ============ */
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============ 1. TOKENS ============ */
:root {
  /* Color: base nocturna (nunca negro puro) */
  --bg: #050816;
  --bg-2: #080d24;
  --surface: #0c1334;
  --surface-2: #101a42;
  --line: rgba(150, 175, 255, 0.14);
  --line-strong: rgba(150, 175, 255, 0.32);
  --field-line: rgba(150, 175, 255, 0.5);

  /* Texto (AA sobre --bg y --surface) */
  --text: #edf2ff;
  --text-2: #aebbda;
  --text-3: #8d9cc4;

  /* Marca: un solo acento azul */
  --brand: #2450f0;
  --brand-hi: #3560f5;
  --brand-lo: #1b3fd8;
  --glow: #6c93ff;
  --silver: #c9d3ea;
  --asphalt: #0a1030;

  /* Excepción de marca externa */
  --wa: #25d366;

  /* Tipografía */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radios */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Layout */
  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  --section-y: clamp(72px, 10vw, 140px);

  /* Movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Escala de capas */
  --z-sticky: 20;
  --z-wa: 60;
  --z-menu: 70;
  --z-header: 80;
  --z-loader: 100;
}

/* ============ 2. BASE ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
body.menu-open { overflow: hidden; }

img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ============ 3. UTILIDADES ============ */
.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px; border-radius: var(--r-pill);
  background: #fff; color: #0a1230; font-weight: 600;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.ico--xl { width: 52px; height: 52px; }

.only-lg { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--glow);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: repeating-linear-gradient(90deg, var(--glow) 0 7px, transparent 7px 12px);
}

.h2 {
  font-size: clamp(1.9rem, 5.4vw, 3.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.2rem, 7vw, 4.2rem); }

.lead {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  line-height: 1.55; color: var(--text-2); max-width: 54ch;
}

.glass {
  background: rgba(12, 19, 52, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: 600; color: #fff; padding-block: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s, color 0.3s, gap 0.3s var(--ease-out);
}
.link-arrow .ico { width: 1em; height: 1em; color: var(--glow); transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { border-color: var(--glow); gap: 12px; }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

/* ============ 4. BOTONES ============ */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer; text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s;
  translate: var(--mx, 0) var(--my, 0);
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[data-magnetic] { transition-property: transform, box-shadow, background-color, border-color, translate; }
.btn[data-magnetic]:not(:hover) { transition-duration: 0.5s; }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn .ico--arrow { width: 1.05em; height: 1.05em; transition: transform 0.4s var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-hi), var(--brand-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 34px -10px rgba(36, 80, 240, 0.75);
}
.btn--primary::after { /* destello tipo reflejante, recurrente */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: shimmer 4.6s var(--ease-io) infinite 1.4s;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 20px 44px -10px rgba(36, 80, 240, 0.9); }

.btn--ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}
.hero .btn--ghost { background: rgba(8, 13, 36, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(150, 175, 255, 0.55); transform: translateY(-2px); }

.btn--light { color: #0a1230; background: #edf2ff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6); }
.btn--light:hover { transform: translateY(-2px); background: #fff; }

/* ============ 5. PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center; overflow: hidden;
  /* Respaldo si el JS fallara: se oculta solo a los 9 s */
  animation: pl-failsafe 0.01s linear 9s forwards;
}
.pl__half {
  position: absolute; left: 0; right: 0; height: 50.4%;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(36, 80, 240, 0.22), transparent 70%),
    var(--bg);
  transition: transform 1.05s var(--ease-io) 0.38s;
}
.pl__half--top { top: 0; }
.pl__half--bottom { bottom: 0; transform-origin: bottom; background: radial-gradient(60% 80% at 50% 0%, rgba(36, 80, 240, 0.22), transparent 70%), var(--bg); }
.pl__seam {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--glow) 30%, #fff 50%, var(--glow) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(108, 147, 255, 0.8);
  opacity: 0; transform: scaleX(0);
}
.pl__stage {
  position: relative; display: grid; justify-items: center; gap: 22px;
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}
.pl__logo { position: relative; width: 140px; height: 140px; }
.pl__spin, .pl__ring { position: absolute; }
.pl__spin { inset: 0; width: 140px; height: 140px; animation: spin 1.5s linear infinite; }
.pl__ring { inset: 10px; width: 120px; height: 120px; transform: rotate(-90deg); }
.pl__ring-bg { fill: none; stroke: rgba(150, 175, 255, 0.14); stroke-width: 3; }
.pl__ring-fg {
  fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 339.3; stroke-dashoffset: 339.3;
}
.pl__mark { position: absolute; left: 38px; top: 38px; width: 64px; height: 64px; animation: pl-pulse 2s var(--ease-io) infinite; }

.pl__brand { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.34em; color: #fff; text-align: center; }
.pl__brand b { color: var(--glow); font-weight: 700; }

.pl__road { position: relative; width: min(320px, 72vw); height: 38px; }
.pl__road-line, .pl__road-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 6px; }
.pl__road-line {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%) 0 center / 22px 2px repeat-x,
    var(--asphalt);
  border: 1px solid var(--line);
  animation: roadflow 0.8s linear infinite;
}
.pl__road-fill { background: linear-gradient(90deg, var(--brand), var(--glow)); transform: scaleX(0); transform-origin: left; opacity: 0.9; }
.pl__truck { position: absolute; left: 0; bottom: 9px; width: 28px; height: 28px; fill: #fff; margin-left: -14px; will-change: transform; }

.pl__status { display: flex; align-items: baseline; gap: 2px; font-family: var(--mono); font-size: 0.8rem; color: var(--text-2); }
.pl__pct { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.pl__pct-sign { margin-right: 14px; }
.pl__msg { letter-spacing: 0.02em; }

.preloader.is-leaving .pl__stage { opacity: 0; transform: translateY(-14px) scale(0.96); }
.preloader.is-leaving .pl__seam { animation: seam 0.9s var(--ease-out) forwards; }
.preloader.is-leaving .pl__half--top { transform: translateY(-101%); }
.preloader.is-leaving .pl__half--bottom { transform: translateY(101%); }
.preloader.is-done { display: none; }

/* ============ 6. HEADER Y MENÚ ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  padding: 10px var(--gutter) 0; pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  max-width: var(--maxw); height: 56px; margin-inline: auto;
  padding: 0 8px 0 14px;
  border-radius: var(--r-pill);
  background: rgba(8, 13, 36, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.4s, border-color 0.4s, transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}
html.js .site-header__bar { opacity: 0; transform: translateY(-24px); }
html.js.is-ready .site-header__bar { opacity: 1; transform: none; transition-delay: 0.15s; }
.site-header.is-scrolled .site-header__bar { background: rgba(8, 13, 36, 0.78); border-color: var(--line-strong); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: var(--r-sm); box-shadow: 0 8px 22px -8px rgba(36, 80, 240, 0.9); }
.brand__word { display: grid; line-height: 1; gap: 4px; transform: skewX(-9deg); }
.brand__top { font-weight: 850; font-size: 1.02rem; letter-spacing: 0.02em; }
.brand__bot { font-weight: 600; font-size: 0.56rem; letter-spacing: 0.36em; color: var(--silver); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  position: relative; display: block; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  transition: color 0.25s, background-color 0.25s;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.site-header__cta { display: none; }

.burger {
  position: relative; width: 44px; height: 44px; flex: none; margin-left: auto;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); cursor: pointer;
}
.burger__line {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.burger__line:nth-child(1) { top: 19px; }
.burger__line:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-header); pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--glow) 70%, #fff);
  box-shadow: 0 0 14px rgba(108, 147, 255, 0.9);
}

/* Menú móvil */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: calc(var(--header-h) + 28px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(36, 80, 240, 0.35), transparent 70%),
    rgba(5, 8, 22, 0.98);
  clip-path: circle(0% at calc(100% - 44px) 38px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.menu__nav { display: grid; gap: 4px; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 650; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.menu__link .ico { color: var(--glow); width: 0.8em; height: 0.8em; }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.2s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.26s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.32s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.38s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.44s; }
.menu__foot { display: grid; gap: 14px; justify-items: center; }
.menu__foot .btn { white-space: normal; text-wrap: balance; }
.menu__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 500; padding: 8px; }

/* ============ 7. SISTEMA REVEAL (scroll) ============ */
html.js [data-reveal] {
  opacity: 0; translate: 0 36px; filter: blur(8px);
  transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js [data-reveal].is-in { opacity: 1; translate: 0 0; filter: none; }

/* ============ 8. HERO ============ */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100dvh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 64px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aurora::before, .hero__aurora::after { content: ""; position: absolute; border-radius: 50%; }
.hero__aurora::before {
  width: 90vmax; height: 90vmax; right: -35vmax; top: -45vmax;
  background: radial-gradient(closest-side, rgba(36, 80, 240, 0.55), rgba(36, 80, 240, 0.12) 55%, transparent 72%);
  animation: aurora-a 22s ease-in-out infinite alternate;
}
.hero__aurora::after {
  width: 70vmax; height: 70vmax; left: -30vmax; bottom: -38vmax;
  background: radial-gradient(closest-side, rgba(108, 147, 255, 0.3), rgba(108, 147, 255, 0.06) 58%, transparent 72%);
  animation: aurora-b 26s ease-in-out infinite alternate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }

/* Carretera en perspectiva: la línea punteada avanza hacia ti (referencia al logo) */
.hero__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  perspective: 520px; perspective-origin: 50% 0%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
}
.hero__road::before { /* resplandor del horizonte */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60%;
  background: radial-gradient(50% 100% at 50% 0%, rgba(79, 123, 255, 0.5), transparent 70%);
}
.hero__road-plane {
  position: absolute; left: 50%; top: 0; width: 1200px; height: 560px; margin-left: -600px;
  transform: rotateX(76deg); transform-origin: 50% 0;
  background:
    linear-gradient(90deg, transparent 0 41%, rgba(160, 190, 255, 0.95) 41% 42%, transparent 42% 58%, rgba(160, 190, 255, 0.95) 58% 59%, transparent 59%),
    linear-gradient(90deg, transparent 41%, rgba(22, 36, 104, 0.9) 41% 59%, transparent 59%);
}
.hero__lane {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0 54px, transparent 54px 132px);
  animation: lane 0.8s linear infinite;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.55) 0%, transparent 22%, transparent 94%, var(--bg) 100%),
    radial-gradient(90% 70% at 50% 40%, transparent 55%, rgba(5, 8, 22, 0.7) 100%);
}

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }

.hero__title {
  font-size: clamp(2rem, 8.4vw, 3.6rem);
  font-weight: 750; line-height: 1.04; letter-spacing: -0.04em;
}
.hl { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hl__in { display: block; }
.rot {
  display: inline-grid; vertical-align: top; overflow: hidden;
  padding-bottom: 0.14em; margin-bottom: -0.14em; color: var(--glow);
}
.rot__w {
  grid-area: 1 / 1; display: block; opacity: 0; transform: translateY(105%);
  transition: transform 0.8s var(--ease-out), opacity 0.5s var(--ease-out);
}
.rot__w.is-active { opacity: 1; transform: none; }
.rot__w.is-out { opacity: 0; transform: translateY(-105%); }
.rot__w.no-t { transition: none; }

.hero__lead { font-size: clamp(1.02rem, 0.5vw + 0.95rem, 1.2rem); color: var(--text-2); max-width: 46ch; line-height: 1.6; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero__actions .btn { width: 100%; }

/* Entrada del hero (se dispara con html.is-ready cuando termina el preloader) */
html.js [data-hero] { opacity: 0; translate: 0 30px; transition: opacity 1.1s var(--ease-out), translate 1.3s var(--ease-out); transition-delay: var(--hd, 0s); }
html.js.is-ready [data-hero] { opacity: 1; translate: 0 0; }
.hero__copy > [data-hero]:nth-child(1) { --hd: 0.1s; }
.hero__copy > [data-hero]:nth-child(3) { --hd: 0.62s; }
.hero__copy > [data-hero]:nth-child(4) { --hd: 0.78s; }
html.js .hero__visual[data-hero] { --hd: 0.45s; scale: 0.94; transition-property: opacity, translate, scale; }
html.js.is-ready .hero__visual[data-hero] { scale: 1; }
html.js .hl__in { transform: translateY(112%); transition: transform 1.25s var(--ease-out); }
html.js.is-ready .hl__in { transform: none; }
html.js.is-ready .hl:nth-child(1) .hl__in { transition-delay: 0.22s; }
html.js.is-ready .hl:nth-child(2) .hl__in { transition-delay: 0.36s; }

/* Composición visual */
.hero__visual {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(88%, 440px); margin-inline: auto;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
}
.hv__orbits { position: absolute; inset: 0; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(143, 176, 255, 0.4); animation: spin 46s linear infinite; }
.orbit--a { inset: -9%; }
.orbit--b { inset: -20%; border-style: dotted; border-color: rgba(143, 176, 255, 0.22); animation-duration: 70s; animation-direction: reverse; display: none; }
.orbit__dot {
  position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 18px 4px rgba(108, 147, 255, 0.85);
}
.hv__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 120px -34px rgba(36, 80, 240, 0.7), 0 0 0 8px rgba(255, 255, 255, 0.025);
  aspect-ratio: 1000 / 1020; background: var(--surface);
}
.hv__frame img { width: 100%; height: 100%; object-fit: cover; }
.hv__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 8, 22, 0.6)), linear-gradient(135deg, rgba(36, 80, 240, 0.16), transparent 45%);
}
.hv__sheen {
  position: absolute; inset: -10% 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 50%, transparent 62%);
  transform: translateX(-130%); animation: sheen 6.5s var(--ease-io) infinite 2.2s;
}

.hv__badge {
  position: absolute; right: -10px; bottom: -22px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand);
  box-shadow: 0 16px 40px -10px rgba(36, 80, 240, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateZ(50px);
}
.hv__badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hv__badge-text text { fill: #fff; font: 600 8.6px var(--mono); }
.hv__badge-icon { width: 34px; height: 34px; fill: #fff; }

.hv__chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 10px 16px 10px 12px; border-radius: var(--r-sm); transform: translateZ(70px);
  animation: float 7s ease-in-out infinite;
}
.hv__chip .ico { width: 24px; height: 24px; color: var(--glow); }
.hv__chip span { display: grid; line-height: 1.2; }
.hv__chip strong { font-size: 0.86rem; font-weight: 650; }
.hv__chip small { font-size: 0.72rem; color: var(--text-2); }
.hv__chip--a { left: -8px; bottom: 15%; }
.hv__chip--b { right: -6px; top: 9%; animation-delay: -3.2s; }

/* ============ 9. MARQUEE (único de la página) ============ */
.marquee {
  position: relative; overflow: hidden; padding-block: 20px;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, var(--brand-lo), var(--brand-hi) 50%, var(--brand-lo));
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex: none; align-items: center; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__group { animation-play-state: paused; }
.marquee__group li {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem); font-weight: 650; letter-spacing: -0.02em; color: #fff; white-space: nowrap;
}
.marquee__group li::after { /* tramo de carretera como separador */
  content: ""; width: 44px; height: 3px; flex: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 8px, transparent 8px 14px);
}

/* ============ 10. MANIFIESTO ============ */
.manifesto { padding-block: clamp(96px, 15vw, 210px); position: relative; }
.manifesto__text {
  font-size: clamp(1.75rem, 6.4vw, 4.1rem); font-weight: 650; line-height: 1.14; letter-spacing: -0.035em;
  max-width: 21em; text-wrap: pretty;
}
.manifesto__text .w { opacity: 0.14; }
.manifesto__text mark { background: none; color: var(--glow); }
.inline-pill {
  display: inline-grid; place-items: center; width: 1.75em; height: 0.84em; margin-inline: 0.14em;
  vertical-align: -0.05em; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-lo));
  border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 10px 26px -10px rgba(36, 80, 240, 0.9);
}
.inline-pill .ico { width: 0.5em; height: 0.5em; color: #fff; }

/* ============ 11. SERVICIOS ============ */
.services { padding-block: 0 clamp(40px, 6vw, 80px); }
.services__intro { display: grid; gap: 18px; max-width: 800px; margin-bottom: clamp(36px, 6vw, 72px); }
.svc__stack { display: grid; gap: 18px; }

.svc-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transform-origin: 50% 0;
}
.svc-card::after { /* sombra progresiva cuando otra tarjeta la cubre */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--bg); opacity: var(--shade, 0); border-radius: inherit;
}
.svc-card__media { order: -1; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 19, 52, 0.7)); }
.svc-card__body { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(22px, 4vw, 44px); }
.svc-card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-lo)); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(36, 80, 240, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.svc-card__icon .ico { width: 26px; height: 26px; }
.svc-card h3 { font-size: clamp(1.45rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.svc-card p { color: var(--text-2); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  font-size: 0.82rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, 0.03);
}
.services__cta { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 72px); }
.services__cta .btn { width: 100%; }

/* ============ 12. VIAJE HORIZONTAL (Cómo trabajamos) ============ */
/* Base (sin JS / movimiento reducido): carrusel horizontal con snap */
.journey { position: relative; padding-block: var(--section-y); background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.journey__head { display: grid; gap: 14px; margin-bottom: 34px; }
.journey__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px; }
.journey__viewport::-webkit-scrollbar { display: none; }
.journey__track { position: relative; display: flex; gap: 16px; padding-inline: var(--gutter); width: max-content; }
.jstep { flex: none; width: min(78vw, 360px); height: min(62dvh, 480px); scroll-snap-align: center; }
.journey__road { display: none; }

.jcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
}
.jcard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--px, 0px), 0, 0) scale(1.14); }
.jcard:not(.jcard--brand):not(.jcard--cta)::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.1) 25%, rgba(5, 8, 22, 0.94) 100%);
}
.jcard__text { display: grid; gap: 10px; padding: 24px; }
.jcard h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.jcard p { color: #cdd7f1; font-size: 0.97rem; line-height: 1.5; }
.jcard--brand, .jcard--cta {
  background: radial-gradient(90% 70% at 20% 0%, var(--brand-hi), var(--brand-lo) 70%, #12299a);
}
.jcard--cta { justify-content: center; border-style: dashed; border-color: rgba(255, 255, 255, 0.45); }
.jcard--cta .jcard__text { justify-items: start; gap: 18px; }
.jcard--cta h3 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.jcard--cta .btn { white-space: normal; }
.jcard__bigicon { position: absolute; left: 24px; top: 24px; width: 64px; height: 64px; fill: rgba(255, 255, 255, 0.95); }
.jcard__rings { position: absolute; z-index: -1; right: -30%; top: -8%; width: 90%; aspect-ratio: 1; pointer-events: none; }
.jcard__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); animation: ripple 5s var(--ease-out) infinite; }
.jcard__rings i:nth-child(2) { animation-delay: 1.6s; }
.jcard__rings i:nth-child(3) { animation-delay: 3.2s; }

/* Modo fijado (JS): el scroll vertical desplaza el carril en horizontal */
.journey.is-pinned { height: var(--j-height, 460vh); padding-block: 0; }
.journey.is-pinned .journey__sticky {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; overflow: hidden;
  padding-top: calc(var(--header-h) + 18px);
}
.journey.is-pinned .journey__head { margin-bottom: 8px; gap: 8px; }
.journey.is-pinned .journey__head .h2 { font-size: clamp(1.7rem, 4.6vw, 3rem); }
.journey.is-pinned .journey__head .lead { font-size: 1rem; }
.journey.is-pinned .journey__viewport { flex: 1; min-height: 0; overflow: visible; display: flex; align-items: center; padding: 0; scroll-snap-type: none; }
.journey.is-pinned .journey__track { height: 100%; align-items: center; will-change: transform; padding-block: 12px; }
.journey.is-pinned .jstep { height: 100%; max-height: 540px; width: clamp(272px, 80vw, 430px); opacity: 0.5; transform: scale(0.95); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); }
.journey.is-pinned .jstep.is-active { opacity: 1; transform: none; }
.journey.is-pinned .journey__road { display: block; flex: none; padding: 0 calc(var(--gutter) + 64px) max(14px, env(safe-area-inset-bottom)) var(--gutter); }

.jroad { position: relative; height: 72px; max-width: var(--maxw); margin-inline: auto; }
.jroad__line, .jroad__fill { position: absolute; left: 0; right: 0; top: 26px; height: 10px; border-radius: 6px; }
.jroad__line {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 50%, transparent 50%) 0 center / 22px 2px repeat-x,
    var(--asphalt);
  border: 1px solid var(--line-strong);
}
.jroad__fill { background: linear-gradient(90deg, var(--brand), var(--glow)); transform-origin: left; transform: scaleX(var(--jp, 0)); box-shadow: 0 0 16px rgba(108, 147, 255, 0.7); }
.jroad__node {
  position: absolute; top: 22px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-strong); transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.jroad__node.is-passed { background: var(--glow); border-color: #fff; box-shadow: 0 0 14px rgba(108, 147, 255, 0.9); }
.jroad__node em {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  font: 500 0.68rem var(--mono); letter-spacing: 0.06em; color: var(--text-3); white-space: nowrap; font-style: normal;
  opacity: 0; transition: opacity 0.4s, color 0.4s;
}
.jroad__node.is-current em { opacity: 1; color: #fff; }
.jroad__node:nth-child(3) em { left: 0; transform: none; }
.jroad__node:nth-child(7) em { left: auto; right: 0; transform: none; }
.jroad__truck { position: absolute; left: 0; top: -9px; width: 34px; height: 34px; fill: #fff; margin-left: -17px; will-change: transform; filter: drop-shadow(0 4px 10px rgba(36, 80, 240, 0.8)); }

/* ============ 13. CIFRAS ============ */
.stats {
  position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 9vw, 110px);
  background: linear-gradient(120deg, var(--brand-lo), var(--brand) 55%, var(--brand-lo));
}
.stats::before { /* bandas de reflejante en movimiento lento (periodo horizontal exacto: 48.55px) */
  content: ""; position: absolute; inset: 0 0 0 -60px; z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 22px, transparent 22px 44px);
  animation: stripes 3.2s linear infinite;
}
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
.stat { display: grid; gap: 8px; }
.stat__num { font-size: clamp(2.6rem, 10vw, 5.4rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.stat__label { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; font-weight: 500; max-width: 18ch; line-height: 1.35; }

/* ============ 14. POR QUÉ NOSOTROS (bento) ============ */
.why { padding-block: var(--section-y); }
.why__title { max-width: 16em; margin-bottom: clamp(32px, 5vw, 60px); }
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.bento__cell {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 240px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.bento__cell::before { /* spotlight que sigue al cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx-s, 50%) var(--my-s, 50%), rgba(108, 147, 255, 0.2), transparent 62%);
}
.bento__cell:hover::before { opacity: 1; }
.bento__cell:hover { border-color: var(--line-strong); }
.bento__cell h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.bento__cell p { color: var(--text-2); font-size: 0.98rem; max-width: 36ch; }
.bento__cell > .ico--xl { color: var(--glow); margin-bottom: auto; }

.bento__cell--a { background: radial-gradient(90% 80% at 15% 0%, var(--brand-hi), var(--brand-lo) 75%); border-color: rgba(255, 255, 255, 0.25); min-height: 320px; }
.bento__cell--a > .ico--xl, .bento__cell--a p { color: #fff; }
.bento__cell--a p { color: rgba(255, 255, 255, 0.92); }
.bento__cell--a h3 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.bento__pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bento__pattern--wrap { /* hilos de playo envolviendo (periodo vertical exacto: 16.18px) */
  inset: -40px 0 0 0;
  background:
    repeating-linear-gradient(158deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 15px),
    linear-gradient(200deg, rgba(255, 255, 255, 0.14), transparent 45%);
  animation: wrap-drift 2.4s linear infinite;
}
.bento__pattern--reflect { /* bandas reflejantes del chaleco, solo en la parte alta */
  background: linear-gradient(180deg, transparent 10%, rgba(201, 211, 234, 0.2) 10% 24%, transparent 24% 32%, rgba(201, 211, 234, 0.14) 32% 38%, transparent 38%);
  transform: skewY(-8deg) scale(1.3); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%); mask-image: linear-gradient(90deg, transparent 15%, #000 70%);
}
.bento__pattern--reflect::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%); transform: translateX(-120%); animation: sheen 7s var(--ease-io) infinite 1s; }
.bento__cell--c { background: linear-gradient(160deg, #0f1a4a, #0a1131); }

.bento__clock { position: absolute; top: 24px; right: 24px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.bento__clock::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--glow); z-index: 2; }
.bento__clock i { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; transform-origin: 50% 100%; }
.bento__clock i:nth-child(1) { height: 32px; animation: spin 10s linear infinite; }
.bento__clock i:nth-child(2) { height: 22px; background: var(--glow); animation: spin 120s linear infinite; }

.bento__route { margin-bottom: auto; }
.bento__route svg { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.route-base { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.route-flow { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 14; animation: dashflow 1.4s linear infinite; filter: drop-shadow(0 0 6px rgba(108, 147, 255, 0.9)); }
.route-node { fill: var(--bg); stroke: var(--glow); stroke-width: 3; }
.bento__route ul { display: flex; justify-content: space-between; max-width: 360px; margin-top: 2px; font: 500 0.72rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }

/* ============ 15. FAQ ============ */
.faq { padding-block: 0 clamp(56px, 8vw, 96px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.faq__intro { display: grid; gap: 18px; align-content: start; justify-items: start; }
.faq__intro .btn { white-space: normal; text-align: left; height: auto; padding-block: 14px; }
.faq__list { display: grid; gap: 12px; }

.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color 0.35s, background-color 0.35s; }
.qa[open] { border-color: var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px;
  padding: 18px 22px; cursor: pointer; list-style: none; font-size: 1.04rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 0.3s, transform 0.5s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform 0.5s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--brand); border-color: var(--brand); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 22px 22px; color: var(--text-2); max-width: 62ch; }

/* ============ 16. CONTACTO Y FORMULARIO ============ */
.contact { position: relative; isolation: isolate; overflow: clip; padding-block: var(--section-y); border-top: 1px solid var(--line); }
.contact__glow { position: absolute; z-index: -1; inset: -10% -10% auto; height: 70%; pointer-events: none; background: radial-gradient(50% 60% at 50% 0%, rgba(36, 80, 240, 0.42), transparent 70%); }
.contact__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "form" "map"; }
.contact__info { grid-area: info; }
.contact__form { grid-area: form; }
.contact__map { grid-area: map; }
.contact__info { display: grid; gap: 20px; align-content: start; justify-items: start; }
.contact__list { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.contact__item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease-out);
}
a.contact__item:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); transform: translateX(4px); }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--brand-hi), var(--brand-lo)); color: #fff; }
.contact__item span:last-child { display: grid; gap: 2px; min-width: 0; }
.contact__item small { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.contact__item strong { font-weight: 600; font-size: 1rem; line-height: 1.35; }

.map-card { position: relative; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: invert(92%) hue-rotate(180deg) saturate(0.8) contrast(0.92) brightness(0.95); }
.map-card__btn { position: absolute; right: 14px; bottom: 14px; }

.quote {
  position: relative; display: grid; gap: 22px; overflow: hidden;
  padding: clamp(20px, 4vw, 40px); border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(16, 26, 66, 0.92), rgba(12, 19, 52, 0.92));
  box-shadow: 0 50px 120px -44px rgba(36, 80, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.quote__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quote__head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.quote__head p { margin-top: 6px; color: var(--text-2); font-size: 0.95rem; }
.quote__ring { position: relative; flex: none; width: 54px; height: 54px; }
.quote__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.quote__ring .r-bg { fill: none; stroke: var(--line-strong); stroke-width: 3.5; }
.quote__ring .r-fg { fill: none; stroke: var(--glow); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset 0.6s var(--ease-out); }
.quote__ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 0.74rem var(--mono); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.qf legend, .field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.opt { font-weight: 400; color: var(--text-3); }
.qf__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }

.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--field-line); background: rgba(5, 8, 22, 0.55); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  color-scheme: dark;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: rgba(150, 175, 255, 0.75); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(108, 147, 255, 0.22); background: rgba(5, 8, 22, 0.8); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8f8f; box-shadow: 0 0 0 3px rgba(255, 143, 143, 0.16); }
.field__error { min-height: 0; margin-top: 6px; font-size: 0.84rem; color: #ff9b9b; }
.field__error:empty { display: none; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__card {
  position: relative; display: grid; gap: 2px; align-content: start; height: 100%; padding: 14px;
  border-radius: var(--r-sm); border: 1px solid var(--field-line); background: rgba(5, 8, 22, 0.45);
  transition: border-color 0.25s, background-color 0.25s, transform 0.4s var(--ease-out), box-shadow 0.3s;
}
.choice__card .ico { width: 26px; height: 26px; margin-bottom: 8px; color: var(--glow); }
.choice__card strong { font-size: 0.95rem; font-weight: 650; line-height: 1.2; }
.choice__card small { font-size: 0.78rem; color: var(--text-2); }
.choice:hover .choice__card { border-color: rgba(150, 175, 255, 0.8); transform: translateY(-2px); }
.choice input:checked + .choice__card { border-color: var(--glow); background: rgba(36, 80, 240, 0.28); box-shadow: 0 0 0 3px rgba(108, 147, 255, 0.2); }
.choice input:checked + .choice__card::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050816' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.choice input:focus-visible + .choice__card { outline: 2px solid var(--glow); outline-offset: 3px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--field-line); font-size: 0.9rem; font-weight: 500; color: var(--text-2); background: rgba(5, 8, 22, 0.45); transition: all 0.25s; }
.pill:hover span { border-color: rgba(150, 175, 255, 0.8); color: #fff; }
.pill input:checked + span { background: var(--brand); border-color: var(--glow); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }

.quote__submit { white-space: normal; }
.quote__submit-label { display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: opacity 0.25s, transform 0.4s var(--ease-out); }
.quote__submit-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; opacity: 0; transform: translateY(14px); transition: opacity 0.25s, transform 0.4s var(--ease-out); }
.quote__submit-loading i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: dots 1s var(--ease-io) infinite; }
.quote__submit-loading i:nth-child(2) { animation-delay: 0.15s; }
.quote__submit-loading i:nth-child(3) { animation-delay: 0.3s; }
.quote__submit.is-loading { pointer-events: none; }
.quote__submit.is-loading .quote__submit-label { opacity: 0; transform: translateY(-14px); }
.quote__submit.is-loading .quote__submit-loading { opacity: 1; transform: none; }
.quote__note { text-align: center; font-size: 0.84rem; color: var(--text-3); margin-top: -6px; }

.quote__success {
  position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 28px; text-align: center;
  background: linear-gradient(180deg, #101a42, #0c1334);
  animation: pop 0.6s var(--ease-out) both;
}
.quote__success[hidden] { display: none; }
.quote__success .ico--xl { width: 68px; height: 68px; color: var(--wa); }
.quote__success h4 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.quote__success p { color: var(--text-2); }

/* ============ 17. FOOTER ============ */
.footer { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 28px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__mega { overflow: hidden; margin-bottom: clamp(36px, 6vw, 72px); user-select: none; }
.footer__mega span {
  display: block; font-size: 13.2vw; font-weight: 850; line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase;
  color: transparent; background: linear-gradient(180deg, rgba(108, 147, 255, 0.34), rgba(108, 147, 255, 0.02) 92%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateX(var(--fx, 0px)) skewX(-9deg); text-wrap: balance; padding-inline: var(--gutter);
  will-change: transform;
}
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--text-2); max-width: 36ch; }
.footer__title { margin-bottom: 14px; font: 500 0.72rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col li, .footer__col a { color: var(--text-2); font-size: 0.96rem; }
.footer__col a { transition: color 0.25s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.88rem; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); padding: 8px 4px; transition: color 0.25s; }
.footer__top .ico { width: 1em; height: 1em; }
.footer__top:hover { color: #fff; }

/* ============ 18. WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed; z-index: var(--z-wa);
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
}
html.js .wa-float { opacity: 0; transform: translateY(24px) scale(0.8); transition: opacity 0.8s var(--ease-out) 0.8s, transform 0.9s var(--ease-out) 0.8s; }
html.js.is-ready .wa-float { opacity: 1; transform: none; }
.wa-float__btn {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.4s var(--ease-out);
}
.wa-float__btn .ico { width: 32px; height: 32px; }
.wa-float__btn::before, .wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ping 2.6s var(--ease-out) infinite; }
.wa-float__btn::after { animation-delay: 1.3s; }
.wa-float:hover .wa-float__btn { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip {
  max-width: 200px; padding: 10px 16px; border-radius: var(--r-sm); background: #fff; color: #0a1230;
  font-size: 0.86rem; font-weight: 600; line-height: 1.25; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateX(14px) scale(0.92); transform-origin: right center; pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}
@media (max-width: 639px) { .wa-float__tip { display: none; } }
.wa-float.is-tip .wa-float__tip, .wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }

/* ============ 19. KEYFRAMES ============ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes shimmer { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes sheen { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes aurora-a { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.12); } }
@keyframes aurora-b { to { transform: translate3d(7vmax, -4vmax, 0) scale(1.15); } }
@keyframes lane { to { background-position: 0 132px; } }
@keyframes roadflow { to { background-position: 22px center, 0 0; } }
@keyframes ripple { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes stripes { to { transform: translateX(48.55px); } }
@keyframes wrap-drift { to { transform: translateY(16.18px); } }
@keyframes dashflow { to { stroke-dashoffset: -48; } }
@keyframes dots { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-7px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes seam { 0% { opacity: 0; transform: scaleX(0); } 35% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ============ 20. RESPONSIVE (mobile first) ============ */
@media (max-width: 400px) {
  .btn--lg { padding: 0 20px; font-size: 0.96rem; gap: 8px; }
  .hero__actions .btn, .services__cta .btn, .jcard--cta .btn { white-space: normal; text-wrap: balance; }
  .hero__actions .btn { min-height: 58px; height: auto; padding-block: 12px; }
}
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .services__cta .btn { width: auto; }
  .choices { grid-template-columns: repeat(4, 1fr); }
  .choice__card { padding: 14px 12px; }
}

@media (min-width: 640px) {
  .site-header__cta { display: inline-flex; }
  .burger { margin-left: 0; }
  .qf__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .only-lg { display: inline; }
  .only-sm { display: none; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.25); }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(260px, auto)); }
  .bento__cell--a { grid-column: 1 / 6; grid-row: 1 / 3; }
  .bento__cell--b { grid-column: 6 / 10; }
  .bento__cell--c { grid-column: 10 / 13; }
  .bento__cell--d { grid-column: 6 / 9; grid-row: 2; }
  .bento__cell--e { grid-column: 9 / 13; grid-row: 2; }

  .faq__grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 28px); }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .footer__grid .footer__brand { grid-column: auto; }
  .footer__mega span { font-size: 6.9vw; white-space: nowrap; }

  /* Tarjetas de servicio: se apilan al hacer scroll */
  .svc-card {
    position: sticky; top: calc(var(--header-h) + 22px + var(--i, 0) * 16px);
    grid-template-columns: 1.05fr 0.95fr; height: min(560px, calc(100dvh - var(--header-h) - 70px));
    margin-bottom: clamp(36px, 9vh, 100px);
  }
  .svc-card:last-child { margin-bottom: 0; }
  .svc-card__media { order: 0; aspect-ratio: auto; height: 100%; }
  .svc-card__media::after { background: linear-gradient(90deg, rgba(12, 19, 52, 0.55), transparent 35%); }
  .svc__stack { gap: 0; }
}

@media (min-width: 1000px) {
  .nav { display: block; }
  .burger { display: none; }
  .contact__grid { grid-template-columns: 5fr 7fr; grid-template-areas: "info form" "map form"; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 28px; align-items: start; }
  .contact__form { position: sticky; top: calc(var(--header-h) + 20px); }
}

@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.12fr 0.88fr; gap: 56px; }
  .hero__title { font-size: clamp(2.6rem, 4.5vw, 4rem); }
  .hero__visual { width: min(100%, 500px); margin-inline: 0 auto; }
  .orbit--b { display: block; }
  .hv__chip--a { left: -34px; }
  .hv__chip--b { right: -30px; }
  .hv__badge { right: -26px; bottom: -30px; width: 118px; height: 118px; }
}

@media (hover: none) {
  .svc-card:hover .svc-card__media img { transform: none; }
}

/* ============ 21. MOVIMIENTO REDUCIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js [data-hero] { opacity: 1; translate: none; filter: none; }
  html.js .hl__in { transform: none; }
  .manifesto__text .w { opacity: 1; }
  .hero__road, .hero__canvas { display: none; }
}
