@charset "utf-8";
/* CSS Document */


/* ====== Layout general ====== */
body { font-family: Arial, sans-serif; margin:0; padding:0; background:#f5f5f5; color:#222; }
header { position: relative; text-align: center; color: white; }
header img.main-header { width: 100%; height: 400px; object-fit: cover; filter: brightness(0.7); }

<!-- Estilos base -->
<style>
  :root {
    --b-aquamarine-dark-blue: #315973;
    --b-dark-blue-gradient: linear-gradient(90deg, #348aa9 0%, #2f5a76 100%);
    --b-aquamarine-blue: #30a2bf;
    --b-dark-blue-gradient-hover: linear-gradient(90deg, #268299 0%, #26485e 100%);
    --b-dark-blue-gradient-active: linear-gradient(90deg, #1d6173 0%, #1c3647 100%);
    --b-blue: #155583;
    --text-dark: #222;
    --text-light: #f8f9fa;
  }

  /* Fuente global */
  body {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 0;
  }

  /* Títulos y botones */
  h1, h2, h3, h4, h5, h6, button {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .h2-blanco {
  color: white;
  text-align: left;
  margin-left: 20px; /* separa del límite izquierdo */
}


  /* Botones generales */
  button {
    border: none;
    cursor: pointer;
    border-radius: 12px;
    padding: 12px 24px;
    color: var(--text-light);
    background: var(--b-dark-blue-gradient);
    transition: all 0.25s ease;
  }

  button:hover {
    background: var(--b-dark-blue-gradient-hover);
    transform: translateY(-2px);
  }

  button:active {
    background: var(--b-dark-blue-gradient-active);
    transform: translateY(1px);
  }

  /* Footer coherente con la nueva fuente */
  #footer {
    font-family: 'Lato', Arial, sans-serif;
    background-color: #384044;
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
  }

  #footer .footer-text {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
  }


/* Header flotante sobre el contenido */
#floatingHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 1); /* semitransparente */
  z-index: 3000; /* sobre el resto del contenido */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

/* Contenedor centrado y con max-width */
#floatingHeader .floating-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

#floatingHeader #floatingLogo {
  filter: brightness(0) invert(1);
  max-height: 45px;
  object-fit: contain;
}




/* Selector de idioma a la derecha */
#floatingHeader .lang-selector select {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  background: white;
}

/* Opcional: cambia el fondo al hacer scroll */
body.scrolled #floatingHeader {
  background: rgba(0, 0, 0, 0.5);
}


header {
  background-color: #384044; /* gris claro */
  width: 100%;               /* asegura que abarque todo el ancho */
  padding: 20px 0;           /* espacio arriba y abajo */
  box-sizing: border-box;    /* incluye padding dentro del ancho */
}
	
	
/* header image wrapper */
.header-image-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 10px auto 0;
  transition: all 0.5s ease-in-out;
}


/* header image */
#headerImageContainer img {
  width: 100%;
  aspect-ratio: 16 / 9;   /* mantiene proporción panorámica */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}
	

	
#headerImageContainer img.loaded { opacity: 1; }

/* caption flotante sobre la imagen (pie) */
.header-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(40,40,40,0.7);
  color: white; 
  font-size: 1.2rem;
  padding: 10px 16px;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-sizing: border-box;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ====== Logo del Hotel ====== */
#logoHotelHor {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

#headerMesage {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

#logoHotelHor .logo-hotel {
  max-width: 375px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#logoHotelHor .logo-hotel:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/* pequeño estilo del texto y del icono */
#teatroText { font-weight: 600; }
#shareIcon { cursor: pointer; font-size: 1.1rem; }


.intro-section {
    padding: 60px 20px;
    background: #ffffff;
}

.intro-container {
    max-width: 1px;
    margin: 0 auto;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center; /* Alinea imagen y texto al centro verticalmente */
}

/* El cuarto de la imagen (25%) */
.intro-image-wrapper {
    flex: 1;
    min-width: 200px;
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
}



.intro-text-box p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
	text-align-last: justify
    color: #444;
    font-size: 1.05rem;
}

/* Responsive: Colapsar en móviles */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    .intro-image-wrapper {
        max-width: 250px; /* Evita que la foto sea gigante en móvil */
    }
}



/* PARA SECCION INTRO */

