/**
Theme Name: main
Author: Noname
*/
:root {
    /*--color-main: #bc9e73;*/
    --color-main: #68544b;
    --color-main-light: #c9bbb5;
    --color-backdrop: #e4ddda;
    --color-extra: #e4e3e3;
    --gap: 0;

    --container: 1440px;
}

*, *::after, *::before {
    box-sizing: border-box;
    /*line-height: 1.5;*/
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
p:first-child { margin-top: 0; }
p:only-child { margin-bottom: 0; }
button, input, textarea {
    border: none;
    padding: 0;
    font: inherit;
    background: none;
    outline: none;
    color: inherit;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
input[type=button], button {
    cursor: pointer;
}

@media screen and (min-width: 1440px) {
    :root {
        --container: 1920px;
    }
    html { font-size: clamp(1rem, 1.125vw, 20px); }
}

.h2 {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.375;
    text-transform: uppercase;
    color: #c9bbb5;
}
.h2:first-child {
    margin-top: 0;
}
.h2::after {
    content: '';
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: 2rem;
    display: block;
    height: 1px;
    background: #c9bbb555;
    flex: 1;
}
.h2::first-letter {
    font-weight: bold;
    font-size: 1.25em;
}
.h2_reverse {
    /*flex-direction: row-reverse;*/
}
.h2_reverse::before {
    content: '';
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-right: 2rem;
    display: block;
    height: 1px;
    background: #c9bbb555;
    flex: 2;
}
.h2_reverse::after {
    flex: 1;
}
.h2_center {

}
.h3 {
    margin-bottom: .75em;
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--color-main-light);
}
.h3:first-child {
    margin-top: 0;
}
.h3:only-child {
    margin-bottom: 0;
}

@media screen and (min-width: 640px) {
    .h2 {
        font-size: 1.875rem;
    }
}

.section {
    padding: 2rem 0;
    overflow: hidden;
}
.container {
    margin: auto;
    max-width: var(--container);
    padding: 0 1.5rem;
    width: 100%;
}

@media screen and (min-width: 640px) {
    .section { padding: 4rem 0; }
    .container { padding: 0 2rem; }
}
@media screen and (min-width: 768px) {
    .h2 { font-size: 2.5rem; }
}

.icon {
    width: 100%;
    height: 100%;
}
.icon_inline {
    width: 1em;
    height: 1em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    padding: .75em 1.25em;
    background: var(--color-main-light);
    color: var(--color-main);
    cursor: pointer;
    transition: .3s;
    text-align: center;
}
.btn:hover {
    background: var(--color-main);
    color: var(--color-main-light);
}
.btn_inverse {
    box-shadow: 0 0 0 2px var(--color-main-light) inset;
    background: transparent;
    color: var(--color-main-light);
}
.btn_inverse:hover {
    background: var(--color-main-light);
    color: var(--color-main);
}
.btn_stretch {
    width: 100%;
}
.btn__icon {
    margin-right: .375em;
    display: inline-flex;
    vertical-align: bottom;
    font-size: 1.5em;
}
.btn:has(>.btn__icon) {
    padding-left: 1em;
}

.btn_book {
    background: #128c7e;
    color: #fff;
}

.social-link {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-gap: .5em;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000a;
    backdrop-filter: blur(2px);
    cursor: url("data:image/svg+xml,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.514.535l-6.42 6.42L2.677.536a1.517 1.517 0 00-2.14 0 1.517 1.517 0 000 2.14l6.42 6.419-6.42 6.419a1.517 1.517 0 000 2.14 1.517 1.517 0 002.14 0l6.419-6.42 6.419 6.42a1.517 1.517 0 002.14 0 1.517 1.517 0 000-2.14l-6.42-6.42 6.42-6.418a1.517 1.517 0 000-2.14 1.516 1.516 0 00-2.14 0z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E"),auto;

    visibility: hidden;
    opacity: 0;
    transition: .3s;
}
.backdrop.active {
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

/* Selector component */
.selector {
    position: relative;
    width: 100%;
    max-width: 100%;
    color: var(--color-main);
}
.selector__choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--color-main-light);
    padding: 1rem;
    border-radius: .25rem;
    height: 3rem;
    /*background: var(--color-backdrop);*/
    background: #f6f5f4;
    cursor: pointer;
    transition: .3s;
    color: #000a;
    line-height: 1;
}
.selector.active .selector__choice {
    color: inherit;
}
.selector__choice:hover, .selector.active .selector__choice {
    background: var(--color-backdrop);
}
.selector__choice::before {
    content: '';
    margin-left: auto;
    order: 1;
}
.selector__choice::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="1"><path fill-rule="evenodd" d="M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z" clip-rule="evenodd" /></svg>');
    /*content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" /></svg>');*/
    /*transform: translateX(30%);*/
    margin-left: .5em;
    width: 1em;
    height: 1em;
    opacity: .6;
    transition: .3s;
    order: 1;
}
.selector.active .selector__choice::after {
    transform: rotate(180deg);
    opacity: .9;
}
.selector__list {
    position: absolute;
    top: calc(100% + 10px);
    width: 100%;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    transform: translateY(10px) scale(.95);
}
.selector.active .selector__list {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.selector-list {
    border-radius: 10px;
    padding: 10px;
    max-height: 320px;
    background: #fff;
    backdrop-filter: blur(1px);
    box-shadow: 0 1px 1px 2px #0001;
    overflow: auto;
}
.selector-list__item {
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 10px 5px;
    cursor: pointer;
    transition: .2s;
}
.selector-list__item:empty {
    height: 2em;
}
.selector-list__item:hover {
    background: var(--color-backdrop);
}
.selector-list__item::before {
    content: '';
    position: relative;
    bottom: .2em;
    transform: translateY(10%);
    margin-right: .75rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: text-bottom;
}
.selector-list__item:first-child[data-value=""] {
    color: #0007;
}
.selector-list__item.selected::before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" /></svg>');
}
.selector__control {
    display: none;
    appearance: none;
    -webkit-appearance: none;
}

@media screen and (min-width: 480px) {
    .selector {
        max-width: 360px;
    }
    /*.selector__choice {
        padding: 10px 20px;
    }*/
    .selector-list {
        background: #fffe;
    }
    .selector-list__item {
        padding: 5px;
    }
}
/* /Selector component */

.contact {
    display: flex;
}
.contact__icon {
    align-self: baseline;
    margin-right: .5em;
    display: flex;
    border-radius: .25rem;
    padding: .375rem;
    font-size: 1.125em;

    background: var(--color-main-light);
    fill: currentColor;
}
.contact__icon:only-child {
    margin: 0;
}

.max-w-xs { max-width: 480px; }

.gap-0\.5 { --gap: .5rem; }
.gap { --gap: 1rem; }
.gap-1\.5 { --gap: 1.5rem; }
.gap-2 { --gap: 2rem; }
.gap-3 { --gap: 3rem; }

