/* WIDGET */
.widget {
    height: 100vh;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    z-index: 1000;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.widget__body {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.widget_open {
    opacity: 1;
    pointer-events: all;
}

.widget__close {
    background: url('../widget/close.svg') no-repeat 50%;
    background-size: contain;
    width: 24px;
    aspect-ratio: 1/1;
    position: absolute;
    right: 15px;
    top: 12px;
    transition: scale 200ms ease-out;
}

.widget__close:hover {
    scale:1.1;
}


.widget__container {
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    position: absolute;
    right: 120px;
    bottom: 30px;
    border: 1px solid #5d98f096;
    box-shadow: 0px 0px 6px -2px #5d98f096;
}

.widget__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block-end: 20px;
}

.widget__title {
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    color: #3f4547;
    margin-bottom: 12px;
    font-family: inherit;
}

.widget__subtitle {
    font-size: 16px;
    line-height: 150%;
    color: #4d5669;
    font-family: inherit;
    margin-block-end: 20px;
    text-align: center;
}

@media screen and (width<=550px) {
    .widget-point {
        right: 15px;
    }

    .widget__body {
        align-items: flex-end;
    }

    .widget__container {
        padding: 10px;
        position: relative;
        right: auto;
        bottom: auto;
    }

    .widget__title {
        font-size: 24px;
    }

    .widget__subtitle {
        font-size: 14px;
    }

    .field_group label {
        width: auto;
    }
}

/* CHECKBOX STYLE */

.field_group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    justify-content: center;
    padding-block-start: 10px;
}

.field_group .field_group__input {
    width: 15px;
    margin: 0;
}

.field_group label {
    color: #555;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 130%;
}

.field_group label::before {
    background-color: #ff8186;
}

.field_group label::after {
    background-color: #c02026;
}

.field_group label a {
    color: #555;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 130%;
    text-decoration: underline;
}


.modal__button-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #eaf4ff;
    border-radius: 12px;
    padding: 25px 10px;
}

.social-button {
    display: flex;
    gap: 5px;
    padding: 12px 50px;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: opacity 300ms ease-out;
}

.social-button img {
    width: 22px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.social-button:hover {
    opacity: 0.7;
    color: #cbebff;
}

.social-button:focus {
    outline: 2px solid #8ad4ff93;
    color: #cbebff;
}

.social_wt {
    background-color: #5ed169;
}

.social_tg {
    background-color: #2aabee;
}

.social_rq {
    cursor: pointer;
    background-color: #122484;
}

.widget-point {
    position: fixed;
    width: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00aeef;
    right: 30px;
    bottom: 120px;
    z-index: 999;
    border: 1px solid #00aeef5e;
    animation: widget-breath 1000ms, widget-bg 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.35, -0.13, 0.64, 1.16);
    animation-direction: alternate;
}

.widget-point::before {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 14px;
    display: block;
    width: 24px;
    aspect-ratio: 1/1;
    opacity: 1;
    background: center center no-repeat;
    background-size: 24px 24px;
    animation-name: widget-icon;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.33, -0.32, 0.68, 1.29);
    animation-direction: alternate;
}


@keyframes widget-breath {
    from {
        outline: 0.01em solid #00aeef5e;
    }

    to {
        outline: 0.6em solid #00aeef1f;
    }
}


@keyframes widget-bg {
    from {
        background-color: #fff;
    }

    50% {
        background-color: #fff;
    }

    to {
        background-color: #33b1ff;
    }
}


@keyframes widget-icon {
    from {
        background-image: url('../widget/phone-vhod.svg');
        opacity: 1;
    }

    25% {
        opacity: 0.1;
    }

    50% {
        background-image: url('../widget/max.png');
        opacity: 1;
    }

    75% {
        opacity: 0.1;
    }

    to {
        background-image: url('../widget/ico-btn-callback.png');
        opacity: 1;
    }
}
/* WIDGET */

