/* ===========================================================
   Transporte Lapiru SRL — hoja de estilos
   Mobile-first: la mayoría del tráfico llega del link de Instagram.
   =========================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Paleta tomada del logo de Lapiru:
   --blue       azul del logotipo (TRANSPORTE LAPIRU)        #3D67EC
   --navy       azul profundo del isotipo (extremo oscuro)   #0B1638
   --navy-soft  tono medio del degradado del isotipo         #10308A
   --blue-lt    azul claro del isotipo / textos sobre oscuro #A9BCF5
   --paper      blanco roto de la marca                      #F4F6FB
   Un solo gris frío para textos secundarios (--ink-soft).
   El verde de WhatsApp solo vive en su botón. */
:root {
  --navy: #0b1638;
  --navy-deep: #070f28;
  --navy-soft: #10308a;
  --blue: #3d67ec;
  --blue-hover: #2b52d4;
  --blue-lt: #a9bcf5;
  --paper: #f4f6fb;
  --paper-warm: #fafbfe;
  --ink: #0b1638;
  --ink-soft: #52607f;
  --line: #dde3f3;
  --wa: #25d366;
  --wa-hover: #1eb457;
  --maxw: 1180px;
  --r: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(11, 22, 56, 0.04), 0 12px 32px -12px rgba(11, 22, 56, 0.18);
  --shadow-lift: 0 2px 4px rgba(11, 22, 56, 0.06), 0 30px 60px -20px rgba(11, 22, 56, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper-warm);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* espacio para la barra fija de WhatsApp en mobile */
  padding-bottom: 84px;
}

img,
video {
  display: block;
  max-width: 100%;
  /* height:auto es imprescindible: sin esto el atributo height="" del HTML
     gana sobre aspect-ratio y las imágenes salen a su alto natural. */
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.on-dark {
  color: var(--blue-lt);
}

h2 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 14px;
}
.hl {
  color: var(--blue);
}

.lead {
  font-size: clamp(17px, 3.6vw, 20px);
  color: var(--ink-soft);
  max-width: 62ch;
}
.lead.on-dark {
  color: #a9bcf5;
}

section {
  padding: 72px 0;
  position: relative;
}

.head {
  margin-bottom: 40px;
}
.head-split {
  display: grid;
  gap: 14px;
  align-items: end;
}

.link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

/* ---------- motivo gráfico de la marca: la ruta ---------- */
/* Estelas diagonales sutiles, sólo sobre fondos oscuros grandes. */
.route-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -28deg,
    transparent 0 140px,
    rgba(169, 188, 245, 0.045) 140px 142px
  );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

/* ---------- aparición en cascada al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal[data-delay="4"] { --d: 4; }
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* si el JS no corre, que la web se lea igual */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- barra de progreso de scroll ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- cursor con halo (sólo escritorio con mouse) ---------- */
.cursor {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 1.5px solid rgba(61, 103, 236, 0.55);
    background: rgba(61, 103, 236, 0.06);
    pointer-events: none;
    z-index: 70;
    opacity: 0; /* oculto hasta el primer movimiento (evita el punto en 0,0) */
    transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease);
    will-change: transform;
  }
  .cursor.is-ready {
    opacity: 1;
  }
  .cursor.is-hot {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    background: rgba(61, 103, 236, 0.12);
  }
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s var(--ease), box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px);
}
.btn-wa {
  background: var(--wa);
  color: #06331a;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.6);
}
.btn-wa:hover {
  background: var(--wa-hover);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.34);
}
.btn-ghost:hover {
  border-color: #fff;
}
.btn-solid {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(61, 103, 236, 0.7);
}
.btn-solid:hover {
  background: var(--blue-hover);
}
.btn-sm {
  padding: 11px 18px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.btn svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- encabezado ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 22, 56, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}
