.elementor-12018 .elementor-element.elementor-element-10c77f3 > .elementor-background-overlay{opacity:0.5;}.elementor-12018 .elementor-element.elementor-element-10c77f3{border-style:none;margin-top:0px;margin-bottom:20px;padding:30px 0px 0px 0px;}.elementor-12018 .elementor-element.elementor-element-4b08dff > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-12018 .elementor-element.elementor-element-cdbb0ad > .elementor-widget-container{margin:20px 0px 15px 0px;padding:5px 0px 0px 0px;}.elementor-12018 .elementor-element.elementor-element-cdbb0ad{text-align:center;}.elementor-12018 .elementor-element.elementor-element-cdbb0ad .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:35px;font-weight:600;color:var( --e-global-color-secondary );}.elementor-12018 .elementor-element.elementor-element-b08ef7e{--divider-border-style:solid;--divider-color:var( --e-global-color-primary );--divider-border-width:1px;}.elementor-12018 .elementor-element.elementor-element-b08ef7e .elementor-divider-separator{width:10%;margin:0 auto;margin-center:0;}.elementor-12018 .elementor-element.elementor-element-b08ef7e .elementor-divider{text-align:center;padding-block-start:15px;padding-block-end:15px;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-12018 .elementor-element.elementor-element-4b08dff > .elementor-element-populated{padding:0px 20px 0px 20px;}}@media(max-width:767px){.elementor-12018 .elementor-element.elementor-element-4b08dff > .elementor-element-populated{padding:0px 10px 0px 10px;}.elementor-12018 .elementor-element.elementor-element-cdbb0ad .elementor-heading-title{font-size:24px;}}/* Start custom CSS for html, class: .elementor-element-f81f492 *//* ========================================== */
/* 1. CONTENEDOR PADRE Y FOTOS                */
/* ========================================== */
.mapa-imagen-interactivo {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1920 / 1080;  
}

.contenedor-fotos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contenedor-fotos img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  
  transition: opacity 0.3s ease-in-out;
}

.foto-base { z-index: 1; }
.foto-hover { opacity: 0; z-index: 2; }


/* ========================================== */
/* 2. ÁREAS INTERACTIVAS                      */
/* ========================================== */
.area-invisible {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: sans-serif;
  font-size: 0;
}

#zona-1 { top: 9%;  left: 2%;   width: 22%;  height: 23%; }
#zona-2 { top: 0%;  left: 20%;  width: 20%;  height: 15%; }
#zona-4 { top: 60%;  left: 8%;   width: 26%;  height: 25%; }
#zona-5 { top: 65%;  left: 40%;  width: 28%;  height: 25%; }
#zona-6 { top: 48%;  left: 80%;  width: 20%;  height: 15%; }
#zona-7 { top: 17%;  left: 61%;  width: 17%;  height: 25%; }
#zona-8 { top: 45%;  left: 58%;  width: 20%;  height: 25%; }
#zona-9 { top: 77%;  left: 88%;  width: 11%;  height: 20%; }


/* ========================================== */
/* 3. LÓGICA DE ACTIVACIÓN POR HOVER          */
/* ========================================== */
#zona-1:hover ~ .contenedor-fotos .f-1 { opacity: 1; }
#zona-2:hover ~ .contenedor-fotos .f-2 { opacity: 1; }
#zona-4:hover ~ .contenedor-fotos .f-4 { opacity: 1; }
#zona-5:hover ~ .contenedor-fotos .f-5 { opacity: 1; }
#zona-6:hover ~ .contenedor-fotos .f-6 { opacity: 1; }
#zona-7:hover ~ .contenedor-fotos .f-7 { opacity: 1; }
#zona-8:hover ~ .contenedor-fotos .f-8 { opacity: 1; }
#zona-9:hover ~ .contenedor-fotos .f-9 { opacity: 1; }


/* ========================================== */
/* 4. ESTILOS DE LOS MODALES (ACTUALIZADOS)   */
/* ========================================== */
/* ========================================== */
/* ESTILOS DE LOS MODALES (3 COLUMNAS)        */
/* ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay.activo {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 1050px; /* Ampliado para que quepan holgadamente las 3 columnas */
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.activo .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

.modal-titulo {
  font-family: sans-serif;
  font-size: 1.5rem;
  color: #222;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

/* Rejilla de 3 columnas para las secciones */
.modal-secciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Crea exactamente 3 columnas iguales */
  gap: 15px; /* Espacio uniforme entre tarjetas */
}

.modal-seccion {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.modal-seccion:hover {
  background: #f1f5f9;
}

.modal-seccion img {
  width: 50px;  /* Miniatura ligeramente ajustada para las 3 columnas */
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.modal-seccion h3 {
  font-family: sans-serif;
  font-size: 0.9rem; /* Tamaño compacto ideal para rejilla */
  margin: 0;
  line-height: 1.2;
}

.modal-seccion h3 a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.modal-seccion h3 a:hover {
  color: #003366;
  text-decoration: underline;
}

/* Adaptabilidad para móviles: si la pantalla es menor a 768px, pasa a 1 sola columna */
@media (max-width: 768px) {
  .modal-secciones {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */