.footer-legacy {
    display: none !important;
}

.footer-redesign__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    text-decoration: none;
}

.footer-redesign__brand::after {
    content: "МЕДТЕХ\A МЕДИЦИНА БУДУЩЕГО";
    white-space: pre;
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
}

.footer-redesign__brand img {
    width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
}

.footer-redesign .footer_form_desc {
    display: none !important;
}

.footer-redesign {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #0d032e;
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
}

.footer-redesign__top,
.footer-redesign__bottom {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
}

.footer-redesign__top {
    display: grid;
    grid-template-columns: 190px 390px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    min-height: 136px;
    padding: 0;
}

.footer-redesign__brand {
    display: block;
    width: 170px;
}

.footer-redesign__brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-redesign__offer {
    min-width: 0;
}

.footer-redesign__eyebrow {
    display: block;
    width: 26px;
    height: 2px;
    margin-bottom: 6px;
    background: #00b9ed;
}

.footer-redesign__offer h2 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.1;
}

.footer-redesign__offer p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.25;
}

.footer-redesign__form,
.footer-redesign__form .style-callback5 {
    min-width: 0;
    width: 100%;
}

.footer-redesign__form .style-callback5 form {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

.footer-redesign__form .style-callback5 .form-body,
.footer-redesign__form .style-callback5 .form-body .inpt_wrpr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 240px !important;
    align-items: center !important;
    gap: 13px !important;
    width: 100%;
}

.footer-redesign__form .style-callback5 .form-body .inpt_wrpr {
    display: flex !important;
    grid-column: 1;
    gap: 13px !important;
}

.footer-redesign__form .style-callback5 .form-body .inpt_wrpr > :nth-child(3) {
    display: none !important;
}

.footer-redesign__form .style-callback5 select,
.footer-redesign__form .style-callback5 [name*="industry"],
.footer-redesign__form .style-callback5 [name*="task"] {
    display: none !important;
}

.footer-redesign__form input:not([type="submit"]),
.footer-redesign__form select {
    box-sizing: border-box;
    min-width: 0;
    width: 100% !important;
    height: 36px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(48, 32, 91, .72) !important;
    border-radius: 4px !important;
    outline: none;
    background: transparent !important;
    color: #d8d2ec !important;
    font: 14px 'Circe', Arial, sans-serif !important;
}

.footer-redesign__form .style-callback5 .form-body .inpt_wrpr input[type="text"] {
    flex: 1 1 0;
    width: auto !important;
    margin: 0 !important;
}

.footer-redesign__form input::placeholder {
    color: #d8d2ec;
    opacity: 1;
}

.footer-redesign__form select option {
    color: #101a3c;
}

.footer-redesign__form input[type="submit"],
.footer-redesign__form .send_btn,
.footer-redesign__form button[type="submit"] {
    grid-column: 2;
    width: 240px !important;
    flex: 0 0 240px;
    height: 36px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #7f89cc !important;
    color: #0d032e !important;
    font: 600 14px 'Circe', Arial, sans-serif !important;
    cursor: pointer;
}

.footer-redesign__form .send_btn svg,
.footer-redesign__form button[type="submit"] svg {
    display: inline-block;
    width: 16px;
    height: 10px;
    margin-left: 0;
    vertical-align: middle;
}

.footer-redesign__form input[type="submit"]:hover,
.footer-redesign__form .send_btn:hover,
.footer-redesign__form button[type="submit"]:hover {
    background: #7f89cc !important;
    color: #0d032e !important;
}

.footer-redesign__bottom {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) auto auto auto;
    align-items: center;
    gap: 30px;
    min-height: 40px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-redesign__nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-redesign__nav a,
.footer-redesign__email,
.footer-redesign__phone,
.footer-redesign__copyright {
    color: #211a43;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.footer-redesign__nav a {
    color: #ffffff !important;
}

.footer-redesign__email,
.footer-redesign__phone,
.footer-redesign__copyright {
    color: #ffffff !important;
}

.footer-redesign__nav a:hover,
.footer-redesign__email:hover,
.footer-redesign__phone:hover {
    color: #ffffff;
}

.footer-redesign__nav a:hover {
    color: #728CC1 !important;
}

.footer-redesign__email:hover,
.footer-redesign__phone:hover {
    color: #728CC1 !important;
}

.footer-redesign__copyright {
    justify-self: end;
}

.footer-redesign__form .style-callback5 .form-body .inpt_wrpr input[type="text"] {
    border: 1px solid rgba(255, 255, 255, .12)!important;
}

.exform_wrapper.style-callback5 .mf_submit .send_btn {
    background-color: #00a9df !important;
}

@media (max-width: 1200px) {
    .footer-redesign__top {
        grid-template-columns: 160px 300px minmax(0, 1fr);
        gap: 22px;
    }

    .footer-redesign__brand {
        width: 150px;
    }

    .footer-redesign__nav ul {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .footer-redesign__top {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 28px 0;
    }

    .footer-redesign__form {
        grid-column: 1 / -1;
    }

    .footer-redesign__bottom {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        padding: 18px 0;
    }

    .footer-redesign__nav {
        grid-column: 1 / -1;
    }
}

.footer-redesign__form .send_btn,
.footer-redesign__form button[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 !important;
}

@media (max-width: 600px) {
    .footer-redesign__top,
    .footer-redesign__bottom {
        width: min(100% - 32px, 480px);
    }

    .footer-redesign__top {
        display: block;
    }

    .footer-redesign__offer {
        margin-top: 22px;
        margin-bottom: 20px;
    }

    .footer-redesign__form .style-callback5 form,
    .footer-redesign__form .style-callback5 .form-body,
    .footer-redesign__form .style-callback5 .form-body .inpt_wrpr {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .footer-redesign__form input[type="submit"],
    .footer-redesign__form .send_btn,
    .footer-redesign__form button[type="submit"] {
        width: 100%;
    }

    .footer-redesign__bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-redesign__nav ul {
        flex-wrap: wrap;
        gap: 14px 24px;
    }
}

@media (min-width: 901px) {
    .footer-redesign__bottom {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
    }

    .footer-redesign__copyright {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-redesign__nav ul {
        gap: 60px;
    }
}

@media (max-width: 900px) {
    .footer-redesign__form .style-callback5 form,
    .footer-redesign__form .style-callback5 .form-body {
        display: block !important;
        width: 100% !important;
    }

    .footer-redesign__form .style-callback5 .form-body .inpt_wrpr {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .footer-redesign__form .style-callback5 .form-body .inpt_wrpr input[type="text"] {
        width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .footer-redesign__form .style-callback5 .mf_submit {
        width: 100% !important;
        margin-top: 12px !important;
    }

    .footer-redesign__form input[type="submit"],
    .footer-redesign__form .send_btn,
    .footer-redesign__form button[type="submit"] {
        display: block !important;
        width: 100% !important;
        grid-column: auto !important;
    }
}

.footer-redesign .footer-redesign__top .exform_wrapper.style-callback5 .mf_submit .send_btn:hover {
    background-color: #18b9e8!important;
    color: #031a36!important;
}

.footer-redesign .footer-redesign__brand::after {
    content: none !important;
}

.footer-redesign .footer-redesign__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
}

.footer-redesign .footer-redesign__brand img {
    width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
    filter: none !important;
}

.footer-redesign .footer-redesign__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
}

.footer-redesign .footer-redesign__brand img {
    width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
}