@media screen and (min-width: 640px) {
    .sm\:gap-2 { --gap: 2rem; }
}
@media screen and (min-width: 768px) {
    .md\:gap-1\.5 { --gap: 1.5rem; }
    .md\:gap-2 { --gap: 2rem; }
    .md\:gap-3 { --gap: 3rem; }
}
@media screen and (min-width: 1024px) {
    .lg\:gap-1\.5 { --gap: 1.5rem; }
    .lg\:gap-2 { --gap: 2rem; }
    .lg\:gap-3 { --gap: 3rem; }
}
@media screen and (min-width: 1280px) {
    .xl\:gap-2 { --gap: 2rem; }
    .xl\:gap-3 { --gap: 3rem; }
}

.r {
    display: flex;
    flex-wrap: wrap;
    margin: calc(var(--gap) * -.5);
}
.r_only { flex-wrap: nowrap; }
.r_col { flex-direction: column; }
.r_space { justify-content: space-between; }
.r_center {
    justify-content: center;
    align-items: center;
}
.c, [class*="c-"], [class*=":c"] {
    padding: calc(var(--gap) * .5);
    width: 100%;
    flex: none;
}
.c {
    width: initial;
}
/*@media {
    [class$=":c"], [class*=":c "] {
        width: initial;
    }
}*/
.c_stretch { flex: 1; }
.c_shrink { flex: 0; }

.c-3 { max-width: 25%; }
.c-4 { max-width: calc(100% / 3); }
.c-5 { max-width: calc(100% * 5 / 12); }
.c-6 { max-width: 50%; }
.c-7 { max-width: calc(100% * 7 / 12); }
.c-8 { max-width: calc(100% * 2 / 3); }
.c-9 { max-width: calc(100% * 3 / 4); }
.c-12 { max-width: 100%; }

@media screen and (min-width: 640px) {
    .sm\:c { width: initial; }
    .sm\:c-5 { max-width: calc(100% * 5 / 12); }
    .sm\:c-6 { max-width: 50%; }
    .sm\:c-7 { max-width: calc(100% * 7 / 12); }

    .sm\:c_stretch { flex: 1; }
}
@media screen and (min-width: 768px) {
    .md\:c { width: initial; }
    .md\:c-4 { max-width: calc(100% / 3); }
    .md\:c-5 { max-width: calc(100% * 5 / 12); }
    .md\:c-6 { max-width: 50%; }
    .md\:c-7 { max-width: calc(100% * 7 / 12); }
    .md\:c-8 { max-width: calc(100% * 3 / 4); }
}
@media screen and (min-width: 1024px) {
    .lg\:c { width: initial; }
    .lg\:c-3 { max-width: 25%; }
    .lg\:c-4 { max-width: calc(100% / 3); }
    .lg\:c-5 { max-width: calc(100% * 5 / 12); }
    .lg\:c-7 { max-width: calc(100% * 7 / 12); }
    .lg\:c-9 { max-width: 75%; }
    .lg\:c-12 { max-width: 100%; }
}
@media screen and (min-width: 1280px) {
    .xl\:c-3 { max-width: 25%; }
    .xl\:c-4 { max-width: calc(100% / 3); }
    .xl\:c-8 { max-width: calc(100% * 2 / 3); }
}

@supports (aspect-ratio: auto) {
    .ar-sd { aspect-ratio: 4/3; }
    .ar-sdr { aspect-ratio: 3/4; }
    .ar-square { aspect-ratio: 1/1; }
}
@supports not (aspect-ratio: auto) {
    *:has([class*="ar-"]) {
        display: flex;
    }
    [class*="ar-"] {
        display: block;
        height: 100%;
    }
    *:has(.ar_sd)::after {
        content: '';
        padding-top: calc(3 / 4 * 100%);
    }
    *:has(.ar-sdr)::after {
        content: '';
        padding-top: calc(4 / 3 * 100%);
    }
    *:has(.ar-square)::after {
        content: '';
        padding-top: 100%;
    }
}

.resize-animation-stopper :not(.animation) {
    animation: none !important;
    transition: none !important;
}

/* Modal */
.modal {
    padding: 1.5rem 1.5rem;
    cursor: initial;
    overflow: hidden;
    display: none;
}
.modal_info {
    max-width: 420px;
}
.modal__header {
    font-size: 1.125rem;
    font-weight: 500;
}
.modal__body {
    margin-top: 1rem;
}
.modal_showroom {
    max-width: 380px;
    width: 100%;
}
.modal_booking {
    max-width: 380px;
    width: 100%;
}
.modal_info .modal__header {
    margin: -1rem -1.25rem 1rem;
    border-bottom: 1px solid var(--color-main-light);
    padding: 1rem 1.25rem 1rem;
    text-align: center;
    background: var(--color-backdrop);
    color: var(--color-main);
}
.modal a.close-modal {
    top: .825rem;
    right: .825rem;
    width: 30px;
    height: 30px;
    background-size: 50%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 320.591 320.591" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M30.391 318.583a30.37 30.37 0 0 1-21.56-7.288c-11.774-11.844-11.774-30.973 0-42.817L266.643 10.665c12.246-11.459 31.462-10.822 42.921 1.424 10.362 11.074 10.966 28.095 1.414 39.875L51.647 311.295a30.366 30.366 0 0 1-21.256 7.288z" fill="%23000000" opacity="1" data-original="%23000000" class=""></path><path d="M287.9 318.583a30.37 30.37 0 0 1-21.257-8.806L8.83 51.963C-2.078 39.225-.595 20.055 12.143 9.146c11.369-9.736 28.136-9.736 39.504 0l259.331 257.813c12.243 11.462 12.876 30.679 1.414 42.922-.456.487-.927.958-1.414 1.414a30.368 30.368 0 0 1-23.078 7.288z" fill="%23000000" opacity="1" data-original="%23000000" class=""></path></g></svg>');
    opacity: .3;
    transition: .3s;
}
.modal a.close-modal:hover {
    opacity: 1;
}

.blocker {
    background: #000a;
    backdrop-filter: blur(2px);
    cursor: url("data:image/svg+xml,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.514.535l-6.42 6.42L2.677.536a1.517 1.517 0 00-2.14 0 1.517 1.517 0 000 2.14l6.42 6.419-6.42 6.419a1.517 1.517 0 000 2.14 1.517 1.517 0 002.14 0l6.419-6.42 6.419 6.42a1.517 1.517 0 002.14 0 1.517 1.517 0 000-2.14l-6.42-6.42 6.42-6.418a1.517 1.517 0 000-2.14 1.516 1.516 0 00-2.14 0z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E"),auto;
    z-index: 2;
}

@media screen and (min-width: 640px) {
    .modal {
        padding: 1.5rem 1.875rem;
    }
    .modal_info .modal__header {
        margin: -1.5rem -1.875rem 1rem;
        padding: 1.5rem 1.875rem 1rem;
    }
}

.booking-object {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.125rem;
    border: 1px solid #ddd;
    border-radius: .25rem;
    padding: 1rem;
    font-size: .875rem;
    line-height: 1.125;
    color: #777;
    /*background: #eee;*/
}
.booking-object__name {
    font-weight: 500;
}
/* /Modal */


