.services {
    padding: 6rem 0;
    background: var(--cream);
}

.services .container {
    max-width: 1400px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-icon {
    width: 100%;
    height: 200px;
    background: var(--cream);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border: 2px solid var(--light-gray);
    overflow: hidden;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--black);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.service-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--medium-gray);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-price {
        font-size: 1.2rem;
    }
    
    .service-icon {
        height: 310px;
    }
    
    .service-icon-img {
        height: auto;
    }
    
    .service-icon-img--square {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 431px) and (max-width: 575px) {
    .service-icon {
        height: auto;
    }
    
    .service-icon-img {
        height: auto;
    }
    
    .service-icon-img--square {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .services-grid {
        max-width: 575px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-icon {
        height: auto;
    }
    
    .service-icon-img {
        height: auto;
    }
    
    .service-icon-img--square {
        height: 100%;
        object-fit: cover;
    }
}
