/* ================================
    Google Font y Reset
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  color-scheme: light;
}

html {
  color-scheme: light;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overscroll-behavior-y: none; 
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Quita subrayados en enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* ================================
    NAVBAR
================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0; /* Padding inicial más grande para el estado transparente */
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    /* Colores por defecto para el estado transparente */
    background: transparent;
    box-shadow: none;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Estilos para el navbar transparente (inicial) */
.navbar.transparent {
    background: transparent; 
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);   /* ← única línea agregada */
}
.navbar.transparent .logo-text {
    color: #fff;
}
.navbar.transparent .hamburger span {
    background: #fff;
}
.navbar.transparent .nav-links ul li a {
    color: #fff;
}
.navbar.transparent .lang-main-btn {
    color: #fff;
    border-color: #fff;
}

/* Estilos para el navbar cuando se hace scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95); /* Fondo blanco con ligera transparencia */
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    padding: 10px 0; /* Padding más pequeño al hacer scroll */
}
.navbar.scrolled .logo-text {
    color: #000;
}
.navbar.scrolled .hamburger span {
    background: #333;
}
.navbar.scrolled .nav-links ul li a {
    color: #333;
}
.navbar.scrolled .lang-main-btn {
    color: #333;
    border-color: #333;
}

/* Ajustes para mobile cuando está "scrolled" para mantener consistencia */
@media (max-width: 768px) {
  .navbar.scrolled {
    padding: 20px 0; /* Restaurar padding en móvil para que el cambio no sea tan brusco */
  }
}

.logo-area {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 60px; /* Tamaño original de escritorio para el logo */
  margin-right: 15px;
}
.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}
.nav-links ul {
  list-style: none;
  display: flex;
  margin: 0; 
  padding: 0;
  gap: 1.5rem;
}
.nav-links ul .nav-last-item {
  margin-left: auto;
}
.nav-links ul li a {
  font-weight: 500;
  position: relative;
  padding: 8px;
  transition: color 0.3s;
}
.nav-links ul li a::after {
  content: "";
  position: absolute;
  height: 2px; 
  width: 0;
  left: 50%; 
  bottom: 0;
  background: #ff7f35;
  transition: 0.3s;
  transform: translateX(-50%);
}
.nav-links ul li a:hover::after {
  width: 50%;
}
/* Dropdown idioma */
.lang-dropdown {
  position: relative;
}
.lang-main-btn {
  background: transparent;
  border: 1px solid #ccc;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}
.lang-main-btn:hover {
  background: #ff7f35;
  transform: scale(1.05);
  color: #fff !important; /* Asegura que el texto se ponga blanco al pasar el ratón */
  border-color: #ff7f35 !important;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 110%; 
  left: 0;
  background: #fff;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 4px;
  z-index: 9999;
}
.dropdown-content .lang-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s, color 0.3s;
}
.dropdown-content .lang-btn:hover {
  background: #ff7f35;
  color: #fff;
}
.dropdown-content.show {
  display: block;
}
.hamburger {
  display: none; 
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px; 
  height: 3px;
  border-radius: 2px;
}
/* Menú Teléfono */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0; 
    right: 0;
    width: 220px; 
    max-width: 80vw; /* Ancho máximo relativo al viewport */
    height: 100vh;
    background: rgba(0,0,0,0.9);
    transform: translateX(100%);
    transition: transform 0.4s;
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
    box-sizing: border-box; /* Incluir padding en el ancho */
    z-index: 9999;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links ul {
    flex-direction: column;
    gap: 1.2rem;
  }
  .nav-links ul li a {
    color: #fff !important;
  }
  .nav-links ul li a::after {
    background: #ff7f35;
  }
  .nav-links ul .nav-last-item {
    margin-left: 0;
  }
  .lang-dropdown {
    margin-top: 20px;
    width: 100%;
  }
  .lang-main-btn {
    width: 100%;
    text-align: left;
    border-color: #fff;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dropdown-content {
    position: static;
    background: rgba(255,255,255,0.1);
    box-shadow: none;
    border-radius: 0;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    left: auto;
    transform: none;
  }
  .dropdown-content .lang-btn {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Nueva media query para pantallas muy pequeñas (teléfonos más pequeños) */
@media (max-width: 350px) {
  .nav-container {
    padding: 0 5px !important;
  }
  .logo-img {
    height: 40px !important;
    margin-right: 5px !important;
  }
  .logo-text {
    font-size: 1.1rem !important;
  }
  .hamburger {
    padding: 2px !important;
  }
  .lang-main-btn {
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
  }

  /* Reducir el tamaño de fuente del título de la sección de tours */
  .tours-section h2 {
    font-size: 1.8rem !important;
  }
}

/* ================================
    HERO (SOLO PARA INDEX)
================================ */
.hero-desktop-index {
  position: relative;
  width: 100%;
  height: 102vh; 
  overflow: hidden;
  display: block; 
}
.hero-mobile-index {
  display: none;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 60vh; 
  overflow: hidden;
}
.carousel-container {
  width: 100%; 
  height: 100%;
  position: relative;
}
.carousel-slide {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  overflow: hidden;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  position: relative; 
  z-index: 0;
  transition: transform 0.3s ease-out;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #fff;
}
.carousel-caption h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background: #ff7f35;
  color: #333;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover {
  background: #ff7f35;
  transform: translateY(-3px);
}
.hero-desktop-index .hero-wave,
.hero-mobile-index .hero-wave {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
}
/* Hero móvil (solo index) */
.carousel-container-mobile {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
}
.carousel-slide-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.carousel-slide-mobile.active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-mobile-index::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.hero-mobile-index .carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
}
.hero-mobile-index .hero-wave {
    bottom: 0;
}
@media (max-width: 768px) {
  .hero-desktop-index {
    display: none;
  }
  .hero-mobile-index {
    display: block;
  }
  .hero-mobile-index::after {
    background: rgba(0,0,0,0.3);
  }
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}
.hero-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}
.hero-logo {
  width: 25vw;     
  min-width: 200px; 
  max-width: 400px; 
}