/* Plugins */
.wpcf7-response-output {
    display: none !important;
}
.wpcf7-not-valid.form__control {
    border-color: #ff3333;
    color: #ff3333;
    background: #fff0f0 !important;
}
.wpcf7-not-valid-tip {
    display: none;
}
.wpcf7-spinner {
    display: none;
}
.wpcf7-form__agreement {
    margin-top: 1rem;
    font-size: .75rem;
    line-height: 1.375;
    color: #ccc;
}
.wpcf7-form__agreement a {
    text-decoration: underline;
    color: #bbb;
}
.wpcf7-form__agreement a:hover {
    text-decoration: none;
}
.wpcf7 label:has([aria-required="true"]) small::after {
    content: '*';
    margin-left: .375em;
    vertical-align: middle;
    font-size: 1.25em;
    color: #f00;
}

.grecaptcha-badge { visibility: hidden; }

/*.ui-slider-horizontal .ui-slider-handle {
    margin-left: 0;
}
.ui-slider-horizontal .ui-slider-handle:last-of-type {
    margin-left: -.875rem;
}*/
/* /Plugins */


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem 0;
    width: 100%;
    color: var(--color-main);
    background: none;
    z-index: 2;
    transition: .3s;

    background: #fffe;
    box-shadow: 0 -1px 10px 0 #0004;
}
.header_sticky {
    padding: .75rem 0;
    background: #fffe;
    box-shadow: 0 -1px 10px 0 #0004;
}
.header__container {
    position: relative;
    z-index: 1;
}
.header_sticky::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
}
.header_sticky .header__menu-btn {
    color: var(--color-main);
}

@media screen and (min-width: 768px) {
    .header:not(.header_sticky) {
        background: initial;
        box-shadow: initial;
    }
    .header__menu-btn {
        color: #fff;
    }
}
/* /Header */

/* Main navigation */
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}
.menu__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000a;
    backdrop-filter: blur(2px);
    cursor: url("data:image/svg+xml,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.514.535l-6.42 6.42L2.677.536a1.517 1.517 0 00-2.14 0 1.517 1.517 0 000 2.14l6.42 6.419-6.42 6.419a1.517 1.517 0 000 2.14 1.517 1.517 0 002.14 0l6.419-6.42 6.419 6.42a1.517 1.517 0 002.14 0 1.517 1.517 0 000-2.14l-6.42-6.42 6.42-6.418a1.517 1.517 0 000-2.14 1.516 1.516 0 00-2.14 0z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E"),auto;

    visibility: hidden;
    opacity: 0;
    transition: .3s;
}
.menu.active .menu__backdrop {
    visibility: visible;
    opacity: 1;
}
.menu__call-btn {
    margin-left: auto;
    margin-right: 1rem;
}
.menu__call-btn, .menu__btn {
    width: 1.8rem;
    height: 1.8rem;
    cursor: pointer;
    display: block;
    opacity: .7;
    transition: .3s;
}
.menu__call-btn, .menu__btn:hover {
    opacity: 1;
}
.menu__close-btn {
    position: relative;
    transform: translateX(20%);
    padding: .75rem;
    width: 1.25rem;
    height: 1.25rem;
    transition: .3s;
    box-sizing: initial;
    opacity: .3;
}

.menu__close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: .5rem;
    width: 75%;
    height: 75%;
    background: var(--color-extra);
    transform: translate(-50%, -50%) scale(0);
    transition: .3s;
}
.menu__close-btn:hover::before {
    transform: translate(-50%, -50%);
}
.menu__close-btn::after {
    content: '';
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.514.535l-6.42 6.42L2.677.536a1.517 1.517 0 00-2.14 0 1.517 1.517 0 000 2.14l6.42 6.419-6.42 6.419a1.517 1.517 0 000 2.14 1.517 1.517 0 002.14 0l6.419-6.42 6.419 6.42a1.517 1.517 0 002.14 0 1.517 1.517 0 000-2.14l-6.42-6.42 6.42-6.418a1.517 1.517 0 000-2.14 1.516 1.516 0 00-2.14 0z' fill='%23000' fill-rule='nonzero'/%3E%3C/svg%3E") center/75% no-repeat;
}

.menu__content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    max-width: 420px;
    width: 100%;

    z-index: 1;
    /*background: #fff;*/
    box-shadow: -1px 0 4px -2px #0007;
    overflow: auto;

    visibility: hidden;
    transform: translateX(calc(100% + 1rem));
    transition: .3s;
}

.menu.active .menu__content {
    display: flex;
    flex-direction: column;
    visibility: visible;
    transform: none;
}
.menu-content {
    background: #fff;
}
.menu-content__top {
    position: sticky;
    top: 0;
    padding: .75rem 1rem;
    display: flex;
    justify-content: space-between;
    flex: none;
    border-bottom: 1px solid #ddd;

    background: #fff;
    overflow: auto;
    z-index: 1;
}
.menu__bottom {
    margin-top: auto;
    padding: 2rem 1rem 1rem;
    line-height: 1.375em;
}
.menu__logo {
    display: block;
    width: clamp(10rem, 14vw, 12rem);
    /*width: 100%;*/
    height: 100%;
}
.menu__social {
    font-size: 1.6rem;
    color: var(--blue-color);
}
@media screen and (min-width: 640px) {
    .menu__close-btn {
        width: 1rem;
        height: 1rem;
    }
    .menu-content__top {
        background: #fffa;
        backdrop-filter: blur(3px);
    }
    .menu__btn {
        width: 2rem;
        height: 2rem;
    }
}
@media screen and (min-width: 768px) {
    .menu {
        font-size: 1rem;
    }
    .menu__btn {
        width: 2.2rem;
        height: 2.2rem;
    }
}
@media screen and (min-width: 1024px) {
    .header {
        color: #fff;
    }
    .header_sticky {
        color: var(--color-main);
    }

    .menu__nav {
        transform: translateX(.5rem);
    }
    .menu__content {
        position: static;
        max-width: initial;
        width: initial;
        box-shadow: none;
        visibility: visible;
        transform: none;
        overflow: initial;
    }
    .menu-content {
        background: initial;
    }
    .menu-content__top {
        display: none;
    }
    .menu__bottom {
        display: none;
    }
    .menu__call-btn, .menu__btn {
        display: none;
    }
}

.nav {
    font-weight: 400;
}
.nav-list {
    padding: 0;
    /*background: #dce5ef77;*/

    display: flex;
    flex-wrap: wrap;
}
.nav-list_root {
    display: flex;
    flex-wrap: wrap;
    margin: calc(var(--gap) * -.5);

    /*background: #fff;*/
}
.nav-list:not(.nav-list_root) {
    top: -.5rem;
    left: calc(100% + 1.125rem);
}
.nav-list:not(.nav-list_root)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 1.125rem;
    height: 100%;
}
.nav-list__group {
    list-style: none;
}

