@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

.modal * {
    box-sizing: border-box;
}
.modal {
    background-color: #1e2328;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 5;
}
.modal__field-area {
    margin-bottom: 6px;
}
.modal_active {
    display: flex;
}
.modal__content {
    position: relative;
    border-radius: 12px;

    background: #ffffff;
    box-shadow: 0px 4px 54px 0px rgba(41, 41, 41, 0.1);

    max-width: 675px;
    padding: 44px 55px 49px 55px;
}

.modal__close-trigger {
    position: absolute;

    top: 20px;
    right: 20px;

    cursor: pointer;
}

.modal__title {
    color: #242440;
    font-family: "Roboto Slab";
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
}
.modal__desription {
    color: #242440;
    font-family: "Roboto Slab";
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    margin-top: 4px;
}

.modal__manager {
    padding: 16px;

    background: #fff;
    border-radius: 30px;
    box-shadow: 2px 4px 35.6px 0px rgba(0, 0, 0, 0.07);

    display: flex;
    margin-top: 14px;
}
.modal__manager-image {
    width: 124px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
}
.modal__manager-info {
    margin-left: 17px;
    padding-top: 1px;
}
.modal__manager-title {
    color: #242440;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}
.modal__manager-sub-title {
    color: #52525b;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-top: -4px;
}
.modal__manager-message {
    color: #7b8997;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 5px;
}
.modal__form {
    margin-top: 15px;
}
.modal__field {
    border-radius: 8px;
    border: 1px solid #989ea3;
    background: #ffffff;
    width: 100%;
    padding: 0 12px;
    height: 48px;

    color: #7b8997;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
}
.modal__field::placeholder {
    color: #7b8997;
    transition: 0.5s;
}
.modal__field-area-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.modal__field-area {
    width: 100%;
}
.modal__field-area-line .modal__field-area {
    width: calc(50% - 3px);
}
.modal__radio-set {
    margin-top: 14px;
}
.modal__radio-set-title {
    color: #242440;
    font-family: "Roboto Slab";
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
}
.modal__radio-set-list {
    display: flex;
    align-items: center;
    margin-top: 3px;
}
.modal__radio-set-list > *:not(:last-child) {
    margin-right: 13px;
}

.modal__button-control {
    display: flex;
    align-items: center;

    margin-top: 19px;
}
.modal__button {
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(273deg, #e28949 0%, #ea665f 100%);
    max-width: 259px;
    width: 100%;
    border: none;
    color: #fff;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
}
.modal__button-comment {
    color: #242440;
    font-family: "Inter";
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin-left: 28px;
    max-width: 230px;
}
.modal__button-comment a {
    color: #e3884b;
}

.modal__present {
    display: flex;
    padding: 22px 21px 15px 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.12);
    margin-top: 19px;
}
.modal__present_center {
    align-items: center;
}
.modal__present-content {
    margin-left: 19px;
}
.modal__present-icon {
    border-radius: 5px;
    background: radial-gradient(135.81% 135.81% at 0% 8.11%, #ffd0b1 0%, #e3884b 100%);
    width: 37px;
    height: 37px;
    padding: 9px;
}
.modal__present-title {
    color: #000;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}
.modal__present-list {
    color: #000;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.modal__present-list span {
    display: block;
}
.modal__present-info {
    color: #2f3234;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}
.modal__form-title {
    color: #242440;
    font-family: "Roboto Slab";
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}
.modal__form-wrapper {
    display: flex;
}
.modal__form-sert-title {
    color: #52525b;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 23px;
}
.modal__form-sert {
    padding-top: 18px;
}
.modal__form-sert-img {
    width: 100%;
    display: block;
    max-width: 360px;
    border-radius: 10px;
    overflow: hidden;
}

.os-modal .modal__content {
    max-width: 684px;
}

.sert-modal .modal__content {
    max-width: 816px;
}
.sert-modal .modal__form {
    max-width: 324px;
}
.sert-modal .modal__field-area-line {
    margin-top: 9px;
    flex-direction: column;
}
.sert-modal .modal__field-area-line .modal__field-area {
    width: 100%;
    margin-bottom: 7px;
}
.sert-modal .modal__radio-set-list {
    flex-direction: column;
    align-items: self-start;
    margin-top: -11px;
}
.sert-modal .modal__radio-set-list > *:not(:last-child) {
    margin-right: 0;
    margin-bottom: -1px;
}
.sert-modal .modal__button-control {
    flex-direction: column;
    margin-top: 8px;
}
.sert-modal .modal__button {
    max-width: 100%;
    margin-bottom: 12px;
}
.sert-modal .modal__button-comment {
    margin-left: 0;
    margin-right: auto;
    max-width: 100%;
}

@media (max-width: 576px) {
    .modal {
        overflow: auto;
    }
    .modal_active {
        display: block;
    }
    .modal__content {
        margin: 30px 0;
    }
    .modal__title {
        font-size: 24px;
        line-height: 28px;
        padding-right: 45px;
    }
    .modal__desription {
        font-size: 17px;
        line-height: 23px;
        padding-right: 45px;
    }
    .modal__manager-image {
        width: 84px;
    }
    .modal__manager-title {
        font-size: 10px;
    }
    .modal__manager-sub-title {
        font-size: 10px;
        line-height: 12px;
        margin-top: -6px;
    }
    .modal__manager-message {
        font-size: 10px;
    }
    .modal__content {
        padding: 30px 14px;
    }
    .modal__manager {
        padding: 16px 5px;
        border-radius: 20px;
        margin-top: 9px;
    }
    .modal__manager-info {
        margin-left: 7px;
        padding-top: 0px;
    }
    .modal__manager-message {
        font-size: 10px;
        line-height: 12px;
        margin-top: 3px;
    }
    .modal__manager-message br {
        display: none;
    }
    .modal__form {
        margin-top: 7px;
    }
    .modal__field-area-line {
        flex-direction: column;
    }
    .modal__field-area-line .modal__field-area {
        width: calc(100% - 9px);
        margin-bottom: 5px;
    }
    .modal__field-area-line .modal__field-area:last-child {
        margin-bottom: 0;
    }
    .modal__radio-set {
        margin-top: 10px;
    }
    .modal__radio-set-list {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 5px;
    }
    .modal__button-control {
        flex-direction: column;
        margin-top: 10px;
    }
    .modal__button {
        max-width: 100%;
    }
    .modal__button-comment {
        margin-left: 0;
        margin-right: 4px;
        margin-top: 5px;
    }
    .modal__close-trigger {
        top: 17px;
        right: 9px;
    }
    .modal__form-wrapper {
        flex-direction: column;
    }
    .modal__form-sert-title {
        font-size: 11px;
        line-height: 14px;
        margin-bottom: 12px;
    }
    .modal__form-sert {
        padding-top: 9px;
    }
    .modal__present_center {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal__present-info {
        font-size: 14px;
        line-height: 18px;
    }
    .modal__present-content {
        margin-left: 0;
    }
    .modal__present {
        flex-direction: column;
    }
    .modal__present {
        flex-direction: column;
        padding: 22px 21px 20px 21px;
        margin-top: 10px;
    }
    .modal__present-title {
        font-size: 14.3px;
        line-height: 18px;
        margin-bottom: 7px;
    }
    .modal__present-list {
        font-size: 11px;
        line-height: 14px;
    }
    .modal__present-icon {
        width: 32px;
        height: 32px;
        padding: 6px;
        margin-bottom: 7px;
    }

    .sert-modal .modal__title {
        padding-right: 30px;
    }
    .sert-modal .modal__close-trigger {
        top: 14px;
        right: 14px;
    }
    .sert-modal .modal__form {
        margin-top: 10px;
    }
    .sert-modal .modal__form-title {
        font-size: 16px;
        padding-right: 10px;
    }
    .sert-modal .modal__button-comment {
        text-align: center;
        margin-top: 0px;
    }
    .sert-modal .modal__button {
        max-width: 100%;
        margin-bottom: 5px;
    }
    .sert-modal .modal__button-control {
        margin-top: 10px;
    }
    .sert-modal .modal__radio-set {
        margin-top: 19px;
    }

    .os-modal .modal__present {
        padding: 22px 21px 19px 21px;
        margin-top: 9px;
    }
    .os-modal .modal__present br {
        display: none;
    }
    .os-modal .modal__present-icon {
        width: 32px;
        height: 32px;
        padding: 7px;
        margin-bottom: 7px;
    }
}
.radio {
    cursor: pointer;
}

.radio__field {
    display: none;
}
.radio__label {
    position: relative;

    padding-left: 24px;

    color: #52525b;

    font-family: "Inter";
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}
.radio__label:before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    border: 1px solid #d9d9d9;
    border-radius: 50%;
}
.radio__label:after {
    content: "";

    position: absolute;
    left: 4px;
    top: 50%;

    transform: translateY(-50%);

    width: 10px;
    height: 10px;

    background-color: #d9d9d9;
    border-radius: 50%;
}
.radio__label:after,
.radio__label:before {
    box-sizing: border-box;
}

.radio__field:checked + .radio__label:before {
    border-color: #e3884b;
}
.radio__field:checked + .radio__label:after {
    background-color: #e3884b;
}
.page-form {
    padding: 191px 0 96px;
}
.page-form__content * {
    box-sizing: border-box;
}

.page-form__main-line {
    position: relative;
}
.page-form__bg {
    border-radius: 13px;
    display: block;
    height: 430px;
    width: 100%;
    object-fit: cover;
}
.page-form__main-line-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;

    padding: 38px 20px;
}

.page-form__info {
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px 4px 28.7px 0px rgba(0, 0, 0, 0.12);
    width: 641px;
    height: 418px;
    margin-top: -174px;
    margin-right: 52px;
}

.page-form__title {
    color: #fff;
    font-family: "Roboto Slab";
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-left: 4px;
    margin-bottom: 11px;
}
.page-form__field-area {
    margin-bottom: 9px;
}
.page-form__field {
    border-radius: 8px;
    border: 1px solid #989ea3;
    background: #ffffff;
    width: 100%;
    padding: 0 12px;
    height: 48px;

    color: #7b8997;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    outline: none;
}
.page-form__field::placeholder {
    color: #7b8997;
    transition: 0.5s;
}
.page-form__form {
    max-width: 279px;
}
.page-form__button {
    background: linear-gradient(273deg, #e28949 0%, #ea665f 100%);
    width: 100%;
    margin-top: 10px;
    height: 48px;
    border-radius: 5px;
    border: none;
    color: #fff;
    text-align: center;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.page-form__descr {
    color: #fff;
    text-align: center;
    font-family: "Inter";
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin-top: 10px;
}
.page-form__descr a {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.page-form__info {
    padding: 37px 34px;
}
.page-form__info-title {
    color: #242440;
    font-family: "Roboto Slab";
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
}

.page-form__manager {
    padding: 21px 19px;

    background: #fff;
    border-radius: 30px;
    box-shadow: 2px 4px 35.6px 0px rgba(0, 0, 0, 0.07);

    display: flex;
    margin-top: 14px;
}
.page-form__manager-image {
    width: 124px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    display: block;
}
.page-form__manager-info {
    margin-left: 17px;
    padding-top: 1px;
}
.page-form__manager-title {
    color: #242440;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}
.page-form__manager-sub-title {
    color: #52525b;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-top: -4px;
}
.page-form__manager-message {
    color: #7b8997;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 5px;
}
.page-form__info-descr-icon {
    border-radius: 5px;
    background: radial-gradient(135.81% 135.81% at 0% 8.11%, #ffd0b1 0%, #e3884b 100%);
    width: 37px;
    height: 37px;
    padding: 9px;
}
.page-form__info-descr-content {
    margin-left: 20px;
}
.page-form__info-descr {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    padding: 20px 22px;
    margin-top: 21px;
    align-items: center;
}
.page-form__info-descr-content {
    color: #2f3234;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.page-form__info-descr-content b {
    font-weight: 500;
}
.page-form__bg_m {
    display: none;
}
.header__info_policy a:hover {
    color: #0fc4ac;
}

.header__info_policy a {
    text-decoration: underline;
    transition: 0.3s;
}


@media (max-width: 576px) {
    .page-form {
        padding: 132px 0 20px;
    }
    .page-form__content {
        width: calc(100% + 30px);
        margin-left: -22px;
    }
    .page-form__main-line-content {
        flex-direction: column;
        padding: 14px;
    }

    .page-form__info {
        width: auto;
        max-width: 100%;
        margin-right: 0;
        padding: 20px 10px 19px;
        margin-top: -126px;
        height: auto;
        margin-left: 12px;
    }
    .page-form__info-title {
        font-size: 24px;
        line-height: 28px;
    }

    .page-form__manager-image {
        width: 84px;
    }
    .page-form__manager-title {
        font-size: 10px;
    }
    .page-form__manager-sub-title {
        font-size: 10px;
        line-height: 12px;
        margin-top: -6px;
    }
    .page-form__manager-message {
        font-size: 10px;
    }

    .page-form__content {
        /*padding: 30px 14px;*/
    }
    .page-form__manager {
        padding: 16px 5px;
        border-radius: 20px;
        margin-top: 9px;
    }
    .page-form__manager-info {
        margin-left: 7px;
        padding-top: 0px;
    }
    .page-form__manager-message {
        font-size: 10px;
        line-height: 12px;
        margin-top: 3px;
    }
    .page-form__manager-message br {
        display: none;
    }
    .page-form__info-descr {
        margin-top: 10px;
        padding: 13px 14px;
        flex-direction: column;
        align-items: flex-start;
    }
    .page-form__info-descr-icon {
        width: 32px;
        height: 32px;
        padding: 7px;
        margin-bottom: 5px;
    }
    .page-form__info-descr-content {
        color: #2f3234;
        font-family: "Inter";
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        margin-left: 0;
        margin-top: 2px;
    }
    .page-form__bg_m {
        display: block;
    }
    .page-form__bg_d {
        display: none;
    }
    .page-form__bg {
        height: 560px;
    }
    .page-form__form {
        padding-top: 22px;
        padding-left: 18px;
        padding-right: 6px;
        max-width: 100%;
    }
}
@media (min-width: 320px) and (max-width: 575px) {
    .page-form__content {
        width: calc(99% + 41px) !important;
        margin-left: -33px !important;
    }
    .page-form__bg {
        width: 98%;
    }
}

/* mainmodal */

.m12 {
    margin: 12px;
}

.mainmodal {
    width: 100%;

    border-radius: 30px;
    padding: 40px;
    background: url(images/mainmodal.jpg) no-repeat 0 0;
    background-size: cover;
    color: #fff;
    /* z-index: 100; */
    box-sizing: border-box;
    position: relative;
}

.mainmodal__p {
    color: #fff;
    margin-bottom: 24px;
}

.mainmodal__wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/*.mainmodal .lead {
    max-width: 100% !important;
}*/

.mainmodal .lead__fields-wrapper {
    flex-direction: row;
}

.mainmodal__lt {
    width: 100%;
}

.mainmodal__rt {
    width: 100%;
}

.mainmodal__soc {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.mainmodal__soc li {
    margin: 0!important;
}

.mainmodal__mess {
    border-radius: 16px;
    padding: 30px;
    background-color: #fff;
    color: #000;
    height: 100%;
    box-sizing: border-box;
    /*margin-top: 22px;*/
}

.mainmodal__mess > h5 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mainmodal__mess > span {
    font-size: 14px;
    color: #7b8997;
    display: block;
    margin-bottom: 30px;
}

.mainmodal__soc > li {
    margin-bottom: 12px;
}

.mainmodal__soc > li:last-child {
    margin-bottom: 0;
}

.mainmodal__soc > li > a {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.mainmodal__soc > li > a > span {
    margin-left: 8px;
}

.mainmodal__soc > li:nth-child(1) > a {
    background-color: #25D366;
    color: #fff;
    background-size: 200% 100%;
    background-position: top left;
    transition: 0.3s;
}

.mainmodal__soc > li:nth-child(1) > a:hover {
    background-color: #18b953;
}



.mainmodal__soc > li:nth-child(2) > a {
    background-color: #29A9EB;
    color: #fff;
    background-size: 200% 100%;
    background-position: top left;
    transition: 0.3s;
}

.mainmodal__soc > li:nth-child(2) > a:hover {
    background-color: #1b8cc4;
}


.mainmodal__soc > li:nth-child(3) > a {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
}

.mainmodal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
}

.mainmodal__p,
.mainmodal__mess > span {
    font-family: Inter, sans-serif;
    font-size: 14px;
}

.mainmodal__title, .mainmodal__subtitle {
    font-size: 28px;
    color: #fff;
    margin-bottom: 14px;
    font-family: "Roboto Slab", Arial, sans-serif;
    font-weight: bold;
}

.mainmodal__subtitle {
    color: black;
    font-size: 24px;
    margin-top: 0;
}

@media (max-width: 815px) {
    .mainmodal__wrap {
        flex-direction: column;
    }
    .mainmodal__lt,
    .mainmodal__rt {
        width: 100%;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {

    .mainmodal {
        padding: 21px;
        padding-top: 41px;
        background: url(images/mainmodal_mob.jpg) no-repeat 0 0;
        background-size: cover;
        margin-top: 12px;
        margin-bottom: 12px;
    }


    .mainmodal .lead__fields-wrapper {
        flex-direction: column;
    }
    
    .mainmodal__title {
        font-size: 28px;
        text-align: center;
    }
    .mainmodal__title > span,
    .mainmodal__mess > h5 {
        font-size: 20px;
        display: block;
        text-align: center;
        text-wrap: pretty;
    }
    .mainmodal__soc {
        flex-direction: column;
    }
    .mainmodal__p,
    .mainmodal__mess > span {
        font-family: Inter, sans-serif;
        font-size: 14px;
        text-align: center;
    }
    .mainmodal__close {
        top: 12px;
    }
    .mainmodal__mess {
        padding: 24px;
    }
    
    .mainmodal .lead__field-group:not(.lead__field-group:has(._number)) {
        width: 100%;
    }
}
@media (max-width: 400px) {
    .mainmodal__mess {
        padding: 16px;
    }
}

