/* =========================================================
   RUTA 12 · sections.css
   Estilos por sección, en el orden en que aparecen
   ========================================================= */

/* ================= HERO ================= */
.hero {
  --road-h: clamp(92px, 14vh, 140px);
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  background: var(--paper);
}
.hero__frame {
  position: absolute; inset: 0; overflow: hidden;
  color: var(--white);
  clip-path: inset(0% 0% 0% 0% round 0px);
}
/* --- Cielos del ciclo del día (se funden con el scroll) --- */
.hero__sky { position: absolute; inset: 0; }
.hero__sky--dusk {
  background:
    radial-gradient(60% 45% at 78% 78%, rgba(226, 72, 12, .38), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 30%, var(--navy) 60%, var(--teal) 88%, #4E95A6 100%);
}
.hero__sky--night {
  opacity: 0;
  background:
    radial-gradient(50% 40% at 72% 22%, rgba(164, 204, 212, .14), transparent 70%),
    linear-gradient(180deg, #070D13 0%, #0C1620 40%, var(--ink) 70%, var(--ink-2) 100%);
}
.hero__sky--dawn {
  opacity: 0;
  background:
    radial-gradient(55% 45% at 22% 80%, rgba(242, 115, 61, .55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--teal) 42%, #7DB3C0 70%, #E9B79C 100%);
}
.hero__sky--day {
  opacity: 0;
  background:
    radial-gradient(45% 40% at 30% 30%, rgba(255, 255, 255, .35), transparent 70%),
    linear-gradient(180deg, var(--teal) 0%, #4F98AA 35%, var(--mist) 78%, #D6E8EC 100%);
}

/* Estrellas y luna (noche) */
.hero__stars { position: absolute; inset: 0 0 40% 0; opacity: 0; pointer-events: none; }
.hero__stars i {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hero__moon {
  position: absolute; right: 24%; top: 18%;
  width: clamp(56px, 6vw, 92px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset -20px 8px 0 0 #E4EEF0;
  filter: drop-shadow(0 0 22px rgba(228, 238, 240, .55));
  opacity: 0;
}
.hero__sun {
  position: absolute; right: 4%; bottom: calc(var(--road-h) + 9%);
  width: clamp(130px, 15vw, 250px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #F2733D 0%, var(--signal) 62%);
  box-shadow: 0 0 140px 50px rgba(226, 72, 12, .32);
}
.hero__sun--dawn {
  right: auto; left: 16%; bottom: calc(var(--road-h) + 6%);
  width: clamp(110px, 12vw, 200px);
  background: radial-gradient(circle at 45% 40%, #FFD0B5 0%, #F2733D 45%, var(--signal) 75%);
  box-shadow: 0 0 120px 40px rgba(242, 115, 61, .35);
  opacity: 0; /* animations.js la coloca bajo el horizonte y la hace salir */
}

/* Matiz sobre el paisaje: oscurece de noche, aclara de día */
.hero__tint {
  position: absolute; left: 0; right: 0; bottom: var(--road-h); height: 56%;
  pointer-events: none; opacity: 0;
}
.hero__tint--night { background: linear-gradient(180deg, rgba(10, 18, 25, 0) 0%, #0A1219 40%); mix-blend-mode: multiply; }
.hero__tint--day   { background: linear-gradient(180deg, rgba(164, 204, 212, 0) 0%, var(--mist) 40%); mix-blend-mode: screen; }
.hero__layer {
  position: absolute; left: 0; width: 150%; will-change: transform;
  bottom: calc(var(--road-h) - 2px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 100%;
  pointer-events: none;
}
/* Lejana: Iztaccíhuatl y Popocatépetl · Media: sierra · Cercana: agaves, órganos y huizaches */
.hero__layer--far  { height: 36%; background-image: url("../img/hero/capa-lejana.svg"); background-position: -120px 100%; }
.hero__layer--mid  { height: 22%; width: 250%; background-image: url("../img/hero/capa-media.svg"); }
.hero__layer--near { height: 21%; width: 360%; background-image: url("../img/hero/capa-cercana.svg"); }

.hero__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--road-h);
  background: linear-gradient(180deg, #0F1A24 0%, var(--ink) 100%);
  border-top: 4px solid #0B141C;
}
.hero__road-line {
  position: absolute; left: 0; right: 0; top: 46%; height: 6px;
  background: repeating-linear-gradient(90deg, var(--mist) 0 64px, transparent 64px 128px);
  opacity: .75;
}
.hero__van {
  position: absolute; z-index: 3;
  left: 5%; bottom: calc(var(--road-h) * .30);
  width: clamp(260px, 32vw, 520px);
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .35));
  will-change: transform;
}
.hero__van img { width: 100%; position: relative; }
/* Carga en el techo: mismo sistema de coordenadas que la foto (1132 px de ancho).
   El SVG abarca y = -190…24, así que se sube 190/478 de la altura de la foto. */
.hero__van img.hero__cargo {
  position: absolute; left: 0; top: -39.75%; width: 100%; z-index: 1;
  animation: cargo-ride .9s ease-in-out infinite;
}
@keyframes cargo-ride { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
/* Luz de los faros (se enciende de noche) */
.hero__beam {
  position: absolute; left: 95%; top: 33%;
  width: 75%; height: 40%;
  background: linear-gradient(90deg, rgba(255, 236, 190, .65), rgba(255, 236, 190, 0) 95%);
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%);
  filter: blur(3px);
  opacity: 0;
}

/* Textos por momento del día */
.hero__captions {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(var(--nav-h) + 6vh);
  pointer-events: none;
}
.hero__caption {
  position: absolute; top: 0; left: 0; max-width: 34rem;
  opacity: 0;
  text-shadow: 0 2px 18px rgba(10, 18, 25, .35);
}
.hero__caption h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1; margin-bottom: 1rem; }
.hero__caption > p:last-child { font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(255, 255, 255, .88); max-width: 40ch; }
.hero__caption .eyebrow { text-shadow: none; }
/* De día el cielo es claro: texto en azul marino */
.hero__caption--day { color: var(--ink); text-shadow: 0 1px 14px rgba(214, 232, 236, .6); }
.hero__caption--day .eyebrow { color: var(--ink-2); }
.hero__caption--day > p:last-child { color: var(--ink-2); }
@media (max-width: 900px) {
  .hero__captions { top: calc(var(--nav-h) + 3vh); }
  .hero__caption { right: 0; }
}

/* Reloj del viaje */
.hero__clock {
  position: absolute; z-index: 4; left: 50%; bottom: calc(var(--road-h) * .5 - 34px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .35rem; border-radius: 999px;
  background: rgba(10, 18, 25, .6); border: 1px solid var(--line-light);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mist); white-space: nowrap; opacity: 0;
}
.hero__clock i { font-size: 1.05rem; color: var(--signal); }
.hero__clock [data-clock-time] { color: var(--white); font-weight: 600; }

.hero__content {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(var(--nav-h) + 4vh);
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 2rem 4rem; align-items: end;
}
.hero__title {
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  font-weight: 400;
  line-height: .95; letter-spacing: .005em; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--signal); }
.hero__aside { max-width: 42ch; padding-bottom: .4rem; }
.hero__aside p { font-size: 1.08rem; color: rgba(255, 255, 255, .86); margin-bottom: 1.5rem; }
.hero__aside strong { color: var(--white); }

.hero__cue {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: calc(var(--road-h) * .5 - 30px);
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mist);
}
.hero__cue i { animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 1.25rem; top: calc(var(--nav-h) + 2vh); }
  .hero__aside p { font-size: 1rem; margin-bottom: 1rem; }
  .hero__layer--far { height: 30%; background-position: -640px 100%; } .hero__layer--mid { height: 18%; } .hero__layer--near { height: 17%; }
  .hero__sun { bottom: calc(var(--road-h) + 12%); right: -8%; width: 120px; }
  .hero__sun--dawn { left: 4%; right: auto; width: 100px; }
  .hero__moon { right: 14%; top: 34%; }
  .hero__clock { bottom: 14px; }
  .hero__cue { display: none; }
}
@media (max-width: 900px) and (max-height: 760px) {
  .hero__aside p { display: none; }
}

/* ================= QUIÉNES SOMOS ================= */
.about { background: var(--paper); position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 3rem; }
.about__label { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.shield-mark {
  margin-top: 4.5rem;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(6rem, 12vw, 11rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--mist);
}
.statement {
  font-family: var(--f-body); font-weight: 600;
  font-size: clamp(1.55rem, 2.9vw, 2.7rem); line-height: 1.22; letter-spacing: -.01em;
  color: var(--navy);
}
.statement .w { opacity: .14; transition: none; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: .5rem; }
.stat__num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--teal);
}
.stat__label { font-size: .92rem; color: var(--muted); line-height: 1.45; max-width: 24ch; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.values li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line);
}
.values i {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--paper-2); color: var(--teal); font-size: 1.5rem;
}
.values h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .3rem; color: var(--navy); }
.values p { font-size: .95rem; color: var(--muted); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 1rem; }
  .about__label { position: static; }
  .shield-mark { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* ================= SERVICIOS · DOS EXPERIENCIAS ================= */
.exp {
  position: relative; height: 100vh; height: 100svh; min-height: 680px;
  overflow: hidden; color: var(--white); background: var(--ink);
}
.exp__header {
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 12px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
}
.exp__header .eyebrow { margin: 0; }
.exp__switch { display: flex; align-items: center; gap: 1rem; font-size: .9rem; font-weight: 700; }
.exp__opt { display: inline-flex; align-items: center; gap: .4rem; opacity: .5; transition: opacity .4s; }
.exp__opt.is-active { opacity: 1; }
.exp__track-bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.exp__track-bar span { display: block; width: 100%; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

.exp__viewport { position: absolute; inset: 0; }
.exp__track { display: flex; width: 200%; height: 100%; will-change: transform; }
.exp__panel { width: 50%; height: 100%; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); }
.exp__panel--family { background: radial-gradient(120% 90% at 85% 20%, var(--teal-d) 0%, var(--ink-2) 55%, var(--ink) 100%); }
.exp__panel--bike   { background: radial-gradient(120% 90% at 85% 20%, #8A2A0E 0%, var(--rust) 50%, #3E1105 100%); }

.exp__panel-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.exp__index {
  display: block; margin-bottom: .75rem;
  font-family: var(--f-mono); font-size: .9rem; letter-spacing: .2em; color: var(--mist);
}
.exp__panel--bike .exp__index { color: #F4A27F; }
.exp__copy .h-lg em { color: var(--signal); font-style: normal; }
.exp__panel--bike .h-lg em { color: #FF8A57; }
.exp__copy .lead { color: rgba(255, 255, 255, .78); margin: 1.25rem 0 1.5rem; }
.checklist { display: grid; gap: .7rem; margin-bottom: 2rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.02rem; }
.checklist i {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255, 255, 255, .1); color: var(--mist); font-size: 1.05rem; margin-top: -2px;
}
.exp__panel--bike .checklist i { color: #FFB38F; }

.exp__visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.exp__visual img { width: 100%; height: min(56vh, 520px); object-fit: cover; }
.exp__visual figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(20, 34, 46, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 600; font-size: .95rem;
}
.exp__visual figcaption span {
  display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mist); margin-bottom: .2rem;
}

@media (max-width: 900px) {
  .exp { height: auto; min-height: 0; }
  .exp__header { position: relative; top: 0; padding-top: 72px; padding-bottom: 8px; background: var(--ink); }
  .exp__switch { display: none; }
  .exp__viewport { position: relative; }
  .exp__track { width: 100%; flex-direction: column; }
  .exp__panel { width: 100%; padding-block: 56px 72px; }
  .exp__panel-inner { grid-template-columns: 1fr; }
  .exp__visual img { height: 260px; }
}

/* ================= LA UNIDAD ================= */
.unit { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .h-lg { color: var(--navy); }
.section-head .lead { margin-top: 1.25rem; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }

.unit__van { position: relative; max-width: 880px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.unit__van img { width: 100%; }
.hotspot {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem .35rem .5rem; border-radius: 999px;
  background: var(--white); color: var(--navy); box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
}
.hotspot i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.hotspot i::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--signal); animation: wa-pulse 2.2s var(--ease) infinite;
}
.hotspot--bikes { left: 2%;  top: 22%; }
.hotspot--rack  { left: 34%; top: -4%; }
.hotspot--cabin { left: 46%; top: 30%; }

.stack { display: grid; gap: 0; }
.stack__card {
  --i: 0;
  position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 22px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  min-height: clamp(220px, 30vh, 300px); padding: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 9vh; border-radius: calc(var(--radius) + 6px);
  color: var(--white); transform-origin: 50% 0%;
  box-shadow: 0 -20px 50px -30px rgba(20, 34, 46, .45);
}
.stack__card:last-child { margin-bottom: 0; }
.stack__card--1 { --i: 0; background: var(--navy); }
.stack__card--2 { --i: 1; background: var(--teal); }
.stack__card--3 { --i: 2; background: var(--signal); }
.stack__card--4 { --i: 3; background: var(--rust); }
.stack__card--5 { --i: 4; background: var(--ink-2); }
.stack__num {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 7rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55);
}
.stack__card h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: .6rem; }
.stack__card p { font-size: 1.08rem; max-width: 46ch; color: rgba(255, 255, 255, .85); }
.stack__icon { font-size: clamp(3rem, 7vw, 6rem); opacity: .35; }

@media (max-width: 700px) {
  .stack__card { grid-template-columns: 1fr; gap: 1rem; }
  .stack__icon { display: none; }
  .hotspot { font-size: .7rem; }
  .hotspot--cabin { display: none; }
}

/* ================= ÚLTIMOS VIAJES ================= */
.trips { background: var(--paper-2); }
.trips__pin {
  height: 100vh; height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.trips__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.trips__head .h-lg { color: var(--navy); }
.trips__hint { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; color: var(--muted); }

.trips__track {
  display: flex; gap: 22px; width: max-content;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  padding-right: var(--gutter);
  will-change: transform;
}
.trip {
  flex: none; width: clamp(280px, 27vw, 390px);
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.trip__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.trip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trip:hover .trip__img img { transform: scale(1.06); }
.trip__img .tag { position: absolute; top: 14px; left: 14px; }
.trip__body { padding: 1.3rem 1.4rem 1.5rem; }
.trip__body h3 { font-size: 1.35rem; color: var(--navy); }
.trip__body p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.trip__body dl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.trip__body dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trip__body dd { font-weight: 700; color: var(--navy); }

.trip--cta {
  justify-content: space-between; padding: 2rem;
  background: var(--navy); color: var(--white);
}
.trip--cta h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; }
.trip--cta__km { font-family: var(--f-mono); color: var(--mist); letter-spacing: .14em; }
.trip--cta .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .trips__pin { height: auto; min-height: 0; padding-block: 88px; }
  .trips__hint { display: none; }
  .trips__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem; scrollbar-width: none;
  }
  .trips__track::-webkit-scrollbar { display: none; }
  .trip { scroll-snap-align: start; width: 82vw; }
  .trip--cta { min-height: 320px; }
}

/* ================= TESTIMONIOS ================= */
.reviews { background: var(--paper); overflow: hidden; }
.marquee { margin-bottom: clamp(3rem, 7vw, 6rem); border-block: 1px solid var(--line); padding-block: 1.2rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy);
}
.marquee__track span::after { content: ""; width: .35em; height: .35em; margin-inline: .6em; border-radius: 50%; background: var(--signal); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.demo-note { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.25rem; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.8rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal);
}
.review--bike { border-top-color: var(--signal); }
.review__stars { display: flex; gap: 2px; color: var(--signal); }
.review blockquote { font-size: 1.12rem; line-height: 1.5; color: var(--navy); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--muted); }
.review figcaption b { display: block; color: var(--text); font-size: 1rem; }
.avatar {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper-2); color: var(--teal); font-weight: 800; font-family: var(--f-mono);
}
.review--bike .avatar { color: var(--signal); }