/* ================================
    TOURS (Solo para Index)
================================ */
.tours-section {
  margin-top: -40px;
  padding: 20px 20px 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .tours-section {
    margin-top: -20px;
    padding-top: 10px;
  }
}
.tours-section h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.tours-line {
  width: 80px;
  height: 4px;
  background: #ff7f35;
  margin: 0 auto 20px auto;
}
.tours-paragraph {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}
.card img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
}
.tag-tours {
  position: absolute;
  top: 1rem; 
  right: 0;
  background: #ff7f35;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem;
  border-radius: 0 0 0 5px;
}
.card-content {
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 100%;
  color: #fff;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.location-info {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.location-info svg {
  width: 16px; 
  height: 16px;
  fill: #ff7f35;
}
.btn-card {
  background: #ff7f35;
  color: #333;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}
.btn-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .btn-card {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
  }
  .btn-card:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
}

/* ================================
    SOBRE NOSOTROS
================================ */
.about-section {
  display: grid;
  grid-template-columns: 2.2fr 1.8fr;
  gap: 30px;
  padding: 20px 20px 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
}
.about-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-line {
  width: 80px;
  height: 4px;
  background: #ff7f35;
  margin-bottom: 20px;
}
.about-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}
.about-horizontal-image {
  width: 90%;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}
.about-horizontal-image img {
  width: 100%; 
  object-fit: cover;
  animation: sideToSide 4s ease-in-out infinite alternate;
}
@keyframes sideToSide {
  0% { transform: translateX(40px); }
  50% { transform: translateX(20px); }
  100% { transform: translateX(10px); }
}
.about-vertical-image {
  width: 100%;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}
.about-vertical-image img {
  width: 100%;
  object-fit: cover;
}
.about-horizontal-image.is-visible,
.about-vertical-image.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-horizontal-image {
    width: 100%;
  }
}

