/* ==========================================================================
   0. CONFIGURACIÓN GLOBAL
   ========================================================================== */
:root {
  /* --- TIPOGRAFÍA --- */
  --font-main: "Arial Rounded MT Bold", "Arial Rounded", Arial, sans-serif;

  /* --- PALETA DE COLORES (NUEVA) --- */
  --color-green: #007c00; /* Naturaleza / WhatsApp */
  --color-sky-blue: #3fa7e8; /* Acento / Iconos */
  --color-navy: #253c78; /* Primario: Encabezados, Footer, Fondos oscuros */
  --color-red-orange: #ff3111; /* Secundario: CTA, Botones, Hover */
  --color-white: #ffffff; /* Base */

  /* --- MAPEO SEMÁNTICO (Cómo se usan) --- */
  --color-primary: var(--color-navy); /* Color principal de la marca */
  --color-secondary: var(--color-red-orange); /* Color de acción (Botones) */
  --color-accent: var(--color-sky-blue); /* Color de apoyo */
  --color-nature: var(--color-green); /* Color específico para WhatsApp/Eco */

  --color-bg-light: #f4f7f9; /* Fondo muy suave (tinte azulado) para alternar secciones */
  --color-text-main: #253c78; /* Usamos el azul oscuro para texto principal (buen contraste) */
  --color-text-light: #5a6b8c; /* Versión suavizada del azul para textos secundarios */

  /* --- MEDIDAS --- */
  --header-height: 80px;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--color-dusk-blue);
}

/* ==========================================================================
   1. UTILIDADES Y COMPONENTES GLOBALES
   ========================================================================== */

/* --- Iconos de Sección (Corrección de Centrado) --- */
.section-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(252, 175, 88, 0.1);
  color: var(--color-sandy);
  font-size: 1.4rem;
  line-height: 1 !important;
  margin-right: 15px;
  box-sizing: border-box;
  text-align: center;
}

.section-icon::before {
  vertical-align: middle;
}

/* --- Botones Genéricos de Reserva (Whatsapp/Paypal) --- */
.btn-book-paypal,
.btn-book-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-family: var(--font-main);
}

.btn-book-paypal {
  background: #0070ba;
  color: #fff;
  margin-bottom: 15px;
}
.btn-book-paypal:hover {
  background: #005ea6;
  box-shadow: 0 5px 15px rgba(0, 112, 186, 0.3);
  transform: translateY(-2px);
}

.btn-book-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-book-whatsapp:hover {
  background: #1ebc57;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Limpieza de Tipografía (Anti Copy-Paste) --- */
.tour-text-body {
  font-family: var(--font-main) !important;
  color: var(--color-text-main);
  font-size: 1.1rem;
  line-height: 1.8;
}

.tour-text-body * {
  font-family: var(--font-main) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  background-color: transparent !important;
  color: inherit !important;
}

.tour-text-body strong,
.tour-text-body b {
  font-weight: 700 !important;
  color: var(--color-dusk-blue) !important;
}

.tour-text-body p {
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.single-tour-hero {
  position: relative;
  min-height: 70vh;
  padding: 150px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(78, 89, 140, 0.5) 0%,
    rgba(78, 89, 140, 0.85) 100%
  );
  z-index: 1;
}

.relative-z10 {
  position: relative;
  z-index: 10;
}

.hero-inner-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 850px;
}

/* Breadcrumbs */
.tour-breadcrumbs {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.tour-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}
.tour-breadcrumbs a:hover {
  color: var(--color-apricot);
}
.tour-breadcrumbs .sep {
  font-size: 0.7rem;
  opacity: 0.6;
  margin: 0 8px;
}
.tour-breadcrumbs .current {
  color: var(--color-sandy);
}

/* Título */
.tour-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Badges */
.tour-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}
.meta-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-sandy);
  transform: translateY(-3px);
}
.badge-icon {
  color: var(--color-red-orange);
  font-size: 1.3rem;
}
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.badge-text .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}
.badge-text .value {
  font-size: 1rem;
  font-weight: 700;
}

