/* ==========================================================================
   Parabrisas Curicó — estilos
   Paleta "Arctic Night": #0B0E13 · #1A2430 · #1F6FE9 · #A9B3BF · #E6EBEF
   Tipografía: Barlow Condensed (títulos) + Barlow (texto)
   ========================================================================== */

:root {
  --ink: #0B0E13;
  --ink-2: #0F151E;
  --slate: #1A2430;
  --slate-2: #222E3C;
  --blue: #1F6FE9;
  --blue-600: #1A5FCC;
  --blue-700: #154EA8;
  --royal: #1D3FBF;
  --sky: #5AAEFF;
  --steel: #A9B3BF;
  --frost: #E6EBEF;
  --wa: #25D366;

  --text: var(--frost);
  --muted: var(--steel);
  --line: rgba(169, 179, 191, .16);

  --radius: 18px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --badge-h: 0px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  color-scheme: dark;
  background: var(--ink);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
  text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky);
}
.eyebrow .ico { width: 1.1em; height: 1.1em; }
.section-head .eyebrow::before {
  content: ''; width: 26px; height: 3px; background: currentColor; transform: skewX(-30deg);
}
.h2 {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
  font-style: italic;
  text-transform: uppercase;
}
.h2 em, .hero__title em {
  font-style: inherit;
  background: linear-gradient(92deg, var(--sky) 0%, var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem);
  color: var(--muted);
}

.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section--light {
  --text: var(--ink);
  --muted: #475260;
  --line: rgba(11, 14, 19, .1);
  background: var(--frost);
  color: var(--ink);
  color-scheme: light;
}
.section--light .eyebrow { color: var(--blue-700); }
.section--light .h2 em { background: linear-gradient(92deg, var(--blue) 0%, var(--royal) 100%); -webkit-background-clip: text; background-clip: text; }
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 820px; margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}
.section-head .eyebrow { margin: 0; }
.section-head--left { align-items: flex-start; text-align: left; margin-inline: 0; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  --fg: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.25em; height: 1.25em; }
.btn--primary { --bg: var(--blue); --fg: #fff; box-shadow: 0 12px 30px -14px rgba(31, 111, 233, .9); }
.btn--primary:hover { --bg: var(--blue-600); }
.btn--wa { --bg: var(--wa); --fg: #06140B; box-shadow: 0 12px 30px -14px rgba(37, 211, 102, .8); }
.btn--wa:hover { --bg: #2EE073; }
.btn--ghost { --fg: var(--frost); border-color: rgba(230, 235, 239, .3); }
.btn--ghost:hover { border-color: var(--frost); background: rgba(230, 235, 239, .07); }
.btn--line { --fg: var(--ink); border-color: rgba(11, 14, 19, .22); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgba(11, 14, 19, .04); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--wa);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: pulse 2s infinite;
}

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(11, 14, 19, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(169, 179, 191, .12);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__badge { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; font-size: 1.5rem; letter-spacing: .01em;
}
.brand__city {
  margin-top: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .55em; color: var(--sky);
}
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; color: rgba(230, 235, 239, .82);
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: #fff; background: rgba(230, 235, 239, .08); }
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 clamp(96px, 11vw, 140px);
  overflow: clip;
  background: var(--ink);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 55% at 78% 42%, rgba(31, 111, 233, .30), transparent 70%),
    radial-gradient(45% 40% at 8% 100%, rgba(90, 174, 255, .10), transparent 70%);
}
.hero__glow::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 92px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.hero__copy .eyebrow { color: var(--frost); letter-spacing: .14em; font-size: .92rem; }
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(3rem, 1.3rem + 5.4vw, 6.3rem);
  font-style: italic; text-transform: uppercase;
  line-height: .9; letter-spacing: -.005em;
}
.hero__title em { display: block; }
.hero__lead {
  margin: 0 0 32px; max-width: 34em;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  margin: 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line);
}
.hero__trust li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .98rem; }
.hero__trust .ico { width: 22px; height: 22px; color: var(--sky); }
.hero__trust strong { color: var(--frost); font-weight: 600; }