/* ================================
    CONTACT
================================ */
/* Logo en la tarjeta de contacto */
.contact-logo {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

/* Botón CTA principal para reservar */
.contact-cta {
  display: inline-block;
  margin-top: 20px;
  background: #ff7f35;
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.contact-cta:hover {
  background: #ee6d25;
  transform: translateY(-3px);
}
.contact-section {
  padding: 20px 20px;
}
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: #f6f8fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 30px;
  text-align: center;
}
.contact-card h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}
.contact-card p {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #555;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.contact-button {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}
.contact-button:hover {
  transform: scale(1.1);
}

/* ================================
    USTEDES (Testimonios)
================================ */
.ustedes-section {
  padding: 60px 20px;
  background: transparent;
}
.ustedes-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 30px;
  text-align: center;
}
.ustedes-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.ustedes-card p {
  margin-bottom: 20px;
  color: #555;
}
.ustedes-carousel {
  position: relative;
  margin: 0 auto;
}
.ustedes-slide {
  display: none;
}
.ustedes-slide.active {
  display: block;
}
.ustedes-slide-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  margin-bottom: 10px;
}
.ustedes-slide-media img,
.ustedes-slide-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ustedes-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
}
.ustedes-control.prev {
  left: 0;
}
.ustedes-control.next {
  right: 0;
}
@media (max-width: 768px) {
  .ustedes-control {
    padding: 5px;
    font-size: 1rem;
  }
}

/* ================================
    FADE-IN ANIMATIONS
================================ */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-side {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in-side.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
    CONTENEDOR DE GRADIENTE
================================ */
.gradient-bg {
  background: linear-gradient(white, #ff7f35);
}

/* ================================
    BOTONES FIJOS DE CONTACTO
================================ */
.fixed-buttons {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fixed-buttons .fixed-button img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}
.fixed-buttons .fixed-button img:hover {
  transform: scale(1.1);
}

/* ================================
    BOTÓN FLECHITA SCROLL-TOP
================================ */
.scroll-top-button {
  position: fixed;
  bottom: 15px;
  right: 20px;
  background: #ff7f35;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
  display: none;
  z-index: 1001;
  transition: transform 0.3s;
}
.scroll-top-button:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .carousel-slide img {
    object-position: bottom;
  }
  .tours-section {
    margin-top: -20px;
    padding-top: 10px;
  }
  .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    text-align: center;
  }
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}

.payment-logos-section {
  padding: 0px 20px;
  text-align: center;
}
.payment-logos-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.payment-logos-container {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}
.payment-logos-container img {
  width: 150px;
  transition: transform 0.3s;
}
.payment-logos-container img:hover {
  transform: scale(1.1);
}
@media (min-width: 1024px) {
  .payment-logos-container img {
    width: 250px;
  }
}


