/* ==========================================================================
   VARIABLES DE COLOR Y TEMA LUMINOSO CON BLOQUES DESTACADOS
   ========================================================================== */
:root {
  /* Fondos generales claros */
  --bg-body-main: #F4F6F9;        /* Fondo claro general de la página */
  --bg-body-alt: #EAEFF5;         /* Fondo alternativo suave para diferenciar secciones */
  
  /* Bloques destacados y tarjetas (Marca XPANSION) */
  --bg-dark-card: #1E2338;        /* Fondo azul noche para tarjetas y contenedores */
  --bg-dark-input: #292F47;       /* Fondo oscuro para campos del formulario */
  
  /* Acentos y marca */
  --accent-yellow: #F4C430;       /* Amarillo/Dorado vibrante del logo */
  --accent-yellow-hover: #D9AE2B;
  
  /* Textos */
  --text-dark: #1E293B;           /* Texto oscuro para leer cómodamente sobre fondo claro */
  --text-muted-dark: #64748B;     /* Bajadas o textos secundarios sobre fondo claro */
  --text-white: #FFFFFF;          /* Textos sobre los bloques oscuros */
  --text-muted-light: #A0AEC0;    /* Textos secundarios sobre bloques oscuros */
  
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: #CBD5E1;
  --danger-color: #D90429;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body-main);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* ==========================================================================
   BARRA SUPERIOR Y NAVEGACIÓN
   ========================================================================== */
.top-bar {
  background-color: #0E1020;
  color: #A0AEC0;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
}

.navbar {
  background-color: #22214a; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.btn-nav {
  background-color: var(--accent-yellow);
  color: #000 !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 0.85rem !important;
}

.btn-nav:hover {
  background-color: var(--accent-yellow-hover);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 23, 43, 0.75) 0%, rgba(20, 23, 43, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 15px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* BOTONES GENERALES */
.btn {
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-dark-card);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-dark-input);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIONES Y CARDS
   ========================================================================== */
.section {
  padding: 70px 0;
}

.bg-light {
  background-color: var(--bg-body-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Tarjetas con tono oscuro característico de la marca */
.card-alliance {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid var(--border-dark);
  color: var(--text-white);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.card-alliance h3 {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  color: var(--text-white);
}

.card-alliance p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

.link-trust {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent-yellow);
  font-weight: 600;
  text-decoration: none;
}

.trust-badge-footer {
  text-align: center;
  margin-top: 30px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  padding: 15px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-muted-light);
}

/* EXPERIENCIA & BELSUR */
.feature-box {
  background: #FFFFFF;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.feature-box h3 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.check-list {
  list-style: none;
  margin-top: 15px;
}

.check-list li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.check-list i {
  color: var(--accent-yellow);
  margin-right: 8px;
}

.belsur-experience-banner {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 35px;
  border-radius: var(--radius);
  margin-top: 40px;
  box-shadow: var(--shadow-card);
}

.belsur-experience-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--accent-yellow);
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  background: var(--bg-dark-input);
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-white);
}

/* ==========================================================================
   TARJETAS DE PAQUETES (BLOQUES OSCUROS)
   ========================================================================== */
.grid-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.package-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  color: var(--text-white);
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
}

.package-card.featured {
  border: 2px solid var(--accent-yellow);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent-yellow);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 10px;
}

.package-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--text-white);
}

.package-dates {
  font-size: 0.85rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  font-weight: 600;
}

.package-price {
  margin: 15px 0;
}

.package-price .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.package-price .amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.package-price .installment {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted-light);
  font-weight: 600;
}

.package-features {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.package-features li {
  margin-bottom: 8px;
}

.package-features i {
  color: var(--accent-yellow);
  margin-right: 5px;
}

.full-width {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   GALERÍA Y UBICACIÓN
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.location-list {
  list-style: none;
  margin: 20px 0;
}

.location-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.location-list i {
  color: #14172B;
  margin-right: 8px;
}

.alert-box {
  background-color: #FEE2E2;
  border-left: 4px solid var(--danger-color);
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: #991B1B;
}

.alert-box i {
  font-size: 1.5rem;
  color: var(--danger-color);
}

.location-map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.location-map-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   FORMULARIO DE CONTACTO
   ========================================================================== */
.form-container {
  background: var(--bg-dark-card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-dark);
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-white);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-dark-input);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-yellow);
}

.form-options {
  margin: 20px 0;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.alert-checkbox label {
  color: #FF8080;
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0E1020;
  color: var(--text-muted-light);
  padding: 50px 0 20px 0;
  border-top: 1px solid var(--border-dark);
}

.footer h3, .footer h4 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hide-mobile {
    display: none;
  }

  .logo, 
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;

  .main-banner, 
  .hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* ==========================================================================
   ESTILOS DE GALERÍA Y LIGHTBOX (AMPLIACIÓN DE FOTOS)
   ========================================================================== */
    .gallery-item {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      cursor: pointer;
      background: var(--bg-dark-card);
      aspect-ratio: 4/3;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease, filter 0.4s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.08);
      filter: brightness(0.85);
    }

    /* Capa hover con ícono de lupa */
    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: rgba(14, 16, 32, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }

    .gallery-overlay i {
      color: var(--accent-yellow);
      font-size: 2.2rem;
      transform: scale(0.8);
      transition: transform 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay i {
      transform: scale(1);
    }

    /* Modal oscuro superpuesto */
    .lightbox-modal {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background-color: rgba(10, 12, 22, 0.92);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .lightbox-modal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .lightbox-content {
      position: relative;
      max-width: 90vw;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .lightbox-img {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 8px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .lightbox-caption {
      color: #FFFFFF;
      font-family: var(--font-heading);
      margin-top: 15px;
      font-size: 1.05rem;
      text-align: center;
    }

    /* Botones del visor */
    .lightbox-close {
      position: absolute;
      top: -45px;
      right: 0;
      background: none;
      border: none;
      color: #FFFFFF;
      font-size: 2rem;
      cursor: pointer;
      transition: color 0.2s;
    }

    .lightbox-close:hover {
      color: var(--accent-yellow);
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(30, 35, 56, 0.8);
      color: #FFFFFF;
      border: 1px solid var(--border-dark);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      transition: var(--transition);
    }

    .lightbox-nav:hover {
      background: var(--accent-yellow);
      color: #000000;
    }

    .lightbox-prev { left: -60px; }
    .lightbox-next { right: -60px; }

    @media (max-width: 768px) {
      .lightbox-prev { left: 10px; }
      .lightbox-next { right: 10px; }
      .lightbox-close { top: -40px; right: 10px; }
    }
}