body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'HeliosExtC';
    background-color: #FFF;
    color: #999;
}

html.scroll-lock,
body.scroll-lock {
    overflow: hidden;
    touch-action: none;
}
body.scroll-lock {
    padding-right: var(--win-sbw, 0px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.8rem;
    background-color: #fff;
    padding-top: 1.92rem;
    padding-bottom: 1.92rem;
    transition:
        padding-top 0.3s ease,
        padding-bottom 0.3s ease;
    color: #000;
    white-space: nowrap;
}
.header.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
body.scroll-lock .header {
    right: var(--win-sbw);
}

#header-offset {
    height: calc(2.64rem + 1.92rem*2);
}

.header__logos {
    position: relative;
    order: 5;
    transition: all 0.3s ease;
    aspect-ratio: 233/33;
    height: 2.64rem;
}
.header.scrolled .header__logos {
    height: 2rem;
}
.header__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.header .header__logo--white {
    opacity: 0;
}
.header .header__logo--black {
    opacity: 1;
}

.header__streach {
    display: none;
}

.header__menu {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    order: 10;
}
.header__menu ul.menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.header__menu ul.menu a {
    font-family: HeliosExtC;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}
.header__menu ul.menu .current-menu-parent > a,
.header__menu ul.menu .current-menu-item > a {
    font-weight: 700;
}
.header__menu ul.menu > li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.header__menu ul.menu .header__menu-item-arrow {
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 5px;
    transition: all 0.3s ease;
}
.header__menu li:hover .header__menu-item-arrow {
    transform: rotate(180deg);
}
.header__menu ul.menu > li:hover .header__menu-item-arrow {
    color: #0069FF !important;
}
.header__menu ul.sub-menu {
    display: none;
}
.header__menu li:hover > ul.sub-menu {
    position: absolute;
    list-style: none;
    top: 100%;
    left: calc(100% - 4.5px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    background: #0069FF;
    z-index: 100;
    margin: 0;
    max-width: 360px;
    width: 100vw;
}
.header__menu li:hover > ul.sub-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #0069FF;
}
.header__menu ul.sub-menu li {
    display: flex;
}
.header__menu ul.sub-menu a {
    white-space: break-spaces;
    color: #FFF;
    font-family: HeliosExtC;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    width: 100%;
    display: inline-block;
    padding: 0.5rem 0.875rem;
}
.header__menu ul.sub-menu li:first-child a {
    padding-top: 0.75rem;
}
.header__menu ul.sub-menu li:last-child a {
    padding-bottom: 0.75rem;
}
.header__menu ul.sub-menu li:hover a,
.header__menu ul.sub-menu a:hover {
    color:#A9D0FF !important;
}
.header__menu ul.sub-menu .current-menu-item > a {
    font-weight: 700;
}

.header-search {
    order: 15;
}
.header-search__panel {
    display: none;
}
.header-search__ctrl:checked ~ .header-search__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    z-index: 1200;
}
.header-search__input {
    flex-grow: 1;
    border: none;
    border-bottom: 2px solid #000;
    outline: none;
    background: transparent;
    font-family: HeliosExtC;
    font-size: 1.2rem;
    color: #000;
    padding: 0.25rem 0;
}
.header-search__input:focus {
    font-size: 1.2rem;
}
.header-search__input::placeholder {
    color: #999;
}
.header-search__submit {
    padding: 0.6rem 1.4rem;
    background: transparent;
    border: 2px solid #000;
    font-family: HeliosExtC;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.header-search__submit:focus {
    font-size: 0.8rem;
}
.header-search__submit:hover {
    background: #000;
    color: #fff;
}
.header-search__toggle,
.header-search__close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
}

.header__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 10px;
    order: 20;
    position: relative;
}
.header__phone {
    font-family: Roboto;
    font-size: 0.96rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 24px */
}
.header__address {
    font-family: Roboto;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
}