.intro-section {
  background-color: #ffffff;
  padding: 50px 20px;
  border-radius: 10px;
  max-width: 1310px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.intro-container {
    max-width: 1300px;
    margin: 0 auto;
}

.intro-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Alinea al inicio del texto */
}

/* 1/4 para la imagen */
.intro-image-wrapper {
    flex: 1;
    min-width: 220px;
}



/* 3/4 para el texto */
.intro-text-box {
    flex: 3;
    color: #444;
    line-height: 1.7;
    font-size: 16px;
	text-align: justify
}



.signature {
    font-weight: bold;
    margin-top: 30px;
    color: #222;
}


/* Desplegable */
.intro-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.intro-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contenedor del contenido (imagen + texto) */
.intro-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
    opacity: 0;
}

/* Clase cuando está expandido */
.intro-content-wrapper.expanded {
    max-height: 1200px; /* Suficiente para imagen y texto */
    opacity: 1;
    margin-top: 30px;
}

/* Botón estilizado */
#btnToggleIntro {
    display: block;
    margin: 15px auto 0;
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

#btnToggleIntro:hover {
    background: #2C3E50;
    color: white;
}

#btnToggleIntro::after { content: ' +'; }
#btnToggleIntro.active::after { content: ' -'; }



/* Móvil: Imagen arriba, texto abajo */
@media (max-width: 768px) {
    .intro-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .intro-image-wrapper {
        max-width: 200px;
        margin-bottom: 20px;
    }
}


/* ======Buscadores Corregidos=======*/
:root {
  --primary-color: #2C3E50;
  --text-label: #555;
  --border-color: #ccc;
  --bg-input: #ffffff;
  --input-height: 45px; /* Altura unificada */
}

.search-section {
  background-color: #f4f5f7;
  padding: 20px;
  border-radius: 10px;
  max-width: 1100px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Centra los elementos horizontalmente */
  align-items: flex-end;   /* Alinea los inputs por la base */
  width: 100%;             /* Ocupa todo el ancho disponible */
  max-width: 1100px;        /* 🌟 Opcional: limita el ancho máximo para que no se estiren infinito en PC */
  margin: 0 auto 20px auto;/* 🌟 Centra el bloque entero respecto a la página y le da margen abajo */
}

.search-box {
  text-align: left;        /* Mantiene el texto "Buscar por palabra:" encima del input ordenado */
  min-width: 250px;        /* Evita que se colapsen mucho en pantallas medianas */
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-label);
  font-size: 14px;
}

/* Contenedor del input de texto y voz */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--input-height);
}

#textSearch {
  height: 100%;
  padding-right: 45px; 
}

/* Botón de Voz */
#voiceBtn {
  position: absolute;
  right: 5px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Estilos de inputs generales */
.search-box input {
  width: 100%;
  height: var(--input-height); /* Altura igualada */
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--bg-input);
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Ajuste del Rango de Fechas */
.date-range {
  display: flex;
  gap: 5px; /* Espacio mínimo entre inputs y separador */
  align-items: center;
  height: var(--input-height);
}

.date-range input {
  flex: 1; /* Crecen para ocupar el espacio */
  min-width: 0; /* Permite que el flex funcione correctamente en móviles */
}

.separator {
  color: var(--text-label);
  font-size: 13px;
  padding: 0 5px;
  flex-shrink: 0; /* Evita que el "to" se comprima */
}

/* Botón de limpiar */
.actions-container {
  display: flex;           /* Asegúrate de que tenga flex si no lo tenía en CSS */
  justify-content: center; /* Sigue forzando el centrado de los botones */
  align-items: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;      /* Hace que el <p> de la instrucción también se centre perfectamente */
}

#clearFilters {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 14px;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

#voiceBtn.listening {
  animation: pulse 1.5s infinite;
  filter: drop-shadow(0 0 5px red);
}