/* PLASHKA */
    .bottom-info__wrapper {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1500;
        color: #fff;
        font: inherit;
        background-color: rgba(0, 0, 0, .73);
        opacity: 0;
        pointer-events: none;
        transition: opacity 300ms;
    }

    .bottom-info__wrapper.active {
        opacity: 1;
        pointer-events: all;
    }

    .bottom-info__wrapper .bottom-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px 15px 10px 20px;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info {
            flex-direction: column;
            margin: 10px;
        }
    }

    .bottom-info__wrapper .bottom-info__content {
        margin: 0 10px 0 0;
        font-size: 14px;
        line-height: 120%;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__content {
            font-size: 10px;
        }
    }

    .bottom-info__content a {
        color: #52c5ff;
        text-decoration: underline;
        transition: color 300ms;
    }

    .bottom-info__content a:hover {
        color: #296de7;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__content {
            text-align: center;
            margin: 0 15px 0 0;
        }
    }

    .bottom-info__wrapper .bottom-info__action {
        display: flex;
    }

    @media screen and (max-width: 639px) {
        .bottom-info__wrapper .bottom-info__action {
            margin: 10px 0 0;
        }
    }

    .bottom-info__wrapper .bottom-info__button-agree {
        font-size: .9em;
        line-height: 2;
        font-weight: 500;
        color: #000;
        border-radius: 5px;
        padding: 2px 15px;
        text-transform: uppercase;
        display: block;
        background-color: #ffffffe8;
        border: none;
        cursor: pointer;
    }

    .bottom-info__wrapper .bottom-info__button-cross {
        width: 28px;
        height: 28px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.4em;
        background-color: transparent;
        border: none;
        margin-inline-start: 12px;
        cursor: pointer;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__button-cross {
            position: absolute;
            top: 10px;
            right: 5px;
            width: 16px;
            height: 16px;
        }
        .bottom-info__wrapper .bottom-info__button-agree {
            font-size: 12px;
            line-height: 1.2;
            padding: 5px 15px;
        }
    }

    .bottom-info__button-cross::after {
        content: "\00D7";
        color: #999;
        line-height: 1;
        transition: color 300ms;
    }

    .bottom-info__wrapper .bottom-info__button-cross:hover::after {
        color: #fff;
    }
/* PLASHKA *//* WIDGET */
.widget {
    height: 100vh;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    z-index: 1000;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.widget__body {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.widget_open {
    opacity: 1;
    pointer-events: all;
}

.widget__close {
    background: url('../widget/close.svg') no-repeat 50%;
    background-size: contain;
    width: 24px;
    aspect-ratio: 1/1;
    position: absolute;
    right: 15px;
    top: 12px;
    transition: scale 200ms ease-out;
}

.widget__close:hover {
    scale:1.1;
}


.widget__container {
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    position: absolute;
    right: 120px;
    bottom: 30px;
    border: 1px solid #5d98f096;
    box-shadow: 0px 0px 6px -2px #5d98f096;
}

.widget__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block-end: 20px;
}

.widget__title {
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    color: #3f4547;
    margin-bottom: 12px;
    font-family: inherit;
}

.widget__subtitle {
    font-size: 16px;
    line-height: 150%;
    color: #4d5669;
    font-family: inherit;
    margin-block-end: 20px;
    text-align: center;
}

@media screen and (width<=550px) {
    .widget-point {
        right: 15px;
    }

    .widget__body {
        align-items: flex-end;
    }

    .widget__container {
        padding: 10px;
        position: relative;
        right: auto;
        bottom: auto;
    }

    .widget__title {
        font-size: 24px;
    }

    .widget__subtitle {
        font-size: 14px;
    }

    .field_group label {
        width: auto;
    }
}

/* CHECKBOX STYLE */

.field_group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    justify-content: center;
    padding-block-start: 10px;
}

.field_group .field_group__input {
    width: 15px;
    margin: 0;
}

.field_group label {
    color: #555;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 130%;
}

.field_group label::before {
    background-color: #ff8186;
}

.field_group label::after {
    background-color: #c02026;
}

.field_group label a {
    color: #555;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 130%;
    text-decoration: underline;
}


.modal__button-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #eaf4ff;
    border-radius: 12px;
    padding: 25px 10px;
}

.social-button {
    display: flex;
    gap: 5px;
    padding: 12px 50px;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: opacity 300ms ease-out;
}