.header-mobile {
    position: fixed;
    top: 0;
    right: -150%;
    height: 100dvh;
    width: 100%;
    max-width: 26.25rem;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    overflow-y: auto;
    background-image: url("../images/or-logo-1.svg");
    background-repeat: no-repeat;
    background-size: 180%;
    background-position: 72% 22%;
}
.header-mobile__ctrl:checked ~ .header-mobile {
    right: 0;
}

.header-mobile__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);
    padding: 0.8rem;
}

.header-mobile__toggle {
    display: block;
    width: 1.2rem;
    height: 0.88rem;
    order: 25;
}
.header-mobile__toggle .nav-bars {
    /*position: fixed;*/
    z-index: auto;
}

.header-mobile__back {
    position: fixed;
    top: 0;
    right: -150%;
    width: 100vw;
    height: 100vh;
    background: #0808087d;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.header-mobile__ctrl:checked ~ .header-mobile__back {
    z-index: 999;
    opacity: 1;
    right: 0;
}

.header-mobile__logo {
    max-width: 80%;
}

.header-mobile__menu {
    display: flex;
}
.header-mobile__menu ul.menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #000;
    font-family: HeliosExtC;
    font-size: 1.44rem;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    white-space: break-spaces;
    width: 100%;
    background-color: #fff;
}
.header-mobile__menu ul.menu > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 1rem;
    width: 100%;
    padding: 0 0.8rem 0 2.48rem;
    border-bottom: 1px solid #0069FF;
}
.header-mobile__menu ul.menu > li.current-menu-parent,
.header-mobile__menu ul.menu > li.current-menu-item {
    font-weight: 700;
}
.header-mobile__menu ul.menu > li > a {
    width: calc(100% - 2rem);
    padding: 1.08rem 0 1.08rem 0;
}
.header-mobile__menu-item-arrow {
    height: 1rem;
    width: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.header-mobile__menu ul.menu > li.is-open .header-mobile__menu-item-arrow {
    transform: rotate(-90deg);
}
.header-mobile__menu ul.sub-menu {
    list-style: none;
    height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #999;
    font-family: HeliosExtC;
    font-size: 1.44rem;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 25px */
}
.header-mobile__menu ul.sub-menu > li {
    padding: 0.25em 0;
}
.header-mobile__menu ul.sub-menu > li.current-menu-item {
    font-weight: 700;
}
.header-mobile__menu ul.sub-menu > li:first-child {
    padding-top: 0.36rem;
}
.header-mobile__menu ul.sub-menu > li:last-child {
    padding-bottom: 1.44rem;
}

.header-mobile__streach {
    flex-grow: 1;
}

.header-mobile__info {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}
.header-mobile__phone {
    color: #000;
    font-family: Roboto;
    font-size: 1.44rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 24px */
}
.header-mobile__address {
    color: #000;
    font-family: Roboto;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
}

.header-mobile__slogan {
    padding: 4.04rem 1.6rem 4.04rem 2.48rem;
    color: #0069FF;
    font-family: HeliosExtC;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 31.25px */
}

.header-mobile__svg {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -5;
    pointer-events: none;
}
.header-mobile__svg svg {
    position: absolute;
    display: block;
    width: 180%;
    height: 180%;
    left: -63%;
    bottom: -58%;
    overflow: visible;
}

@media ( min-width: 1441px ) {
    .header__address {
        position: absolute;
        top: 100%;
        margin-top: 10px;
    }
    .header-mobile__toggle {
        display: none;
    }
}

@media ( max-width: 1440px ) {
    .header {
        gap: 1rem;
    }
    .header__streach {
        display: block;
        flex-grow: 1;
        order: 7;
    }
    .header__menu {
        display: none;
    }
    .header-search {
        order: 23;
    }
}

@media ( max-width: 991px ) {
    .header {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    #header-offset {
        height: calc(2.64rem + 1.25rem*2);
    }
}

@media ( max-width: 576px ) {
    .header__info {
        display: none;
    }
}

#content {
    flex-grow: 1;
}
#content > :last-child {
    margin-bottom: 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 2.56rem 4%;
    flex-wrap: wrap;
    padding-top: 3rem;
    padding-bottom: 2.756rem;
    border-top: 1px solid #999;
    margin-top: 5.2rem;
}
#p-404 .footer {
    margin-top: 0 !important;
}
#p-wip .footer {
    margin-top: 0 !important;
}