.meta-badge.diff-easy .badge-icon {
  color: #2ecc71;
}
.meta-badge.diff-mod .badge-icon {
  color: var(--color-red-orange);
}
.meta-badge.diff-hard .badge-icon {
  color: var(--color-red-orange);
}
.meta-badge.rating-badge .badge-icon {
  color: var(--color-red-orange);
}

/* ==========================================================================
   3. STICKY NAV BAR (SOLO ESCRITORIO)
   ========================================================================== */
.tour-sticky-nav {
  display: none;
}

@media (min-width: 992px) {
  .tour-sticky-nav {
    display: block;
    position: sticky;
    top: 140px;
    z-index: 990;
    background: var(--color-white);
    border-bottom: 1px solid rgba(78, 89, 140, 0.1);
    box-shadow: 0 4px 20px rgba(78, 89, 140, 0.08);
    transition: var(--transition);
    padding: 0;
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  .tour-anchor-nav {
    flex-grow: 1;
  }
  .tour-anchor-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
  }

  .tour-anchor-menu a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1rem;
    padding: 24px 0;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    display: block;
    font-family: var(--font-main);
  }
  .tour-anchor-menu a:hover {
    color: var(--color-primary);
  }
  .tour-anchor-menu a.active {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
  }

  .tour-nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    border-left: 1px solid #eee;
    margin-left: 20px;
  }
  .price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
  }
  .price-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
  }

  .btn-reservar-nav {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 140, 66, 0.3);
    font-family: var(--font-main);
  }
  .btn-reservar-nav:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 66, 0.4);
    color: var(--color-white);
  }
}

/* ==========================================================================
   4. ESTRUCTURA PRINCIPAL (LAYOUT)
   ========================================================================== */
.main-content-tour {
  padding-top: 2rem;
}

.tour-layout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding-bottom: 2rem;
}
@media (max-width: 991px) {
  .tour-layout-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.tour-section {
  scroll-margin-top: 180px;
}
.tour-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 40px 0;
}

.section-header {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-header h2 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--color-dusk-blue);
  font-weight: 700;
}

/* ==========================================================================
   5. SECCIONES DEL TOUR
   ========================================================================== */

/* --- 5.1 TIMELINE (Itinerario) --- */
.timeline-wrapper {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid #eee;
  margin-left: 15px;
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--color-red-orange);
  color: #fff;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #eee;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--color-red-orange);
}
.day-desc p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

/* --- 5.2 INCLUSIONES (Cards Modernas) --- */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.inclusion-card {
  border-radius: 16px;
  padding: 30px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid transparent;
}
.inclusion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Tarjeta Verde (Incluye) */
.inclusion-card.success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}
.inclusion-card.success .card-header i {
  background: #dcfce7;
  color: #16a34a;
}
.inclusion-card.success h4 {
  color: #166534;
}

/* Tarjeta Roja (No Incluye) */
.inclusion-card.error {
  background-color: #fef2f2;
  border-color: #fecaca;
}
.inclusion-card.error .card-header i {
  background: #fee2e2;
  color: #dc2626;
}
.inclusion-card.error h4 {
  color: #991b1b;
}

.inclusion-card .card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}
.inclusion-card .card-header i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}
.inclusion-card h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Limpieza de Lista */
.card-list-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-list-content li {
  position: relative;
  padding: 12px 0 12px 35px;
  font-size: 1rem;
  color: var(--color-text-main);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  line-height: 1.5;
}
.card-list-content li:last-child {
  border-bottom: none;
}
.card-list-content li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 13px;
  font-size: 1rem;
}
.inclusion-card.success li::before {
  content: "\f00c";
  color: #16a34a;
}
.inclusion-card.error li::before {
  content: "\f00d";
  color: #dc2626;
}

