/* =========================================================
   Campos Logística — Landing page
   Paleta de marca derivada de los logotipos:
   carbón #14181A · rojo #C02020 · dorado #C8902E
   ========================================================= */

:root {
  --ink: #14181a;
  --ink-2: #1b2327;
  --ink-3: #232d31;
  --slate: #2c3a3f;
  --red: #c02020;
  --red-600: #a51a1a;
  --red-400: #e24a3e;
  --gold: #c8902e;
  --gold-300: #e6b75e;
  --gold-ink: #7a5410;
  --paper: #f6f3ee;
  --paper-2: #ece7de;
  --white: #ffffff;
  --text: #1a2226;
  --muted: #5b666a;
  --muted-light: #a7b2b6;
  --line: rgba(20, 24, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 86px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(20, 24, 26, 0.06);
  --shadow: 0 24px 56px -28px rgba(20, 24, 26, 0.35);
  --shadow-lg: 0 44px 90px -36px rgba(20, 24, 26, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@property --tabs-fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --tabs-fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
  /* Normalize fallback fonts to the x-height of the web font to avoid swap shift. */
  font-size-adjust: from-font;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

main:focus {
  outline: none;
}

.section:focus,
.hero:focus {
  outline: none;
}

/* Hides content visually but keeps it in the accessibility tree */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.icon--flip {
  transform: rotate(180deg);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Tipografía de sección ---------- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section:focus {
  outline: none;
}

/* Defer off-screen rendering of long, below-the-fold sections. */
.defer-render {
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

/* A deep link needs real measurements, not the intrinsic-size estimates. */
.deep-link .defer-render {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: #fff;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.85vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.72;
  color: var(--muted);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  max-width: none;
}

.section-head--split .section-title {
  max-width: 660px;
}

.section-head--split .section-lead {
  max-width: 520px;
  padding-bottom: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}

.eyebrow__num {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(192, 32, 32, 0.1);
  color: var(--red);
  font-size: 0.62rem;
  letter-spacing: 0;
  flex: none;
}

.eyebrow--light {
  color: var(--gold-300);
}

.eyebrow--light .eyebrow__num {
  background: rgba(230, 183, 94, 0.14);
  color: var(--gold-300);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-400);
  box-shadow: 0 0 0 4px rgba(226, 74, 62, 0.18);
  flex: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon:not(.icon--flip) {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(192, 32, 32, 0.9);
}

.btn--primary:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(192, 32, 32, 0.95);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--whatsapp {
  background: #0f7a40;
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(18, 140, 74, 0.8);
}

.btn--whatsapp:hover {
  background: #0b6534;
  transform: translateY(-2px);
}

.btn--outline {
  background: #fff;
  border-color: #d8d3ca;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--lg {
  padding: 17px 26px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.btn--link {
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px;
  font-size: 0.82rem;
}

.btn--link:hover {
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 15, 0.72), transparent);
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(15, 20, 23, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px -30px rgba(0, 0, 0, 0.8);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
}

/* Native scroll-driven progress; the transform fallback above stays for older engines. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes grow-progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    .scroll-progress span {
      animation: grow-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: #fff;
}

.brand__logo {
  display: block;
  width: auto;
  height: 50px;
  max-width: 100%;
}

.brand--footer .brand__logo {
  height: 56px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-400), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.target-current {
  color: #fff;
}

.nav a.target-current::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header__actions--end {
  margin-left: auto;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.header__phone:hover {
  color: #fff;
}

.header__phone .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-300);
}

.header__cta {
  padding: 12px 18px;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__glow--red {
  width: 600px;
  height: 600px;
  right: -120px;
  top: 4%;
  background: radial-gradient(circle, rgba(192, 32, 32, 0.48), transparent 66%);
  opacity: 0.8;
}

.hero__glow--gold {
  width: 460px;
  height: 460px;
  left: 26%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(200, 144, 46, 0.24), transparent 66%);
  opacity: 0.9;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 82% 72% at 56% 34%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 72% at 56% 34%, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 72px);
  padding-top: clamp(12px, 2.5vw, 28px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.75rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero__accent {
  position: relative;
  display: inline-block;
  color: var(--gold-300);
}

.hero__accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red-400), rgba(192, 32, 32, 0));
  opacity: 0.9;
}

.hero__lead {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__mail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__mail a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hero__mail a:hover {
  color: var(--gold-300);
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.control-card {
  position: relative;
  border-radius: var(--radius-lg);
  background-color: #111619;
  background-image: linear-gradient(170deg, rgba(45, 58, 63, 0.94), rgba(17, 22, 25, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.control-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.control-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ed598;
  box-shadow: 0 0 0 0 rgba(62, 213, 152, 0.55);
  animation: pulse 2.2s infinite;
  flex: none;
}

.status-pill {
  padding: 5px 10px;
  border: 1px solid rgba(62, 213, 152, 0.3);
  border-radius: 999px;
  background: rgba(62, 213, 152, 0.08);
  color: #7fe3b4;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-card__map {
  position: relative;
  padding: 8px 10px 0;
}

.control-map {
  width: 100%;
  height: auto;
}

.map-caption {
  position: absolute;
  left: 20px;
  bottom: 12px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.control-card__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.control-card__foot div {
  padding: 13px 16px;
  min-width: 0;
}

.control-card__foot div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.control-card__foot span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.control-card__foot strong {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-green {
  color: #7fe3b4 !important;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.55);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(192, 32, 32, 0.1);
  color: var(--red);
  flex: none;
}

.float-card__icon--gold {
  background: rgba(200, 144, 46, 0.14);
  color: var(--gold-ink);
}

.float-card__icon .icon {
  width: 18px;
  height: 18px;
}

.float-card strong {
  display: block;
  font-size: 0.71rem;
  line-height: 1.2;
}

.float-card small {
  display: block;
  margin-top: 2px;
  font-size: 0.61rem;
  color: var(--muted);
}

.float-card--gps {
  top: -48px;
  right: -22px;
}

.float-card--coverage {
  bottom: -24px;
  left: -24px;
}

.route-dash {
  animation: dash 3.4s linear infinite;
}

.ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.8s ease-out infinite;
}

.hero__facts {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 20px;
}

.hero-fact + .hero-fact {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-fact strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--gold-300);
}

.hero-fact span {
  max-width: 128px;
  font-size: 0.71rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Sectores ---------- */
.sectors {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.sectors__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 16px;
  flex-wrap: wrap;
}

.sectors__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.sectors__list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}

.sector-chip .icon {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.sectors__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.sectors__link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.sectors__link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Servicios ---------- */
.services__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.services__tabs::-webkit-scrollbar {
  display: none;
}

/* Scroll affordance: fade the overflowing edges, driven by the scroller itself. */
@supports (animation-timeline: scroll()) {
  .services__tabs {
    --tabs-fade-size: 2.5rem;
    scroll-padding-inline: var(--tabs-fade-size);
    mask:
      linear-gradient(#000, #000) no-clip subtract,
      linear-gradient(to right, #000, transparent) 0 0 / var(--tabs-fade-start) 100% no-repeat no-clip,
      linear-gradient(to right, transparent, #000) 100% 0 / var(--tabs-fade-end) 100% no-repeat no-clip;
    animation: tabs-fade-start linear both, tabs-fade-end linear both;
    animation-timeline: scroll(self inline);
    animation-range: 0 var(--tabs-fade-size), calc(100% - var(--tabs-fade-size)) 100%;
  }
}

@keyframes tabs-fade-start {
  to {
    --tabs-fade-start: var(--tabs-fade-size);
  }
}

@keyframes tabs-fade-end {
  from {
    --tabs-fade-end: var(--tabs-fade-size);
  }
}

.service-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.service-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.service-tab:hover {
  color: var(--ink);
}

.service-tab[aria-selected="true"] {
  color: var(--ink);
}

.service-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.service-tab__index {
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(200, 144, 46, 0.12);
  color: var(--gold-ink);
  font-size: 0.6rem;
  font-weight: 700;
}

.services__hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin: -14px 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.services__hint.is-visible {
  display: flex;
}

.services__hint .icon {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.service-panel {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 60px -44px rgba(20, 24, 26, 0.45);
  animation: step-in 0.4s var(--ease);
}

.service-panel__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 4px 4px;
}

.service-panel__kicker {
  margin-bottom: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.service-panel__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.service-panel__ideal {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ideal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.ideal-chip {
  padding: 5px 10px;
  border: 1px solid rgba(200, 144, 46, 0.24);
  border-radius: 999px;
  background: rgba(200, 144, 46, 0.1);
  color: var(--gold-ink);
  font-size: 0.73rem;
  font-weight: 600;
}

.service-panel__desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.spec strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.service-panel__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Ilustración de unidad ---------- */
.unit-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 18px;
  background-color: #0e1214;
  background-image: radial-gradient(120% 120% at 20% 0%, #2b383d 0%, #151b1e 55%, #0e1214 100%);
  overflow: hidden;
}

.unit-visual__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 60%, #000, transparent 78%);
}

.unit-visual::before {
  content: "LOGÍSTICA";
  position: absolute;
  left: 20px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.unit-visual__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.unit-visual__tag {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.unit-visual__len {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-300);
}

.unit-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 28px 0 16px;
}

.unit-figure__truck {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  padding-bottom: 14px;
}

.unit-figure__cab {
  position: relative;
  width: 16%;
  min-width: 56px;
  max-width: 78px;
  height: 84px;
  margin-right: 5px;
  border-radius: 10px 6px 3px 3px;
  background: linear-gradient(160deg, #e24a3e, #9e1717);
  box-shadow: inset 0 -14px 0 rgba(0, 0, 0, 0.14);
  flex: none;
}

.unit-figure__cab::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  height: 30px;
  border-radius: 4px 7px 2px 2px;
  background: linear-gradient(180deg, #dde8eb, #9db1b6);
  opacity: 0.9;
}

.unit-figure__cab::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 9px;
  width: 22px;
  height: 22px;
  border: 3px solid #4a565a;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #3e4a4e 0 32%, #0b0f11 34% 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.16);
}

.unit-figure__cab span {
  position: absolute;
  bottom: 14px;
  left: 7px;
  width: 17px;
  height: 7px;
  border-radius: 2px;
  background: #f2c14e;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.55);
}

.unit-figure__bed {
  position: relative;
  width: var(--bed, 60%);
  flex: none;
}

.unit-figure__bed--platform {
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #b8c2c6, #6e7a7f);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.unit-figure__bed--dry {
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #eef1f2, #c3cccf);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08);
}

.dry-box {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(20, 24, 26, 0.16);
  border-radius: 2px;
}

.dry-box__door {
  position: absolute;
  top: 7%;
  right: 8%;
  bottom: 7%;
  width: 2px;
  background: rgba(20, 24, 26, 0.24);
}

.dry-box__brand {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(0.48rem, 1vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--red);
  opacity: 0.88;
}

.cargo {
  position: absolute;
  right: 2%;
  bottom: 100%;
  left: 2%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  padding: 0 6px;
}

.cargo i {
  display: block;
  flex: 1;
  border-radius: 2px;
}

.cargo--steel i {
  height: 30px;
  background: linear-gradient(180deg, #c3cdd1, #7e8b90);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: skewX(-7deg);
}

.cargo--steel i:nth-child(2) {
  height: 46px;
  background: linear-gradient(180deg, #d7b06a, #9c7424);
}

.cargo--steel i:nth-child(3) {
  height: 38px;
}

.cargo--pipes i {
  height: 12px;
  margin-bottom: calc(var(--pipe, 0) * 13px);
  border-radius: 99px;
  background: linear-gradient(180deg, #d6b26a, #9c7424);
}

.cargo--pipes i:nth-child(2) {
  --pipe: 1;
}

.cargo--pipes i:nth-child(3) {
  --pipe: 2;
}

.cargo--pipes i:nth-child(4) {
  --pipe: 3;
}

/* Native replacement for the :nth-child progression where supported. */
@supports (top: calc(sibling-index() * 1px)) {
  .cargo--pipes i:nth-child(n) {
    --pipe: calc(sibling-index() - 1);
  }
}

.cargo--volume i {
  height: 34px;
  background: linear-gradient(180deg, #d3a44b, #8a5e12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cargo--volume i:nth-child(2) {
  height: 46px;
}

.cargo--volume i:nth-child(3) {
  height: 40px;
}

.wheel {
  position: absolute;
  bottom: -10px;
  width: 22px;
  height: 22px;
  border: 2px solid #5a676b;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #3e4a4e 0 32%, #0b0f11 34% 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.16);
}

.wheel--a {
  left: 9%;
}

.wheel--b {
  left: 43%;
}

.wheel--c {
  left: 77%;
}

.unit-visual__dimension {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.unit-visual__dimension::before,
.unit-visual__dimension::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  flex: 1;
}

/* ---------- Cobertura ---------- */
.coverage {
  overflow: hidden;
}

.dark-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}

.coverage__inner {
  position: relative;
  z-index: 1;
}

.coverage .section-title,
.quote-section .section-title {
  color: #fff;
}

.coverage .section-lead,
.quote-section .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.coverage__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.coverage__visual {
  min-width: 0;
}

.network-panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background-color: #101518;
  background-image: linear-gradient(160deg, rgba(43, 56, 61, 0.72), rgba(16, 21, 24, 0.92));
  overflow: hidden;
}

.network-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.network-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.network-panel__hint {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.network-map {
  width: 100%;
  height: auto;
}

.network-panel__caption {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.coverage__content {
  min-width: 0;
}

.coverage__tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.coverage-tab {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.81rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.coverage-tab:hover {
  color: #fff;
}

.coverage-tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.coverage-panel {
  animation: step-in 0.35s var(--ease);
}

.coverage-panel__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.coverage-panel__text {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

.city-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.city-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(230, 183, 94, 0.12);
  flex: none;
}

.region-list {
  display: grid;
  gap: 10px;
}

.region-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.region-card:hover {
  border-color: rgba(230, 183, 94, 0.32);
  background: rgba(255, 255, 255, 0.045);
}

.region-card h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.region-card p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.coverage__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.coverage__note .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-300);
  flex: none;
}

.coverage__note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Seguridad ---------- */
.security__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.tracking-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background-color: var(--ink);
  background-image: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #fff;
  overflow: hidden;
}

.tracking-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 144, 46, 0.2), transparent 68%);
  pointer-events: none;
}

.tracking-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tracking-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.tracking-card__badge {
  padding: 5px 10px;
  border: 1px solid rgba(230, 183, 94, 0.3);
  border-radius: 999px;
  background: rgba(230, 183, 94, 0.1);
  color: var(--gold-300);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tracking-route {
  position: relative;
  z-index: 1;
  margin: 40px 0 30px;
}

.tracking-route__points {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.tracking-route__line {
  position: relative;
  height: 2px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.12);
}

.tracking-route__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-400), var(--gold-300));
  transform: scaleX(0.58);
  transform-origin: 0 50%;
  animation: tracking-progress 7s ease-in-out infinite alternate;
}

/* Full-width track so the truck can travel with a transform instead of `left`. */
.tracking-route__truck {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  animation: tracking-truck 7s ease-in-out infinite alternate;
}

.tracking-route__truck-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-300);
  box-shadow: 0 0 0 6px rgba(230, 183, 94, 0.08);
}

.tracking-route__truck .icon {
  width: 18px;
  height: 18px;
}

.tracking-route__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.tracking-route__meta span:nth-child(2) {
  color: var(--gold-300);
}

.tracking-features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.tracking-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
}

.tracking-features .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-300);
}

.tracking-card__note {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.security__cards {
  display: grid;
  gap: 14px;
}

.security-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 32, 32, 0.24);
  box-shadow: var(--shadow);
}