.footer__contacts {
    width: calc(400 / 1540 * 100%);
}

.footer__menu {
    width: calc(300 / 1540 * 100%);
}
.footer__menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}
.footer__menu ul li a {
    color: #999;
    font-family: HeliosExtC;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 400;
    line-height: 175%; /* 24.5px */
    display: inline-block;
}
.footer__menu > ul > li > a {
    color: #000;
    font-family: HeliosExtC;
    font-size: 1.12rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 42px */
    margin-bottom: 0.88rem;
}

.footer__siteinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer__logo-bottom {
    width: 100%;
    margin-top: 0.44rem;
}

.footer__logo {
    height: 2.6rem;
    aspect-ratio: 298/65;
    max-width: 100%;
}
.footer__address {
    color: #999;
    font-family: HeliosExtC;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
    margin-bottom: 0.44rem;
}
.footer__map {
    height: 89px;
    aspect-ratio: 400/89;
}

.footer__copyright {
    color: rgba(0, 0, 0, 0.50);
    font-family: HeliosExtC;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    text-align: left;
}
.footer__privacy-policy {
    color: rgba(0, 0, 0, 0.50);
    font-family: HeliosExtC;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    text-align: right;
}

@media ( max-width: 1440px ) {
    .footer__map {
        aspect-ratio: 355/89;
    }
}

@media ( max-width: 991px ) {
    .footer {
        padding-top: 2.27rem;
        padding-bottom: 1.297rem;
        gap: 2.27rem 1.815rem;
        margin-top: 2.835rem;
    }
    .footer__contacts {
        width: calc(50% - 1.815rem/2);
    }

    .footer__menu {
        width: calc(50% - 1.815rem/2);
    }
    .footer__menu ul li a {
        font-size: 1rem;
    }
    .footer__menu > ul > li > a {
        font-size: 2rem;
    }

    .footer__logo {
        height: 3.69rem;
        aspect-ratio: 298/65;
    }

    .footer__map {
        aspect-ratio: 302/89;
    }

    .footer__siteinfo {
        flex-direction: column;
        align-items: center;
        gap: 1.134rem;
        margin-top: 1.134rem;
    }
    
    .footer__address {
        font-size: 1rem;
    }

    .footer__copyright {
        text-align: center;
        font-size: 1rem;
    }
    .footer__privacy-policy {
        text-align: center;
        font-size: 1rem;
    }
}

@media ( max-width: 576px ) {
    .footer {
        flex-direction: column;
        padding-top: 3.75rem;
        padding-bottom: 2.5rem;
        gap: 2.5rem;
        margin-top: 2.5rem;
    }

    .footer__contacts {
        width: 100%;
    }

    .footer__menu {
        width: 100%;
    }

    .footer__siteinfo {
        margin-top: 1.25rem;
        gap: 2.5rem;
    }

    .footer__map {
        aspect-ratio: 355/89;
    }
}