/* Limpieza estilos pegados */
.inclusions-grid span,
.inclusions-grid p,
.inclusions-grid font,
.inclusions-grid b {
  font-family: var(--font-main) !important;
  font-size: inherit !important;
  color: inherit !important;
  background-color: transparent !important;
  line-height: inherit !important;
}
.inclusion-box li {
  color: var(--color-text-light) !important;
}

@media (max-width: 768px) {
  .inclusions-grid {
    grid-template-columns: 1fr;
  }
  .inclusion-card {
    padding: 20px;
  }
}

/* --- 5.3 EQUIPAJE (Grid Iconos Grandes) --- */
.equipaje-grid-display {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.equipaje-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.equipaje-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-sandy);
  box-shadow: 0 10px 25px rgba(252, 175, 88, 0.15);
}

.eq-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff9f0;
  transition: background 0.3s ease;
}
.equipaje-item:hover .eq-icon {
  background: #fff2e0;
}

.eq-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}
.eq-icon i {
  font-size: 3rem;
  color: var(--color-sandy);
}
.equipaje-item span {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dusk-blue);
  line-height: 1.2;
}

.equipaje-group-block {
  margin-bottom: 40px;
}
.equipaje-group-block:last-child {
  margin-bottom: 0;
}
.group-title {
  font-size: 1.2rem;
  color: var(--color-dusk-blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.group-title i {
  color: var(--color-sandy);
}

/* --- 5.4 FAQs (Acordeón Animado) --- */
.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.faq-item.active {
  border-color: var(--color-dusk-blue);
  box-shadow: 0 5px 15px rgba(252, 175, 88, 0.1);
}

.faq-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--color-primary);
  transition: background 0.3s;
  user-select: none;
}
.faq-question-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  padding-right: 20px;
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f4f6f8;
  border-radius: 50%;
  color: var(--color-dusk-blue);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-sandy);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  opacity: 0;
  background: #fff;
}
.faq-item.active .faq-body {
  opacity: 1;
}

.faq-content-inner {
  padding: 0 25px 25px 25px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}
.faq-content-inner p:last-child {
  margin-bottom: 0;
}

/* --- 5.5 GALERÍA (Lightbox Grid Corregido) --- */
.tour-section-gallery {
  margin-bottom: 40px;
}

.gallery-outer-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 0;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.gallery-item.gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item.gallery-sub {
  grid-column: span 1;
  grid-row: span 1;
}

.img-overlay-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.hover-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover .hover-gradient {
  opacity: 1;
}

.gallery-expand-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-item:hover .gallery-expand-icon {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.3);
}

.gallery-more-count {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(78, 89, 140, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-more-count {
  background: rgba(78, 89, 140, 0.95);
}
.count-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.count-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .gallery-outer-wrapper {
    border-radius: 12px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 5px;
  }
  .gallery-item {
    height: auto;
    aspect-ratio: 4 / 3;
    border: none;
  }
  .gallery-item.gallery-main {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
  .count-number {
    font-size: 1.5rem;
  }
  .count-label {
    font-size: 0.7rem;
    margin-top: 2px;
  }
  .gallery-expand-icon {
    opacity: 1;
    transform: translateY(0);
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
  }
}

/* ==========================================================================
   6. SIDEBAR Y FORMULARIO DE RESERVA
   ========================================================================== */
.tour-sidebar-col {
  position: relative;
}

.sticky-sidebar-wrapper {
  position: sticky;
  top: 180px;
  z-index: 90;
}

.booking-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  margin-bottom: 25px;
}

/* Cabecera Sidebar */
.card-header-price {
  background: var(--color-dusk-blue);
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-col .label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.price-display {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.price-display .currency {
  font-size: 1.2rem;
  margin-top: 5px;
  margin-right: 2px;
}
.price-display .amount {
  font-size: 2.2rem;
  font-weight: 800;
}

.rating-col {
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 700;
}
.rating-col i {
  color: var(--color-red-orange);
}

.card-body {
  padding: 25px;
}

/* Formulario */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dusk-blue);
  margin-bottom: 8px;
}
.form-group label i {
  margin-right: 5px;
  color: var(--color-sandy);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text-main);
  transition: 0.3s;
  background: #fcfcfc;
}
.form-control:focus {
  border-color: var(--color-sandy);
  background: #fff;
  outline: none;
}