/* ================= COTIZADOR ================= */
.quote { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.quote::before {
  content: ""; position: absolute; right: -20vw; top: -20vw; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 120, 142, .55), transparent 65%); pointer-events: none;
}
.quote .section-head .h-lg { color: var(--white); }
.quote__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.quote__form { background: var(--paper); color: var(--text); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: calc(var(--radius) + 4px); }

.ticket {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--white); color: var(--navy);
  border-radius: calc(var(--radius) + 4px); padding: 1.6rem;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55);
}
.ticket__top { display: flex; justify-content: space-between; align-items: center; }
.ticket__brand { font-family: var(--f-display); font-weight: 900; font-size: 1.2rem; }
.ticket__brand b { color: var(--signal); }
.ticket__type {
  padding: .35rem .8rem .25rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--teal); color: var(--white); transition: background-color .4s;
}
.ticket.is-bike .ticket__type { background: var(--signal); }
.ticket__route { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; margin: 1.6rem 0 1.4rem; }
.ticket__route > div:last-child { text-align: right; }
.ticket__route small, .ticket__meta dt {
  display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.ticket__route strong {
  display: block; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15;
  overflow-wrap: anywhere;
}
.ticket__route i { font-size: 1.8rem; color: var(--signal); }
.ticket__cut { position: relative; margin-inline: -1.6rem; border-top: 2px dashed var(--line); }
.ticket__cut::before, .ticket__cut::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy);
}
.ticket__cut::before { left: -12px; } .ticket__cut::after { right: -12px; }
.ticket__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }
.ticket__meta dd { font-weight: 800; font-size: 1.05rem; }
.ticket__code { display: flex; flex-direction: column; gap: .4rem; }
.ticket__code span {
  height: 46px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 5px, var(--navy) 5px 6px, transparent 6px 9px, var(--navy) 9px 12px, transparent 12px 14px);
}
.ticket__code em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .3em; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
  .quote__grid { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; order: -1; }
}