/* ================================
    FOOTER PERSONALIZADO
================================ */
footer.custom-footer {
  background: linear-gradient(to bottom, #ff7f35 20%, #000 100%);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.footer-contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin: 20px auto;
  align-items: flex-start;
  max-width: 350px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}

.footer-contact-item:hover {
  opacity: 0.8;
}

.footer-icon {
  width: 24px;
  height: 24px;
}

@media (min-width: 769px) {
  .footer-contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
}

.footer-btn {
  background: #ff7f35;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}
.footer-btn:hover {
  transform: scale(1.05);
  background: #ee6d25;
}

.footer-payment-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}

.payment-img {
  width: 120px;
  height: auto;
  transition: transform 0.3s;
}

.payment-img:hover {
  transform: scale(1.1);
}

.payment-info-text {
  font-size: 0.95rem;
  color: #fff;
  margin-top: 5px;
}

.footer-creator {
  margin: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-creator a {
  color: #ff7f35;
  text-decoration: underline;
  font-weight: bold;
}

.footer-copy {
  margin-top: 20px;
}

.footer-copy p {
  font-size: 0.85rem;
  color: #ccc;
}

@media (min-width: 1024px) {
  .payment-img {
    width: 150px;
  }
  .payment-info-text {
    font-size: 1rem;
  }
  footer.custom-footer .footer-logo img {
    width: 160px;
  }
}

footer.custom-footer {
  background: linear-gradient(to bottom, #ff7f35 20%, #000 100%);
  padding: 40px 20px;
  text-align: center;
}
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
}
.footer-btn {
  background: #ff7f35;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}
.footer-btn:hover {
  transform: scale(1.05);
  background: #ee6d25;
}
.footer-copy {
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ================================
    SOLO EN ESCRITORIO
================================ */
@media (min-width: 1024px) {
  .fixed-buttons .fixed-button img {
    width: 70px;
    height: 70px;
  }
  .scroll-top-button {
    width: 65px;
    height: 65px;
    line-height: 65px;
    font-size: 28px;
  }
}
@media (min-width: 1024px) {
  .nav-container {
    padding-left: 20px;
    padding-right: 40px;
  }
}
footer.custom-footer .footer-logo img {
  width: 300px !important;
  height: auto;
}
.hero-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}
.hero-logo {
  width: 25vw;
  min-width: 200px;
  max-width: 400px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 15px 10px;
  text-align: center;
  z-index: 1002;
  display: none; /* Se muestra solo si no se ha aceptado */
}

.cookie-banner a {
  color: #ff7f35;
  text-decoration: underline;
}

.cookie-banner button {
  margin-left: 15px;
  padding: 8px 12px;
  background: #ff7f35;
  border: none;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

/* CAMBIO AQUÍ:
    Forzamos que h1 y h2 sean "display: block"
    para que aparezcan uno debajo del otro
    en lugar de inline-block.
*/
h1, h2 {
  position: relative;
  display: block !important;
  margin-bottom: 1.5rem;
}


/* ================================
    Animación (scroll reveal)
================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
    Estilos globales para h1 y h2 con línea naranja
================================ */
h1, h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: 3rem;
  text-align: center;
  width: 100%;
}
h2 {
  font-size: 2.5rem;
  text-align: center; /* Asegura que el h2 de la descripción esté centrado */
}
h1::after,
h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: #ff7f35;
}

/* Estilo para el nuevo subtítulo h3 en la sección de descripción */
.subtitle-extra {
  font-size: 1.8rem; /* Tamaño adecuado para un subtítulo */
  text-align: center;
  width: 100%;
  margin-bottom: 0.5rem; /* Ajuste para un subtítulo más pegado al título principal */
  color: #555;
  font-weight: 400; /* Más ligero que h2 */
}
.subtitle-extra::after {
  content: none; /* Asegura que no tenga la línea naranja */
}
/* Estilo para los párrafos de descripción que necesitan ser más generales */
.section-description-text {
    text-align: justify; /* Alineación justificada para los párrafos largos */
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}


/* ================================
    HERO (con parallax en desktop y mobile)
================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
}
/* Capa de transparencia para el hero */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Negro con 30% de opacidad */
    z-index: 1; /* Asegura que esté sobre la imagen de fondo pero debajo del contenido */
}
/* Asegura que el contenido del hero esté sobre la capa de transparencia */
.hero-caption {
    position: relative;
    z-index: 2;
}


/* Versión escritorio */
.hero-desktop {
  position: relative;
  width: 100%;
  height: 100vh; /* Para ocupar la pantalla completa */
  background-size: cover;
  background-attachment: fixed; /* Efecto parallax */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-desktop img {
  display: none;
}
.hero-desktop .hero-caption {
  color: #fff;
  z-index: 2;
  animation: fadeInHero 1s ease forwards;
  opacity: 0;
}
.hero-desktop .hero-caption h1 {
  font-size: 4rem !important;
}
@keyframes fadeInHero {
  0% { transform: translateY(-10%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Versión móvil */
.hero-mobile {
  display: none; /* Ocultamos en desktop */
}
@media (max-width: 768px) {
  .hero-desktop {
    display: none; /* En móvil, ocultamos la versión desktop */
  }
  .hero-mobile {
    display: flex;
    height: 100vh;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-attachment: fixed;
  }
  .hero-mobile img {
    display: none;
  }
  .hero-mobile .hero-caption h1 {
    font-size: 2rem !important;
  }
  /* Estilo específico para el subtítulo del hero móvil */
  .hero-mobile .hero-mobile-subtitle {
    font-size: 1.2rem; /* Tamaño de fuente para el subtítulo */
    color: #fff; /* Color blanco */
    margin-top: 0.5rem; /* Espacio debajo del h1 */
    text-align: center; /* Centrado */
    white-space: nowrap; /* Evitar que el texto se rompa */
    overflow: hidden; /* Ocultar el desbordamiento si es muy largo */
    text-overflow: ellipsis; /* Mostrar puntos suspensivos si se corta */
    max-width: 90%; /* Ajuste de ancho para el subtítulo en móvil */
  }
  .hero-mobile .hero-mobile-subtitle::after { /* Eliminar la línea naranja */
      content: none;
  }

  .hero-mobile .hero-caption {
    color: #fff;
    z-index: 2;
    animation: fadeInHero 1s ease forwards;
    opacity: 0;
  }
  .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
  }
}

/* ================================
    SECCIÓN DESCRIPCIÓN
================================ */
.tour-description {
  background: #fff;
  color: #333;
  padding: 20px 10px;
  max-width: 1200px;
  margin: 10px auto;
  text-align: justify;
}
.tour-description h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}


/* ================================
    MAPA CON RECUADRO NEGRO / VIDEO
================================ */
.map-container {
  text-align: center;
  padding: 10px;
  margin-bottom: 10px;
}
/* Eliminado h4 */
.google-earth-map {
  display: inline-block;
  border: 3px solid #000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.google-earth-map:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}
.google-earth-map .ge-image,
.google-earth-map video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.google-earth-map video {
    pointer-events: none;
}
/* Eliminado .ge-caption */


/* Estilos para el itinerario */
.itinerary-title { /* Clase para el título del itinerario */
    text-align: center;
    color: #ff7f35; /* Color naranja */
    font-size: 2.5rem; /* Tamaño de h2 */
    margin-bottom: 1.5rem;
    position: relative;
    display: block; /* Asegura que la línea se centre debajo */
}

/* Línea naranja debajo del título del itinerario */
.itinerary-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #ff7f35;
}
/* Ajuste de tamaño de fuente para el título del itinerario en móvil */
@media (max-width: 768px) {
    .itinerary-title {
        font-size: 1.8rem !important; /* Más pequeño para móvil */
        margin-bottom: 1rem; /* Reducir margen inferior */
    }
}
@media (max-width: 480px) { /* Añadida una media query para hacerlo más pequeño en móviles muy pequeños */
    .itinerary-title {
        font-size: 1.5rem !important; /* Aún más pequeño para móviles muy pequeños */
        margin-bottom: 0.8rem; /* Reducir aún más el margen inferior */
    }
}


.styled-itinerary {
    list-style: none;
    padding: 0;
    max-width: 800px; /* Ancho máximo para que no se extienda demasiado */
    margin: 20px auto; /* Centrar y dar margen */
    text-align: left; /* Alinear el texto a la izquierda */
}

.styled-itinerary li {
    padding: 12px 0; /* Más padding para cada elemento */
    border-bottom: 1px solid #eee; /* Línea divisoria */
    position: relative;
    padding-left: 35px; /* Espacio para el icono personalizado */
    font-size: 1.1rem; /* Tamaño de fuente ligeramente más grande */
    line-height: 1.5;
    color: #444; /* Color de texto suave */
}

.styled-itinerary li:last-child {
    border-bottom: none; /* Quitar la línea en el último elemento */
}

/* Icono personalizado para el itinerario */
.styled-itinerary li::before {
    content: "\2022"; /* Bullet point Unicode */
    font-size: 1.5rem; /* Tamaño del bullet */
    color: #ff7f35; /* Color naranja para el bullet */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1; /* Asegurar que el punto no afecte la altura de la línea */
}
/* Estilo para el texto en negrita dentro de los ítems del itinerario */
.styled-itinerary li strong {
    font-weight: 600; /* Hace la negrita un poco más fuerte */
    color: #222; /* Color más oscuro para los títulos de los puntos */
}


/* ================================
    SECCIÓN DE 4 IMÁGENES (Galería)
================================ */
.four-images-section {
  background: #fff;
  padding: 10px;
  max-width: 1200px;
  margin: 10px auto;
}
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.tab {
  background-color: #eee;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tab:hover {
  background-color: #ff7f35;
  color: #fff;
}
.tab.active {
  background-color: #ff7f35;
  color: #fff;
}
.images-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  .images-container {
    flex-direction: column;
  }
}
.left-column,
.right-column {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .left-column, .right-column {
    width: 100%;
  }
}
.top-left, .bottom-left,
.top-right, .bottom-right {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Aspeect ratios para las galerías */
.top-left { aspect-ratio: 4/3; }
.bottom-left { aspect-ratio: 4/5; }
.top-right { aspect-ratio: 4/5; }
.bottom-right { aspect-ratio: 4/3; }

.top-left img, .top-left video,
.bottom-left img, .bottom-left video,
.top-right img, .top-right video,
.bottom-right img, .bottom-right video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}
.top-left img:hover, .top-left video:hover,
.bottom-left img:hover, .bottom-left video:hover,
.top-right img:hover, .top-right video:hover,
.bottom-right img:hover, .bottom-right video:hover {
  transform: scale(1.05);
}

/* ================================
    FONDO DEGRADADO
================================ */
.gradient-bg {
  background: linear-gradient(white, #ff7f35);
  padding: 10px 0;
}

/* ================================
    SECCIÓN DE INFORMACIÓN DEL TREK
================================ */
.info-section {
  padding: 20px 10px;
  max-width: 1200px;
  margin: 10px auto;
  text-align: center;
  background: transparent;
}
.info-section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
  font-size: 2.5rem;
}
.info-section p.subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.info-circles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}
@media (max-width: 768px) {
  .info-circles {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
/* Orden para la visualización de los círculos */
#dificultadItem    { order: 1; }
#distanciaItem     { order: 2; }
#duracionItem      { order: 3; }
#desnivelItem      { order: 4; }
#diasHorariosItem  { order: 5; }
#climaItem         { order: 6; }
#equipamientoItem  { order: 7; }
#infoAdicionalItem { order: 8; }

.info-circle {
  background: #ff7f35;
  color: #fff;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1rem;
  cursor: pointer;
}
.info-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.info-circle img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.info-circle h3 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
}
.info-circle p {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .info-circle {
    width: 150px;
    height: 150px;
    padding: 15px;
    font-size: 0.9rem;
  }
  .info-circle h3 {
    font-size: 1rem;
  }
  .info-circle p {
    font-size: 0.85rem;
  }
}
@media (max-width: 400px) {
  .info-circle {
    width: 130px;
    height: 130px;
    padding: 10px;
    font-size: 0.85rem;
  }
  .info-circle h3 {
    font-size: 0.95rem;
  }
  .info-circle p {
    font-size: 0.8rem;
  }
  .info-circles {
    gap: 10px;
  }
}

/* Panel desplegable */
.info-panel {
  width: 100%;
  margin-top: 5px;
  background: #333;
  color: #fff;
  border-radius: 6px;
  padding: 15px;
  display: none;
  text-align: left;
  font-size: 0.9rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.info-panel.open {
  display: block;
  max-height: 600px;
}
.info-panel p,
.info-panel li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ================================
    CARTEL "IMPORTANTE"
================================ */
.important-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0c0c0c;
  padding: 20px;
  border-radius: 8px;
  margin: 50px auto 0 auto;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  color: #fff;
  font-size: 1rem;
  text-align: center;
}
.important-note img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

/* ================================
    Ajustes para el menú y navbar (que siempre tenga fondo blanco y línea)
================================ */
/* Esta sección ahora gestiona el comportamiento de cambio de color */
/* No es necesario un `header.navbar` global aquí, ya lo manejamos con `.navbar.scrolled` y `.navbar.transparent` */

.logo-img {
  height: 60px;
  margin-right: 15px;
}
@media (max-width: 768px) {
  .logo-img {
    height: 50px;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .nav-links {
    padding: 60px 20px !important;
  }
}
@media (min-width: 1024px) {
  .logo-text {
    font-size: 1.8rem;
  }
}
@media (max-width: 350px) {
  .nav-container {
    padding: 0 10px !important;
  }
  .logo-img {
    height: 45px !important;
  }
  .logo-text {
    font-size: 1.1rem !important;
  }
  .nav-links {
    padding: 50px 20px !important;
  }
}

/* Estilo para el botón "Volver al Inicio" en footer, si se usa */
.footer-back-to-top {
  text-align: center;
  margin-top: 15px;
}
.footer-back-to-top a {
  display: inline-block;
  background-color: #ff7f35;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.footer-back-to-top a:hover {
  background-color: #e96b1f;
}

/* Panel de Tours (dropdown en navbar, si se reincorpora) */
#toursPanel {
  display: none;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  padding: 10px 0;
  border-radius: 4px;
}
#toursPanel .tours-panel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#toursPanel .tour-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 20px;
  width: 100%;
  text-align: center;
  transition: background 0.3s;
}
#toursPanel .tour-link:hover {
  background: #ff7f35;
  color: #fff;
}

