/* ============ Remis Unión — landing de contacto ============ */

/* Fuentes alojadas en la propia web (sin pedir nada a Google: no se comparten datos de visitantes) */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bebas-neue-latin.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/outfit-latin.woff2") format("woff2"); }
:root {
  --navy: #0B1E3A;
  --navy-2: #12305A;
  --sky: #3E7CC4;
  --gold: #E8B33A;
  --red: #D7262E;
  --wpp: #25D366;
  --wpp-dark: #128C4A;
  --white: #FFFFFF;
  --cloud: #EEF3F9;
  --text: #0B1E3A;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cloud);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.logo { font-family: var(--display); font-size: 28px; letter-spacing: .04em; color: var(--gold); line-height: 1; }
.logo b { font-weight: 400; color: var(--red); }

/* ---------- Top bar ---------- */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
}
.top .logo { text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.top__call {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; font-weight: 600;
  transition: background .2s;
}
.top__call:hover { background: rgba(255,255,255,.26); }
.top__call svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px var(--pad) 72px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%;
  transform: scale(1.08);
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns { to { transform: scale(1.18) translate(-2%, -1%); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,30,58,.96) 0%, rgba(11,30,58,.82) 45%, rgba(11,30,58,.35) 100%),
    linear-gradient(0deg, rgba(11,30,58,.9) 0%, transparent 40%);
}
.hero__content { position: relative; max-width: 640px; }

/* luces de ruta que cruzan el fondo */
.hero__lights { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__lights i {
  position: absolute; left: -30%; height: 2px; width: 22%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  box-shadow: 0 0 12px var(--gold);
  opacity: .55;
  animation: streak 5s linear infinite;
}
.hero__lights i:nth-child(1) { top: 18%; animation-delay: 0s; }
.hero__lights i:nth-child(2) { top: 34%; animation-delay: 1.8s; animation-duration: 6.5s; background: linear-gradient(90deg, transparent, var(--red)); box-shadow: 0 0 12px var(--red); }
.hero__lights i:nth-child(3) { top: 52%; animation-delay: 3.1s; animation-duration: 4.2s; }
.hero__lights i:nth-child(4) { top: 68%; animation-delay: .9s; animation-duration: 7s; background: linear-gradient(90deg, transparent, var(--red)); box-shadow: 0 0 12px var(--red); }
.hero__lights i:nth-child(5) { top: 82%; animation-delay: 2.6s; animation-duration: 5.6s; }
.hero__lights i:nth-child(6) { top: 9%; animation-delay: 4s; animation-duration: 8s; width: 14%; }
@keyframes streak { to { left: 130%; } }

/* silueta de auto bajo el título */
.ride { position: relative; height: 84px; margin: 6px 0 4px; max-width: 560px; }
.ride__road {
  position: absolute; left: 0; right: 0; bottom: 4px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(232,179,58,.75) 0 28px, transparent 28px 52px);
  animation: road .6s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
@keyframes road { to { background-position: -52px 0; } }
.ride__car {
  position: absolute; bottom: 6px; left: 0; width: 230px;
  animation: driveIn 1.6s cubic-bezier(.2,.9,.25,1) .3s both, bob 1.2s ease-in-out 1.9s infinite;
}
@keyframes driveIn {
  from { transform: translateX(-120vw); }
  80% { transform: translateX(12px) rotate(-1.5deg); }
  to { transform: none; }
}
@keyframes bob { 50% { transform: translateY(-2px); } }
.ride__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.ride__wheel { transform-box: fill-box; transform-origin: center; animation: spin .45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ride__beam { animation: beam 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes beam { 50% { opacity: .45; transform: scaleX(1.25); } }
.ride__speed { position: absolute; right: 100%; top: 30%; width: 90px; display: grid; gap: 8px; }
.ride__speed i {
  display: block; height: 3px; border-radius: 3px; margin-left: auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7));
  animation: speed .5s linear infinite;
}
.ride__speed i:nth-child(1) { width: 70%; }
.ride__speed i:nth-child(2) { width: 100%; animation-delay: .15s; }
.ride__speed i:nth-child(3) { width: 55%; animation-delay: .3s; }
@keyframes speed { 0% { transform: translateX(20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-30px); opacity: 0; } }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.45);
  font-weight: 600; font-size: 14px;
}
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--wpp); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }

.hero__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(76px, 15vw, 168px);
  line-height: .86; letter-spacing: .01em;
  color: var(--gold);
  text-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.hero__title span { color: var(--red); display: inline-block; }
.hero__sub { margin: 14px 0 4px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; }
.hero__values { margin: 0 0 32px; color: #b9c8de; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; font-weight: 600; }

.hero__address { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; color: #d4deec; font-weight: 500; }
.hero__address svg { width: 20px; height: 20px; fill: var(--gold); }

/* entrada suave (CSS puro: si el JS falla, igual se ve) */
.hero__content > * { animation: up .8s cubic-bezier(.2,.8,.2,1) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .22s; }
.hero__content > *:nth-child(5) { animation-delay: .3s; }
.hero__content > *:nth-child(6) { animation-delay: .38s; }
.hero__content > *:nth-child(7) { animation-delay: .46s; }
.hero__content > .ride { animation: none; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Botones grandes ---------- */
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.actions--center { max-width: 640px; margin: 0 auto; }
.action {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 20px;
  text-decoration: none; color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s cubic-bezier(.3,1.4,.5,1), box-shadow .25s ease;
  min-height: 76px;
}
/* brillo que cruza el botón cada pocos segundos */
.action::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
.action--wpp::before { animation-delay: 2.2s; }
@keyframes shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
/* borde animado al pasar el mouse */
.action::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: inherit; filter: brightness(1.15);
  opacity: 0; transition: opacity .25s;
}
.action:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.action:hover::after { opacity: 1; }
.action:active { transform: scale(.97); }
.action:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.action--call { background: linear-gradient(135deg, #E8353D 0%, #B81C23 100%); }
.action--wpp { background: linear-gradient(135deg, #1FB85A 0%, #0F7A40 100%); }
.action__icon {
  position: relative;
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.2);
}
/* ondas que salen del ícono */
.action__icon::before, .action__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  animation: wave 2.4s ease-out infinite;
}
.action__icon::after { animation-delay: 1.2s; }
@keyframes wave { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.action__go {
  margin-left: auto; font-size: 24px; font-weight: 700;
  transform: translateX(-6px); opacity: .55;
  transition: transform .25s ease, opacity .25s ease;
}
.action:hover .action__go { transform: translateX(2px); opacity: 1; animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
/* onda al tocar (la crea main.js) */
.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.45);
  transform: scale(0); animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.action__icon svg { width: 24px; height: 24px; fill: currentColor; }
.action--call .action__icon { animation: ring 3s ease-in-out infinite; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); } }
.action__text { display: flex; flex-direction: column; line-height: 1.1; }
.action__text small { font-size: 13px; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.action__text strong { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }

/* ---------- Ruta: tipos de viaje ---------- */
.route {
  position: relative;
  padding: clamp(56px, 8vw, 110px) var(--pad) clamp(40px, 6vw, 80px);
  background: var(--white);
}
.route__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.route__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 88px); line-height: .95; color: var(--navy); }
.route__head p { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--red); }

.route__map {
  --pin-y: 14px;
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
/* la ruta: asfalto con línea punteada */
.route__line {
  position: absolute; left: 7px; right: 0; top: calc(var(--pin-y) - 7px); height: 14px;
  background: var(--navy); border-radius: 14px;
}
.route__line::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 26px);
  animation: dash 1s linear infinite;
}
@keyframes dash { to { background-position: 26px 0; } }
.route__line::after {
  /* flecha al final: "y más allá" */
  content: ""; position: absolute; right: -2px; top: 50%;
  border: 12px solid transparent; border-left: 16px solid var(--navy);
  transform: translate(100%, -50%);
}
.route__car {
  position: absolute; top: -22px; left: 0; width: 56px;
  animation: travel 9s cubic-bezier(.45,.05,.55,.95) infinite;
}
.route__car svg { width: 100%; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
@keyframes travel {
  0% { left: 0; }
  8%, 22% { left: calc(25% - 28px); }
  32%, 46% { left: calc(50% - 28px); }
  56%, 70% { left: calc(75% - 28px); }
  92%, 100% { left: calc(100% - 56px); opacity: 1; }
}

.stop { position: relative; padding-top: calc(var(--pin-y) + 30px); }
.stop__pin {
  position: absolute; top: calc(var(--pin-y) - 11px); left: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--gold);
  box-shadow: 0 0 0 4px var(--white);
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
}
.stop--start .stop__pin { background: var(--gold); border-color: var(--navy); }
.stop--end .stop__pin { border-color: var(--red); }
.stop.is-in .stop__pin { animation: pinPop .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pinPop { from { transform: scale(0); } to { transform: scale(1); } }
.stop:hover .stop__pin { transform: scale(1.25); }
.stop__tag {
  display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 6px;
  font-family: var(--display); font-size: 18px; letter-spacing: .08em;
  background: var(--cloud); color: var(--navy);
}
.stop--start .stop__tag { background: var(--navy); color: var(--gold); }
.stop--end .stop__tag { background: var(--red); color: var(--white); }
.stop h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 42px); line-height: 1; color: var(--navy); }
.stop p:not(.stop__tag) { margin: 0; color: #4a5a72; max-width: 26ch; }

/* ---------- Galería ---------- */
.gallery {
  display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: 1fr 1fr; gap: 16px;
  padding: clamp(48px, 7vw, 96px) var(--pad);
  max-width: 1200px; margin: 0 auto;
}
.shot { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--navy); min-height: 240px; }
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(11,30,58,.82); color: var(--white); font-weight: 600; font-size: 14px;
}