/* ====== Agenda ====== */
section.agenda-section {
  background-color: #8e8e8e;   /* gris claro */
  padding: 20px 1px;
  border-radius: 10px;
  max-width: 1350px;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


section { padding: 40px 20px; }
.agenda {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
	
.modal-body .botones {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.modal-body .botones button,
.modal-body .botones a {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.modal-body .botones button {
  background-color: #007BFF;
  color: #fff;
}

.modal-body .botones button:hover {
  background-color: #0056b3;
}

.modal-body .botones a {
  background-color: #28a745;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
}

.modal-body .botones a:hover {
  background-color: #1e7e34;
}

.descripcion-justificada {
  text-align: justify;
  line-height: 1.6;
  margin-top: 10px;
}


/* ====Modal Reseña==== */
#formReseña label {
  font-weight: 600;
  margin-top: 10px;
  color: #2E5A75;
}

#formReseña select,
#formReseña input,
#formReseña textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.rating-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10px 0;
}

.rating-options {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-grow: 1;
}

.rating-options input[type="radio"] {
  accent-color: var(--b-blue);
  transform: scale(1.3);
}

.enviar-reseña-btn {
  margin-top: 20px;
  background: var(--b-dark-blue-gradient);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-weight: 600;
}

.enviar-reseña-btn:hover {
  background: var(--b-dark-blue-gradient-hover);
}

/* ===== Modal ===== */
.modal-reseña {
  display: none; /* <- oculto al cargar */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* Fondo semi-transparente */
}

.modal-reseña-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Botón cerrar (X) */
.modal-reseña-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-reseña-close:hover {
  color: var(--b-blue);
}




	
.evento {
  background: white;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.evento:hover { transform: translateY(-3px); }
.evento img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.evento h3 { font-size: 1.1em; margin: 8px; }
.fechaHora { font-size: 0.85em; margin: 8px; }
.descripcion { font-size: 0.85em; margin: 5px 8px; overflow: hidden; max-height: 3em; transition: max-height 0.5s ease; }
.links { margin: 5px 8px 10px; }
.links a { margin-right: 5px; text-decoration: none; color: #007BFF; font-size: 0.8em; }
.verMas { color: #007BFF; cursor: pointer; font-weight: bold; }
.no-events { text-align:center; color:#555; background:#fff; padding:20px; border-radius:10px; }

/* ====== Nuestros Escenarios ====== */
/* contenedor grid */
.escenarios-container {
  display: flex;                 /* cambiamos grid por flex */
  flex-wrap: wrap;               /* permite que las tarjetas bajen a la siguiente línea si no caben */
  justify-content: center;       /* centra horizontalmente */
  gap: 20px;                     /* espacio entre tarjetas */
  max-width: 1350px;
  margin: 0 auto;                /* centra el contenedor en la página */
  padding: 20px;
  box-sizing: border-box;
}

/* tarjeta escenario */
.escenario {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  cursor: pointer;
  width: 100%;
  max-width: 400px;            /* tamaño máximo visual */
  aspect-ratio: 16 / 9;        /* proporción estable */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.escenario:hover { transform: scale(1.03); }

/* imagen base que cubre */
.escenario .foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
  transition: transform 0.45s ease;
}



.escenario:hover .foto { transform: scale(1.05); }

/* logo ocupa misma área (tienen mismas dimensiones) */
.escenario .logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 300px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.5s ease;
  pointer-events: none;
}


/* ====== Responsive tweaks ====== */
@media (max-width: 768px) {
  .evento { width: 45%; }
  #headerImageContainer img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .evento { width: 90%; }
  #headerImageContainer img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}


/* Fondo completo de la sección */


#reseñas {
    background-color: #3498DB;
    padding: 40px 20px; /* Añadimos padding lateral para móviles */
    width: 100%;
    box-sizing: border-box;
}

#reseñas2 {
    background-color: #2C3E50;
    padding: 40px 20px; /* Añadimos padding lateral para móviles */
    width: 100%;
    box-sizing: border-box;
}

/* Contenedor principal fluido */
.reseñas-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}

/* =========================================================
   CONFIGURACIÓN EXCLUSIVA PARA MODO INVIERNO
   ========================================================= */

/* 1. Ocupar todo el ancho y pegarse al footer */
#reseñas.modo-invierno {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    padding: 35px 0 !important;
    height: auto !important;
}

/* 2. Contenedor interno a 1350px e integración alineada */
#reseñas.modo-invierno .reseñas-inner {
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    align-items: flex-start !important;
}

/* 3. DESBLOQUEAR EL CONTENEDOR ENVOLTORIO COLAPSADO (#textRequestSimulado) */
#reseñas.modo-invierno #textRequestSimulado,
#reseñas.modo-invierno .reseñas-container.colapsado {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* 4. APLICAR LA ALTURA DE 320px EXACTA AL CONTENEDOR DINÁMICO DE TARJETAS */
#reseñas.modo-invierno #contenidoInferiorDinamico {
    height: 340px !important;       /* Altura ideal para 3 tarjetas completas */
    min-height: 340px !important;
    max-height: 340px !important;
    overflow-y: auto !important;     /* Habilita el scroll para la 4ª en adelante */
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-right: 8px !important;
    margin: 0 !important;
}

