/* ============================================================
   MUDANZAEXPRESS — mudanzaexpress.com.ar
   Dirección estética: "Señalética vial, tablero de salidas"
   Base clara tiza + asfalto. Acento único: amarillo señal.
   Urgencia: naranja brasa (solo para lo que importa).
   Lenguaje visual: cartel de ruta, cinta de peligro, carriles
   discontinuos, chevrones, tablero de salidas monospace.
   Tipografía: Archivo (display, ancho variable) + IBM Plex Mono
   (etiquetas, números, tablero).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* superficie clara (tiza) */
  --chalk:    #F6F5F0;
  --chalk-hi: #FFFFFF;
  --chalk-lo: #E8E6DD;
  --card:     #FFFFFF;

  /* asfalto (tinta) */
  --asphalt:   #111418;
  --asphalt-2: #1B2027;
  --asphalt-3: #262C35;
  --graphite:  #2F3640;
  --steel:     #5F6873;

  --line:      rgba(17, 20, 24, .14);
  --line-soft: rgba(17, 20, 24, .07);
  --line-dark: rgba(246, 245, 240, .14);

  /* acentos */
  --signal:      #FFC72C;
  --signal-deep: #E8AD00;
  --signal-dark: #9A7100;
  --signal-soft: rgba(255, 199, 44, .16);
  --ember:       #F04E23;
  --ember-deep:  #C93A14;

  --chalk-mut: #A7ACB3;
  --wa: #25D366;

  /* tipografía */
  --f-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* forma */
  --r-chip: 4px;
  --r-btn: 10px;
  --r-card: 14px;
  --shadow-hard: 4px 4px 0 var(--asphalt);
  --shadow-card: 0 1px 2px rgba(17,20,24,.05), 0 10px 30px -14px rgba(17,20,24,.22);

  --wrap: 1140px;
  --nav-h: 66px;

  /* cinta de peligro */
  --hazard: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--asphalt) 14px 28px);
}

