@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Manrope-Regular.woff2) format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Manrope-Medium.woff2) format('woff2');
}
@font-face {
    font-family: 'IgraSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/IgraSans.woff2) format('woff2');
}

:root {
    --main-color: #222;
    --text-color: #555;
    --accent-color: #c19e7b;
    --white-color: #fff;
    --gray-color: #999;
    --green-color: #21d92d;
    --main-font: "Manrope", sans-serif;
    --title-font: "IgraSans", sans-serif;
    --main-bg-color:#fcfaf7;
    --border-color:#ddd;
    --box-bg:#f2f0ed;
}


html, body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}
main {
    /*padding: 40px 0 48px;*/
    flex: 1;
}
body {
    background-color: var(--main-bg-color);
    font-family:var(--main-font);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--main-color);
}
h1,h2,h3,h4,h5,h6 {
    font-family:var(--title-font)!important;
}
h1, .promo-block__title {
    font-size: clamp(1.5em, 1.6421em + 1.5905vw, 1.8em);
}


.site-form input:not([type="submit"]){
    width: 100%;
    height: 56px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    background-color: transparent;
    transition: .5s;
    outline: 0;
    margin-bottom: 16px;
    color: var(--main-color);
    font-size: 16px;
}
.site-form input:focus, .site-form input:hover {
    border-color: var(--accent-color);
}
.site-form input::placeholder {
    color: var(--gray-color);
}
.site-form__bottom {margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
}
.site-form p {
    font-weight: 500;
    font-size: 12px;
    color: var(--gray-color);
}
.site-form p a {
    color: var(--accent-color);
    transition: .5s;
}
.site-form p a:hover {
    color: var(--main-color);
}
.site-form__bottom .btn {flex-shrink: 0;
    border: 0;
    font-size: 16px;
    cursor: pointer;
}

.site-form .wpcf7-spinner {
    margin: 0;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.wpcf7 form.invalid .wpcf7-response-output {
    padding: 0;
    border: 0;
    color: #dc3232;
}
.wpcf7 form.sent .wpcf7-response-output {
    padding: 0;
    border: 0;
    color: var(--green-color);
}
/*================== НАЧАЛО УТИЛИТАРНЫЕ КЛАССЫ ================================*/
.lock {
    overflow: hidden;
}
.title {
    font-size: clamp(1.75rem, 1.4816rem + 1.1928vw, 2.5rem);
    line-height: 120%;
    margin-bottom: 40px;
}
.title span {
    color: var(--accent-color);
}
.mini-title {
    font-size: clamp(1.375rem, 1.2408rem + 0.5964vw, 1.75rem);
}
.container {
    max-width: 1238px;
    margin-inline: auto;
    padding-inline: 16px;
}
.container_big {
    max-width: 1350px;
}
.container_sm {
    max-width: 796px;
}
.title-width {
    max-width: 587px;
    text-align: center;
    margin-inline: auto;
}
.title-width span {
    display: block;
}

.radius-24 {
    border-radius: 24px;
}
.radius-24-iframe iframe{
    border-radius: 24px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 16px;
    padding: 10px 28px;
    background-color: var(--accent-color)!important;
    color: var(--white-color)!important;
    font-family: var(--title-font);
    box-sizing: border-box;
    transition: .5s;
    border: none;
}
.btn:hover {
    opacity: .7;
    background-image: none!important;
}
.btn_icon {
    padding-right: 31px;
}
.btn_view {
    padding-left: 33px;
}
.btn_icon, .btn_view {
    gap: 12px;

}
.btn_icon::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url(../img/btn-arrow.svg);
    margin-top: 4px;
}
.btn_view::before {
    content: '';
    width: 15px;
    height: 16px;
    background-image: url(../img/play.svg);
    margin-top: 4px;
    margin-right: 4px;
}
.section-padding {padding-block: 44px;
}
.pt-0 {padding-top: 0;
}
.four-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.align-items-center {
    align-items: center;
}
.aspect-16-9 {
    aspect-ratio: 16 / 9;
}
.aspect-16-9-iframe iframe{
    aspect-ratio: 16 / 9;
}
.mt-48 {
    margin-top: 48px;
}

