/* ==============================================================================
   EXPLOOR Chachapoyas - Sistema de Estilos Premium
   Brandbook Oficial 2024:
   - Verde Bosque: #1B4B3A (Naturaleza, vida)
   - Arena Andina: #EBE0D0 (Cultura, historia)
   - Terracota:    #C4653A (Tierra, aventura - Conversión)
   - Olivo:        #7A8F5B (Biodiversidad)
   - Gris Piedra:  #4A4A4A (Equilibrio)
   - Blanco:       #FFFFFF (Claridad)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --c-forest: #1B4B3A;
  --c-forest-dark: #123529;
  --c-forest-deep: #0C2119;
  --c-forest-light: #24634d;
  --c-sand: #EBE0D0;
  --c-sand-light: #F7F3EC;
  --c-sand-dark: #D4C3AC;
  --c-terracotta: #C4653A;
  --c-terracotta-hover: #AA522A;
  --c-olive: #7A8F5B;
  --c-olive-light: #EEF4E9;
  --c-stone: #4A4A4A;
  --c-stone-muted: #6E6E6E;
  --c-stone-light: #F0EFEB;
  --c-white: #FFFFFF;
  --c-bg: #FAF8F5;

  --font-ui: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-editorial: 'Lora', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 8px rgba(12, 33, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 33, 25, 0.1);
  --shadow-lg: 0 16px 40px rgba(12, 33, 25, 0.14);
}

/* -----------------------------------------------------------------------------
   Reset & Base Elements
----------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
}
@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
}

body {
  font-family: var(--font-ui);
  color: var(--c-stone);
  background-color: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  width: 100%;
}
@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

/* Evitar que transiciones y animaciones laterales desborden la pantalla en móviles */
section,
.overflow-hidden-section {
  position: relative;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  section,
  .overflow-hidden-section {
    overflow-x: hidden;
  }
}

/* En pantallas pequeñas, limitar transformaciones de AOS para evitar desborde */
@media (max-width: 991.98px) {
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    max-width: 100% !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-forest-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-editorial {
  font-family: var(--font-editorial);
}
a {
  color: rgb(110, 45, 15);
}

.text-forest { color: var(--c-forest) !important; }
.text-forest-dark { color: var(--c-forest-dark) !important; }
.text-forest-deep { color: var(--c-forest-deep) !important; }
.text-terracotta { color: var(--c-terracotta) !important; }
.text-olive { color: var(--c-olive) !important; }
.text-sand { color: var(--c-sand) !important; }
.text-stone { color: var(--c-stone) !important; }
.text-stone-muted { color: var(--c-stone-muted) !important; }
.bg-forest { background-color: var(--c-forest) !important; }
.bg-forest-dark { background-color: var(--c-forest-dark) !important; }
.bg-forest-deep { background-color: var(--c-forest-deep) !important; }
.bg-sand-light { background-color: var(--c-sand-light) !important; }
.bg-sand { background-color: var(--c-sand) !important; }
.bg-terracotta { background-color: var(--c-terracotta) !important; }

/* Eyebrows / Supertítulos */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-olive);
  margin-bottom: 0.6rem;
}
.eyebrow.light {
  color: var(--c-sand);
}
.eyebrow.terracotta {
  color: var(--c-terracotta);
}

/* -----------------------------------------------------------------------------
   Top Bar & Navbar
----------------------------------------------------------------------------- */
.site-topbar {
  background-color: var(--c-forest-dark);
  color: var(--c-sand);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(235, 224, 208, 0.12);
}
.site-topbar a {
  color: var(--c-sand);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-topbar a:hover {
  color: var(--c-white);
}
.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--c-sand) !important;
  background-color: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.topbar-social-link:hover {
  color: var(--c-white) !important;
  background-color: var(--c-terracotta);
  transform: translateY(-2px);
}

.tripadvisor-icon {
  display: inline-block;
  vertical-align: -0.15em;
  transition: transform 0.2s ease;
}

.navbar-exploor {
  position: relative;
  background-color: var(--c-forest) !important;
  box-shadow: 0 4px 20px rgba(12, 33, 25, 0.18);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible !important;
}
.navbar-exploor > .container {
  position: relative;
  z-index: 1020;
  overflow: visible !important;
}

.navbar-brand-logo {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.navbar-brand-logo:hover {
  transform: scale(1.02);
}

.navbar-exploor .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  position: relative;
}
.navbar-exploor .nav-link:hover,
.navbar-exploor .nav-link.active {
  color: var(--c-sand) !important;
}
.navbar-exploor .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--c-sand);
  border-radius: 2px;
}

/* Selector de Idioma y Dropdown de Navegación */
header.sticky-top {
  z-index: 1025;
  overflow: visible !important;
}

.lang-switcher {
  position: relative;
  z-index: 1030;
}

.lang-btn {
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-color: rgba(235, 224, 208, 0.4) !important;
  color: var(--c-sand) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  transition: all 0.2s ease !important;
}
.lang-btn:hover,
.lang-btn:focus,
.lang-btn[aria-expanded="true"] {
  background: rgba(235, 224, 208, 0.15) !important;
  border-color: var(--c-sand) !important;
  color: var(--c-white) !important;
}

.lang-dropdown-menu {
  min-width: 145px;
  background-color: #ffffff !important;
  border: 1px solid rgba(27, 75, 58, 0.12) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(12, 33, 25, 0.25) !important;
  z-index: 1060 !important;
  margin-top: 0.5rem !important;
  padding: 0.4rem 0 !important;
}
.lang-dropdown-menu .dropdown-item {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1rem !important;
  color: var(--c-stone) !important;
  transition: all 0.15s ease;
}
.lang-dropdown-menu .dropdown-item:hover,
.lang-dropdown-menu .dropdown-item:focus {
  background-color: var(--c-sand-light) !important;
  color: var(--c-forest) !important;
}
.lang-dropdown-menu .dropdown-item.active {
  background-color: rgba(27, 75, 58, 0.08) !important;
  color: var(--c-forest) !important;
  font-weight: 700 !important;
}

@media (max-width: 991.98px) {
  .navbar-exploor .navbar-collapse {
    background-color: var(--c-forest-dark);
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1030;
    overflow: visible !important;
  }
  .navbar-exploor .navbar-collapse.collapsing {
    overflow: hidden !important;
  }
  .lang-switcher .dropdown-menu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    transform: none !important;
  }
}