/* ---------- Reset breve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--asphalt);
  font-family: var(--f-display);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 300;
  background: var(--asphalt); color: var(--chalk); padding: 10px 18px; border-radius: 8px;
  font-family: var(--f-mono); font-size: .8rem;
}
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }

/* ---------- Etiqueta mono (firma del sitio) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--graphite);
  border: 1.5px solid var(--asphalt); border-radius: var(--r-chip);
  padding: 5px 11px 4px 8px;
  background: var(--chalk-hi);
}
.tag::before {
  content: ""; width: 14px; height: 14px; border-radius: 2px;
  background: var(--hazard); background-size: 10px 10px;
}
.tag--night { color: var(--chalk); border-color: var(--chalk-mut); background: transparent; }

/* ---------- Botones: carteles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  font-variation-settings: "wdth" 105;
  letter-spacing: .005em; text-decoration: none; cursor: pointer;
  padding: 15px 26px; border-radius: var(--r-btn);
  border: 2px solid var(--asphalt);
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s ease-out, color .18s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 21px; height: 21px; flex: none; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--asphalt); }

.btn-signal {
  background: var(--signal); color: var(--asphalt);
  box-shadow: var(--shadow-hard);
}
.btn-signal svg { color: var(--asphalt); }
.btn-signal:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--asphalt); background: #FFD152; }

.btn-dark {
  background: var(--asphalt); color: var(--chalk);
  box-shadow: 4px 4px 0 var(--signal);
}
.btn-dark svg { color: var(--wa); }
.btn-dark:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--signal); background: var(--asphalt-2); }
.btn-dark:active { box-shadow: 0 0 0 var(--signal); }

.btn-wa {
  background: var(--wa); color: #fff; border-color: var(--asphalt);
  box-shadow: var(--shadow-hard);
}
.btn-wa svg { color: #fff; }
.btn-wa:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--asphalt); background: #1FBF5B; }

.btn-line {
  background: transparent; color: var(--asphalt); box-shadow: none;
}
.btn-line:hover { background: rgba(17,20,24,.06); }
.btn-line--night { color: var(--chalk); border-color: rgba(246,245,240,.5); }
.btn-line--night:hover { background: rgba(246,245,240,.08); border-color: var(--chalk); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1.5px solid transparent;
}
.nav.is-solid { border-bottom-color: var(--line); }
.nav.is-solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 245, 240, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav__in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 18px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 14px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__logo { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.nav__word {
  font-weight: 800; font-size: clamp(1rem, 4vw, 1.2rem); letter-spacing: -.03em; color: var(--asphalt);
  font-variation-settings: "wdth" 110;
  transition: color .25s ease; white-space: nowrap;
}
.nav__word i { font-style: normal; color: var(--signal-dark); }
.nav.at-top:not(.is-solid) .nav__word { color: var(--chalk); }
.nav.at-top:not(.is-solid) .nav__word i { color: var(--signal); }
.nav__word small { font-family: var(--f-mono); font-size: .56em; font-weight: 400; opacity: .6; letter-spacing: .05em; margin-left: 2px; }
@media (max-width: 479.98px) { .nav__word small { display: none; } }

.nav__links { display: none; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--signal); color: var(--asphalt); text-decoration: none;
  font-weight: 700; font-size: .92rem;
  padding: 10px 16px; border-radius: 8px; border: 1.5px solid var(--asphalt);
  box-shadow: 2px 2px 0 var(--asphalt);
  transition: transform .16s ease-out, box-shadow .16s ease-out, background .16s ease-out;
}
.nav-cta svg { width: 17px; height: 17px; }
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--asphalt); background: #FFD152; }
.nav-cta:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--asphalt); }

.nav__burger {
  appearance: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-content: center; gap: 5px; padding: 0;
}
.nav__burger span {
  display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--asphalt); transition: transform .25s ease, opacity .2s ease, background .25s ease;
}
.nav.at-top:not(.is-solid) .nav__burger span { background: var(--chalk); }
.nav__burger[aria-expanded="true"] span { background: var(--asphalt); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; inset: 0; padding: calc(var(--nav-h) + 24px) 26px 32px;
    background: var(--chalk);
    transform: translateY(-105%); visibility: hidden;
    transition: transform .3s cubic-bezier(.6,.1,.2,1), visibility 0s .3s;
    z-index: -1; counter-reset: menu;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; transition: transform .3s cubic-bezier(.6,.1,.2,1); }
  .nav__links a {
    text-decoration: none; color: var(--asphalt);
    font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em;
    font-variation-settings: "wdth" 110;
    padding: 12px 4px; border-bottom: 1.5px solid var(--line);
    display: flex; align-items: baseline; gap: 14px;
    counter-increment: menu;
  }
  .nav__links a::before {
    content: counter(menu, decimal-leading-zero);
    font-family: var(--f-mono); font-size: .78rem; color: var(--signal-dark); font-weight: 600;
  }
  .nav__links .nav__tel {
    margin-top: auto; border: 0; font-size: 1.15rem;
    font-family: var(--f-mono); color: var(--asphalt); font-variation-settings: normal;
  }
  .nav__links .nav__tel::before { content: "TEL"; font-size: .7rem; }
  .nav__links .nav__tel svg { display: none; }
}
@media (min-width: 900px) {
  .nav__burger { display: none; }
  .nav__links { display: flex; align-items: center; gap: 26px; }
  .nav__links a {
    text-decoration: none; color: var(--graphite); font-weight: 600; font-size: .95rem;
    transition: color .16s ease;
  }
  .nav__links a:hover { color: var(--asphalt); }
  .nav.at-top:not(.is-solid) .nav__links a { color: rgba(246,245,240,.85); }
  .nav.at-top:not(.is-solid) .nav__links a:hover { color: #fff; }
  .nav__tel {
    font-family: var(--f-mono); font-size: .85rem !important; font-weight: 600;
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--asphalt) !important;
  }
  .nav__tel svg { width: 15px; height: 15px; }
  .nav.at-top:not(.is-solid) .nav__tel { color: var(--signal) !important; }
}

/* ============================================================
   HERO — asfalto, carriles y camión express
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--asphalt); color: var(--chalk);
  display: flex; flex-direction: column; justify-content: center;
  isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 56px;
}
/* carriles diagonales de fondo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(246,245,240,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,245,240,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 240px; z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,199,44,.18), transparent 65%);
  pointer-events: none;
}
.hero__grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--signal);
}
.hero__kicker .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255,199,44,.6); animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,199,44,.6); } 100% { box-shadow: 0 0 0 12px rgba(255,199,44,0); } }

.hero__title {
  font-size: clamp(2.75rem, 9.6vw, 5.6rem);
  font-weight: 800; letter-spacing: -.035em; line-height: .96;
  font-variation-settings: "wdth" 112;
  max-width: 11ch; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--signal); }
.hero__title .u-lane { position: relative; white-space: nowrap; }
.hero__title .u-lane svg {
  position: absolute; left: 0; right: 0; bottom: -.1em; width: 100%; height: .26em; overflow: visible;
}
.hero__title .u-lane path {
  fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 16 12; animation: laneDash 1.2s linear infinite;
}
@keyframes laneDash { to { stroke-dashoffset: -28; } }

.hero__sub {
  margin: 22px 0 30px; max-width: 52ch;
  font-size: clamp(1.02rem, 2.5vw, 1.15rem); line-height: 1.6; color: rgba(246,245,240,.82);
}
.hero__sub strong { color: #fff; font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
  padding: 20px 0 0; margin: 0; list-style: none;
  border-top: 1.5px dashed rgba(246,245,240,.3);
}
@media (min-width: 560px) { .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero__meta li { display: flex; flex-direction: column; gap: 3px; }
.hero__meta strong {
  font-family: var(--f-mono); font-size: 1.25rem; font-weight: 600; color: var(--signal); letter-spacing: -.02em;
}
.hero__meta span { font-size: .84rem; color: rgba(246,245,240,.72); line-height: 1.3; }

/* escena SVG del hero */
.hero__scene { position: relative; }
/* Fotografías: estilos aislados para conservar componentes e interacciones. */
.hero__photo { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-dark); box-shadow: 12px 12px 0 rgba(255,199,44,.12); }
.hero__photo > img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: 52% center; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%, rgba(17,20,24,.92)); pointer-events: none; }
.hero__photo figcaption { position: absolute; inset: auto 26px 24px; z-index: 1; }
.hero__photo-label { display: block; color: var(--signal); font: 600 .65rem var(--f-mono); letter-spacing: .15em; margin-bottom: 10px; }
.hero__photo strong { display: block; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.025em; }
.hero__photo small { display: block; margin-top: 14px; color: #dededb; font-size: .65rem; }
@media (max-width: 959px) { .hero__photo > img { aspect-ratio: 3 / 2; } }
@media (max-width: 479px) { .hero__photo > img { aspect-ratio: 6 / 5; } .hero__photo figcaption { inset: auto 20px 20px; } }
.hero__scene svg { width: 100%; height: auto; display: block; overflow: visible; }
.hx-lane { stroke: rgba(246,245,240,.35); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 34 26; animation: roadMove 1s linear infinite; }
.hx-lane--edge { stroke: rgba(246,245,240,.18); stroke-dasharray: none; animation: none; }
@keyframes roadMove { to { stroke-dashoffset: -60; } }
.hx-truck { animation: truckBob 2.4s ease-in-out infinite; transform-origin: 380px 250px; }
@keyframes truckBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hx-wheel { animation: spin 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(1turn); } }
.hx-speed { stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 80; animation: speedLine .9s ease-in-out infinite; }
.hx-speed:nth-child(2) { animation-delay: -.3s; }
.hx-speed:nth-child(3) { animation-delay: -.6s; }
@keyframes speedLine { 0% { stroke-dashoffset: 80; opacity: 0; } 35% { opacity: .95; } 100% { stroke-dashoffset: -80; opacity: 0; } }
.hx-clock { animation: pinFloat 2.2s ease-in-out infinite; }
@keyframes pinFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hx-hand { transform-box: fill-box; transform-origin: 50% 100%; animation: spin 4s linear infinite; }
.hx-ping { fill: none; stroke: var(--signal); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(.4); } 70%,100% { opacity: 0; transform: scale(1.8); } }
.hx-city rect { fill: rgba(246,245,240,.06); }
.hx-city .win { fill: rgba(255,199,44,.55); animation: blink 3s steps(2) infinite; }
.hx-city .win:nth-child(odd) { animation-delay: -1.3s; }
@keyframes blink { 50% { opacity: .25; } }