/* 5. Asegurar que las tarjetas no se reduzcan */
#reseñas.modo-invierno .card-resena-item,
#reseñas.modo-invierno #contenidoInferiorDinamico > * {
    flex-shrink: 0 !important;
}

/* 6. Ocultar el botón editorial únicamente en la vista de Invierno */
#reseñas.modo-invierno #btnToggleEditorial,
#reseñas.modo-invierno .btn-editorial {
    display: none !important;
}




/* Columna del Botón y Logo */
.reseña-boton {
    flex: 0 0 300px; /* Ancho fijo en escritorio para el botón */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#logoHotel img {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.reseña-boton button {
    width: 100%; /* Ocupa el ancho de su columna */
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reseña-boton button:hover {
    background: linear-gradient(135deg, #23a014, #0a6940);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Columna del Texto */
.reseña-lista {
    flex: 1;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1); /* Un toque sutil de fondo */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reseñas-container {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left; /* Justificar en móvil a veces crea huecos feos */
}

.reseñas-container p {
    margin: 0;
}

/* ================== RESPONSIVE (EL ARREGLO PARA MÓVILES) ================== */

@media (max-width: 768px) {
    #reseñas {
        padding: 30px 15px;
    }

    .reseñas-inner {
        flex-direction: column; /* Apilamos verticalmente */
        gap: 25px;
    }

    .reseña-boton {
        flex: 1 1 100%;
        width: 100%;
    }

    .reseña-boton button {
        width: 80%; /* No tan ancho en móvil para que se vea elegante */
    }

    .reseña-lista {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .reseñas-container {
        font-size: 1rem;
        text-align: center; /* Centrado en móvil queda mejor con el botón arriba */
    }
}






/* Footer */
#footer {
  background-color: #384044;
  color: #fff;
  padding: 20px 0;
  width: 100%;
}

.footer-inner {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-logo img {
  max-height: 100px;
  max-width: 100%;    /* 🌟 Evita que el logo desborde el ancho de la pantalla */
  height: auto;       /* 🌟 Mantiene la proporción correcta al escalar */
  filter: brightness(0) invert(1); /* logo blanco */
}

.footer-text {
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 15px;        /* 🌟 Añade una separación limpia entre el logo y el texto en móvil */
  }
  
  .footer-logo img {
    max-height: 75px; /* 🌟 Opcional: Reduce un pelo el tamaño del logo en móviles para que estilice más */
  }

  .footer-text {
    text-align: center;
  }
}


	
/* ===== Modal de Escenarios ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: flex-start; /* Cambiado de center a flex-start para que empiece arriba */
    overflow-y: auto;        /* Habilita scroll vertical */
    padding: 20px 0;         /* Espacio arriba y abajo para que no pegue al borde */
    z-index: 9999;
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
}



.modal-header {
  text-align: center;
  padding: 15px;
  border-bottom: 1px solid #ddd;
}



.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: auto;
  overflow: visible;
}

.modal-evento {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.modal-evento img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.modal-evento .info {
  padding: 10px;
  text-align: center;
}

.modal-evento .info h4 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.modal-evento .info p {
  margin: 5px 0 0;
  color: #555;
  font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}

/* Animación */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive: Estilo "sheet" móvil con scroll funcional */
@media (max-width: 600px) {
  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 !important; /* Quitamos el margen en móvil para el estilo sheet */
    max-height: 92vh; 
    overflow-y: auto;
  }
}

/* Animación de entrada */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}



/* ====== Responsive tweaks ====== */
@media (max-width: 768px) {
  .evento { width: 45%; }

  #headerImageContainer img { max-height: 250px; }
}
@media (max-width: 480px) {
  .evento { width: 90%; }

  #headerImageContainer img { max-height: 200px; }
}