.social-button img {
    width: 22px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.social-button:hover {
    opacity: 0.7;
    color: #cbebff;
}

.social-button:focus {
    outline: 2px solid #8ad4ff93;
    color: #cbebff;
}

.social_wt {
    background-color: #5ed169;
}

.social_tg {
    background-color: #2aabee;
}

.social_rq {
    cursor: pointer;
    background-color: #122484;
}

.widget-point {
    position: fixed;
    width: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00aeef;
    right: 30px;
    bottom: 120px;
    z-index: 999;
    border: 1px solid #00aeef5e;
    animation: widget-breath 1000ms, widget-bg 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.35, -0.13, 0.64, 1.16);
    animation-direction: alternate;
}

.widget-point::before {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 14px;
    display: block;
    width: 24px;
    aspect-ratio: 1/1;
    opacity: 1;
    background: center center no-repeat;
    background-size: 24px 24px;
    animation-name: widget-icon;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.33, -0.32, 0.68, 1.29);
    animation-direction: alternate;
}


@keyframes widget-breath {
    from {
        outline: 0.01em solid #00aeef5e;
    }

    to {
        outline: 0.6em solid #00aeef1f;
    }
}


@keyframes widget-bg {
    from {
        background-color: #fff;
    }

    50% {
        background-color: #fff;
    }

    to {
        background-color: #33b1ff;
    }
}


@keyframes widget-icon {
    from {
        background-image: url('../widget/phone-vhod.svg');
        opacity: 1;
    }

    25% {
        opacity: 0.1;
    }

    50% {
        background-image: url('../widget/max.png');
        opacity: 1;
    }

    75% {
        opacity: 0.1;
    }

    to {
        background-image: url('../widget/ico-btn-callback.png');
        opacity: 1;
    }
}
/* WIDGET */

/* PLASHKA */
    .bottom-info__wrapper {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1500;
        color: #fff;
        font: inherit;
        background-color: rgba(0, 0, 0, .73);
        opacity: 0;
        pointer-events: none;
        transition: opacity 300ms;
    }

    .bottom-info__wrapper.active {
        opacity: 1;
        pointer-events: all;
    }

    .bottom-info__wrapper .bottom-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px 15px 10px 20px;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info {
            flex-direction: column;
            margin: 10px;
        }
    }

    .bottom-info__wrapper .bottom-info__content {
        margin: 0 10px 0 0;
        font-size: 14px;
        line-height: 120%;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__content {
            font-size: 10px;
        }
    }

    .bottom-info__content a {
        color: #52c5ff;
        text-decoration: underline;
        transition: color 300ms;
    }

    .bottom-info__content a:hover {
        color: #296de7;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__content {
            text-align: center;
            margin: 0 15px 0 0;
        }
    }

    .bottom-info__wrapper .bottom-info__action {
        display: flex;
    }

    @media screen and (max-width: 639px) {
        .bottom-info__wrapper .bottom-info__action {
            margin: 10px 0 0;
        }
    }

    .bottom-info__wrapper .bottom-info__button-agree {
        font-size: .9em;
        line-height: 2;
        font-weight: 500;
        color: #000;
        border-radius: 5px;
        padding: 2px 15px;
        text-transform: uppercase;
        display: block;
        background-color: #ffffffe8;
        border: none;
        cursor: pointer;
    }

    .bottom-info__wrapper .bottom-info__button-cross {
        width: 28px;
        height: 28px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.4em;
        background-color: transparent;
        border: none;
        margin-inline-start: 12px;
        cursor: pointer;
    }

    @media screen and (max-width: 700px) {
        .bottom-info__wrapper .bottom-info__button-cross {
            position: absolute;
            top: 10px;
            right: 5px;
            width: 16px;
            height: 16px;
        }
        .bottom-info__wrapper .bottom-info__button-agree {
            font-size: 12px;
            line-height: 1.2;
            padding: 5px 15px;
        }
    }

    .bottom-info__button-cross::after {
        content: "\00D7";
        color: #999;
        line-height: 1;
        transition: color 300ms;
    }

    .bottom-info__wrapper .bottom-info__button-cross:hover::after {
        color: #fff;
    }
/* PLASHKA */