/************************************
    ESTILOS GENERALES DE NOSOTROS
************************************/

.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-card {
    background: white;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/************************************
            MISIÓN & VISIÓN
************************************/

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2c5aa0;
}

.card-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

/************************************
                VALORES
************************************/

.values-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.values-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.value-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.value-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/************************************
                EQUIPO
************************************/

.team-section {
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    margin: 20px auto 40px;
    max-width: 900px;
    color: #444;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.team-member {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-6px);
}

.member-photo img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.member-role {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c5aa0;
}

.member-details {
    font-size: 0.95rem;
    color: #555;
    margin: 10px 0;
}

.member-email {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #ff6b35;
    text-decoration: none;
}

/************************************
        ANIMACIONES (fade-in)
************************************/

.animate-fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* retrasos para miembros del equipo */
.animate-delay-1 {
    transition-delay: 0.2s;
}

.animate-delay-2 {
    transition-delay: 0.4s;
}

/************************************
            RESPONSIVE
************************************/

@media (max-width: 768px) {
    .section-title,
    .values-title {
        font-size: 2.2rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .member-photo img {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .section-title,
    .values-title {
        font-size: 1.9rem;
    }

    .team-intro {
        font-size: 1rem;
    }

    .value-card {
        padding: 20px;
    }
}
