/* ==== base/variables.css ==== */
/* Variables globales: colores de marca, tipografía, curva de animación y ancho del contenedor. */

:root {
  --red: #b40608;
  --red-strong: #c30101;
  --red-alt: #c50000;
  --ink: #040404;
  --ink-soft: #090b0d;
  --gray: #6f6f6f;
  --gray-dark: #3a3a3a;
  --gray-text: #303030;
  --line: #ccc;
  --line-soft: #d9d9d9;
  --off-white: #f9f9f9;
  --orange: #ffa100;
  --green: #0b8800;
  --footer: #080a0a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* Ancho único del contenido: alineado con el logo y el botón "Cuenta" del menú */
  --container: 1290px;
  --wrap: min(var(--container), calc(100% - 32px));
}

/* ==== base/reset.css ==== */
/* Reset y estilos base del documento, utilidades (.text-red, .sr-only) y foco visible. */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.text-red { color: var(--red); }


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

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Responsive */

@media (pointer: coarse) {
  /* iOS amplía la página al enfocar campos con texto menor a 16px */
  input, select, textarea { font-size: 16px !important; }
}

/* ==== base/buttons.css ==== */
/* Botones: base en píldora, variantes y flecha unificada. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 100px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, filter 200ms ease;
}
.btn img { flex: none; }
/* Flecha unificada de los botones: 21px, mismo trazo en todo el sitio */
.btn .btn__arrow { width: 21px; height: 21px; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(2px); }
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--red); color: var(--off-white); }
.btn--outline { background: transparent; color: var(--off-white); border: 2px solid var(--off-white); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { filter: brightness(1.12); }
  .btn--outline:hover { background: rgba(249, 249, 249, 0.12); }
}

/* ==== layout/header.css ==== */
/* Cabecera fija: barra, navegación, desplegable "Servicios", menú "Cuenta" y menú móvil. */

/* ---------- Header ---------- */
.site-header {
  /* Fija: el menú con el logo se mantiene visible al hacer scroll */
  position: fixed;
  inset: 27px 0 auto;
  z-index: 50;
  padding: 0 45px 0 45px;
}
.nav-bar {
  position: relative;
  max-width: 1348px;
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-radius: 43px;
  /* Cristal oscuro: fondo uniforme para que el logo rojo/naranja contraste sobre cualquier foto */
  background: rgba(12, 12, 12, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  position: relative;
  flex: none;
  width: 276px;
  height: 51px;
  margin-left: 34px;
}
.brand img { position: absolute; }
/* Aclara los rojos oscuros del logo sobre fondo oscuro */
.brand__name, .brand__tag, .brand__swirl { filter: brightness(1.05) saturate(1.05); }
.brand__swirl { left: 0; top: 0; width: 50px; height: 50px; }
.brand__name { left: 53px; top: 14px; width: 223px; height: 34px; }
.brand__tag { left: 201px; top: 46px; width: 75px; height: 5px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 178px;
}
.main-nav > a, .nav-drop__btn {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
  transition: opacity 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .main-nav > a:hover, .nav-drop__btn:hover { opacity: 0.75; }
}

.main-nav__foot, .nav-backdrop { display: none; }

/* Desplegable de servicios */
.nav-drop { position: relative; }
.nav-drop__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-drop__chevron { width: 12px; height: 6px; transition: transform 200ms var(--ease-out); }
.nav-drop__btn[aria-expanded="true"] .nav-drop__chevron { transform: rotate(180deg); }
.nav-drop__btn[aria-expanded="true"] { opacity: 1; }
.nav-drop__menu {
  position: absolute;
  top: calc(100% + 46px);
  left: 50%;
  width: 272px;
  margin-left: -136px;
  padding: 8px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  transform-origin: 50% top;
  animation: menu-in 180ms var(--ease-out);
}
/* Puente invisible entre el botón y el panel para que no se cierre al bajar el cursor */
.nav-drop__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 48px; }
.nav-drop__menu[hidden] { display: none; }
.nav-drop__list { display: grid; gap: 2px; }
.nav-drop__item {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-drop__item[aria-current="page"] { background: #f6f6f6; color: var(--red); font-weight: 600; }
.nav-drop__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 2px 0;
  padding: 12px 14px 6px;
  border-top: 1px solid #f0f0f0;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}
.nav-drop__all span { transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav-drop__item:hover { background: #f6f6f6; }
  .nav-drop__all:hover span { transform: translateX(3px); }
}

.account { position: relative; margin-left: auto; margin-right: 36px; }
.account__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 45px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 22.5px;
  background: var(--red-strong);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.account__btn:active { transform: scale(0.97); }
.account__chevron { width: 12px; height: 6px; margin-left: 2px; transition: transform 200ms var(--ease-out); }
.account__btn[aria-expanded="true"] .account__chevron { transform: rotate(180deg); }

.account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 32px);
  width: 220px;
  padding: 6px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  display: grid;
  gap: 2px;
  transform-origin: 85% top;
  animation: menu-in 180ms var(--ease-out);
}
.account__menu[hidden] { display: none; }
/* Puente invisible para no perder el hover al bajar hacia el menú */
.account__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; }
.account__menu a:focus-visible, .nav-drop__item:focus-visible, .nav-drop__all:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.account__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 160ms ease;
}
.account__menu a img { flex: none; width: 19px; height: 20px; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .account__menu a:hover { background: #f6f6f6; }
}
@keyframes menu-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.nav-toggle { display: none; }

/* Responsive */

@media (max-width: 1360px) {
  .main-nav { margin-left: auto; }
  .account { margin-left: 24px; }
}

@media (max-width: 1024px) {
  .site-header { padding: 0 16px; inset: 16px 0 auto; }
  .nav-bar { height: 68px; }
  .brand { transform: scale(0.8); transform-origin: left center; margin: 0 -55px 0 18px; }
  .nav-toggle {
      display: grid;
      gap: 5px;
      align-content: center;
      width: 44px;
      height: 44px;
      margin-right: 14px;
      padding: 0 10px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      cursor: pointer;
    }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Menú móvil (propuesta 2): pantalla completa oscura, tipografía grande y acciones al pie */
  .brand, .account, .nav-toggle { position: relative; z-index: 3; }
  /* El cristal de la barra crea un contenedor para "fixed": se quita mientras el menú está abierto */
  .nav-open .nav-bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
  .main-nav {
      position: fixed;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      margin: 0;
      padding: 104px 24px max(28px, env(safe-area-inset-bottom));
      background: #0e0e0e;
      filter: none;
      overflow-y: auto;
      overscroll-behavior: contain;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
    }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); }
  .main-nav > a,
    .nav-drop__btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 11px 0;
      color: #fff;
      font-size: 23px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.02em;
      filter: none;
    }
  .main-nav > a[aria-current="page"],
    .nav-drop__btn[data-current] { color: var(--red-alt); }
  .nav-drop__btn[aria-expanded="true"] { opacity: 1; }
  .nav-drop__chevron { width: 14px; height: 7px; opacity: 0.6; }
  .nav-drop__menu {
      position: static;
      width: auto;
      margin: 0 0 8px;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: none;
      box-shadow: none;
      animation: none;
    }
  .nav-drop__menu::before { display: none; }
  .nav-drop__list { gap: 0; }
  .nav-drop__item { padding: 8px 0; border-radius: 0; color: rgba(255, 255, 255, 0.62); font-size: 15px; font-weight: 500; text-align: left; }
  .nav-drop__item[aria-current="page"] { background: none; color: #fff; }
  .nav-drop__all { justify-content: flex-start; gap: 8px; margin: 4px 0 0; padding: 9px 0; border-top: 0; color: #fff; font-size: 15px; }
  .main-nav__foot { display: grid; gap: 22px; margin-top: auto; padding-top: 32px; }
  .main-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 480px; }
  .main-nav__ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: none; color: #fff; }
  .main-nav__contact { display: grid; gap: 4px; }
  .main-nav__contact a { color: rgba(255, 255, 255, 0.62); font-size: 14px; line-height: 1.6; }
  .main-nav__social { display: flex; gap: 10px; }
  .main-nav__social a { display: grid; place-items: center; width: 40px; height: 40px; }
  .nav-backdrop { display: none; }
  /* Con ratón en pantallas medianas: hover propio del menú oscuro (sin los fondos claros de escritorio) */
  @media (hover: hover) and (pointer: fine) {
      .main-nav > a:hover, .nav-drop__btn:hover { opacity: 1; color: rgba(255, 255, 255, 0.7); }
      .main-nav > a[aria-current="page"]:hover, .nav-drop__btn[data-current]:hover { color: var(--red-alt); }
      .nav-drop__item:hover { background: none; color: #fff; }
      .main-nav__ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
      .main-nav__contact a:hover { color: #fff; }
    }
  .nav-open { overflow: hidden; }
  .account { margin-left: auto; margin-right: 10px; }
  .account__btn { width: auto; height: 40px; padding: 0 14px; }
  .account__menu { top: calc(100% + 24px); }
}

@media (max-width: 680px) {
  .account__btn span, .account__chevron { display: none; }
  .account__btn { width: 44px; padding: 0; justify-content: center; }
  .brand { transform: scale(0.62); margin: 0 -105px 0 14px; }
  .account { margin-right: 8px; }
  .nav-toggle { margin-right: 10px; }
}

/* ==== home/hero.css ==== */
/* Inicio · Portada. */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 646px;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  background: linear-gradient(92.33deg, #000 1.49%, rgba(0, 0, 0, 0.7) 25.66%, rgba(0, 0, 0, 0.5) 59.31%, rgba(0, 0, 0, 0) 91.86%);
}
.hero__content {
  position: absolute;
  top: 224px;
  left: 0;
  right: 0;
  width: var(--wrap);
  margin: 0 auto;
}
.hero__title {
  color: #fff;
  font-size: 55px;
  font-weight: 900;
  line-height: 65px;
  white-space: nowrap;
  text-shadow: 7px 7px 7px rgba(0, 0, 0, 0.5);
}
.hero__lead {
  margin: 14px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 7px 7px 7px rgba(0, 0, 0, 0.5);
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin: 47px 0 0;
}
.btn--hero { width: 188px; height: 50px; font-size: 18px; background: var(--red-strong); color: var(--off-white); }
.btn--hero-outline { width: 239px; height: 50px; font-size: 18px; }

/* Responsive */

@media (max-width: 1024px) {
  .hero { height: auto; min-height: 600px; padding: 170px 24px 120px; }
  .hero__content { position: static; }
  .hero__title { font-size: clamp(36px, 6vw, 55px); line-height: 1.18; white-space: normal; }
}

@media (max-width: 680px) {
  .hero::after {
      opacity: 1;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.5) 100%);
    }
  .hero__actions { flex-wrap: wrap; }
}