/* -----------------------------------------------------------------------------
   Botones de Conversión y Estilos
----------------------------------------------------------------------------- */
.btn-cta {
  background-color: var(--c-terracotta);
  color: var(--c-white) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(196, 101, 58, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-cta:hover {
  background-color: var(--c-terracotta-hover);
  color: var(--c-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196, 101, 58, 0.45);
}

.btn-cta-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.btn-cta-outline-light {
  background-color: transparent;
  color: var(--c-white) !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-cta-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--c-white) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta i,
.btn-cta-outline-light i {
  font-size: 1.15em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-outline-sand {
  border: 2px solid var(--c-sand);
  color: var(--c-sand) !important;
  background: transparent;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-outline-sand:hover {
  background-color: var(--c-sand);
  color: var(--c-forest) !important;
}

.btn-forest {
  background-color: var(--c-forest);
  color: var(--c-white) !important;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.btn-forest:hover {
  background-color: var(--c-forest-dark);
  transform: translateY(-1px);
}

.btn-outline-forest {
  border: 2px solid var(--c-forest);
  color: var(--c-forest) !important;
  background: transparent;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-outline-forest:hover {
  background-color: var(--c-forest);
  color: var(--c-white) !important;
}

/* -----------------------------------------------------------------------------
   Hero Section & Background Slider (Fade Transitions & Ken Burns)
----------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--c-white);
  background-color: var(--c-forest-deep);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: filter, transform;
  transform: translateZ(0);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.1, 0.5, 0.1, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 1;
}

.hero-slide.prev-active {
  opacity: 1;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 33, 25, 0.88) 0%,
    rgba(12, 33, 25, 0.62) 48%,
    rgba(12, 33, 25, 0.15) 78%,
    rgba(12, 33, 25, 0.05) 100%
  ),
  linear-gradient(
    180deg,
    rgba(12, 33, 25, 0.35) 0%,
    transparent 30%,
    rgba(12, 33, 25, 0.65) 100%
  );
  z-index: 1;
}

@media (max-width: 991.98px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(12, 33, 25, 0.82) 0%,
      rgba(12, 33, 25, 0.72) 65%,
      rgba(12, 33, 25, 0.92) 100%
    );
  }
}

.hero-topography {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(235, 224, 208, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  will-change: filter, opacity, transform;
  transform: translateZ(0);
}

/* Indicador y Controles del Hero Slider */
.hero-slide-indicator-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 53, 41, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 224, 208, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  width: fit-content;
  max-width: 100%;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-terracotta);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(196, 101, 58, 0.7);
  animation: heroPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes heroPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(196, 101, 58, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(196, 101, 58, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(196, 101, 58, 0);
  }
}

#heroSlideCaption {
  transition: opacity 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.hero-nav-arrow {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-sand);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}

.hero-nav-arrow:hover {
  background: var(--c-terracotta);
  color: var(--c-white);
  border-color: var(--c-terracotta);
  transform: scale(1.1);
}

.hero-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(235, 224, 208, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-nav-dot.active {
  background: var(--c-sand);
  width: 20px;
  border-radius: 10px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.trust-badges-bar {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  margin-top: 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-sand);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-item i {
  color: var(--c-terracotta);
  font-size: 1.1rem;
}

/* -----------------------------------------------------------------------------
   Barra Introductoria Fuera del Hero (Garantías & Filosofía)
----------------------------------------------------------------------------- */
.hero-intro-strip {
  background-color: var(--c-white);
  border-bottom: 1px solid var(--c-sand-dark);
  position: relative;
  z-index: 10;
}

.trust-item-strip {
  transition: transform 0.2s ease;
}
.trust-item-strip:hover {
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------------------
   Sección Completa con Video de Fondo en Proporción 16:9 (Loop Continuo)
----------------------------------------------------------------------------- */
.video-bg-section {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0C2119;
}

.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.video-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 exact ratio */
  min-height: 100%;
  min-width: 177.77vh; /* 16:9 exact ratio */
  transform: translate(-50%, -50%) scale(1.2); /* Oculta barras negras y UI de YouTube */
  border: 0;
  pointer-events: none;
}

.video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(12, 33, 25, 0.6) 0%,
    rgba(12, 33, 25, 0.25) 50%,
    rgba(12, 33, 25, 0.7) 100%
  );
  z-index: 2;
  pointer-events: auto; /* Bloquea cualquier click o interacción con el iframe */
  cursor: default;
}

.text-shadow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.text-shadow-sm {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Quick Categories Pills */
.quick-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.quick-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.quick-pill:hover {
  background: var(--c-sand);
  color: var(--c-forest-dark);
  border-color: var(--c-sand);
}

/* -----------------------------------------------------------------------------
   Route Finder & Filter Bar
----------------------------------------------------------------------------- */
.route-finder-box {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27, 75, 58, 0.08);
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.filter-group-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-stone-muted);
  margin-bottom: 0.35rem;
}

.custom-select-exploor {
  border: 1.5px solid #E0DDD7;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-forest-dark);
  background-color: var(--c-white);
  transition: border-color 0.2s ease;
}
.custom-select-exploor:focus {
  border-color: var(--c-forest);
  box-shadow: 0 0 0 0.2rem rgba(27, 75, 58, 0.15);
}

.filter-counter-badge {
  background-color: var(--c-sand-light);
  color: var(--c-forest);
  border: 1px solid var(--c-sand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* -----------------------------------------------------------------------------
   Tour Cards (Catálogo de Rutas)
----------------------------------------------------------------------------- */
.tour-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 75, 58, 0.08);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 75, 58, 0.2);
}

.tour-card-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--c-forest-dark);
}

.tour-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tour-card:hover .tour-card-visual img {
  transform: scale(1.06);
}

.tour-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(12,33,25,0.7) 100%);
  pointer-events: none;
}

