/* Service Modal */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    background: rgba(0,0,0,0.2);
    transform: rotate(90deg);
}

.service-modal-close i {
    font-size: 1.5rem;
    color: var(--color-neutral-800);
}

.service-modal-image {
    flex: 0 0 45%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-modal-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.service-modal-content {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
}

.service-modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-intro {
    font-size: 1.2rem;
    color: var(--color-neutral-700);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-modal-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-neutral-800);
}

.service-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-modal-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-neutral-600);
}

.service-modal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
}

.service-modal-cta {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-neutral-200);
}

@media (max-width: 992px) {
    .service-modal {
        flex-direction: column;
        max-height: 85vh;
    }
    
    .service-modal-image {
        flex: 0 0 200px;
    }
    
    .service-modal-content {
        padding: 2rem;
    }
}

