/* ================= ESTILOS PARA MODALES DEL MENÚ ================= */

/* Importamos la tipografía Stara */
@import url('/fonts/');

/* Estilos generales para todas las modales */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    font-style: normal;
}

/* Prevent body scroll when modal is active */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.menu-modal.active {
    display: flex;
}
  
.menu-modal-content {
    background-color: #c9c9c9; /* Color gris exacto como en la imagen */
    width: 80%;
    max-width: 1200px; /* Ancho máximo */
    margin: 0 auto;
    border-radius: 0;
    overflow-y: auto;
    max-height: 80vh; /* No muy alta, como en la imagen */
    position: relative;
    font-family: 'Stara', sans-serif; /* Usamos Stara como tipografía principal */
    font-style: normal;
}
  
/* Barra superior con los títulos */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-style: normal;
}
  
.modal-titles {
    display: flex;
    width: 100%;
    font-style: normal;
}
  
.modal-title-about {
    text-transform: uppercase;
    font-family: 'Stara', sans-serif; /* Tipografía Stara */
    font-weight: medium; /* Peso medium */
    font-size: 18px;
    margin-right: auto; /* Empuja este elemento al inicio */
    color: #333;
    font-style: normal; /* Aseguramos que no esté en cursiva */
}
  
.modal-title-beyond {
    text-transform: uppercase;
    font-family: 'Stara', sans-serif; /* Tipografía Stara */
    font-weight: medium; /* Peso medium */
    font-size: 18px;
    margin: 0 auto; /* Centra este elemento */
    color: #333;
    font-style: normal; /* Aseguramos que no esté en cursiva */
}
  
.modal-title-35 {
    text-transform: uppercase;
    font-family: 'Stara', sans-serif; /* Tipografía Stara */
    font-weight: medium; /* Peso medium */
    font-size: 18px;
    margin-left: auto; /* Empuja este elemento al final */
    margin-right: 50px; /* Espacio para el botón de cierre */
    color: #333;
    font-style: normal; /* Aseguramos que no esté en cursiva */
}
  
/* Botón de cierre */
.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    margin: 0;
    color: #000;
    font-style: normal;
}
  
/* Línea vertical a la izquierda */
.modal-left-line {
    position: absolute;
    left: 0;
    top: 90px; /* Alineado como en la imagen */
    width: 3px;
    height: 60px;
    background-color: #000;
}
  
/* Contenido principal */
.modal-body {
    padding: 60px 30px 30px 30px; /* Mayor padding arriba para dar espacio después del título */
    max-width: 900px; /* Limitar ancho de contenido para mantener legibilidad */
    margin: 0 auto;
    font-style: normal;
}

/* Contenedor para alinear el título y el texto */
.modal-body-content {
    max-width: 800px; /* Mismo ancho que el texto para alineación perfecta */
    margin: 0 auto;
    font-style: normal;
}
  
.modal-content-title {
    font-family: 'Stara', sans-serif; /* Tipografía Stara */
    text-transform: uppercase;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold; /* Peso bold para títulos */
    text-align: left; /* Alineado a la izquierda */
    padding-left: 0; /* Sin padding para alineación con texto */
    font-style: normal; /* Aseguramos que no esté en cursiva */
}
  
.modal-text {
    font-family: 'Stara', sans-serif; /* Tipografía Stara */
    font-weight: medium; /* Peso medium para párrafos */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    text-align: left; /* Garantizar alineación a la izquierda */
    font-style: normal; /* Aseguramos que no esté en cursiva */
}
  
/* Punto rosa */
.pink-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #ff6b8b;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
}
  
/* Responsive */
@media (max-width: 992px) {
    .menu-modal-content {
        width: 90%;
    }
}
  
