/* ==========================
   QUIENES-SOMOS.CSS
   ========================== */

/* Hero Section */
.hero-quienes {
    height: 400px;
    background: linear-gradient(135deg, #1C3A4E 0%, #009E5E 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-quienes h1 {
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-quienes p {
    font-size: 22px;
    opacity: 0.95;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* ¿Qué Hacemos? */
.que-hacemos-section {
    padding: 80px 0;
    background: white;
}

.que-hacemos-text {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: justify;
}

.que-hacemos-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.que-hacemos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.actividad-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.actividad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.actividad-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.actividad-card:hover .actividad-icon {
    background: var(--green-color);
    transform: scale(1.1);
}

.actividad-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.actividad-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sobre Nosotros */
.sobre-nosotros-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sobre-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sobre-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dirigentes */
.dirigentes-section {
    padding: 80px 0;
    background: white;
}

.dirigentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.dirigente-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.dirigente-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.dirigente-photo {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.dirigente-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dirigente-card:hover .dirigente-photo img {
    transform: scale(1.1);
}

.dirigente-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 58, 78, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dirigente-card:hover .dirigente-overlay {
    opacity: 1;
}

.dirigente-social {
    display: flex;
    gap: 15px;
}

.dirigente-social a {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.dirigente-social a:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.15);
}

.dirigente-info {
    padding: 25px;
    text-align: center;
}

.dirigente-info h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.dirigente-cargo {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.dirigente-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Miembros Activos */
.miembros-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.miembro-card .dirigente-photo {
    height: 300px;
}

.miembro-badge {
    background: linear-gradient(135deg, #009E5E 0%, #1C3A4E 100%);
    color: white !important;
    display: inline-block !important;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 12px !important;
    letter-spacing: 1.5px;
}

/* Misión y Visión */
.mision-vision-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.mision-card::before {
    background: linear-gradient(90deg, #C1272D 0%, #F26522 100%);
}

.vision-card::before {
    background: linear-gradient(90deg, #1C3A4E 0%, #009E5E 100%);
}

.mv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 25px;
}

.mision-card .mv-icon {
    background: linear-gradient(135deg, #C1272D 0%, #F26522 100%);
    color: white;
}

.vision-card .mv-icon {
    background: linear-gradient(135deg, #1C3A4E 0%, #009E5E 100%);
    color: white;
}

.mv-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.mision-card h2 {
    color: #C1272D;
}

.vision-card h2 {
    color: #1C3A4E;
}

.mv-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

/* Valores */
.valores-section {
    padding: 80px 0;
    background: white;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.valor-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left-color: var(--accent-color);
}

.valor-icon {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.valor-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.valor-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Únete */
.cta-unete-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1C3A4E 0%, #009E5E 100%);
}

.cta-unete-content {
    text-align: center;
    color: white;
}

.cta-unete-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-unete-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-buttons .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--orange-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-quienes h1 {
        font-size: 36px;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .dirigentes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-quienes {
        height: 300px;
    }

    .hero-quienes h1 {
        font-size: 28px;
    }

    .hero-quienes p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .que-hacemos-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .cta-unete-content h2 {
        font-size: 28px;
    }

    .cta-unete-content p {
        font-size: 16px;
    }
}