.tour-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.badge-route-num {
  background-color: var(--c-forest);
  color: var(--c-white);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.badge-duration {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--c-forest-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.badge-difficulty {
  position: absolute;
  bottom: 0.9rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.badge-diff-easy-moderate {
  background-color: var(--c-olive);
  color: var(--c-white);
}
.badge-diff-moderate {
  background-color: #D9822B;
  color: var(--c-white);
}
.badge-diff-demanding {
  background-color: var(--c-terracotta);
  color: var(--c-white);
}

.tour-price-tag {
  position: absolute;
  bottom: 0.9rem;
  right: 1rem;
  z-index: 2;
  color: var(--c-sand);
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.tour-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.tour-card-title a {
  color: var(--c-forest-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.tour-card-title a:hover {
  color: var(--c-terracotta);
}

.tour-card-lead {
  font-size: 0.88rem;
  color: var(--c-stone-muted);
  margin-bottom: 1.1rem;
  line-height: 1.55;
  flex-grow: 1;
}

.tour-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--c-stone-light);
  border-bottom: 1px solid var(--c-stone-light);
  margin-bottom: 1.2rem;
}
.tour-spec-item {
  font-size: 0.8rem;
}
.tour-spec-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--c-stone-muted);
  font-weight: 600;
}
.tour-spec-item strong {
  color: var(--c-forest-dark);
  font-weight: 700;
}

.tour-card-actions {
  display: flex;
  gap: 0.5rem;
}
.tour-card-actions .btn {
  font-size: 0.84rem;
  padding: 0.55rem 0.9rem;
}

/* -----------------------------------------------------------------------------
   Botón Descargar Itinerario PDF (Nuevo Formato Distintivo de Documento Oficial)
----------------------------------------------------------------------------- */
.btn-itinerary-pdf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 0.95rem;
  background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE6 100%);
  border: 1px solid rgba(196, 101, 58, 0.28);
  border-left: 4px solid var(--c-terracotta);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-forest-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-itinerary-pdf:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF6EE 100%);
  border-color: var(--c-terracotta);
  box-shadow: 0 6px 18px rgba(196, 101, 58, 0.16);
  transform: translateY(-2px);
  color: var(--c-forest-dark);
}

.btn-itinerary-pdf .pdf-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #FBEAE5;
  color: var(--c-terracotta);
  border-radius: 8px;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn-itinerary-pdf:hover .pdf-icon-badge {
  background-color: var(--c-terracotta);
  color: #ffffff;
  transform: scale(1.06);
}

.btn-itinerary-pdf .pdf-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.btn-itinerary-pdf .pdf-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-forest-dark);
  letter-spacing: -0.01em;
}

.btn-itinerary-pdf .pdf-subtitle {
  font-size: 0.7rem;
  color: var(--c-stone-muted);
  font-weight: 500;
}

.btn-itinerary-pdf .pdf-action-icon {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--c-terracotta);
  transition: transform 0.22s ease, color 0.22s ease;
}

.btn-itinerary-pdf:hover .pdf-action-icon {
  transform: translateY(2px);
  color: var(--c-forest);
}

/* Versión compacta para modales o cabeceras */
.btn-itinerary-pdf-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  background: #FAF7F2;
  border: 1px solid rgba(196, 101, 58, 0.35);
  border-radius: 6px;
  color: var(--c-terracotta);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-itinerary-pdf-sm:hover {
  background: var(--c-terracotta);
  color: #ffffff;
  border-color: var(--c-terracotta);
  box-shadow: 0 3px 8px rgba(196, 101, 58, 0.2);
}

.btn-itinerary-pdf-sm:hover i {
  color: #ffffff !important;
}

/* -----------------------------------------------------------------------------
   Sección Nosotros & Filosofía (Field Note)
----------------------------------------------------------------------------- */
.field-note-card {
  background-color: var(--c-sand-light);
  border-left: 4px solid var(--c-terracotta);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.field-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}

.field-quote {
  font-family: var(--font-editorial);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--c-forest-dark);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.field-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.field-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-terracotta);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  display: block;
}

/* -----------------------------------------------------------------------------
   Valores y Diferenciales (Brandbook)
----------------------------------------------------------------------------- */
.feature-box {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(27, 75, 58, 0.08);
  height: 100%;
  transition: all 0.25s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--c-olive);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--c-sand-light);
  color: var(--c-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: all 0.2s ease;
}
.feature-box:hover .feature-icon-wrapper {
  background-color: var(--c-forest);
  color: var(--c-sand);
}

/* -----------------------------------------------------------------------------
   Cotizador Rápido & Planificador de Viajes (Re-estilado Premium)
----------------------------------------------------------------------------- */
.planner-quote-section {
  position: relative;
  background-color: var(--c-forest-deep);
  background: radial-gradient(ellipse at 80% 30%, #1B4B3A 0%, #0C2119 65%, #071510 100%);
  color: var(--c-white);
  padding: 5.5rem 0;
}

.planner-quote-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(18, 53, 41, 0.88) 0%, rgba(12, 33, 25, 0.96) 100%);
  z-index: 1;
}

.planner-topography-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(235, 224, 208, 0.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: 2;
  pointer-events: none;
}

.planner-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 224, 208, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.planner-trust-icon:hover {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
  transform: translateY(-2px);
}

.bg-white-5 {
  background: rgba(255, 255, 255, 0.05);
}

.bg-white-10 {
  background: rgba(255, 255, 255, 0.1);
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Tarjeta Glassmorphic del Formulario */
.planner-form-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(235, 224, 208, 0.22);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.planner-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-olive) 0%, var(--c-terracotta) 50%, var(--c-sand) 100%);
}

.planner-label {
  color: var(--c-sand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
}

.planner-input-wrapper {
  position: relative;
}

.planner-input,
.trip-planner-input {
  background-color: rgba(12, 33, 25, 0.75) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(235, 224, 208, 0.2) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1.1rem !important;
  font-size: 0.92rem !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

.planner-input:focus,
.trip-planner-input:focus {
  background-color: rgba(12, 33, 25, 0.95) !important;
  border-color: var(--c-terracotta) !important;
  box-shadow: 0 0 0 4px rgba(196, 101, 58, 0.25) !important;
  color: #FFFFFF !important;
  outline: none !important;
}

.planner-input::placeholder,
.trip-planner-input::placeholder {
  color: rgba(235, 224, 208, 0.45) !important;
}

.planner-input option,
.trip-planner-input option {
  background-color: #0C2119 !important;
  color: #FFFFFF !important;
}

/* Custom select chevron para el planificador */
select.planner-input,
select.trip-planner-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23EBE0D0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 14px 10px !important;
  padding-right: 2.5rem !important;
}

/* -----------------------------------------------------------------------------
   Preguntas Frecuentes (FAQ Accordion)
----------------------------------------------------------------------------- */
.accordion-exploor .accordion-item {
  border: 1px solid rgba(27, 75, 58, 0.1);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--c-white);
}
.accordion-exploor .accordion-button {
  font-weight: 700;
  color: var(--c-forest-dark);
  font-size: 1.02rem;
  padding: 1.2rem 1.4rem;
  background-color: var(--c-white);
  box-shadow: none;
}
.accordion-exploor .accordion-button:not(.collapsed) {
  background-color: var(--c-sand-light);
  color: var(--c-forest);
}
.accordion-exploor .accordion-body {
  padding: 1.4rem;
  color: var(--c-stone);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -----------------------------------------------------------------------------
   Footer
----------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--c-forest-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  border-top: 2px solid var(--c-terracotta);
  overflow: hidden;
}
.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-title {
  color: var(--c-sand);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--c-sand);
  padding-left: 4px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 224, 208, 0.2);
  color: var(--c-sand);
  font-size: 1.05rem;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}