/* Selector Cantidad */
.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 45px;
  background: #f9f9f9;
  border: none;
  font-weight: 700;
  color: var(--color-dusk-blue);
  cursor: pointer;
  transition: 0.2s;
  font-size: 1.2rem;
}
.qty-btn:hover {
  background: #eee;
}
.qty-input {
  flex-grow: 1;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-main);
  height: 45px;
  appearance: none;
}

/* Botón Full Width para Sidebar */
.full-width {
  width: 100%;
  margin-bottom: 10px;
  justify-content: center;
}

/* Alertas & Separadores */
.mp-availability-box {
  text-align: center;
}
.mp-alert {
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #856404;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: start;
  text-align: left;
}
.mp-alert i {
  font-size: 1.2rem;
  color: #ffca28;
  margin-top: 3px;
}

@keyframes pulse-btn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
.pulsate {
  animation: pulse-btn 2s infinite;
}

.separator-text {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin: 10px 0 15px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.separator-text::before,
.separator-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #eee;
}
.separator-text::before {
  left: 0;
}
.separator-text::after {
  right: 0;
}

/* Footer Trust & Help */
.card-footer-trust {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  padding: 15px;
  display: flex;
  justify-content: space-around;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}
.trust-item i {
  font-size: 1.1rem;
  color: var(--color-dusk-blue);
}

.help-widget {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}
.help-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sandy);
  font-size: 1.2rem;
}
.help-text h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 600;
}
.help-text a {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dusk-blue);
  text-decoration: none;
}

/* ==========================================================================
   7. PLUGINS EXTERNOS (INTL-TEL-INPUT) - CORREGIDO
   ========================================================================== */
.iti {
  width: 100%;
  display: block;
  margin-bottom: 5px;
}

.iti__flag-container {
  border-radius: 10px 0 0 10px;
}

.iti input {
  width: 100% !important;
  /* BORRAMOS la línea de padding-left para que el JS decida el espacio correcto */
  /* padding-left: 50px !important;  <-- ELIMINAR ESTO */

  border-radius: 10px !important;
  height: 48px;
  border: 2px solid #eee; /* Aseguramos que tenga el mismo borde que los otros */
  background: #fcfcfc;
  font-family: var(--font-main);
}

/* Estado Focus igual al resto */
.iti input:focus {
  border-color: var(--color-sandy);
  background: #fff;
  outline: none;
}

/* ESTO ES IMPORTANTE PARA OCULTAR LOS MENSAJES */
.hide {
  display: none !important;
}

#valid-msg {
  color: #00c853;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 600;
}

#error-msg {
  color: #d50000;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 600;
}

/* Opcional: Borde rojo si hay error en el input */
.form-control.error {
  border-color: #d50000;
}

/* Contenedor Principal: Recorta lo que sobresalga */
.single-tour-hero {
  position: relative;
  overflow: hidden; /* Vital para que el zoom no rompa el diseño */
  min-height: 60vh; /* O la altura que ya tengas definida */
  display: flex;
  align-items: center;
}

/* La imagen de fondo animada */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 0; /* Al fondo */

  /* La Animación: Zoom lento (Ken Burns) */
  animation: slowZoom 20s linear infinite alternate;
  will-change: transform;
}

/* El Overlay oscuro (encima de la foto, debajo del texto) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Ajusta la oscuridad aquí */
  z-index: 1;
}

/* El contenido (Texto) */
.hero-container {
  position: relative;
  z-index: 2; /* Siempre encima de todo */
}

/* Definición de la animación */
@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* Aumenta un 15% */
  }
}