/* Estilos específicos para Packrafting si es necesario */
#packrafting-options {
    text-align: center;
    padding: 20px 10px;
    background: #fff;
}
#packrafting-options h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}
h2.no-line::after {
    content: none !important;
}
.packrafting-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 20px;
}
.packrafting-buttons button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: #ff7f35;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
    min-width: 150px;
}
.packrafting-buttons button:hover {
    background: #e06f2e;
}
@media (max-width: 768px) {
    .packrafting-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .packrafting-buttons button {
        width: 80%;
        max-width: 300px;
    }
}

/* ─────────────────────────────────────────────
   Ajustes SOLO para el INDEX en MÓVIL (<768 px)
   - “Frecuencia Sur Ushuaia” en una sola línea
   - Sin línea (border-bottom) en la navbar
───────────────────────────────────────────── */
@media (max-width: 768px) {
    /* evita el salto de línea del texto de la marca */
    #indexPage .logo-text{
        white-space: nowrap;          /* todo en una línea      */
        overflow    : hidden;         /* opcional, por si sobra */
        text-overflow: ellipsis;      /* opcional (…)           */
    }

    /* quita la línea blanca bajo la barra */
    #indexPage .navbar.transparent{
        border-bottom: none;
    }
}

/* tamaño de la marca SOLO en el index y SOLO en móvil */
@media (max-width: 768px){
    #indexPage .logo-text{
        font-size: 1.0rem;   /* ajustá el número a tu gusto */
    }
}

/* Estilos para el contenedor de reseñas de Google */
.google-reviews-container {
    margin: 40px auto; /* Centra el contenedor y le da margen arriba/abajo */
    max-width: 800px; /* Ancho máximo para las reseñas */
    padding: 20px;
    background-color: #f9f9f9; /* Un fondo suave para la sección de reseñas */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Asegura que el contenido interno esté centrado */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .google-reviews-container {
        margin: 20px 10px; /* Margen más ajustado en móviles */
        padding: 15px;
    }
}

/* Asegúrate de que el widget interno se adapte, si la plataforma lo permite */
#google-reviews-widget {
    width: 100%; /* El widget debería ocupar todo el ancho del contenedor */
    /* Altura puede ser auto o ajustada si el widget lo requiere */
}