.pos-relative {position: relative;
}
.full-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flex-shrink-0 {
    flex-shrink: 0;
}

/*================== КОНЕЦ УТИЛИТАРНЫЕ КЛАССЫ ================================*/

/*================== НАЧАЛО ХЕДЕР ================================*/
.header {
    position: sticky;
    background-color: var(--main-bg-color);
    top: 0;
    padding-block: 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}
.header__container .logo{
    max-width: 10vmax;
}
.header__container .custom-logo-link{
    max-width: 10vmax;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 15px;
}
.header__items {
    display: flex;
    align-items: center;
    column-gap: 70px;
}
.elementor-kit-7 .header__phone-link{
    color: rgb(34, 34, 34);
}
.header__phone-link {
    font-weight: 500;
    display: block;
    transition:color .5s;
}
.header__phone-link:hover {
    color: var(--accent-color);
}
.header__phone-txt {
    position: relative;
    padding-left: 13px;
    color: var(--gray-color);
    font-weight: 500;
    font-size: 12px;
}
.header__phone-txt::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--green-color);
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.icon-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}
@media (any-hover: hover) {
    .icon-box:hover {
        opacity: 0.3;
    }
}

.header__mobile {display: none;
}
.burger {
    position: relative;
    gap: 5px;
    flex-direction: column;
    background: transparent!important;
}
.burger:hover {
    background-image: none!important;
}
.burger::before, .burger::after {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background-color: var(--accent-color);
}


.header__popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
    background-color: rgba(0,0,0,.8);
    z-index: 9;
}
.header__popup.active {
    opacity: 1;
    visibility: visible;
}
.header__popup-content {
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
    padding: 70px 64px 20px;
    width: 465px;
    height: 100%;
    overflow-y: auto;
    background-color: var(--main-bg-color);
    transition: .8s;
}
.header__popup.active .header__popup-content {
    right: 0;
}
.btn-close {
    position: absolute;
    width: 42px;
    height: 42px;
    top: 20px;
    right: 20px;
}
.btn-close:hover{
    background-image: none!important;
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1px;
    background-color: var(--border-color);
    transform-origin: center;
    transition: .5s;
}
.btn-close:hover::before,.btn-close:hover::after {
    background-color: var(--accent-color);
}

.btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header-menu li:not(:last-child){
    margin-bottom: 17px;
}
.header-menu a {
    display: block;
    padding-block: 5px;
    font-family: var(--title-font);
    font-size: clamp(1.375rem, 1.2408rem + 0.5964vw, 1.75rem);
    transition:color .5s;
    color: var(--text-color)!important;
}
.header-menu a:hover {
    color: var(--accent-color)!important;
}
.phone-item {
    font-family: var(--title-font);
    font-size: clamp(1.375rem, 1.2408rem + 0.5964vw, 1.75rem);
    color: var(--accent-color)!important;
    margin-bottom: 16px;
    transition:color .5s;
}
.phone-item:hover {
    color: var(--main-color);
}
.contacts-items {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.contacts-item{
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .5s;
    line-height: 120%;
    color: var(--text-color)!important;
}
.contacts-item:hover {
    color: var(--accent-color)!important;
}
.block-contacts p {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--gray-color);
}
.socials-items {
    display: flex;
    gap: 10px;
}
.socials-items a{
    width: 30px;
    height: 30px;
    transition: transform .5s;
}
.socials-items a:hover {
    transform: scale(1.1);
}

/*================== Конец ХЕДЕР ================================*/




/*================== НАЧАЛО ПРОМО ================================*/
.promo-block {
    padding-bottom: 32px;
    overflow-x: hidden;
    position: relative;
}
.promo-block-slider {
    border-radius: 40px;
    height: 600px;
    background-color: var(--box-bg);
}
.promo-block-slide {
    position: relative;
    height: 100%;
}
.promo-block-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-radius {
    border-radius: 16px;
}
.img-radius-big {
    border-radius: 40px;
}
.promo-block-box {
    position: absolute;
    top: 24px;
    left: 24px;
    max-width: 475px;
    background-color: transparent;
    border-radius: 20px;
    padding: 32px;
    box-sizing: border-box;
    word-wrap: break-word;
    hyphens: auto;
    z-index:3;
}
.promo-block__title {color:white; margin-bottom: 20px; font-size: 2rem;}
.promo-block-box p{
    color:white;
    margin-bottom: 16px;
}
.promo-block-slider__btns {
    position: relative;
    bottom: 87px;
    left: 56px;
    z-index: 1;
    margin-top:10px;

}

