@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

@media (max-width: 380px) {
  .footer-container {
    padding: 0 1px;
    min-width: 0;
  }
  .footer-top {
    gap: 0.3rem;
    padding: 0.3rem 0;
    min-width: 0;
  }
  .footer-logo-section h2 img.logo {
    max-width: 65px;
  }
  .footer-logo-section p,
  .footer-links-section,
  .footer-social-section h3,
  .footer-bottom p {
    font-size: 10px;
  }
  .newsletter-form input,
  .newsletter-form button {
    font-size: 11px;
    padding: 5px 5px;
  }
  .social-icons a {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .links-group ul {
    padding-left: 0;
  }
}
@media (max-width: 344px) {
  .footer-container {
    padding: 0 2px;
  }
  .footer-top {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .footer-logo-section h2 img.logo {
    max-width: 80px;
  }
  .footer-logo-section p,
  .footer-links-section,
  .footer-social-section h3,
  .footer-bottom p {
    font-size: 11px;
  }
  .newsletter-form input,
  .newsletter-form button {
    font-size: 12px;
    padding: 7px 8px;
  }
  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .footer-container {
    padding: 0 5px;
    max-width: 100vw;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0;
    justify-items: center;
    width: 100%;
  }
  .footer-logo-section,
  .footer-social-section {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .footer-links-section {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  .links-group ul {
    padding-left: 0;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    box-sizing: border-box;
  }
  .social-icons {
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
  }
  .footer-bottom {
    text-align: center;
    padding: 10px 0 0 0;
    font-size: 12px;
  }
  .footer-logo-section h2 img.logo {
    max-width: 120px;
    height: auto;
  }
}
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }


:root{
    --primario:#FFD700;
    --section-grey:#F5F5F5;
    --white-pure:(#FFFFFF);
    --oscuro:var(--oscuro);
    --boton:#064c55;
    --boton-oscuro-hover: #FFD700;
    /**var(--boton)**/
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Tipografia*/
body {
  font-family: "Montserrat",Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
}

.nav-links{
  font-size: 1rem;
}

/*Globales*/

hr{
  background-color: 0.5px de #e5e7eb;
  opacity: 0.2;
}

h2{
    font-size: 2.5rem;
}

.text-center{
    text-align: center;
    padding-bottom: 1rem;
}

.urgente{
  color: red;
}

.space-2rem{
    margin-top: 2rem;
}

.space-3rem{
  margin-top: 3rem;
}

.space-5rem{
  margin-top: 5rem;
}

.space-6rem{
    margin-top: 6rem;
}

/*trip*/
.cupo-limitado{
    color: rgb(229, 5, 5);
}

.reseva-ya{
   color: rgb(233, 31, 179);
}

.reseva-ya{
   color: rgb(233, 31, 179);
}

.trip-card--desde{
    color: rgb(233, 31, 179);
}

.trips-bg .reseva-ya{
   color: rgb(233, 31, 179);
}

/*estrellas*/

.star-color{
  color:#FFD700; 
  font-size:1rem;
}

.card-star{
   display:flex; 
   align-items:center; 
   gap:8px;
}

.card-star--numero{
   font-size:1rem; color:#444;
}

/*lineas*/
.separacion-hr{
  width: 50%;
  margin: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5re;
}


/* --- NAVBAR --- */
.navbar {
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;   /* siempre arriba */
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.logo{
  width: 150px;
  padding: 0px 0px;
}

.navbar .nav-links li a:hover{
  color: var(--primario);
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}


.navbar .btn {
  background-color: var(--primario);
  color: var(--oscuro);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;

}

.navbar .nav-links .btn{
    background-color: var(--primario);
    color: black;
    font-weight: 700;

}

.navbar .nav-links .btn:hover {
  background-color: var(--boton);
  color: white;
}

/*TRIP WRAPPER*/
/* --- BANNER --- */
.banner {
  position: relative;
  width: 100%;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom:50px;
}

.banner video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
  bottom: 10px;
}

.banner-content {
  opacity: 0; /* empieza invisible */
  transform: translateX(-100%); /* empieza fuera de pantalla por la izquierda */
  animation: slideIn 1s ease-out forwards; /* animación */
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0); /* llega a su lugar original */
  }
}
.banner-content h1 {
  padding-top: 4rem;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.banner-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* CTA al fondo del banner */
.cta-overlay {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 4px;
  gap: 0.3rem;
  z-index: 2; /* por encima del video */
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  /*background: rgba(0,0,0,0.6);*/
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  }



.cta-overlay a {
  background: var(--primario);
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
  padding: 0.8rem 1.5rem;
}

.cta-overlay a:hover {
  background-color: var(--boton);
  color: white;
}

/* Botón dentro del overlay */
.cta-overlay .overlay-reserva {
  display: inline-block;
  background: #FFD700;
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-overlay .overlay-reserva:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  overflow: none;
  border-radius: 5px;
  width: 3rem;
  height: 3rem;
  outline: none;
  border: none;
  background-color: #eaeaef;
  color: rgb(14, 2, 2);
}   


/*CTA*/

    /* Estilos básicos para el video + CTA */
    .video-section {
      position: relative;
      text-align: center;
      margin: 3rem auto;
      max-width: 900px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .video-section video {
      width: 100%;
      display: block;
      border-radius: 20px;
    }





    /***SEARCH***/
.search-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem auto;
  padding: 2rem 1rem;
  max-width: 700px;
  text-align: center;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  color: #fff;
  animation: fadeIn 0.8s ease-in-out;
}

/* Caja del buscador */
.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
}

.search-box input {
  flex: 1;
  padding: 14px 50px 14px 20px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.search-box input:focus {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Botón de limpiar */
.search-box button {
  position: absolute;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: 0.3s;
  opacity: 0;
  pointer-events: none;
}

.search-box input:focus + button,
.search-box input:not(:placeholder-shown) + button {
  opacity: 1;
  pointer-events: all;
  color: #0072ff;
}

/* Texto de ayuda */
.search-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
  color: #ffffff;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

.trip-card {
  transition: all 0.4s ease;
}

.trip-card.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/***Cierre SEARCH***/

/* ==============================
   BASE GRID
============================== */

/*Contenido(Sección viajes)*/
.trips-container,
.payment-container,
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
 
}

/* Tarjetas generales */

/* Hover */
.trip-card:hover,
.payment-card:hover {
  transform: translateY(-6px);
}

/* ==============================
   MEDIA QUERIES
============================== */


.trips-container--grupos {
  background-color: #F7F7F7;
  width: 100%;   /* fuerza a ocupar toda la pantalla */
  margin: 0;     /* elimina márgenes laterales */
  padding: 50px 10%; /* opcional: para que el contenido no quede pegado a los bordes */
}

.trip-card {

  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.trip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.trip-card img {
  object-fit: cover;   /* mantiene el recorte */
  object-position: top; /* muestra la parte superior */
  width: 100%;
  height: 300px;       /* ajusta según necesites */
}

.trip-card h2 {
  font-size: 1.5rem;
  margin: 15px 0 5px;
  color: #333;
}

.trip-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 10px;
}

.trip-card .description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin: 10px 15px;
  min-height: 72px; /* aprox 3 líneas */
}

.trip-card .date {
  font-weight: bold;
  color: var(--boton);
  margin: 5px 0;
}

.trip-card .price {
  margin: 5px 0 15px;
}

.trip-card .price .before {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.trip-card .price .now {
  font-weight: bold;
  color: var(--boton);
  font-size: 1.2rem;
}

.without-price{
  color: rgb(233, 31, 179) !important;
}

.trip-card .btn {
  text-decoration: none;
  background: linear-gradient(90deg,rgba(4, 2, 56, 1) 0%, rgba(9, 9, 121, 1) 54%, rgba(0, 212, 255, 1) 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.trip-card .btn:hover {
  background: var(--boton-oscuro-hover);
  color: black;
  font-weight: 600;
}

/*Contenido 2da sección*/

.trips-bg {

  width: 100%;
  background-color: var(--section-grey);
  padding: 0.5rem 0; /* espacio arriba y abajo */
  margin-top: 6rem;
  padding-bottom: 5rem;

}

.trips-container {
  width: 80%;
  margin: 0 auto;
  display: grid;
  /* En lugar de porcentaje fijo → minmax flexible */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}


/*Sección de meses*/

.payment-section {
  padding: 0 2rem;
  background-color: white;
  height: 100%;
  text-align: center;
  margin-bottom: 100px;
}

.payment-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #212121;
}x


.main__subtitulo {
  font-size: 2rem;
  color: #555;
  margin-bottom: 3rem;
}

.main__subtitulo .pay{
  font-size: 2rem;
}

.payment-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  font-size:10px;
}

.payment-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card i {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 1rem;
}

.payment-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #212121;
}

.payment-card p {
  font-size: 1.2rem;
  color: #666;
}

.payment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/**CONTACTO**/

.contact-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.contact-form{
  width: 80%;
  height: 100%;
  margin: 0 auto;
}


.contact-section h2 {
  margin-top: 0;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #212121;
}

.contact-section .main__subtitulo {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  font-size: 1.2rem;
  width: 100%;
}

.contact-form button {
  padding: 1rem;
  background: #ffc107;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #e6b800;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card i {
  font-size: 2rem;
  color: #ffc107;
  margin-bottom: 0.8rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #212121;
}

.info-card p {
  font-size: 1.4rem;
  color: #a2a0a0;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


/**WhatsApp**/

/* Botón flotante de WhatsApp */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;       /* distancia desde abajo */
  right: 20px;        /* distancia desde la derecha */
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;       /* siempre encima */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5a;
  transform: scale(1.1);
}

/**FOOTER**/


  body {
    font-family: 'Arial', sans-serif;
  }

  .dynamic-footer {
    background: linear-gradient(135deg, #1f1f1f, #111);
    color: #fff;
    padding: 50px 20px 20px 20px;
    overflow: hidden;
  }

/* Footer layout base */
  .footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    color: #fff;
    justify-items: center;
    align-items: start;
    width: 100%;
  }

.newsletter-message{
  margin-top:10px; 
  font-weight:bold;
}

  .footer-logo-section h2 {
    color: #FFC107;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .footer-logo-section p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }


  .newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 14px;
  }

  .newsletter-form button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: #FFC107;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .newsletter-form button:hover {
    transform: scale(1.05);
  }

  #newsletter-message {

  transition: opacity 0.5s ease;
}

#newsletter-message.show {
  opacity: 1;
}

  .footer-links-section {
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }
  .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
  .footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
    justify-items: center;
  }
  .footer-links-section {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .footer-logo-section, .footer-social-section {
    align-items: center;
    text-align: center;
  }
}

  .links-group h3 {
    color: #FFC107;
    margin-bottom: 15px;
  }

  .links-group ul {
    list-style: none;
  }

  .links-group ul li {
    margin-bottom: 10px;
  }

  .links-group ul li a {
    color: #fff;
    font-size: 14px;
    transition: color 0.3s;
  }

  .links-group ul li a:hover {
    color: #FFC107;
  }

  .footer-social-section h3 {
    color: #FFC107;
    margin-bottom: 15px;
  }

 
  .social-icons {
    display: flex;
    gap: 15px;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
  }

  .social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    background: #FFC107;
    color: #111;
  }

  .footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
    color: #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Animación suave */
  .dynamic-footer{
    transition: all 0.3s ease;
    
  }

 /***DISEÑA TU VIAJE***/
 /* Contenedor general */