.footer-social-btn:hover {
  background-color: var(--c-terracotta);
  border-color: var(--c-terracotta);
  color: var(--c-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(196, 101, 58, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* -----------------------------------------------------------------------------
   Botón Flotante de WhatsApp (Remodelado Premium & Responsive)
----------------------------------------------------------------------------- */
.floating-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Botón Principal Flotante con Pulso Infinito Verde */
.floating-whatsapp-btn {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 8px 20px 8px 8px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: waPulseInfinite 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.floating-whatsapp-btn:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #0E776A 100%);
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.25), 0 14px 34px rgba(18, 140, 126, 0.55);
}

/* Efecto de Ondas Continuas en Tonalidad Verde (Tamaño fijo, solo ondas expansivas) */
@keyframes waPulseInfinite {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.35), 0 8px 26px rgba(18, 140, 126, 0.42);
  }
  65% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 0 0 24px rgba(37, 211, 102, 0), 0 8px 26px rgba(18, 140, 126, 0.42);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 26px rgba(18, 140, 126, 0.42);
  }
}

.whatsapp-icon-wrapper {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.floating-whatsapp-btn:hover .whatsapp-icon-wrapper {
  transform: scale(1.08) rotate(-6deg);
}

.whatsapp-online-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  background-color: #25D366;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(37, 211, 102, 0.8);
}

.whatsapp-label-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.whatsapp-label-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.whatsapp-label-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   Adaptación Móvil del Botón Flotante (Smart Floating Pill / Bubble)
----------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .floating-whatsapp-container {
    bottom: 18px;
    right: 16px;
  }

  .floating-whatsapp-btn {
    padding: 6px 14px 6px 6px;
    gap: 8px;
  }

  .whatsapp-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .whatsapp-label-title {
    font-size: 0.82rem;
  }

  .whatsapp-label-sub {
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  /* En pantallas ultra compactas, se convierte en una burbuja circular perfecta con icono destacado */
  .floating-whatsapp-btn {
    padding: 5px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  .whatsapp-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }

  .whatsapp-label-group {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   Modal de Ficha Técnica de Ruta
----------------------------------------------------------------------------- */
.modal-route-header {
  background: var(--c-forest);
  color: var(--c-white);
  padding: 1.6rem 2rem;
  border-bottom: 2px solid var(--c-terracotta);
}
.modal-route-header .btn-close {
  filter: invert(1);
}

.route-modal-stats {
  background-color: var(--c-sand-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.route-modal-stat-item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-stone-muted);
  font-weight: 700;
}
.route-modal-stat-item b {
  color: var(--c-forest-dark);
  font-size: 0.95rem;
}

.route-box-pending {
  background: #FFF8E6;
  border-left: 4px solid #D9822B;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 1.2rem;
}

/* -----------------------------------------------------------------------------
   Página de Detalle de Ruta Interna
----------------------------------------------------------------------------- */
.route-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  background-size: cover;
  background-position: center;
  padding: 4rem 0 3rem;
}
.route-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(18, 53, 41, 0.5) 0%, rgba(12, 33, 25, 0.92) 100%);
}

.booking-sidebar-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27, 75, 58, 0.1);
  position: sticky;
  top: 100px;
}

/* -----------------------------------------------------------------------------
   General Page Preloader (Dinámico & Premium)
----------------------------------------------------------------------------- */
.exploor-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
}

/* 4 Cuadrantes Cardinales (Portal Sagrado de Kuélap) */
.portal-quadrants {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.portal-quadrant {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-forest-dark);
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.82, 0, 0.18, 1);
}

/* Recortes poligonales con 0.5% de solapamiento para un sellado perfecto */
.portal-quadrant-top {
  clip-path: polygon(-1% -1%, 101% -1%, 50% 50.5%);
  transform: translateY(0);
}

.portal-quadrant-bottom {
  clip-path: polygon(101% 101%, -1% 101%, 50% 49.5%);
  transform: translateY(0);
}

.portal-quadrant-left {
  clip-path: polygon(-1% 101%, -1% -1%, 50.5% 50%);
  transform: translateX(0);
}

.portal-quadrant-right {
  clip-path: polygon(101% -1%, 101% 101%, 49.5% 50%);
  transform: translateX(0);
}

/* Marco Romboidal Sagrado en Expansión (Terracota & Arena) */
.portal-diamond-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 3.5px solid var(--c-terracotta);
  box-shadow: 0 0 35px rgba(196, 101, 58, 0.8), inset 0 0 25px rgba(196, 101, 58, 0.4);
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
  transition: transform 0.88s cubic-bezier(0.85, 0, 0.15, 1),
              opacity 0.45s ease;
}

.portal-diamond-frame::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid var(--c-sand);
  box-shadow: 0 0 15px rgba(235, 224, 208, 0.6);
  opacity: 0.85;
}

/* SALIDA DINÁMICA: Apertura en 4 direcciones cardinales + expansión del rombo */
.exploor-preloader.preloader-hidden {
  pointer-events: none;
}

.exploor-preloader.preloader-hidden .portal-quadrant-top {
  transform: translateY(-100%);
}

.exploor-preloader.preloader-hidden .portal-quadrant-bottom {
  transform: translateY(100%);
}

.exploor-preloader.preloader-hidden .portal-quadrant-left {
  transform: translateX(-100%);
}

.exploor-preloader.preloader-hidden .portal-quadrant-right {
  transform: translateX(100%);
}

.exploor-preloader.preloader-hidden .portal-diamond-frame {
  transform: translate(-50%, -50%) rotate(45deg) scale(35);
  opacity: 1;
}

/* Contenido central: zoom inmersivo hacia el usuario y desenfoque */
.preloader-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  max-width: 90vw;
  transition: transform 0.38s cubic-bezier(0.3, 0.8, 0.3, 1),
              opacity 0.3s ease,
              filter 0.3s ease;
}

