/* Servicios Page - Light Theme Redesign */
body {
    background-color: #ffffff;
    color: var(--text-main);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Section */
.services-header {
    margin-top: 6rem;
    margin-bottom: 4rem;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fee2e2;
    background-color: #fef2f2;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.services-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.services-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.grid-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}



.grid-card:hover {
    background: #fef2f2;
    /* Light red tint */
    border-color: #fecaca;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.1);
}

.grid-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.grid-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grid-card.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.grid-card.active h3,
.grid-card.active p,
.grid-card.active .card-link {
    color: white;
}

.grid-card.active .card-link {
    opacity: 0.9;
}


/* Sidebar Service Cards */
.detail-sidebar .grid-card {
    margin-top: 1rem;
    padding: 1.5rem;
    min-height: auto;
}

.detail-sidebar .grid-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.detail-sidebar .grid-card p {
    margin-bottom: 0;
}

/* Detail Section Title */
.detail-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

/* Detail Section */
.detail-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
}

.detail-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.detail-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.detail-features {
    list-style: none;
}

.detail-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #334155;
    font-weight: 500;
}

.detail-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.detail-image-box {
    background: var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    color: white;
}

.detail-image-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detail-image-box p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h1 {
        font-size: 3rem;
    }
}