:root {
  /* Paleta de Colores */
  --primary-color: #0f3d3e;
  --secondary-color: #d4a373;
  --text-color: #333333;
  --bg-color: #f9f9f9;
  --white: #ffffff;
  --gray-light: #f4f4f4;
  --success-color: #25D366;
  /* WhatsApp Color */
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header  */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  background: var(--white);
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* Para que al hacer clic la pantalla baje suavemente y no de golpe */
html {
  scroll-behavior: smooth;
}

/* Para dejar fija la rayita en la página donde está el cliente */
.nav a.active {
  color: var(--secondary-color);
}

.nav a.active:after {
  width: 100% !important;
}

.logo img {
  height: 50px;
  display: block;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  font-size: 1rem;
}

.nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav a:hover:after {
  width: 100%;
}

/* seccion Hero */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #1a5f5b);
  color: var(--white);
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* seccion comun */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section.gray {
  background-color: var(--gray-light);
  border-radius: var(--radius);
  margin-top: 40px;
  margin-bottom: 40px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* cards */
label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
}



/* =========================================
   FILA DE ICONOS DE PLATAFORMAS EXTERNAS
   ========================================= */
.platform-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* Separación perfecta entre iconos */
  flex-wrap: wrap;
}

.platform-icons a {
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
}

/* Efecto al pasar el ratón: se levanta un poquito */
.platform-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.platform-icons img {
  width: 95px;
  /* Tamaño discreto pero visible */
  height: 95px;
  object-fit: contain;
  background-color: var(--white);
  /* Usa tu variable de color blanco */
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  /* Borde muy suave para que quede elegante */
}



/* =========================================
   CARRUSEL INFINITO DE "CÓMO FUNCIONA"
   ========================================= */
.carousel-container {
  width: 100%;
  overflow: hidden;
  /* Oculta lo que se sale de la pantalla */
  margin-top: 50px;
  padding: 20px 0;
  position: relative;
}

/* Creamos un difuminado a los lados para que las imágenes aparezcan/desaparezcan suavemente */
.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  /* La animación dura 20 segundos. Si lo quieres más rápido o lento, cambia el 20s */
  animation: scrollCarousel 25s linear infinite;
}

.carousel-track img {
  width: 280px;
  /* Tamaño ideal para que se vean 3 en ordenador y 1 y pico en móvil */
  height: 200px;
  object-fit: cover;
  /* Para que la ilustración no se deforme */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--white);
  flex-shrink: 0;
  /* <--- Evita que se aplasten */
}

/* Animación del movimiento continuo */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }

  /* Se desplaza exactamente la mitad (porque duplicamos las imágenes en el HTML) */
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* UX: Si el usuario pasa el ratón (o mantiene pulsado en móvil), el carrusel se frena */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}



select,
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
}

.radio {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  background: var(--white);
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
}

.radio input {
  margin-right: 8px;
}

/* Botones Generales */
.primary-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  width: 100%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Boton WhatsApp (Fallback) */
.whatsapp-btn {
  background: var(--success-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Alertas */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.alert.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.alert.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.hidden {
  display: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.steps div {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: bold;
  color: var(--primary-color);
  transition: var(--transition);
}

.steps div:hover {
  transform: translateY(-5px);
}

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  margin-top: 60px;
}

.footer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.small {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 5px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
  }

  /* --- MENÚ DESLIZABLE INTUITIVO (Efecto difuminado) --- */
  .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 10px 20px 10px 15px;
    /* Un poco más de espacio a la derecha */
    gap: 20px;
    width: 100%;

    /* EL TRUCO MAGICO: Difuminado transparente a la derecha */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  .nav a {
    white-space: nowrap;
    /* Evita que las palabras se partan */
    font-size: 0.95rem;
  }

  /* Oculta la barra gris del scroll */
  .nav::-webkit-scrollbar {
    display: none;
  }

  /* ------------------------------- */

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

/* cards para las maletas */
.bag-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.bag-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bag-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.bag-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.bag-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

.bag-card .price {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 15px;
  background: #f4f4f4;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  align-self: center;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: auto;
}

.counter button {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.counter button:hover {
  background: var(--secondary-color);
}

.counter span {
  font-size: 1.4rem;
  font-weight: bold;
  width: 30px;
}


.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 40px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  width: calc(300px * 6 + 120px);
  animation: scroll 20s linear infinite;
  gap: 20px;
}

.carousel-slide {
  width: 300px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  color: var(--primary-color);
  background: white;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 3 - 60px));
  }

}