/* ================= CONTACTO ================= */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__info .h-lg { color: var(--navy); }
.contact__info .lead { margin: 1.25rem 0 2rem; }
.wa-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: var(--teal); color: var(--white);
  transition: transform .4s var(--ease), background-color .3s;
}
.wa-card:hover { transform: translateY(-3px); background: var(--teal-d); }
.wa-card > i:first-child { font-size: 2.2rem; }
.wa-card span { flex: 1; }
.wa-card small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.wa-card b { font-size: 1.25rem; }
.wa-card > i:last-child { font-size: 1.4rem; }
.contact__list { display: grid; gap: .9rem; margin-top: 2rem; }
.contact__list li { display: flex; gap: .8rem; align-items: center; color: var(--muted); }
.contact__list i { color: var(--teal); font-size: 1.3rem; }
.contact__list a:hover { color: var(--signal); }
.contact__social-title { margin: 2rem 0 .8rem; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.contact__form { background: var(--white); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0 6rem; overflow: hidden; }
.footer__logo { width: clamp(240px, 30vw, 420px); height: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer__big {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 10rem); line-height: .9; letter-spacing: 0;
  white-space: nowrap;
}
.footer__big span { color: var(--signal); }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-light);
}
.footer__row .eyebrow { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-weight: 600; }
.footer__links a { opacity: .75; } .footer__links a:hover { opacity: 1; color: var(--signal); }
.footer__copy { font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* Sello "Recibido" en el pase de abordar al confirmar el envío */
.ticket { overflow: hidden; }
.ticket__stamp {
  position: absolute; right: 18px; top: 46%;
  padding: .35rem .9rem .2rem; border: 3px solid var(--signal); border-radius: 8px;
  font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--signal); background: rgba(255, 255, 255, .85);
  transform: rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none;
}
.ticket.is-stamped .ticket__stamp { animation: stamp .5s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes stamp { to { transform: rotate(-12deg) scale(1); opacity: 1; } }