.security-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(192, 32, 32, 0.08);
  color: var(--red);
}

.security-card__icon .icon {
  width: 26px;
  height: 26px;
}

.security-card__icon--gold {
  background: rgba(200, 144, 46, 0.12);
  color: var(--gold-ink);
}

.security-card__icon--slate {
  background: rgba(44, 58, 63, 0.08);
  color: var(--slate);
}

.security-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.security-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- Diferenciadores ---------- */
.differentiators__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.differentiators__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.quote-card {
  position: relative;
  margin: 32px 0;
  padding: 28px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 32, 32, 0.28), transparent 68%);
}

.quote-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--gold-300);
}

.quote-card p {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.quote-card span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.value-card {
  position: relative;
  padding: 28px 28px 28px 98px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.value-card + .value-card {
  margin-top: 14px;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 32, 32, 0.2);
  box-shadow: var(--shadow);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card__num {
  position: absolute;
  top: 26px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.value-card__icon {
  position: absolute;
  left: 22px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(200, 144, 46, 0.12);
  color: var(--gold-ink);
}

.value-card__icon .icon {
  width: 23px;
  height: 23px;
}

.value-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---------- Cotización ---------- */
.quote-section {
  position: relative;
  overflow: hidden;
}

.quote-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 36px 0;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list__item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-list a:hover {
  border-color: rgba(230, 183, 94, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(192, 32, 32, 0.16);
  color: var(--red-400);
  flex: none;
}

.contact-list__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-list small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.contact-list strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.process {
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process__title {
  margin: 0 0 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.process__steps {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.process__steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(230, 183, 94, 0.14);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 700;
  flex: none;
}

/* ---------- Formulario ---------- */
.quote-form-card {
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.form-progress {
  margin-bottom: 28px;
}

.form-progress__track {
  height: 4px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}

.form-progress__track span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 0.4s var(--ease);
}

.form-progress__steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.form-progress__steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #677175;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.form-progress__steps li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.62rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.form-progress__steps li.is-active {
  color: var(--ink);
}

.form-progress__steps li.is-active span {
  background: var(--ink);
  color: #fff;
}

.form-progress__steps li.is-done span {
  background: var(--red);
  color: #fff;
}

.form-step {
  animation: step-in 0.35s var(--ease);
}

.form-step__head {
  margin-bottom: 22px;
}

.form-step__kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.form-step__head h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.form-step__head h3:focus {
  outline: none;
}

.form-step__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  min-width: 0;
  margin-bottom: 16px;
  border: 0;
  padding: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.req {
  color: var(--red);
}

.optional {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8d3ca;
  border-radius: 10px;
  background: #fbfaf7;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f797d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 24, 26, 0.08);
}

/* Native progressive enhancement: only after the user interacted or submitted. */
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #b3261e;
  background: #fff8f7;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
  background: #fff8f7;
}

.field__error {
  display: none;
  margin-top: 6px;
  color: #b3261e;
  font-size: 0.73rem;
}

.field.has-error .field__error {
  display: block;
}

.select-wrap {
  position: relative;
}

.select-wrap__icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #d8d3ca;
  border-radius: 10px;
  background: #fbfaf7;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.radio-card .icon {
  width: 18px;
  height: 18px;
}

.radio-card input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.radio-card input:focus-visible + span {
  outline: 3px solid var(--gold-300);
  outline-offset: 2px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex: none;
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.form-actions .btn {
  flex: 1;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.form-noscript {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid #d8d3ca;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.55;
}

.form-noscript a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  padding: 24px 0;
  text-align: center;
  animation: step-in 0.4s var(--ease);
}

/* Focused programmatically as a status panel, not a control: no ring. */
.form-success:focus,
.form-success:focus-visible {
  outline: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(18, 140, 74, 0.12);
  color: #128c4a;
}

.form-success__icon .icon {
  width: 34px;
  height: 34px;
}

.form-success h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.form-success p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.form-success .btn {
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0d1113;
  color: #fff;
  padding-top: clamp(56px, 7vw, 88px);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: clamp(28px, 4vw, 44px);
  padding-bottom: 56px;
}

.footer__brand .brand {
  margin-bottom: 20px;
}

.footer__lema {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--gold-300);
}

.footer__text {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer__actions .btn {
  padding: 12px 16px;
  font-size: 0.82rem;
}

.footer__col h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col ul a,
.footer__col ul span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer__col ul a:hover {
  color: #fff;
}

.footer__contact .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--gold-300);
  flex: none;
}

.footer__contact .btn {
  margin-top: 17px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal a {
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #fff;
}

/* ---------- Flotantes ---------- */
.floating-actions {
  margin: 0;
  padding: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 999px;
  background: #0f7a40;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 16px 34px -12px rgba(18, 140, 74, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease),
    background 0.2s ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* The footer repeats the WhatsApp action, so the pill yields to it. */
.whatsapp-float.is-suppressed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
}

.whatsapp-float:hover {
  background: #0b6534;
}

.whatsapp-float .icon {
  width: 22px;
  height: 22px;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease),
    background 0.2s ease, color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--ink);
  color: #fff;
}

.to-top .icon {
  width: 19px;
  height: 19px;
}

/* ---------- Aviso flotante ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  max-width: min(440px, calc(100vw - 40px));
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(20, 24, 26, 0.96);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- Páginas legales ---------- */
.legal-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 64px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -100px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 32, 32, 0.3), transparent 68%);
  pointer-events: none;
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-hero p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.legal-content {
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 110px);
}