/* ===== Song Request Section ===== */
.song-request-container {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 1/3 izquierda, 2/3 derecha */
  gap: 20px;
  align-items: start;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  max-width: 1350px;
  width: 100%; /* asegura ocupar todo el contenedor */
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* Columna izquierda: imagen + botón */
.song-request-left {
  flex: 1 1 30%;
  display: flex;
  max-width: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.song-request-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin-bottom: 15px;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
  object-fit: cover;
}

.song-request-left button {
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 25px;
  background: linear-gradient(135deg, #30a2bf, #2f5a76);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.song-request-left button:hover {
  background: linear-gradient(135deg, #268299, #26485e);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
}

.song-request-left button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Columna derecha: lista con scroll */
.song-request-right {
  flex: 2 1 70%;
  max-width: 800px;
  max-height: 400px;
  align-items: center;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.song-request-right::-webkit-scrollbar {
  width: 8px;
}

.song-request-right::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

.song-request-right .song-item {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1re
}

/* ===== Responsive (pantallas pequeñas) ===== */
@media (max-width: 900px) {
  .song-request-container {
    grid-template-columns: 1fr; /* una sola columna */
  }

  .song-request-left, 
  .song-request-right {
    max-width: 100%;
  }

  .song-request-right {
    max-height: none; /* para que no recorte en móvil */
  }

  .song-request-left img {
    max-width: 100%;
  }
}



/* ===== Musical Bingo Section ===== */
#musicalBingoSection {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: start;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  max-width: 1350px;
  width: 100%;
  margin: 40px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

#musicalBingoSection .song-request-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#musicalBingoSection .song-request-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin-bottom: 15px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
  object-fit: cover;
}

#musicalBingoSection .song-request-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 800px;
  padding: 20px;
}

#musicalBingoSection .song-request-right h2 {
  margin-bottom: 20px;
}

#musicalBingoSection .song-request-right button {
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 25px;
  background: linear-gradient(135deg, #30a2bf, #2f5a76);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#musicalBingoSection .song-request-right button:hover {
  background: linear-gradient(135deg, #268299, #26485e);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
}

#musicalBingoSection .song-request-right button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  #musicalBingoSection {
    grid-template-columns: 1fr;
  }

  #musicalBingoSection .song-request-left,
  #musicalBingoSection .song-request-right {
    max-width: 100%;
    text-align: center;
  }
}