.exploor-preloader.preloader-hidden .preloader-content {
  transform: scale(1.18);
  opacity: 0;
  filter: blur(8px);
}

.exploor-preloader.preloader-hidden .preloader-backdrop-lines {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Ondas topográficas de fondo */
.preloader-backdrop-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contour-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(235, 224, 208, 0.08);
  animation: contourWave 4s ease-out infinite;
}
.contour-circle.c1 { width: 320px; height: 320px; animation-delay: 0s; }
.contour-circle.c2 { width: 540px; height: 540px; animation-delay: 1.3s; }
.contour-circle.c3 { width: 780px; height: 780px; animation-delay: 2.6s; }

@keyframes contourWave {
  0% { transform: scale(0.8); opacity: 0.1; }
  50% { opacity: 0.35; }
  100% { transform: scale(1.25); opacity: 0; }
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  max-width: 90vw;
}

/* Emblema orbital con brújula */
.preloader-orbit {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(235, 224, 208, 0.35);
  border-radius: 50%;
  animation: orbitClockwise 6s linear infinite;
}

.orbit-ring-inner {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 2.5px solid transparent;
  border-top-color: var(--c-terracotta);
  border-bottom-color: var(--c-olive);
  border-radius: 50%;
  animation: orbitCounterClockwise 1.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.orbit-center {
  color: var(--c-sand);
  font-size: 1.6rem;
  animation: peruPulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.peru-map-icon {
  display: inline-block;
  color: var(--c-sand);
  filter: drop-shadow(0 0 6px rgba(235, 224, 208, 0.45));
  transition: transform 0.3s ease;
}

@keyframes orbitClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes peruPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(235, 224, 208, 0.4)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 12px rgba(196, 101, 58, 0.75)); }
}

/* Logotipo */
.preloader-logo-wrapper {
  animation: logoFadeIn 0.8s ease-out forwards;
}

.preloader-logo {
  height: 54px;
  width: auto;
  max-width: 260px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Barra de progreso dinámica */
.preloader-progress-track {
  width: 210px;
  height: 4px;
  background: rgba(235, 224, 208, 0.14);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-olive) 0%, var(--c-terracotta) 60%, var(--c-sand) 100%);
  border-radius: var(--radius-pill);
  animation: progressFill 1.15s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  box-shadow: 0 0 10px rgba(196, 101, 58, 0.7);
}

@keyframes progressFill {
  0% { width: 4%; }
  35% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

/* Subtítulo & Metadatos */
.preloader-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.preloader-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-sand);
  text-transform: uppercase;
  animation: trackingExpand 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.preloader-subtext {
  font-size: 0.76rem;
  color: rgba(235, 224, 208, 0.75);
  font-weight: 600;
  letter-spacing: 0.08em;
}

@keyframes trackingExpand {
  from { letter-spacing: 0.1em; opacity: 0; }
  to { letter-spacing: 0.18em; opacity: 1; }
}

/* -----------------------------------------------------------------------------
   Filter Enter & Exit Animations
----------------------------------------------------------------------------- */
.tour-card-item {
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.tour-card-item.filtering-out {
  opacity: 0 !important;
  transform: scale(0.92) translateY(16px) !important;
  pointer-events: none;
}

.tour-card-item.filtering-in {
  animation: filterCardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes filterCardEnter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* -----------------------------------------------------------------------------
   Language Switcher
----------------------------------------------------------------------------- */
.lang-switcher {
  position: relative;
  z-index: 1050;
}
.lang-switcher .lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 224, 208, 0.3);
  color: var(--c-sand) !important;
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.lang-switcher .lang-btn:hover,
.lang-switcher .lang-btn:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--c-sand);
  color: var(--c-white) !important;
}
.lang-dropdown-menu {
  background: var(--c-forest-dark);
  border: 1px solid rgba(235, 224, 208, 0.25);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 145px;
  z-index: 1060 !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45) !important;
}
.lang-dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.lang-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-sand);
}
.lang-dropdown-menu .dropdown-item.active {
  background: var(--c-forest);
  color: var(--c-white);
}

/* -----------------------------------------------------------------------------
   Responsive Micro-adjustments
----------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-topbar { display: none; }
  .navbar-exploor { padding: 0.7rem 0; overflow: visible !important; }
  .navbar-collapse {
    background-color: var(--c-forest-dark);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible !important;
    position: relative;
    z-index: 1030;
  }
  .lang-switcher .dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    z-index: 1060 !important;
  }
  .route-finder-box {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.2rem;
  }
  .trip-planner-card {
    padding: 1.8rem;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

/* -----------------------------------------------------------------------------
   Sección Conoce a Tu Guía & Instagram Showcase (@goyelsin)
----------------------------------------------------------------------------- */
.guide-hero-section {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(12, 33, 25, 0.96) 0%, rgba(18, 53, 41, 0.90) 50%, rgba(7, 21, 16, 0.98) 100%), url('../img/pics/amazonas-16.webp') center/cover no-repeat;
  color: var(--c-white);
  padding: 4rem 0;
  overflow: hidden;
}

.guide-hero-composition {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.guide-hero-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(196, 101, 58, 0.32) 0%, rgba(122, 143, 91, 0.2) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.guide-hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(235, 224, 208, 0.35);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  background: var(--c-forest-dark);
}

.guide-hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.guide-hero-frame:hover img {
  transform: scale(1.03);
}

.guide-floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(18, 53, 41, 0.90);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(235, 224, 208, 0.28);
  color: #ffffff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.guide-badge-top {
  top: 18px;
  right: -15px;
}

.guide-badge-bottom {
  bottom: 18px;
  left: -15px;
}

.guide-stamp-circle {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terracotta), #9c431d);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 22px rgba(196, 101, 58, 0.45);
  border: 3px solid #ffffff;
  z-index: 3;
  line-height: 1.1;
}
.guide-stamp-circle strong {
  font-size: 1.15rem;
  font-weight: 800;
}
.guide-stamp-circle span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guide-key-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 224, 208, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.83rem;
  color: var(--c-sand);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.guide-key-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--c-sand);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .guide-badge-top {
    right: 5px;
    top: 12px;
  }
  .guide-badge-bottom {
    left: 5px;
    bottom: 12px;
  }
  .guide-stamp-circle {
    right: 5px;
    bottom: -10px;
    width: 74px;
    height: 74px;
  }
}