.nav-group__heading {
    padding: .75rem 1rem .25rem;
    font-size: .875rem;
    color: var(--blue-color);
    text-transform: uppercase;
}
.nav-group__list {
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}
.nav-item:not(.active)::after {
    content: '';
    display: block;
    width: 100%;
    border-bottom: 1px solid #dce5ef;
}
.nav-item_root {
    padding: calc(var(--gap) * .5);
    width: 100%;
}
.nav-item__list {
    max-height: 0;
    width: 100%;
    overflow: hidden;
}
.nav-item_root > .nav-item__list {
    top: 100%;
    left: initial;
}
.nav-item__link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: .5rem;
    text-decoration: none;
    color: inherit;
    padding: .875rem 1rem;
    transition: .3s;
}
.nav-item.selected > .nav-item__link,
.nav-item:hover > .nav-item__link,
.nav-item.active > .nav-item__link {
    /*text-shadow: 0 0 .6px, 0 0 .6px, 0 0 .6px, 0 0 .6px, 0 0 .6px;*/
}
.nav-item.active > .nav-item__link {
    background: var(--color-backdrop);
}

.nav-item__dropdown {
    position: relative;
    right: .25rem;
    display: block;
    padding: .75rem;
    width: 1.125em;
    height: 1.125em;
    flex: none;
    cursor: pointer;
    align-self: center;
    box-sizing: unset;
    opacity: .5;
    transition: .3s;
}
.nav-item.active > .nav-item__dropdown {
    opacity: 1;
}
.nav-item__dropdown::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: .5rem;
    width: 75%;
    height: 75%;
    background: #dce5ef;
    transition: .3s;
}
.nav-item__dropdown:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
.nav-item__dropdown::after {
    content: '';
    position: relative;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 58.026 58.026" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M29.013 46.019c-1.1 0-2.1-.4-2.9-1.2l-25-26c-1.5-1.6-1.5-4.1.1-5.7 1.6-1.5 4.1-1.5 5.7.1l22.1 23 22.1-23c1.5-1.6 4.1-1.6 5.7-.1s1.6 4.1.1 5.7l-25 26c-.8.8-1.8 1.2-2.9 1.2z" fill="%23000000" opacity="1" data-original="%23000000" class=""></path></g></svg>') center/75% no-repeat;
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    transition: .3s;
}
.nav-item.active > .nav-item__dropdown::after {
    transform: none;
}

@media screen and (min-width: 640px) {
    .nav-item__dropdown {
        width: 1rem;
        height: 1rem;
    }
    .nav-item__link {
        padding: .75rem 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .nav {
        --gap: 0rem;
        font-weight: inherit;
    }
    .nav-item {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: calc(clamp(320px, 31.2vw, 380px) - 1rem);
    }
    .nav-item::after {
        display: none;
    }
    .nav-item_root {
        width: initial;
    }
    .nav-item__list {
        position: absolute;
        top: 0;
        left: 100%;
        margin: 0;
        display: block;
        padding: .5rem;
        width: auto;
        max-height: initial;
        visibility: hidden;
        transition: transform .3s, opacity .3s, visibility 0s linear .3s;
        border-radius: .25rem;
        box-shadow: 0 1px 5px -2px #0007;
        overflow: initial;

        transform: translateY(.5rem);
        opacity: 0;
    }
    .nav-item_root > .nav-item__list {
        top: calc(100% + .5rem);
    }
    .nav-item_root > .nav-item__list::before {
        content: '';
        top: 0;
        left: 0;
        transform: translateY(-100%);
        width: 100%;
        height: .5rem;
    }
    .nav-list {
        /*background: #fff;*/
    }
    .nav-list_groupped {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-item:hover > .nav-item__list {
        visibility: visible;
        transform: none;
        opacity: 1;
        transition: .5s;
    }
    .nav-item__list {
        background: #dfe6f3;
    }
    .nav-item__dropdown {
        display: none;
    }
    .nav-item__link {
        padding: .5rem;
        font-size: clamp(.75rem, 1.375vw, 1rem);
    }
    .nav-item:hover > .nav-item__link {
        /*background: #c9d6ec;*/
        /*background: ;*/
        color: var(--color-main);
        background: var(--color-backdrop);
    }
    .nav-item:has(.nav-item__list) > .nav-item__link::after {
        content: '';
        flex: none;
        margin-left: .375em;
        display: block;
        width: .625em;
        height: .625em;

        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 58.026 58.026" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M29.013 46.019c-1.1 0-2.1-.4-2.9-1.2l-25-26c-1.5-1.6-1.5-4.1.1-5.7 1.6-1.5 4.1-1.5 5.7.1l22.1 23 22.1-23c1.5-1.6 4.1-1.6 5.7-.1s1.6 4.1.1 5.7l-25 26c-.8.8-1.8 1.2-2.9 1.2z" fill="%23000000" opacity="1" data-original="%23000000" class=""></path></g></svg>') no-repeat;
        opacity: .3;
        transition: .3s;
    }
    .nav-item:has(.nav-item__list):hover > .nav-item__link::after {
        transform: rotate(-90deg);
        opacity: 1;
    }
    .nav-item_root:has(.nav-item__list):hover > .nav-item__link::after {
        transform: translateY(10%);
    }
    .nav-item:not(.active)::after {
        display: none;
    }

    .nav-group__heading {
        padding: .5rem .5rem .25rem;
    }
}
@media screen and (min-width: 1280px) {
    .nav-list_root {
        justify-content: space-between;
    }
    .nav-item__link {
        padding: .5rem clamp(.25rem, .8vw, 1rem);
    }
    .nav-item:has(.nav-item__list) > .nav-item__link::after {
        margin-left: .5em;
    }
    .nav-group__heading {
        padding: .5rem .75rem .25rem;
    }
}
/* /Main navigation */

/* Trade offer */
.trade-offer {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: max(35rem, 80vh);
}
.trade-offer__content {
    position: relative;
}
.trade-offer__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: -.125rem -.125rem #000;
}
.trade-offer__title span {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    /*color: var(--color-main-light);*/
    color: #c9bbb5;
}
.trade-offer__subtitle {
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
    text-shadow: -.125rem -.125rem #000;
}
.trade-offer__actions {
    margin-top: 2rem;
    font-size: 1rem;
}
.trade-offer__gallery {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.trade-offer__gallery img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trade-offer__gallery div:has(> img) {
    height: 100%;
}
.trade-offer__gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000c, #000c 20%, #0005);
}
.trade-offer__gallery .slick-track {
    height: 100%;
}
.trade-offer__gallery .slick-list {
    height: 100% !important;
}
.trade-offer__gallery .slick-arrow {
    position: absolute;
    top: 50%;
    border-radius: 50%;
    padding: .75rem;
    display: flex;
    font-size: 1.5rem;
    background: #fff7;
    z-index: 1;
    cursor: pointer;
    transition: .3s;
    color: var(--color-main);
}
.trade-offer__gallery .slick-arrow:hover {
    background: #fffe;
}
.trade-offer__gallery .slick-prev {
    left: calc(50% - min(var(--container), 100%) / 2 + 2rem);
    transform: rotate(180deg);
}
.trade-offer__gallery .slick-next {
    right: calc(50% - min(var(--container), 100%) / 2 + 2rem);
}

.trade-offer__banner {
    position: relative;
    height: max(30rem, 80vh);
    background: url('./assets/images/banner.jpg') center/cover no-repeat;
}
.trade-offer__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000c, #000c 20%, #0005);
    /*backdrop-filter: blur(1px);*/
}

