.services-container {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 5%;
}

.category-title {
    font-family: 'All Round Gothic', sans-serif;
    color: var(--brand-dark);
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 0; 
    overflow: hidden; 
    min-height: 480px; 
}

.service-img-wrapper {
    width: 100%;
    height: 250px; 
    position: relative;
    border-bottom: 3px solid var(--brand-primary); 
}

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

.service-img-wrapper::after {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    backdrop-filter: blur(1px); 
    -webkit-backdrop-filter: blur(1px);
}

.price-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-content h3 {
    font-family: 'All Round Gothic', sans-serif;
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--brand-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; 
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    margin-top: auto; 
}

.price-tag {
    font-family: 'All Round Gothic', sans-serif;
    font-size: 1.6rem;
    color: var(--brand-primary);
    font-weight: bold;
}

.price-row button {
    padding: 0.8rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.modal-overlay {
    display: none; 
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--brand-dark);
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}
.close-modal:hover { color: var(--brand-primary); }

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
        display: block;
    }
    
    .price-content h3 {
        font-size: 1.2rem;
    }
    
    .price-tag {
        font-size: 1.3rem;
    }
    
    .service-img-wrapper {
        height: 180px;
    }
    
    .price-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .price-row button {
        width: 100%;
    }
}