/* ajuste de animaciones para movilees */
@media (max-width: 768px) {
  .carousel-track {
    width: calc(250px * 6 + 120px);
  }

  .carousel-slide {
    width: 250px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-250px * 3 - 60px));
    }
  }
}


/* NUEVOS ESTILOS AÑADIDOS (FORMULARIO Y BOTONES)*/

/* 1. Botón Secundario (Reintentar) */
.secondary-btn {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.secondary-btn:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 2. Mejoras visuales del Formulario de Reserva */
#reservationForm {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 25px;
  border: 1px solid #eee;
}

.form-group {
  margin-bottom: 20px;
}

#reservationForm label {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}

/* Estilo unificado y GRANDE para todos los inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  padding: 14px 16px;
  /* Más espacio interior */
  margin-top: 5px;
  margin-bottom: 0;
  /* Controlamos el margen con .form-group */
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  /* Letra grande y legible */
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Efecto al escribir */
input:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(15, 61, 62, 0.1);
}

/* Ajuste para móviles */
@media (max-width: 480px) {
  #reservationForm {
    padding: 20px;
  }

  .secondary-btn {
    width: 100%;
    /* Botón ancho completo en móvil */
  }
}



/* =========================================
   ESTILOS DEL NUEVO FOOTER (FAT FOOTER)
   ========================================= */

/* Estructura de 3 columnas */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  /* Ajuste de anchos */
  gap: 40px;
  text-align: left;
  padding-bottom: 40px;
  align-items: start;
}

/* --- COLUMNA 1: Enlaces --- */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.footer-links a {
  color: white;
  opacity: 0.7;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
  transform: translateX(5px);
  /* Pequeño movimiento al pasar el ratón */
}

/* --- COLUMNA 2: Formulario Oscuro --- */
/* Estilos específicos para inputs DENTRO del footer */
.footer-form input,
.footer-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  /* Fondo semitransparente */
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}

/* Color del texto de ayuda (placeholder) */
.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Al hacer clic en el input */
.footer-form input:focus,
.footer-form textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  border-color: var(--secondary-color);
}

.footer-btn {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-btn:hover {
  background: white;
  transform: translateY(-2px);
}

/* --- COLUMNA 3: Iconos y Contacto --- */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid transparent;
}

.social-icons a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-mini p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-mini i {
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

/* --- BARRA DE COPYRIGHT --- */
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 25px;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 20px;
}

/* --- RESPONSIVE (Móviles) --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    /* Todo en una columna */
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
    /* Centrar enlaces */
  }

  .social-icons {
    justify-content: center;
    /* Centrar iconos */
  }

  .contact-mini p {
    justify-content: center;
    /* Centrar textos */
  }
}




/* =========================================
   PÁGINA DE RESEÑAS (reviews.html)
   ========================================= */

/* Fila de iconos superior */
.review-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.stat-box {
  text-align: center;
}

.stat-box .stars {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.stat-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background-color: var(--white);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Lista vertical de reseñas */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  /* Evita que las tarjetas sean demasiado anchas en PC */
  margin: 0 auto;
  /* Centra la lista */
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Misma sombra que tu formulario */
  text-align: left;
  border-left: 4px solid var(--primary-color);
  /* Un toque de color de tu marca a la izquierda */
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.review-stars {
  font-size: 1.1rem;
}

.platform-badge {
  height: 25px;
  /* Icono chiquitito para saber de dónde viene la reseña */
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

.review-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
  font-style: italic;
  /* Letra cursiva para dar efecto de "cita" */
  line-height: 1.6;
}

.review-author {
  font-weight: bold;
  color: var(--secondary-color);
  font-size: 0.95rem;
}