/* borde inferior del hero: cinta de peligro */
.hero__edge { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--hazard); background-size: 40px 12px; z-index: 2; }

/* ============================================================
   CINTAS (marquee doble)
   ============================================================ */
.tapes { position: relative; padding: 30px 0 40px; overflow: hidden; }
.tape {
  --tape-rot: -1.3deg;
  position: relative; transform: rotate(var(--tape-rot));
  width: 104%; margin-left: -2%; overflow: hidden;
  border-block: 2px solid var(--asphalt);
  background: var(--signal); color: var(--asphalt);
  box-shadow: 0 4px 0 var(--asphalt);
}
.tape--alt { --tape-rot: 1deg; margin-top: 14px; background: var(--asphalt); color: var(--chalk); box-shadow: 0 4px 0 rgba(17,20,24,.35); }
.tape__track { display: flex; width: max-content; align-items: center; animation: tapeMove 32s linear infinite; padding: 9px 0; }
.tape--alt .tape__track { animation-duration: 40s; animation-direction: reverse; }
.tape span {
  font-family: var(--f-mono); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  padding: 0 18px; display: inline-flex; align-items: center; gap: 18px;
}
.tape span::after { content: "»"; font-size: 1.1em; opacity: .7; }
@keyframes tapeMove { to { transform: translateX(-50%); } }

