/* =========================================================
   VALT Mudanzas y Logística · Hoja de estilos
   Mobile first · Paleta tomada del logo (morado profundo + dorado)
   Concepto: "Servicio que mueve" — el sistema de puntos del logo
   (columnas de puntos dorados y morados) hecho movimiento.
   ========================================================= */

:root {
  --violet-950: #12062b;
  --violet-900: #1d0a45;
  --violet-800: #2b1066;
  --violet-700: #3d1a8a;
  --violet-600: #5527b5;
  --violet-500: #7a4fe0;
  --violet-300: #b79df0;
  --violet-200: #dacdf7;
  --violet-100: #ebe4fb;
  --gold-300: #f8e08e;
  --gold-400: #f2c94c;
  --gold-500: #e3b023;
  --gold-600: #b98a0f;
  --ink: #1a0f33;
  --muted: #5d5278;
  --bg-soft: #f7f4fd;
  --gold-grad: linear-gradient(135deg, #fbe9a6 0%, #f2c94c 38%, #e3b023 62%, #b98a0f 100%);
  --violet-grad: linear-gradient(135deg, #4b1fa3 0%, #2b1066 55%, #1d0a45 100%);
  --ff-display: 'Archivo', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gut: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 90px;
}
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1240px, 100% - var(--gut) * 2); margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; padding: .7em 1.1em; border-radius: 999px; background: var(--gold-400); color: var(--violet-950); font-weight: 800; transition: top .3s; }
.skip:focus { top: 12px; }

/* Iconos */
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

/* Texto dorado con brillo */
.gold-text {
  background: var(--gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
}

/* ---------- Titulares ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1rem; font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-600); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.eyebrow--gold { color: var(--gold-400); }
.h2 { font-family: var(--ff-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.9rem, 5.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; color: var(--violet-900); text-wrap: balance; }
.h2--light, .sec-head--light .h2 { color: #fff; }
.lead { margin-top: 1.1rem; max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.lead--light, .sec-head--light .lead { color: rgba(255, 255, 255, .78); }
.sec-head { margin-bottom: clamp(36px, 6vw, 64px); }

/* ---------- Botones ---------- */
.btn {
  --pad-y: .95em;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) 1.55em; border-radius: 999px;
  font-weight: 800; font-size: .98rem; line-height: 1.15; text-align: center;
  isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn--sm { --pad-y: .7em; padding-inline: 1.15em; font-size: .88rem; }
.btn--lg { --pad-y: 1.1em; padding-inline: 1.8em; font-size: 1.02rem; }
.btn--gold { background: var(--gold-grad); color: var(--violet-950); box-shadow: 0 12px 32px -10px rgba(227, 176, 35, .75), inset 0 1px 0 rgba(255, 255, 255, .65); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out infinite; }
.btn--gold:hover { box-shadow: 0 18px 40px -10px rgba(227, 176, 35, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--gold-400); }
.btn--violet { background: var(--violet-grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(61, 26, 138, .85); }
.btn--violet:hover { box-shadow: 0 18px 38px -10px rgba(61, 26, 138, .95); }
.btn--dark { background: var(--violet-950); color: #fff; box-shadow: 0 14px 30px -12px rgba(18, 6, 43, .8); }

/* ---------- Puntos animados (motivo del logo) ---------- */
.dotbars { display: flex; align-items: flex-end; gap: 6px; height: var(--bh, 120px); }
.dotbars i {
  display: block; width: 6px; height: calc(var(--h) * 1%);
  background-image: radial-gradient(circle at 50% 50%, currentColor 0 2.4px, transparent 2.9px);
  background-size: 6px 8px; background-repeat: repeat-y; background-position: bottom;
  color: var(--gold-400);
  animation: bars 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1s);
}
.dotbars i.v { color: var(--violet-500); }

/* =========================================================
   CARGADOR
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; color: #fff;
  background: radial-gradient(80% 60% at 50% 40%, #3a1a86 0%, #1d0a45 55%, #0e0422 100%);
  animation: loaderFallback .5s ease 1.9s forwards; /* respaldo: se oculta solo aunque falle el JS */
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s .6s; }
.loader__core { display: grid; justify-items: center; gap: 22px; width: min(86vw, 340px); padding: 24px; }
.loader__logo { position: relative; width: 112px; height: 112px; }
.loader__logo img { width: 100%; height: 100%; border-radius: 50%; background: #fff; animation: pop 1.4s ease-in-out infinite alternate; }
.loader__ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold-400); border-right-color: rgba(242, 201, 76, .35); animation: spin 1.1s linear infinite; }
.loader__ring--2 { inset: -27px; border-top-color: var(--violet-500); border-right-color: rgba(122, 79, 224, .3); animation-duration: 1.9s; animation-direction: reverse; }
.loader__bars { --bh: 72px; justify-content: center; margin-top: 10px; }
.loader__txt { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-200); font-weight: 700; }
.loader__txt b { color: var(--gold-400); font-variant-numeric: tabular-nums; }
.loader__bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); animation: barfill 1.7s cubic-bezier(.3, .7, .3, 1) forwards; }