/* Centrado total de la sección en Ordenador y Móvil Para Share y Playlist */
.webapp-section {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente si hay altura */
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

.music-selector-container {
  width: 90%;             /* En móvil ocupa casi todo el ancho */
  max-width: 600px;       /* En ordenador no se estira demasiado */
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;     /* Centra los textos internos */
  margin: 0 auto;         /* Refuerzo de centrado */
}

/* El Botón Rojo (YouTube) */
.custom-music-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 100%;            /* Ocupa el ancho del contenedor */
  max-width: 320px;       /* Pero no más de esto para que no sea gigante */
  padding: 15px 10px;     /* Espacio interno */
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;      /* Un poco más pequeño para que quepa en móviles estrechos */
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.btn-youtube-brand {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube-brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.separator {
  width: 50%;
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px auto;
}

.icon {
  margin-right: 10px;
}

/* Ajuste específico para móviles muy pequeños */
@media (max-width: 480px) {
  .custom-music-btn {
    font-size: 0.8rem; /* Evita que el texto rompa el botón */
    padding: 12px 5px;
  }
  .music-selector-container {
    padding: 20px 10px;
  }
}



/* NUEVOS AJUSTES DE AGENDA RECTIFICADOS */

/* Contenedor Grid */
.agenda {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

/* La Ficha */
.production-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Asegura que todas las filas midan lo mismo */
}

.production-card:hover {
    transform: translateY(-10px);
}

/* Imagen y Badges - RECTIFICADO PARA IMÁGENES CUADRADAS */
/* 1. El contenedor ya no fuerza un cuadrado ni recorta */
.card-image-container {
    position: relative;
    width: 100%;
    /* Eliminamos aspect-ratio y overflow:hidden agresivo */
    background: #1a1a1a;
}

/* 2. La imagen se escala de forma natural manteniendo todas sus proporciones */
.card-img {
    width: 100% !important;
    height: auto !important; /* Mantiene la proporción original sin recortar nada */
    display: block !important;
    object-fit: unset !important; /* Anulamos el cover/contain */
}

.badge-lineup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2C3E50;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cuerpo de la ficha */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Empuja el footer hacia abajo */
}

.card-location {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0; /* Elimina márgenes de arriba y abajo */
    line-height: 2; /* Reduce el espacio entre líneas interno */
}

.card-availability {
    font-size: 0.75rem; /* Un pelín más pequeña para dar jerarquía */
    color: #2C3E50; /* Usamos el dorado para que la fecha destaque sutilmente */
    margin: 2px 0 12px 0; /* Solo 2px arriba para pegarse a la ubicación y 12px abajo para separar del nombre */
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}

.card-artist {
    margin: 0;
    font-size: 1.4rem;
    color: #222;
    line-height: 1.2;
}

.card-show {
    margin: 8px 0 20px 0;
    font-weight: bold;
    color: #2C3E50;
    font-style: italic;
    line-height: 1.4;
}

.card-show-Stage {
    margin: 8px 0 22px 0;
    font-weight: bold;
    color: #2C3E50;
    line-height: 1.4;
}

.card-show-price {
    margin: 8px 0 22px 0;
    font-weight: bold;
    color: #2C3E50;
    line-height: 1.4;
}

/* Footer de la ficha */
.card-footer {
    margin-top: auto; /* Anclado al fondo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.card-lang {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}


.btn-open {
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-open:hover {
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    transform: scale(1.05);
}


/* DEL MODAL AGENDA */
/* Cabecera del Modal (Banner de lado a lado) */
/* Contenedor de la imagen en el modal */
/* Contenedor de la imagen */
/* 1. Forzamos el ancho del modal a lo que quieres (ej. 500px) */
/* ============================================================
   MODAL DE AGENDA - RECTIFICACIÓN DEFINITIVA
   ============================================================ */

/* 1. EL CONTENEDOR: Base del modal */
/* 1. EL CONTENEDOR: Base del modal */
.modal-content {
    padding: 0 !important;
    background: #fff;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    
    /* CAMBIO CLAVE: Cambiamos hidden por auto para permitir scroll */
    max-height: 90vh;
    overflow-y: auto; 
    
    margin: 2vh auto; /* Un poco de margen superior para que no pegue al techo */
    position: relative;
    box-sizing: border-box;
    display: flex; /* Usamos flex para organizar la imagen y el contenido */
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

/* Opcional: Hacer el scrollbar más fino y elegante */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #2C3E50;
    border-radius: 10px;
}


/* 2. EL CABECERO: Contenedor de la imagen sin espacios */
.modal-header.no-padding {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
}

/* 3. LA IMAGEN: Ajuste perfecto al ancho de 500px */
.modal-banner-img {
    display: block !important;
    width: 100% !important; /* Cambiado de 60% a 100% para que encaje al contenedor */
    height: auto !important;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}



/* 4. EL CUERPO: Contenedor de texto */
.modal-inner-container {
    padding: 20px;
    width: 100% !important;
    box-sizing: border-box; /* Evita que el padding ensanche el modal */
    display: block;
}

.modal-title {
    margin: 15px 0 5px 0;
    color: #222;
    font-size: 1.8rem;
    line-height: 1.2;
}

.modal-subtitle {
    color: #2C3E50;
    margin: 0 0 20px 0;
	font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
}

/* 5. CUADRÍCULA DE DETALLES (Cierre de llave corregido) */
.modal-info-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}




.modal-title {
    margin: 15px 0 5px 0;
    color: #222;
    font-size: 1.8rem;
}



/* Cuadrícula de detalles */
.modal-info-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    border-left: 6px solid #2C3E50;
    font-size: 0.95rem;
}

.modal-info-grid {
    display: grid;
    gap: 12px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    border-left: 6px solid #2C3E50;
    font-size: 0.95rem;
}

/* Descripción */
.modal-text-description {
    margin-top: 25px;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
    /*font-size: 1.05rem;*/
	text-align: justify
}

/* Botones finales */
.modal-footer-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-modal {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-video {
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    color: white;
}

.btn-profile {
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    color: white;
}

.btn-modal:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}


/* CONTENEDOR DE MAPAMUNDI */
/* Contenedor del Mapa */


/* Punto central interactivo */
.interactive-pulse-marker {
    cursor: pointer !important;
    outline: none;
    /* Permitir que el clic pase a través del aura si fuera necesario */
    pointer-events: auto !important;
}

/* La onda de pulso: Usamos un selector que no bloquee el marcador */
.interactive-pulse-marker {
    animation: radar-glow 2s infinite;
}

@keyframes radar-glow {
    0% {
        stroke-width: 2;
        stroke-opacity: 1;
        stroke: #19844E;
    }
    100% {
        stroke-width: 25;
        stroke-opacity: 0;
        stroke: #19844E;
    }
}