.legal-content .container {
  max-width: 880px;
}

.legal-meta {
  margin: 0 0 32px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  margin-top: 40px;
}

.site-footer--simple {
  padding-top: 0;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.legal-footer__links a {
  transition: color 0.2s ease;
}

.legal-footer__links a:hover {
  color: #fff;
}

.legal-footer p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.legal-footer .brand__logo {
  height: 40px;
}

/* ---------- Animaciones ---------- */
/* The reveal is an animation rather than a transition: it must not overwrite
   the `transform`/`transition` declarations of the component it decorates. */
.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible {
  opacity: 1;
  animation: reveal-in 0.8s var(--ease);
}

@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 213, 152, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(62, 213, 152, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 213, 152, 0);
  }
}

@keyframes ping {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -72;
  }
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes step-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tracking-progress {
  0%,
  100% {
    transform: scaleX(0.34);
  }
  50% {
    transform: scaleX(0.66);
  }
}

/* 34%/66% of the full-width track, minus half of it to keep the dot centred. */
@keyframes tracking-truck {
  0%,
  100% {
    transform: translateX(calc(34% - 50%));
  }
  50% {
    transform: translateX(calc(66% - 50%));
  }
}

/* ---------- Operación real (galería de flota) ---------- */
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fleet__cell {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.fleet__cell picture {
  display: block;
  height: 100%;
}

.fleet__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1079px) {
  .fleet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 1080px) {
  .coverage__visual {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}

@media (max-width: 1160px) {
  .header__phone {
    display: none;
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 78px;
  }

  .nav {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    --drawer-backdrop: 1;
    position: fixed;
    inset: 0;
    z-index: 200;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    overflow: hidden;
    overscroll-behavior: contain;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.28s var(--ease),
      transform 0.28s var(--ease),
      display 0.28s allow-discrete,
      overlay 0.28s allow-discrete;
  }

  .mobile-nav:not([open]) {
    opacity: 0;
    transform: translateY(-14px);
  }

  @starting-style {
    .mobile-nav[open] {
      opacity: 0;
      transform: translateY(-14px);
    }
  }

  .mobile-nav::backdrop {
    background: rgb(5 8 9 / 0.62);
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .mobile-nav[open] {
    display: grid;
  }

  .mobile-nav__sheet {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 28px;
    height: 100dvh;
    padding: calc(var(--header-h) + 20px) clamp(20px, 6vw, 32px) 34px;
    background: #0c1012;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-nav__logo {
    display: block;
    width: auto;
    height: 40px;
  }

  .mobile-nav__close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mobile-nav__close:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-nav__close .icon {
    width: 22px;
    height: 22px;
  }

  .mobile-nav__links {
    display: grid;
    gap: 4px;
  }

  .mobile-nav__links a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .mobile-nav__links a:hover {
    color: var(--gold-300);
    padding-left: 6px;
  }

  .mobile-nav__links a span {
    min-width: 24px;
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .mobile-nav__footer {
    display: grid;
    gap: 22px;
  }

  .mobile-nav__contact {
    display: grid;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
  }

  .mobile-nav__contact a {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-nav__contact .icon {
    width: 16px;
    height: 16px;
    color: var(--gold-300);
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    width: 100%;
    max-width: 620px;
    margin: 8px auto 0;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .section-head--split .section-lead {
    max-width: 640px;
    padding-bottom: 0;
  }

  .coverage__grid,
  .security__grid,
  .differentiators__grid,
  .quote-section__inner {
    grid-template-columns: 1fr;
  }

  .differentiators__aside {
    position: static;
  }

  .quote-card {
    max-width: 560px;
  }

  .footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col--contact {
    grid-column: auto;
  }

  /* Touch targets: footer links get a full row rather than a 21px line box. */
  .footer__col ul {
    gap: 4px;
  }

  .footer__col ul a,
  .footer__col ul span {
    padding-block: 10px;
  }

  .footer__legal a {
    padding-block: 12px;
  }
}

@media (max-width: 860px) {
  .service-panel {
    grid-template-columns: 1fr;
  }

  .unit-visual {
    min-height: 330px;
  }

  .unit-figure {
    padding-top: 20px;
  }

  .service-panel__body {
    padding: 4px 2px 2px;
  }

  .services__tabs {
    margin-inline: calc(clamp(20px, 4vw, 32px) * -1);
    padding-inline: clamp(20px, 4vw, 32px);
  }

  .coverage__visual {
    order: 1;
  }

  .coverage__content {
    order: 2;
  }

  .hero__facts-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-fact:nth-child(3) {
    border-left: 0;
  }

  .hero-fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .header__cta {
    display: none;
  }

  .hero__inner {
    padding-top: 20px;
    padding-bottom: 56px;
    gap: 44px;
  }

  .hero__lead {
    margin-bottom: 26px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .float-card {
    padding: 9px 11px;
  }

  .float-card--gps {
    top: -42px;
    right: -8px;
  }

  .float-card--coverage {
    bottom: -18px;
    left: -8px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }

  .form-progress__steps li {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .form-progress__steps li span {
    width: 18px;
    height: 18px;
  }

  .security-card {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .security-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .security-card__icon .icon {
    width: 22px;
    height: 22px;
  }

  .value-card {
    padding: 24px 24px 24px 80px;
  }

  .value-card__num {
    top: 22px;
    left: 20px;
  }

  .value-card__icon {
    left: 18px;
    bottom: 22px;
    width: 42px;
    height: 42px;
  }

  .quote-card {
    padding: 24px;
  }

  .sectors__link {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand__logo {
    height: 42px;
  }

  .header__inner {
    gap: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-fact {
    padding: 16px 18px;
  }

  .hero-fact span {
    max-width: none;
  }

  .float-card {
    display: none;
  }

  .control-card__foot div {
    padding: 11px 12px;
  }

  .control-card__foot span {
    font-size: 0.5rem;
  }

  .control-card__foot strong {
    font-size: 0.68rem;
  }

  .sectors__inner {
    gap: 12px;
  }

  .sector-chip {
    font-size: 0.7rem;
  }

  .section {
    padding: 64px 0;
  }

  .unit-visual {
    min-height: 290px;
  }

  .unit-visual__tag {
    font-size: 0.52rem;
  }

  .unit-figure__cab {
    min-width: 48px;
    height: 70px;
  }

  .unit-figure__bed--dry {
    height: 62px;
  }

  .spec-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .city-list {
    grid-template-columns: 1fr;
  }

  .coverage__tabs {
    display: flex;
    width: 100%;
  }

  .coverage-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.75rem;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .form-progress__steps li {
    gap: 4px;
  }

  .form-progress__steps li:not(.is-active):not(.is-done) {
    font-size: 0;
  }

  .form-progress__steps li:not(.is-active):not(.is-done) span {
    font-size: 0.62rem;
  }

  .quote-form-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .contact-list strong {
    font-size: 0.84rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__col--contact {
    grid-column: auto;
  }

  .whatsapp-float {
    padding: 13px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }

  .to-top {
    right: 24px;
    bottom: 78px;
  }

  .toast {
    bottom: 88px;
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 400px) {
  .header__actions--end .btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .control-card__foot {
    grid-template-columns: 1fr 1fr;
  }

  .control-card__foot div:last-child {
    display: none;
  }

  .service-tab {
    padding: 14px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .control-map text,
  .network-map text {
    display: none;
  }
}

/* ---------- Preferencias de movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Keep orientation legible without the entrance movement. */
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    animation: none;
  }

  /* Remove spatial movement; color and opacity feedback stays. */
  .btn,
  .btn:hover,
  .security-card:hover,
  .value-card:hover,
  .region-card:hover,
  .mobile-nav__links a:hover {
    transform: none;
    padding-left: 0;
  }

  .services__tabs {
    scroll-behavior: auto;
  }

  .tracking-route__progress {
    transform: scaleX(0.58);
    animation: none;
  }

  .tracking-route__truck {
    transform: translateX(calc(58% - 50%));
    animation: none;
  }

  .route-dash,
  .ping,
  .live-dot {
    animation: none;
  }

  /* Content changes still fade in, just without the vertical displacement. */
  .service-panel,
  .coverage-panel,
  .form-step,
  .form-success {
    animation-name: step-fade;
  }

  .toast,
  .whatsapp-float,
  .to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .mobile-nav {
    transition: none;
  }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header,
  .whatsapp-float,
  .to-top,
  .floating-actions,
  .hero__bg,
  .hero__visual,
  .services__tabs,
  .network-panel,
  .quote-form-card,
  .footer__actions,
  .scroll-progress {
    display: none !important;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    animation: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .section--dark,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 24px 0;
  }
}
