/* ============================================
   DunaTour — Estilos
   ============================================ */

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ margin: 0; padding: 0; }

body{
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: var(--step-sm);
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: inherit; }

.container{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

section{ position: relative; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--step-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-head{
  max-width: 640px;
  margin-bottom: var(--space-xl);
}
.section-head h2{
  font-size: var(--step-2xl);
  margin-top: var(--space-2xs);
}
.section-head p{
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: var(--step-md);
}
.section-head.center{
  margin-inline: auto;
  text-align: center;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* El ícono de cada servicio hace un pequeño "rebote" al entrar en pantalla —
   así el gesto también se aprecia en touch, no solo con hover del mouse. */
@keyframes iconSettle{
  0%{ transform: scale(0.5) rotate(-18deg); }
  60%{ transform: scale(1.12) rotate(6deg); }
  100%{ transform: scale(1) rotate(0deg); }
}
.service-card.is-visible .service-card__icon{
  animation: iconSettle 650ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@media (prefers-reduced-motion: reduce){
  .service-card.is-visible .service-card__icon{ animation: none; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--step-xs);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  max-width: 100%;
  text-align: center;
}
.btn:hover{ transform: translateY(-2px); }
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary{
  background: var(--color-primary);
  color: var(--sand-50);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{ background: var(--color-primary-hover); box-shadow: var(--shadow-md); }

.btn--whatsapp{
  background: #25D366;
  color: #06301A;
  box-shadow: var(--shadow-sm);
}
.btn--whatsapp:hover{ background: #1EBE5A; box-shadow: var(--shadow-md); }

.btn--ghost-light{
  background: rgba(255,255,255,0.10);
  color: var(--sand-50);
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover{ background: rgba(255,255,255,0.18); }

.btn--outline{
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover{ background: var(--color-primary); color: var(--sand-50); }

.btn--block{ width: 100%; }
.btn--lg{ padding: 1.1rem 2.25rem; font-size: var(--step-sm); }

/* ============================================
   Header
   ============================================ */
.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-md);
  transition: background var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.site-header.is-scrolled{
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding-block: var(--space-xs);
}

.brand{
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-display);
  font-size: var(--step-md);
  font-weight: 700;
  color: var(--sand-50);
  transition: color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .brand{ color: var(--color-text); }
.brand .brand-mark{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--sand-50);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Geoglifo del buggy: se "dibuja" al cargar la página (site.js calcula el largo real de cada trazo) */
.geo-path{
  fill: none;
  stroke: var(--sand-50);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce){
  .geo-path{ stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}

.nav-desktop{
  display: none;
}
.nav-desktop ul{ display: flex; gap: var(--space-lg); }
.nav-desktop a{
  font-size: var(--step-xs);
  font-weight: 600;
  color: var(--sand-100);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .nav-desktop a{ color: var(--color-text); }
.nav-desktop a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width var(--dur-base) var(--ease-out);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: var(--space-sm); }
.header-actions .btn{ display: none; }

/* Ícono de búsqueda en el header */
.nav-search{
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--sand-50);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.nav-search svg{ width: 19px; height: 19px; }
.nav-search:hover{ background: rgba(255,255,255,0.14); }
.site-header.is-scrolled .nav-search{ color: var(--color-text); }
.site-header.is-scrolled .nav-search:hover{ background: var(--sand-100); }

/* Selector de idioma ES/EN */
.lang-switch{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--step-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--sand-100);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .lang-switch{ color: var(--color-text); border-color: var(--color-border); }
.lang-switch:hover{ background: var(--color-primary); color: var(--sand-50); border-color: var(--color-primary); }
.mobile-menu .lang-switch{
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: var(--step-2xs);
  color: var(--sand-100);
  border-color: rgba(255,255,255,0.35);
  margin-top: var(--space-sm);
}

.nav-toggle{
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: none;
  color: var(--sand-50);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .nav-toggle{ color: var(--color-text); background: var(--sand-100); }
.nav-toggle svg{ width: 20px; height: 20px; }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu ul{ display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: var(--step-xl);
  color: var(--sand-50);
}
.mobile-menu .btn{ margin-top: var(--space-lg); align-self: flex-start; }

/* ============================================
   Hero
   ============================================ */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 7rem;
  color: var(--sand-50);
}
/* Capa exterior: el parallax por mouse (GSAP, hero-animation.js) mueve ESTA capa */
.hero__scene{
  position: absolute;
  inset: -6%;
  z-index: 0;
  will-change: transform;
}
/* Capa interior: el zoom Ken Burns (CSS puro) vive aquí, sin pelear con el parallax */
/* 3 capas apiladas (una por foto) — hero-animation.js las cruza (fade) con el
   scroll, antes de que aparezca el texto. La primera empieza visible, las
   otras dos ocultas por si el script no llegara a correr. */
.hero__bg{
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(20,15,10,0.35) 0%, rgba(20,15,10,0.30) 40%, rgba(20,15,10,0.80) 100%), var(--bg-img);
  background-size: cover;
  background-position: center 65%;
  transform: scale(1);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
.hero__bg:not(:first-child){ opacity: 0; }
@keyframes heroKenBurns{
  from{ transform: scale(1); }
  to{ transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce){
  .hero__bg{ animation: none; }
}

/* Glow cálido que sigue el cursor sobre la foto (GSAP quickTo, hero-animation.js) */
.hero__glow{
  position: absolute;
  top: 0; left: 0;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,190,120,0.55) 0%, rgba(255,150,80,0.22) 45%, transparent 72%);
  mix-blend-mode: soft-light;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero__glow.is-active{ opacity: 1; }
@media (prefers-reduced-motion: reduce), (pointer: coarse){
  .hero__glow{ display: none; }
}

.hero__content{ position: relative; z-index: 2; padding-bottom: var(--space-3xl); max-width: 780px; }

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: var(--space-lg);
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--sand-100);
  opacity: 0.85;
  transition: opacity var(--dur-base) var(--ease-out);
  background: none;
  border: none;
  padding: 0;
}
.scroll-cue.is-hidden{ opacity: 0; pointer-events: none; }
.scroll-cue span{
  font-size: var(--step-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-cue svg{ width: 20px; height: 20px; animation: cueBounce 1.8s ease-in-out infinite; }
@keyframes cueBounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce){
  .scroll-cue svg{ animation: none; }
}
.hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--step-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(20,15,10,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}
.hero h1{
  color: var(--sand-50);
  font-size: var(--step-2xl);
  margin-top: var(--space-md);
}
.hero h1 em{
  font-style: italic;
  color: var(--gold-400);
}

/* Palabras del titular: máscara para el efecto de revelado (GSAP en hero-animation.js) */
.word-mask{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; }
.word{ display: inline-block; will-change: transform; }
html.js .word{ opacity: 0; }
@media (prefers-reduced-motion: reduce){
  html.js .word{ opacity: 1; }
}

/* ---------- Partículas flotantes ---------- */
.hero__particles{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.particle{
  position: absolute;
  bottom: -5%;
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  background: rgba(255, 236, 205, 0.6);
  animation: particleDrift linear infinite;
}
@keyframes particleDrift{
  0%{ transform: translate(0, 0); opacity: 0; }
  12%{ opacity: 0.6; }
  50%{ transform: translate(var(--drift-x, 15px), -55vh); opacity: 0.7; }
  88%{ opacity: 0.25; }
  100%{ transform: translate(calc(var(--drift-x, 15px) * 1.7), -105vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .particle{ display: none; }
}

/* ---------- Buggy animado ---------- */
.hero__buggy{
  position: absolute;
  left: 0;
  bottom: 3%;
  z-index: 1;
  transform: translateX(-15vw);
  filter: drop-shadow(0 6px 8px rgba(20,15,10,0.35));
}
.buggy-dust{
  position: absolute;
  left: -6px;
  bottom: 6px;
  width: 14px; height: 8px;
  border-radius: 50%;
  background: rgba(230, 210, 180, 0.35);
  filter: blur(3px);
}
@media (max-width: 639px){
  .hero__buggy svg{ width: 60px; height: 30px; }
}
@media (prefers-reduced-motion: reduce){
  .hero__buggy{ display: none; }
}
.hero p{
  margin-top: var(--space-md);
  font-size: var(--step-md);
  color: var(--sand-100);
  max-width: 56ch;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero__trust{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero__trust-item{
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--step-xs);
  color: var(--sand-100);
}
.hero__trust-item svg{ width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }

/* ============================================
   Franja de confianza
   ============================================ */
.trust-strip{
  background: var(--ink-900);
  color: var(--sand-100);
  padding-block: var(--space-lg);
}
.trust-strip .container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.trust-strip__item{
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.trust-strip__item svg{
  width: 30px; height: 30px;
  color: var(--gold-400);
  flex-shrink: 0;
}
.trust-strip__item strong{
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-sm);
  color: var(--sand-50);
}
.trust-strip__item span{ font-size: var(--step-2xs); color: var(--ink-300); }

/* ============================================
   Lugares
   ============================================ */
.places{
  padding-block: var(--space-3xl) 0;
  background: var(--color-bg);
}
.places .section-head{ margin-bottom: var(--space-lg); }

/* ---------- Sticky-stack: cada card se queda pegada y la siguiente la cubre ---------- */
@keyframes lugarGlowA{ from{ transform: translate(0,0); } to{ transform: translate(3%,-4%); } }
@keyframes lugarGlowB{ from{ transform: translate(0,0); } to{ transform: translate(-4%,3%); } }

.lugares-stack{ padding-bottom: var(--space-3xl); }

.lugar-stack__item{
  width: 100%;
  position: sticky;
  top: var(--stack-top, 96px);
}
.lugar-stack__item + .lugar-stack__item{ margin-top: var(--space-lg); }

.lugar-stack__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lugar-stack__inner > *{ position: relative; z-index: 1; min-width: 0; }
.lugar-stack__inner::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), transparent 60%);
}
.lugar-stack__inner:hover::after{ opacity: 1; }

.lugar-stack__content{ display: flex; flex-direction: column; align-items: flex-start; }
.lugar-stack__content h3{ font-size: var(--step-xl); margin-top: var(--space-sm); }
.lugar-stack__content p{ margin-top: var(--space-sm); max-width: 46ch; }
.lugar-stack__actions{ display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* Botón "outline" sobre fondos oscuros/de color: usar blanco en vez de terracota para que se lea bien */
.lugar-stack__inner--dark .btn--outline,
.lugar-stack__inner--teal .btn--outline{
  color: var(--sand-50);
  border-color: rgba(255,255,255,0.55);
}
.lugar-stack__inner--dark .btn--outline:hover,
.lugar-stack__inner--teal .btn--outline:hover{
  background: rgba(255,255,255,0.14);
  color: var(--sand-50);
}

.lugar-stack__tag{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.06);
}
.lugar-stack__tag svg{ width: 14px; height: 14px; }

.lugar-stack__meta{
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  font-size: var(--step-2xs);
  font-weight: 700;
}
.lugar-stack__meta span{ display: flex; align-items: center; gap: 0.3rem; }
.lugar-stack__meta svg{ width: 15px; height: 15px; }

.lugar-stack__media{
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lugar-stack__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.lugar-stack__inner:hover .lugar-stack__media img{ transform: scale(1.06); }

/* Temas: 4 variantes que se ciclan, cada una con su propio contraste de texto */
.lugar-stack__inner--sand{
  background: linear-gradient(200deg, var(--sand-50) 0%, var(--sand-200) 100%);
  color: var(--ink-900);
}
.lugar-stack__inner--sand .lugar-stack__tag{ color: var(--color-primary); background: rgba(193,96,47,0.12); }
.lugar-stack__inner--sand .lugar-stack__meta{ color: var(--color-secondary); }
.lugar-stack__inner--sand p{ color: var(--ink-700); }

.lugar-stack__inner--gold{
  background: linear-gradient(205deg, var(--gold-400) 0%, var(--sand-100) 65%);
  color: var(--ink-900);
}
.lugar-stack__inner--gold .lugar-stack__tag{ color: var(--terracotta-700); background: rgba(255,255,255,0.35); }
.lugar-stack__inner--gold .lugar-stack__meta{ color: var(--terracotta-700); }
.lugar-stack__inner--gold p{ color: var(--ink-700); }

.lugar-stack__inner--dark{
  background: var(--ink-900);
  color: var(--sand-100);
}
.lugar-stack__inner--dark::before,
.lugar-stack__inner--dark::after{
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(14px);
}
.lugar-stack__inner--dark::before{
  width: 60%; height: 70%; left: -10%; bottom: -20%;
  background: radial-gradient(circle, rgba(193,96,47,0.5), transparent 70%);
  animation: lugarGlowA 13s ease-in-out infinite alternate;
}
.lugar-stack__inner--dark::after{
  width: 50%; height: 60%; right: -10%; top: -18%;
  background: radial-gradient(circle, rgba(211,162,74,0.35), transparent 70%);
  animation: lugarGlowB 15s ease-in-out infinite alternate-reverse;
}
.lugar-stack__inner--dark .lugar-stack__tag{ color: var(--gold-400); background: rgba(255,255,255,0.08); }
.lugar-stack__inner--dark h3{ color: var(--sand-50); }
.lugar-stack__inner--dark p{ color: var(--ink-300); }
.lugar-stack__inner--dark .lugar-stack__meta{ color: var(--gold-400); }
@media (prefers-reduced-motion: reduce){
  .lugar-stack__inner--dark::before, .lugar-stack__inner--dark::after{ animation: none; }
}

.lugar-stack__inner--teal{
  background: linear-gradient(210deg, var(--teal-700) 0%, var(--teal-500) 60%, var(--teal-300) 100%);
  color: var(--sand-100);
}
.lugar-stack__inner--teal .lugar-stack__tag{ color: var(--sand-50); background: rgba(255,255,255,0.14); }
.lugar-stack__inner--teal h3{ color: var(--sand-50); }
.lugar-stack__inner--teal p{ color: rgba(255,253,248,0.82); }
.lugar-stack__inner--teal .lugar-stack__meta{ color: var(--gold-400); }

@media (max-width: 899px){
  .lugar-stack__item{ position: relative; top: auto !important; }
}
@media (prefers-reduced-motion: reduce){
  .lugar-stack__item{ position: relative; top: auto !important; }
}

/* ============================================
   Franja de estadísticas (conteo animado)
   ============================================ */
.stats-strip{
  padding-block: var(--space-lg);
  background: var(--sand-100);
  border-block: 1px solid var(--color-border);
}
.stats-strip .container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat-item strong{
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2xl);
  color: var(--color-primary);
  line-height: 1;
}
.stat-item span{
  display: block;
  margin-top: var(--space-2xs);
  font-size: var(--step-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============================================
   Servicios
   ============================================ */
.services{
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl);
  background: var(--sand-50);
  border-block: 1px solid var(--color-border);
}
.services .container{ position: relative; z-index: 1; }
.services-grid{
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
.service-card{
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
  transition: box-shadow 420ms var(--ease-out), transform 420ms var(--ease-out);
}
.service-card:hover{
  box-shadow: 0 20px 45px rgba(193,96,47,0.22), var(--shadow-md);
  transform: translateY(-7px) scale(1.015);
}
@media (prefers-reduced-motion: reduce){
  .service-card:hover{ transform: none; }
}

/* Barra de acento que se desliza al pasar el mouse */
.service-card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
  z-index: 2;
}
.service-card:hover::before{ transform: scaleX(1); }

.service-card::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(211,162,74,0.16), transparent 60%);
}
.service-card:hover::after{ opacity: 1; }
.service-card > *{ position: relative; z-index: 1; }
.service-card__icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 380ms var(--ease-out), color 380ms var(--ease-out), transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card__icon svg{ width: 26px; height: 26px; transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .service-card__icon{
  background: var(--color-primary);
  color: var(--sand-50);
  transform: scale(1.14) rotate(-8deg);
}
.service-card:hover .service-card__icon svg{ transform: scale(1.1); }
@media (prefers-reduced-motion: reduce){
  .service-card:hover .service-card__icon{ transform: none; }
}
.service-card h3{ font-size: var(--step-md); transition: color 380ms var(--ease-out); }
.service-card:hover h3{ color: var(--color-primary); }
.service-card p{ color: var(--color-text-muted); font-size: var(--step-xs); }

.service-highlight{
  margin-top: var(--space-xl);
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  color: var(--sand-100);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.service-highlight > div{ min-width: 0; }
.service-highlight::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(211,162,74,0.18), transparent 60%);
  pointer-events: none;
}
.service-highlight .eyebrow{ color: var(--gold-400); }
.service-highlight .eyebrow::before{ background: var(--gold-400); }
.service-highlight h3{ color: var(--sand-50); font-size: var(--step-xl); margin-top: var(--space-2xs); }
.service-highlight p{ color: var(--ink-300); margin-top: var(--space-sm); }

/* Variante clara: para ofertas B2B/corporativas (menos "aventura", más "negocios") */
.service-highlight--light{
  background: var(--sand-100);
  border: 1px solid var(--color-border);
}
.service-highlight--light::before{ display: none; }
.service-highlight--light .eyebrow{ color: var(--color-primary); }
.service-highlight--light .eyebrow::before{ background: var(--color-primary); }
.service-highlight--light h3{ color: var(--ink-900); }
.service-highlight--light p{ color: var(--ink-700); }
.service-highlight--light .include-list li{ color: var(--ink-900); }
.service-highlight--light .include-list svg{ color: var(--color-secondary); }

.include-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xs) var(--space-lg);
  margin-top: var(--space-md);
}
.include-list li{
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: var(--step-xs);
  color: var(--sand-100);
}
.include-list svg{ width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }

.duration-pill{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--step-2xs);
  font-weight: 600;
  margin-top: var(--space-md);
}
.duration-pill svg{ width: 16px; height: 16px; color: var(--gold-400); }

/* ============================================
   Paquetes
   ============================================ */
.packages{
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl);
  background: var(--color-bg);
  border-block: 1px solid var(--color-border);
}
.packages .container{ position: relative; z-index: 1; }
.packages-grid{
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.package-card{
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.package-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.package-card::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(211,162,74,0.18), transparent 60%);
}
.package-card:hover::after{ opacity: 1; }

.package-card--featured{ border: 2px solid var(--gold-500); }
.package-card__ribbon{
  position: absolute;
  top: var(--space-md); right: -2.6rem;
  transform: rotate(45deg);
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: var(--step-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 3rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.package-card__media{ position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.package-card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.package-card:hover .package-card__media img{ transform: scale(1.06); }

.package-card__duration{
  position: absolute;
  bottom: var(--space-sm); left: var(--space-sm);
  background: rgba(20,15,10,0.62);
  backdrop-filter: blur(6px);
  color: var(--sand-50);
  font-size: var(--step-2xs);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.package-card__duration svg{ width: 14px; height: 14px; }

.package-card__body{ padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); flex: 1; }
.package-card__body h3{ font-size: var(--step-lg); }
.package-card__body > p{ color: var(--color-text-muted); font-size: var(--step-xs); margin-top: -0.5rem; }

.package-itinerary{ display: flex; flex-direction: column; gap: var(--space-xs); }
.package-itinerary__day{ display: flex; gap: var(--space-sm); }
.package-itinerary__day .day-label{
  flex-shrink: 0;
  width: 64px;
  font-size: var(--step-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  padding-top: 0.15rem;
}
.package-itinerary__day p{ font-size: var(--step-xs); color: var(--color-text); margin: 0; }

.package-includes{ display: flex; flex-wrap: wrap; gap: 0.5rem; }
.package-includes span{
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--sand-100);
  color: var(--ink-700);
  font-size: var(--step-2xs);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}
.package-includes svg{ width: 13px; height: 13px; color: var(--color-primary); }

.package-card__footer{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}
.package-card__footer .btn{ width: 100%; }
.package-card__note{ font-size: var(--step-2xs); color: var(--color-text-muted); text-align: center; }

/* ============================================
   Testimonios
   ============================================ */
.testimonials{
  padding-block: var(--space-3xl);
  background: var(--sand-50);
  border-block: 1px solid var(--color-border);
  overflow: hidden;
}

/* Líneas de Nazca de fondo: se "dibujan" cuando la sección entra en pantalla */
.nazca-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.nazca-bg svg{ width: 100%; height: 100%; }
.nazca-path{
  fill: none;
  stroke: var(--terracotta-500);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.16;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  transition: stroke-dashoffset 2.6s var(--ease-out);
}
.nazca-path--hummingbird{ stroke: var(--teal-500); opacity: 0.14; transition-delay: 0.2s; }
.nazca-path--spiral{ stroke: var(--gold-500); opacity: 0.22; transition-delay: 0.5s; }
.nazca-path--2{ transition-delay: 0.35s; }
.nazca-bg.is-visible .nazca-path{ stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce){
  .nazca-path{ transition: none; stroke-dashoffset: 0; }
}

/* Siluetas tenues de fauna de Paracas (lobo marino, pingüino, foca), mismo
   fondo decorativo que las líneas de Nazca — se desvanecen al entrar en vista */
.wildlife-silhouette{ opacity: 0; transition: opacity 1.6s var(--ease-out); }
.wildlife-silhouette--sealion{ fill: var(--terracotta-700); }
.wildlife-silhouette--penguin{ fill: var(--ink-900); }
.wildlife-silhouette--seal{ fill: var(--teal-700); }
.nazca-bg.is-visible .wildlife-silhouette--sealion{ opacity: 0.09; transition-delay: 0.1s; }
.nazca-bg.is-visible .wildlife-silhouette--penguin{ opacity: 0.07; transition-delay: 0.3s; }
.nazca-bg.is-visible .wildlife-silhouette--seal{ opacity: 0.08; transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce){
  .wildlife-silhouette{ transition: none; }
}

.testimonials .container{ position: relative; z-index: 1; }

.testimonials-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.testimonial-card{
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), z-index 0s;
  position: relative;
}
.testimonial-card__stars{ display: flex; gap: 2px; color: var(--gold-500); }
.testimonial-card__stars svg{ width: 16px; height: 16px; }
.testimonial-card__stars svg.is-empty{ color: var(--sand-300); }
.testimonial-card p{ color: var(--color-text); font-size: var(--step-xs); flex: 1; }
.testimonial-card__author{ display: flex; align-items: center; gap: var(--space-sm); }
.testimonial-card__avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--sand-50);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-sm);
  flex-shrink: 0;
}
.testimonial-card__author strong{ display: block; font-size: var(--step-xs); }
.testimonial-card__author span{ display: block; font-size: var(--step-2xs); color: var(--color-text-muted); }

.testimonials-empty{
  width: 100%;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
}
.testimonials-empty svg{ width: 34px; height: 34px; color: var(--color-accent); margin-bottom: var(--space-sm); }
.testimonials-empty p{ font-size: var(--step-sm); max-width: 42ch; margin-inline: auto; }
.testimonials-empty strong{ display: block; font-family: var(--font-display); font-size: var(--step-md); color: var(--color-text); margin-bottom: var(--space-2xs); }

.testimonial-form-card{
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}
.testimonial-form-card__head{ text-align: center; margin-bottom: var(--space-lg); }
.testimonial-form-card__head h3{ font-size: var(--step-lg); }
.testimonial-form-card__head p{ color: var(--color-text-muted); font-size: var(--step-xs); margin-top: var(--space-2xs); }

.star-input{ display: flex; gap: 0.35rem; }
.star-input .star{
  background: none;
  border: none;
  padding: 0.15rem;
  color: var(--sand-300);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.star-input .star svg{ width: 28px; height: 28px; }
.star-input .star:hover{ transform: scale(1.12); }
.star-input .star.is-active{ color: var(--gold-500); }

.checkbox-field{
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--step-2xs);
  color: var(--color-text-muted);
  margin: var(--space-sm) 0 var(--space-md);
  cursor: pointer;
}
.checkbox-field input{ margin-top: 2px; accent-color: var(--color-primary); }

/* ============================================
   Mapa / Cobertura
   ============================================ */
.coverage{
  position: relative;
  overflow: hidden;
  padding-block: var(--space-3xl);
}
.coverage .container{
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
.coverage-map{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}
.coverage-map iframe{ width: 100%; height: 100%; border: 0; }

.coverage-list{
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  padding-left: var(--space-md);
}
.coverage-list::before{
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--color-secondary);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1100ms var(--ease-out);
}
.coverage-list.is-visible::before{ transform: scaleY(1); }
.coverage-list li{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--step-xs);
}
.coverage-list li::before{
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-md) - 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 3px var(--sand-50);
}
.coverage-list li strong{ font-family: var(--font-display); font-size: var(--step-sm); font-weight: 600; }
.coverage-list li span{ color: var(--color-secondary); font-weight: 600; }