/* Estilo para el Popup (el bocadillo que sale al clicar) */
.leaflet-popup-content-wrapper {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 3px solid #19844E;
    border-radius: 8px;
    padding: 5px;
}

.leaflet-popup-tip {
    background: #19844E !important;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #fff !important;
    padding: 8px 10px 0 0;
}

/* Modal Acceso Usuario Contraseña */
.login-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, #1a1a1a 0%, #000 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; /* Por encima de todo */
}

.login-content {
  background: #f5f5f5;
  color: white;
  padding: 40px;
  border-radius: 25px;
  border: 1px solid #23a014;
  text-align: center;
  width: 90%; max-width: 350px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.login-content h3 { color: #444; margin-bottom: 20px; font-family: 'Lato', sans-serif; }

.login-content input {
  width: 100%; padding: 12px; margin: 10px 0;
  background: #d9d9d9; border: 1px solid #444;
  color: black; border-radius: 5px; box-sizing: border-box;
}

#loginBtn {
  width: 100%; padding: 12px; margin-top: 10px;
  background: linear-gradient(135deg, #23a014, #0a6940);
  font-weight: bold; cursor: pointer; border-radius: 5px;
  transition: 0.3s;
}

#loginBtn:hover { background: #23a014; }

@keyframes shake {
  0%, 100% {transform: translateX(0);}
  25% {transform: translateX(-10px);}
  75% {transform: translateX(10px);}
}
.shake {
  animation: shake 0.4s ease-in-out;
}

/* BOTONES DE FILTRO */
.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center; /* O flex-start si prefieres a la izquierda */
}

#clearFilters, .btn-filter-fav {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
	color: #2C3E50
}

.btn-filter-fav.active {
    border-color: #d4af37;
    background-color: #d4af37;
    color: white;
}


/* BOTON DE VOZ */

@keyframes pulse-red {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.listening .mic-icon {
  color: red;
  animation: pulse-red 1.5s infinite;
}



#mapHeader {
    display: block !important;
    height: 400px; /* O el alto que desees */
    background-color: #f0f0f0; /* Color de carga */
    transition: background-image 0.5s ease-in-out;
	margin-bottom: 50px; /* Esto bajará el saludo y el resto del contenido */
	filter: brightness(0.9) contrast(1.2) saturate(0.9);
}

#introImg {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%; /* Esto hace el círculo */
    border: 3px solid #2C3E50;
    margin: 0 auto 15px auto;
}


/* --- ESTILOS SECCIÓN PIE / EDITORIAL --- */
#reseñas {
    background-color: #3498DB; /* Corregido el # para asegurar el color verde */
    padding: 40px 20px;
    border-top: 1px solid #eee;
}

.reseñas-inner {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* --- COLUMNA IZQUIERDA (Datos Oficina y Delegado) --- */
.info-delegado {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.oficina-datos h4 {
    color: #d5b07e; /* Dorado corporativo */
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.escritoOficinaPie {
    font-size: 14px;
    font-weight: bold;
    color: #d8d8d8;
}

.delegado-perfil {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
}

#imgDelegadoPie {
    width: 65px;
    height: 65px;
    border-radius: 50%; /* Foto perfectamente redonda */
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#nombreDelegadoPie {
    font-size: 14px;
    font-weight: bold;
    color: #d8d8d8;
}

/* --- COLUMNA DERECHA (Contenedor del Texto y Editorial) --- */
.info-texto {
    flex: 2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
}

.texteEditorial {
    font-size: 14px;
    color: #FFFFFF;
}

/* Caja que contiene el texto de la editorial */
.reseñas-container {
    overflow: hidden;
    max-height: 85px; /* Altura por defecto en ordenadores */
    transition: max-height 0.4s ease-out;
    position: relative;
    width: 100%;
}

/* Degradado sutil para indicar que hay más texto */
.reseñas-container.colapsado::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(transparent, #3498DB); /* Fusiona con tu fondo verde */
}

/* El Botón Editorial +/- */
.btn-editorial {
    background: none;
    border: 1px solid #d5b07e; /* Dorado seleccionado */
    color: #d5b07e;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 12px;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-editorial:hover {
    background-color: #d5b07e;
    color: white;
}

/* =======================================================
   OPTIMIZACIÓN EXCLUSIVA PARA MÓVILES (Pantallas pequeñas)
   ======================================================= */
@media (max-width: 600px) {
    /* Hacemos la caja de texto colapsada aún más pequeña en móviles */
    .reseñas-container {
        max-height: 50px;
    }
    
    .reseñas-container.colapsado {
        max-height: 50px; /* Muestra solo unas 2 líneas para que quede compacto */
    }
}



/* --- SECCIÓN NUEVA: TODOS LOS COMERCIALES --- */
#reseñas2 {
    background-color: #2C3E50; /* Mismo fondo verde */
    padding: 25px 20px 40px 20px;
    border-top: 1px dashed rgba(213, 176, 126, 0.3); /* Línea divisoria elegante */
}

#reseñas2 .reseñas-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

#reseñas2 h4 {
    color: #d5b07e; /* Dorado */
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-align: left;
}

