
/* ==========================================================================
   Sección Marcas Corporativas (Logos)
   ========================================================================== */

.brands-section {
    padding-top: 3rem; /* py-12 */
    padding-bottom: 3rem;
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6; /* border-t border-gray-100 */
    border-bottom: 1px solid #f3f4f6; /* border-b border-gray-100 */
    overflow: hidden;
}

/* Encabezado */
.brands-header {
    max-width: 72rem; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    margin-bottom: 2rem; /* mb-8 */
}

.brands-subtitle {
    text-align: center;
    font-size: 10px; /* text-[10px] */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    color: #9ca3af; /* text-gray-400 */
    margin: 0;
}

/* Contenedor principal de los logos */
.brands-container {
    max-width: 56rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    
    /* Efecto inicial: Semi-transparente y en blanco/negro */
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 500ms ease;
}

/* Hover general (Afecta a todos los logos al pasar el ratón por la zona) */
.brands-container:hover {
    filter: grayscale(0%);
    opacity: 1; /* Añadido para que también recupere su opacidad total */
}

/* Flexbox para alinear y espaciar los logos */
.brands-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite que bajen de línea en pantallas pequeñas */
    gap: 2rem; /* gap-8 en móvil */
}

@media (min-width: 768px) {
    .brands-grid {
        gap: 4rem; /* md:gap-16 en escritorio */
    }
}

/* Enlaces individuales de los logos */
.brand-link {
    display: block;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.05); /* hover:scale-105 */
}

/* Imágenes de los logos */
.brand-img {
    height: 2.5rem; /* h-10 en móvil */
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .brand-img {
        height: 3rem; /* md:h-12 en escritorio */
    }
}



/* ==========================================================================
   Ventana Modal (Galería de Amenidades)
   ========================================================================== */

/* Contenedor principal oscuro */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9); /* bg-black/90 */
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* p-4 */
    transition: opacity 300ms ease;
}

@media (min-width: 768px) {
    .modal-overlay {
        padding: 3rem; /* md:p-12 */
    }
}

/* Clases de utilidad para el JavaScript (¡No borrar!) */
.modal-overlay.hidden {
    display: none !important;
}

.modal-overlay.opacity-0 {
    opacity: 0;
}

/* Fondo clickeable para cerrar */
.modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Caja blanca del modal */
.modal-dialog {
    background-color: #ffffff;
    width: 100%;
    max-width: 72rem; /* max-w-6xl */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    overflow: hidden;
    z-index: 10;
    border-radius: 0.5rem; /* Opcional: bordes ligeramente redondeados */
}

@media (min-width: 768px) {
    .modal-dialog {
        flex-direction: row; /* md:flex-row */
        height: 600px; /* md:h-[600px] */
    }
}

/* Botón de Cerrar (X) */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-close-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Columna de la Imagen */
.modal-visual {
    width: 100%;
    height: 16rem; /* h-64 (móvil) */
    background-color: #f3f4f6; /* bg-gray-100 */
}

@media (min-width: 768px) {
    .modal-visual {
        width: 66.666667%; /* md:w-2/3 */
        height: 100%; /* md:h-full */
    }
}

.modal-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columna de Textos */
.modal-content {
    width: 100%;
    padding: 2rem; /* p-8 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fafafa;
}

@media (min-width: 768px) {
    .modal-content {
        width: 33.333333%; /* md:w-1/3 */
        padding: 3rem; /* md:p-12 */
    }
}

/* Estilos de Textos */
.modal-subtitle {
    color: #0044a5;
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title-text {
    font-size: 1.875rem; /* text-3xl */
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1.5rem; /* mb-6 */
    color: #111827;
    font-weight: 400;
}

.modal-divider {
    width: 2.5rem; /* w-10 */
    height: 1px;
    background-color: #0044a5;
    margin-bottom: 1.5rem;
}

.modal-desc-text {
    color: #4b5563; /* text-gray-600 */
    font-weight: 300;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.625;
    margin: 0;
}

/* Botón CTA (Explorar a detalle) */
.modal-btn {
    margin-top: 2rem; /* mt-8 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    color: #ffffff;
    background-color: #0044a5;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .modal-btn {
        width: auto; /* sm:w-auto */
    }
}

.modal-btn:hover {
    background-color: #003380;
}

.modal-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0044a5;
}