.img-overlay{
	height:100%;
}

.img-overlay:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0) 100%);
}


.slider-btns {
    display: none;
    gap: 16px;
}
.slider-btn {
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--main-bg-color);
    transition: .5s;
}
.slider-btn:hover, .slider-btn:focus {
    opacity: 0.7;
    background-color: var(--main-bg-color)!important;
    background-image: none!important;

}
.promo-block-slider-pagination.swiper-pagination-clickable.swiper-pagination-bullets {display: none;
    position: relative;
    bottom: 41px;
    text-align: center;
    z-index: 1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-inline: 15px;
}

.swiper-pagination-bullet {margin: 0;
    background-color: transparent;
    width: 6px;
    height: 6px;
    background-color: var(--main-bg-color);
    border: 2px solid transparent;
    transition: .5s;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-color: var(--main-bg-color);
}

/*================== КОНЕЦ ПРОМО ================================*/


/*================== НАЧАЛО ПРЕИМУЩЕСТВ ================================*/
.hero-feature{
    background-color: var(--box-bg);
    border-radius: 16px;
    padding: 32px;
    margin: 0 auto;
    position: absolute;
    left: 54px;
    right: auto;
    bottom: 24px;
    z-index: 3;
}
.hero-feature ul li{
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.hero-feature ul li:last-child{
    margin-bottom: 0;
}
.hero-feature h3 {
    font-size: 16px;
    margin-left: 15px;
}
.hero-feature img {
    width: 20px;
    object-fit:contain;
}

.feature-box {
    background-color: var(--box-bg);
    border-radius: 16px;
    padding: 32px;
    display:none;
}
.feature-box h3 {
    font-size: clamp(1rem, 0.9105rem + 0.3976vw, 1.25rem);
    margin-top: 40px;
}
/*================== КОНЕЦ ПРЕИМУЩЕСТВ ================================*/


/*================== НАЧАЛО О НАС ================================*/


.two-cols {display: flex;
    justify-content: space-between;
    gap: 32px;
}
.info-section .about-inner img {
    height: auto;
    flex: 1 1 0%;
    min-width: 0;
}
.about-inner img.max-w-50 {
    max-width: 50%;
}
.info-section .about-inner__txt {
    flex-shrink: 0;
    min-width: 0;
}

.about-inner__txt {
    max-width: 490px;
}
.about-inner__txt p:not(:last-child) {
    margin-bottom: 32px;
}
.gray-text {
    color: var(--text-color);
}
.txt-other p {
    color: var(--text-color);
    font-size: clamp(0.875rem, 0.8303rem + 0.1988vw, 1rem);
}
.txt-other p:first-child{
    color: var(--main-color);
    font-size: clamp(1.125rem, 1.0803rem + 0.1988vw, 1.25rem);
}

.about-inner__boxes {max-width: 488px;
}
.feature-item {
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px;
    background-color: var(--box-bg);
}
.feature-item:not(:last-child) {
    margin-bottom: 12px;
}
.feature-item-photo{
    flex: 0 0 128px;
}
.feature-item-photo .wrap{
    height: 128px;
}
.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.feature-item h3 {
    font-size: clamp(0.875rem, 0.8303rem + 0.1988vw, 1rem);
    margin-bottom: 12px;
}
/*================== КОнец О НАС ================================*/

/*================== НАЧАЛО  Интерактивной карты ================================*/
.interactive .title{
   padding-left: 0px;
   padding-right: 0px;
}
/*================== КОнец О НАС ================================*/


/*================== НАЧАЛО ГАЛЕРЕИ (new) ================================*/
.gallery-filter {
    position: relative;
    overflow: hidden;
}

/* Контейнер для слайдера */
.gallery-filter .swiper-container {
    position: relative;
    width: 100%;
}

/* Стили для табов */
.gallery-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 60px;
}