/* Grilla fluida para alinear los comerciales uno al lado del otro */
.comerciales-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

/* Perfil Individual de cada Comercial */
.delegado-perfil-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05); /* Fondo sutil translúcido */
    padding: 8px 16px;
    border-radius: 40px; /* Bordes redondeados estilo cápsula */
    border: 1px solid rgba(213, 176, 126, 0.2);
    min-width: 220px;
}

.img-comercial-pie {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Fotos redondas */
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #d5b07e;
}

.nombre-comercial-pie {
    font-size: 13px;
    font-weight: bold;
    color: #d8d8d8;
}

/* Targeta Disponible hoy */
/* Fuerza a la tarjeta a ser el eje de coordenadas */
.card-image-container {
  position: relative !important;
}

/* Nuevo estilo para la etiqueta integrada en el texto */
.badge-dispo-hoy-texto {
  display: block;
  background-color: #e2f0d9; /* Verde clarito corporativo */
  color: #385723; /* Texto verde oscuro */
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px; /* Bordes ligeramente redondeados a juego con tus botones */
  font-size: 13px;
  font-weight: bold;
  border: 1px solid #c3e6cb;
  margin-top: 10px; /* Separación con la Categoría */
  margin-bottom: 5px; /* Separación con los botones inferiores */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Contenedor de la fila inferior alineada */
.actions-row-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Transformación del Label en un Botón interactivo */
.btn-filter-dispo {
  display: inline-block;
  background-color: #f8f9fa;
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

/* Efecto Hover */
.btn-filter-dispo:hover {
  background-color: #e2f0d9;
  border-color: #bbdfa7;
}

/* 🌟 ESTADO ACTIVO: Cuando el checkbox oculto está marcado, el botón se ilumina */
#filterDispoHoy:checked + .btn-filter-dispo {
  background-color: #2e7d32 !important; /* Verde oscuro estilo corporativo */
  color: white !important;
  border-color: #1b5e20 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ==========================================
   ESTILOS BOTÓN EN ESCENARIO (EN DIRECTO)
   ========================================== */
.btn-filtro-escenario {
    width: 100%;
    height: 42px; /* Mismo alto que los inputs de texto y select */
    padding: 0 12px;
    border-radius: 8px; /* Bordes redondeados en lugar de totalmente redondos (pill) */
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}

.btn-filtro-escenario:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

/* Estado activo cuando se enciende el filtro */
.btn-filtro-escenario.activo {
    background-color: #1b2a38;
    color: #ffffff;
    border-color: #1b2a38;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ==========================================
   SELECTOR IDIOMA
   ========================================== */
.floating-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.lang-dropdown {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    font-size: 0.85em;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.lang-dropdown:hover {
    border-color: #b38e5d;
}


/* Contenedor con altura fija para aproximadamente 3 tarjetas y scroll interno */
.lista-resenas-container {
    max-height: 380px; /* Ajusta la altura al equivalente de 3 tarjetas */
    overflow-y: auto;  /* Permite scroll vertical si hay más de 3 */
    padding-right: 8px; /* Espacio para que la barra de scroll no pise las tarjetas */
}

/* Personalización elegante de la barra de scroll (WebKit / Chrome / Safari / Edge) */
.lista-resenas-container::-webkit-scrollbar {
    width: 6px;
}

.lista-resenas-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lista-resenas-container::-webkit-scrollbar-thumb {
    background: #b38e5d; /* Color dorado a juego con el tema */
    border-radius: 10px;
}

.lista-resenas-container::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}