/* ============================================
   Contacto
   ============================================ */
.contact{
  padding-block: var(--space-3xl);
  background: var(--teal-700);
  color: var(--sand-100);
  position: relative;
  overflow: hidden;
}
.contact::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(211,162,74,0.16), transparent 55%);
  pointer-events: none;
}
.contact .container{
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  position: relative;
}
.contact .section-head h2{ color: var(--sand-50); }
.contact .section-head p{ color: var(--ink-300); }
.contact .eyebrow{ color: var(--gold-400); }
.contact .eyebrow::before{ background: var(--gold-400); }

.contact-info{ display: flex; flex-direction: column; gap: var(--space-md); }
.contact-info__item{
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.contact-info__item .icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info__item .icon svg{ width: 20px; height: 20px; color: var(--gold-400); }
.contact-info__item strong{ display: block; color: var(--sand-50); font-size: var(--step-sm); }
.contact-info__item p, .contact-info__item a{ display: block; color: var(--ink-300); font-size: var(--step-xs); }
.contact-info__item a:hover{ color: var(--sand-50); }

.contact-social{ display: flex; gap: var(--space-sm); margin-top: var(--space-sm); }
.contact-social a{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.contact-social a:hover{ background: rgba(255,255,255,0.22); }
.contact-social svg{ width: 18px; height: 18px; color: var(--sand-50); }

.contact-form{
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
}
.contact-form h3{ font-size: var(--step-lg); }
.contact-form p.form-sub{ color: var(--color-text-muted); font-size: var(--step-xs); margin-top: var(--space-2xs); margin-bottom: var(--space-md); }

.field{ margin-bottom: var(--space-sm); }
.field label{
  display: block;
  font-size: var(--step-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--sand-50);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--color-secondary);
}
.field textarea{ resize: vertical; min-height: 90px; }
.field-row{ display: grid; grid-template-columns: 1fr; gap: 0 var(--space-sm); }

.form-note{
  font-size: var(--step-2xs);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.site-footer{
  background: var(--ink-900);
  color: var(--ink-300);
  padding-top: var(--space-xl);
}
.footer-top{
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand .brand{ color: var(--sand-50); }
.footer-brand p{ margin-top: var(--space-sm); font-size: var(--step-xs); max-width: 40ch; }
.footer-col h4{
  font-family: var(--font-body);
  font-size: var(--step-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand-50);
  margin-bottom: var(--space-sm);
}
.footer-col ul{ display: flex; flex-direction: column; gap: var(--space-2xs); }
.footer-col a{ font-size: var(--step-xs); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover{ color: var(--sand-50); }

.footer-bottom{
  padding-block: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--step-2xs);
}
.footer-credits{ opacity: 0.7; }
.footer-credits a{ text-decoration: underline; }

/* ============================================
   Riel de recorrido — línea de "camino" que se dibuja
   mientras se hace scroll (como Victus), con marcador viajero
   ============================================ */
.journey-rail{
  /* Oculto temporalmente a pedido — ver .route-walker, su reemplazo actual. */
  display: none;
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 640px;
  z-index: 60;
  pointer-events: none;
}
.journey-rail__track{ position: absolute; inset: 0; overflow: visible; }
.journey-rail__road{
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}
.journey-rail__progress{
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(14,110,118,0.55));
}

.journey-waypoint{
  position: absolute;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--sand-300);
  border: 2px solid var(--color-bg);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.journey-waypoint:hover{ transform: scale(1.4); }
.journey-waypoint.is-active{ background: var(--color-primary); transform: scale(1.3); }

.journey-waypoint__label{
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--ink-900);
  color: var(--sand-50);
  font-size: var(--step-2xs);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.journey-waypoint:hover .journey-waypoint__label{ opacity: 1; transform: translateY(-50%) translateX(0); }

.journey-rail__marker{
  position: absolute;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--sand-50);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  will-change: transform;
}
.journey-rail__marker svg{ width: 15px; height: 15px; }
.journey-rail__marker-ping{
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--teal-500);
  animation: journeyPing 2.2s ease-out infinite;
}
@keyframes journeyPing{
  0%{ transform: scale(0.8); opacity: 0.8; }
  100%{ transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .journey-rail__marker-ping{ display: none; }
}

/* ============================================
   Caminante de recorrido — reemplazo temporal del riel lateral:
   el buggy tubular (mismo diseño del hero) con el viajero manejando,
   que recorre una ruta abajo (desk y mobile) y te saluda al detenerte.
   ============================================ */
.route-walker{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  z-index: 90;
  pointer-events: none;
}
.route-walker__road{
  /* Cerros de duna irregulares (distintos tamaños, no un patrón repetido) —
     la misma curva se usa en site.js para que el buggy suba y baje con ellos. */
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 170' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='d' x1='0.15' y1='0' x2='0.65' y2='1'%3E%3Cstop offset='0' stop-color='%23E9BC7C'/%3E%3Cstop offset='0.32' stop-color='%23CE8A4C'/%3E%3Cstop offset='0.68' stop-color='%23A15F30'/%3E%3Cstop offset='1' stop-color='%235E3A1F'/%3E%3C/linearGradient%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0,74.3 L16.7,73.4 L33.3,74 L50,76 L66.7,79.2 L83.3,83.3 L100,87.6 L116.7,91.6 L133.3,95 L150,97.2 L166.7,98 L183.3,97.4 L200,95.4 L216.7,92.4 L233.3,88.6 L250,84.6 L266.7,80.8 L283.3,77.5 L300,75.2 L316.7,73.9 L333.3,73.6 L350,74.2 L366.7,75.6 L383.3,77.3 L400,79.1 L416.7,80.8 L433.3,82.2 L450,83.3 L466.7,84.2 L483.3,85 L500,86 L516.7,87.5 L533.3,89.8 L550,93.1 L566.7,97.3 L583.3,102.5 L600,108.4 L616.7,114.6 L633.3,120.7 L650,126.1 L666.7,130.5 L683.3,133.4 L700,134.7 L716.7,134.2 L733.3,132.1 L750,128.7 L766.7,124.4 L783.3,119.7 L800,115.1 L816.7,111.2 L833.3,108.3 L850,106.5 L866.7,106 L883.3,106.7 L900,108.2 L916.7,110.3 L933.3,112.5 L950,114.5 L966.7,116 L983.3,116.8 L1000,116.8 L1000,170 L0,170 Z' fill='url(%23d)'/%3E%3Cpath d='M0,74.3 L16.7,73.4 L33.3,74 L50,76 L66.7,79.2 L83.3,83.3 L100,87.6 L116.7,91.6 L133.3,95 L150,97.2 L166.7,98 L183.3,97.4 L200,95.4 L216.7,92.4 L233.3,88.6 L250,84.6 L266.7,80.8 L283.3,77.5 L300,75.2 L316.7,73.9 L333.3,73.6 L350,74.2 L366.7,75.6 L383.3,77.3 L400,79.1 L416.7,80.8 L433.3,82.2 L450,83.3 L466.7,84.2 L483.3,85 L500,86 L516.7,87.5 L533.3,89.8 L550,93.1 L566.7,97.3 L583.3,102.5 L600,108.4 L616.7,114.6 L633.3,120.7 L650,126.1 L666.7,130.5 L683.3,133.4 L700,134.7 L716.7,134.2 L733.3,132.1 L750,128.7 L766.7,124.4 L783.3,119.7 L800,115.1 L816.7,111.2 L833.3,108.3 L850,106.5 L866.7,106 L883.3,106.7 L900,108.2 L916.7,110.3 L933.3,112.5 L950,114.5 L966.7,116 L983.3,116.8 L1000,116.8 L1000,170 L0,170 Z' fill='black' filter='url(%23grain)'/%3E%3Cpath d='M0,74.3 L16.7,73.4 L33.3,74 L50,76 L66.7,79.2 L83.3,83.3 L100,87.6 L116.7,91.6 L133.3,95 L150,97.2 L166.7,98 L183.3,97.4 L200,95.4 L216.7,92.4 L233.3,88.6 L250,84.6 L266.7,80.8 L283.3,77.5 L300,75.2 L316.7,73.9 L333.3,73.6 L350,74.2 L366.7,75.6 L383.3,77.3 L400,79.1 L416.7,80.8 L433.3,82.2 L450,83.3 L466.7,84.2 L483.3,85 L500,86 L516.7,87.5 L533.3,89.8 L550,93.1 L566.7,97.3 L583.3,102.5 L600,108.4 L616.7,114.6 L633.3,120.7 L650,126.1 L666.7,130.5 L683.3,133.4 L700,134.7 L716.7,134.2 L733.3,132.1 L750,128.7 L766.7,124.4 L783.3,119.7 L800,115.1 L816.7,111.2 L833.3,108.3 L850,106.5 L866.7,106 L883.3,106.7 L900,108.2 L916.7,110.3 L933.3,112.5 L950,114.5 L966.7,116 L983.3,116.8 L1000,116.8' fill='none' stroke='%23F3CE8E' stroke-width='1.6' opacity='0.85'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 170px;
}
.route-walker__figure{
  /* Sin transition: la posición ahora se suaviza cuadro a cuadro con inercia
     desde site.js (rAF + easing), no con un CSS transition de duración fija —
     así el buggy sigue deslizándose un poco al soltar el scroll, en vez de
     frenar en seco. */
  position: absolute;
  bottom: 6px;
  left: 0%;
  width: 104px; height: 52px;
  margin-left: -52px;
}

/* Ruedas girando mientras se mueve; se detienen al quedar idle. */
.route-walker__wheel{ transform-box: view-box; transform-origin: var(--pivot); animation: walkerWheelSpin 0.5s linear infinite; }
.route-walker__figure.is-idle .route-walker__wheel{ animation-play-state: paused; }
@keyframes walkerWheelSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Saludo breve al detenerse, mirando al usuario */
.walker-wave{ transform-box: view-box; transform-origin: var(--pivot); }
.route-walker__figure.is-idle .walker-wave{ animation: walkerWave 0.9s ease-in-out 1 both; }
@keyframes walkerWave{
  0%{ transform: rotate(0deg); }
  20%{ transform: rotate(-38deg); }
  40%{ transform: rotate(-14deg); }
  60%{ transform: rotate(-38deg); }
  80%{ transform: rotate(-10deg); }
  100%{ transform: rotate(0deg); }
}

@media (max-width: 899px){
  .whatsapp-float{ bottom: 124px; }
  .route-walker{ height: 110px; }
  .route-walker__road{
    height: 110px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 110' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='d' x1='0.15' y1='0' x2='0.65' y2='1'%3E%3Cstop offset='0' stop-color='%23E9BC7C'/%3E%3Cstop offset='0.32' stop-color='%23CE8A4C'/%3E%3Cstop offset='0.68' stop-color='%23A15F30'/%3E%3Cstop offset='1' stop-color='%235E3A1F'/%3E%3C/linearGradient%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0,50.1 L16.7,49.5 L33.3,49.9 L50,51.2 L66.7,53.2 L83.3,55.7 L100,58.3 L116.7,60.8 L133.3,62.9 L150,64.3 L166.7,64.8 L183.3,64.4 L200,63.2 L216.7,61.3 L233.3,59 L250,56.5 L266.7,54.2 L283.3,52.2 L300,50.7 L316.7,49.9 L333.3,49.7 L350,50.1 L366.7,50.9 L383.3,51.9 L400,53 L416.7,54.1 L433.3,54.9 L450,55.6 L466.7,56.1 L483.3,56.6 L500,57.3 L516.7,58.3 L533.3,59.7 L550,61.7 L566.7,64.4 L583.3,67.6 L600,71.2 L616.7,75.1 L633.3,78.8 L650,82.2 L666.7,84.9 L683.3,86.7 L700,87.5 L716.7,87.2 L733.3,85.9 L750,83.7 L766.7,81.1 L783.3,78.2 L800,75.4 L816.7,72.9 L833.3,71.1 L850,70 L866.7,69.7 L883.3,70.1 L900,71 L916.7,72.3 L933.3,73.6 L950,74.9 L966.7,75.8 L983.3,76.3 L1000,76.4 L1000,110 L0,110 Z' fill='url(%23d)'/%3E%3Cpath d='M0,50.1 L16.7,49.5 L33.3,49.9 L50,51.2 L66.7,53.2 L83.3,55.7 L100,58.3 L116.7,60.8 L133.3,62.9 L150,64.3 L166.7,64.8 L183.3,64.4 L200,63.2 L216.7,61.3 L233.3,59 L250,56.5 L266.7,54.2 L283.3,52.2 L300,50.7 L316.7,49.9 L333.3,49.7 L350,50.1 L366.7,50.9 L383.3,51.9 L400,53 L416.7,54.1 L433.3,54.9 L450,55.6 L466.7,56.1 L483.3,56.6 L500,57.3 L516.7,58.3 L533.3,59.7 L550,61.7 L566.7,64.4 L583.3,67.6 L600,71.2 L616.7,75.1 L633.3,78.8 L650,82.2 L666.7,84.9 L683.3,86.7 L700,87.5 L716.7,87.2 L733.3,85.9 L750,83.7 L766.7,81.1 L783.3,78.2 L800,75.4 L816.7,72.9 L833.3,71.1 L850,70 L866.7,69.7 L883.3,70.1 L900,71 L916.7,72.3 L933.3,73.6 L950,74.9 L966.7,75.8 L983.3,76.3 L1000,76.4 L1000,110 L0,110 Z' fill='black' filter='url(%23grain)'/%3E%3Cpath d='M0,50.1 L16.7,49.5 L33.3,49.9 L50,51.2 L66.7,53.2 L83.3,55.7 L100,58.3 L116.7,60.8 L133.3,62.9 L150,64.3 L166.7,64.8 L183.3,64.4 L200,63.2 L216.7,61.3 L233.3,59 L250,56.5 L266.7,54.2 L283.3,52.2 L300,50.7 L316.7,49.9 L333.3,49.7 L350,50.1 L366.7,50.9 L383.3,51.9 L400,53 L416.7,54.1 L433.3,54.9 L450,55.6 L466.7,56.1 L483.3,56.6 L500,57.3 L516.7,58.3 L533.3,59.7 L550,61.7 L566.7,64.4 L583.3,67.6 L600,71.2 L616.7,75.1 L633.3,78.8 L650,82.2 L666.7,84.9 L683.3,86.7 L700,87.5 L716.7,87.2 L733.3,85.9 L750,83.7 L766.7,81.1 L783.3,78.2 L800,75.4 L816.7,72.9 L833.3,71.1 L850,70 L866.7,69.7 L883.3,70.1 L900,71 L916.7,72.3 L933.3,73.6 L950,74.9 L966.7,75.8 L983.3,76.3 L1000,76.4' fill='none' stroke='%23F3CE8E' stroke-width='1.6' opacity='0.85'/%3E%3C/svg%3E");
    background-size: 100% 110px;
  }
  .route-walker__figure{ width: 82px; height: 41px; margin-left: -41px; bottom: 4px; }
}
@media (prefers-reduced-motion: reduce){
  .route-walker__wheel{ animation: none; }
  .walker-wave{ animation: none; }
}

/* ============================================
   Botón flotante WhatsApp
   ============================================ */
.whatsapp-float{
  position: fixed;
  right: var(--space-md);
  /* Arriba del terreno del buggy (170px de alto) para que las dunas puedan
     ocupar todo el ancho de la pantalla sin que el botón les quite espacio. */
  bottom: 184px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-out);
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width: 28px; height: 28px; color: #06301A; }
.whatsapp-float__ping{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: ping 2.4s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping{
  0%{ transform: scale(1); opacity: 0.55; }
  100%{ transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float__ping{ animation: none; display:none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 640px){
  .trust-strip .container{ grid-template-columns: repeat(4, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .field-row{ grid-template-columns: 1fr 1fr; }
  .include-list{ grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px){
  .footer-top{ grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  /* Tarjetas de testimonios en forma de mazo superpuesto */
  .testimonials-grid{ flex-wrap: nowrap; align-items: center; }
  .testimonials-grid:has(.testimonials-empty){ flex-wrap: wrap; }
  .testimonial-card{
    width: 300px;
    flex-shrink: 0;
    margin-left: -64px;
  }
  .testimonial-card:first-child{ margin-left: 0; }
  .testimonial-card:nth-child(odd){ transform: rotate(-4deg) translateY(6px); }
  .testimonial-card:nth-child(even){ transform: rotate(3deg) translateY(-4px); }
  .testimonial-card:hover{
    transform: rotate(0deg) translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 5;
  }
}
@media (prefers-reduced-motion: reduce){
  .testimonial-card{ transform: none !important; }
}

@media (min-width: 900px){
  .nav-desktop{ display: block; }
  .nav-toggle{ display: none; }
  .header-actions .btn{ display: inline-flex; }
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
  .service-highlight{ grid-template-columns: 1.3fr 1fr; }
  .packages-grid{ grid-template-columns: repeat(3, 1fr); }
  .coverage .container{ grid-template-columns: 1.2fr 0.8fr; }
  .contact .container{ grid-template-columns: 0.9fr 1.1fr; }

  .lugar-stack__inner{ grid-template-columns: 1fr 1.1fr; align-items: center; padding: var(--space-2xl); }
  .lugar-stack__media{ height: 340px; }
}

@media (max-width: 639px){
  .stats-strip .container{ grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .stat-item strong{ font-size: var(--step-xl); }

  /* Padding más angosto en tarjetas grandes: en mobile --space-xl/--space-lg sobra espacio */
  .service-highlight,
  .testimonial-form-card,
  .contact-form{
    padding: var(--space-md);
  }
  .lugar-stack__inner,
  .package-card__body{
    padding: var(--space-md);
  }
  .package-card__footer{ padding-top: var(--space-sm); }
}

/* ============================================
   Página de detalle de un lugar (huacachina.html, etc.)
   ============================================ */
.breadcrumb{
  font-size: var(--step-2xs);
  color: var(--sand-100);
  margin-bottom: var(--space-md);
}
.breadcrumb a{ opacity: 0.85; transition: opacity var(--dur-fast) var(--ease-out); }
.breadcrumb a:hover{ opacity: 1; text-decoration: underline; }
.breadcrumb span{ opacity: 0.85; }

.place-hero{
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-top: 7rem;
  color: var(--sand-50);
}
.place-hero__bg{
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(20,15,10,0.30) 0%, rgba(20,15,10,0.35) 45%, rgba(20,15,10,0.82) 100%), var(--place-hero-img);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.place-hero .container{ position: relative; z-index: 1; padding-bottom: var(--space-xl); }
.place-hero .eyebrow{ color: var(--gold-400); }
.place-hero .eyebrow::before{ background: var(--gold-400); }
.place-hero h1{ color: var(--sand-50); font-size: var(--step-2xl); margin-top: var(--space-sm); }
.place-hero p{ margin-top: var(--space-md); max-width: 60ch; color: var(--sand-100); font-size: var(--step-md); }
.place-hero .lugar-stack__meta{ margin-top: var(--space-lg); color: var(--gold-400); }

.place-content{ padding-block: var(--space-3xl); }
.place-content__grid{
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
.place-content__main h2{ font-size: var(--step-xl); margin-bottom: var(--space-md); }
.place-content__main h2:not(:first-child){ margin-top: var(--space-2xl); }
.place-content__main p{ color: var(--ink-700); margin-bottom: var(--space-md); max-width: 65ch; }
.place-content__main ul{ display: flex; flex-direction: column; gap: var(--space-sm); }
.place-content__main li{ display: flex; gap: var(--space-2xs); align-items: flex-start; color: var(--ink-700); }
.place-content__main li svg{ width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 3px; }

.place-info-card{
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  align-self: start;
}
.place-info-card h3{ font-size: var(--step-md); margin-bottom: var(--space-md); }
.place-info-card ul{ display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.place-info-card li{
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--step-xs);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}
.place-info-card li strong{ color: var(--color-secondary); text-align: right; }

.place-gallery{ padding-block: var(--space-3xl); background: var(--sand-50); border-top: 1px solid var(--color-border); }
.gallery-grid{ display: grid; gap: var(--space-sm); grid-template-columns: repeat(2, 1fr); }
.gallery-grid a{ display: block; border-radius: var(--radius-md); overflow: hidden; }
.gallery-grid img{
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.gallery-grid a:hover img{ transform: scale(1.06); }

.place-cta{
  padding-block: var(--space-2xl);
  text-align: center;
}
.place-cta .btn{ margin: 0 var(--space-2xs); }

@media (min-width: 700px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px){
  .place-content__grid{ grid-template-columns: 1.6fr 1fr; }
  .place-info-card{ position: sticky; top: 100px; }
}

/* ============================================
   Página de búsqueda
   ============================================ */
.search-page{
  padding-top: 9.5rem;
  padding-bottom: var(--space-3xl);
  min-height: 70vh;
}
.search-page h1{
  font-size: var(--step-2xl);
  margin-top: var(--space-2xs);
}
.search-page > .container > p{
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  max-width: 55ch;
}
.search-box{
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.search-box svg{ width: 20px; height: 20px; color: var(--color-text-muted); flex-shrink: 0; }
.search-box input{
  border: none;
  outline: none;
  background: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--step-sm);
  color: var(--color-text);
}
.search-box input::placeholder{ color: var(--ink-300); }

.search-results{
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  grid-template-columns: 1fr;
}
.search-result{
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.search-result:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.search-result__icon{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--color-primary);
}
.search-result__icon svg{ width: 20px; height: 20px; }
.search-result__body h2{ font-size: var(--step-md); }
.search-result__body p{ margin-top: var(--space-3xs); color: var(--color-text-muted); font-size: var(--step-xs); }
.search-result__tag{
  display: inline-block;
  margin-top: var(--space-2xs);
  font-size: var(--step-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.search-result mark{
  background: var(--gold-400);
  color: var(--ink-900);
  border-radius: 3px;
  padding: 0 2px;
}

.search-empty{
  margin-top: var(--space-xl);
  color: var(--color-text-muted);
}
.search-empty a{ color: var(--color-primary); font-weight: 600; }

@media (min-width: 700px){
  .search-results{ grid-template-columns: repeat(2, 1fr); }
}