/* =========================================================
   ENCABEZADO
   ========================================================= */
.site-header { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 90; pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.header__inner {
  pointer-events: auto; position: relative; isolation: isolate;
  width: min(1240px, 100% - 20px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 8px 7px 12px; border-radius: 999px;
}
.header__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(18, 6, 43, .88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(248, 224, 142, .24); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .6);
}
.brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.brand__text b { display: block; font-family: var(--ff-display); font-weight: 900; font-size: 1.05rem; letter-spacing: .1em; line-height: 1; }
.brand__text small { display: block; margin-top: 3px; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }

.nav {
  position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 96px 28px 40px;
  background: radial-gradient(90% 60% at 85% 10%, #3a1a86, transparent 60%), var(--violet-950);
  transform: translateY(-102%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.nav.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.nav a:not(.btn) { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 8vw, 2.6rem); color: #fff; padding: .25em 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav a:not(.btn):hover { color: var(--gold-400); }
.nav .btn { margin-top: 26px; align-self: flex-start; }

.burger { position: relative; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.burger span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 118px 0 150px; color: #fff; overflow: clip;
  background:
    radial-gradient(120% 80% at 80% 0%, #3a1a86 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, #2b1066 0%, transparent 60%),
    var(--violet-950);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 20s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(1) { width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; left: -15%; top: -10%; background: #5527b5; }
.hero__aurora i:nth-child(2) { width: 50vw; height: 50vw; max-width: 560px; max-height: 560px; right: -10%; top: 10%; background: #7a4fe0; animation-delay: -6s; }
.hero__aurora i:nth-child(3) { width: 40vw; height: 40vw; max-width: 420px; max-height: 420px; right: 20%; bottom: -10%; background: rgba(242, 201, 76, .5); opacity: .32; animation-delay: -12s; }
.hero__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); }
.hero__canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 64%; pointer-events: none; }

.hero__layout { position: relative; z-index: 2; display: grid; gap: 34px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .6em; padding: .55em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(248, 224, 142, .35); font-weight: 700; font-size: .8rem; letter-spacing: .04em; backdrop-filter: blur(8px); }
.live { width: 9px; height: 9px; border-radius: 50%; background: #3be07a; box-shadow: 0 0 0 0 rgba(59, 224, 122, .7); animation: live 1.8s ease-out infinite; }
.hero__title { margin: 20px 0 22px; font-family: var(--ff-display); font-weight: 900; font-stretch: 104%; font-size: clamp(2.5rem, 10.4vw, 4.9rem); line-height: .98; letter-spacing: -.028em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em .12em .14em 0; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(1.2s + var(--i, 0) * .13s); }
.hero__title .line > .gold-text { font-style: italic; animation: lineUp 1.1s var(--ease) both, shine 7s linear infinite; animation-delay: calc(1.2s + var(--i, 0) * .13s), 0s; }
.hero__lead { max-width: 54ch; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: rgba(255, 255, 255, .82); animation: fadeUp 1s var(--ease) both; animation-delay: 1.8s; }
.hero__lead strong { color: var(--gold-300); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: fadeUp 1s var(--ease) both; animation-delay: 2s; }
.hero__chip { animation: fadeUp 1s var(--ease) both; animation-delay: 1.05s; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); animation: fadeUp 1s var(--ease) both; animation-delay: 2.2s; }
.hero__trust b { display: block; font-family: var(--ff-display); font-weight: 900; font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.1; color: var(--gold-400); }
.hero__trust span { display: block; font-size: .76rem; line-height: 1.3; color: rgba(255, 255, 255, .72); }

.hero__visual { position: relative; display: grid; place-items: center; padding: 16px 0 28px; animation: fadeUp 1.2s var(--ease) both; animation-delay: 1.4s; }
.medal-float { animation: float 7s ease-in-out infinite; }
.medal { --rx: 0deg; --ry: 0deg; position: relative; width: min(72vw, 380px); aspect-ratio: 1; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s ease-out; }
.medal__logo { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .5)) drop-shadow(0 0 38px rgba(242, 201, 76, .24)); }
.medal__halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 76, .36) 0%, rgba(122, 79, 224, .28) 40%, transparent 68%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
.medal__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(248, 224, 142, .38); }
.medal__ring--1 { inset: -9%; border-style: dashed; animation: spin 50s linear infinite; }
.medal__ring--2 { inset: -21%; border-color: rgba(183, 157, 240, .26); animation: spin 80s linear infinite reverse; }
.medal__orbit { position: absolute; inset: -9%; z-index: 3; pointer-events: none; animation: spin 36s linear infinite; }
.orb { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orb > span { position: absolute; top: 0; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-900); border: 1.5px solid var(--gold-400); color: var(--gold-300); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); animation: counter 36s linear infinite; }
.orb .ic { width: 20px; height: 20px; }
.floaters { display: none; }