.hero__media { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 4 / 5; }
.hero__photo {
  position: absolute; inset: 0; margin: 0;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  background: var(--slate);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, .15) 0%, rgba(11, 14, 19, 0) 30%, rgba(11, 14, 19, 0) 60%, rgba(11, 14, 19, .6) 100%),
    linear-gradient(115deg, rgba(31, 111, 233, .22), transparent 45%);
}
.hero__stripe { position: absolute; transform: skewX(-7.3deg); pointer-events: none; }
.hero__stripe--royal {
  left: -9%; top: 12%; width: 8%; height: 92%;
  background: linear-gradient(180deg, var(--royal), var(--blue));
}
.hero__stripe--sky { right: -6%; top: -5%; width: 4.5%; height: 58%; background: var(--sky); opacity: .9; }
.hero__badge {
  position: absolute; left: -7%; bottom: 7%;
  width: clamp(96px, 27%, 138px); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(11, 14, 19, .85), 0 22px 44px -12px rgba(0, 0, 0, .8);
  animation: float 6s ease-in-out infinite;
}
.hero__tag {
  position: absolute; top: 7%; right: 3%; margin: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(11, 14, 19, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 235, 239, .16);
  font-size: .86rem; font-weight: 600;
}

/* ---------- Franja ---------- */
.ticker {
  position: relative; z-index: 3;
  margin-block: -30px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--royal), var(--blue) 55%, #3E8EF7);
  color: #fff;
  transform: skewY(-2.2deg);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .55);
}
.ticker__track {
  display: flex; align-items: center; width: max-content;
  padding: 18px 0;
  animation: ticker 40s linear infinite;
}
.ticker span {
  padding: 0 26px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); text-transform: uppercase; letter-spacing: .02em;
  line-height: 1.1;
}
.ticker i { flex: none; width: 12px; height: 12px; background: var(--frost); transform: rotate(45deg); opacity: .85; }

/* ---------- Servicios ---------- */
#servicios { padding-top: clamp(110px, 13vw, 170px); }
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 26px; border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11, 14, 19, .06);
  box-shadow: 0 1px 2px rgba(11, 14, 19, .04), 0 24px 48px -32px rgba(11, 14, 19, .35);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card::before {
  content: ''; position: absolute; top: 0; right: 30px;
  width: 54px; height: 6px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--royal), var(--sky));
  transform: skewX(-30deg);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 233, .25);
  box-shadow: 0 2px 4px rgba(11, 14, 19, .04), 0 40px 70px -36px rgba(31, 111, 233, .55);
}
.card__icon {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(145deg, #EEF4FF, #DCE8FB);
  box-shadow: inset 0 0 0 1px rgba(31, 111, 233, .12);
}
.card__icon svg { width: 44px; height: 44px; transition: transform .45s var(--ease-out); }
.card:hover .card__icon svg { transform: scale(1.08) rotate(-3deg); }
.card__title { margin: 22px 0 8px; font-size: 1.8rem; font-style: italic; text-transform: uppercase; }
.card p { margin: 0 0 22px; color: var(--muted); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-700); }
.card__link .ico { transition: transform .3s var(--ease-out); }
.card__link:hover .ico { transform: translateX(4px); }
.notice {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 780px; margin: 44px auto 0; padding: 18px 22px;
  border-radius: 14px;
  background: rgba(31, 111, 233, .08);
  border: 1px solid rgba(31, 111, 233, .22);
  color: var(--ink);
}
.notice .ico { width: 22px; height: 22px; margin-top: 3px; color: var(--blue-700); }