/* ============================================================
   SECCIONES
   ============================================================ */
.sec { padding: 80px 0; position: relative; }
.sec--hi { background: var(--chalk-hi); border-block: 1.5px solid var(--line-soft); }
.sec--night { background: var(--asphalt); color: var(--chalk); }
.sec__head { max-width: 660px; margin-bottom: 44px; }
.sec__head .tag { margin-bottom: 18px; }
.sec__head h2, .h2 {
  font-size: clamp(1.95rem, 5.4vw, 3rem); font-weight: 800; letter-spacing: -.03em;
  font-variation-settings: "wdth" 108; text-wrap: balance;
}
.sec__head h2 em, .h2 em { font-style: normal; color: var(--signal-dark); }
.sec--night .sec__head h2 em, .sec--night .h2 em { color: var(--signal); }
.sec__sub { margin-top: 14px; color: var(--graphite); max-width: 58ch; font-size: 1.02rem; }
.sec--night .sec__sub { color: var(--chalk-mut); }

/* reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   COTIZADOR EXPRESS
   ============================================================ */
.xq { background: var(--signal); color: var(--asphalt); padding: 52px 0 58px; position: relative; overflow: hidden; }
.xq::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(17,20,24,.16) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
}
.xq .wrap { position: relative; }
.xq__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 22px; }
.xq__head h2 { font-size: clamp(1.55rem, 4.6vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; font-variation-settings: "wdth" 110; }
.xq__head p { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,20,24,.72); }
.xq__form { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .xq__form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }
.xq__field { display: flex; flex-direction: column; gap: 6px; }
.xq__field label { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.xq__field input, .xq__field select {
  font: 600 1rem var(--f-display); color: var(--asphalt);
  background: var(--chalk-hi); border: 2px solid var(--asphalt);
  border-radius: 8px; padding: 13px 14px; width: 100%;
  box-shadow: 3px 3px 0 var(--asphalt);
  transition: box-shadow .15s ease, transform .15s ease;
}
.xq__field input:focus, .xq__field select:focus { outline: none; box-shadow: 3px 3px 0 var(--ember); }
.xq__field input::placeholder { color: var(--steel); font-weight: 500; }
.xq__field select, .quote select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--asphalt) 50%), linear-gradient(135deg, var(--asphalt) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.xq .btn { width: 100%; }
@media (min-width: 780px) { .xq .btn { width: auto; } }
.xq__note { margin-top: 14px; font-size: .86rem; color: rgba(17,20,24,.75); }

/* ============================================================
   SERVICIOS — carteles de ruta
   ============================================================ */
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  position: relative; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 28px 24px 24px; box-shadow: var(--shadow-card);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--hazard); background-size: 12px 12px; opacity: .9; }
.svc:hover { transform: translateY(-4px); border-color: var(--asphalt); box-shadow: 0 2px 3px rgba(17,20,24,.05), 0 18px 38px -14px rgba(17,20,24,.28); }
.svc__num { position: absolute; top: 18px; right: 20px; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--steel); }
.svc__badge {
  position: absolute; top: 14px; right: 16px;
  background: var(--ember); color: #fff;
  font-family: var(--f-mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px 4px; border-radius: 4px; border: 1.5px solid var(--asphalt); box-shadow: 2px 2px 0 var(--asphalt);
}
.svc__badge + .svc__num { display: none; }
.svc__ico {
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-content: center; margin-bottom: 18px;
  background: var(--signal-soft); color: var(--asphalt); border: 1.5px solid var(--asphalt);
}
.svc__ico svg { width: 30px; height: 30px; }
.ico-draw path, .ico-draw rect, .ico-draw circle, .ico-draw line { stroke-dasharray: 90; stroke-dashoffset: 90; }
.is-in .ico-draw path, .is-in .ico-draw rect, .is-in .ico-draw circle, .is-in .ico-draw line,
.svc:hover .ico-draw path, .svc:hover .ico-draw rect, .svc:hover .ico-draw circle, .svc:hover .ico-draw line { animation: icoDraw 1.1s ease-out forwards; }
@keyframes icoDraw { to { stroke-dashoffset: 0; } }
.svc h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; font-variation-settings: "wdth" 106; }
.svc p { color: var(--graphite); font-size: .96rem; }
.svc__meta {
  margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--line);
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--asphalt) !important; display: flex; align-items: center; gap: 8px;
}
.svc__meta svg { width: 14px; height: 14px; flex: none; color: var(--signal-dark); }