.gallery-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
    padding: 10px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    background: transparent!important;
}

.gallery-tab.active, .gallery-tab:hover, .gallery-tab:focus, .gallery-tab:active {
    border-color: transparent;
    color: white!important;
    background: var(--accent-color)!important;
}

/* Слайды слайдера */
.gallery-filter .swiper-slide {
    transition: transform 0.3s ease-in-out;
    opacity: 0.6;
    height: 500px;
    flex-shrink: 0;
}

/* Активный слайд занимает 70% */
.gallery-filter .swiper-slide-active {
    opacity: 1;
}

/* Изображения слайдов */
.gallery-filter .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.gallery-filter .swiper-button-next, .gallery-filter .swiper-button-prev{
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px!important;
    height: 48px!important;
    background-color: var(--main-bg-color);
    transition: .5s;
}
.gallery-filter .swiper-button-next svg, .gallery-filter .swiper-button-prev svg{
    width: 20px;
}
.gallery-filter .swiper-button-next:after, .gallery-filter .swiper-button-prev:after{
    content: none;
}

/*================== КОнец ГАЛЕРЕИ (new) ================================*/

/*================== НАЧАЛО ГАЛЕРЕИ ================================*/
.gallery .container{
    position: relative;
}
.gallery-slider {
    border-radius: 40px;
    min-height: 600px;
    max-height: 700px;
    height: 100%;
}
.gallery-slider img{
    min-height: 600px;
    max-height: 700px;
}
.gallery-slider .swiper-slide{
    min-height: 600px;
    max-height: 700px;
    height: 100%;
}
.gallery-box {
    position: absolute;
    top: 56px;
    left: 56px;

    max-width: 285px;
    background-color: var(--main-bg-color);
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 56px 40px 52px;
    z-index: 2;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tab-btns {display: flex;
    flex-direction: column;
    gap: 12px;
}
.tabs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
    padding: 10px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: .5s;
}
.tabs-btn.active {
    background-color: #f0ece9;
    border-color: transparent;
    color: var(--main-color);
}

.tabs-btn:not(.active):hover {
    background-color: #f0ece957;
}
.tab-block {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-block.active {
    display: block;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-nav-box {
    position: absolute;
    z-index: 3;
    background-color: var(--main-bg-color);
    left: 40px;
    width: 285px;
    padding: 8px 40px 52px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.gallery-nav-box button {
    border: 1px solid var(--accent-color);
}

.custom-fraction {
    text-align: right;

}
.custom-fraction span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-color);
}


/*================== КОнец ГАЛЕРЕИ ================================*/
.btn-absolute {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    padding-inline: 29px;
}

/*================== НАЧАЛО Преимущества комплекса ================================*/



.advantage {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: .5s;
}
.advantage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Контролируем, сколько займет градиент */
    background: linear-gradient(180deg, rgba(252, 250, 247, 0.7) 0%, rgba(252, 250, 247, 0) 100%);
    pointer-events: none; /* Чтобы градиент не мешал кликам */

    z-index: 1;
    transition: opacity 0.3s ease;
}
.advantage img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
}

.advantage:hover img {
    transform: rotateY(180deg);
    opacity: 0;
}
.advantage:hover::before {
    opacity: 0;

}
.advantage:hover {
    border-color: var(--border-color);
}
.advantage:hover .advantage__list {

    transform: rotateY(0);
    opacity: 1;
}