/* ---------- Escena del furgón ---------- */
.ruta { position: relative; height: 240vh; background: var(--ink); }
.ruta__sticky {
  position: sticky; top: 0;
  display: flex; flex-direction: column;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, #0B0E13 0%, #0E1520 55%, #131C28 100%);
}
.ruta__sky {
  position: absolute; inset: 0 0 35% 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 30%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 17% 62%, #E6EBEF, transparent 60%),
    radial-gradient(1.5px 1.5px at 26% 18%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 36% 48%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 47% 12%, #E6EBEF, transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 40%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 66% 20%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 74% 58%, #E6EBEF, transparent 60%),
    radial-gradient(1.5px 1.5px at 83% 26%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 91% 50%, #E6EBEF, transparent 60%),
    radial-gradient(1px 1px at 96% 14%, #E6EBEF, transparent 60%);
}
.ruta__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-top: calc(var(--header-h) + clamp(14px, 5vh, 56px));
  text-align: center;
}
.ruta__copy .eyebrow { margin: 0; }
.ruta__lead { margin: 0; max-width: 40em; color: var(--muted); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); }
.ruta__status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 4px 0 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(230, 235, 239, .14);
  background: rgba(26, 36, 48, .65);
  font-size: .9rem; font-weight: 600;
}
.ruta__dot { width: 8px; height: 8px; border-radius: 50%; background: #F2C46D; animation: blink 1.1s ease-in-out infinite; }
.ruta__status-b { display: none; }
.ruta.is-parked .ruta__status-a { display: none; }
.ruta.is-parked .ruta__status-b { display: inline; }
.ruta.is-parked .ruta__dot { background: var(--wa); animation: none; box-shadow: 0 0 0 4px rgba(37, 211, 102, .22); }

.ruta__stage { position: relative; flex: 1; min-height: 240px; --road: 27%; --van-w: min(880px, 60vw); }
.ruta__moon {
  position: absolute; left: 11%; top: 0;
  width: clamp(54px, 6vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #F4F7FA 0%, #D5DDE6 55%, #A9B3BF 100%);
  box-shadow: 0 0 60px 10px rgba(230, 235, 239, .16), 0 0 160px 40px rgba(90, 174, 255, .08);
  opacity: .9;
  transform: translateY(calc(var(--p, 0) * 24px));
}
.ruta__mountains { position: absolute; left: 0; bottom: calc(var(--road) - 2px); width: 100%; height: 52%; }
.ruta__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--road);
  background: linear-gradient(180deg, #1B232E 0%, #10151C 100%);
}
.ruta__road::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px;
  background: #253141;
  box-shadow: 0 1px 0 rgba(169, 179, 191, .18);
}
.ruta__road::after {
  content: ''; position: absolute; left: 0; right: 0; top: 36%; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(230, 235, 239, .45) 0 56px, transparent 56px 112px);
}
.ruta__house {
  position: absolute; left: 72%; bottom: calc(var(--road) - 4px);
  width: clamp(150px, 19vw, 270px);
}
.ruta__house svg { width: 100%; height: auto; }
.ruta__pin {
  position: absolute; left: 58%; bottom: 100%;
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 7px 13px 7px 9px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: .86rem; white-space: nowrap;
  box-shadow: 0 14px 30px -8px rgba(31, 111, 233, .85);
  opacity: 0; transform: translate(-50%, -26px);
  transition: transform .6s var(--ease-back) .3s, opacity .3s .3s;
}
.ruta__pin::after {
  content: ''; position: absolute; left: 50%; top: 100%; z-index: -1;
  width: 12px; height: 12px; border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -7px) rotate(45deg);
}
.ruta__pin .ico { width: 18px; height: 18px; }
.ruta.is-parked .ruta__pin { opacity: 1; transform: translate(-50%, 0); }