.care-story { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--r-card); background: var(--asphalt); color: var(--chalk); border: 1px solid var(--line); }
.care-story__photo { position: relative; margin: 0; min-width: 0; }
.care-story__photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 44% center; }
.care-story__photo figcaption { position: absolute; bottom: 12px; left: 16px; padding: 3px 7px; border-radius: 3px; color: #fff; background: rgba(17,20,24,.8); font-size: .65rem; }
.care-story__copy { padding: clamp(28px, 4vw, 48px); align-self: center; }
.care-story__label { display: block; color: var(--signal); font: 600 .65rem var(--f-mono); letter-spacing: .12em; margin-bottom: 18px; }
.care-story h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.care-story p { color: #c6c9cd; margin: 20px 0 26px; font-size: .98rem; }
@media (max-width: 759px) { .care-story { grid-template-columns: 1fr; } .care-story__photo img { height: auto; min-height: 0; aspect-ratio: 3 / 2; } }

/* ============================================================
   TABLERO DE SALIDAS
   ============================================================ */
.board__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .board__grid { grid-template-columns: .95fr 1.05fr; gap: 56px; } }

.board {
  background: var(--asphalt); color: var(--chalk); border-radius: var(--r-card);
  border: 2px solid var(--asphalt); box-shadow: 6px 6px 0 var(--signal);
  font-family: var(--f-mono); overflow: hidden;
}
.board__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1.5px solid var(--line-dark);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal);
}
.board__head .board__clock { color: var(--chalk-mut); font-variant-numeric: tabular-nums; }
.board__row {
  display: grid; grid-template-columns: 1.4fr .9fr .8fr; gap: 8px; align-items: center;
  padding: 12px 16px; border-bottom: 1px dashed var(--line-dark);
  font-size: .86rem;
}
@media (min-width: 480px) { .board__row { grid-template-columns: 1.6fr 1fr 1fr .9fr; } }
.board__row:last-child { border-bottom: 0; }
.board__row--h { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-mut); padding-top: 10px; padding-bottom: 8px; }
.board__row .b-dest { font-weight: 600; color: #fff; letter-spacing: .02em; }
.board__row .b-sal { color: var(--chalk-mut); }
.board__row .b-eta { color: var(--signal); font-weight: 600; }
.board__row .b-st { display: none; }
@media (min-width: 480px) { .board__row .b-st { display: inline-flex; } }
.b-st span {
  display: inline-flex; align-items: center; gap: 6px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wa);
}
.b-st span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s steps(2) infinite; }
.b-st .is-hot { color: var(--ember); }
/* efecto "flip": las filas entran una a una */
.board__row:not(.board__row--h) { opacity: 0; transform: translateY(-6px); }
.is-in .board__row:not(.board__row--h) { animation: rowIn .45s cubic-bezier(.2,.8,.2,1) forwards; }
.is-in .board__row:nth-child(2) { animation-delay: .15s; }
.is-in .board__row:nth-child(3) { animation-delay: .3s; }
.is-in .board__row:nth-child(4) { animation-delay: .45s; }
.is-in .board__row:nth-child(5) { animation-delay: .6s; }
.is-in .board__row:nth-child(6) { animation-delay: .75s; }
.is-in .board__row:nth-child(7) { animation-delay: .9s; }
.is-in .board__row:nth-child(8) { animation-delay: 1.05s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.board__foot { padding: 12px 16px; font-size: .72rem; color: var(--chalk-mut); border-top: 1.5px solid var(--line-dark); }

.steps-flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; counter-reset: sf; }
.steps-flow li { counter-increment: sf; position: relative; padding: 16px 0 18px 54px; border-bottom: 1.5px dashed var(--line); }
.steps-flow li:last-child { border-bottom: 0; }
.steps-flow li::before {
  content: counter(sf, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-family: var(--f-mono); font-weight: 600; font-size: .82rem; color: var(--asphalt);
  border: 1.5px solid var(--asphalt); border-radius: 6px; width: 38px; height: 30px;
  display: grid; place-content: center; background: var(--signal);
}
.steps-flow h4 { font-size: 1.06rem; font-weight: 800; margin-bottom: 4px; }
.steps-flow p { color: var(--graphite); font-size: .93rem; }

/* ============================================================
   COBERTURA — mapa
   ============================================================ */
.cover__grid { display: grid; gap: 44px; }
@media (min-width: 960px) { .cover__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; } }
.map-wrap { position: relative; max-width: 430px; margin: 0 auto; width: 100%; }
.map-wrap svg { width: 100%; height: auto; }
.mp-country { fill: var(--chalk-lo); stroke: var(--graphite); stroke-width: 1.1; opacity: 0; }
.is-in .mp-country { animation: fadeIn .8s ease-out forwards; }
.mp-route { fill: none; stroke: var(--asphalt); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 7; opacity: 0; }
.is-in .mp-route { animation: fadeIn 1.2s ease-out forwards, laneDash 1.1s linear infinite; }
.is-in .mp-route--1 { animation-delay: 1.3s, 1.3s; }
.is-in .mp-route--2 { animation-delay: 1.55s, 1.55s; }
.is-in .mp-route--3 { animation-delay: 1.8s, 1.8s; }
.is-in .mp-route--4 { animation-delay: 2.05s, 2.05s; }
.is-in .mp-route--5 { animation-delay: 2.3s, 2.3s; }
.mp-node { opacity: 0; transform-origin: center; transform-box: fill-box; }
.is-in .mp-node { animation: nodePop .5s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes nodePop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.mp-label { font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; fill: var(--graphite); opacity: 0; }
.is-in .mp-label { animation: fadeIn .5s ease-out forwards; }
.mp-hub { opacity: 0; transform-origin: center; transform-box: fill-box; }
.is-in .mp-hub { animation: ping 2.4s ease-out 1.2s infinite; }
@keyframes fadeIn { to { opacity: 1; } }

.times { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.times li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px;
}
.times .t-dest { font-weight: 700; font-size: .98rem; }
.times .t-eta {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--asphalt); background: var(--signal); border: 1.5px solid var(--asphalt);
  padding: 4px 10px; border-radius: 4px; white-space: nowrap;
}