.scrollcue { display: none; }

/* Camino y camión en loop */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; z-index: 3; pointer-events: none; }
.road__strip { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: #0b0420; border-top: 2px solid rgba(248, 224, 142, .55); overflow: hidden; }
.road__strip::after { content: ""; position: absolute; left: 0; top: 50%; width: calc(100% + 64px); height: 3px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 30px, transparent 30px 64px); animation: roadmove 1s linear infinite; }
.truck { position: absolute; bottom: 20px; left: 0; width: clamp(140px, 22vw, 230px); animation: drive 20s linear infinite; animation-delay: -5s; }
.truck__body { animation: bob .45s ease-in-out infinite alternate; }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin .6s linear infinite; }

/* Cinta de destinos */
.ticker { position: relative; z-index: 3; overflow: hidden; background: var(--gold-grad); color: var(--violet-950); border-block: 1px solid rgba(29, 10, 69, .25); }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker__list { display: flex; align-items: center; flex-shrink: 0; }
.ticker__list li { display: flex; align-items: center; gap: 1.4rem; padding: .95rem 0 .95rem 1.4rem; font-family: var(--ff-display); font-weight: 800; font-style: italic; font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.ticker__list li::after { content: ""; width: 9px; height: 9px; background: currentColor; opacity: .55; transform: rotate(45deg); }

/* =========================================================
   MANIFIESTO
   ========================================================= */
.manifest { background: linear-gradient(180deg, #fff, var(--bg-soft)); overflow: clip; }
.manifest__grid { display: grid; gap: 32px; }
.manifest__text { margin-top: 1.6rem; max-width: 24em; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.5rem, 4.2vw, 3.1rem); line-height: 1.18; letter-spacing: -.015em; color: var(--ink); }
.manifest__text strong { color: var(--violet-600); }
.manifest__text em { color: var(--gold-600); }
.js .manifest__text .w { opacity: .16; transition: opacity .35s ease; }
.js .manifest__text .w.on { opacity: 1; }
.manifest__aside { display: none; }
.promises { display: grid; gap: 16px; margin-top: clamp(44px, 7vw, 80px); }
.promise { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--violet-100); box-shadow: 0 24px 56px -34px rgba(61, 26, 138, .5); }
.promise__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--violet-grad); color: var(--gold-300); }
.promise__ic .ic { width: 26px; height: 26px; }
.promise h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.4rem; color: var(--violet-900); margin-bottom: 8px; }
.promise p { color: var(--muted); }

/* =========================================================
   IMAGEN QUE SE EXPANDE AL HACER SCROLL
   ========================================================= */