/* ==== components/track-form.css ==== */
/* Tarjeta "Rastrea tu envío" (inicio y Rastrear): campos, botón QR y panel de ayuda. */

/* ---------- Tracking card ---------- */
.track {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: -61px auto 0;
  padding: 32px 40px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.track__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.track__lead { margin-top: 8px; color: var(--gray); font-size: 16px; line-height: 1.5; }

.track__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-top: 24px;
}
.field { display: flex; flex-direction: column; }
.field__label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.track .field__label {
  margin-bottom: 8px;
  color: var(--gray-dark);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.track__order { flex: 1.25 1 0; min-width: 0; }
.track__code { flex: 1 1 0; min-width: 0; }
.track input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fafafa;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.track input::placeholder { color: #9a9ca1; font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .track input:hover { border-color: #c4c4c4; }
}
.track input:focus {
  border-color: var(--red);
  background: #fff;
}

.btn--track {
  flex: none;
  width: 172px;
  height: 48px;
  gap: 10px;
  background: var(--red-strong);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.track__form.is-loading .btn--track {
  cursor: wait;
}
.track__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: track-spin 700ms linear infinite;
}
.track__form.is-loading .btn--track img { display: none; }
.track__form.is-loading .track__spinner { display: block; }
@keyframes track-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .track__spinner { animation: none; }
}
.track__divider {
  flex: none;
  align-self: stretch;
  width: 1px;
  margin: 0 8px;
  background: #e6e6e6;
}
.track__qr {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin: 0;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 14px;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.track__qr:active { transform: scale(0.98); }
.track__qr:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .track__qr:hover strong { color: var(--red); }
  .track__qr:hover .track__qr-img { border-color: #d6d6d6; }
}
.track__qr-img {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}
.track__qr-img img {
  position: absolute;
  max-width: none;
  height: 122.22%;
  left: -13.98%;
  top: -11.11%;
  width: 127.96%;
}
.track__qr strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.track__qr small { display: block; margin-top: 2px; color: #7a7a7a; font-size: 13px; line-height: 1.35; white-space: nowrap; }
.track__qr strong { transition: color 160ms ease; }
.track__qr-img { transition: border-color 160ms ease; }

.track-help { position: absolute; top: 24px; right: 24px; z-index: 3; }
.track .field__control > img { right: 16px; }
.track__title, .track__lead { padding-right: 110px; }
.track--page .track-help { top: 14px; }
.track-help__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px 0 10px;
  border: 1px solid #e6e6e6;
  border-radius: 100px;
  background: #fff;
  color: #5e5e5e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.track-help__btn img { display: block; width: 18px; height: 18px; }
.track-help__btn:active { transform: scale(0.96); }
.track-help__btn[aria-expanded="true"] { border-color: #c4c4c4; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .track-help__btn:hover { border-color: #c4c4c4; color: var(--ink); }
}
.track-help__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 324px; /* 322 px de imagen + borde */
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transform-origin: top right;
  animation: menu-in 160ms var(--ease-out);
}
.track-help__panel[hidden] { display: none; }
.track-help__img { display: block; width: 100%; height: auto; }

/* Responsive */

@media (max-width: 1200px) {
  .track__divider { display: none; }
}

@media (max-width: 1024px) {
  .track { padding: 24px; }
  .track__title { font-size: 28px; }
  .track-help { top: 14px; right: 14px; }
  .track-help__panel { width: min(324px, calc(100vw - 72px)); }
  .track__order, .track__code { flex-basis: 100%; }
  .btn--track { width: 100%; }
}

/* ==== components/qr-scanner.css ==== */
/* Ventana del escáner QR. */

/* ---------- Escáner QR ---------- */
.qr-scanner {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}
.qr-scanner[open] { animation: qr-in 200ms var(--ease-out); }
.qr-scanner::backdrop { background: rgba(8, 8, 8, 0.6); }
@keyframes qr-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}
.qr-scanner__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.qr-scanner__head h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.qr-scanner__head p { margin-top: 4px; color: var(--gray); font-size: 14px; line-height: 1.5; }
.qr-scanner__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  margin: -6px -6px 0 0;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--gray-dark);
  cursor: pointer;
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .qr-scanner__close:hover { background: #ebebeb; }
}
.qr-scanner__view {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 18px;
  background: #111;
  aspect-ratio: 1;
}
.qr-scanner__video { width: 100%; height: 100%; object-fit: cover; }
/* Guía de encuadre: cuatro esquinas blancas */
.qr-scanner__frame {
  position: absolute;
  inset: 18%;
  --c: rgba(255, 255, 255, 0.95);
  background:
    linear-gradient(var(--c), var(--c)) top left / 28px 3px,
    linear-gradient(var(--c), var(--c)) top left / 3px 28px,
    linear-gradient(var(--c), var(--c)) top right / 28px 3px,
    linear-gradient(var(--c), var(--c)) top right / 3px 28px,
    linear-gradient(var(--c), var(--c)) bottom left / 28px 3px,
    linear-gradient(var(--c), var(--c)) bottom left / 3px 28px,
    linear-gradient(var(--c), var(--c)) bottom right / 28px 3px,
    linear-gradient(var(--c), var(--c)) bottom right / 3px 28px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.qr-scanner__status { min-height: 21px; margin-top: 14px; color: var(--gray); font-size: 14px; line-height: 1.5; text-align: center; }
.qr-scanner__status.is-error { color: var(--red); }
.qr-scanner__status.is-ok { color: var(--green); }
.qr-scanner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.qr-scanner__actions .btn { height: 48px; font-size: 15px; font-weight: 600; }
.btn--ghost-dark { border: 1px solid #dcdcdc; background: #fff; color: var(--ink); cursor: pointer; transition: border-color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost-dark:hover { border-color: #b5b5b5; }
}
.qr-scanner__photo:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .qr-scanner[open] { animation: none; }
}

/* Responsive */

@media (max-width: 1024px) {
  .main-nav__actions .btn { height: 50px; gap: 8px; font-size: 15px; font-weight: 600; }
}

/* ==== base/typography.css ==== */
/* Encabezados de sección compartidos (.section-head, .h-section). */

