/* ====================== ПОПАП СТИЛИ ====================== */
.service-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.service-modal.active {
    display: flex;
}
.service-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(5px);
}
.service-modal__content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalShow 0.4s ease;
}
@keyframes modalShow {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
.service-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #F44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    transition: 0.2s;
    padding: 0;
}
.service-modal__close:hover { background: rgba(0,0,0,0.8); }

.service-modal__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 30px 20px;
}
@media (min-width: 640px) {
    .service-modal__body {
        flex-direction: row;
    }
}
.service-modal__image {
    flex-shrink: 0;
    width: 140px; height: 140px;
    border-radius: 16px;
    overflow: hidden;
    align-self: center;
}
.service-modal__image img {
    width: 100%; height: 100%; object-fit: cover;
}
.service-modal__info h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #222;
    max-width: 200px;
}
.service-modal__info p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 12px;
}
.service-modal__price {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}
.service-modal__price .price-label { color: #888; margin-right: 8px; }

.service-modal__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 30px 30px;
}
.service-modal__form input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    margin-top: 5px;

}
.service-modal__form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}
.service-modal__btn {
    padding: 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 5px;
}
.service-modal__btn:hover { background: #0056b3; }

.service-modal__success {
    text-align: center;
    padding: 40px 30px;
    color: #28a745;
    font-size: 18px;
}