.diseña-viaje {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #fef9f3, #fff);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  padding-left: auto;
  padding-right: auto;
}

.diseña-viaje h2 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #333;
  padding-left: auto;
  padding-right: auto;
}

.diseña-viaje .subtitulo {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Grid de formularios */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
}

.form-box {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.form-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #444;
}

.form-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-box input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  outline: none;
}

/* CTA Button */
.cta-btn a {
  display: inline-block;
  background: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn a:hover {
  background: #FFC107;
  transform: scale(1.05);
}




/*seccion de consejos*/
  .travel-tips {
    padding: 100px 20px;
    background: linear-gradient(90deg,rgba(4, 2, 56, 1) 0%, rgba(9, 9, 121, 1) 54%, rgba(0, 212, 255, 1) 100%);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    text-align: center;
  }

  .travel-tips .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .tips-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1px;
  }

  .tips-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
  }

  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .tip-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(6px);
    text-align: left;
  }

  .tip-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }

  .tip-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
  }

  .tip-card p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
  }

  /* Hover dinámico */
  .tip-card:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
  }

  .tip-card:hover .tip-icon {
    transform: rotate(12deg) scale(1.1);
  }


/***SECCION VIAJES EN PUERTA***/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.viajes-en-puerta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}


.viajes-en-puerta h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.destacados, .viajes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.card p {
  font-size: 1rem;
  color: #777;
}