.top.is-scrolled {
  background: rgba(11, 22, 56, 0.94);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand img {
  height: 38px;
  width: auto;
}
.nav {
  display: none;
  gap: 26px;
}
.nav a {
  color: #c9d5f8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-tel {
  display: none;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.top-tel:hover {
  color: var(--blue-lt);
}

/* ---------- 4.1 portada a pantalla completa ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--navy-deep);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 22, 56, 0.88) 0%, rgba(11, 22, 56, 0.55) 55%, rgba(11, 22, 56, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 22, 56, 0.35) 0%, rgba(11, 22, 56, 0.1) 40%, rgba(7, 15, 40, 0.95) 100%);
}
.hero-inner {
  padding-top: 120px;
  padding-bottom: 40px;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(38px, 8.6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero p {
  font-size: clamp(17px, 3.8vw, 21px);
  color: #c9d5f8;
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 15, 40, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  padding: 18px 0;
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats strong {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stats li > span {
  font-size: 13px;
  font-weight: 600;
  color: #a9bcf5;
}

/* ---------- 4.2 trayectoria ---------- */
.story {
  background: var(--paper-warm);
}
.story-grid {
  display: grid;
  gap: 34px;
  align-items: center;
  margin-bottom: 56px;
}
.story h2 {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}
.big-num {
  font-size: clamp(88px, 22vw, 168px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--blue);
  margin-bottom: 8px;
}
.story-photo {
  position: relative;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
}
.ph-story {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* línea de tiempo horizontal animada */
.timeline {
  list-style: none;
  display: grid;
  gap: 26px;
  position: relative;
  padding-top: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 1.6s var(--ease);
}
.timeline.is-in::after {
  transform: scaleY(1);
}
.timeline li {
  position: relative;
  padding-left: 34px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.timeline.is-in li::before {
  transform: scale(1);
}
.timeline.is-in li:nth-child(1)::before { transition-delay: 0.15s; }
.timeline.is-in li:nth-child(2)::before { transition-delay: 0.5s; }
.timeline.is-in li:nth-child(3)::before { transition-delay: 0.85s; }
.timeline.is-in li:nth-child(4)::before { transition-delay: 1.2s; }
.tl-year {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.timeline h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.timeline p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- 4.3 servicios (fondo oscuro) ---------- */
.services {
  background:
    radial-gradient(90% 50% at 90% 0%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.services .head-split .lead {
  max-width: 44ch;
}
.svc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.svc {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
  will-change: transform;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  border-color: rgba(169, 188, 245, 0.4);
}
.svc img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.svc:hover img {
  transform: scale(1.04);
}
.ph-svc {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  border-width: 0 0 2px;
}
.svc-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--blue-lt);
  margin-bottom: 10px;
}
.svc h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 8px;
}
.svc p {
  font-size: 16px;
  color: #c9d5f8;
}
.svc-routes {
  margin-top: 10px;
  font-size: 14px !important;
  font-weight: 600;
}
.more {
  align-self: flex-start;
  margin-top: 14px;
  background: none;
  border: 0;
  font-weight: 800;
  color: var(--blue-lt);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}
.more[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}
.more-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.more-panel > * {
  overflow: hidden;
  min-height: 0;
}
.more[aria-expanded="true"] + .more-panel {
  grid-template-rows: 1fr;
}
.more-panel p {
  padding-top: 12px;
  font-size: 15px;
}
.svc-featured {
  border-color: rgba(61, 103, 236, 0.6);
  background: linear-gradient(180deg, rgba(61, 103, 236, 0.16), rgba(255, 255, 255, 0.04));
}
.svc-promo {
  border: 2px solid var(--blue);
}
.svc-soon {
  opacity: 0.78;
  border: 2px dashed rgba(169, 188, 245, 0.4);
  background: transparent;
}
.svc-soon:hover {
  transform: none;
  box-shadow: none;
}
/* la imagen del crossdocking va atenuada porque el servicio es "próximamente" */
.svc-soon-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.8);
  opacity: 0.85;
  transition: none;
}
.svc-soon:hover .svc-soon-img {
  transform: none;
}
.svc-soon .btn {
  align-self: flex-start;
  margin-top: 18px;
}
.svc-soon h3 {
  margin-top: 12px;
}
.promo {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.promo-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px !important;
}
.tag-soon {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-lt);
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---------- 4.4 flota y capacidad ---------- */
.fleet {
  background: var(--paper);
}
.fleet-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.unit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.unit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.unit img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* la foto del semi es apaisada: en el recorte vertical se prioriza el tractor */
.unit:nth-child(4) img {
  object-position: 68% 50%;
}
.unit-body {
  padding: 18px 20px 22px;
}
.unit h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.cap-n {
  font-size: clamp(44px, 9vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--blue);
}
.cap-l {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.unit p {
  font-size: 15px;
  color: var(--ink-soft);
}
.fleet-foot {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}
.fleet-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}
.fleet-quote {
  font-size: clamp(19px, 3.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
.fleet-quote strong {
  color: var(--blue);
  font-weight: 900;
}

/* ---------- especialidad ---------- */
.spec {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.spec-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
.spec-photo img {
  border-radius: var(--r);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.spec blockquote {
  border-left: 5px solid var(--blue);
  padding-left: 20px;
  margin-top: 24px;
  font-size: clamp(18px, 3.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

/* ---------- 4.5 por qué + mapa ---------- */
.why {
  background: var(--paper-warm);
}
.why-grid {
  display: grid;
  gap: 40px;
}
.reasons {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.reason {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.reason-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(61, 103, 236, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.reason-ico svg {
  width: 24px;
  height: 24px;
}
.reason h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.reason p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.reason strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-left: 4px solid var(--blue);
  padding-left: 13px;
}

/* mapa estilizado de Argentina */
.map {
  background: var(--navy);
  border-radius: var(--r);
  padding: 26px 18px 18px;
  color: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  position: relative;
}
.map svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.map-land {
  fill: rgba(169, 188, 245, 0.1);
  stroke: rgba(169, 188, 245, 0.5);
  stroke-width: 0.8;
  stroke-linejoin: round;
}
.routes .route {
  stroke: var(--blue);
  stroke-width: 1.4;
  stroke-dasharray: 3 2.2;
  /* el trazo se dibuja al entrar en pantalla (ver app.js) */
  opacity: 0;
  transition: opacity 0.4s ease;
}
.map.is-in .routes .route {
  opacity: 1;
}
.cities circle {
  fill: #fff;
  opacity: 0;
  transition: opacity 0.4s ease 1.2s;
}
.cities text {
  font-size: 5.6px;
  font-weight: 700;
  fill: #c9d5f8;
  opacity: 0;
  transition: opacity 0.5s ease 1.4s;
}
.map.is-in .cities circle,
.map.is-in .cities text {
  opacity: 1;
}
.hub-dot {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 1;
}
.hub text {
  font-size: 7px;
  font-weight: 900;
  fill: #fff;
  letter-spacing: 0.02em;
}
.hub-pulse {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  animation: pulse 2.6s ease-out infinite;
  transform-origin: 90.3px 172.2px;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4); opacity: 0; }
}
.map figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: #a9bcf5;
  text-align: center;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 4.6 cotizador ---------- */
.quote {
  background:
    radial-gradient(80% 45% at 10% 0%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.quote-grid {
  display: grid;
  gap: 22px;
}
.qform {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
  border: 0;
  min-width: 0;
}
.field label,
.field legend {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.field legend {
  margin-bottom: 8px;
}
.field label small {
  font-weight: 500;
  color: var(--blue-lt);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(7, 15, 40, 0.6);
  border: 1.5px solid rgba(169, 188, 245, 0.3);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #a9bcf5 50%), linear-gradient(135deg, #a9bcf5 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option {
  color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(169, 188, 245, 0.55);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 103, 236, 0.25);
}
.field input[type="number"] {
  -moz-appearance: textfield;
}
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.field.is-invalid input {
  border-color: #ff8a8a;
}
.km-row {
  display: grid;
  gap: 10px;
}
.km-row .btn {
  white-space: nowrap;
}
.hint {
  font-size: 13px;
  color: var(--blue-lt);
  line-height: 1.45;
}
.hint a {
  color: #fff;
  font-weight: 700;
}
.field-row {
  display: grid;
  gap: 20px;
}

.portes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.porte input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.porte-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(169, 188, 245, 0.3);
  background: rgba(7, 15, 40, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.3s var(--ease), box-shadow 0.2s ease;
  height: 100%;
}
.porte-card svg {
  width: 100%;
  max-width: 72px;
  height: 36px;
  fill: none;
  stroke: var(--blue-lt);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 8px;
  transition: stroke 0.2s ease;
}
.porte-card b {
  font-size: 15px;
  font-weight: 800;
}
.porte-card small {
  font-size: 12px;
  color: var(--blue-lt);
  font-weight: 600;
}
.porte:hover .porte-card {
  border-color: rgba(169, 188, 245, 0.7);
  transform: translateY(-2px);
}
.porte input:checked + .porte-card {
  border-color: var(--blue);
  background: rgba(61, 103, 236, 0.22);
  box-shadow: 0 0 0 4px rgba(61, 103, 236, 0.2);
}
.porte input:checked + .porte-card svg {
  stroke: #fff;
}
.porte input:focus-visible + .porte-card {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(61, 103, 236, 0.14);
  border: 1px solid rgba(61, 103, 236, 0.4);
}
.check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--blue);
}
.q-error {
  font-size: 14px;
  font-weight: 700;
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 138, 138, 0.4);
  padding: 10px 14px;
  border-radius: 12px;
}

/* panel de resultado */
.qresult {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 24px 22px;
  display: grid;
  gap: 20px;
  align-content: start;
  box-shadow: var(--shadow-lift);
}
.qr-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.qr-big {
  font-size: clamp(27px, 7vw, 44px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
  overflow-wrap: anywhere;
}
.qr-big.is-swap {
  opacity: 0;
  transform: translateY(8px);
}
.qr-muted {
  color: var(--line);
}
.qr-help {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.qr-disc {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(61, 103, 236, 0.08);
  border: 1px solid rgba(61, 103, 236, 0.3);
}
.qr-disc .promo {
  margin-bottom: 8px;
}
.qr-disc-range {
  font-size: 15px;
  color: var(--ink-soft);
}
.qr-disc-range strong {
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.qr-disc-text {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}
.qr-detail {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.qr-detail summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
  list-style: none;
}
.qr-detail summary::-webkit-details-marker {
  display: none;
}
.qr-detail summary::after {
  content: " ↓";
}
.qr-detail[open] summary::after {
  content: " ↑";
}
.qr-detail ul {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.qr-detail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.qr-detail li b {
  color: var(--ink);
  white-space: nowrap;
}
.qr-notes {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.qr-notes strong {
  color: var(--ink);
}
.quote-foot {
  margin-top: 28px;
  font-size: 14px;
  color: #a9bcf5;
  max-width: 70ch;
}
.quote-foot a {
  color: #fff;
  font-weight: 700;
}

/* ---------- pasos ---------- */
.how {
  background: var(--paper);
}
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: paso;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  counter-increment: paso;
  box-shadow: var(--shadow-card);
}
.step::before {
  content: "0" counter(paso);
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 10px;
}
.step p {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- 4.7 presentes en el deporte ---------- */
.sport {
  /* textura generada de red de vóley, muy oscura, debajo del azul de la marca */
  background:
    radial-gradient(80% 45% at 90% 100%, rgba(16, 48, 138, 0.75) 0%, rgba(11, 22, 56, 0) 60%),
    linear-gradient(180deg, rgba(11, 22, 56, 0.78) 0%, rgba(11, 22, 56, 0.9) 100%),
    var(--navy) url("img/deporte-fondo.webp?v=20260905e") center / cover no-repeat;
  color: #fff;
}
.sport .lead.on-dark {
  margin-bottom: 0;
}
.sport-intro {
  display: grid;
  gap: 26px;
  align-items: center;
  margin-bottom: 44px;
}
.sport-intro p {
  font-size: clamp(16px, 3.4vw, 18px);
  color: #c9d5f8;
  max-width: 60ch;
}
/* placeholders de imagen: bloque con proporción, borde punteado y rótulo */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: var(--r);
  border: 2px dashed rgba(169, 188, 245, 0.45);
  background: rgba(169, 188, 245, 0.08);
  color: var(--blue-lt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ph-dark {
  background: rgba(11, 22, 56, 0.06);
  border-color: rgba(61, 103, 236, 0.45);
  color: var(--blue);
}
.services .ph-dark {
  background: rgba(169, 188, 245, 0.08);
  border-color: rgba(169, 188, 245, 0.45);
  color: var(--blue-lt);
}
.ph-team {
  width: 100%;
  aspect-ratio: 4 / 3;
}
/* fotos reales del deporte */
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.team-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 12px;
}
.teams {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.team {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.team:hover {
  transform: translateY(-6px);
  border-color: rgba(169, 188, 245, 0.4);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
}
.team-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ph-shield {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.04em;
}
/* escudos reales de los equipos */
.shield {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.team-role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-lt);
}
.team h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ph-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.team p {
  font-size: 16px;
  color: #c9d5f8;
  flex: 1;
}
.btn-ig {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.34);
  padding: 12px 20px;
  font-size: 15px;
  align-self: flex-start;
}
.btn-ig:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.team.soon {
  opacity: 0.72;
  border: 2px dashed rgba(169, 188, 245, 0.4);
  background: transparent;
}
.team.soon:hover {
  transform: none;
  box-shadow: none;
}
.sport-close {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sport-close p {
  font-size: clamp(18px, 3.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

/* ---------- 4.8 testimonios ---------- */
.testi {
  background: var(--paper-warm);
}
.testi-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  color: rgba(61, 103, 236, 0.12);
}
.stars {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.quote-card blockquote {
  font-size: clamp(17px, 3.6vw, 19px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
  flex: 1;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.quote-card figcaption b {
  display: block;
  font-weight: 800;
}
.quote-card figcaption small {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}
/* iniciales en círculo de color en lugar de retratos */
.avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--blue);
}
.avatar.tone-2 {
  background: var(--navy-soft);
}
.avatar.tone-3 {
  background: var(--navy);
}

/* ---------- 4.9 contacto ---------- */
.contact {
  background:
    radial-gradient(110% 60% at 50% 0%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 66%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.contact-grid {
  display: grid;
  gap: 34px;
}
.contact-main {
  text-align: center;
}
.contact h2 {
  margin-bottom: 10px;
}
.contact .tel {
  display: inline-block;
  font-size: clamp(38px, 9vw, 62px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
  margin: 18px 0 8px;
  transition: color 0.2s ease;
}
.contact .tel:hover {
  color: var(--blue-lt);
}
.contact .razon {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin: 0 0 28px;
}
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  margin-bottom: 38px;
}
.qr {
  display: inline-block;
  background: #fff;
  padding: 14px;
  border-radius: 18px;
}
.qr img {
  width: 156px;
  height: 156px;
}
.qr-note {
  font-size: 14px;
  color: #a9bcf5;
  margin-top: 12px;
}
.chat-link {
  font-size: 15px;
  color: #a9bcf5;
  margin: -22px 0 34px;
}
.chat-link a {
  color: #fff;
  font-weight: 700;
}
/* el botón del asistente vive abajo a la izquierda; en escritorio no hay
   barra fija, así que baja a la altura del botón de WhatsApp */
@media (min-width: 980px) {
  .lc-root {
    bottom: 26px !important;
  }
}
.cform {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 16px;
  text-align: left;
}
.cform h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cform .hint {
  text-align: center;
}

/* ---------- pie ---------- */
footer {
  background: var(--navy-deep);
  color: #8fa2d6;
  padding: 34px 0 40px;
  font-size: 14px;
}
footer .wrap {
  display: grid;
  gap: 14px;
}
footer img {
  height: 42px;
  width: auto;
  opacity: 0.85;
}
footer a {
  color: #a9bcf5;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ---------- WhatsApp flotante (escritorio) y barra fija (mobile) ---------- */
.wa-float {
  display: none;
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #06331a;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--wa-hover);
}
.sticky-wa {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 15, 40, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sticky-wa .btn {
  width: 100%;
}

/* ===========================================================
   Tablet
   =========================================================== */
@media (min-width: 720px) {
  section {
    padding: 96px 0;
  }
  .head-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 0;
  }
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc img,
  .ph-svc {
    aspect-ratio: 16 / 10;
  }
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .teams {
    grid-template-columns: repeat(3, 1fr);
  }
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .fleet-foot {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 40px;
  }
  .km-row {
    grid-template-columns: 1fr auto;
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .portes {
    grid-template-columns: repeat(4, 1fr);
  }
  .top-tel {
    display: block;
  }
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding-top: 34px;
  }
  .timeline::before,
  .timeline::after {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .timeline::after {
    transform: scaleX(0);
    transform-origin: 0 50%;
  }
  .timeline.is-in::after {
    transform: scaleX(1);
  }
  .timeline li {
    padding-left: 0;
    padding-top: 0;
  }
  .timeline li::before {
    left: 0;
    top: -35px;
  }
}

/* ===========================================================
   Escritorio
   =========================================================== */
@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }
  .sticky-wa {
    display: none;
  }
  .wa-float {
    display: grid;
  }
  .nav {
    display: flex;
  }
  .hero-inner {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 22, 56, 0.9) 0%, rgba(11, 22, 56, 0.55) 50%, rgba(11, 22, 56, 0.15) 100%),
      linear-gradient(180deg, rgba(11, 22, 56, 0.4) 0%, rgba(11, 22, 56, 0.05) 45%, rgba(7, 15, 40, 0.95) 100%);
  }
  .story-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
  /* la foto se superpone levemente al texto: composición editorial */
  .story-photo {
    margin-left: -40px;
  }
  .svc-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .svc:nth-child(1),
  .svc:nth-child(2) {
    grid-column: span 3;
  }
  .svc:nth-child(3) {
    grid-column: span 4;
  }
  .svc:nth-child(4) {
    grid-column: span 2;
  }
  .svc:nth-child(5) {
    grid-column: span 6;
    display: grid;
    grid-template-columns: 34% 1fr;
    align-items: stretch;
  }
  .svc:nth-child(5) .svc-soon-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
  .svc:nth-child(5) .svc-body {
    /* con la imagen a la izquierda, el texto va en columna (ya no cabe en tres columnas) */
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 30px;
  }
  .svc:nth-child(5) .svc-body p {
    max-width: 62ch;
  }
  .svc:nth-child(5) .tag-soon {
    grid-row: 1;
  }
  .svc:nth-child(5) h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .svc:nth-child(5) p {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .svc:nth-child(5) .btn {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .svc img,
  .ph-svc {
    aspect-ratio: 16 / 9;
  }
  .svc:nth-child(4) img,
  .svc:nth-child(4) .ph-svc {
    aspect-ratio: 4 / 3;
  }
  .fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .unit img {
    aspect-ratio: 4 / 5;
  }
  .spec-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
  }
  .map {
    position: sticky;
    top: 92px;
  }
  .quote-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
  }
  .qform {
    padding: 28px;
  }
  .qresult {
    position: sticky;
    top: 92px;
    padding: 30px 28px;
  }
  .sport-intro {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .contact-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .contact-main {
    text-align: left;
  }
  .contact-cta {
    justify-content: flex-start;
  }
  .qr-box {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .qr-note {
    margin-top: 0;
    max-width: 18ch;
  }
  footer .wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
  }
}

/* ===========================================================
   Ronda 2 · secciones nuevas (mismos tokens, mismo ritmo)
   =========================================================== */

/* ---------- misión, visión y valores (dentro de trayectoria) ---------- */
.mv {
  display: grid;
  gap: 18px;
  margin-top: 56px;
}
.mv-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.mv-block h3 {
  font-size: clamp(19px, 3.6vw, 23px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.mv-block p {
  font-size: 16px;
  color: var(--ink-soft);
}
.values {
  margin-top: 44px;
}
.values-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.value {
  background: var(--paper);
  border-radius: var(--r);
  padding: 22px 22px 24px;
  border-left: 4px solid var(--blue);
}
.value h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.value p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- agro y cereales ---------- */
.agro {
  background: var(--paper);
}
.agro-top {
  display: grid;
  gap: 30px;
  align-items: center;
  margin-bottom: 44px;
}
.agro-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
}
.agro-open p {
  font-size: clamp(16px, 3.4vw, 18px);
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.agro-open .agro-key {
  font-size: clamp(19px, 3.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 5px solid var(--blue);
  padding-left: 18px;
  margin-bottom: 0;
}
.agro-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.agro-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.agro-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.agro-item h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.agro-item p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.agro-item em {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.agro-boxes {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.box-doc {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--r);
  padding: 20px 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.box-doc .eyebrow {
  margin-bottom: 8px;
}
.box-price {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-lift);
}
.box-price h3 {
  font-size: clamp(20px, 3.8vw, 24px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.box-price p {
  font-size: 15px;
  color: #c9d5f8;
  margin-bottom: 10px;
}
.box-price p:last-child {
  margin-bottom: 0;
}
.agro-close {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.agro-close > p {
  font-size: clamp(18px, 3.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 34ch;
  margin-bottom: 22px;
}
.agro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.chips-light {
  margin-top: 26px;
}
.chips-light li {
  background: #fff;
  color: var(--ink-soft);
}

/* ---------- en qué nos diferenciamos ---------- */
.compare {
  background:
    radial-gradient(80% 45% at 10% 100%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 60%),
    var(--navy);
  color: #fff;
}
.cmp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.cmp {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 26px 24px;
}
.cmp h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.cmp p {
  font-size: 16px;
  color: #c9d5f8;
}
.cmp-hl {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, rgba(61, 103, 236, 0.22), rgba(61, 103, 236, 0.06));
  box-shadow: 0 30px 60px -30px rgba(61, 103, 236, 0.6);
}
.cmp-hl h3 {
  color: #fff;
}
.cmp-hl p {
  color: #fff;
}

/* ---------- unidades fijas ---------- */
.fixed {
  background:
    radial-gradient(80% 45% at 90% 0%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.fixed-grid {
  display: grid;
  gap: 34px;
}
.fixed-text {
  font-size: 16px;
  color: #c9d5f8;
  margin: 18px 0 20px;
  max-width: 60ch;
}
.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: #fff;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.fixed-close {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  max-width: 48ch;
}

/* ---------- ficha de capacidad (formulario) ---------- */
.ficha {
  margin-top: 40px;
  border-radius: var(--r);
  padding: 26px 22px;
  display: grid;
  gap: 22px;
}
.ficha-light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.ficha-dark {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ficha-copy h3 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.ficha-copy p {
  font-size: 15px;
  color: var(--ink-soft);
}
.ficha-dark .ficha-copy p {
  color: #c9d5f8;
}
.ficha-form {
  display: grid;
  gap: 16px;
}
/* campos sobre fondo claro */
.ficha-light .field input,
.ficha-light .field select {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--line);
}
.ficha-light .field input::placeholder {
  color: var(--ink-soft);
}
.ficha-light .field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
}
.ficha-light .field label small {
  color: var(--ink-soft);
}
.ficha-light .q-error {
  color: #a32a1c;
  background: #fff1ef;
  border-color: #f3c8c0;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.ficha-done h3 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.ficha-done p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.ficha-dark .ficha-done p {
  color: #c9d5f8;
}
.ficha-done-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.link.on-dark {
  color: var(--blue-lt);
}
/* acceso corto a la ficha (en unidades fijas): sin formulario, lleva al único */
.ficha-cta {
  align-self: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 30px 28px;
}
.ficha-cta h3 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.ficha-cta p {
  font-size: 15px;
  color: #c9d5f8;
  margin-bottom: 20px;
}

/* ---------- dónde llegamos ---------- */
.coverage {
  background: var(--paper-warm);
}
.cov-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.cov {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
}
.cov h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.route-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(61, 103, 236, 0.1);
  padding: 4px 9px;
  border-radius: 999px;
}
.chip-base {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}
.cov-note {
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-lift);
}
.cov-note p {
  font-size: clamp(16px, 3.4vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  max-width: 70ch;
}

/* ---------- preguntas frecuentes ---------- */
.faq {
  background: var(--navy);
  color: #fff;
}
.faq-list {
  max-width: 860px;
}
.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  font-size: clamp(17px, 3.6vw, 19px);
  font-weight: 800;
  letter-spacing: -0.015em;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue-lt);
  border-bottom: 2px solid var(--blue-lt);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq details p {
  padding: 0 0 20px;
  font-size: 16px;
  color: #c9d5f8;
  max-width: 68ch;
}
.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- pie ---------- */
.foot-links a {
  line-height: 1.8;
}

/* ---------- página "Trabajá con nosotros" ---------- */
.jobs {
  background:
    radial-gradient(80% 45% at 90% 0%, var(--navy-soft) 0%, rgba(11, 22, 56, 0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  min-height: 70vh;
}
.jobs-grid {
  display: grid;
  gap: 34px;
}
.jobs-text {
  font-size: 16px;
  color: #c9d5f8;
  margin-top: 18px;
  max-width: 56ch;
}
.jobs .cform {
  text-align: left;
}
.jobs .cform h3 {
  margin-bottom: 4px;
}
.field input[type="file"] {
  padding: 10px 12px;
  font-size: 14px;
}
.field input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.jobs-note {
  font-size: 14px;
  color: var(--blue-lt);
  margin-top: 10px;
}

@media (min-width: 720px) {
  .mv {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .agro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cov-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ficha {
    padding: 30px 28px;
  }
}
@media (min-width: 980px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .agro-top {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
  .agro-boxes {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .cmp-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .fixed-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .ficha-light {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
  }
  .ficha-light .ficha-done {
    grid-column: 2;
  }
  .cov-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .jobs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* Sólo se apagan los efectos intrusivos; las apariciones y los hover se
   mantienen para que la web no quede plana en equipos con esta preferencia. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hub-pulse {
    animation: none;
    opacity: 0;
  }
  .reveal {
    transition-duration: 0.4s;
  }
}
