.services-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Cambio a 4 columnas fijas */
    gap: 1rem; /* Reducido de 2rem a 1rem */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: var(--card-bg);
    padding: 1.5rem; /* Reducido de 2rem */
    border-radius: 8px; /* Reducido de 10px */
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-icon {
    width: 50px; /* Reducido de 70px */
    height: 50px; /* Reducido de 70px */
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem; /* Reducido de 1.5rem */
}

.service-icon i {
    font-size: 1.5rem; /* Reducido de 2rem */
    color: white;
}

.service-title {
    font-size: 1.1rem; /* Reducido de 1.25rem */
    color: var(--text-color);
    margin-bottom: 0.75rem; /* Reducido de 1rem */
    font-family: 'Playfair Display', serif;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem; /* Reducido de 0.95rem */
    line-height: 1.4;
    margin-bottom: 1rem; /* Reducido de 1.5rem */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Dark mode adjustments */
[data-theme="dark"] .service-card {
    background: var(--card-bg-dark, #2a2a2a);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

[data-theme="dark"] .service-title {
    color: white;
}

[data-theme="dark"] .service-description {
    color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .service-icon {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0,102,204,0.3);
}

/* Section header styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

[data-theme="dark"] .section-title {
    color: white;
}

[data-theme="dark"] .section-description {
    color: rgba(255,255,255,0.8);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
