/* Estilos modernos para la sección de servicios inspirados en Hyperflow */
.services-section {
    width: 100%;
    background-color: #f5f5f5;
    padding: 80px 0 120px;
    position: relative;
}

.services-title-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.section-title {
    font-size: 2rem;
    text-align: left;
    font-style: italic;
    line-height: 1.4;
    padding-left: 25px;
    border-left: 8px solid #1C1C28;
    margin: 0;
    color: #1C1C28;
    font-weight: 500;
    max-width: 70%;
}

.services-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    color: #1C1C28;
    font-size: 1.1rem;
    font-weight: 400;
    background: #fff;
    padding: 40px 30px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(0,0,0,0.04);
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.08);
    background: #fcfcfc;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fbf1bd;
    font-weight: 300;
    background: #1C1C28;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Estilo eliminado y reemplazado por .section-title */

.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #1C1C28;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.service-description {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
    line-height: 1.5;
}

.service-link {
    color: #1C1C28;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 20px 8px 15px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    background: rgba(251, 241, 189, 0.3);
    border-radius: 4px;
}

.service-link:after {
    content: "→";
    margin-left: 10px;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.grid-item:hover .service-link:after {
    transform: translateX(5px);
}

/* Responsive design */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .grid-item {
        padding: 30px 25px;
        min-height: 250px;
    }

    .service-title {
        font-size: 1.3rem;
    }
    
    .services-section {
        padding: 50px 0;
    }
    
    .services-title-container {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        max-width: 90%;
    }
}

/* Animaciones sutiles */
.grid-item {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos adicionales para un look más limpio */
.service-icon {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.grid-item:hover .service-icon {
    opacity: 1;
}