/* ---------- Cierre ---------- */
.closing {
  text-align: center;
  padding: clamp(56px, 8vw, 110px) var(--pad);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.closing h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8vw, 96px); line-height: .95; color: var(--gold); }
.closing > p { margin: 8px 0 32px; color: #b9c8de; font-size: 19px; }

/* ---------- Footer ---------- */
.foot { text-align: center; padding: 36px var(--pad) 40px; background: #07152A; color: #b9c8de; }
.foot p { margin: 0 0 8px; }
.foot .logo { font-size: 32px; }
.foot__small { font-size: 14px; color: #6f819b; }

/* ---------- Burbuja flotante de WhatsApp ---------- */
.wbubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  animation: bubbleIn .6s cubic-bezier(.3,1.6,.5,1) 1.2s both;
}
@keyframes bubbleIn { from { transform: scale(0) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.wbubble__btn {
  position: relative; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wpp); color: var(--white);
  box-shadow: 0 8px 24px rgba(18,140,74,.45);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.wbubble__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wpp); z-index: -1;
  animation: wave 2s ease-out infinite;
}
.wbubble__btn svg { width: 34px; height: 34px; fill: currentColor; }
.wbubble:hover .wbubble__btn { transform: scale(1.1) rotate(-8deg); }
.wbubble__badge {
  position: absolute; top: -2px; right: -2px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white); border: 2px solid var(--white);
  font-size: 12px; font-weight: 700;
  animation: badge 1s cubic-bezier(.3,1.6,.5,1) 2.4s both;
}
@keyframes badge { from { transform: scale(0); } to { transform: scale(1); } }
/* globito de chat */
.wbubble__msg {
  position: relative;
  padding: 10px 14px; border-radius: 16px 16px 4px 16px;
  background: var(--white); color: var(--navy);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(11,30,58,.2);
  animation: msgIn .5s ease 2.6s both;
}
.wbubble__msg b { color: var(--wpp-dark); }
@keyframes msgIn { from { opacity: 0; transform: translateX(12px) scale(.9); } to { opacity: 1; transform: none; } }
.wbubble.is-quiet .wbubble__msg { opacity: 0; transform: translateX(12px) scale(.9); transition: opacity .3s, transform .3s; animation: none; pointer-events: none; }
.wbubble.is-quiet .wbubble__badge { display: none; }
.wbubble:hover .wbubble__msg { opacity: 1; transform: none; }

/* ---------- Ubicación + mini mapa ---------- */
.place {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 8vw, 100px);
  scroll-margin-top: 20px;
}
.place__tag {
  display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 6px;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-size: 18px; letter-spacing: .08em;
}
.place h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 7vw, 84px); line-height: .9; color: var(--navy); }
.place__city { margin: 4px 0 16px; font-size: 22px; font-weight: 600; color: var(--sky); }
.place__info > p:not(.place__tag):not(.place__city) { color: #4a5a72; max-width: 34ch; }
.place__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 14px;
  font-weight: 700; text-decoration: none;
  color: var(--navy); background: var(--white);
  border: 2px solid var(--navy);
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s;
}
.pbtn svg { width: 20px; height: 20px; fill: currentColor; }
.pbtn:hover { transform: translateY(-3px); background: var(--navy); color: var(--gold); }
.pbtn--main { background: var(--navy); color: var(--white); }
.pbtn--main:hover { background: var(--navy-2); color: var(--gold); }
.pbtn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.map {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; min-height: 280px;
  border-radius: 24px; background: var(--navy);
  box-shadow: 0 16px 44px rgba(11,30,58,.18);
  border: 4px solid var(--white);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__ph { display: none; }
.map__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center; color: #d4deec;
}
/* calles dibujadas de fondo */
.map__grid {
  position: absolute; inset: -10%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 2px, transparent 2px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(255,255,255,.07) 2px, transparent 2px) 0 0 / 56px 56px,
    linear-gradient(35deg, transparent 48%, rgba(232,179,58,.35) 48% 52%, transparent 52%);
  transform: rotate(-8deg);
}
.map__ph > *:not(.map__grid) { position: relative; }
.map__pin { width: 54px; height: 54px; color: var(--red); animation: pinDrop 1.6s ease-in-out infinite; }
.map__pin svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
@keyframes pinDrop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.map__ph p { margin: 0; max-width: 30ch; font-size: 15px; }
.map__load {
  padding: 12px 22px; border: 0; border-radius: 12px;
  background: var(--gold); color: var(--navy);
  font: 700 16px var(--sans); cursor: pointer;
  transition: transform .2s cubic-bezier(.3,1.6,.5,1);
}
.map__load:hover { transform: scale(1.05); }
.map__load:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.map__ph a { color: var(--gold); font-size: 14px; }

