/*
* файл содержит общие стили для всех страниц
*/

/* START  ОБНУЛЕНИЕ*/
/*Обнуление*/
* {
    /*padding: 0;*/
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
main,
nav,
section {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

a,
a:visited {
    text-decoration: none;
}

a {
    color: #000;
    background-color: transparent;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

picture,
img {
    vertical-align: top;
    border-style: none;
    max-width: 100%;
}


hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    /*display: none;*/
}

[hidden] {
    /*display: none;*/
}

/*==========================================================================*/
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    /*-webkit-appearance: none;*/
}

input::-ms-clear {
    /*display: none;*/
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

button,
input {
    /*overflow: visible;*/
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* END ОБНУЛЕНИЕ*/
/*===================================================*/


/* Обычный */
@font-face {
    font-family: 'apercu';
    font-weight: 400;
    src: url(../../assets/fonts/apercu-pro-regular.woff2);
    font-style: normal;
    font-display: swap;
}

/* Обычный */
@font-face {
    font-family: 'apercu-m';
    font-weight: 500;
    src: url(../../assets/fonts/apercu_medium_pro.woff2);
    font-style: normal;
    font-display: swap;
}

/* Жирный */
@font-face {
    font-family: 'apercubold';
    font-weight: 700;
    src: url(../../assets/fonts/apercu-pro-bold.woff2);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'apercu-600';
    font-weight: 600;
    src: url(../../assets/fonts/Apercu-Pro-Bold.woff);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'apercu-mono';
    font-weight: 400;
    src: url(../../assets/fonts/ApercuMonoPro-Regular.woff2);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'apercu-mono';
    font-weight: 500;
    src: url(../../assets/fonts/ApercuMonoPro-Medium.woff2);
    font-style: normal;
    font-display: swap;
}

body {
    display: flex;
    flex-direction: column;

}


main {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.wrapper {
    max-width: var(--conteinerWidth);
    padding-right: 50px;
    padding-left: 50px;
    margin: 0 auto;
}

.resize {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.mb-50 {
    margin-bottom: calc(30px + (50 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.mt-50 {
    margin-top: calc(30px + (50 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.mb-60 {
    margin-bottom: calc(30px + (60 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.mt-60 {
    margin-top: calc(30px + (60 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.mb-100 {
    margin-bottom: calc(30px + (100 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.mt-100 {
    margin-top: calc(30px + (100 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.title {
    font-size: 27px;
    font-family: apercu, sans-serif;
    font-weight: 400;
}

.subtitle {
    font-family: apercu, sans-serif;
    font-size: 19px;
    line-height: 140%;
}

.link {
    font-family: apercu, sans-serif;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.link_grey {
    color: #b0b0b0;
}

/*
HEADER START
*/


.header {
    width: 100%;
    max-width: var(--conteinerWidth);
    margin: 0 auto;
}

.header__top {
    padding-top: 30px;
    display: flex;
}

.logo {
    display: block;
}

.logo svg {
    width: 100%;
    height: auto;
}

.header__top .logo svg {
    width: 190px;
}

.menu_header {
    display: flex;
    align-items: center;
}

.menu__item {
    white-space: nowrap;
}

.menu_header .menu__item {
    margin-left: 100px;
}

.menu_header .menu__item:first-child {
    margin-left: 0;
}

.menu_header .menu__link {
    display: block;
    font-size: 15px;
    line-height: 150%;
}

.menu_header .menu__link:last-child {
    padding-right: 0;
}

.burger {
    display: none;
}

.menu_burger {
    margin-top: 90px;
}

.menu_burger .menu__link {
    font-size: 14px;
}

.burger-title {
    font-family: 'apercu-m', sans-serif;
    font-size: 21px;
    line-height: 110%;
    padding-top: 10px;
}

.menu_burger .menu__link {
    text-transform: uppercase;
    margin-bottom: 30px;
}

.popup-burger__logo {
    width: 200px;
    margin-bottom: 40px;
}


/*
HEADER END
*/
/*
FOOTER STAT
*/
.footer .wrapper {
    background: #f7f3f3;
    padding: 50px;
    font-size: 13px;
    line-height: 150%;
}

.footer__top {
    margin-bottom: 85px;
}

.footer__middle, .footer__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.footer__middle {
    margin-bottom: 35px;
}

.footer__logo {
    width: 167px;
}

.footer__middle-l {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.menu_footer {
    display: flex;
}

.menu_footer .menu__link {
    display: block;
    margin-left: 50px;
}

.footer__bottom {
    font-family: apercu-m, sans-serif;
}

/*
FOOTER END
*/

.scroll_up {
    color: var(--secondary);
    text-decoration: underline;
    cursor: pointer;
}

.back {
    width: 30px;
    height: 39px;
    padding: 15px 0;
    margin: 15px 0;
    cursor: pointer;
    line-height: 1;
}

.back img {
    width: 9px;
}

.back.back_burger {
    margin-top: 25px;
}

.back.back_page {
    margin-bottom: 10px;
    margin-top: 40px;
}

.underline {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 0; /* прижимаем к нижнему краю содержимого (над padding) */
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.underline:hover::after {
    width: 100%;
}

.selected {
    font-family: apercu-m, sans-serif;
}

/*.selected::after {
    width: 100%;
}*/

.btn {
    font-size: 12px !important;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--primary);
    text-align: center;
    background: transparent;
    transition: all 0.5s;
    height: 50px;
    text-decoration: unset !important;
    line-height: 1;
}

.btn:hover {
    text-decoration: underline !important;
    transition: all 0.5s;
}

.btn:target,
.btn:focus {
    text-decoration: unset !important;
}

.btn_w {
    background: #fff !important;
    color: var(--primary) !important;
}

.btn_w:target,
.btn_w:focus,
.btn_w:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transition: all 0.5s;
}

.btn_b {
    background: var(--primary) !important;
    color: #fff !important;
}


/*
 * Глобальный лоадер.
 * Он создаётся через JS внутри body и не зависит от .index.
 * Его можно использовать из любого другого скрипта:
 * window.showUinLoader();
 * window.hideUinLoader();
 */
.uin-global-loader {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .5);

    backdrop-filter: blur(1px);
}

.uin-global-loader.is-visible {
    display: flex;
}

.uin-global-loader__spinner {
    width: 70px;
    height: 70px;
    /*    border: 4px solid rgba(0, 0, 0, .14);
        border-top-color: #161616;
        border-radius: 50%;*/
    background: url("/local/assets/img/svg/loader.svg");
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    animation: uin-loader-rotate .75s linear infinite;
}

@keyframes uin-loader-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*
форма уин
*/

.uin-search-wrap {
    width: 100%;
}

.uin-search {
}


.uin-search__form {
    position: relative;
    width: 100%;
    height: 40px;
}


.uin-search__input {
    width: 100%;
    height: 100%;
    padding: 0 16px 0 50px !important;
    background: #f6f6f6;
    border-radius: 25px;
    box-sizing: border-box;
    outline: none;
    font-size: 13px !important;
    letter-spacing: 0.01em;
}

.uin-search__input::placeholder {
    font-size: 13px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.01em;
    color: #b0b0b0;
}

.uin-search__input.is-error {
    border-color: #c93030;
}

.uin-search__error {
    display: none;
    margin-top: 7px;
    color: #c93030;
    font-size: 14px;
    line-height: 1.35;
}

.uin-search__error.is-visible {
    display: block;
}

.uin-search__button {
    position: absolute;
    top: 1px;
    left: 16px;
    transform: translateY(50%);
    z-index: 2;
    cursor: pointer;
    padding: 0;
    background: transparent;
    width: 20px;
    height: 20px;
}

.uin-search__button:disabled {
    opacity: .55;
    cursor: default;
}


.b-lazy {

    transition: opacity 500ms ease-in-out;
    max-width: 100%;
    opacity: 0;
}

.b-lazy.b-loaded {
    opacity: 1;
}

.b-lazy.b-loaded {
    opacity: 1;
}

.loading {
    max-height: 100%;
    background: url("/local/assets/img/svg/loader.svg") center center no-repeat, rgba(0, 0, 0, 0.1);
}

.swiper-lazy {
    background: url("/local/assets/img/svg/loader.svg") center center no-repeat;
}

.swiper-lazy-loaded {
    background: unset;
}

.swiper-wrapper {
    height: auto;
}

.slider__dots {
    display: block;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}


.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin-right: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #fff;
    opacity: .8;
}

.swiper-pagination-bullet-active {
    background: #000;
    opacity: 0.5;
}

.overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    opacity: .2;
    background: #000;
    display: none;
    z-index: 999;
}

.popup-left {
    position: fixed;
    right: -101%;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 650px;
    background-color: #fff;
    transition-property: opacity, visibility, transform;
    transition-duration: .3s;
    visibility: hidden;
    padding: 40px;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    font-family: 'apercu', sans-serif;
    transition: all 0.5s;
    box-sizing: border-box !important;
    text-align: start;
    z-index: 1002
}

.popup-left.opened {
    transition: all 0.5s;
    visibility: visible;
    right: 0;
}


.popup-center {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 1000px;
    height: 580px;
    transform: translateY(-50%) translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition-property: opacity, visibility, z-index;
    transition-duration: .3s;
    visibility: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: 'apercu', sans-serif;
    transition: all 0.2s;
    box-sizing: border-box !important;
    opacity: 0;
    z-index: -100;
    max-width: 95vw;
    max-height: 95vh;
}

.popup-center.full {
    transition: all 0.5s;
}

.popup-center.opened {
    transition: all 0.2s;
    visibility: visible;
    z-index: 1000;
    opacity: 1;
}

.popup-center .close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 1001;
}

.box {
    padding: 15px;
    background: #f7f3f3;
    line-height: 130%;
    margin-bottom: 30px;
}

.box_grey {
    background: #f6f6f6;
}

.box__title {
    font-family: apercu, sans-serif;
    font-size: 13px;
    margin-bottom: 10px;
}

.box__text a {
    text-decoration: underline;
}

.box__item {
    display: flex;
    font-size: 13px;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}

.box__item:last-child {
    margin-bottom: 0;
}

.box__item .box__text {
    padding-left: 5px;
}

.box__item .box__before {
    width: 15px;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 15px;
    padding-top: 3px;
}

.box__item .box__text,
.box__item .box__before {
    display: block;
}

.sub_text {
    font-size: 13px;
    line-height: 110%;
    text-align: center;
    color: #b0b0b0;
    margin-top: 5px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    font-size: 16px;
    line-height: 120%;
    padding: 0 10px;
    margin-bottom: 30px;
    height: 40px;
}

.is-invalid {
    border: 1px solid red !important;
}

input:disabled {
    background: var(--grey);
}

input::placeholder {
    color: var(--secondary);
}

.result {
    font-size: 14px;
    padding-bottom: 10px;
}

.result-ok {
    color: green;
}

.result-error {
    color: red;
}

.form-group label.error {
    bottom: 5px;
}

label.error {
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: red;
}

.form-group {
    position: relative;
}

.scroll {
    margin-top: 230px;
}

@media screen and (max-width: 1920px) {
    .menu_header .menu__item {
        margin-left: calc(1px + (100 - 1) * ((100vw - 360px) / (1920 - 360)));
    }
}

@media screen and (max-width: 1024px) {
    .wrapper {
        padding-right: 40px;
        padding-left: 40px;
    }

    .burger {
        display: flex;
        align-items: center;
    }

    .footer__bottom-r,
    .menu_header {
        display: none;
    }

    .scroll {
        margin-top: 100px;
    }
}

@media screen and (max-width: 1024px) {
    .sub_text {
        font-size: 11px;
    }
}

@media screen and (max-width: 911px) {
    body {
        line-height: 140%;
    }

    .btn {
        font-size: 11px !important;
    }

    .header__top .logo svg {
        width: 170px;
    }

    .title {
        font-size: 21px;
    }

    .subtitle {
        font-size: 16px;
    }

    .back.back_page {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .footer__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__top {
        margin-bottom: 55px;
        order: 0;
    }

    .footer__middle {
        margin-bottom: 0;
        order: 2;
    }

    .footer__bottom {
        order: 1;
    }

    .footer__middle-l {
        display: none;
    }

    .footer__middle-r br {
        display: none;
    }

    .menu_footer {
        flex-direction: column;
        align-items: center;
    }

    .menu_footer .menu__link {
        margin-left: 0;
        margin-bottom: 5px;
    }

    .scroll {
        margin-top: 70px;
    }
}


@media screen and (max-width: 700px), (max-width: 850px) and (max-height: 500px) {
    .wrapper {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header__top .logo svg {
        width: 150px;
    }


    .menu_burger {
        margin-top: 30px;
    }

    .burger-title {
        margin-bottom: 75px;
    }

    .popup-burger__logo {
        width: 155px;
        margin-bottom: 30px;
    }

    .popup-left {
        padding: 30px 15px;
    }

    .box {
        padding: 15px 10px;
    }

    .back.back_page {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .back.back_burger {
        margin-top: 15px;
        margin-bottom: 0;
    }

    .scroll {
        margin-top: 50px;
    }

    .uin-search__input::placeholder,
    .uin-search__input {
        font-size: 11px !important;
    }

    .sub_text {
        font-size: 13px;
    }
}