.destacado {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #fff;
}

.viaje {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
  color: #fff;
}

.cta button {
  background-color: #ff6b6b;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.cta button:hover {
  background-color: #ff4757;
  transform: scale(1.05);
}





/* --- MULTIPASOS --- */

.viaje-form-section {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 7rem;
}

.progress-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 5px;
  margin-right: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: #007bff;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.step {
  display: none;
}

.step.active {
  display: block;
  text-align: center;
  animation: fadeStep 0.4s;
}

@keyframes fadeStep {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}


.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.options label {
  flex: 1 1 45%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  user-select: none;
}

.options input[type=radio] {
  display: none;
}

.options input[type=radio]:checked + span,
.options input[type=radio]:checked + label {
  border-color: #007bff;
  background: #e0f0ff;
}

.other-input {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.other-input:focus {
  border-color: #007bff;
  outline: none;
}

.error-message {
  color: red;
  font-size: 0.9em;
  
  padding: 10px;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
}

.buttons-multisteps{
  width: 100%;
}

.input-dviaje{
  width: 49%;
}

.buttons button {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.buttons button:hover {
  background: #0056b3;
}

/* Contenedor de opciones */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Ocultar el radio original */
.options input[type="radio"] {
  display: none;
}

/* Estilo de los labels como botones */
.options label {
  padding: 10px 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #f5f5f5;
  user-select: none;
}

/* Hover para efecto visual */
.options label:hover {
  border-color: #007bff;
  background-color: #e0f0ff;
}

/* Cuando el radio está seleccionado */
.options input[type="radio"]:checked + label {
  border-color: #007bff;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

.options label.selected {
  border-color: #007bff;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

.step-title{
  font-size:xx-large;
  padding: 20px;
  text-align: center;
}

.step-subtitle{
  padding: 20px;
  text-align: center;
}

.date-travel{
  padding: 5px 10px;
  margin-bottom: 15px;
  width: 250px;
  font-size: medium;
  border-radius: 0.5rem;
  border: 2px solid #ccc;
}

/* Paso de datos personales */
.step input[type="text"],
.step input[type="email"],
.step input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.step input[type="text"]:focus,
.step input[type="email"]:focus,
.step input[type="tel"]:focus {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0,123,255,0.25);
  outline: none;
}

/* Botones de navegación */
.buttons button {
  padding: 12px 25px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #FFD700, #FFC107);
  color: #111;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Error message */
.step .error-message {
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #ff4d4f;
  font-weight: 500;
}
/**cierre MULTIPASOS***/


/***SEARCH***/

.search-section {
  /*position: absolute;*/
  bottom: 13rem;   /* que sobresalga del header */
  inset-inline: 0;   /* igual a left:0; right:0; */
  margin-inline: auto;
  width: 90%;
  max-width: 800px;

  background: #040238;
  background: linear-gradient(90deg,rgba(4, 2, 56, 1) 0%, rgba(9, 9, 121, 1) 54%, rgba(0, 212, 255, 1) 100%);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(37 88 236 / 0%);
  text-align: center;
  z-index: 20;
}
/** CIERRE SEARCH***/

/*(RESULTADOS.HTML)*/
    .content-trip-card{
      padding: 2rem 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .results-wrapper {
      width: 80%;
      margin: 5rem auto;
      position: relative;
    }
 
  #results {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

#results::-webkit-scrollbar {
  display: none;
}

#results .trip-card {
  flex: 0 0 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Flechas */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f1f1f1;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
}

.left-btn { left: -20px; }
.right-btn { right: -20px; }

/* Opción: solo en móvil */
@media (min-width: 992px) {
  .nav-btn { display: none; }
}

.result-title{
  text-align: center;
}
/*CIERRE RESULTADO.HTML*/


/***MODAL DETALLE***/
.trip-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column; /* organiza en columna */
  text-align: center;
  height: 100%; /* asegura altura consistente */
}
.trip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.trip-card:hover img {
  transform: scale(1.05);
}
.trip-card h2 {
  font-size: 1.2rem;
  margin: 12px 16px 4px;
  font-weight: 700;
}
.trip-card h3 {
  font-size: 0.95rem;
  margin: 0 16px 12px;
  color: #666;
}
.trip-card .date,
.trip-card .price {
  margin: 0 16px 8px;
}
.trip-card .price {
  font-weight: bold;
  color: #e63946;
}
.trip-card .price .before {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}
.trip-card .btn {
  text-decoration: none;
  background: var(--boton);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 20px auto 20px; /* centrado horizontal */
  transition: background 0.3s;
  margin-top: auto; /* 👈 empuja el botón al final de la tarjeta */
}
.trip-card .btn:hover {
  background: var(--boton-oscuro-hover);
  color: black;
  font-weight: 600;
}

/* -------------------- */
/* Modal                */
/* -------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column; /* 👈 organizamos en header, body y footer */
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  position: relative;
  animation: slideUp 0.35s ease forwards;
  max-height: 90vh;  /* nunca pasa de la pantalla */
  overflow: hidden;  /* controlamos el scroll en el body */
}

/* ------------------ */
/* HEADER             */
/* ------------------ */
.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}
.close {
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}
.close:hover {
  color: #111;
}