/* -----------------------------------------------------------------------------
   Guide Spotlight Section (Reemplazo gráfico de hero-intro-strip en Index)
----------------------------------------------------------------------------- */
.guide-spotlight-section {
  background-color: var(--c-sand-light);
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  perspective: 1400px;
  perspective-origin: 50% 30%;
  position: relative;
}

.guide-spotlight-card {
  background: linear-gradient(135deg, rgba(12, 33, 25, 0.98) 0%, rgba(18, 53, 41, 0.95) 55%, rgba(7, 21, 16, 1) 100%);
  border: 1.5px solid rgba(235, 224, 208, 0.22);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, filter, opacity, box-shadow;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1),
              filter 0.26s ease-out,
              opacity 0.26s ease-out,
              box-shadow 0.32s ease-out,
              border-color 0.3s ease;
  /* Estado inicial con inclinación 3D y difuminado */
  transform: perspective(1400px) rotateX(12deg) translateY(40px) scale(0.94);
  filter: blur(8px);
  opacity: 0.6;
}

.guide-spotlight-card.is-active-3d {
  transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1);
  filter: blur(0px);
  opacity: 1;
  border-color: rgba(235, 224, 208, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 45px rgba(196, 101, 58, 0.16);
}

.guide-spotlight-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(196, 101, 58, 0.25) 0%, rgba(122, 143, 91, 0.12) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.guide-spotlight-topography {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(235, 224, 208, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.guide-spotlight-visual-wrapper {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.guide-spotlight-img-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 2.5px solid rgba(235, 224, 208, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  background-color: var(--c-forest-dark);
  aspect-ratio: 4 / 5;
}

.guide-spotlight-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-spotlight-img-frame:hover img {
  transform: scale(1.04);
}

.guide-spotlight-floating-tag {
  position: absolute;
  background: rgba(18, 53, 41, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 224, 208, 0.28);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
}

.guide-spotlight-floating-tag.tag-top {
  top: 14px;
  right: -15px;
}

.guide-spotlight-floating-tag.tag-bottom {
  bottom: 14px;
  left: -15px;
}

.guide-spotlight-stamp {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terracotta), #9c431d);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 18px rgba(196, 101, 58, 0.4);
  border: 2.5px solid #ffffff;
  z-index: 4;
  line-height: 1.1;
}
.guide-spotlight-stamp strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.guide-spotlight-stamp span {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guide-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 224, 208, 0.14);
  transition: all 0.25s ease;
}
.guide-stat-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(196, 101, 58, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .guide-spotlight-floating-tag.tag-top {
    right: 5px;
    top: 10px;
  }
  .guide-spotlight-floating-tag.tag-bottom {
    left: 5px;
    bottom: 10px;
  }
  .guide-spotlight-stamp {
    right: 5px;
    bottom: -6px;
    width: 64px;
    height: 64px;
  }
}

.guide-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(235, 224, 208, 0.15);
  border: 1px solid rgba(235, 224, 208, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--c-sand);
}

.insta-profile-card {
  background: #ffffff;
  border: 1px solid rgba(27, 75, 58, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insta-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.insta-avatar-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insta-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
}

.insta-btn-follow {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
}
.insta-btn-follow:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.45);
}

.insta-stat-box {
  padding: 0.5rem 1rem;
  background: var(--c-sand-light);
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 90px;
}
.insta-stat-box strong {
  display: block;
  font-size: 1.15rem;
  color: var(--c-forest-dark);
}
.insta-stat-box span {
  font-size: 0.75rem;
  color: var(--c-stone-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ==============================================================================
   Carrusel Marquesina Full Width de Publicaciones de Instagram
   ============================================================================== */
.insta-marquee-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  padding: 1.5rem 0 2rem;
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.insta-marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.insta-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding-right: 1.5rem;
  animation: instaMarqueeScroll 48s linear infinite;
  will-change: transform;
}


@keyframes instaMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Enlace contenedor de toda la tarjeta */
.insta-card-link {
  display: flex;
  text-decoration: none !important;
  color: inherit !important;
  width: 320px;
  flex-shrink: 0;
  outline: none;
  cursor: pointer;
}

.insta-card-link:focus-visible {
  outline: 2px solid var(--c-terracotta);
  border-radius: var(--radius-md);
}

@media (max-width: 576px) {
  .insta-card-link {
    width: 275px;
  }
  .insta-marquee-group {
    gap: 1rem;
    padding-right: 1rem;
    animation-duration: 36s;
  }
}

/* Tarjetas de Publicaciones de Instagram / Diario de Campo */
.insta-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 75, 58, 0.1);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.insta-card-link:hover .insta-card,
.insta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27, 75, 58, 0.16);
  border-color: rgba(196, 101, 58, 0.45);
}

.insta-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.insta-card-header .user-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.insta-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--c-terracotta);
}

.insta-card-user-meta {
  line-height: 1.2;
}
.insta-card-user-meta .username {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-forest-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.insta-card-user-meta .location {
  font-size: 0.72rem;
  color: var(--c-stone-muted);
  display: block;
}

.insta-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--c-forest-dark);
}

.insta-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.insta-card:hover .insta-card-img-wrap img {
  transform: scale(1.06);
}

.insta-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 53, 41, 0.75);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.insta-card:hover .insta-card-overlay {
  opacity: 1;
}
.insta-card-overlay .overlay-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: #ffffff;
}

.insta-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insta-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  color: var(--c-forest);
  font-size: 1.15rem;
}
.insta-card-actions .action-left {
  display: flex;
  gap: 0.85rem;
}
.insta-card-actions i {
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.insta-card-actions i:hover {
  color: var(--c-terracotta);
  transform: scale(1.15);
}

.insta-likes-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-forest-dark);
  margin-bottom: 0.4rem;
}

.insta-card-caption {
  font-size: 0.84rem;
  color: var(--c-stone);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}
.insta-card-caption strong {
  color: var(--c-forest-dark);
  font-weight: 700;
  margin-right: 0.35rem;
}

.insta-hashtags {
  font-size: 0.76rem;
  color: #2b5c8f;
  margin-top: auto;
  font-weight: 500;
}

/* ==============================================================================
   Banner Inferior de Instagram: Simple y Preciso
   ============================================================================== */