.ruta__van {
  position: absolute; z-index: 3;
  left: 50%; bottom: 4%;
  width: var(--van-w); margin-left: calc(var(--van-w) / -2);
  will-change: transform;
}
.js .ruta__van { transform: translate3d(-120vw, 0, 0); }
.ruta__trail {
  position: absolute; right: 92%; top: 32%;
  width: 46vw; height: 40%;
  background: repeating-linear-gradient(180deg, transparent 0 16px, rgba(230, 235, 239, .32) 16px 18px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
  opacity: var(--speed, 0);
  pointer-events: none;
}
.van { width: 100%; height: auto; overflow: visible; }
.van__beam { opacity: 0; transition: opacity .7s ease .4s; }
.ruta.is-parked .van__beam { opacity: 1; }
.van__pitch { transform-box: fill-box; transform-origin: 86% 98%; }
.ruta.is-parked .van__pitch { animation: van-brake .95s var(--ease-out); }
.ruta.is-parked .van__lamp { animation: lamp-flash 1.2s .5s; }

/* ---------- Cómo trabajamos ---------- */
.proceso {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px); align-items: center;
}
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 3.4rem; line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blue);
}
.step__title { margin: 2px 0 6px; font-size: 1.7rem; font-style: italic; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); }
.furgon { margin: 0; }
.furgon__media { position: relative; }
.furgon__frame {
  overflow: hidden; border-radius: 22px;
  box-shadow: 0 44px 80px -40px rgba(11, 14, 19, .65);
  transform: rotate(-1.5deg);
}
.furgon__frame img { width: 100%; aspect-ratio: 1080 / 566; object-fit: cover; }
.furgon__mini {
  position: absolute; right: -10px; bottom: -26%;
  width: 42%; overflow: hidden;
  border: 5px solid var(--frost); border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(11, 14, 19, .65);
  transform: rotate(3deg);
}
.furgon__mini img { width: 100%; aspect-ratio: 640 / 335; object-fit: cover; }
.furgon figcaption { max-width: 52%; margin-top: 26px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.furgon figcaption strong {
  display: block; color: var(--ink);
  font-family: var(--font-display); font-size: 1.4rem; font-style: italic; text-transform: uppercase;
}

/* ---------- Garantía ---------- */
.garantia {
  position: relative; overflow: clip;
  padding-block: clamp(70px, 9vw, 120px);
  background: linear-gradient(120deg, #123A9E 0%, var(--blue) 55%, #3E8EF7 100%);
  color: #fff;
}
.garantia::before {
  content: ''; position: absolute; inset: -20% -10%; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 120px);
}
.garantia__grid {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "seal copy" "seal list";
  gap: 30px clamp(32px, 5vw, 72px); align-items: center;
}
.garantia__seal { grid-area: seal; display: flex; align-items: flex-end; gap: 10px; }
.garantia__num {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(9rem, 5rem + 13vw, 17rem); line-height: .76; letter-spacing: -.04em;
  text-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.garantia__unit {
  padding-bottom: .12em;
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: .9;
}
.garantia__copy { grid-area: copy; }
.garantia__copy .h2 em { background: #fff; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.garantia__copy p { max-width: 48ch; margin: 18px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.garantia__list {
  grid-area: list;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.garantia__list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px; border-radius: 16px;
  background: rgba(11, 14, 19, .2);
  border: 1px solid rgba(255, 255, 255, .18);
}
.garantia__list .ico { width: 30px; height: 30px; }
.garantia__list strong {
  display: block; margin-bottom: 2px;
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic; text-transform: uppercase; line-height: 1.1;
}
.garantia__list span { font-size: .95rem; color: rgba(255, 255, 255, .88); line-height: 1.45; }

/* ---------- Trabajos ---------- */
#trabajos { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 210px); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__btn {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: var(--slate); cursor: zoom-in;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.06); }
.gallery__btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 14, 19, .85));
}
.gallery__cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
  text-align: left; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.2rem; line-height: 1.05; text-transform: uppercase;
}
.gallery__cap small {
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: .8rem; text-transform: none; letter-spacing: .02em; color: var(--sky);
}
.gallery__item--big .gallery__cap { left: 22px; bottom: 20px; font-size: 1.9rem; }
.gallery__item--big .gallery__cap small { font-size: .95rem; }
.trabajos__more { margin: 40px 0 0; text-align: center; }