@media screen and (min-width: 640px) {
    .trade-offer__title { font-size: 1.875rem; }
    .trade-offer__subtitle { font-size: 1.5rem; }
}
@media screen and (min-width: 768px) {
    .trade-offer__title { font-size: 2.5rem; }
    .trade-offer__actions { font-size: 1.25rem; }
}
/* /Trade offer */

/* About */
.about { justify-content: space-around; }
.about__components {
    margin: 1rem 0;
    font-size: 1.125rem;
    color: var(--color-main);
}
.about__description { margin: 0 auto; }
.about__details {
    margin-top: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: .25rem;
    padding: 1.5rem;
    overflow: hidden;
}
.about__details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-main-light);
    opacity: .5;
    z-index: -1;
}
.about__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 640px) {
    .about { font-size: 1.25rem; }
    .about__components { font-size: 1.5rem; }
    .about__details { padding: 2rem; }
}
@media screen and (min-width: 768px) {
    .about__description {
        position: sticky;
        top: 25%;
        margin: 4rem auto;
    }
}
/* /About */


/* Gallery */
.presentation {
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    aspect-ratio: auto;
}
.presentation__container {
    height: 100%;
}
.presentation_btns {
    font-size: 1.125rem;
}
@media screen and (min-width: 1024px) {
    .presentation {
        aspect-ratio: 3/4;
    }
}
.gallery {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.gallery-item {
    display: flex;
    align-items: flex-start;
    transition: .5s;

    aspect-ratio: 3/4;
}
.gallery-item__container {
    display: flex;
    border-radius: .5rem;
    overflow: hidden;
}
.gallery-item__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}
.gallery-item:hover .gallery-item__img {
    transform: scale(1.1);
}
@supports (aspect-ratio: auto) {
    .gallery-item__img {
        aspect-ratio: 1/1;
    }
    .slick-current + .slick-slide .gallery-item__img {
        aspect-ratio: 3/4;
    }
}
@supports not (aspect-ratio: auto) {
    /*.gallery-item::after {
        content: '';
        padding-top: 100%;
        transition: .3s;
    }
    .slick-current .gallery-item::after {
        content: '';
        padding-top: calc(4 / 3 * 100%);
    }*/
    .gallery-item__container::after {
        content: '';
        padding-top: 100%;
        transition: .3s;
    }
    .slick-current + .slick-slide .gallery-item__container::after {
        content: '';
        padding-top: calc(4 / 3 * 100%);
    }
}
.gallery .slick-list { margin: 0 calc(var(--gap) * -.5); }
.gallery .slick-slide { margin: 0 calc(var(--gap) * .5); }
.gallery .slick-arrow {
    position: absolute;
    bottom: 0;
    right: calc(var(--gap) / 2 + 2rem);
    display: flex;
    font-size: 2rem;
    z-index: 1;
    cursor: pointer;
    color: var(--color-main);
    opacity: .5;
    transition: .3s;
}
.gallery .slick-arrow:hover {
    opacity: 1;
}
.gallery .slick-prev {
    transform: scaleX(-1.2) translateX(calc(100% + 2rem));
}
.gallery .slick-next {
    transform: scaleX(1.2);
}

@media screen and (min-width: 768px) {
    .gallery {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw + 50%);
    }
}
@media screen and (min-width: 1024px) {
    .gallery {
        width: calc(100vw + 100%/3);
    }

    @supports (aspect-ratio: auto) {
        .slick-current + .slick-slide + .slick-slide .gallery-item__img {
            aspect-ratio: 3.5/4;
        }
    }
    @supports not (aspect-ratio: auto) {
        .slick-current + .slick-slide + .slick-slide .gallery-item__container::after {
            content: '';
            padding-top: calc(4 / 3.5 * 100%);
        }
    }
}
@media screen and (min-width: 1280px) {
    .gallery {
        width: calc(100vw + 20%);
    }
}
/* /Gallery */