/* ------------------ */
/* BODY               */
/* ------------------ */
.modal-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 20px 24px;
  overflow-y: auto;   /* 👈 solo el body hace scroll */
}



/* Contenido lado derecho */
.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 8px; /* espacio para scrollbar */
}

.modal-right h3 {
  font-size: 1.1rem;
  color: #111;
}
.modal-right h4 {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #4f46e5;
}
.modal-right .modal__ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.modal-right .modal__ul li {
  background: #eef2ff;
  color: #4338ca;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.modal-right .modal-right--description {
  font-size: 0.95rem;
  color: #444;
}

/* Scroll estilizado */
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #a5b4fc;
  border-radius: 6px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

/* ------------------ */
/* FOOTER             */
/* ------------------ */
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.modal-footer .btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-primary a{
  text-decoration: none;
  color: white;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
}
.modal-footer .btn-primary:hover {
  background: linear-gradient(135deg, #4338ca, #0891b2);
  transform: scale(1.05);
}
.modal-footer .btn-secondary {
  background: #f3f4f6;
  color: #333;
}
.modal-footer .btn-secondary:hover {
  background: #e5e7eb;
}

/* ------------------ */
/* Responsive         */
/* ------------------ */
.modal-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.modal-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.modal-left img{
  width: 100%;
  height: auto;       /* Ajusta la altura automáticamente */
  max-height: 80vh;   /* No pase del 80% de la altura de la pantalla */
  object-fit: cover; /* Muestra toda la imagen sin recorte */
  border-radius: 12px;
  object-position: top; /* 👈 aquí */
}

.modal-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;     /* 👈 ancho máximo controlado */
  height: 400px;        /* 👈 altura fija para mantener proporción visual */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;  /* fondo sutil detrás de la imagen */
  border-radius: 16px;
  overflow: hidden;
}

#modalImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;   /* 👈 mantiene proporciones sin recortar */
  border-radius: 12px;
  
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flechas */
.img-prev,
.img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.img-prev:hover,
.img-next:hover {
  background: rgba(0,0,0,0.8);
}

.img-prev { left: 10px; }
.img-next { right: 10px; }

/* Miniaturas opcionales */
#modalGallery {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#modalGallery img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

#modalGallery img.active,
#modalGallery img:hover {
  opacity: 1;
  border: 2px solid #4a90e2;
}

.modal-gallery {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.modal-gallery img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.modal-gallery img:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.modal-gallery img.active {
  border: 2px solid #6366f1; /* resalta la seleccionada */
}


.modal-gallery img.active {
  border: 3px solid #4f46e5;
  opacity: 1;
}

.modal-gallery img {
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s, border 0.2s;
}

.modal-gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

#modalDesc {
padding: 0.5rem;
}

.descripcion-modal-li{
  
  list-style: none;
  padding: 0.2rem 0;
  font-weight: 700;
  color: #0a8494;
  font-weight: 500;

}

.modal__disfruta__de{
  padding: 1rem 0;
  font-weight: bold;
}

#modalDate{
  font-weight: bold;
}

.btn-proximamente{
  color: rgb(43, 206, 239) !important;
  background-color: rgb(0, 0, 0);
  border-radius: 0.5rem;
  padding: 0.8rem;
}

/* Cursor pointer para la imagen principal del modal */
/* Cursor pointer para la imagen principal */
#modalImg {
  cursor: pointer;
}
/* ========================== */
/* Modal Responsive (móviles) */
/* ========================== */
@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 12px;
  }

  .modal-body {
    flex-direction: column;   /* 👈 imagen arriba, info abajo */
    gap: 16px;
    padding: 12px;
  }

  .modal-left {
    width: 100%;
  }

  .modal-img-wrapper {
    max-width: 100%;
    height: auto;        /* que se ajuste a pantalla */
    max-height: 40vh;    /* ocupa máximo 40% del alto */
  }

  .modal-left img,
  #modalImg {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
  }

  .modal-right {
    width: 100%;
    padding: 0 4px;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }

  .modal-right h3,
  .modal-right h4 {
    font-size: 1rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 8px;
  }

  .modal-footer .btn {
    width: 100%;
    text-align: center;
  }
}
/* Ajustes para móviles */
@media (max-width: 768px) {
  .modal-img-wrapper {
    max-width: 100%;
    height: 220px;   /* 👈 reducimos la altura */
  }

  #modalImg {
    max-height: 220px; /* 👈 aseguramos que la imagen no se pase */
    object-fit: cover;
    border-radius: 10px;
  }

  /* Miniaturas más pequeñas también */
  .modal-gallery img,
  #modalGallery img {
    width: 55px;
    height: 45px;
  }
}