/* ---------- Formulario ---------- */
.quote {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px;
  grid-template-areas: "steps preview" "actions preview";
  gap: 24px clamp(28px, 4vw, 56px); align-items: start;
}
.quote__steps { grid-area: steps; display: grid; gap: 18px; }
.quote__step {
  min-width: 0; margin: 0; padding: 24px 24px 26px;
  border: 1px solid rgba(11, 14, 19, .08); border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px -38px rgba(11, 14, 19, .45);
}
.quote__step legend {
  float: left; width: 100%; padding: 0; margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.5rem; line-height: 1; text-transform: uppercase;
}
.quote__step legend + * { clear: both; }
.quote__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--ink); color: #fff;
  font-size: 1rem; letter-spacing: .02em;
  transform: skewX(-8deg);
}
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 108px; padding: 16px 8px 14px; border-radius: 14px;
  border: 1.5px solid rgba(11, 14, 19, .12);
  background: #F6F8FA;
  text-align: center; font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice__box svg { width: 42px; height: 42px; color: #5B6878; transition: color .2s, transform .3s var(--ease-out); }
.choice__box::after {
  content: ''; position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(11, 14, 19, .2); background: #fff center / 12px no-repeat;
  transition: background-color .2s, border-color .2s;
}
.choice:hover .choice__box { border-color: rgba(31, 111, 233, .45); }
.choice input:checked + .choice__box { border-color: var(--blue); background: #EEF4FF; box-shadow: 0 0 0 3px rgba(31, 111, 233, .16); }
.choice input:checked + .choice__box svg { color: var(--blue); transform: scale(1.08); }
.choice input:checked + .choice__box::after {
  border-color: var(--blue);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + .choice__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.quote__step.is-invalid .choice__box { border-color: rgba(217, 45, 32, .45); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.req { color: var(--blue-700); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid rgba(11, 14, 19, .14); border-radius: 12px;
  background: #F9FAFB; color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; line-height: 1.5; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A94A1; }
.field input:hover, .field textarea:hover { border-color: rgba(11, 14, 19, .3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 233, .15); }
.field input[aria-invalid="true"] { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }
.field__error { margin: 0; color: #B42318; font-size: .88rem; font-weight: 600; }
.quote__step > .field__error { margin-top: 12px; }
.segmented {
  display: flex; gap: 4px; min-height: 50px; padding: 4px;
  border: 1.5px solid rgba(11, 14, 19, .1); border-radius: 12px;
  background: #EEF1F4;
}
.segmented label { position: relative; flex: 1; }
.segmented input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.segmented span {
  display: grid; place-items: center; height: 100%; min-height: 40px; border-radius: 9px;
  font-weight: 600; font-size: .92rem; color: #475260;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(11, 14, 19, .12); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote__preview { grid-area: preview; position: sticky; top: calc(var(--header-h) + 24px); }
.phone {
  width: 100%; max-width: 360px; margin-inline: auto; padding: 10px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(11, 14, 19, .7), inset 0 0 0 1.5px #2A3442;
}
.phone__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px 12px; border-radius: 32px 32px 0 0;
  background: #F7F8FA; color: #111B21;
}
.phone__bar .ico { width: 20px; height: 20px; color: #1DA851; }
.phone__bar img { width: 36px; height: 36px; border-radius: 50%; }
.phone__who { line-height: 1.25; }
.phone__who strong { display: block; font-size: .95rem; }
.phone__who span { font-size: .75rem; color: #667781; }
.phone__chat {
  display: flex; flex-direction: column;
  min-height: 380px; max-height: 480px; overflow: auto;
  padding: 14px 12px 18px;
  background-color: #EFEAE2;
  background-image: radial-gradient(rgba(11, 14, 19, .06) 1px, transparent 1.3px);
  background-size: 14px 14px;
  scrollbar-width: thin;
}
.phone__day {
  align-self: center; margin: 0 0 12px; padding: 4px 10px; border-radius: 8px;
  background: #fff; color: #54656F; font-size: .72rem;
  box-shadow: 0 1px 1px rgba(11, 14, 19, .08);
}
.bubble {
  position: relative; align-self: flex-end; max-width: 94%;
  padding: 8px 10px 6px; border-radius: 10px 0 10px 10px;
  background: #D9FDD3; color: #111B21;
  font-size: .86rem; line-height: 1.42;
  box-shadow: 0 1px 1px rgba(11, 14, 19, .1);
  overflow-wrap: anywhere;
}
.bubble::before {
  content: ''; position: absolute; top: 0; right: -7px;
  width: 8px; height: 13px; background: #D9FDD3;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bubble__text { white-space: pre-wrap; }
.bubble__text .ph { color: #8696A0; font-style: italic; }
.bubble__meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 2px; font-size: .68rem; color: #667781; }
.bubble__meta svg { color: #53BDEB; }
.phone__input { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 0 0 32px 32px; background: #F0F2F5; }
.phone__input > span:first-child { flex: 1; padding: 10px 14px; border-radius: 999px; background: #fff; color: #8696A0; font-size: .85rem; }
.phone__send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; }
.phone__send .ico { width: 18px; height: 18px; }
.quote.is-ready .phone__send { animation: pulse-send 1.6s infinite; }
.quote__preview-cap {
  display: flex; align-items: flex-start; gap: 8px;
  max-width: 340px; margin: 16px auto 0;
  font-size: .88rem; color: var(--muted);
}
.quote__preview-cap .ico { margin-top: 2px; color: #1DA851; }

.quote__actions { grid-area: actions; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote__note, .quote__status { grid-column: 1 / -1; margin: 0; }
.quote__note { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.quote__note a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.quote__note a:hover { color: var(--blue); }
.quote__status { font-size: .95rem; font-weight: 600; color: #B42318; }
.quote__status:empty { display: none; }
.quote__done {
  grid-area: steps;
  padding: clamp(28px, 5vw, 52px); border-radius: 20px;
  background: #fff; text-align: center;
  box-shadow: 0 24px 48px -38px rgba(11, 14, 19, .45);
}
.quote__done:focus { outline: none; }
.quote.is-done .quote__steps, .quote.is-done .quote__actions { display: none; }
.quote__done-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: #DCFCE7; color: #15803D; }
.quote__done-icon .ico { width: 36px; height: 36px; }
.quote__done-title { margin-bottom: 12px; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-style: italic; text-transform: uppercase; }
.quote__done p { max-width: 46ch; margin: 0 auto 24px; color: var(--muted); }
.quote__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Preguntas ---------- */
.preguntas { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.faq-layout {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(26, 36, 48, .55);
  transition: border-color .3s, background-color .3s;
}
.faq__item[open] { border-color: rgba(31, 111, 233, .55); background: rgba(26, 36, 48, .92); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(31, 111, 233, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23E6EBEF' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--blue); }
.faq__body { padding: 0 22px 22px; color: var(--muted); }
.faq__body p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0; overflow: clip;
    transition: height .45s var(--ease-out), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- Pie ---------- */
.footer {
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: calc(28px + var(--badge-h));
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.footer__cta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
  padding-bottom: clamp(48px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}
.footer__cta .eyebrow { margin-bottom: 14px; }
.footer__cta .h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem); }
.footer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-block: 52px; }
.footer__brand { display: flex; align-items: flex-start; gap: 18px; }
.footer__brand img { width: 88px; height: 88px; flex: none; border-radius: 50%; }
.footer__brand p { max-width: 36ch; margin: 0; color: var(--muted); }
.footer__brand strong { color: var(--frost); font-family: var(--font-display); font-size: 1.45rem; font-style: italic; text-transform: uppercase; }
.footer__col h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.footer__col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact .ico { color: var(--sky); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .88rem; color: #7D8896;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 179, 191, .4); transition: color .2s; }
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--badge-h));
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .75), 0 4px 12px rgba(0, 0, 0, .3);
  opacity: 0; pointer-events: none; transform: translateY(20px) scale(.85);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.6s infinite;
}
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 8px 12px; border-radius: 10px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate(6px, -50%);
  transition: opacity .3s, transform .3s var(--ease-out);
  pointer-events: none;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Galería ampliada ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #06080B; color: #fff;
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(6, 8, 11, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(92vw, 1400px); margin: 0; }
.lightbox__fig img {
  max-width: 100%; max-height: 80vh; max-height: 80svh;
  border-radius: 14px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  touch-action: pan-y;
}
.lightbox figcaption {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; font-style: italic; text-transform: uppercase;
}
.lightbox__count { font-family: var(--font-body); font-size: .85rem; font-style: normal; font-weight: 500; color: var(--steel); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(26, 36, 48, .75); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: var(--blue); }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }

html:has(.lightbox[open]) { overflow: hidden; }

/* ---------- Páginas simples (gracias / 404) ---------- */
.simple {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  min-height: 100vh; min-height: 100svh; padding: 48px var(--gutter);
  text-align: center;
  background: radial-gradient(60% 50% at 50% 30%, rgba(31, 111, 233, .25), transparent 70%), var(--ink);
}
.simple img { width: 120px; height: 120px; border-radius: 50%; }
.simple .eyebrow { margin: 0; }
.simple .h2 em { display: block; }
.simple__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Política de privacidad ---------- */
.legal__top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 19, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.legal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.legal__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.3rem; text-transform: uppercase; }
.legal__brand img { width: 44px; height: 44px; border-radius: 50%; }
.legal {
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 96px);
  background: radial-gradient(60% 40% at 50% 0%, rgba(31, 111, 233, .18), transparent 70%), var(--ink);
}
.legal__wrap { max-width: 760px; margin-inline: auto; }
.legal .h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
.legal__lead { margin: 22px 0 10px; font-size: clamp(1.06rem, 1rem + .3vw, 1.18rem); color: var(--frost); }
.legal__date { margin: 0 0 8px; font-size: .9rem; color: #7D8896; }
.legal section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.legal h2:not(.h2) { margin: 0 0 14px; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); font-weight: 700; text-transform: uppercase; color: var(--frost); }
.legal section p, .legal section li { color: var(--steel); }
.legal section strong { color: var(--frost); }
.legal ul { display: grid; gap: 10px; margin: 0 0 1em; padding-left: 1.2em; }
.legal li::marker { color: var(--sky); }
.legal section a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.legal section a:hover { color: #fff; }
.legal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal__foot { padding: 22px 0; border-top: 1px solid var(--line); font-size: .88rem; color: #7D8896; }
.legal__foot p { margin: 0; }
@media (max-width: 720px) {
  .legal__foot { padding-bottom: 96px; } /* deja libre el aviso de Netlify (abajo a la derecha) */
}
@media (max-width: 520px) {
  .legal__brand span { display: none; }
  .legal__cta .btn { width: 100%; }
}

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes blink { 50% { opacity: .25; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes ring {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes pulse-send {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes van-brake {
  0% { transform: rotate(0); }
  28% { transform: rotate(1.1deg); }
  58% { transform: rotate(-.45deg); }
  80% { transform: rotate(.15deg); }
  100% { transform: rotate(0); }
}
@keyframes lamp-flash {
  0%, 40%, 80% { fill: #fff; filter: brightness(1.6); }
  20%, 60%, 100% { filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header__wa span { display: none; }
  .header__wa { width: 42px; padding: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garantia__grid { grid-template-columns: 1fr; grid-template-areas: "seal" "copy" "list"; text-align: left; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(230, 235, 239, .2); border-radius: 12px;
    background: rgba(11, 14, 19, .4); cursor: pointer;
  }
  .menu-btn span { grid-area: 1 / 1; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out); }
  .menu-btn span:first-child { transform: translateY(-4px); }
  .menu-btn span:last-child { transform: translateY(4px); }
  .header.is-open .menu-btn span:first-child { transform: rotate(45deg); }
  .header.is-open .menu-btn span:last-child { transform: rotate(-45deg); }
  .header__wa { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: flex; flex-direction: column; gap: 18px;
    height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: 14px 2px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; font-style: italic; text-transform: uppercase;
    color: var(--frost);
  }
  .nav__list a:hover { background: none; color: var(--sky); }
  .nav__mobile-cta { display: grid; gap: 10px; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(100%, 560px); aspect-ratio: 5 / 4; margin-top: 8px; }
  .hero__photo { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
  .hero__photo img { object-position: 50% 35%; }
  .hero__badge { left: 0; bottom: -4%; width: clamp(84px, 22%, 120px); }

  .proceso { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }

  .quote { grid-template-columns: 1fr; grid-template-areas: "steps" "preview" "actions"; }
  .quote__preview { position: static; }
  .quote.is-done .quote__preview { display: none; }
  .phone__chat { min-height: 0; max-height: 360px; }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 25vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ruta { height: 210vh; }
  .ruta__stage { --road: 30%; --van-w: 94vw; }
  /* En celular el furgón ocupa todo el ancho: se sube lo que mida el distintivo de Netlify (si existe). */
  .ruta__road { height: calc(var(--road) + var(--badge-h)); }
  .ruta__mountains { bottom: calc(var(--road) + var(--badge-h) - 2px); }
  .ruta__van { bottom: calc(5% + var(--badge-h)); }
  .ruta__house { left: 47%; width: 44vw; bottom: calc(var(--road) + var(--badge-h) - 4px); }
  .ruta__pin { left: 50%; }
  .ruta__trail { width: 70vw; }
  .garantia__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .quote__step { padding: 20px 16px 22px; }
  .quote__step legend { font-size: 1.35rem; }
  .quote__actions { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 37vw; gap: 8px; }
  .gallery__item--big .gallery__cap { font-size: 1.5rem; left: 16px; bottom: 14px; }
  .gallery__cap { font-size: 1.02rem; left: 10px; bottom: 9px; }
  .step { grid-template-columns: 64px 1fr; gap: 12px; }
  .step__num { font-size: 2.8rem; }
  .furgon figcaption { max-width: 50%; font-size: .92rem; }
  .furgon__mini { width: 46%; right: -4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cta .btn { width: 100%; }
  .footer__btns { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .header__cta { display: none; }
  .brand__name { font-size: 1.35rem; }
}

@media (max-height: 640px) and (max-width: 720px) {
  .ruta__lead { display: none; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .ruta { height: auto; }
  .ruta__sticky { position: relative; height: auto; min-height: 640px; }
  .ruta__stage { min-height: 360px; }
  .js .ruta__van { transform: none; }
  .ruta__trail { display: none; }
}
