/* ========================================== */
/* MODALES - SECCIÓN MUJERES                 */
/* ========================================== */

/* Fondo del modal */
.modal-mujeres {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-mujeres.active {
    display: flex !important;
    opacity: 1;
}

/* Contenido del modal */
.modal-mujeres-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 850px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalMujeresIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

@keyframes modalMujeresIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Botón cerrar */
.modal-mujeres-close {
    position: sticky;
    top: 15px;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    margin: 10px 15px 0 0;
    backdrop-filter: blur(8px);
}

.modal-mujeres-close:hover {
    background: #e74c3c;
    transform: rotate(90deg);
    border-color: #e74c3c;
}

/* Cuerpo del modal */
.modal-mujeres-body {
    padding: 0 35px 35px;
    clear: both;
}

/* Header del modal */
.modal-mujeres-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-top: 5px;
}

.modal-mujeres-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.modal-mujeres-header h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

/* Grid de items */
.modal-mujeres-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.modal-mujeres-item {
    display: flex;
    gap: 18px;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.modal-mujeres-item:hover {
    background: #ffffff;
    border-color: #f39c12;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.modal-mujeres-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #f39c12;
}

.modal-mujeres-item-content h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.modal-mujeres-item-content p {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.6;
    margin: 0;
}

/* Principios */
.modal-mujeres-principios {
    background: linear-gradient(135deg, #fef9f0, #fdf0e0);
    border-radius: 14px;
    padding: 22px 25px;
    border: 1px solid #fde8d0;
    margin-top: 5px;
}

.modal-mujeres-principios h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0 0 12px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-mujeres-principios h4 i {
    color: #f39c12;
}

.modal-mujeres-principios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-mujeres-principios ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: #34495e;
    line-height: 1.5;
}

.modal-mujeres-principios ul li i {
    color: #2c5aa0;
    font-size: 0.85rem;
    margin-top: 3px;
    min-width: 16px;
}

/* Scrollbar */
.modal-mujeres-content::-webkit-scrollbar {
    width: 6px;
}

.modal-mujeres-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.modal-mujeres-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modal-mujeres-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========================================== */
/* RESPONSIVE                                */
/* ========================================== */

@media (max-width: 768px) {
    .modal-mujeres {
        padding: 12px;
    }

    .modal-mujeres-content {
        max-height: 95vh;
        border-radius: 14px;
    }

    .modal-mujeres-body {
        padding: 0 20px 25px;
    }

    .modal-mujeres-header h2 {
        font-size: 1.3rem;
    }

    .modal-mujeres-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .modal-mujeres-item {
        padding: 16px 16px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-mujeres-item-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 0.95rem;
    }

    .modal-mujeres-item-content h4 {
        font-size: 0.9rem;
    }

    .modal-mujeres-item-content p {
        font-size: 0.82rem;
    }

    .modal-mujeres-principios {
        padding: 18px 18px;
    }

    .modal-mujeres-principios ul li {
        font-size: 0.8rem;
    }

    .modal-mujeres-close {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        margin: 8px 10px 0 0;
    }
}

@media (max-width: 480px) {
    .modal-mujeres {
        padding: 8px;
    }

    .modal-mujeres-content {
        border-radius: 12px;
    }

    .modal-mujeres-body {
        padding: 0 14px 18px;
    }

    .modal-mujeres-header h2 {
        font-size: 1.1rem;
    }

    .modal-mujeres-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .modal-mujeres-item {
        padding: 12px 12px;
        gap: 10px;
    }

    .modal-mujeres-item-content h4 {
        font-size: 0.82rem;
    }

    .modal-mujeres-item-content p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .modal-mujeres-principios {
        padding: 14px 14px;
    }

    .modal-mujeres-principios h4 {
        font-size: 0.85rem;
    }

    .modal-mujeres-principios ul li {
        font-size: 0.72rem;
        padding: 4px 0;
    }

    .modal-mujeres-close {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin: 5px 8px 0 0;
    }
}