.expand { --p: 1; --h0: clamp(160px, 24vh, 250px); --h1: clamp(170px, 24vw, 380px); position: relative; background: var(--violet-950); color: #fff; }
.js .expand { height: 240vh; }
.expand__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.6vh, 30px);
  padding: 86px 0 24px;
}
.expand__bg { position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 40%, rgba(122, 79, 224, .38), transparent 70%), radial-gradient(40% 30% at 88% 92%, rgba(242, 201, 76, .2), transparent 70%); }
.expand__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); }
.expand__head { position: relative; z-index: 2; text-align: center; }
.expand__title { font-family: var(--ff-display); font-weight: 900; font-style: italic; font-stretch: 106%; text-transform: uppercase; font-size: clamp(2rem, 7.4vw, 5.4rem); line-height: .96; letter-spacing: -.02em; }
.expand__l1, .expand__l2 { display: block; }
.expand__l1 { translate: calc((1 - var(--p)) * -9vw) 0; }
.expand__l2 { translate: calc((1 - var(--p)) * 9vw) 0; padding-right: .1em; }
.expand__frame {
  position: relative; z-index: 2; margin: 0; overflow: hidden;
  width: calc(60% + 40% * var(--p));
  height: calc(var(--h0) + (var(--h1) - var(--h0)) * var(--p));
  border-radius: calc(36px * (1 - var(--p)));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
  border: 1px solid rgba(248, 224, 142, .35);
}
.expand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; scale: calc(1.2 - .2 * var(--p)); }
.expand__tags { display: none; }
.expand__foot { position: relative; z-index: 2; display: grid; justify-items: center; gap: 16px; max-width: 720px; text-align: center; opacity: calc(.3 + .7 * var(--p)); }
.expand__foot p { color: rgba(255, 255, 255, .82); }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { position: relative; background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.services__pin { padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 8vw, 90px); }
.services__head { display: grid; gap: 22px; margin-bottom: 34px; }
.services__meta .lead { margin-top: 0; }
.services__progress { display: none; height: 3px; margin-top: 18px; border-radius: 3px; background: rgba(61, 26, 138, .15); overflow: hidden; }
.services__progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }
.services__hint { display: flex; align-items: center; gap: .6em; margin-top: 14px; font-weight: 700; font-size: .85rem; color: var(--violet-600); }
.services__hint-d { display: none; }
.services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 12px var(--gut) 34px; scrollbar-width: thin; scrollbar-color: var(--violet-300) transparent; -webkit-overflow-scrolling: touch; }
.services__track { display: flex; gap: 16px; }
.scard { flex: 0 0 min(84vw, 360px); scroll-snap-align: center; }
.scard__in { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--violet-100); box-shadow: 0 24px 60px -34px rgba(61, 26, 138, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.scard__in:hover { transform: translateY(-6px); border-color: var(--gold-400); box-shadow: 0 30px 70px -30px rgba(61, 26, 138, .7); }
.scard__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--violet-100); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard__in:hover .scard__media img { transform: scale(1.07); }
.scard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 6, 43, .72)); }
.scard__num { position: absolute; left: 16px; bottom: 6px; z-index: 2; font-family: var(--ff-display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .92); }
.scard__badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .4em; padding: .4em .85em; border-radius: 999px; background: var(--gold-grad); color: var(--violet-950); font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.scard__badge .ic { width: 1em; height: 1em; }
.scard__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 22px; }
.scard__body h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; color: var(--violet-900); }
.scard__body p { color: var(--muted); font-size: .96rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: .3em .75em; border-radius: 999px; background: var(--violet-100); color: var(--violet-700); font-weight: 700; font-size: .74rem; }
.link-cta { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; margin-top: auto; padding-bottom: 3px; border-bottom: 2px solid var(--gold-400); font-weight: 800; color: var(--violet-700); transition: gap .3s var(--ease), color .3s; }
.link-cta:hover { gap: .9em; color: var(--violet-600); }
.link-cta .ic { width: 1.1em; height: 1.1em; }
/* Encuadres: que el rótulo VALT del camión no quede cortado */
.scard:nth-child(4) .scard__media img { object-position: 80% 50%; }
.scard:nth-child(5) .scard__media img { object-position: 76% 50%; }
/* Panorámicas de baja resolución: se muestran completas, sobre su propio resplandor desenfocado, sin ampliarlas */
.scard__media--pano::before { content: ""; position: absolute; inset: -14%; background: var(--bg) center / cover; filter: blur(16px) saturate(1.25) brightness(.7); }
.scard__media--pano img { position: relative; z-index: 1; object-fit: contain; }
.scard__media--pano::after { z-index: 1; background: linear-gradient(180deg, transparent 62%, rgba(18, 6, 43, .6)); }
.scard--hot .scard__in { border-color: var(--gold-400); box-shadow: 0 28px 64px -30px rgba(227, 176, 35, .75); }
.scard__in--cta { justify-content: center; align-items: flex-start; gap: 16px; padding: 32px 26px; color: #fff; background: radial-gradient(90% 60% at 100% 0%, rgba(122, 79, 224, .6), transparent 70%), var(--violet-grad); border: 0; }
.scard__in--cta h3 { font-family: var(--ff-display); font-weight: 900; font-style: italic; font-size: 1.9rem; line-height: 1.05; }
.scard__in--cta p { color: rgba(255, 255, 255, .8); }
.scard__cta-logo { width: 88px; height: 88px; border-radius: 50%; background: #fff; }

/* =========================================================
   COBERTURA
   ========================================================= */
.coverage { background: var(--violet-950); color: #fff; overflow: clip; }
.coverage__bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(122, 79, 224, .38), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(242, 201, 76, .14), transparent 70%); }
.coverage .wrap { position: relative; }
.coverage__grid { display: grid; gap: 28px; }
.routes { display: grid; gap: 12px; align-content: start; }
.route { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; text-align: left; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .05); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.route:hover { transform: translateX(4px); border-color: rgba(248, 224, 142, .55); }
.route.is-active { border-color: var(--gold-400); background: linear-gradient(135deg, rgba(242, 201, 76, .17), rgba(122, 79, 224, .17)); }
.route__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(242, 201, 76, .15); color: var(--gold-400); }
.route__txt b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; }
.route__txt small { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.routes__cta { margin-top: 8px; }

.map { position: relative; padding: 14px; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .15); }
.map svg { width: 100%; height: auto; }
.rg { transition: opacity .5s ease; }
.r-under { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.r-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 13; animation: dash 1.2s linear infinite; }
.rg--peninsula .r-line { stroke: var(--gold-400); }
.rg--express .r-line { stroke: #fff; }
.rg--nacional .r-line { stroke: var(--violet-300); }
.r-dot { fill: var(--gold-300); filter: drop-shadow(0 0 6px rgba(242, 201, 76, .95)); }
.map:not([data-active="all"]) .rg { opacity: .12; }
.map[data-active="peninsula"] .rg--peninsula,
.map[data-active="express"] .rg--express,
.map[data-active="nacional"] .rg--nacional { opacity: 1; }
.node .core { fill: var(--violet-900); stroke: var(--gold-400); stroke-width: 3; }
.node--min .core { fill: var(--gold-400); stroke: var(--violet-950); stroke-width: 2; }
.node .pulse { fill: none; stroke: var(--gold-400); stroke-width: 2; opacity: .7; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.node text { fill: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 28px; paint-order: stroke; stroke: rgba(18, 6, 43, .9); stroke-width: 6px; stroke-linejoin: round; }
.node--mid text { font-size: 23px; }
.node text.lbl { font-size: 19px; font-weight: 700; fill: rgba(255, 255, 255, .88); stroke-width: 5px; }
.map__note { margin-top: 8px; padding-inline: 6px; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.cities li { padding: .5em 1em; border-radius: 999px; border: 1px solid rgba(248, 224, 142, .3); background: rgba(255, 255, 255, .05); font-weight: 700; font-size: .88rem; color: rgba(255, 255, 255, .9); }

/* =========================================================
   PROCESO
   ========================================================= */
.process { background: #fff; }
.process__grid { display: grid; gap: 40px; }
.process__intro .btn { margin-top: 28px; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--violet-100); }
.tline__fill { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold-400), var(--violet-600)); transform-origin: top; transform: scaleY(var(--tp, 1)); }
.js .tline__fill { transform: scaleY(var(--tp, 0)); }
.tstep { position: relative; }
.tstep::before { content: ""; position: absolute; left: -30px; top: 26px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--violet-200); transition: border-color .4s, background .4s, box-shadow .4s; }
.tstep.is-active::before { border-color: var(--gold-500); background: var(--gold-400); box-shadow: 0 0 0 6px rgba(242, 201, 76, .28); }
.tstep__body { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--violet-100); transition: background .4s, border-color .4s, box-shadow .4s; }
.tstep.is-active .tstep__body { background: #fff; border-color: var(--gold-400); box-shadow: 0 26px 60px -36px rgba(61, 26, 138, .6); }
.tstep__n { position: absolute; right: 18px; top: 4px; z-index: 1; font-family: var(--ff-display); font-weight: 900; font-size: 4.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--violet-200); pointer-events: none; }
.tstep__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--violet-grad); color: var(--gold-300); }
.tstep__ic .ic { width: 22px; height: 22px; }
.tstep h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; color: var(--violet-900); margin-bottom: 6px; }
.tstep p { color: var(--muted); max-width: 52ch; }
.js .tstep { opacity: .5; transition: opacity .5s ease; }
.js .tstep.is-active { opacity: 1; }

/* Texto gigante */
.bigtext { overflow: clip; padding-block: clamp(26px, 5vw, 64px); background: var(--violet-950); }
.bigtext__row { display: flex; gap: .55em; width: max-content; font-family: var(--ff-display); font-weight: 900; font-style: italic; font-size: clamp(3rem, 13vw, 9rem); line-height: 1.04; text-transform: uppercase; white-space: nowrap; color: #fff; will-change: transform; }
.bigtext__row .o { color: transparent; -webkit-text-stroke: 1.5px rgba(248, 224, 142, .85); }

/* =========================================================
   GALERÍA EN MOVIMIENTO
   ========================================================= */
.photoband { background: var(--bg-soft); overflow: clip; }
.photorows { display: grid; gap: 16px; }
.photorow { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.photorow--rev { animation-direction: reverse; }
.photorow:hover { animation-play-state: paused; }
.photorow__list { display: flex; flex: none; gap: 16px; padding-right: 16px; }
.photorow__list li { --w: clamp(220px, 62vw, 360px); flex: none; width: var(--w); height: calc(var(--w) / 1.5); overflow: hidden; border-radius: 20px; box-shadow: 0 20px 44px -26px rgba(61, 26, 138, .65); border: 1px solid var(--violet-100); }
.photorow__list li.is-wide { width: calc(var(--w) * 1.8); }
.photorow__list img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photorow__list li:hover img { transform: scale(1.08); }

/* =========================================================
   GARANTÍAS (bento)
   ========================================================= */
.guarantees { background: var(--violet-900); color: #fff; overflow: clip; }
.guarantees__bg { position: absolute; inset: 0; background: radial-gradient(50% 40% at 15% 0%, rgba(242, 201, 76, .17), transparent 70%), radial-gradient(60% 50% at 100% 60%, rgba(122, 79, 224, .38), transparent 70%); }
.guarantees .wrap { position: relative; }
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; overflow: hidden; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(242, 201, 76, .24), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; }
.tile p { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.tile__ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 16px; background: rgba(242, 201, 76, .15); color: var(--gold-400); border: 1px solid rgba(242, 201, 76, .35); }
.tile__ic .ic { width: 24px; height: 24px; }
.tile__num { font-family: var(--ff-display); font-weight: 900; font-size: clamp(4.4rem, 15vw, 8.5rem); line-height: .9; letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tile__num--s { font-size: clamp(2.8rem, 8vw, 3.8rem); }
/* `.tile p` (más específico) achicaba los números grandes: se vuelve a fijar su tamaño */
.tile p.tile__num { font-size: clamp(4.4rem, 15vw, 8.5rem); color: transparent; margin-bottom: 4px; }
.tile p.tile__num--s { font-size: clamp(2.8rem, 8vw, 3.8rem); }
.tile__bars { position: absolute; right: 18px; bottom: 18px; --bh: 120px; opacity: .9; }
.tile--xl { min-height: 300px; justify-content: flex-end; }
.tile--xl p { max-width: 24ch; }
.tile--xl .tile__ic { margin-bottom: auto; }
.tile--promise { background: var(--gold-grad); border: 0; color: var(--violet-950); gap: 18px; align-items: flex-start; }
.tile--promise::before { display: none; }
.tile__kicker { font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(29, 10, 69, .75) !important; }
.promise-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--violet-950) !important; }
.promise-line span { font-family: var(--ff-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.4rem, 4.4vw, 2.5rem); line-height: 1; }
.promise-line i { width: 2px; height: 1.6em; background: rgba(29, 10, 69, .4); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.perks li { display: flex; align-items: center; gap: .55em; padding: .6em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); font-weight: 700; font-size: .9rem; }
.perks .ic { color: var(--gold-400); }

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq { background: #fff; }
.faq__grid { display: grid; gap: 36px; }
.faq__card { display: grid; justify-items: start; gap: 14px; margin-top: 30px; padding: 24px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(90% 60% at 100% 0%, rgba(122, 79, 224, .55), transparent 70%), var(--violet-grad); }
.faq__card img { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.faq__list { display: grid; gap: 12px; align-content: start; }
.qa { border-radius: 20px; border: 1px solid var(--violet-100); background: var(--bg-soft); transition: background .3s, border-color .3s, box-shadow .4s; }
.qa[open] { background: #fff; border-color: var(--gold-400); box-shadow: 0 24px 56px -34px rgba(61, 26, 138, .6); }
.qa summary { position: relative; padding: 20px 60px 20px 22px; list-style: none; cursor: pointer; font-family: var(--ff-display); font-weight: 700; font-size: 1.06rem; line-height: 1.3; color: var(--violet-900); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--violet-100); color: var(--violet-700); font-weight: 900; font-size: 1.2rem; transition: transform .4s var(--ease), background .3s; }
.qa[open] summary::after { content: "–"; background: var(--gold-400); transform: rotate(180deg); }
.qa__a { padding: 0 22px 22px; color: var(--muted); }
.qa__a a { color: var(--violet-700); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { background: var(--violet-950); color: #fff; overflow: clip; }
.contact__bg { position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(122, 79, 224, .42), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(242, 201, 76, .16), transparent 70%); }
.contact__bg canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; opacity: .55; }
.contact__grid { position: relative; display: grid; gap: 36px; align-items: start; }
.lines { display: grid; gap: 12px; margin-top: 30px; }
.line-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); transition: border-color .3s, background .3s, transform .35s var(--ease); }
.line-card:hover { transform: translateY(-3px); border-color: var(--gold-400); background: rgba(242, 201, 76, .12); }
.line-card__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #25d366; color: #fff; }
.line-card__ic .ic { width: 26px; height: 26px; }
.line-card small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.line-card b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; line-height: 1.2; }
.line-card__arrow { margin-left: auto; color: var(--gold-400); transition: transform .3s var(--ease); }
.line-card:hover .line-card__arrow { transform: translateX(5px); }
.contact__facts { display: grid; gap: 10px; margin-top: 26px; color: rgba(255, 255, 255, .82); font-weight: 600; }
.contact__facts li { display: flex; align-items: center; gap: .7em; }
.contact__facts .ic { color: var(--gold-400); }