/* ==================================
   MEDIA QUERY MÓVIL: max-width 768px
================================== */
@media (max-width: 768px), (max-width: 992px)  {

  /* Banner */
  
  .banner{
    display: flex;
    flex-direction: column;
  }


  .banner-content{
    margin-top: 120px;
    /*margin-bottom: -100px;*/
  }
  .banner-content h1 {
    font-size: 2rem;
  }
  .banner-content h3 {
    font-size: 1.2rem;
  }
  .overlay-reserva {
    text-align: center;
    margin-top: 20px;
  }

  .cta-overlay {
    position: absolute;           /* deja que fluya dentro del contenedor */
    margin: 2rem auto;          /* espacio arriba y abajo */
    width: 100%;                 /* ocupa casi todo el ancho */
    max-width: 350px;           /* limita tamaño máximo */
    flex-direction: column;     /* asegura que los botones queden verticales */
    padding: 1rem 1.5rem;       /* ajusta padding para móvil */
    height: auto;
    background: rgba(0, 0, 0, 0.0);
    z-index: 1001; /* más que el menú */
  }

  .cta-overlay span {
  display: none;
  }

  .cta-overlay a {
    width: 100%;                /* botón ocupa todo el ancho */
    text-align: center;
    margin-left: 0;             /* elimina márgenes laterales */
    margin-bottom: -1.5rem;      /* espacio entre botones */
   }

  .space-6rem {
    margin-top: 2rem;
  }

  .search-section{
    display: none;
  }
  /* Menú hamburguesa */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 1000;
  }

  .nav-links {
    position: relative;
    z-index: 1000;  
    top: 70px;
    left: 0;
    width: 100%;
    display: flex;             /* para animación de altura */
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.9);
    text-align: center;
    overflow: hidden;          /* oculta contenido sobrante */
    max-height: 0;             /* oculto por defecto */
    padding: 0;
    transition: max-height 0.5s ease;
    z-index: 999;
  }

    .cta-overlai--container {
    z-index: 500;       /* menos que el menú */
  }
/* Estilo base de los li */

.nav-links li a {
  display: block;        /* el enlace ocupa todo el li */
  width: 100%;           
  padding: 5px;         /* mismo padding que el li */
  color: white;
  text-decoration: none; /* sin subrayado */
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.navbar .nav-links li a:hover{
  color: black;
}

.nav-links li a:hover {
  background-color: gold;
  color: black;
}

/* Seleccionado */
.nav-links li.selected a {
  background-color: gold;
  color: black;
}

.nav-links li:hover {
  width: 100%;
  background-color: gold;

  color: #010000;
}

  .nav-links.active {
    max-height: 500px;         /* altura suficiente */
    padding: 20px 0;
    color: #000;
  }

  .nav-links li {
    width: 100%;
    margin: 0px 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }

.title-section-index{
  margin-top: 2rem;
  font-size: 2rem;
}


  /* Para ver el menú activo en móvil */
  .nav-links.active {
    display: block;
  }


  .nav-links li:last-child{
    display: none;
    }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links li {
    width: 100%;
  }

  .banner-content{
    margin-top: 0px;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content h3 {
    font-size: 1rem;
  }


}

/*==========================
  CIERRE MEDIA QUERYS
  ==========================*/

/*==========================
  CIERRE MODAL
  ==========================*/

.trip-card:nth-child(3) .card__index {
  width: 100%;          /* ocupa todo el ancho */
  object-fit: cover;    /* llena la card recortando la imagen */
  object-position: center 18%; /* 👈 mueve la imagen hacia arriba */
}


/* Estilo para la imagen ampliada */
.fullscreen-overlay {
  display: none; /* siempre oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.fullscreen-overlay .close-fullscreen,
.fullscreen-overlay .fs-prev,
.fullscreen-overlay .fs-next {
  position: absolute;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.fullscreen-overlay .close-fullscreen { top: 10px; right: 20px; }
.fullscreen-overlay .fs-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.fullscreen-overlay .fs-next { top: 50%; right: 20px; transform: translateY(-50%); }

.cupo{
  font-weight: 700;
  font-size: larger;
  background-color: #fe1e00;
  color: white ;
  text-align: center;
  border-radius: 1rem;
}

.modal-left--reservaDesde{
  margin-top: 15px;
  color: #ffffff;
  background-color: #0996ce;
  width: 100%;
  padding: 7px;
  border-radius: 1rem;
  
}

.modal__subtitle{
  text-align: left;
}

/* ============================
        ACERCA DE
============================ */
   body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #fdfdfd;
      color: #222;
      line-height: 1.6;
    }

    section#acerca {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    /* HERO */
    .acerca-hero {
      position: relative;
      background: url('asse') center/cover no-repeat;
      height: 200px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 80px;
    }
    .acerca-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg,rgba(4, 2, 56, 1) 0%, rgba(9, 9, 121, 1) 54%, rgba(0, 212, 255, 1) 100%);
      border-radius: 20px;
    }
    .hero-text {
      position: relative;
      color: #fff;
      text-align: center;
      z-index: 2;
    }
    .hero-text h2 {
      font-size: 3rem;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .hero-text p {
      font-size: 1.3rem;
      max-width: 700px;
      margin: 0 auto;
    }

    /* QUIÉNES SOMOS */
    .about-block {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-bottom: 80px;
    }
    .about-block .text { flex: 1; }
    .about-block .image img {
      border-radius: 20px;
      width: 100%;
      box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    }
    .about-block h3 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: #0a2a43;
    }

    /* POR QUÉ ELEGIRNOS */
    .features {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 25px;
      margin-bottom: 80px;
    }
    .feature {
      background: #fff;
      padding: 25px;
      border-radius: 18px;
      box-shadow: 0 8px 22px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform .3s ease;
    }
    .feature:hover { transform: translateY(-8px); }
    .feature i {
      font-size: 2.2rem;
      color: #ff9f1c;
      margin-bottom: 15px;
    }

    /* MISIÓN VISIÓN VALORES */
 .mision-vision {
  display: flex;
  align-items: center;       /* centra verticalmente */
  justify-content: center;   /* centra horizontalmente */
  gap: 40px;                 /* separación entre bloques */
  max-width: 1200px;         /* limita ancho total */
  margin: 0 auto;            /* 👈 centra el contenedor en la página */
  padding: 60px 20px;
}