.hero__address { text-decoration: none; transition: color .2s; }
.hero__address:hover { color: var(--gold); }
.hero__address span { color: var(--gold); font-weight: 600; }
.foot a { color: inherit; }

/* ---------- Enlaces legales del pie ---------- */
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 16px 0 12px !important; font-size: 14px; }
.foot__links a { color: #d4deec; text-decoration: underline; text-underline-offset: 3px; }
.foot__links a:hover { color: var(--gold); }

/* ---------- Aviso de privacidad ---------- */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  max-width: 420px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--navy); color: var(--white);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.12);
  animation: up .5s ease 1.5s both;
  transition: opacity .3s, transform .3s;
}
.consent[hidden] { display: none; }
.consent.is-closing { opacity: 0; transform: translateY(16px); }
.consent p { margin: 0; font-size: 14px; line-height: 1.4; }
.consent a { color: var(--gold); }
.consent__btns { display: flex; gap: 8px; flex: none; }
.consent .consent__no { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.consent button {
  flex: none; padding: 10px 16px; border: 0; border-radius: 10px;
  background: var(--gold); color: var(--navy);
  font: 700 14px var(--sans); cursor: pointer;
}
.consent button:hover { filter: brightness(1.08); }
.consent button:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

/* ---------- Página legal ---------- */
.legal-page { background: var(--white); }
.legal-top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--pad); background: var(--navy);
}
.legal-top .logo { text-decoration: none; }
.legal-back { color: var(--white); text-decoration: none; font-weight: 600; }
.legal-back:hover { color: var(--gold); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--pad); }
.legal h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 72px); line-height: .95; color: var(--navy); }
.legal__date { color: #6f819b; margin: 8px 0 28px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.legal__toc a { padding: 6px 12px; border-radius: 999px; background: var(--cloud); color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal__toc a:hover { background: var(--gold); }
.legal section { padding: 24px 0; border-top: 1px solid #e1e7f0; scroll-margin-top: 16px; }
.legal h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--navy); letter-spacing: .02em; }
.legal p, .legal li { color: #33425a; }
.legal a { color: var(--sky); }
.legal__note { font-size: 14px; padding: 14px 16px; background: var(--cloud); border-radius: 12px; }
.legal__consumer { display: inline-block; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: var(--white) !important; text-decoration: none; font-weight: 600; }
.legal__consumer:hover { background: var(--navy-2); }

/* ---------- Barra fija (celular) ---------- */
.dock { display: none; }

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

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .place { grid-template-columns: 1fr; }
  /* ruta vertical */
  .route__map { grid-template-columns: 1fr; gap: 34px; padding-left: 44px; }
  .route__line { left: 4px; right: auto; top: 0; bottom: 0; width: 14px; height: auto; }
  .route__line::before { left: 6px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 14px, transparent 14px 26px); animation-name: dashV; }
  @keyframes dashV { to { background-position: 0 26px; } }
  .route__line::after { right: auto; left: 50%; top: auto; bottom: -2px; border: 12px solid transparent; border-top: 16px solid var(--navy); transform: translate(-50%, 100%); }
  .route__car { width: 44px; left: -15px; top: 0; transform: rotate(90deg); animation-name: travelV; }
  @keyframes travelV { 0% { top: 0; } 8%, 22% { top: 25%; } 32%, 46% { top: 50%; } 56%, 70% { top: 75%; } 92%, 100% { top: calc(100% - 30px); } }
  .stop { padding-top: 0; }
  .stop__pin { top: 2px; left: -44px; }
  .shot--tall { grid-row: auto; grid-column: span 2; max-height: 520px; }
  .shot--tall img { object-position: top; }
}
@media (max-width: 600px) {
  /* en celular no se repite: los botones grandes ya están en pantalla */
  .top__call { display: none; }
  .wbubble { display: none; }
  .hero { align-items: flex-end; padding-bottom: 64px; }
  .hero__bg img { object-position: 35% 40%; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(11,30,58,.97) 0%, rgba(11,30,58,.85) 55%, rgba(11,30,58,.45) 100%); }
  .actions { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot--tall { grid-column: auto; }

  /* barra inferior: aparece solo cuando los botones grandes no se ven (main.js pone .dock-on) */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    box-shadow: 0 -6px 24px rgba(11,30,58,.15);
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .dock-on .dock { transform: none; }
  .dock__btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 56px; border-radius: 16px;
    color: var(--white); text-decoration: none; font-weight: 700; font-size: 18px;
  }
  .dock__btn svg { width: 22px; height: 22px; fill: currentColor; }
  .dock__btn--call { background: var(--red); }
  .dock__btn--wpp { background: var(--wpp-dark); animation: dockPulse 2.4s ease-out infinite; }
  @keyframes dockPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }
  .dock__btn--call svg { animation: ring 3s ease-in-out infinite; }
  .consent { left: 10px; right: 10px; max-width: none; bottom: calc(10px + env(safe-area-inset-bottom)); flex-wrap: wrap; transition: bottom .35s cubic-bezier(.2,.8,.2,1), opacity .3s, transform .3s; }
  .dock-on .consent { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .consent__btns { width: 100%; }
  .consent__btns button { flex: 1; }
  .place__btns .pbtn { flex: 1 1 100%; justify-content: center; }
  .legal-page { padding-bottom: 0; }
  .ride__car { width: 190px; }
  .ride { height: 72px; }
}

