/* SERVICES SECTION - VERSIÓN COMPACTA */

/* Contenedor Principal */
.gr-services-section {
    width: 100%;
    padding: 3rem 1rem;
    background-color: #fff;
    position: relative;
}

.gr-services-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Encabezado */
.gr-services-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gr-services-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    color: #77519A;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
}

.gr-services-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Grid de Servicios */
.gr-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

/* Tarjetas de Servicio */
.gr-service-card {
    background: #FFFFFF;
    border: 1px solid rgba(119, 81, 154, 0.1);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    max-width: 340px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gr-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(119, 81, 154, 0.08);
    border-color: rgba(119, 81, 154, 0.2);
}

.gr-service-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.gr-service-card:hover .gr-service-icon {
    transform: scale(1.08);
}

.gr-service-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.85);
    margin: 0 0 0.75rem 0;
}

.gr-service-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* Efecto de acento */
.gr-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #77519A, rgba(119, 81, 154, 0.3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.gr-service-card:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 992px) {
    .gr-services-section {
        padding: 2.5rem 1rem;
    }
    
    .gr-services-header {
        margin-bottom: 2rem;
    }
    
    .gr-services-grid {
        gap: 1.25rem;
    }
    
    .gr-service-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .gr-services-section {
        padding: 2rem 1rem;
    }
    
    .gr-services-header {
        margin-bottom: 1.75rem;
    }
    
    .gr-service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .gr-services-section {
        padding: 1.75rem 1rem;
    }
    
    .gr-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .gr-service-card {
        max-width: 100%;
        padding: 1.5rem;
    }
}