.advantage h3 {
    position: absolute;
    top: 35px;
    left: 32px;
    right: 32px;
    z-index: 2;
    font-size: clamp(1.375rem, 1.2408rem + 0.5964vw, 1.5rem);
    line-height: 114%;
}
@media (any-hover: hover) {
    .advantage__list {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .advantage__list li {
        transform: translateX(20px);
        opacity: 0;
    }
}
.advantage__list {
    padding: 30px 40px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    padding-bottom: 20px;
}
.advantage__list li {
    font-size: clamp(0.875rem, 0.9375rem + 0.25vw, 0.9rem);
    color: var(--text-color);
    list-style-type: disc;
    transition: all 0.3s ease 0.2s;
}

.advantage:hover .advantage__list li {
    transform: translateX(0);
    opacity: 1;
}

/*================== КОНЕЦ Преимущества комплекса ================================*/

/*================== НАЧАЛО ФУТЕРА ================================*/
.footer {
    background-color: var(--box-bg);
    padding: 64px 0 40px;
}


.footer__content {max-width: 550px;
}
.footer h3 {
    margin-bottom: 48px;
}

.copyright {font-weight: 500;color: var(--text-color);
}
.created-txt a{display: block;
    color: var(--accent-color);
    transition: .5s;
}
.created-txt a:hover {
    color: var(--main-color);
}
.copyright-items {
    margin-top: 64px;
    margin-bottom: 80px;
    gap: 59px;
}

.footer__contacts {max-width: 300px;margin-right: 95px;
}
.big-title {
    font-size: clamp(1.75rem, 1.4816rem + 1.1928vw, 2.5rem);
}

.info-txt {
    font-weight: 500;
    font-size: 12px;
    color: var(--gray-color);
}

/*================== КОНЕЦ ФУТЕРА ================================*/

/*================== НАЧАЛО МОДАЛКИ ================================*/
.popup-form {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    padding: 30px 15px;

    background-color: rgba(0,0,0,.8);

    display: grid;

    justify-content: center;

    align-items: center;

    z-index: 1000;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;

    overflow-y: auto;

}
.popup-form .mini-title {
    margin-bottom: 32px;
}
.popup-form.active {

    opacity: 1;

    visibility: visible;

}
.modal-form {

    max-width: 600px;

    transform: scale(0.8);

    background-color: var(--main-bg-color);
    padding: 72px 65px;
    transition: transform 0.3s ease;

}
.popup-form.active .modal-form {

    transform: scale(1);

}

.popup-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    background-color: rgba(0,0,0,.8);
    display: grid;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}
.popup-video .mini-title {
    margin-bottom: 32px;
}
.popup-video.active {
    opacity: 1;
    visibility: visible;

}
.modal-video {
    width: 95vmax;
    height: 95dvh;
    transform: scale(0.8);
    background-color: var(--main-bg-color);
    padding: 20px;
    transition: transform 0.3s ease;
}
.modal-video .modal-content{
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    height: 100%;
    overflow: hidden;
}
.modal-video .modal-content .text{
    width: 35%;
    padding: 40px;
    font-size: 14px;
    overflow: auto;
}
.modal-video .modal-content h3{
    margin-bottom: 25px;
    font-size: 18px;
}
.popup-video.active .modal-video {
    transform: scale(1);
}

.close-btn {

    position: absolute;

    top: 10px;

    right: 10px;

    background: none;

    border: none;

    cursor: pointer;

}
.close-btn svg {

    width: 40px;

    height: 40px;

    fill: var(--accent-color);

    transition: .5s;

}
.close-btn:hover{
    background-image: none!important;
}
.close-btn:hover svg {

    opacity: 0.7;

}
/*================== Конец МОДАЛКИ ================================*/

.video-block{
    position: relative;
}
.video-block h3{
    font-size: 26px;
    text-transform: uppercase;
    position: absolute;
    font-weight: 700;
    top: 25%;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.video-block .box-cover {
    position: relative;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
}
.video-block .box-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    gap: 30px;
    top: 55%;
    left: 50%;
    transform: translate(-55%, -50%);
}
.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease, margin 0.3s ease;
    z-index: 1;
}

.social-btn svg {
    width: 100%;
    height: 100%;
}

.social-btn.center {
    z-index: 2;
}

.social-btn.left {
    transform: translateX(45px);
    z-index: 1;
}

.social-btn.right {
    transform: translateX(-45px);
    z-index: 1;
}

.social-buttons:hover *{
    transform: translateX(0);
}

.visual .box{
    height: 70vh;
}
#map{
    min-height: 460px;
    -webkit-filter: grayscale(70%);
}
#video-frame {
    width: 100%;
    height: 100%;
}