.legal__reset { padding: 10px 16px; border: 2px solid var(--navy); border-radius: 10px; background: var(--white); color: var(--navy); font: 700 15px var(--sans); cursor: pointer; }
.legal__reset:hover { background: var(--navy); color: var(--gold); }
.legal__reset:disabled { opacity: .7; cursor: default; background: var(--cloud); color: var(--navy); }

/* ---------- Página 404 ---------- */
.lost {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--navy-2), var(--navy) 70%);
  color: var(--white); text-align: center;
  padding: 32px var(--pad);
}
.lost__box { max-width: 680px; width: 100%; }
.lost .logo { text-decoration: none; font-size: 30px; }
.lost__road {
  position: relative; height: 110px; margin: 36px auto 8px; max-width: 420px;
  border-bottom: 4px dashed rgba(232,179,58,.6);
}
.lost__car {
  position: absolute; bottom: 4px; left: 50%; width: 200px;
  transform: translateX(-50%);
  animation: lostLook 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
@keyframes lostLook {
  0%, 100% { transform: translateX(-90%) scaleX(1); }
  45% { transform: translateX(-10%) scaleX(1); }
  50% { transform: translateX(-10%) scaleX(-1); }
  95% { transform: translateX(-90%) scaleX(-1); }
}
.lost__sign {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); font-family: var(--display); font-size: 32px;
  animation: pinDrop 1.6s ease-in-out infinite;
}
.lost__code { margin: 18px 0 0; font-family: var(--display); font-size: clamp(90px, 18vw, 150px); line-height: .85; color: var(--gold); }
.lost h1 { margin: 6px 0 4px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 56px); line-height: 1; }
.lost__sub { margin: 0 0 28px; color: #b9c8de; font-size: 18px; }
.lost__home { display: inline-block; margin-top: 26px; color: var(--gold); font-weight: 600; text-decoration: none; }
.lost__home:hover { text-decoration: underline; }
.lost .action { text-align: left; }