/* ============================================================
   PROCESO — el furgón recorre la ruta
   ============================================================ */
.proc-road { margin: 8px 0 34px; }
.proc-road svg { width: 100%; height: auto; display: block; overflow: visible; }
.proc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: proc; }
@media (min-width: 640px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .proc-grid { grid-template-columns: repeat(4, 1fr); } }
.proc {
  counter-increment: proc; position: relative;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 24px 20px 22px; box-shadow: var(--shadow-card);
}
.proc::before {
  content: "PASO " counter(proc, decimal-leading-zero);
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--signal-dark);
}
.proc h3 { font-size: 1.2rem; font-weight: 800; margin: 10px 0 8px; font-variation-settings: "wdth" 106; }
.proc p { color: var(--graphite); font-size: .93rem; }
.proc__time { margin-top: 14px; font-family: var(--f-mono); font-size: .72rem; color: var(--steel); }

/* ============================================================
   FLOTA — ¿qué camión necesito?
   ============================================================ */
.fleet-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 22px 20px 20px; box-shadow: var(--shadow-card); position: relative;
  display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s ease;
}
.fleet:hover { transform: translateY(-4px); border-color: var(--asphalt); }
.fleet__art { margin: 0 -6px 10px; }
.fleet__art svg { width: 100%; height: auto; display: block; overflow: visible; }
.fleet .fx-wheel { transform-box: fill-box; transform-origin: center; }
.fleet:hover .fx-wheel { animation: spin 1.2s linear infinite; }
.fleet__cap { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-dark); font-weight: 600; }
.fleet h3 { font-size: 1.28rem; font-weight: 800; margin: 6px 0 8px; font-variation-settings: "wdth" 106; }
.fleet p { color: var(--graphite); font-size: .94rem; }
.fleet__specs { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1.5px dashed var(--line); display: grid; gap: 6px; font-size: .88rem; }
.fleet__specs li { display: flex; justify-content: space-between; gap: 10px; }
.fleet__specs li span:last-child { font-family: var(--f-mono); font-weight: 600; font-size: .8rem; }

