.container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* columnas con misma altura */
    flex-wrap: wrap;       /* Permite ajuste si no caben */
    gap: 20px;
}

.horario-section {
   width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column; /* En móvil es más seguro apilar */
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    position: relative;
    min-height: 70vh;
	font-family: Arial, sans-serif;
}

.horario-container {
   padding: 20px 30px;
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
    color: #000000;
    max-width: 600px;
    background-color: rgba(255, 245, 230, 0.85); /* blanco hueso con transparencia */
    display: inline-block;  /* La caja ocupa solo el tamaño del texto */
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.horario-container::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #727272;
    border-radius: 2px;
}

.horario-container h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 5px;
    font-weight: 700;  /* opcional, mejora legibilidad */
}


.horario-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #727272;
  text-aling: left;
}

.horario-container ul li {
  margin: 10px 0;
}
/* Mapa debajo del horario */
.map-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.map-container {
  max-width: 800px;
  width: 100%;
}

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.extra-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Añadido espacio entre header y esta sección */
.extra-section {
    margin-top: 40px; /* Ajusta este valor para separar más o menos */
}
/* Contenedor contacto */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.contact-item {
    background-color: rgba(221, 220, 220, 0.863);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1rem;
    color: #000000;
    margin: 0;
}

/* Título reseñas */
.titulo-reseñas {
    text-align: center;
    font-size: 2rem;
    margin: 50px 0 30px;
    color: #222;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

/* Contenedor reseñas */
.reviews-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 30px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/* Cada reseña */
.review {
    scroll-snap-align: center;
    flex: 0 0 300px;
    width: 300px;
    min-height: 200px;
    background: #f8f9fa; /* fondo profesional */
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

/* Hover efecto elegante */
.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Perfil y puntuación */
.review .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Nombre del autor */
.review .author-name {
    font-weight: bold;
    color: #000000a2;
    font-size: 1rem;
    flex: 1;
}

/* Puntuación destacada */
.review .rating {
    font-weight: bold;
    color: #ffb400; /* amarillo brillante para llamar la atención */
    font-size: 1.2rem;
}

/* Contenido de la reseña */
.review .review-content {
    font-size: 0.95rem;
    color: #9e9e9e;
    line-height: 1.5;
    flex-grow: 1;
}

/* Opcional: enlace a perfil */
.review a {
    font-size: 0.85rem;
    color: #007BFF;
    text-decoration: none;
}

.review a:hover {
    text-decoration: underline;
}

/* Scrollbar */
.reviews-container::-webkit-scrollbar {
    height: 8px;
}
.reviews-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Contenedor principal */
.reviews-wrapper {
  position: relative;
  max-width: 1200px;  
  margin: 0 auto;
  /* padding interno ya aplicado en reviews-container */
}


/* Contenedor de reseñas */
.reviews-container {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 60px; /* espacio a los lados para botones */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* Botones de scroll */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background 0.3s;
}

.scroll-btn.prev { 
  left: -20px;  /* coloca un poco fuera del wrapper, totalmente visible */
}
.scroll-btn.next { 
  right: -20px; 
}

.scroll-btn:hover {
  background: rgba(0,0,0,0.7);
}



@media (max-width: 768px) {
    .container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

  .horario-section {
    padding: 30px 15px;
  }

  .horario-container h2 {
    font-size: 2rem;
  }

  .horario-container ul {
    font-size: 1.1rem;
  }

  .map-section {
    padding: 30px 15px;
  }

    .contact-container {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
    }

    @media (max-width: 768px) {
  .reviews-container {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 20px;
    gap: 15px;
  }

  .review {
    flex: 0 0 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .scroll-btn {
    display: none; /* ocultamos botones en móvil */
  }
}

}





