/* ==========================================
   ESTILOS PARA SECCIÓN DE EQUIPO PROFESIONAL
   ========================================== */

.certifications-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-member {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.team-member .cert-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.team-member .cert-icon.hortense {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
}

.team-member h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member .cert-number {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member .cert-location {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-member .cert-location i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.team-member .cert-contact {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.team-member .cert-contact i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.team-member .cert-description {
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.specialties,
.languages {
    margin-top: 1.5rem;
}

.specialties h4,
.languages h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.specialty-tags,
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.specialty-tag,
.language-tag {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.specialty-tag i,
.language-tag i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.specialty-tag:hover,
.language-tag:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(27, 73, 101, 0.3);
}

.specialty-tag:hover i,
.language-tag:hover i {
    color: var(--white);
}

/* Credenciales y Experiencia */
.team-credentials {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.credential-section {
    margin-bottom: 3rem;
}

.credential-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.credential-section h3 i {
    font-size: 1.8rem;
}

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

.credential-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.credential-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.credential-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.credential-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.credential-item .year {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive para equipo */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
    }

    .team-member .cert-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .team-member h3 {
        font-size: 1.3rem;
    }

    .specialty-tags,
    .language-tags {
        gap: 0.6rem;
    }

    .specialty-tag,
    .language-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .credential-section h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .team-credentials {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .certifications-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .team-member {
        padding: 1.5rem 1rem;
    }

    .team-member .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .team-member h3 {
        font-size: 1.2rem;
    }

    .team-member .cert-contact {
        font-size: 0.85rem;
    }

    .specialty-tag,
    .language-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .credential-item {
        padding: 1.2rem;
    }

    .credential-item strong {
        font-size: 1rem;
    }
}