/* ============================================================
   GARANTÍAS — sellos
   ============================================================ */
.seals { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .seals { grid-template-columns: repeat(4, 1fr); } }
.seal {
  background: var(--asphalt-2); border: 1.5px solid var(--line-dark); border-radius: var(--r-card);
  padding: 22px 18px 20px; text-align: center;
}
.seal__ico { width: 84px; height: 84px; margin: 0 auto 14px; }
.seal__ico svg { width: 100%; height: 100%; display: block; }
.seal__ico .sl-ring { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 4 5; transform-box: fill-box; transform-origin: center; animation: spin 24s linear infinite; }
.seal__ico .sl-ring--2 { stroke: rgba(255,199,44,.4); stroke-dasharray: none; animation: none; }
.seal__ico .sl-glyph { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seal h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.seal p { color: var(--chalk-mut); font-size: .88rem; }

/* ============================================================
   PRESUPUESTO (asfalto)
   ============================================================ */
.quote__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .quote__grid { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; } }
.quote__perks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.quote__perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--chalk-mut); font-size: .97rem; }
.quote__perks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-content: center; font-size: .8rem; font-weight: 700;
  background: var(--signal); color: var(--asphalt);
}
.quote {
  background: var(--chalk-hi); color: var(--asphalt);
  border-radius: var(--r-card); border: 2px solid var(--asphalt);
  padding: 26px 22px 24px; position: relative;
  box-shadow: 6px 6px 0 var(--signal);
}
.quote::before {
  content: "ORDEN DE SALIDA — COTIZACIÓN SIN CARGO";
  display: block; font-family: var(--f-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; color: var(--steel); text-transform: uppercase;
  border-bottom: 1.5px dashed var(--line); padding-bottom: 12px; margin-bottom: 20px;
}
.quote__row { margin-bottom: 16px; }
.quote__row--2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .quote__row--2 { grid-template-columns: 1fr 1fr; } }
.quote label {
  display: block; font-family: var(--f-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 7px;
}
.quote label span { color: var(--ember); }
.quote input, .quote select, .quote textarea {
  width: 100%; font: 500 1rem var(--f-display); color: var(--asphalt);
  background: var(--chalk); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 14px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.quote input:focus, .quote select:focus, .quote textarea:focus {
  outline: none; border-color: var(--asphalt); background: #fff; box-shadow: 0 0 0 3px var(--signal-soft);
}
.quote input.is-invalid { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(240,78,35,.18); }
.quote textarea { resize: vertical; min-height: 84px; }
.quote__error {
  display: block; background: rgba(240,78,35,.1); color: var(--ember-deep);
  border: 1.5px solid rgba(240,78,35,.5); border-radius: 8px;
  font-size: .9rem; font-weight: 600; padding: 10px 14px; margin-bottom: 16px;
}
.quote__send { width: 100%; }
.quote__note { margin-top: 12px; font-size: .82rem; color: var(--steel); text-align: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--asphalt); box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.02rem; padding: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev {
  margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 7px;
  border: 1.5px solid var(--asphalt); position: relative; background: var(--signal);
  transition: transform .25s ease, background .2s ease;
}
.faq__chev::before, .faq__chev::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--asphalt); transition: transform .25s ease; }
.faq__chev::before { width: 12px; height: 2px; }
.faq__chev::after { width: 2px; height: 12px; }
.faq details[open] .faq__chev { transform: rotate(45deg); background: var(--asphalt); }
.faq details[open] .faq__chev::before, .faq details[open] .faq__chev::after { background: var(--signal); }
.faq details p { padding: 0 18px 20px; color: var(--graphite); font-size: .96rem; max-width: 68ch; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; } }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact__list a, .contact__row {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.contact__list a:hover { transform: translateX(4px); border-color: var(--asphalt); box-shadow: var(--shadow-card); }
.contact__ico {
  flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-content: center;
  background: var(--signal-soft); color: var(--asphalt); border: 1.5px solid var(--asphalt);
}
.contact__ico svg { width: 22px; height: 22px; }
.contact__ico--wa { background: var(--wa); color: #fff; }
.contact__list strong { display: block; font-size: 1rem; }
.contact__list small { color: var(--steel); font-size: .84rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--asphalt); color: var(--chalk); padding: 0 0 110px; position: relative; overflow: hidden; }
.footer__hazard { height: 12px; background: var(--hazard); background-size: 40px 12px; margin-bottom: 60px; }
.footer__top { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.2fr 1fr; gap: 60px; } }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 9px; }
.footer__brand b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 110; }
.footer__brand b i { font-style: normal; color: var(--signal); }
.footer__tag { color: var(--chalk-mut); max-width: 44ch; font-size: .95rem; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer__nav a { color: var(--chalk-mut); text-decoration: none; font-size: .9rem; padding: 4px 0; font-family: var(--f-mono); }
.footer__nav a:hover { color: var(--signal); }
.footer__zones { border-top: 1.5px dashed var(--line-dark); }
.footer__zones summary {
  cursor: pointer; list-style: none; padding: 15px 0;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-mut);
  display: flex; justify-content: space-between; align-items: center;
}
.footer__zones summary::-webkit-details-marker { display: none; }
.footer__zones summary::after { content: "+"; font-size: 1rem; color: var(--signal); }
.footer__zones[open] summary::after { content: "−"; }
.footer__zones p { color: #8C929B; font-size: .86rem; line-height: 1.7; padding-bottom: 18px; max-width: 90ch; }
.footer__bottom {
  border-top: 1.5px dashed var(--line-dark); padding-top: 22px; margin-top: 4px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--chalk-mut);
}
.footer__bottom a { color: var(--signal); text-decoration: none; font-family: var(--f-mono); font-weight: 600; }
.footer__word {
  margin-top: 44px; font-size: clamp(2.6rem, 11vw, 9rem); font-weight: 800; letter-spacing: -.04em; line-height: .8;
  font-variation-settings: "wdth" 115;
  text-align: center; user-select: none; pointer-events: none; color: transparent;
  -webkit-text-stroke: 1.5px rgba(246,245,240,.18); white-space: nowrap;
}

/* ---------- FAB WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--wa); color: #fff; display: grid; place-content: center;
  border: 2px solid var(--asphalt); box-shadow: var(--shadow-hard);
  transition: transform .2s ease, opacity .25s ease, box-shadow .2s ease;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: translate(-1px,-1px) rotate(-4deg); box-shadow: 5px 5px 0 var(--asphalt); }
.wa-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }

/* ---------- utilidades ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tape__track, .hx-lane, .hx-truck, .hx-wheel, .hx-speed, .hx-clock, .hx-hand, .hx-ping, .hx-city .win,
  .hero__title .u-lane path, .hero__kicker .dot, .mp-route, .mp-hub, .sl-ring, .fx-wheel, .b-st span::before { animation: none !important; }
  .board__row:not(.board__row--h), .mp-country, .mp-node, .mp-label, .mp-route { opacity: 1; transform: none; animation: none !important; }
}