.loading {
    position: relative;
    transition: .5s;
}
.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fffc;
    transition: inherit;
}
.loading::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M12 7c-.6 0-1-.4-1-1V3c0-.6.4-1 1-1s1 .4 1 1v3c0 .6-.4 1-1 1zM16.3 8.8c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4L17.8 5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L17 8.5c-.2.2-.5.3-.7.3zM21 13h-3c-.6 0-1-.4-1-1s.4-1 1-1h3c.6 0 1 .4 1 1s-.4 1-1 1zM18.4 19.4c-.3 0-.5-.1-.7-.3L15.5 17c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l2.2 2.2c.4.4.4 1 0 1.4-.2.1-.4.2-.7.2zM12 22c-.6 0-1-.4-1-1v-3c0-.6.4-1 1-1s1 .4 1 1v3c0 .6-.4 1-1 1zM5.6 19.4c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4L7 15.5c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-2.1 2.2c-.2.2-.4.3-.7.3zM6 13H3c-.6 0-1-.4-1-1s.4-1 1-1h3c.6 0 1 .4 1 1s-.4 1-1 1zM7.8 8.8c-.3 0-.6-.1-.8-.3L4.9 6.3c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L8.5 7c.4.4.4 1 0 1.4-.2.3-.5.4-.7.4z" fill="%23000000" opacity="1" data-original="%23000000"></path></g></svg>');
    --loader-size: 3rem;
    position: absolute;
    top: calc(50% - var(--loader-size) / 2);
    left: calc(50% - var(--loader-size) / 2);
    width: var(--loader-size);
    height: var(--loader-size);
    opacity: .3;
    transition: inherit;
    animation: rotate 2s infinite normal linear;
}
@keyframes rotate
{
    0% {
        transform: none;
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Catalog filter */
.catalog-list:empty {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 15rem;
    background: #f6f5f4;
    color: var(--color-main);
    font-size: 1.125rem;
}
.catalog-list:empty::before {
    content: 'Ничего не удалось найти';
}
.catalog-list__more ~ * {
    display: none;
}
.catalog-list__more:last-child {
    display: none;
}

.catalog__list {
    margin-top: 1.5rem;
}
.catalog-filter {
    font-size: 1rem;
}
.catalog-filter__btn {
    font-size: 1rem;
}
.catalog-filter__apply {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}
.catalog-filter__container {
    position: fixed;
    top: 0;
    left: 0;
    padding: .75rem 1rem;
    max-width: 320px;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 2;
    transition: .3s;
    transform: translate(-100%);
    overflow: auto;
}
.catalog-filter.active .catalog-filter__container {
    transform: none;
    z-index: 3;
}
.catalog-filter__title {
    padding: 1rem;
    margin: -1rem -1rem 1rem;
    font-size: 1.25rem;
    background: var(--color-backdrop);
    box-shadow: 0 -1px 0 0 var(--color-main-light) inset;
}
@media screen and (min-width: 768px) {
    .catalog-filter__container {
        padding: 1rem 1.5rem;
    }
    .catalog-filter__title {
        padding: 1rem 1.5rem 1rem;
        margin: -1rem -1.5rem 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .catalog-filter__btn {
        display: none;
    }
    .catalog-filter__apply {
        margin-top: initial;
    }
    .catalog-filter__title {
        display: none;
    }
    .catalog-filter__container {
        position: static;
        top: 0;
        left: 0;
        padding: initial;
        max-width: initial;
        background: initial;
        transform: none;
        overflow: initial;
    }
}

.form_catalog {
    align-items: flex-end;
}
.form__control {
    display: inline-block;
    border: 1px solid var(--color-main-light);
    border-radius: .25rem;
    padding: .75rem;
    width: 100%;
    height: 3rem;
    /*background: var(--color-backdrop);*/
    background: #f6f5f4;
    color: var(--color-main);
}
.form__control::placeholder {
    color: #bbb;
}
.form__control_textarea {
    height: auto;
    resize: vertical;
}
.form__control_checkbox {
    justify-content: center;
    align-items: center;
    display: inline-flex;
    min-width: 3rem;
    height: 3rem;
    transition: .3s;
    cursor: pointer;
}
.form__control_checkbox:hover {
    background: var(--color-main-light);
}
.form__control_checkbox input {
    display: none;
}
.form__control_checkbox:has(:checked) {
    background: var(--color-main-light);
    box-shadow: 0 0 0 2px var(--color-main) inset;
}

.form__control_range {
    height: 3rem;
    /*display: inline-flex;*/
    display: flex;
    align-items: center;
    justify-content: stretch;
}
.range-control {
    position: relative;
    max-width: 480px;
}
.range-control * {
    line-height: 1;
}
.range-control__slider {
    position: absolute;
    bottom: 0;
    left: calc(50% + .2rem);
    transform: translateX(-50%);
    border: none !important;
    /*width: 80%;*/
    width: calc(100% - 2.5rem);
    height: .25rem;
    background: none !important;
}
.range-control__slider .ui-slider-handle {
    border-color: var(--color-backdrop);
    width: .875rem;
    height: .875rem;
    background: var(--color-main);
    transition: box-shadow .3s;
}
.range-control__slider .ui-slider-handle:hover {
    box-shadow: 0 0 0 .25rem var(--color-main-light);
}
.range-control__slider .ui-widget-header {
    background: var(--color-main);
}
.range-control__slider .ui-widget-content {

}
.range-control__field {
    color: var(--color-main-light);
}
.range-control__field span {
    display: none;
}
.range-control__field input {
    margin-left: .5rem;
    color: var(--color-main);
    font-weight: 500;
    opacity: 1;
    width: 3em;
}
.range-control__field_price-from input {
    width: 6em;
}
.range-control__field_price-to input {
    width: 6em;
}

@media screen and (min-width: 1280px) {
    /*.catalog-filter {
        font-size: 1.25rem;
    }*/
    .form__control {
        padding: 1rem;
    }
}

@media screen and (min-width: 1024px) {
    .range-control__field span {
        display: initial;
    }
}
/* /Catalog filter */


/* Catalog */
/*.flat {
    padding: 1rem;
    background: #fff;
    transition: .5s;
}
.flat:hover {
    box-shadow: 0 5px 10px -3px #0004, 0 1px 0 0 #eee inset;
    border-radius: .5rem;
    transform: scale(1.05);
    z-index: 1;
}*/
.flat {
    position: relative;
    border-radius: .5rem;
    background: #fff;
    transition: .5s;
}
.flat__top {
    position: relative;
    border: 1px solid var(--color-backdrop);
    border-radius: .5rem;
    background: #f6f5f4;
    overflow: hidden;
}
.flat__top:empty {
    display: block;
    border: 1px solid var(--color-backdrop);
    border-radius: .5rem;
    padding-top: calc(3/4 * 100%);
    width: 100%;
    background: #f6f5f4;
}
.flat__bottom {
    position: relative;
    margin-top: 1rem;
}
.flat__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .5rem;
    object-fit: cover;
}
.flat__title {
    font-weight: 600;
    font-size: clamp(.875rem, 1.125vw, 1.25rem);
    color: var(--color-main);
}
.flat__attribute {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flat__price {
    align-self: center;
    border-radius: .25rem;
    padding: 0 .375rem;
    font-size: 1rem;
    font-weight: 500;
    background: var(--color-backdrop);
}
.flat__details {
    position: relative;
    border-top: 1px dashed #ddd;
    padding-top: .5rem;
    margin-top: .5rem;
}

.flat__actions {
    margin-top: 1rem;
}

@media screen and (min-width: 1024px) {
    .flat::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: inherit;
        width: 100%;
        height: 100%;
        background: #fff;
        transition: box-shadow .5s, height 0s linear .6s;
    }
    .flat:hover {
        transform: translateY(-10px);
        z-index: 1;
    }
    .flat:hover::before {
        transition: box-shadow .5s;

        box-shadow: 0 5px 10px -2px #0005;
        height: calc(100% + 4rem);
    }
    .flat__actions {
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateY(calc(100% + 1.5rem));
        padding: inherit;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: .5s;
    }
    .flat:hover .flat__actions {
        transform: translateY(calc(100% + .5rem));
        opacity: 1;
        visibility: visible;
    }
}
/* /Catalog */


/* stage gallery */
.stage__gallery {

}
.stage-gallery {
    display: flex !important;
    flex-direction: column-reverse;
}
.stage-gallery__slide {
    padding-top: 1rem;
}
.stage__tabs {
    margin-bottom: 1rem;
}
.stage-tabs {
    position: relative;
    /*display: flex;
    flex-wrap: wrap;*/
    display: grid;
    grid-auto-flow: column;
    /*justify-content: center;*/
    justify-content: start;
    grid-gap: .75rem;
    padding: 0;

    list-style: none;
    /*margin-right: -1rem;*/
    overflow: auto hidden;
}
.stage-tabs::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5rem;
    height: 100%;
    background: linear-gradient(to right, #fff7, #fff);
}
.stage-tabs__btn {
    /*margin-right: 1rem;*/
    padding: .5rem 1rem .625rem .5rem;
    border: 1px solid #ddd;
    border-radius: .5rem;
    width: fit-content;
    color: #777;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    outline: none;
    transition: .3s;
}
.stage-tabs__btn:hover {
    border-color: #bbb;
}
.stage-tabs__btn::before {
    content: '\00B7';
    margin-right: .375rem;
    display: inline-block;
    font-weight: 600;
    font-size: 1.25em;
    line-height: 1;
}
.slick-active .stage-tabs__btn {
    background: #eee;
}
.stage-picture {
    border-radius: .5rem;
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-position: center top;
    object-fit: cover;
    transition: .5s;
}
.stage-picture:hover {
    transform: translateY(-2.5%);
    opacity: .8;
}

/*@supports (aspect-ratio: auto) {
    .stage-picture {
        aspect-ratio: 4/3;
    }
}
@supports not (aspect-ratio: auto) {
    a:has(.stage-picture) {
        display: block;
    }
}*/
/* /stage gallery */


/* Promotion */
.promotion {
    position: relative;
}
.promotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--color-backdrop);
    opacity: .2;
}
.promo {
    display: grid;
    grid-gap: 2rem;
    grid-template-areas:
            "a a"
            "b b"
            "c d";
    grid-template-rows: 1fr auto 1fr;
    grid-template-columns: 1fr 1fr;
}