@media (max-width: 768px) {
    .menu-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-titles {
        justify-content: space-between;
    }
    
    .modal-title-about,
    .modal-title-beyond,
    .modal-title-35 {
        font-size: 16px;
        margin: 0; /* Resetear márgenes */
        font-style: normal;
    }
    
    .modal-title-about {
        text-align: left;
        flex: 1;
    }
    
    .modal-title-beyond {
        text-align: center;
        flex: 1;
    }
    
    .modal-title-35 {
        text-align: right;
        flex: 1;
        margin-right: 20px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-content-title {
        font-size: 1.8rem;
    }
}
  
/* Contenido específico para la modal Galería - Preparado para implementación futura */
.galeria-modal-content {
    padding: 40px;
    font-style: normal;
}
  
/* Contenido específico para la modal Contacto - Preparado para implementación futura */
.contacto-modal-content {
    padding: 40px;
    font-style: normal;
}
  
/* Responsive para diferentes modales */
@media (max-width: 992px) {
    .nosotros-modal-header h2 {
        font-size: 2.2rem;
        font-style: normal;
    }
    
    .nosotros-section h3 {
        font-size: 1.6rem;
        font-style: normal;
    }
}
  
@media (max-width: 768px) {
    .menu-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .nosotros-modal-content {
        padding: 30px;
        font-style: normal;
    }
    
    .nosotros-modal-header h2 {
        font-size: 2rem;
        font-style: normal;
    }
    
    .nosotros-modal-header p {
        max-width: 100%;
        font-style: normal;
    }
    
    .nosotros-team {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
  
@media (max-width: 576px) {
    .menu-modal-content {
        width: 95%;
        max-height: 80vh;
    }
    
    .nosotros-modal-content {
        padding: 20px 15px;
        font-style: normal;
    }
    
    .nosotros-modal-header h2 {
        font-size: 1.8rem;
        font-style: normal;
    }
    
    .nosotros-section h3 {
        font-size: 1.4rem;
        font-style: normal;
    }
    
    .menu-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .nosotros-team {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* ================= SEARCH MODAL (BUSCAR) - CUSTOM HEADER & LAYOUT ================= */
.search-modal.menu-modal {
  display: none;
  z-index: 3000;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.12);
}
.search-modal.menu-modal.active {
  display: flex;
}
.search-modal-content.menu-modal-content {
  background: #88C0DC;
  width: 80vw;
  max-width: 1200px;
  min-width: 320px;
  border-radius: 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: 'Stara', sans-serif;
}
.search-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}
.search-modal .modal-titles {
  display: flex;
  width: 100%;
}
.search-modal .modal-title-about,
.search-modal .modal-title-beyond,
.search-modal .modal-title-35 {
  text-transform: uppercase;
  font-family: 'Stara', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  font-style: normal;
}
.search-modal .modal-title-about {
  margin-right: auto;
}
.search-modal .modal-title-beyond {
  margin: 0 auto;
}
.search-modal .modal-title-35 {
  margin-left: auto;
  margin-right: 50px;
}
.search-modal .modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  padding: 0;
  margin: 0;
  color: #ffffff;
}
.search-modal .modal-body {
  padding: 60px 30px 30px 30px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.search-modal-subtitle {
  font-size: 1.1rem;
  color: #fff;
  text-align: left;
  margin-bottom: 32px;
  align-self: flex-start;
  margin-left: -325px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.search-modal-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.search-modal-input-wrapper {
  position: relative;
  width: 100%;
}
.search-modal-input {
  width: 130%;
  padding: 18px 54px 18px 18px;
  border: none;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Stara', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  font-weight: 500;
}
.search-modal-input::placeholder {
  color: #fff;
  opacity: 0.8;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.search-modal-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.5rem;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .search-modal-content.menu-modal-content {
    width: 95vw;
    padding: 0;
  }
  .search-modal .modal-header {
    padding: 15px 20px;
  }
  .search-modal .modal-title-about,
  .search-modal .modal-title-beyond,
  .search-modal .modal-title-35 {
    font-size: 16px;
    margin: 0;
  }
  .search-modal .modal-title-35 {
    margin-right: 20px;
  }
  .search-modal .modal-body {
    padding: 30px 20px;
  }
  .search-modal-subtitle {
    margin-left: 20px;
  }
}
@media (max-width: 576px) {
  .search-modal-content.menu-modal-content {
    width: 98vw;
    min-width: 0;
  }
  .search-modal .modal-header {
    padding: 12px 10px;
  }
  .search-modal .modal-title-about,
  .search-modal .modal-title-beyond,
  .search-modal .modal-title-35 {
    font-size: 14px;
  }
  .search-modal .modal-title-35 {
    margin-right: 10px;
  }
  .search-modal .modal-body {
    padding: 18px 2vw 18px 2vw;
  }
  .search-modal-subtitle {
    font-size: 1rem;
    margin-bottom: 18px;
    text-align: left;
    align-self: flex-start;
    margin-left: 10px;
  }
  .search-modal-input {
    font-size: 1rem;
    padding: 14px 44px 14px 12px;
  }
  .search-modal-icon {
    font-size: 1.2rem;
    right: 10px;
  }
}

/* ================= CONTACTANOS MODAL ================= */
.contactanos-modal.menu-modal {
  display: none;
  z-index: 3000;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: transparent;
}
.contactanos-modal.menu-modal.active {
  display: flex;
}
.contactanos-modal-content.menu-modal-content {
  background: #E3B1B7;
  width: 76vw;
  max-width: 1680px;
  min-width: 320px;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: 'Stara', sans-serif;
  color: #fff;
}
.contactanos-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 30px 18px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: transparent;
}
.contactanos-modal .modal-titles {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 366px;
}
.contactanos-modal .modal-title-about,
.contactanos-modal .modal-title-beyond,
.contactanos-modal .modal-title-35 {
  text-transform: uppercase;
  font-family: 'Stara', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  font-style: normal;
  letter-spacing: 0.12em;
}
.contactanos-modal .modal-title-about,
.contactanos-modal .modal-title-beyond,
.contactanos-modal .modal-title-35 {
  margin: 0 18px;
}
.contactanos-modal .modal-close {
  position: absolute;
  right: 32px;
  top: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  padding: 0;
  margin: 0;
  color: #fff;
}
.contactanos-modal .modal-body {
  padding: 48px 60px 36px 60px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contactanos-main-title {
  color: #fff;
  font-family: 'Stara', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  margin-top: 18px;
  text-align: left;
}
.contactanos-main-paragraph {
  color: #fff;
  font-family: 'Stara', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 480px;
  text-align: left;
  line-height: 1.3;
}
.contactanos-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.contactanos-form label {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.contactanos-form input,
.contactanos-form textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Stara', sans-serif;
  padding: 14px 8px 10px 0;
  margin-bottom: 8px;
  outline: none;
  resize: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.contactanos-form input:focus,
.contactanos-form textarea:focus {
  border-bottom: 2px solid #fff;
  background: rgba(255,255,255,0.05);
}
.contactanos-form input::placeholder,
.contactanos-form textarea::placeholder {
  color: #fff;
  opacity: 1;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.contactanos-form textarea {
  min-height: 120px;
  max-height: 220px;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.contactanos-send-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  font-family: 'Stara', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 0;
  border-radius: 0;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  width: 100%;
  display: block;
}
.contactanos-send-btn:hover,
.contactanos-send-btn:focus {
  background: #fff;
  color: #E3B1B7;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .contactanos-modal-content.menu-modal-content {
    width: 98vw;
    max-width: 1200px;
  }
  .contactanos-modal .modal-body {
    padding: 36px 18px 24px 18px;
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .contactanos-modal-content.menu-modal-content {
    width: 99vw;
    max-width: 99vw;
  }
  .contactanos-modal .modal-header {
    padding: 15px 10px 10px 10px;
  }
  .contactanos-modal .modal-title-about,
  .contactanos-modal .modal-title-beyond,
  .contactanos-modal .modal-title-35 {
    font-size: 16px;
    margin: 0 10px;
  }
  .contactanos-modal .modal-title-35 {
    margin-right: 10px;
  }
  .contactanos-modal .modal-body {
    padding: 18px 2vw 18px 2vw;
    max-width: 99vw;
  }
}
@media (max-width: 576px) {
  .contactanos-modal-content.menu-modal-content {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
  }
  .contactanos-modal .modal-header {
    padding: 10px 2vw 10px 2vw;
  }
  .contactanos-modal .modal-title-about,
  .contactanos-modal .modal-title-beyond,
  .contactanos-modal .modal-title-35 {
    font-size: 14px;
    margin: 0 4px;
  }
  .contactanos-modal .modal-title-35 {
    margin-right: 4px;
  }
  .contactanos-modal .modal-close {
    right: 10px;
    top: 10px;
  }
  .contactanos-modal .modal-body {
    padding: 10px 2vw 10px 2vw;
  }
  .contactanos-form label {
    font-size: 0.95rem;
  }
  .contactanos-form input,
  .contactanos-form textarea {
    font-size: 0.98rem;
    padding: 10px 6px 8px 0;
  }
  .contactanos-send-btn {
    font-size: 0.98rem;
    padding: 10px 0;
  }
}

@media (max-width: 1200px) {
  .contactanos-modal .modal-titles {
    gap: 120px;
  }
}
@media (max-width: 768px) {
  .contactanos-modal .modal-titles {
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .contactanos-modal .modal-titles {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .contactanos-modal .modal-title-about,
  .contactanos-modal .modal-title-beyond,
  .contactanos-modal .modal-title-35 {
    margin: 0;
    font-size: 13px;
  }
}