.mision-vision .text {
  flex: 1;
  text-align: center;        /* centra el contenido de texto */
}

.mision-vision .image {
  flex: 1;
  display: flex;
  justify-content: center;   /* centra la imagen dentro de su bloque */
}

.mision-vision .image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

    .mision-vision .card {
      background: #f5f7fa;
      border-radius: 18px;
      padding: 30px;
      text-align: center;
    }
    .mision-vision i {
      font-size: 2.3rem;
      color: #0a2a43;
      margin-bottom: 15px;
    }

    /* EXPERIENCIAS */
    .experiencias {
      margin-bottom: 80px;
    }
    .experiencias h3 {
      text-align: center;
      margin-bottom: 30px;
    }
    .experiencias-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 20px;
    }
    .experiencias-grid img {
      width: 100%;
      border-radius: 15px;
      height: 220px;
      object-fit: cover;
      transition: transform .4s;
    }
    .experiencias-grid img:hover { transform: scale(1.05); }

    /* TESTIMONIOS */
    .testimonios {
      text-align: center;
      padding: 50px;
      background: #f5f7fa;
      border-radius: 20px;
    }
    .testimonial {
      max-width: 700px;
      margin: 20px auto;
    }
    .testimonial img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      margin-bottom: 15px;
    }
    .testimonial p {
      font-style: italic;
    }

    .about-block {
  display: flex;
  align-items: center;
  justify-content: center;   /* centra contenido */
  gap: 40px;
  margin-bottom: 80px;
}

.about-block .text {
  flex: 1;                 /* ocupa espacio restante */
}

.about-block .image {
  flex: 0 0 50%;           /* ancho fijo del 50% */
  display: flex;
  justify-content: center; /* centra la imagen horizontalmente */
}

.about-block .image img {
  width: 100%;             /* ocupa el ancho disponible */
  max-width: 600px;        /* evita que crezca demasiado */
  height: 300px;           /* defines la altura visible */
  object-fit: cover;       /* recorta sin deformar */
  object-position: 30% 30%;;    /* 👈 recorte se centra arriba */
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);

}


  /* Contenedores de tarjetas / grids */
  .trips-container {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* mejor que 30% */
  gap: 30px;
  }

  .contact-form {
   width: 100%;
  max-width: 1200px;   /* límite máximo para desktop */
  margin: 0 auto;
  }

  .payment-container,
  .contact-container {
     display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
  }

  /* Textos */
  h2, h3,
  .tips-title {
    font-size: 1.2rem;
    text-align: center;
  }
  .tips-subtitle {
    font-size: 1rem;
  }

  /* Footer */
  


.trips-container,
.payment-container,
.contact-container,
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 80%;        /* ancho uniforme */
  max-width: 1200px; /* opcional para desktop grande */
  margin: 0 auto;    /* centra todo */
  
}

.social-icons{
  justify-content: center;
}

  /* Secciones flexibles */
  .destacados,
  .viajes {
    flex-direction: column;
    gap: 1.5rem;
  }

