.services-main {
    padding-top: 4rem;
    padding-bottom: 5rem;
    background-color: var(--background);
}

.services-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-bottom: 6rem;
    background-image: url(../assets/servicio-frenos.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0A0B0C;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 4rem;
}

.services-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(28, 25, 23, 0.4);
    /* stone-900/40 */
}

.services-hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.hero-sub {
    color: white;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.hero-title {
    color: white;
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    max-width: 42rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title span {
    color: #930019;
    /* primary-container */
}

.services-grid {
    max-width: 80rem;
    margin: 0 auto 8rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.diagnostic-card {
    background-color: var(--surface-container-low);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .diagnostic-card {
        grid-column: span 8;
    }
}

.card-label {
    color: var(--on-surface-variant);
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: block;
}

.diagnostic-card h2 {
    font-size: 2.25rem;
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.diagnostic-card p {
    color: var(--secondary);
    font-size: 1.125rem;
    max-width: 36rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.badge-container {
    display: flex;
    gap: 1rem;
}

.badge {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    border-radius: 9999px;
}

.bg-icon {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    opacity: 0.05;
    pointer-events: none;
    transition: transform 0.7s;
}

.diagnostic-card:hover .bg-icon {
    transform: scale(1.1);
}

.side-img {
    height: 400px;
}

@media (min-width: 768px) {
    .side-img {
        grid-column: span 4;
        height: auto;
    }
}

.side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s;
}

.side-img:hover img {
    filter: grayscale(0%);
}

.service-item-card {
    background-color: var(--surface-container-lowest);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(26, 28, 28, 0.03);
}

@media (min-width: 768px) {
    .service-item-card {
        grid-column: span 4;
    }
}

.service-item-card.featured {
    border-bottom: 4px solid var(--primary);
}

.service-icon {
    color: var(--primary);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.service-item-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.service-desc {
    color: var(--secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.feature-item .material-symbols-outlined {
    font-size: 0.875rem;
    margin-right: 0.5rem;
    color: var(--primary);
}