.promo:has(.promo-block_list):not(:has(.promo-block_fire)):not(:has(.promo-block_sale)) {
    display: flex;
    justify-content: center;
}
.promo:has(.promo-block_list):not(:has(.promo-block_fire)):not(:has(.promo-block_sale)) .promo__block {
    max-width: 75%;
}
.promo:has(.promo-block_list):not(:has(.promo-block_fire)):not(:has(.promo-block_sale)) .promo__block::before {
    padding-top: 40%;
}

.promo:has(.promo-block_list):has(.promo-block_fire):not(:has(.promo-block_sale)) {
    display: flex;
    flex-direction: column;
}
.promo:has(.promo-block_list):has(.promo-block_fire):not(:has(.promo-block_sale)) .promo__block_list::before {
    padding-top: 0;
}

@media screen and (min-width: 1024px) {
    .promo:has(.promo-block_list):has(.promo-block_fire):not(:has(.promo-block_sale)) {
        flex-direction: initial;
    }
}

.promo__block {
    border-radius: 1rem;
    /*padding: 1.5rem;*/
    overflow: hidden;
    display: flex;
}
.promo-block {
    padding: 1.5rem;
    flex: 1;
}
.promo-block__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.25;
}
.promo-block_fire {
    position: relative;
    background: linear-gradient(to top right, var(--color-main-light), var(--color-backdrop));
    color: var(--color-main);
    overflow: hidden;
}
.promo-block_fire::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(30%, 10%);
    display: block;
    width: 40%;
    padding-top: 40%;
    background: url(./assets/images/building4.png) center / contain no-repeat;
    opacity: .2;
}
.promo-block_fire .promo-block__text {
    margin-top: 3rem;
    max-width: 70%;
}
.promo-block__timer {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}
.promo-block__timer::before {
    content: 'До окончания программы:';
    margin-bottom: .75rem;
    display: block;
    font-size: .875rem;
    color: var(--color-main);
    opacity: .5;
}
.timer {
    display: grid;
    grid-gap: 1.5rem;
    grid-template-columns: repeat(4, 0fr);
}
.timer__item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
    padding: .5rem;
    width: 2em;
    height: 2em;
    font-size: 1.375rem;
    font-weight: 600;
    background: #fff7;
}
.timer__item::after {
    content: attr(data-value);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, calc(100% + .125rem));
    font-size: .875rem;
    font-weight: normal;
    color: var(--color-main);
    opacity: .5;
}
.promo__block_list {
    display: flex;
}
.promo__block_list::before {
    content: '';
    padding-top: 90%;
}
.promo-block_list {
    padding: 0;
    overflow: hidden;
}
.promo-block_list:not(:has(img)) {
    border: 1px solid var(--color-backdrop);
    border-radius: inherit;
    background: #f6f5f4;
}
.promo-block_list:not(:has(img)) .promo-block__item::before {
    height: 100%;
}
.promo-block_list .slick-list,
.promo-block_list .slick-track {
    height: 100% !important;
}
.promo-block_list .slick-dots {
    position: absolute;
    bottom: 20px;
    display: flex;
    color: #fff;
}
.promo-block_list {
    margin: 0 calc(var(--gap) * -1);
}
.promo-block_list .promo-block__item {
    margin: 0 var(--gap);
}
.promo-item {
    position: relative;
    padding: 1.5rem;
    overflow: hidden;
    color: #fff;
}
.promo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 15rem;*/
    height: 100%;
    /*background: linear-gradient(#000d, transparent);*/
    background: linear-gradient(135deg, #000d, #0001);
}
.promo-item__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.promo-item__title {
    position: relative;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.25;
    z-index: 1;
    transform: translateX(2rem);
    transition: transform .5s ease .1s;
}
.promo-item__text {
    position: relative;
    margin-top: 1rem;
    z-index: 1;
    transform: translateX(2rem);
    transition: transform .5s ease .15s;
}
.promo-item__text_style {
    margin-top: 2rem;
    z-index: 1;
    padding: 1.25rem 1.5rem;
    color: #000;
    background: #fffa;
    border-radius: 1rem;
    border-top: 1px solid #fff7;
    border-left: 1px solid #eee5;
    border-right: 1px solid #eee5;
    box-shadow: 0 .25rem .25rem 0 #0001;
    backdrop-filter: blur(3px);
}
.promo-item.slick-active .promo-item__title,
.promo-item.slick-active .promo-item__text {
    transform: none;
}
.promo__block_sale {
    position: relative;
    overflow: hidden;
    background: #fff;

    /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" x="0" y="0" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><linearGradient id="a" x1="256" x2="256" y1="501" y2="11" gradientUnits="userSpaceOnUse"><stop stop-opacity="1" stop-color="%23c9bbb5" offset="0"></stop><stop stop-opacity="1" stop-color="%23e4ddda" offset="1"></stop></linearGradient><path fill="url(%23a)" fill-rule="evenodd" d="M344.876 11 230.804 59.763v404.226h34.729v-84.972l-8.037.765a5.98 5.98 0 0 1-1.124-11.907l61.812-5.883a5.98 5.98 0 0 1 1.125 11.906l-9.161.872v89.218h148.801V59.763zm-69.323 313.552-21.562 2.064v-41.662l21.562-3.325zm.007-67.675-21.568 4.052v-41.762l21.568-5.316zm0-67.709-21.568 6.041v-41.762l21.568-7.305zm0-67.744-21.568 7.998V90.407l21.575-9.248zm46.129 198.733-24.297 2.329v-44.272l24.297-3.753zm0-72.004-24.297 4.573v-44.237l24.297-5.996v45.659zm0-71.968L297.392 183v-44.272l24.297-8.239zm0-71.968-24.297 9.057-.007-41.463 24.303-10.427v42.833zm57.706 288.784a6 6 0 1 1-12 0V63.407a6 6 0 1 1 12 0v329.596zm28.518 0a6 6 0 1 1-12 0V75.598a6 6 0 0 1 12 0v317.405zm28.518 0a6 6 0 1 1-12 0V87.789a6 6 0 1 1 12 0v305.214zM171.838 128.766 53.052 179.544v284.445h37.086v-65.972l-8.037.765a5.98 5.98 0 1 1-1.124-11.906l61.812-5.883a5.98 5.98 0 0 1 1.125 11.907l-9.161.872v70.218h84.052V148.843zM95.981 336.639l-17.549 2.403v-33.78l17.549-3.605zm0-55.061-17.549 4.316v-33.781l17.549-5.517zm.006-55.082-17.554 6.207v-31.55l17.56-7.396-.005 32.739zm38.155 104.874-20.211 2.785v-36.177l20.211-4.171zm0-59.215-20.211 4.979v-36.199l20.211-6.387zm0-59.237-20.217 7.196v-33.9l20.217-8.567zM11.554 475.989h488.892V501H11.554z" opacity="1" data-original="url(%23a)" class=""></path></g></svg>') calc(103%) calc(103%)/50% no-repeat;*/
    /*background: calc(103%) calc(103%)/50% no-repeat;*/
}
.promo-block_sale .promo-block__title {
    font-size: 1.25rem;
    transition: .3s;
}
.promo-block_sale:hover {
    color: var(--color-main);
}
.promo-block_sale .promo-block__text {
    margin-top: 1.5rem;
    font-size: .875rem;
    opacity: .5;
    transition: .3s;
}
.promo-block_sale:hover .promo-block__text {
    opacity: 1;
}
.promo-block__icon {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(3%, 3%);
    display: flex;
    font-size: 8rem;
    color: var(--color-main-light);
    opacity: .5;
}

