/*======= popup ================= */
.popup {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    overflow: auto;
    left: 0;
    bottom: -100%;
    opacity: 0;
    transform: scale(0);
    transition: 0.3s ease;
}

.popup._active-popup {
    transform: scale(1);
    bottom: 0;
    opacity: 1;
}

.popup-send-quest {}

.popup__bg {
    position: fixed;
    width: 100%;
    min-height: 100%;
    /* top: 0; */
    left: 0;
    background-color: rgba(56, 58, 92, 0.5);
    backdrop-filter: blur(2px);
}

.popup__body {
    position: absolute;
    z-index: 5;
    border-radius: 20px;
    background: linear-gradient(88deg, #06172d 0%, #068bc0 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, 50%);
    width: 400px;
    padding: 30px 20px 40px 20px;
    bottom: -100%;
    opacity: 0;
    left: 50%;
    transition: 0.3s ease;
    transition-delay: 0.3s;
}

.popup._active-popup .popup__body {
    bottom: 50%;
    opacity: 1;
}

.popup__close-btn {
    margin-bottom: 30px;
    display: flex;
    justify-content: end;
}

.popup__close-btn span {
    font-size: 2rem;
    color: #fafcff;
    cursor: pointer;
    transition: 0.3s ease;
}

.popup__close-btn:hover {
    color: #73adf4;
}

.popup__column {
    display: flex;
    flex-direction: column;
}

.popup__title {
    font-size: 1.25rem;
    color: #fafcff;
    font-weight: 600;
    text-shadow: 1px 1px 2px 0px #f5f5f5;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.popup__title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: #73adf4;
}

.popup-send-quest__subtitle,
.popup__subtitle {
    font-size: 1rem;
    color: #fafcff;
    line-height: 140%;
    margin-bottom: 30px;
}

.form-question {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.input {
    width: 100%;
}

.input input {
    width: 100%;
    padding: 10px 20px;
    color: #06172d;
    border-radius: 30px;
    background: #fafcff;
}





@media (max-width: 430px) {
    .popup {
        padding: 0;
    }

    .popup__body {
        border-radius: 20px 20px 0px 0px;
        width: 100%;
        left: 0;
        bottom: 0;
        transform: translate(0, 0);
    }

    .popup._active-popup .popup__body {
        bottom: 0;
        opacity: 1;
    }
}

/*========== thanks ============== */
.thanks__icon {
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.thanks__icon img {
    flex-basis: 200px;
    height: 200px;
    position: relative;
    object-fit: contain;
}

.thanks .thanks__title {
    font-size: 2.5rem;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.thanks .thanks__subtitle {
    font-size: 1.25em;
    text-align: center;
    margin-bottom: 50px;
}

.thanks__btn {
    display: flex;
    justify-content: center;
}

/*==========popup-take-service ============== */
.popup-take-service__title {
    font-size: 2rem;
    letter-spacing: 0.2px;
    line-height: 130%;
}

.popup-take-service__form {
    margin-bottom: 30px;
}

.popup-take-service .contacts__item i {
    font-size: 2rem;
}

.popup-take-service .contacts__item a,
.popup-take-service .contacts__item span {
    font-size: 1.5rem;
}

.popup-take-service .contacts__item {
    justify-content: start;
}

.popup-take-service .footer__social {
    justify-content: space-between;
}

.popup-take-service .footer__social a {
    justify-content: space-between;
    font-size: 3rem;
}

@media (max-width: 400px) {
    .popup-take-service__title {
        font-size: 1.5rem;
    }

    .popup-take-service .contacts__item a,
    .popup-take-service .contacts__item span {
        font-size: 1.25rem;
    }
}