@media(max-width:1299px){
   .gallery-box {
    padding: 30px;
   }
   .gallery-nav-box {
    padding-inline: 30px;
    padding-bottom: 30px;
   }
}
@media(max-width:1199px){
    .gallery-box {
        padding: 20px;
    }
    .tabs-btn {
        height: 48px;
    }
    .title {
        margin-bottom: 30px;
    }
    .gallery-nav-box {
        padding-bottom: 10px;
    }
    .footer__contacts {
        margin-right: 0;
    }

    .modal-video .modal-content .text{
        width: 40%;
        padding: 40px 20px;
    }
   
}

@media(max-width:991px){
    .header__items {
        column-gap: 40px;
    }
    .feature-box {
        padding: 16px 20px;
    }
    .overflow-scroll .container {
        padding-inline: 0;
    }
    .overflow-scroll :is(.about-inner__boxes, .about-inner__txt) , .overflow-scroll.gallery :is( .title, .tab-btns) {
        padding-inline: 16px;
     } 
    .two-cols {
        flex-direction: column;
    }
    .two-cols.footer-cols, .copyright-items {
        flex-direction: row;
    }
    .column-reverse-md {
flex-direction: column-reverse;
    }
    .about-inner__txt {
        max-width: 100%;
    }
    .about-inner__boxes {
        max-width: 100%;
        overflow-x: scroll;
        display: flex;
        gap: 16px;
        
    }
    .about-inner img.max-w-50 {
        max-width: 100%;
    }
    .feature-item {
        min-width: 400px;
    }
    
    .interactive .title{
       padding-left: 16px;
       padding-right: 16px;
     }
     
     .interactive .imp-image{border-radius:0!important}

    /* Слайды слайдера */
    .gallery-filter .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .gallery-tabs{
        margin-bottom: 30px;
    }
    .gallery-tab{
        height: auto;
    }

    .gallery-slider, .gallery-slider img {

    min-height: 500px;
    max-height: 500px;

}
.gallery-slider .swiper-slide{
    min-height: 500px;
    max-height: 500px;

}
    .gallery-box {
        position: static;
        max-width: 100%;
        padding: 0;
    }
    .tab-btns {
        flex-direction: row;
        overflow-x: scroll;
        gap: 8px;
    }
    .tabs-btn {
        min-width: 144px;
    }

    .gallery :is(.swiper, img) {
        border-radius: 0px;
    }
    .gallery .swiper {
        margin-top: 32px;
    }
    .gallery-nav-box {
        width: 100%;
        position: absolute;
        top: auto!important;
        height: 70px;
        bottom: 0;
        left:0;
        flex-direction: row-reverse;
        padding: 0;
        border-radius: 0px;margin-top: 24px;
        padding-inline: 16px;
        justify-content: space-between;
    }
    .custom-fraction {
        text-align: left;
    }

    .gallery-nav-box button {
        width: 56px;
        height: 56px;
    }

    .three-cols {
        grid-template-columns:1fr 1fr;
    }
    .advantage-grid{
        grid-template-columns:1fr 1fr;
    }
    .info-section .about-inner img {
        width: 100%;
    }
    .footer__content {
        flex-shrink: 1;
    }
    .footer__contacts {
        flex-shrink: 0;
    }
    .site-form__bottom {
        flex-direction: column;
        align-items: start;
    }

    .copyright-items {
        margin-top: 44px;
        margin-bottom: 60px;
    }
    .modal-video{
        width: 100%;
    }
    .modal-video .modal-content{
        flex-direction: column-reverse;
        justify-content: start;
        padding: 0;
    }
    .modal-video .modal-content .text{
        width: 100%;
        padding: 0;
    }
    #video-frame {
        height: 280px;
        margin-top: 40px;
    }

    .video-block h3{
        font-size: 16px;
        top: 20%;
    }

    .social-btn{
        width: 45px;
        height: 45px;
        transform: translateX(0)!important;
    }
    
    .advantage:hover img {
    	transform: none;
    	opacity: 1;
    }
    .advantage:hover::before {
        opacity: 1;

    }
 
    .advantage:hover .advantage__list {
        transform: rotate(0);
        opacity: 1;
    }
   
}
@media(max-width:767px){
    .promo-block-slide img.desctop{
        display: none;
        height: 0;
    }
    .header__items {
        column-gap: 20px;
    }
    .four-cols {
        grid-template-columns: 1fr 1fr;
    }
    .feature-box h3 {
        margin-top: 20px;
    }
    .feature-item {
        min-width: 340px;
    }
    .advantage-grid{
        grid-template-columns: 1fr;
    }
    .three-cols {
        grid-template-columns: 1fr;
    }
     .two-cols.footer-cols {
        flex-direction: column;
        gap: 40px;
    }
     .two-cols.footer-cols > div {
        max-width: none;
    }
    .copyright-items {
        margin-top: 34px;
        margin-bottom: 50px;
    }
    .copyright-items p {
        font-size: 15px;
    }

    /* Слайды слайдера */

    .gallery-tabs{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .gallery-tab{
        width: auto;
        padding: 10px 20px;
    }

    .video-block .box-cover {
        height: 260px;
        border-radius: 20px;
    }
}

@media(max-width:575px){
    .header {
        padding: 0;
        border-bottom: 0;
    }
    .header .container {
        padding: 0;
    }
    .header__container {
        padding: 16px;
        background-color: var(--main-bg-color);
        position: relative;
        z-index: 10;
        border-bottom: 1px solid var(--border-color);
    }
    .header__mobile {
        display: inline-flex;
    }
    .header__phone, .header .header__popup-close {
        display: none;
    }
    .header:has(.header__popup.active) .header__mobile {
       opacity: 0;visibility: hidden;
    }
    
    .header__popup-content {
        padding-top: 128px;
        padding-inline: 40px;
        position: static;
        width: 100%;
        transition: none;
        row-gap: 63px;
    }
    .header__items {
        column-gap: 12px;
    }
    .contacts-item {
        font-size: 14px;
    }


    
.burger.active {
    border: 0;

}
.burger.active::before, .burger.active::after {
    width: 29px;
    background-color: var(--border-color);
}
.burger.active::before {
    transform: rotate(45deg) translate(4px, 4px);
}

.burger.active::after {
    transform: rotate(-45deg) translate(1px, -1px);
}

.section-padding {
    padding-block: 40px;
}

.btn_icon {
    font-size: 14px;
}

.promo-block-box {
    right: 8px;
    top: 8px;
    left: 8px;
    max-width: 100%;
    padding: 19px;
}

.img-radius-big, .promo-block-slider {
    border-radius: 16px;
}
.promo-block-slider__btns {
    display: none;
}
.promo-block-slider-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
    display: flex;
}

    .hero-feature{
        padding: 16px;
        left: 20px;
        right: 20px;
    }

.four-cols {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-box h3 {
    margin: 0;
    font-size: 14px;
}
.feature-item {
    flex-direction: column;
    align-items: start;
    min-width: 280px;
    gap: 20px;
}
.feature-item img {
    max-width: 100%;
}

.feature-item-photo{
    flex: 0;
    width: 100%;
}
.feature-item-photo .wrap{
    height: 300px;
}
.aspect-md {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.advantage {
    border-radius: 0;
}
.advantage img {
    max-height: 312px;
}

.padding-0-md {
    padding-inline: 0;
}
.padding-16-md {
    padding-inline: 16px;
}

.radius-0-md {
    border-radius: 0;
}
.title-width span {
    display: inline;
}
.footer {
    padding-top: 40px;
    padding-bottom: 24px;
}
.site-form input {
    height: 52px;
}
.site-form input {
    margin-bottom: 8px;
}
.site-form__bottom {
    margin-top: 8px;
    gap: 12px;
}
.footer h3 {
    margin-bottom: 24px;
}
.copyright-items {
    margin-top: 24px;
    margin-bottom: 32px;
    gap: 34px;
    align-items: end;
}
 .copyright-items p {
        font-size: 14px;
    }
    .copyright {
        max-width: 190px;
    }

    .popup-form {
        padding: 0;
    }
    .modal-form {
        padding: 80px 40px;
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* Слайды слайдера */
    .gallery-filter .swiper-slide {
        height: 420px;
    }

  .gallery-slider, .gallery-slider img {

    min-height: 400px;
    max-height: 400px;

}
.gallery-slider .swiper-slide{
    min-height: 400px;
    max-height: 400px;

}

.visual .box{
    height: 40vh;
}

}