/* ---------- Section heading ---------- */
.section-head { text-align: center; }
.h-section {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

/* Responsive */

@media (max-width: 1024px) {
  .h-section br { display: none; }
  .section-head { padding: 0 16px; }
}

/* ==== components/service-cards.css ==== */
/* Tarjetas de servicios (inicio y página Servicios). */

/* ---------- Services ---------- */
.services { padding: 56px 0 0; }
.services__lead { margin-top: 10px; color: var(--gray); font-size: 18px; line-height: 16px; }
.services__grid {
  display: grid;
  grid-template-columns: 458fr 458fr 337fr;
  grid-template-rows: 288px 288px;
  grid-template-areas:
    "courier consolidado b2b"
    "aereo   almacen     b2b";
  gap: 24px;
  width: var(--wrap);
  margin: 54px auto 0;
}
.svc {
  --pad: 28px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  color: #fff;
  background: #1a1a1a;
  cursor: pointer;
}
.svc--courier { grid-area: courier; }
.svc--consolidado { grid-area: consolidado; }
.svc--b2b { grid-area: b2b; }
.svc--aereo { grid-area: aereo; }
.svc--almacen { grid-area: almacen; }

.svc__img {
  position: absolute;
  max-width: none;
  z-index: -2;
}
.svc__img--cover { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mismo velo en todas: oscuro arriba para el título, suave abajo para el botón */
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(8, 10, 10, 0.72) 0%,
    rgba(8, 10, 10, 0.38) 30%,
    rgba(8, 10, 10, 0) 52%,
    rgba(8, 10, 10, 0) 68%,
    rgba(8, 10, 10, 0.42) 100%);
}