/* Para pantallas medianas */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .footer-social-section h3 {
    justify-content: center;
  }
  .footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .dynamic-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-bottom {
    padding-left: auto;
    padding-right: auto;
  }
  .dynamic-footer {
    padding-left: auto;
    padding-right: auto;
  }
}

/* Para pantallas pequeñas */
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social-section {
    margin-top: 1rem;
  }

  .social-icons {
    justify-content: center;
    gap: 1rem;
  }
  .footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .dynamic-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-bottom {
    padding-left: auto;
    padding-right: auto;
  }
  .dynamic-footer {
    padding-left: auto;
    padding-right: auto;
  }
}
/* =========================
   Celulares muy pequeños
========================= */
@media (max-width: 600px) {
  .trips-container,
  .payment-container,
  .contact-container {
    grid-template-columns: 1fr;
    width: 100%; /* ocupa todo el ancho */
    padding: 0 10px; /* un poco de padding lateral */
  }

  .trip-card img {
    height: 100%;
    object-fit: cover;
  }

  h2, h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  .footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .dynamic-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-bottom {
    padding-left: auto;
    padding-right: auto;
  }
  .dynamic-footer {
    padding-left: auto;
    padding-right: auto;
  }
}

/* =========================
   Animaciones sutiles
========================= */
@media (prefers-reduced-motion: no-preference) {
  .form-box {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
  }

  .form-box:nth-child(1) { animation-delay: 0.1s; }
  .form-box:nth-child(2) { animation-delay: 0.3s; }
  .form-box:nth-child(3) { animation-delay: 0.5s; }
  .form-box:nth-child(4) { animation-delay: 0.7s; }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* =========================
   Escritorio
========================= */
@media (min-width: 992px) {
  .nav-btn {
    display: none;
  }
}
/* ==============================
   RESPONSIVE ACERCA DE
============================== */
@media (max-width: 992px) {
  .features, .mision-vision {
    display: flex;
    flex-direction: column;
  }

  .hero-text h2{
         font-size: 1.5rem;
  }

  .hero-text p{
         font-size: 1rem;
  }

  .image{
    width: 100%;
  }
  .about-block {
    flex-direction: column;
    text-align: center;
  }

  .experiencias-grid {
    grid-template-columns: 1fr;
  }
}



/*------------------CIERRE MEDIAQUERY------------*/

/*=========================================
  SECCION ¿Por qué viajar con ViajeA?
  =========================================*/
.why-us-section-carousel{
  width: 80%;
  padding-bottom: 4rem;
  margin: 0 auto;
}

.faq-section {
  max-width: 1000px;
  margin: 0 auto 5rem;
  padding: 0 1rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.faq-container {
  margin-top: 2rem;
}

.faq-category h3 {
  margin-bottom: 1rem;
  color: #064c55;
  font-size: 1.5rem;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 0.3rem;
}

.faq-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fefefe;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: #064c55;
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  outline: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #046070;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: #f9f9f9;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  margin: 1rem 0;
}
  

.why-us-card-carousel {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.why-us-card-carousel i {
  color: #ff6600;
  margin-bottom: 1rem;
}

.why-us-card-carousel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.why-us-card-carousel p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.why-us-card-carousel ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 0.9rem;
  color: #555;
}

/* Ajustes Swiper */
.swiper {
  padding: 2rem 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ff6600;
}

.swiper-pagination-bullet-active {
  background-color: #ff6600;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, -8px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}

/* Centrado para el input de fecha MULTIPASOS */
.step .date-travel {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .step .date-travel {
    min-width: 0;
    max-width: 100%;
    font-size: 1em;
  }
}

/*=========================
  MODAL DIN Último contenido
  =========================*/

.card-viaje {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 2rem 2.5rem;
  max-width: 500px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-viaje:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-content h2 {
  color: #222;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.card-content h2 span {
  color: #ff3366;
}

.card-content p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.alerta {
  color: #e63946;
  font-weight: 700;
  background: #ffe8e8;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  display: inline-block;
}

.cta-box {
  background: linear-gradient(90deg, #ff3366, #ff6f61);
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  margin: 1.5rem 0;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(255, 51, 102, 0); }
}

.btn-reserva {
  display: inline-block;
  background: #fff;
  color: #ff3366;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  margin-top: 0.8rem;
  transition: background 0.3s ease;
}

.btn-reserva:hover {
  background: rgba(255,255,255,0.85);
}

.footer {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  margin-top: 1rem;
}

/*=========================
  CIERRE MODAL DIN Último contenido
  =========================*/
