/* TEAM SECTION - GRÚAS ROSANO */

/* Contenedor Principal */
.gr-team-section {
    width: 100%;
    padding: 4rem 1rem;
    background-color: #fff;
    position: relative;
}

.gr-team-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Encabezado */
.gr-team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gr-team-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 0.9;
    color: #77519A;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.gr-team-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 auto;
    max-width: 900px;
}

/* Grid de Equipo */
.gr-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Tarjetas de Equipo */
.gr-team-card {
    background: #FFFFFF;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gr-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(119, 81, 154, 0.1);
}

.gr-team-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.gr-team-card:hover .gr-team-image {
    transform: scale(1.03);
}

.gr-team-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gr-team-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.9);
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.gr-team-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    text-align: center;
}

/* Botón CTA */
.gr-team-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #FFFFFF;
    color: #77519A;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-decoration: none;
    border: 2px solid #77519A;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    width: fit-content;
    text-transform: uppercase;
}

.gr-team-cta:hover {
    background-color: #77519A;
    color: white;
    transform: translateY(-2px);
}

.gr-team-cta-icon {
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.3s ease;
}

.gr-team-cta:hover .gr-team-cta-icon {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .gr-team-section {
        padding: 3.5rem 1rem;
    }
    
    .gr-team-header {
        margin-bottom: 2.5rem;
    }
    
    .gr-team-grid {
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .gr-team-section {
        padding: 3rem 1rem;
    }
    
    .gr-team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .gr-team-image {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .gr-team-section {
        padding: 2.5rem 1rem;
    }
    
    .gr-team-grid {
        grid-template-columns: 1fr;
    }
    
    .gr-team-cta {
        width: 100%;
        max-width: 300px;
    }
}