.promo__block_fire {
    flex: none;
}

@media screen and (min-width: 640px) {
    .promo__block:not(.promo-block_list) { /*padding: 2rem;*/ }
    .promo-block__title { font-size: 1.75rem; }
    .promo-item { padding: 2rem; }

    .promo__block_fire::before {
        content: '';
        padding-top: 40%;
    }
}
@media screen and (min-width: 768px) {
    .promo {
        grid-template-areas:
                "a a"
                "c b"
                "d b";
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
    .promo__block_list::before {
        padding-top: 90%;
    }
    .promo-block__timer { flex-direction: initial; }
    .promo-block__timer::before {
        margin-right: 1rem;
        margin-bottom: initial;
        max-width: 8em;
    }
}
@media screen and (min-width: 1024px) {
    .promo {
        grid-template-areas:
                "a a b b"
                "c d b b";
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .promo__block_fire::before {
        display: none;
    }
}
/* /Promotion */


/* Subscribe */
.subscribe {
    position: relative;
    margin: auto;
    border-radius: 1rem;
    padding: .25rem;
    max-width: 1280px;
    overflow: hidden;
}
.subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(-45deg, var(--color-main-light), var(--color-main-light) 30px, #F2F2F2 30px, #F2F2F2 40px, var(--color-backdrop) 40px, var(--color-backdrop) 70px, #F2F2F2 70px, #F2F2F2 80px);
}
.subscribe__content {
    position: relative;
    padding: 1.75rem;
    background: #f6f5f4;
    overflow: hidden;
}
.subscribe__title {
    margin-top: -.25em;
    color: var(--color-main);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
}
.subscribe__subtitle {
    margin-top: .375em;
    display: block;
    font-size: .675em;
    font-weight: normal;
    white-space: normal;
}
.subscribe__project-name {
    font-size: 1.25em;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}
.form_subscribe .form__control {
    background: #fff;
}

@media screen and (min-width: 640px) {
    .subscribe {
        padding: .375rem;
    }
    .subscribe__content {
        border-radius: .5rem;
        padding: 1.75rem 1.625rem;
    }
    .subscribe__title {
        font-size: 1.75rem;
        white-space: nowrap;
    }
}
@media screen and (min-width: 1024px) {
    .subscribe__title {
        max-width: 440px;
        font-size: 2rem;
    }
}
@media screen and (min-width: 1280px) {
    .subscribe__title {
        max-width: 480px;
        font-size: 2.125rem;
    }
}
@media screen and (min-width: 1440px) {
    .subscribe__title {
        font-size: 2rem;
    }
}
/* /Subscribe */


/* About developer */
.developer-project {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
}
.developer-project::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(#0009, transparent, #0009);
    z-index: 1;
    transition: .5s;
}
.developer-project:hover::before {

}
.developer-project__image {
    display: block;
    width: 100%;
    height: initial;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: .5s;
}
.developer-project:hover .developer-project__image {
    transform: scale(1.05);
}
.developer-project__title {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 1rem 2rem 1.5rem;
    width: 100%;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
    color: #fff;
    z-index: 1;
}
.developer-project__features {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: .5s;
}
.developer-project:hover .developer-project__features {
    opacity: 1;
}
.project-features {
    /*display: grid;
    grid-gap: .625rem;
    grid-template-rows: auto;
    grid-auto-flow: column;
    justify-content: start;*/
    font-weight: 500;
    font-size: .75rem;
}
.project-features__item {
    border-radius: .625rem;
    padding: .25rem .5rem;
    background: #fff;
}

@media screen and (min-width: 1440px) {
    .project-features {
        font-size: .875rem;
    }
}
/* /About developer */


/* Contacts */
.contacts {
    position: relative;
    /*background: linear-gradient(to right, var(--color-backdrop), var(--color-backdrop) 50%, var(--color-main-light) 50%, var(--color-main-light))*/
    /*overflow: hidden !important;*/
}
.contacts__info {
    margin-bottom: 1rem;
}
.contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--color-backdrop);
    opacity: .2;
}
.contacts__form {
    /*max-width: 380px;*/
    /*margin: 0 auto;*/
    /*border: 1px solid #ada19a;*/
    border: 1px solid var(--color-backdrop);
    border-radius: .5rem;
    padding: 1.5rem;
    /*background: #dad0cb;*/
    background: #fff;
    color: var(--color-main);
    /*box-shadow: 0 .1rem .8rem -.5rem #0008;*/
    box-shadow: 0 .1rem .8rem -.5rem #000d;
}
.contact-item {
    font-size: 1.25rem;
}
.contact-item__title {
    font-size: 1rem;
    color: #999;
}
.map {
    min-height: 10rem;
    height: 25rem;
}
@media screen and (min-width: 640px) {
    .contacts__form {
        padding: 2rem;
    }
    .map {
        height: 100%;
    }
}
@media screen and (min-width: 768px) {
    .contact-item {
        /*font-size: 1.5rem;*/
        font-size: clamp(1rem, 1.7vw, 1.5rem);
    }
}
/* /Contacts */

/* Footer */
.section_footer {
    padding-bottom: 0;
}
.footer {
    background: #333;
    font-size: .875rem;
    color: var(--color-backdrop);
}
.footer__logo {
    max-width: clamp(10rem, 14vw, 12rem);
    width: 100%;
}
.footer__text {
    margin-top: 1.5rem;
    font-size: 1rem;
}
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-list_links {
    white-space: nowrap;
}
.footer-list__title {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: .5;
}
.footer__content {
    justify-content: space-between;
}
.footer__copy {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    padding: 1.5rem 0;
    background: #2d2d2d;
    color: #fff5;
    text-align: center;
}

@media screen and (min-width: 640px) {
    .footer__copy {
        text-align: right;
    }
}
/* /Footer */


/* Numbered multilevel list*/
.numbered, .numbered ol {
    padding: 0;
    list-style: none;
    counter-reset: li;
}
.numbered ol {
    padding-left: 15px;
}
.numbered li {
    margin-top: 15px;
    font-weight: initial;
}
.numbered > li {
    font-weight: 600;
}
.numbered li:before {
    counter-increment: li;
    content: counters(li,".") ". ";
}
/* /Numbered multilevel list */