.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); color: var(--ink); background: #fff; border: 1px solid rgba(248, 224, 142, .55); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); }
.form__title { font-family: var(--ff-display); font-weight: 800; font-size: 1.55rem; color: var(--violet-900); }
.form__sub { margin-top: -12px; color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-700); }
.field input[type="text"], .field input[type="date"], .field textarea { width: 100%; padding: .9em 1em; font: inherit; color: var(--ink); border-radius: 14px; border: 1.5px solid var(--violet-200); background: var(--bg-soft); transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet-600); background: #fff; box-shadow: 0 0 0 4px rgba(122, 79, 224, .18); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field__err { color: #c0392b; font-weight: 700; font-size: .85rem; }
.field-row { display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; padding: .6em 1.05em; border-radius: 999px; border: 1.5px solid var(--violet-200); background: #fff; font-weight: 700; font-size: .9rem; color: var(--violet-800); cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.opt:hover span { border-color: var(--violet-500); }
.opt input:checked + span { background: var(--violet-grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(61, 26, 138, .8); }
.opt input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.form__submit { width: 100%; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; }

/* =========================================================
   PIE
   ========================================================= */
.footer { position: relative; padding-top: clamp(56px, 8vw, 96px); overflow: clip; background: #0b0420; color: rgba(255, 255, 255, .8); }
.footer__grid { display: grid; gap: 36px; }
.footer__brand p { max-width: 38ch; margin-top: 16px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font-family: var(--ff-display); font-weight: 800; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer__col a:hover { color: var(--gold-400); }
.footer__wa { color: var(--gold-400); font-weight: 800; }
.footer__word { margin-top: 30px; overflow: clip; pointer-events: none; user-select: none; }
.footer__word span { display: block; width: max-content; margin-inline: auto; font-family: var(--ff-display); font-weight: 900; font-style: italic; font-size: clamp(7rem, 32vw, 24rem); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(248, 224, 142, .35); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 22px 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 95; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .7), 0 0 0 3px rgba(255, 255, 255, .92); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-4deg); }
.wa-float .ic { width: 32px; height: 32px; }
.wa-float__pulse { position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: wapulse 2.4s ease-out infinite; }
.wa-float__tip { position: absolute; right: 72px; padding: .6em 1.05em; border-radius: 999px; white-space: nowrap; background: var(--violet-950); color: #fff; font-weight: 700; font-size: .85rem; border: 1px solid rgba(248, 224, 142, .45); opacity: 0; translate: 10px 0; pointer-events: none; transition: opacity .4s, translate .4s var(--ease); }
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; translate: 0 0; }

/* =========================================================
   REVELADO AL HACER SCROLL
   El contenido es visible por defecto: solo se oculta si hay JS (clase .js)
   y JS lo revela. Si el JS falla, se quita .js y todo queda visible.
   ========================================================= */
.js .reveal { opacity: 0; translate: 0 36px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s), scale .9s var(--ease) var(--d, 0s); }
.js .reveal[data-reveal="left"] { translate: -48px 0; }
.js .reveal[data-reveal="right"] { translate: 48px 0; }
.js .reveal[data-reveal="zoom"] { translate: 0 24px; scale: .94; }
.js .reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }

/* Inclinación 3D al pasar el cursor (la mueve JS con --rx / --ry) */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .35s, border-color .35s; will-change: transform; }
.js .reveal[data-tilt] { transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s), scale .9s var(--ease) var(--d, 0s), transform .25s ease-out, box-shadow .35s, border-color .35s; }
.promise:hover { box-shadow: 0 34px 70px -34px rgba(61, 26, 138, .75); border-color: var(--gold-400); }

/* Efectos nativos de scroll: solo donde el navegador los soporta */
@supports (animation-timeline: view()) {
  .progress span { transform: scaleX(0); animation: growbar linear both; animation-timeline: scroll(root); }
  @keyframes growbar { to { transform: scaleX(1); } }
}

/* =========================================================
   ANIMACIONES
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(calc(var(--a) * -1 - 360deg)); } }
@keyframes float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drive { from { transform: translateX(-120%); } to { transform: translateX(calc(100vw + 30%)); } }
@keyframes roadmove { to { transform: translateX(-64px); } }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes bars { from { height: calc(var(--h) * .3%); } to { height: calc(var(--h) * 1%); } }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes lineUp { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.94); } to { transform: scale(1.04); } }
@keyframes barfill { from { width: 0; } to { width: 100%; } }
@keyframes shine { to { background-position: 220% 0; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 5vh, 0) scale(1.18); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(59, 224, 122, .65); } 100% { box-shadow: 0 0 0 12px rgba(59, 224, 122, 0); } }
@keyframes wapulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
@keyframes mouse { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =========================================================
   TABLET Y ESCRITORIO
   ========================================================= */
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .hero__trust span { font-size: .84rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide, .tile--promise { grid-column: 1 / -1; }
  .tile--xl .tile__bars { --bh: 190px; right: 32px; bottom: 30px; gap: 8px; }
  .tile--xl .tile__bars i { width: 7px; background-size: 7px 9px; }
  .tile--xl { grid-column: 1 / -1; }
  .floaters { display: block; position: absolute; inset: 0; pointer-events: none; }
  .floaters li { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: .5em; padding: .6em 1.05em; border-radius: 999px; background: rgba(29, 10, 69, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(248, 224, 142, .32); font-weight: 700; font-size: .82rem; color: #fff; white-space: nowrap; animation: float 6s ease-in-out infinite; animation-delay: var(--dl); }
  .floaters .ic { color: var(--gold-400); width: 1.15em; height: 1.15em; }
  .scard { flex-basis: 360px; }
  .expand__tags { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; background: linear-gradient(0deg, rgba(18, 6, 43, .88), transparent); opacity: calc((var(--p) - .55) * 2.6); }
  .expand__tags span { padding: .45em .95em; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(248, 224, 142, .4); font-weight: 700; font-size: .82rem; backdrop-filter: blur(6px); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact__facts { grid-template-columns: repeat(1, 1fr); }
  .photorow__list li { --w: clamp(260px, 32vw, 380px); }
}

@media (min-width: 960px) {
  .site-header { top: 14px; }
  .nav { position: static; z-index: auto; flex-direction: row; align-items: center; gap: 2px; padding: 0; background: none; transform: none; visibility: visible; transition: none; }
  .nav a:not(.btn) { padding: .55em .95em; border: 0; border-radius: 999px; font-family: var(--ff-body); font-weight: 700; font-size: .92rem; color: rgba(255, 255, 255, .85); }
  .nav a:not(.btn):hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .nav .btn { margin: 0 0 0 8px; }
  .burger { display: none; }
  .header__inner { padding: 8px 8px 8px 16px; }

  .hero { padding: 116px 0 124px; }
  .hero__layout { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero__title { font-size: clamp(3.2rem, 6vw, 5rem); }
  .medal { width: min(32vw, 420px); }
  .scrollcue { position: absolute; right: 108px; bottom: 100px; z-index: 3; display: flex; align-items: center; gap: .8em; font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .scrollcue span { position: relative; width: 22px; height: 34px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .45); }
  .scrollcue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-400); animation: mouse 1.6s ease-out infinite; }

  .manifest__grid { grid-template-columns: 1fr 260px; align-items: center; }
  .manifest__aside { display: flex; justify-content: flex-end; }
  .manifest__bars { --bh: 300px; gap: 9px; }
  .manifest__bars i { width: 7px; background-size: 7px 9px; }

  .services__head { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; }
  .coverage__grid { grid-template-columns: 380px 1fr; gap: 36px; align-items: start; }
  .process__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .process__intro { position: sticky; top: 120px; align-self: start; }
  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .faq__intro { position: sticky; top: 120px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; }

  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile--xl { grid-column: span 2; grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
  .tile--promise { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 32px 36px; }
  .tile--promise .tile__kicker { width: 100%; }
}

/* Modo recorrido horizontal con scroll (lo activa JS en pantallas grandes) */
.services.is-hs .services__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 92px 0 26px; }
.services.is-hs .services__head { margin-bottom: 20px; }
.services.is-hs .h2 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); }
.services.is-hs .lead { font-size: 1rem; }
.services.is-hs .services__progress { display: block; }
.services.is-hs .services__hint-m { display: none; }
.services.is-hs .services__hint-d { display: inline; }
.services.is-hs .services__viewport { overflow: hidden; scroll-snap-type: none; padding: 8px 0 0; }
.services.is-hs .services__track { width: max-content; gap: 24px; padding-inline: max(var(--gut), calc((100vw - 1240px) / 2)); will-change: transform; }
.services.is-hs .scard { flex-basis: clamp(340px, 27vw, 430px); }
.services.is-hs .scard__in { height: clamp(380px, 58svh, 520px); }
.services.is-hs .scard__media { flex: 1 1 0; min-height: 130px; aspect-ratio: auto; }
.services.is-hs .scard__body { flex: none; padding: 20px 22px 22px; gap: 10px; }
.services.is-hs .scard__body p { font-size: .92rem; }

@media (min-width: 1200px) {
  .hero__title { font-size: clamp(3.6rem, 4.9vw, 4.8rem); }
}

/* =========================================================
   MENOS MOVIMIENTO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .ticker__track, .photorow { animation: none !important; }
  .photorows { overflow-x: auto; }
  .truck { display: none; }
  .js .reveal { opacity: 1; translate: 0 0; scale: 1; }
}

/* Pantallas bajas o angostas: etiquetas pequeñas del mapa fuera */
@media (max-width: 699px) {
  .node text.lbl { display: none; }
  .node text { font-size: 34px; }
  .node--mid text { font-size: 30px; }
  .map { padding: 8px; }
}