.svc__title {
  position: absolute;
  left: var(--pad);
  top: var(--pad);
  max-width: 260px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.svc__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--red-alt);
}

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pill--green { background: var(--green); color: #fff; }
.pill--orange { background: var(--orange); color: #241a00; }
.pill--white { width: 175px; background: #fff; color: var(--gray-text); }
.pill--sm { width: auto; height: 20px; padding: 0; min-width: 83px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; }
.svc--consolidado .pill--white + .pill--sm + .pill--white { width: 177px; }
.svc--consolidado .pill--sm:last-of-type { min-width: 87px; }
.svc--courier .pill--orange { margin-top: -14px; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover .btn--svc { filter: brightness(1.12); }
}
/* Etiquetas del lado derecho: ancladas al borde derecho para que no se salgan si la tarjeta se estrecha */
.svc--courier .pill--orange { left: auto !important; right: 51px; }
.svc--consolidado .pill--white:first-of-type { left: auto !important; right: 11px; }
.svc--consolidado .pill--white:first-of-type + .pill--sm { left: auto !important; right: 57px; }

.btn--svc {
  position: absolute;
  right: 24px;
  bottom: 24px;
  height: 42px;
  padding: 0 22px;
  gap: 10px;
  background: var(--red-alt);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1024px) {
  .services__lead { line-height: 1.45; }
}

@media (max-width: 680px) {
  .svc { --pad: 22px; }
  .svc__title { max-width: calc(100% - 44px); }
  .btn--svc { right: 20px; bottom: 20px; }
  .svc--courier .pill--orange { left: auto !important; right: 16px; }
  .svc .pill { transform: scale(0.85); transform-origin: left top; }
  .svc--consolidado .pill--white:first-of-type,
    .svc--consolidado .pill--white:first-of-type + .pill--sm { left: auto !important; right: 16px; }
}

/* ==== home/why.css ==== */
/* Inicio · ¿Por qué elegir Rojo Express? */

/* ---------- Why ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  width: var(--wrap);
  margin: 88px auto 0;
}
/* La columna izquierda se estira: título alineado con la primera tarjeta y foto hasta la última */
.why__intro { display: flex; flex-direction: column; }
.why__title { font-size: 44px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.why__lead {
  max-width: 500px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.6;
}
.why__lead br { display: none; }
.why__img {
  flex: 1 1 0;
  width: 100%;
  min-height: 320px;
  margin-top: 36px;
  border-radius: 24px;
  object-fit: cover;
}
.why__list { display: grid; gap: 16px; }
.why-card {
  display: grid;
  grid-template-columns: 72px 1px 1fr;
  align-items: center;
  column-gap: 28px;
  padding: 28px 32px 28px 28px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #fff;
}
.why-card__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 64px; }
.why-card__icon img { width: auto; height: auto; max-width: 64px; max-height: 64px; }
.why-card__rule { align-self: stretch; width: 1px; background: #e6e6e6; }
.why-card h3 { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.why-card p { margin-top: 8px; color: var(--gray); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.why-card p br { display: none; }

/* Responsive */

@media (max-width: 1024px) {
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why__img { flex: none; height: auto; aspect-ratio: 620 / 433; }
}

@media (max-width: 680px) {
  .why__title { font-size: 34px; }
  .why-card { grid-template-columns: 48px 1px 1fr; column-gap: 18px; padding: 22px 20px; }
  .why-card__icon { width: 48px; height: 44px; }
  .why-card__icon img { max-width: 44px; max-height: 44px; }
  .why-card h3 { font-size: 19px; }
  .why-card p { font-size: 15px; }
}

/* ==== home/experience.css ==== */
/* Inicio · Más que un servicio. */

/* ---------- Experience ---------- */
.experience {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: var(--wrap);
  margin: 84px auto 0;
}
.experience__copy { flex: none; }
.experience h2 { display: flex; flex-direction: column; font-weight: 800; }
.experience__tag {
  align-self: flex-start;
  padding: 10px 26px 10px 18px;
  border-radius: 6px 100px 100px 6px;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.experience__red,
.experience__dark {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.experience__red { margin-top: 22px; color: var(--red); white-space: nowrap; }
.experience__dark { color: var(--gray-dark); }
.btn--vermas {
  height: 48px;
  margin-top: 36px;
  padding: 0 26px;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}
.experience__img {
  flex: 0 1 718px;
  min-width: 0;
  width: 718px;
  height: auto;
  aspect-ratio: 718 / 479;
  object-fit: contain;
}

/* Responsive */

@media (max-width: 1360px) {
  .experience__red, .experience__dark { font-size: 48px; }
}

@media (max-width: 1024px) {
  .experience { flex-direction: column; align-items: flex-start; gap: 32px; }
  .experience__img { flex: none; width: 100%; }
}

@media (max-width: 680px) {
  .experience { padding-left: 0; }
  .experience__copy { min-width: 0; max-width: 100%; }
  .experience__tag { padding: 8px 22px 8px 14px; font-size: 18px; white-space: normal; }
  .experience__red, .experience__dark { font-size: 38px; white-space: normal; }
  .experience__red { margin-top: 16px; }
}

/* ==== home/clients.css ==== */
/* Inicio · Empresas que confían en nosotros (carrusel de logos). */

/* ---------- Clients ---------- */
.clients { margin-top: 70px; }
.outline-pill {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--red);
  border-radius: 100px;
  color: var(--ink);
  font-weight: 700;
}
.clients__pill {
  width: fit-content;
  margin: 0 auto;
  padding: 8px 30px 8px 8px;
  gap: 16px;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.clients__pill img { width: 48px; height: 48px; }
.marquee {
  margin-top: 48px;
  padding: 2px 0;
  overflow: hidden;
  /* Desvanece los logos en los bordes en lugar de cortarlos */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 16px)); }
}
.client-logo {
  position: relative;
  flex: none;
  width: 136px;
  height: 132px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
/* Contorno común: da forma a los logos de fondo blanco */
.client-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: inherit;
  pointer-events: none;
}
.client-logo img { position: absolute; max-width: none; }
.client-logo .client-logo__full { inset: 0; width: 100%; height: 100%; }

/* Responsive */

@media (max-width: 680px) {
  .clients__pill { max-width: calc(100% - 32px); padding: 6px 20px 6px 6px; gap: 12px; font-size: 15px; }
  .clients__pill img { width: 40px; height: 40px; }
  .client-logo { width: 112px; height: 109px; border-radius: 16px; }
  .marquee__track { gap: 20px; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* ==== home/how-it-works.css ==== */
/* Inicio · Así funciona nuestro servicio. */

/* ---------- How it works ---------- */
.how {
  position: relative;
  margin-top: 80px;
  isolation: isolate;
  color: var(--off-white);
}
.how__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.how::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: -1; }
.how__inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 88px 0;
  text-align: center;
}
.how__title { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.how__lead { margin-top: 16px; color: rgba(249, 249, 249, 0.85); font-size: 17px; line-height: 1.55; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 8px 8px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.step__badge {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}
.step__badge > img { grid-area: 1 / 1; width: 64px; height: 64px; }
.step__badge > .step__icon { width: auto; height: auto; max-width: 36px; max-height: 36px; }
.step__num { display: block; font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: 0.02em; }
.step__num::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: var(--red);
}
.step__title { margin-top: 12px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.step__text {
  margin-top: 8px;
  padding: 0 10px;
  color: rgba(249, 249, 249, 0.78);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}
.step__img {
  width: 100%;
  height: auto;
  aspect-ratio: 228 / 200;
  margin-top: auto;
  border-radius: 12px;
  object-fit: cover;
}
.step__text + .step__img { margin-top: 20px; }
/* Empuja la foto al pie aunque los textos tengan distinta longitud */
.step__text { flex: 1 0 auto; }

.how__band {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin: 48px auto 0;
  padding: 18px 36px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
.how__feat { display: flex; align-items: center; gap: 16px; }
.how__feat > img { width: 56px; height: 56px; flex: none; }
.how__feat strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.how__feat span:not(.badge-71) { display: block; margin-top: 2px; color: rgba(249, 249, 249, 0.78); font-size: 14px; line-height: 1.45; }
.how__band-rule { align-self: stretch; width: 1px; background: rgba(255, 255, 255, 0.2); }
.badge-71 { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex: none; }
.badge-71 > img { grid-area: 1 / 1; width: 56px; height: 56px; }
.badge-71 > .badge-71__icon { width: 32px; height: 39px; }

/* Responsive */

@media (max-width: 1200px) {
  /* 3 + 2 pasos: la segunda fila queda centrada */
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 24px; }
  .step { grid-column: span 2; }
  .step:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 1024px) {
  .how__band { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px 24px; }
  .how__band-rule { display: none; }
}

@media (max-width: 680px) {
  .steps { grid-template-columns: minmax(0, 320px); justify-content: center; }
  .step, .step:nth-child(4) { grid-column: auto; }
  .how__inner { padding: 64px 0; }
}

/* ==== home/coverage.css ==== */
/* Inicio · Cobertura nacional. */

/* ---------- Coverage ---------- */
.coverage {
  width: var(--wrap);
  margin: 0 auto;
  padding-top: 82px;
}
.coverage__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
}
.coverage__eyebrow { color: var(--red); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; }
.coverage__title { margin-top: 12px; font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.coverage__lead { max-width: 480px; margin-top: 18px; color: var(--gray); font-size: 17px; line-height: 1.6; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  margin: 40px 0 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 10px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid #e6e6e6; }
.stat__icon { display: grid; place-items: center; width: 56px; height: 56px; }
.stat__icon img { grid-area: 1 / 1; }
.stat__icon img:first-child { width: 56px; height: 56px; }
.stat__icon img + img { width: auto; height: auto; max-width: 32px; max-height: 32px; }
.stat dt { display: flex; flex-direction: column; align-items: center; }
.stat__num { margin-top: 16px; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 8px; color: var(--red); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; }
.stat dd { margin-top: 10px; color: var(--gray); font-size: 14px; line-height: 1.5; }

.coverage__map {
  position: relative;
  justify-self: center;
  width: 421px;
  height: 480px;
  overflow: hidden;
}
.coverage__map img {
  position: absolute;
  max-width: none;
  height: 100%;
  left: -39.17%;
  top: 0;
  width: 171.43%;
}

.regions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
}
.region {
  position: relative;
  height: 274px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  color: var(--off-white);
  background: #1a1a1a;
}
.region__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
}
.region--wide .region__img { inset: auto; }
.region::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,11,12,0) 35%, rgba(10,11,12,.55) 60%, rgba(10,11,12,.8) 80%, rgba(10,11,12,.92) 100%);
}
.region__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.region h3 { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
.region p { margin-top: 6px; color: rgba(249, 249, 249, 0.85); font-size: 14px; line-height: 1.45; text-wrap: pretty; }

.cta-pill {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 960px;
  margin: 56px auto 0;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.cta-pill > img { flex: none; width: 56px; height: 56px; }
.cta-pill__copy { flex: 1; min-width: 0; }
.cta-pill__copy strong { display: block; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.cta-pill__copy span { display: block; margin-top: 2px; color: var(--gray); font-size: 15px; line-height: 1.45; }
.btn--cta {
  flex: none;
  height: 52px;
  padding: 0 28px;
  background: var(--red-alt);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
}

/* Responsive */

@media (max-width: 1200px) {
  .regions { grid-template-columns: repeat(3, 1fr); }
  .coverage__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .cta-pill { flex-wrap: wrap; gap: 16px; padding: 20px 24px; border-radius: 28px; }
  .cta-pill__copy { min-width: 220px; }
  .btn--cta { margin-left: 0; }
}

@media (max-width: 680px) {
  .coverage__lead br { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid #e6e6e6; padding-top: 20px; }
  .stat { padding-bottom: 20px; }
  .coverage__title { white-space: normal; }
  .coverage__map { width: 100%; max-width: 421px; height: auto; aspect-ratio: 421 / 480; }
  .regions { grid-template-columns: 1fr; }
}

/* ==== home/banners.css ==== */
/* Inicio · Bandas con foto (valores y ayuda). */

/* ---------- Banners (Movemos / Ayuda) ---------- */
.banner {
  position: relative;
  height: 744px;
  margin-top: 80px;
  isolation: isolate;
  color: #fff;
}
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90.33deg, rgba(0,0,0,.64) 17.49%, rgba(0,0,0,.64) 50.49%, rgba(153,152,152,0) 99.88%);
}
.banner__inner { width: var(--wrap); margin: 0 auto; padding-top: 136px; }
.banner__title { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.banner__lead { max-width: 400px; margin-top: 18px; color: rgba(255, 255, 255, 0.9); font-size: 17px; line-height: 1.6; }
.btn--banner { height: 50px; margin-top: 32px; padding: 0 28px; gap: 12px; font-size: 16px; font-weight: 600; }
.btn--banner img { width: 20px; height: auto; }

.glass-band {
  position: absolute;
  display: flex;
  align-items: center;
  border-radius: 60.5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-band strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.glass-band span { display: block; font-size: 14px; line-height: 1.21; }

.values {
  left: 0;
  right: 0;
  bottom: 48px;
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.45);
  color: var(--off-white);
}
.value { display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.value + .value { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.value > img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.values strong { font-size: 18px; line-height: 1.3; }
.values span { margin-top: 4px; color: rgba(249, 249, 249, 0.78); font-size: 14px; line-height: 1.45; }
/* Icono compuesto de "Mejora continua", escalado a la misma caja de 64 px */
.value__mejora { position: relative; width: 56px; height: 56px; flex: none; }
.value__mejora img { position: absolute; }
.value__mejora-a { left: 4px; top: 22px; width: 47px; height: 34px; }
.value__mejora-b { left: 10px; top: 0; width: 31px; height: 33px; }

/* Ayuda */
.banner--ayuda { margin-top: 88px; }
.banner--ayuda::before { background: linear-gradient(90.33deg, rgba(0,0,0,.66) 17.49%, rgba(0,0,0,.6) 51.45%, rgba(153,152,152,0) 99.88%); }
.banner--ayuda .banner__inner { padding-top: 120px; }
.banner__title--ayuda { color: var(--off-white); }
.banner__lead--ayuda { max-width: 440px; }
.banner__actions { display: flex; gap: 14px; margin: 32px 0 0; }
.banner__actions .btn--banner { margin-top: 0; }
.btn--semibold { font-weight: 600 !important; }
.btn--banner-outline { height: 50px; padding: 0 28px; border-width: 1.5px; font-size: 16px; font-weight: 600; }

/* Franja de contacto: mismo sistema que la franja de valores */
.help {
  left: 0;
  right: 0;
  bottom: 48px;
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 22px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.45);
  color: var(--off-white);
}
.help__item { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 0 28px; }
.help__item + .help__item { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.help__item > img { flex: none; width: 52px; height: 52px; }
.help__item > div { min-width: 0; }
.help strong { font-size: 18px; line-height: 1.3; }
.help span { margin-top: 4px; color: rgba(249, 249, 249, 0.78); font-size: 14px; line-height: 1.45; }
.help__strong { display: block; margin-top: 4px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.help__strong--semi { font-size: 15px; }
.help__item span + span, .help__strong + span { margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .help__strong:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* Responsive */

@media (max-width: 1360px) {
  .value { padding: 0 20px; gap: 14px; }
  .value > img, .value__mejora { transform: scale(0.85); }
}

@media (max-width: 1200px) {
  .values { position: relative; inset: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; margin: 40px auto 0; padding: 24px 0; }
  .value:nth-child(3) { border-left: 0; }
  .value > img, .value__mejora { transform: none; }
  .help { position: relative; inset: auto; grid-template-columns: 1fr; margin: 40px auto 0; padding: 8px 0; }
  .help__item { padding: 16px 24px; }
  .help__item + .help__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

@media (max-width: 680px) {
  .help__strong--semi { font-size: 14px; }
  .banner__title { font-size: 34px; }
  .values { grid-template-columns: 1fr; row-gap: 0; padding: 8px 0; }
  .value { padding: 16px 20px; }
  .value + .value, .value:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .banner__actions { flex-wrap: wrap; margin-left: 0; }
}

/* ==== home/quote.css ==== */
/* Inicio · Sección de cotización (texto y ventajas junto al formulario). */

/* ---------- Quote ---------- */
.quote {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 56px;
  width: var(--wrap);
  margin: 88px auto 0;
}
.quote__intro { position: relative; flex: 1; min-width: 0; }
.quote__title { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.quote__lead { max-width: 420px; margin-top: 20px; color: var(--gray); font-size: 17px; line-height: 1.6; }
.quote__perks { margin: 28px 0 0; width: min(330px, 100%); }
.quote__perks li { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.quote__perks li + li { border-top: 1px solid #e6e6e6; }
.check { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; }
.check img { grid-area: 1 / 1; }
.check img:first-child { width: 52px; height: 52px; }
.check img + img { width: 28px; height: 28px; }
.quote__perks strong { display: block; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.quote__perks div span { display: block; max-width: 240px; margin-top: 4px; color: var(--gray); font-size: 14px; line-height: 1.45; }
.btn--conoce { height: 50px; margin-top: 24px; padding: 0 28px; font-size: 16px; font-weight: 600; gap: 12px; }
.btn--conoce img { width: 20px; height: auto; }
.quote__truck {
  position: absolute;
  left: 330px;
  bottom: -10px;
  width: 560px;
  height: auto;
  aspect-ratio: 665 / 443;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
}

/* Responsive */

@media (max-width: 1360px) {
  .quote__truck { width: 300px; }
}

@media (max-width: 1024px) {
  .h-section, .how__title, .quote__title, .coverage__title { font-size: clamp(30px, 5vw, 44px); }
  .quote { flex-direction: column; gap: 40px; }
  .quote__truck { display: none; }
}

/* ==== components/quote-form.css ==== */
/* Formulario de cotización (inicio y Cotizar): campos, unidades, flechas y fecha. */

.quote-form {
  position: relative;
  z-index: 1;
  flex: none;
  width: 580px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.quote-form__head { margin: 0 0 28px; }
.quote-form__icon { display: none; }
.quote-form__head h3 { color: var(--ink); font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.quote-form__head p { margin-top: 6px; color: var(--gray); font-size: 15px; font-weight: 400; line-height: 1.5; }

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field--full { grid-column: 1 / -1; }
.quote-form .field__label { margin-bottom: 7px; color: #4a4a4a; font-size: 13px; font-weight: 500; }
.field__optional { color: #9a9ca1; font-weight: 400; }
/* Encabezados de grupo: Datos del envío / Tus datos de contacto */
.quote-form .quote-form__group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 -2px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quote-form .quote-form__group::after { content: ""; flex: 1; height: 1px; background: #ececec; }
.quote-form .quote-form__group ~ .quote-form__group { margin-top: 14px; }
.quote-form__dimensions { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-form__dimensions-help { margin: 8px 0 0; color: var(--gray); font-size: 13px; line-height: 1.5; }
.quote-form__dimensions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field__control { position: relative; display: block; }
.field__control > img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.field__control > img { width: 18px; height: 18px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.quote-form input::-webkit-outer-spin-button,
.quote-form input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #9a9ca1; font-weight: 400; }
.quote-form select:invalid { color: #9a9ca1; font-weight: 400; }
.quote-form textarea { height: 64px; padding-top: 12px; resize: vertical; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) {
  .quote-form input:hover, .quote-form select:hover, .quote-form textarea:hover { border-color: #c4c4c4; }
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--red); background: #fff; }

/* Campos numéricos: unidad + flechas para subir/bajar */
.field__control--num input { padding-right: 84px; }
.num-unit {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}
.num-stepper {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  display: flex;
  flex-direction: column;
  width: 30px;
  border-left: 1px solid #e3e3e3;
}
.num-stepper__btn {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #8a8a8a;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease;
}
.num-stepper__btn:active { background: #ececec; }
@media (hover: hover) and (pointer: fine) {
  .num-stepper__btn:hover { color: var(--red); background: #f1f1f1; }
}
.quote-form .field__control--num input::-webkit-inner-spin-button,
.quote-form .field__control--num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quote-form .field__control--num input { -moz-appearance: textfield; }
/* Fecha: selector nativo; todo el campo abre el calendario */
.quote-form input[type="date"] { position: relative; cursor: pointer; font-family: inherit; }
.quote-form input[type="date"]:invalid { color: #9a9ca1; font-weight: 400; }
.quote-form input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.quote-form input[type="date"]::-webkit-datetime-edit { padding: 0; }

.btn--submit {
  width: 100%;
  height: 52px;
  margin-top: 28px;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}
.btn--submit img { width: 20px; height: 20px; }
.quote-form__note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

/* Responsive */

@media (max-width: 680px) {
  .quote-form__head { margin-left: 0; }
}

@media (max-width: 420px) {
  .quote-form__dimensions-grid { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  /* Flechas numéricas con área táctil mayor */
  .num-stepper { top: 2px; right: 2px; bottom: 2px; width: 40px; }
  .num-unit { right: 50px; }
  .field__control--num input { padding-right: 92px; }
}

/* ==== home/allies.css ==== */
/* Inicio · Nuestras alianzas. */

/* ---------- Allies ---------- */
.allies {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: var(--wrap);
  margin: 80px auto 0;
  padding-bottom: 56px;
  border-bottom: 1px solid #ececec;
}
.allies__pill {
  flex: none;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.allies__list { display: flex; gap: 32px; }
.ally {
  position: relative;
  width: 184px;
  height: 72px;
  overflow: hidden;
  border-radius: 16px !important;
  background: #fff;
}
.ally::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: inherit;
  pointer-events: none;
}
.ally img { position: absolute; max-width: none; }
.ally .ally__full { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Responsive */

@media (max-width: 1200px) {
  .allies { flex-direction: column; gap: 24px; }
  .allies__list { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 680px) {
  .allies__pill { font-size: 17px; }
}

/* ==== home/certifications.css ==== */
/* Inicio · Certificaciones y homologaciones. */

/* ---------- Certifications ---------- */
.certs { margin-top: 56px; padding-bottom: 88px; text-align: center; }
.certs__title { line-height: 1.1; letter-spacing: -0.02em; }
.certs__lead { max-width: 640px; margin: 14px auto 0; color: var(--gray); font-size: 17px; font-weight: 400; line-height: 1.6; }
.certs__groups {
  display: grid;
  /* 3 tarjetas del mismo ancho: el grupo ISO ocupa 2 de 3 columnas */
  grid-template-columns: calc((100% - 48px) * 2 / 3 + 24px) 1fr;
  gap: 24px;
  width: min(1000px, calc(100% - 32px));
  margin: 40px auto 0;
}
.cert-group { display: flex; flex-direction: column; }
.cert-group h3 {
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cert-group__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; flex: 1; }
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 28px 24px 24px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #fff;
}
.cert__img { position: relative; display: block; flex: none; overflow: hidden; width: 196px; height: 198px; }
.cert__img img { position: absolute; max-width: none; mix-blend-mode: multiply; }
.cert__img--hodelpe { width: 190px; height: 189px; margin: 4px 0 5px; border-radius: 50%; }
.cert figcaption { margin-top: 18px; color: var(--gray-dark); font-size: 15px; font-weight: 500; line-height: 1.45; }
/* Certificados ISO enlazados a su PDF */
.cert-link { display: block; height: 100%; border-radius: 20px; }
.cert-group > .cert-link { flex: 1; height: auto; }
.cert-link:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.cert--link { transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.cert-link:active .cert--link { transform: scale(0.98); }
.cert__view { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 14px; color: var(--red); font-size: 14px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .cert-link:hover .cert--link { border-color: #cfcfcf; }
  .cert-link:hover .cert__view { text-decoration: underline; text-underline-offset: 3px; }
}

/* Responsive */

@media (max-width: 1200px) {
  .certs__groups { grid-template-columns: 1fr; gap: 32px; max-width: 640px; }
  .cert-group:last-child .cert-link { width: calc(50% - 12px); margin: 0 auto; }
}

@media (max-width: 680px) {
  .cert-group__items { grid-template-columns: 1fr; }
  .cert-group:last-child .cert-link { width: 100%; }
}

/* ==== layout/footer.css ==== */
/* Pie de página: columnas, contacto, redes y créditos. */

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  background: var(--footer);
  color: var(--off-white);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  column-gap: 48px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 64px 0 48px;
}
.footer__logo { position: relative; display: block; width: 201px; height: 64px; }
.footer__logo img { position: absolute; }
.footer__logo-swirl { left: 0; top: 0; }
.footer__logo-name { left: 67px; top: 1px; }
.footer__logo-tag { left: 129px; top: 58px; }
.footer__about p { max-width: 320px; margin-top: 20px; color: rgba(249, 249, 249, 0.68); font-size: 15px; line-height: 1.65; }
.footer__col h3 { margin: 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__links { margin-top: 20px; display: grid; gap: 10px; }
.footer__links a, .footer__legal, .footer__contact li { color: rgba(249, 249, 249, 0.75); font-size: 15px; font-weight: 400; line-height: 1.5; transition: color 160ms ease; }
.footer__legal { display: block; margin-top: 20px; }
.footer__book { display: block; width: 120px; margin-top: 16px; border-radius: 8px; overflow: hidden; }
.footer__book img { width: 120px; height: auto; }
.footer__contact ul { display: grid; gap: 12px; margin-top: 20px; }
.footer__contact li { display: grid; grid-template-columns: 16px 1fr; column-gap: 10px; align-items: start; }
.footer__contact li img { margin-top: 3px; opacity: 0.75; }
.footer__contact li a { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover,
  .footer__legal:hover,
  .footer__contact a:hover { color: #fff; }
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(249, 249, 249, 0.12);
}
.footer__bottom p { color: rgba(249, 249, 249, 0.6); font-size: 14px; line-height: 1.5; }
.footer__bottom strong { color: rgba(249, 249, 249, 0.85); font-weight: 600; }
.footer__bottom p a { transition: color 160ms ease; }
.footer__bottom p a:hover strong { color: #fff; }
.footer__bottom p a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 32px; height: 32px; opacity: 0.8; transition: opacity 160ms ease, transform 160ms var(--ease-out); }
.footer__social a img { width: 32px; height: 32px; }
.footer__social-stack > img { grid-area: 1 / 1; }
.footer__social-stack > img + img { width: 20px !important; height: 20px !important; }
.footer__social a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover { opacity: 1; }
}

/* Responsive */

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
}

@media (max-width: 680px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column-reverse; text-align: center; gap: 16px; }
}

/* ==== base/motion.css ==== */
/* Movimiento de fondos (Ken Burns) y preferencias de movimiento reducido. */

/* ---------- Movimiento sutil de fondos (efecto Ken Burns lento) ---------- */
.hero__bg,
.page-hero__bg,
.banner__bg,
.how__bg {
  transform-origin: 60% 50%;
  animation: bg-drift 16s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
}
.banner--ayuda .banner__bg { transform-origin: 70% 60%; animation-duration: 18s; }
.how__bg { transform-origin: 40% 50%; animation-duration: 20s; }
@keyframes bg-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2.5%, -1.5%, 0); }
}
.banner, .how { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .page-hero__bg, .banner__bg, .how__bg { animation: none; }
}

/* Responsive */

@media (max-width: 1200px) {
  .banner { height: auto; padding-bottom: 50px; }
}

@media (max-width: 680px) {
  /* Hero en teléfonos: el camión principal (centro-derecha de la foto) queda a la vista */
  .hero__bg { object-position: 59% 50%; transform-origin: 60% 60%; }
  .banner__inner, .banner--ayuda .banner__inner { padding-top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==== components/whatsapp-float.css ==== */
/* Botón flotante de WhatsApp. */

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: block;
}
.wa-float__icon {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 160ms var(--ease-out);
}
.wa-float:active .wa-float__icon { transform: scale(0.94); }
.wa-float { transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s linear 0s; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none; transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms; }
/* Etiqueta que aparece al pasar el ratón (solo escritorio) */
.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  margin-top: -20px;
  padding: 10px 16px;
  border: 1px solid #ececec;
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float__label,
  .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
}
@media (hover: none) { .wa-float__label { display: none; } }

/* Responsive */

@media (max-width: 1024px) {
  .nav-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 680px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__icon { width: 58px; height: 58px; }
}

/* ==== components/page-hero.css ==== */
/* Cabecera con foto de las páginas internas. */

/* ---------- Cabecera interna ---------- */
.page-hero {
  position: relative;
  height: var(--hero-h, 467px);
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  background: linear-gradient(var(--hero-angle, 116.6deg), rgba(0, 0, 0, 0.9) 47.717%, rgba(0, 0, 0, 0) 92.788%);
}
.page-hero__content {
  position: absolute;
  inset: 0;
  width: var(--wrap);
  margin: 0 auto;
}
.page-hero__crumb,
.page-hero__title,
.page-hero__lead {
  position: absolute;
  left: 0;
  margin: 0;
}
.page-hero__crumb { color: var(--off-white); font-size: 15px; font-weight: 600; }
.page-hero__crumb a { transition: opacity 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .page-hero__crumb a:hover { opacity: 0.75; }
}
.page-hero__title { font-size: 50px; font-weight: 800; line-height: 55px; white-space: nowrap; }
.page-hero__lead { color: var(--off-white); font-size: 18px; line-height: 23px; }
.page-hero--shadow .page-hero__title,
.page-hero--shadow .page-hero__lead { text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5); }
.page-hero--shadow .page-hero__lead { line-height: 1.45; }

.eyebrow { color: var(--red); font-size: 20px; font-weight: 700; line-height: 1.45; }

/* Responsive */

@media (max-width: 1024px) {
  .page-hero { height: auto; min-height: 320px; }
  .page-hero__content { position: relative; padding: 150px 0 56px; }
  .page-hero__crumb, .page-hero__title, .page-hero__lead { position: static; max-width: none !important; }
  .page-hero__title { margin-top: 12px; font-size: clamp(32px, 6vw, 50px); line-height: 1.15; white-space: normal; }
  .page-hero__lead { margin-top: 16px; line-height: 1.5; }
  /* En pantallas angostas el texto ocupa todo el ancho: se oscurece la foto por igual para que se lea */
  .page-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.62) 100%); }
  .page-hero__title, .page-hero__lead { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
}

/* ==== pages/services.css ==== */
/* Página Servicios. */

/* ---------- Servicios ---------- */
.services-page { padding: 88px 0; }
.services__grid.services__grid--page { margin-top: 0; }

/* Responsive */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 288px; grid-template-areas: "courier consolidado" "aereo almacen" "b2b b2b"; }
}

@media (max-width: 680px) {
  .services__grid { grid-template-columns: 1fr; grid-template-areas: "courier" "consolidado" "b2b" "aereo" "almacen"; }
}

@media (max-width: 1360px) {
  .services__grid.services__grid--page { transform: none; }
}

/* ==== pages/service-detail.css ==== */
/* Páginas de detalle de cada servicio. */

/* ---------- Detalle de servicio (línea gráfica del inicio) ---------- */
.svc-detail { padding: 88px 0; }
.svc-block {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr) 290px;
  align-items: center;
  gap: 48px;
  width: var(--wrap);
  margin: 0 auto;
}
.svc-block__copy h2 { color: var(--ink); font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.svc-block__copy h2 .eco { color: var(--green); }
.svc-block__sub { margin-top: 8px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.svc-block__text { margin-top: 16px; color: var(--gray); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.btn--detail { height: 50px; margin-top: 32px; padding: 0 30px; gap: 12px; font-size: 16px; font-weight: 600; }
.btn--green { background: var(--green); color: var(--off-white); }

.svc-block__img { display: block; width: 100%; height: auto; }
.svc-block--photo .svc-block__img { aspect-ratio: 4 / 3; border-radius: 24px; object-fit: cover; }

.svc-block__list { display: grid; gap: 18px; }
.svc-block__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
  color: var(--gray-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.svc-block__list img { margin-top: 1px; }

/* ¿Qué puedes enviar? */
.send-what { margin-top: 72px; text-align: center; }
.send-what h2 { color: var(--ink); font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.send-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 280px));
  justify-content: center;
  gap: 24px;
  width: var(--wrap);
  margin: 36px auto 0;
  text-align: left;
}
.send-card {
  overflow: hidden;
  padding-bottom: 24px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #fff;
}
.send-card__media { position: relative; display: block; overflow: hidden; height: 172px; background: #f6f6f6; }
.send-card__img { position: absolute; overflow: hidden; margin-left: calc(50% - 130px); }
.send-card__img img { position: absolute; max-width: none; mix-blend-mode: multiply; }
.send-card__img .send-card__full { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.send-card h3 { margin: 20px 24px 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.send-card p { margin: 6px 24px 0; color: var(--gray); font-size: 15px; line-height: 1.5; }
.svc-detail__divider { width: var(--wrap); height: 1px; margin: 88px auto; border: 0; background: #ececec; }

/* Responsive */

@media (max-width: 1200px) {
  .send-cards { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .svc-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  .svc-block__list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
}

@media (max-width: 1024px) {
  .svc-detail, .services-page { padding: 64px 0; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block__img { max-width: 600px; }
  .svc-detail__divider { margin: 64px auto; }
  .send-what { margin-top: 56px; }
}

@media (max-width: 680px) {
  .svc-block__copy h2 { font-size: 34px; }
  .svc-block__sub { font-size: 19px; }
  .svc-block__list { grid-template-columns: 1fr; }
  .send-what h2 { font-size: 30px; }
  .send-cards { grid-template-columns: minmax(0, 340px); }
}

/* ==== pages/legal.css ==== */
/* Términos y Condiciones. */

/* ---------- Términos ---------- */
.legal-text {
  /* Ancho de lectura cómodo (~80 caracteres por línea) */
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.45;
}
.legal-text h2 { margin: 32px 0 8px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.legal-text .legal-text__gap + h2 { margin-top: 8px; }
.legal-text p { margin: 0; line-height: 1.7; }
.legal-text p + p { margin-top: 8px; }
.legal-text .legal-text__gap { margin-bottom: 23px; }

/* ==== pages/tracking.css ==== */
/* Página Rastrear: formulario, alertas y resultado embebido del API. */

/* ---------- Rastrear ---------- */
.track--page {
  width: var(--wrap);
  margin-top: -58px;
  padding: 28px 40px 32px;
  border-radius: 20px;
  scroll-margin-top: 120px;
}
.track--page .track__lead { margin: 0; }
.track--page .track__form { margin-top: 20px; }

/* Card de error: mismo lenguaje que .track / .why-card / .help-card */
.trk-alert {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto 0;
}
.trk-alert[hidden] { display: none !important; }
.trk-alert__card {
  display: grid;
  grid-template-columns: 72px 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
  padding: 28px 32px 28px 28px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #fff;
}
.trk-alert__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 64px;
}
.trk-alert__icon img {
  width: auto;
  height: auto;
  max-width: 40px;
  max-height: 40px;
}
.trk-alert__rule {
  align-self: stretch;
  width: 1px;
  background: #e6e6e6;
}
.trk-alert__body { min-width: 0; }
.trk-alert__eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trk-alert__title {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.trk-alert__msg {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Contenedor aislado: el HTML/CSS del API vive solo dentro del iframe */
.trk-embed {
  width: min(1200px, calc(100% - 32px));
  margin: clamp(44px, 4vw, 56px) auto clamp(32px, 4vw, 48px);
}
.trk-embed[hidden] { display: none !important; }
.trk-embed__frame {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: transparent;
}

/* El visor comparte la presentación del diálogo QR. */
.trk-preview { width: min(880px, calc(100% - 32px)); padding: clamp(16px, 4vw, 24px); }
.trk-preview__body {
  overflow: hidden;
  margin-top: 16px;
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}
.trk-preview__body img {
  display: block;
  width: 100%;
  max-height: 62dvh;
  object-fit: contain;
}
.trk-preview__body iframe {
  display: block;
  width: 100%;
  height: 62dvh;
  border: 0;
}
.trk-preview__body p { margin: 12px; text-align: center; color: var(--gray-dark); }
.trk-preview__actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.trk-preview__actions .btn { min-height: 48px; padding: 0 20px; font-size: 15px; font-weight: 600; }

/* Responsive */

@media (max-width: 1200px) {
  .track__form { flex-wrap: wrap; row-gap: 20px; }
}

@media (max-width: 1024px) {
  .track--page .track-help { top: 12px; }
  .track--page { margin-top: -40px; padding: 24px; }
  .trk-alert__card {
    grid-template-columns: 48px 1px minmax(0, 1fr);
    column-gap: 18px;
    padding: 22px 20px;
  }
  .trk-alert__icon { width: 48px; height: 44px; }
  .trk-alert__icon img { max-width: 32px; max-height: 32px; }
  .trk-alert__title { font-size: 19px; }
  .trk-alert__msg { font-size: 15px; }
}

@media (max-width: 680px) {
  main:has(> .trk-embed:not([hidden])) > .track--page { display: none; }
}

/* ==== pages/about.css ==== */
/* Página Nosotros. */

/* ---------- Nosotros ---------- */
.about-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: var(--wrap);
  margin: 0 auto;
  padding-top: 88px;
}
.about-intro .eyebrow, .about-team .eyebrow { font-size: 14px; line-height: 1.4; letter-spacing: 0.08em; }
.about-intro h2, .about-team h2 { margin-top: 12px; font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.about-intro p:not(.eyebrow), .about-team p:not(.eyebrow) { margin-top: 18px; color: var(--gray); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.about-intro p:not(.eyebrow) { max-width: 540px; }
.about-intro__img { flex: none; width: 611px; height: 400px; border-radius: 24px; object-fit: cover; }

/* Misión, visión y valores: mismo lenguaje que las tarjetas "¿Por qué elegirnos?" del inicio */
.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: var(--wrap); margin: 64px auto 0; }
.mvv-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  padding: 28px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #fff;
}
.mvv-card > img { grid-row: 1 / 3; justify-self: center; width: 44px; height: auto; margin-top: 2px; }
.mvv-card h3 { color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.mvv-card p { margin-top: 8px; color: var(--gray); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.mvv-card p br { display: none; }

.about-team {
  display: flex;
  align-items: center;
  gap: 64px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 88px 0;
}
/* Foto panorámica: se respeta su proporción para no recortar al equipo */
.about-team__img { flex: none; width: 640px; height: auto; aspect-ratio: 1910 / 823; border-radius: 24px; object-fit: cover; }
.about-team p:not(.eyebrow) { max-width: 500px; }
.about-team h2 .text-red { white-space: nowrap; }

/* Responsive */

@media (max-width: 1360px) {
  .about-intro { gap: 32px; }
  .about-intro__img { width: 48%; height: auto; aspect-ratio: 611 / 400; }
  .about-team { gap: 40px; }
  .about-team__img { width: 52%; }
}

@media (max-width: 1024px) {
  .about-intro { align-items: flex-start; padding-top: 64px; }
  .about-team { align-items: flex-start; padding: 64px 0; }
  .mvv { grid-template-columns: 1fr; margin-top: 48px; }
}

@media (max-width: 680px) {
  .about-team h2 { font-size: 32px; }
  .mvv-card { padding: 24px; column-gap: 16px; }
}

/* ==== pages/contact.css ==== */
/* Página Contacto. */

/* ---------- Contacto ---------- */
.help-hub { width: var(--wrap); margin: 0 auto; padding: 88px 0 0; }
.help-hub__head .eyebrow { font-size: 14px; line-height: 1.4; letter-spacing: 0.08em; }
.help-hub__head h2 { margin-top: 12px; color: var(--ink); font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.help-hub__head p:not(.eyebrow) { margin-top: 14px; color: var(--gray); font-size: 17px; line-height: 1.6; }

/* Accesos rápidos: mismas tarjetas de borde suave que el inicio */
.help-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.help-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #fff;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.help-card > img:first-child { grid-row: 1 / 3; justify-self: center; width: auto; max-width: 34px; height: auto; max-height: 36px; }
.help-card strong { align-self: end; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.help-card span { grid-column: 2; align-self: start; margin-top: 4px; color: var(--gray); font-size: 15px; line-height: 1.5; }
.help-card__go { grid-column: 3; grid-row: 1 / 3; transition: transform 160ms var(--ease-out); }
.help-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .help-card:hover { border-color: #c9c9c9; }
  .help-card:hover .help-card__go { transform: translateX(3px); }
}

.contact-box {
  display: flex;
  align-items: stretch;
  gap: 48px;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #fff;
}
.contact-box h3 { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; }
.contact-box ul { display: grid; gap: 10px; margin-top: 16px; }
.contact-box li { display: flex; align-items: flex-start; gap: 10px; color: var(--gray-dark); font-size: 15px; line-height: 1.5; }
.contact-box li img { flex: none; margin-top: 3px; }
.contact-box li a { transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .contact-box li a:hover { color: var(--red); }
}
.contact-box__rule { flex: none; width: 1px; background: #ececec; }
.contact-box__agencies { flex: 1; min-width: 0; }
.contact-box__agencies ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 48px; }
.contact-box__agencies li img { width: 16px; height: auto; margin-top: 2px; }
.contact-box__agencies strong { color: var(--ink); font-weight: 600; }

.talk {
  display: flex;
  align-items: center;
  gap: 64px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 88px 0;
}
.talk__img { flex: none; width: 600px; height: auto; aspect-ratio: 3 / 2; border-radius: 24px; object-fit: cover; }
.talk__copy .eyebrow { font-size: 14px; line-height: 1.4; letter-spacing: 0.08em; }
.talk__copy h2 { margin-top: 12px; color: var(--ink); font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.talk__copy p:not(.eyebrow) { max-width: 480px; margin-top: 18px; color: var(--gray); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.btn--wa {
  height: 54px;
  margin-top: 32px;
  padding: 0 30px 0 22px;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.btn--wa:active { transform: scale(0.97); }
.btn--wa img { flex: none; width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: #1ebe5b; }
}

/* Responsive */

@media (max-width: 1360px) {
  .talk { gap: 40px; }
  .talk__img { width: 48%; }
}

@media (max-width: 1200px) {
  .help-cards { gap: 16px; }
  .help-card { padding: 20px; column-gap: 14px; }
  .contact-box { gap: 32px; }
}

@media (max-width: 1024px) {
  .about-intro, .about-team, .talk { flex-direction: column; gap: 32px; }
  .help-hub { padding-top: 64px; }
  .talk { align-items: flex-start; padding: 64px 0; }
  .help-cards { grid-template-columns: 1fr; }
  .contact-box__agencies ul { grid-template-columns: 1fr; }
  .about-intro__img, .about-team__img, .talk__img { width: 100%; }
  .about-team__copy, .talk__copy { margin-left: 0; }
}

@media (max-width: 680px) {
  .talk__copy p br, .mvv-card p br { display: none; }
  .about-intro h2, .help-hub__head h2, .talk__copy h2 { font-size: 32px; }
  .help-cards { grid-template-columns: 1fr; }
  .help-card { padding: 20px; }
  .contact-box { flex-direction: column; gap: 24px; padding: 24px; }
  .contact-box__rule { width: auto; height: 1px; }
  .contact-box__agencies ul { grid-template-columns: 1fr; }
  .btn--wa { width: 100%; margin-left: 0; }
}

/* ==== pages/claims.css ==== */
/* Libro de reclamaciones. */

/* ---------- Libro de reclamaciones ---------- */
.claims { max-width: 1440px; margin: 0 auto; padding: 45px 16px 38px; }
.claims__intro { max-width: 860px; margin: 0 auto; color: var(--gray); font-size: 17px; line-height: 1.6; text-align: center; text-wrap: pretty; }
.claims-form { width: min(955px, 100%); margin: 54px auto 0; }
.claims-form h2 { margin: 34px 0 0 -3px; font-size: 22px; font-weight: 700; color: var(--ink); }
.claims-row { display: grid; grid-template-columns: repeat(3, 307px); column-gap: 17px; margin-top: 24px; }
.claims-row--first { grid-template-columns: 307px 307px; column-gap: 21px; margin-top: 0; }
.claims-row--address { grid-template-columns: 307px 173px 193px 216px; column-gap: 21px; }
.claims-row--good { grid-template-columns: 301px 306px 306px; column-gap: 20px; margin-top: 12px; }
.claims-row--good + .claims-row--good { margin-top: 22px; }
.claims-h2-gap { margin-top: 24px !important; }
.claims-field { display: flex; flex-direction: column; gap: 4px; }
.claims-field > span:first-child { color: #53545c; font-size: 15px; font-weight: 700; }
.claims-field input,
.claims-field select,
.claims-field textarea {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #252a34;
  font-size: 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 160ms ease;
}
.claims-field textarea { height: 125px; padding: 12px 15px; resize: vertical; }
.claims-field input::placeholder,
.claims-field textarea::placeholder { color: rgba(37, 42, 52, 0.5); }
.claims-field select:invalid { color: rgba(37, 42, 52, 0.5); }
.claims-field input:focus,
.claims-field select:focus,
.claims-field textarea:focus { border-color: var(--red); }
.claims-select { position: relative; display: block; }
.claims-select img { position: absolute; right: 19px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.claims-field--full { margin-top: 16px; }

.claims-type { display: flex; gap: 27px; margin-top: 20px; }
.radio { position: relative; display: inline-flex; align-items: center; gap: 5px; color: #505050; font-size: 18px; font-weight: 700; cursor: pointer; }
.radio input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; cursor: pointer; }
.radio__mark { position: relative; display: grid; place-items: center; width: 16px; height: 16px; }
.radio__mark img { grid-area: 1 / 1; }
.radio__dot { opacity: 0; transition: opacity 150ms ease; }
.radio input:checked + .radio__mark .radio__dot { opacity: 1; }
.radio input:checked + .radio__mark .radio__off { opacity: 0; }
.radio input:focus-visible + .radio__mark { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 50%; }
.btn--claim { display: flex; width: 257px; height: 40px; margin: 38px auto 0; font-size: 20px; font-weight: 700; }

/* Responsive */

@media (max-width: 1200px) {
  .claims-row, .claims-row--first, .claims-row--address, .claims-row--good { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 16px; }
}

@media (max-width: 680px) {
  .claims-row, .claims-row--first, .claims-row--address, .claims-row--good { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  .radio { padding: 8px 0; }
}

/* ==== pages/quote.css ==== */
/* Página Cotizar. */

/* ---------- Cotizar ---------- */
.quote-page { position: relative; max-width: 1440px; margin: 0 auto; padding: 72px 0 88px; overflow: hidden; }
/* Ilustración de fondo muy tenue a ambos lados del formulario */
.quote-page__bg { position: absolute; top: 240px; width: 640px; height: 426px; opacity: 0.06; object-fit: cover; pointer-events: none; }
.quote-page__bg--left { left: 90px; }
.quote-page__bg--right { left: 710px; }
.quote-form.quote-form--page {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px;
  border-color: #e6e6e6;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.12);
}
.quote-form--page .quote-form__grid { margin-top: 0; }

/* Beneficios: misma fila de íconos y textos que la banda de "Cómo funciona" del inicio */
.perks-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 40px;
  width: min(1100px, calc(100% - 32px));
  margin: 72px auto 0;
}
.perk { display: flex; align-items: center; gap: 16px; }
.perk .check { width: 44px; height: 44px; }
.perk .check img:first-child { width: 44px; height: 44px; }
.perk .check img + img { width: 24px; height: 24px; }
.perk strong { display: block; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.perk div span { display: block; margin-top: 4px; color: var(--gray); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.perks-row__rule { align-self: stretch; width: 1px; background: #e6e6e6; }

/* Responsive */

@media (max-width: 1024px) {
  .quote-form { width: 100%; }
  .quote-form__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .quote-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .quote-page__bg { display: none; }
  .perks-row { column-gap: 24px; }
}

@media (max-width: 1024px) {
  .perks-row { grid-template-columns: minmax(0, 1fr); row-gap: 24px; width: min(480px, calc(100% - 32px)); margin-top: 56px; }
  .perks-row__rule { display: none; }
}

@media (max-width: 680px) {
  .quote-page { padding-top: 48px; }
  .quote-form.quote-form--page { padding: 24px 16px; }
}