.insta-simple-banner {
  background: #ffffff;
  border: 1px solid rgba(27, 75, 58, 0.12);
  border-radius: var(--radius-lg, 16px);
  padding: 1.4rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.insta-simple-banner:hover {
  border-color: rgba(196, 101, 58, 0.35);
  box-shadow: 0 8px 24px rgba(27, 75, 58, 0.08);
}

.insta-simple-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-sand-light);
  color: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(27, 75, 58, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.insta-simple-banner:hover .insta-simple-icon {
  transform: scale(1.08);
  background: #ffffff;
}

@media (max-width: 576px) {
  .insta-simple-banner {
    padding: 1.25rem 1rem;
  }
  .insta-simple-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
   Formulario de Reserva Amigable & Visual (Sin Placeholders)
----------------------------------------------------------------------------- */
.form-floating-helper {
  font-size: 0.75rem;
  color: var(--c-stone-muted) !important;
  display: block;
  margin-top: 0.25rem;
}

/* -----------------------------------------------------------------------------
   Tarjeta del Formulario de Contacto (Garantiza Alto Contraste y Legibilidad)
----------------------------------------------------------------------------- */
.contact-form-card {
  color: var(--c-stone) !important;
  background-color: #FFFFFF !important;
}

.contact-form-card h2,
.contact-form-card h3,
.contact-form-card h4,
.contact-form-card .form-label,
.contact-form-card label,
.contact-form-card strong {
  color: var(--c-forest-dark) !important;
}

.contact-form-card p,
.contact-form-card .text-stone {
  color: var(--c-stone) !important;
}

.contact-form-card .form-floating-helper {
  color: var(--c-stone-muted) !important;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  color: var(--c-forest-dark) !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #D6D2CA !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  color: var(--c-forest-dark) !important;
  background-color: #FFFFFF !important;
  border-color: var(--c-forest) !important;
  box-shadow: 0 0 0 0.2rem rgba(27, 75, 58, 0.15) !important;
}

.contact-form-card .form-control::placeholder {
  color: #8C8C8C !important;
}

.contact-form-card option {
  color: var(--c-forest-dark) !important;
  background-color: #FFFFFF !important;
}

.contact-form-card .bg-sand-light,
.contact-form-card .bg-sand-light * {
  color: var(--c-forest-dark);
}

.contact-form-card .bg-sand-light .text-stone {
  color: var(--c-stone) !important;
}

.route-picker-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.route-picker-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--c-sand-light);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.route-picker-card img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.route-picker-card:hover img {
  transform: scale(1.06);
}
.route-picker-card:hover {
  border-color: var(--c-terracotta);
  transform: translateY(-2px);
}
.route-picker-card.is-active {
  border-color: var(--c-forest);
  background-color: #f2f7f4;
  box-shadow: 0 4px 14px rgba(27, 75, 58, 0.2);
}
.route-picker-card.is-active::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--c-forest);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}
.route-picker-meta {
  padding: 0.5rem 0.6rem;
  text-align: left;
}
.route-picker-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-forest-dark);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}
.route-picker-dur {
  font-size: 0.72rem;
  color: var(--c-stone-muted);
}

.service-type-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.service-card-option {
  border: 2px solid #E0DDD7;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background-color: var(--c-white);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-card-option:hover {
  border-color: var(--c-terracotta);
  background-color: #FAF7F2;
}
.service-card-option.is-active {
  border-color: var(--c-forest);
  background-color: #f2f7f4;
  box-shadow: 0 3px 10px rgba(27, 75, 58, 0.12);
}

.service-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.form-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--c-forest);
  color: var(--c-sand);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* -----------------------------------------------------------------------------
   Sección: Reseñas de Nuestros Viajeros (Google Reviews Style)
----------------------------------------------------------------------------- */
.reviews-section {
  position: relative;
  background-color: var(--c-sand-light);
  overflow: hidden;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(18, 53, 41, 0.08);
  border: 1px solid rgba(235, 224, 208, 0.6);
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(18, 53, 41, 0.06);
  border: 1px solid rgba(18, 53, 41, 0.07);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(18, 53, 41, 0.12);
  border-color: rgba(196, 101, 58, 0.3);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.review-author-name {
  font-weight: 700;
  color: var(--c-forest-dark);
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.review-meta {
  font-size: 0.76rem;
  color: var(--c-stone-muted);
}

.review-stars {
  color: #FBBC04;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.review-tour-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-forest);
  background-color: #eaf3ee;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.review-body {
  font-size: 0.88rem;
  color: var(--c-stone);
  line-height: 1.6;
  flex-grow: 1;
  font-style: normal;
}

.review-footer {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(235, 224, 208, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--c-stone-muted);
}

.google-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   Blog & Bitácora de Campo - Exploor Chachapoyas
----------------------------------------------------------------------------- */
.blog-hero {
  background-color: var(--c-forest-dark);
  min-height: 420px;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(122, 143, 91, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(196, 101, 58, 0.2) 0%, transparent 55%),
              linear-gradient(135deg, #091712 0%, #123529 100%);
  opacity: 0.95;
  z-index: 1;
}

.blog-hero-guide-badge {
  background: rgba(12, 33, 25, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 224, 208, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.blog-hero-guide-badge:hover {
  transform: translateY(-3px);
  border-color: var(--c-terracotta);
}

.sticky-top-filter {
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Tarjeta Destacada Inmersiva (Estilo Revista / National Geographic) */
.blog-featured-immersive {
  position: relative;
  background-color: var(--c-forest-dark);
  min-height: 500px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.blog-featured-immersive:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(12, 33, 25, 0.25) !important;
}

.blog-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}
.blog-featured-immersive:hover .blog-featured-bg {
  transform: scale(1.04);
}

.blog-featured-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 20, 15, 0.98) 0%,
    rgba(12, 33, 25, 0.95) 45%,
    rgba(12, 33, 25, 0.72) 75%,
    rgba(12, 33, 25, 0.48) 100%
  );
  z-index: 2;
}

@media (max-width: 991.98px) {
  .blog-featured-gradient-scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 20, 15, 0.98) 0%,
      rgba(12, 33, 25, 0.95) 75%,
      rgba(12, 33, 25, 0.85) 100%
    );
  }
}

.blog-featured-title-link {
  transition: color 0.25s ease;
}
.blog-featured-title-link:hover {
  color: var(--c-sand) !important;
  text-shadow: 0 0 20px rgba(235, 224, 208, 0.35);
}

.blog-featured-visual-stack {
  perspective: 1000px;
}