[btd-popup].open {
    padding: 3% 3% 5% 3%;

    display: block;
    overflow-y: auto;
}
[btd-popup] .popup__container {
    max-height: 80dvh;
    height: 100%;
    max-width: min(90vw, 27rem);
    width: auto;
    border: none;
    background: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: popupFadeIn .25s ease-out;
    padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    background: #fff;

    max-height: none;
    margin: 0 auto;
    height: auto;
}
[btd-popup] .popup__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
[btd-popup] .popup__title {
    font-family: HeliosExtC;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 120%;
    color: #000;
    padding-right: 2rem;
}
[btd-popup] .popup__close {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0;
    cursor: pointer;
}
[btd-popup] .close:before,
[btd-popup] .popup__close:before {
    content: '';
    display: none;
}
[btd-popup] .popup__content {
    padding: 2.25rem 2.5rem 2.75rem 2.5rem;
    border-radius: 1.25rem;
    max-width: 32rem;
    overflow-x: auto;
    height: 100%;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 576px) {
    [btd-popup] .popup__container {
        padding: 1.75rem 1.5rem 2rem;
        border-radius: 1rem;
    }

    [btd-popup] .popup__title {
        font-size: 1.1rem;
    }
}

.wpcf7 form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.wpcf7 form label {
    display: block;
    width: 100%;
}
.wpcf7 form label > * {
    display: block;
    width: 100%;
}

.wpcf7 form .form__group {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}
.wpcf7 form .form__group > .form__label {
    width: calc(50% - 2rem/2);
}

@media (max-width: 576px) {
    .wpcf7 form .form__group {
        display: flex;
        flex-direction: column;
    }
    .wpcf7 form .form__group > .form__label {
        width: 100%;
    }
}

.wpcf7 form p {
    margin-bottom: 0;
}

.wpcf7 form input,
.wpcf7 form textarea {
    border: 2px solid #999;
    color: #999;
    font-family: HeliosExtC;
    font-size: 0.96rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 36px */
    padding: 0.8rem;
    width: 100%;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus {
    border: 2px solid #0069FF;
}

.wpcf7 form textarea {
    height: 7.4rem;
    max-height: 250px;
    min-height: 48px;
    max-width: 100%;
    width: 100%;
}

.wpcf7 form input[type="submit"] {
    border: 2px solid #0069FF;
    background: #0069FF;
    padding: 0.8rem 5.6rem;
    color: #FFF;
    font-family: HeliosExtC;
    font-size: 0.96rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 36px */
    align-self: center;
    max-width: 17rem;
}

.wpcf7 form input[type="checkbox"] {
    border: 1px solid #999;
    background: rgba(255, 255, 255, 0.90);
    width: 15px;
    height: 15px;
}

.wpcf7 form ::placeholder {
    color: #999;
}

.wpcf7 form .form-consent {
    color: #999;
    font-family: HeliosExtC;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    display: flex;
    align-items: unset;
    gap: 10px;
}
.wpcf7 form .form-consent a {
    font-weight: 700;
}

.wpcf7 form .wpcf7-not-valid-tip {
    margin-top: 0.5rem;
    font-family: HeliosExtC;
    font-size: 0.64rem;
    font-weight: 400;
    line-height: 150%;
    color: #D32F2F;
}
.wpcf7 form .wpcf7-not-valid {
    border-color: #D32F2F !important;
    color: #D32F2F;
}
.wpcf7 form .form-consent + .wpcf7-not-valid-tip,
.wpcf7 form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    margin-left: 25px; /* отступ от чекбокса */
}
.wpcf7 form .wpcf7-not-valid-tip {
    animation: wpcf7ErrorFadeIn 0.2s ease-out;
}

@keyframes wpcf7ErrorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 0.8rem 1.2rem;
    border: 2px solid #999;
    color: #999;
    font-family: HeliosExtC;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
}
.wpcf7 form .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7 form .wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7 form .wpcf7-response-output.wpcf7-aborted {
    border-color: #D32F2F;
    color: #D32F2F;
}
.wpcf7 form .wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #0069FF;
    color: #0069FF;
}
.wpcf7 form .wpcf7-response-output {
    animation: wpcf7ResponseFadeIn 0.25s ease-out;
}

@keyframes wpcf7ResponseFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.wpcf7 form .wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
}
.wpcf7 form .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    display: block;
}