.blog-featured-photo-card {
  backdrop-filter: blur(14px);
  background: rgba(12, 33, 25, 0.75);
  transition: transform 0.4s ease;
}
.blog-featured-immersive:hover .blog-featured-photo-card {
  transform: translateY(-4px);
}

.blog-featured-photo-card-mini {
  bottom: 24px;
  left: -20px;
  z-index: 4;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-featured-immersive:hover .blog-featured-photo-card-mini {
  transform: translateY(-6px) rotate(-3deg);
}

.border-white-20 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.border-white-15 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.text-sand-50 {
  color: rgba(235, 224, 208, 0.5) !important;
}

.blog-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(18, 53, 41, 0.1) !important;
  border-color: rgba(196, 101, 58, 0.35) !important;
}

.blog-card-media {
  height: 220px;
}
.blog-card-img {
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-title-link {
  transition: color 0.2s ease;
}
.blog-card-title-link:hover {
  color: var(--c-terracotta) !important;
}

.blog-read-more-link {
  transition: transform 0.2s ease, color 0.2s ease;
}
.blog-read-more-link:hover {
  color: var(--c-forest-dark) !important;
  transform: translateX(4px);
}

.hover-terracotta {
  transition: color 0.2s ease;
}
.hover-terracotta:hover {
  color: var(--c-terracotta) !important;
}

/* Ficha de Lectura / Detalle */
.blog-article-hero {
  background-size: cover;
  background-position: center center;
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.blog-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 23, 18, 0.94) 0%, rgba(18, 53, 41, 0.88) 60%, rgba(18, 53, 41, 0.75) 100%);
  z-index: 1;
}

.blog-article-card {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2b3b33;
}

.blog-content-body h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--c-forest-dark);
  font-size: 1.6rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-sand);
}

.blog-content-body h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--c-forest);
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.blog-content-body p {
  margin-bottom: 1.25rem;
}

.blog-content-body ul, 
.blog-content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.blog-content-body li {
  margin-bottom: 0.5rem;
}

.blog-highlight-box {
  background: #fbf8f3;
  border-left: 4px solid var(--c-terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  box-shadow: 0 4px 14px rgba(196, 101, 58, 0.06);
}

.blog-pull-quote {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.8rem 2.2rem;
  background: var(--c-forest-dark);
  color: var(--c-sand);
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  border-left: 6px solid var(--c-terracotta);
}
.blog-pull-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #ffffff;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-author-box {
  box-shadow: 0 10px 30px rgba(18, 53, 41, 0.15);
  border: 1px solid rgba(235, 224, 208, 0.2);
}

.sticky-top-sidebar {
  position: sticky;
  top: 90px;
}

@media (max-width: 991.98px) {
  .sticky-top-filter {
    top: 60px;
  }
  .sticky-top-sidebar {
    position: static;
  }
  .blog-featured-img {
    min-height: 240px;
  }
  .blog-card-media {
    height: 190px;
  }
}

/* ==============================================================================
   Smooth Scroll (Lenis Engine)
   ============================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==============================================================================
   Efecto de Cursor Dinámico (Doble Anillo / Parámetros Sunkuu con Verde Exploor)
   Verde de la web: #1B4B3A (Verde Bosque) / #24634d
   ============================================================================== */
.mouseCursor {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  visibility: hidden;
  text-align: center;
}

.cursor-outer {
  -webkit-margin-start: -12px;
  margin-inline-start: -12px;
  margin-top: -12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--c-forest);
  background-color: var(--c-forest);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 10000000;
  opacity: 0.34;
  -webkit-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.cursor-outer.cursor-hover {
  opacity: 0.14;
  transform: scale(1.35);
}

.cursor-outer.cursor-big {
  opacity: 0;
}

.mouseCursor.cursor-big {
  width: 20px;
  height: 20px;
  -webkit-margin-start: -12px;
  margin-inline-start: -12px;
  margin-top: -12px;
}

.cursor-inner {
  -webkit-margin-start: -3px;
  margin-inline-start: -3px;
  margin-top: -3px;
  width: 10px;
  height: 10px;
  z-index: 10000001;
  background-color: var(--c-forest);
  opacity: 1;
  -webkit-transition: all 0.24s ease-out 0s;
  transition: all 0.24s ease-out 0s;
}

.cursor-inner span {
  color: var(--c-sand);
  line-height: 60px;
  opacity: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.cursor-inner.cursor-big span {
  opacity: 1;
}

.cursor-inner.cursor-hover {
  -webkit-margin-start: -10px;
  margin-inline-start: -10px;
  margin-top: -10px;
  width: 30px;
  height: 30px;
  background-color: var(--c-forest);
  border: 1px solid var(--c-sand-dark);
  opacity: 0;
}

/* En pantallas táctiles ocultar el cursor dinámico para evitar desalineación */
@media (hover: none) and (pointer: coarse) {
  .mouseCursor {
    display: none !important;
  }
}

/* -----------------------------------------------------------------------------
   Libro de Reclamaciones Oficial (INDECOPI)
----------------------------------------------------------------------------- */
.libro-reclamaciones-badge {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.22s ease-in-out, filter 0.22s ease-in-out;
}
.libro-reclamaciones-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.libro-reclamaciones-badge .bg-white {
  border: 1px solid rgba(235, 224, 208, 0.6);
  transition: box-shadow 0.22s ease-in-out;
}
.libro-reclamaciones-badge:hover .bg-white {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

@media print {
  .site-topbar,
  header.sticky-top,
  .site-footer,
  .floating-whatsapp-container,
  .mouseCursor,
  #btnSubmitClaim,
  .pdf-web-toolbar {
    display: none !important;
  }
  #claimReceiptContainer {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
  #printableReceipt {
    background: #ffffff !important;
    border: 1px solid #333333 !important;
    padding: 20px !important;
  }
}

/* -----------------------------------------------------------------------------
   Páginas Legales: Términos y Condiciones & Política de Devoluciones
----------------------------------------------------------------------------- */
.legal-body-content {
  color: #333333;
  line-height: 1.75;
}
.legal-body-content .legal-section {
  padding-bottom: 0.5rem;
}
.legal-body-content h3 {
  color: var(--c-forest-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.85rem;
}
.legal-body-content p {
  margin-bottom: 0.95rem;
  font-size: 0.98rem;
}
.legal-body-content ul,
.legal-body-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.15rem;
}
.legal-body-content li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}
.legal-body-content .table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.text-decoration-underline-hover:hover {
  text-decoration: underline !important;
}



