:root {
    --color-dark: rgba(47, 48, 46, 1);
    --color-white: rgba(255, 255, 255, 1);
    --color-accent: rgba(175, 130, 108, 1);
    --color-accent-light: rgba(175, 130, 108, 0.7);
    --color-light-bg: rgba(247, 243, 241, 1);
    --font-primary: "Muller", Helvetica, sans-serif;
    --font-display: "Playfair Display", Helvetica, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-dark);
    max-width: 100%;
}

/* Container */
.container {
    position: relative;
    width: 1650px;
    max-width: 100%;
    margin: 0px auto;
    padding: 0px 15px;
}

.container2 {
    max-width: 1920px;
    margin: 0 auto;
}

.title1 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 35px;
    margin-bottom: 70px;
    animation: fadeIn 0.8s ease forwards;
}

.title1 b {
    font-weight: 400;
    color: var(--color-accent);
}

/* Button */
.btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 50px;
    text-decoration: none;
    outline: none;
    text-align: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    font-weight: 400;
    padding: 15px 30px;
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    color: var(--color-white);
    border-radius: 100px;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    animation: fadeIn 0.6s 0.6s ease forwards;
    transition: background 0.3s;
    opacity: 0;
}

.btn span {
    display: inline-flex;
    justify-content: center;
    z-index: 1;
    align-items: center;
}

.btn:hover {
    color: white;
    background: var(--color-accent-light);
}

.btn.transparent {
    background: none;
    color: inherit;
}

.btn.white {
    background: white;
    color: inherit;
}

.btn.transparent:hover,
.btn.white:hover {
    color: white;
    background: var(--color-accent);
}

input {
    padding: 15px 30px;
    border: 2px solid var(--color-accent);
    border-radius: 100px;
    background: transparent;
    font-size: 16px;
    color: var(--color-dark);
    outline: none;
}

input::placeholder {
    color: var(--color-dark);
}


/* FORM POPUP */
.has-danger input,
.has-danger select,
.has-danger textarea {
    border-width: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #eba5a3;
}


#form_popup,
#form_popup2 {
    display: none;
}

.popup_container {
    width: 460px;
    max-width: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    /* border: 2px solid black; */
    background: white;
    text-align: center;
    padding-bottom: 30px;
    background: url(../img/bg_popup.png) 100% 0% no-repeat white;
}

.popup_container .agree_field {
    color: #0c121c;
    text-align: left;
}

.popup_container .agree_field a {
    color: black;
}


.popup_container h2 {
    padding: 0px;
    margin: 0px;
    padding-top: 25px;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 100%;
    padding-bottom: 32px;
    color: black;
}

.popup_container .form_comment {
    text-align: center;
    font-size: 20px;
    color: #414141;
    padding-bottom: 15px;
}

.popup_container .form_comment a {
    display: block;
    color: #414141;
    text-decoration: none;
}

.popup_container .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    -moz-transform: rotate(45deg);
    /* Aey Firefox */
    -ms-transform: rotate(45deg);
    /* Aey IE */
    -webkit-transform: rotate(45deg);
    /* Aey Safari, Chrome, iOS */
    -o-transform: rotate(45deg);
    /* Aey Opera */
    transform: rotate(45deg);
    cursor: poHalvarBreit;
}

.popup_container .close:before {
    content: '';
    position: absolute;
    left: 0px;
    top: 16px;
    width: 34px;
    height: 1px;
    display: block;
    background-color: #a8a8a8;
}

.popup_container .close:after {
    content: '';
    position: absolute;
    left: 16px;
    top: 0px;
    width: 1px;
    height: 34px;
    display: block;
    background-color: #a8a8a8;
}

.popup_container .form-group {
    margin-bottom: 19px;
}

.popup_container .form-group input[type=tel] {
    color: black;
    /* border: 1px solid black; */
    text-align: center;
    /* border-bottom: 1px solid; */
    /* border-image-source: linear-gradient(to left, hwb(0deg 100% 0% / 0%), #000); */
    /* border-image-slice: 1; */
}

.popup_container .form-group input[type=tel]::placeholder {
}


.popup_container .agree_field .check_ex {
    border-color: inherit;
}

.popup_container .agree_field .check_ex i {
}

.popup_container .form-group textarea {
    color: black;
    display: block;
    height: 100px;
    text-decoration: none;
    text-align: left;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    background: none;
    border: 1px solid #c0c6c9;
    padding: 10px;
    resize: none;
    font-family: inherit;
    font-size: 16px;
}

.popup_container .form-group select {
    color: #1d1f20;
    height: 50px;
    border: 1px solid white;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    font-family: inherit;
    padding-left: 10px;
    height: 38px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #c0c6c9;
}

.popup_container .form-group select option {
}

.popup_container .form-group button {
    cursor: poHalvarBreit;
}

.popup_container .form-group button:before {
    display: none;
}

.popup_container .form-group button:after {
    display: none;
}


.not_agree button {
    background-color: #cccccc !important;
    cursor: auto !important;
    color: white !important;
    border-color: #cccccc !important;
}

.agree_field {
    line-height: 100%;
    position: relative;
    display: flex;
    top: 0px;
    margin-top: 8px;
    text-align: left;
    font-size: 12px;
    align-items: center;
    text-transform: uppercase;
}

.agree_field a {
    color: inherit;
}

.agree_field input {
    opacity: 0;
    position: absolute;
}

.checkbox {
    text-transform: uppercase;
}

.check_ex {
    display: inline-block;
    /* width: 36px; */
    /* height: 20px; */
    position: relative;
    /* vertical-align: middle; */
    /* top: -1px; */
    margin-right: 5px;
    border-radius: 0px;
    box-sizing: content-box;
    /* background: #9E9E9E; */
    /* border: none; */
    /* border-radius: 100px; */
}

.check_ex input {
    opacity: 0;
    position: absolute;
}

.check_ex i {
    /* background: url(../img/arrow.svg) 50% 50% no-repeat; */
    width: 36px;
    height: 20px;
    display: block;
    background-size: 120%;
    background: #9E9E9E;
    position: relative;
    /* top: 2px; */
    /* left: 18px; */
    border-radius: 100px;
    /* filter: invert(100%) sepia(1%) saturate(7488%) hue-rotate(328deg) brightness(119%) contrast(99%); */
    transition: 0.2s;
}

.check_ex i:before {
    content: '';
    width: 16px;
    height: 16px;
    background: white;
    display: block;
    border-radius: 100px;
    position: relative;
    top: 2px;
    left: 2px;
    transition: 0.2s;
}

.check_ex input:checked + i {
    display: block;
    /* left: 2px; */
    background: #393536;
}

.check_ex input:checked + i:before {
    left: 18px;
}

.popup_container .form-disclamer {
    color: #b8b8b8;
    font-size: 10px;
    padding-top: 10px;
    text-align: center;
}


form {
}

form .form-group {
    position: relative;
    margin-bottom: 13px;
    width: 100%;
}

form .form-group input[type=tel],
form .form-group input[type=text],
form .form-group select {
    height: 50px;
    width: 100%;
    color: inherit;
    font-size: 20px;
    box-sizing: border-box;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0px;
    outline: none;
    background: transparent;
    border-radius: 100px;
    padding-left: 20px;
    border: 1px solid #9E9E9E;
    font-family: inherit;
    font-size: 15px;
}

form .form-group select {
    background: url(../img/ico_select_white.svg) right 20px top 50% no-repeat transparent;
    color: white;
}

form .form-group select option {
    color: black;
}

select {
    appearance: none;
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    background: url(../img/ico_select.svg) right 15px top 50% no-repeat white;
    outline: none;
    border: 1px solid #DFDFDF;
    height: 50px;
    border-radius: 8px;
    font-family: inherit;
    width: 100%;
    padding-left: 25px;
    padding-right: 30px;
}

form .form-group button {
    width: 100%;
    cursor: pointer;
    outline: none;
    font-size: inherit;
}

form .form-group button:hover {
}


.form_title {
    font-size: 40px;
    /* text-transform: uppercase; */
    padding: 0px;
    margin: 0px;
    text-align: center;
    padding-bottom: 20px;
}

.form_title span {
}


/* BG */
.bg {
    background: url("../img/path414.png") right top no-repeat,
    url("../img/path414.png") left bottom no-repeat,
    rgba(247, 243, 241, 1);
    border-radius: 30px;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}


/* Header */
.header {
    position: absolute;
    /* top: 0; */
    /* left: 0; */
    max-width: 100%;
    width: 100%;
    /* height: 95px; */
    display: flex;
    align-items: center;
    /* gap: 37px; */
    /* padding: 0 150px; */
    /* background: rgba(255, 255, 255, 0.1); */
    /* backdrop-filter: blur(10px); */
    /* border-radius: 0 0 30px 30px; */
    z-index: 10;
    margin: 0 auto;
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

.header .container {
    display: flex;
    gap: 37px;
    align-items: center;
    height: 95px;
    justify-content: space-between;
}

.header-logo {
    width: 214px;
    height: 71px;
    object-fit: cover;
    animation: fadeIn 0.6s ease forwards;
    align-self: flex-start;
    margin-top: 4px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 30px;
    background: rgba(247, 243, 241, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(2.5px);
    animation: fadeIn 0.6s 0.2s ease forwards;
    opacity: 0;
    justify-content: space-between;
}

.nav-item {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-item:hover {
    opacity: 0.7;
}

.header-phone {
    color: var(--color-white);
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
    animation: fadeIn 0.6s 0.4s ease forwards;
    opacity: 0;
    transition: opacity 0.3s;
}

.header-phone:hover {
    opacity: 0.7;
}

.header-button {
    /* padding: 15px 30px; */
    /* background: var(--color-accent); */
    /* color: var(--color-white); */
    /* border: none; */
    /* border-radius: 100px; */
    /* font-size: 18px; */
    /* cursor: pointer; */
    /* white-space: nowrap; */
    /* animation: fadeIn 0.6s 0.6s ease forwards; */
    /* opacity: 0; */
    /* transition: background 0.3s; */
}

.header-button:hover {
    background: rgba(175, 130, 108, 0.9);
}

/* Hero Section */
.hero-section {
    /* min-height: 100vh; */
    background-position: center;
    margin-bottom: 100px;
}

/*navigation*/
.hero-navigation {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.8s 0.4s ease forwards;
    opacity: 0;
    margin-bottom: 100px;
    margin-top: -90px;
    position: relative;
    z-index: 3;
}

.hero-section .swiper_left {
    border: 0;
    background: none;
    padding: 15px;
    margin: 0;
    width: auto;
    cursor: pointer;
}

.hero-section .swiper_right {
    border: 0;
    background: none;
    padding: 15px;
    margin: 0;
    width: auto;
    cursor: pointer;
}

.hero-content {
}

.hero-title {
}

.hero-title-dark {
    color: var(--color-dark);
}

.hero-title-accent {
    color: var(--color-accent);
}

.hero-description {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 20px;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}

.hero-text-dark {
    color: var(--color-dark);
}

.hero-text-accent {
    color: var(--color-accent);
}

.hero-carousel {
    position: relative;
    width: 100%;
    /* height: 625px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -100px;
    animation: fadeIn 0.8s 0.4s ease forwards;
    opacity: 0;
}

.hero-carousel .swiper-wrapper {
    padding: 155px 0;
}

.carousel-image {
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    margin-top: 100px;
}

.carousel-image:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    transition: all 1.5s;
}


.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.carousel-image.swiper-slide-prev {
    margin-top: -100px;
}

.carousel-image.swiper-slide-active {
    margin-top: -100px;
}

.carousel-image.swiper-slide-next {
    transform: scale(1.8) !important;
    z-index: 2;
    margin-top: 0px;
}

.carousel-image.swiper-slide-next:before {
    background: rgba(0, 0, 0, 0);
}

.carousel-image.swiper-slide-next img {
}

.carousel-left {
}

.carousel-center {
}

.carousel-right {
}

.carousel-dots {
    /* display: flex;
    justify-content: center;
    gap: 12px;
    animation: fadeIn 0.8s 0.6s ease forwards;
    opacity: 0; */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(47, 48, 46, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot-active {
    background: var(--color-accent);
}

/* Section Title */
.section-title {
    line-height: 150%;
    margin-bottom: 30px;
}

/* Features Section */
.features-section {
    margin: 0 auto;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 50px;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 12px;
    color: var(--color-dark);
}

.filter-sup {
    font-size: 10px;
}

.room-buttons {
    display: flex;
    gap: 10px;
}

.room-button {
    width: 61px;
    height: 50px;
    border: 1px solid var(--color-accent);
    background: transparent;
    border-radius: 100px;
    font-size: 16px;
    color: var(--color-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.room-button:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.range-input {
    position: relative;
    width: 352px;
    height: 52px;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.range-input-wide {
    width: 389px;
}

.range-label {
    font-size: 12px;
    color: var(--color-dark);
}

.range-label-right {
    margin-left: auto;
    margin-right: 6px;
}

.range-value {
    font-size: 16px;
    color: var(--color-dark);
    margin-left: 6px;
}

.range-slider {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 311px;
    height: 10px;
}

.price-slider {
    position: absolute;
    bottom: 4px;
    left: 5.91%;
    width: 88.43%;
    height: 1px;
    background: var(--color-dark);
}

.price-slider::before,
.price-slider::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border: 2px solid var(--color-dark);
    border-radius: 50%;
    bottom: -4px;
}

.price-slider::before {
    left: -15px;
}

.price-slider::after {
    right: -15px;
}

.reset-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.reset-button:hover {
    opacity: 0.6;
}

.show-button {
    padding: 15px 30px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.show-button:hover {
    background: rgba(175, 130, 108, 0.9);
}

/* Property Cards */
.property-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.property-card {
    background: var(--color-light-bg);
    border-radius: 30px;
    padding: 40px;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    transition: all 0.3s;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.property-header {
    margin-bottom: 48px;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 5px;
    font-size: 22px;
    color: var(--color-dark);
}

.property-meta-dot {
    width: 4px;
    height: 4px;
    background: var(--color-dark);
    border-radius: 2px;
}

.property-type {
    font-size: 16px;
    color: var(--color-dark);
    font-weight: 300;
}

.property-price {
    font-size: 22px;
    color: var(--color-dark);
    margin-top: 18px;
}

.property-image-container {
    background: var(--color-white);
    border-radius: 30px;
    border: 1px solid var(--color-accent);
    overflow: hidden;
    margin-bottom: 12px;
}

.property-image {
    width: 223px;
    height: 308px;
    margin: 20px auto 0;
    display: block;
}

.property-tags {
    display: flex;
    gap: 10px;
    padding: 0 18px 20px;
}

.property-tag {
    background: var(--color-light-bg);
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--color-dark);
}

.property-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-button {
    padding: 15px 30px;
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.property-button-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-dark);
}

.property-button-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.property-button-filled {
    background: var(--color-accent);
    color: var(--color-white);
}

.property-button-filled:hover {
    background: rgba(175, 130, 108, 0.9);
}

.show-more-container {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.8s 1s ease forwards;
    opacity: 0;
}

.show-more-button {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-dark);
    border-radius: 100px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.show-more-button:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* SPORT SECTION */

.sport {
    margin-top: 100px;
}

.sport_title {
    text-transform: uppercase;
    font-size: 50px;
    font-family: "Playfair Display";
}

.sport_wrap {
    display: flex;
    gap: 0 40px;
    margin-top: 30px;
}

.sport_wrap > div {
    flex: 1;
    border-radius: 30px;
    background: #F7F3F1;
    padding: 40px;
}

.sport_wrap > div p {
    font-size: 24px;
    min-height: 50px;
    font-weight: 300;
}

.sport_wrap > div p span {
    color: #af826c;
}

.sport_wrap > div img {
    border-radius: 30px;
    margin-top: 20px;
    width: 100%;
}

/* Floor Plans Section */
.floor-plans-section {
    border-radius: 20px;
    overflow: hidden;
    /* padding: 100px 0px; */
    margin-bottom: 100px;
    margin-top: 100px;
}

.floor-plans-section .container2 {
}

.floor-plans-section .container {
    /* padding-top: 100px; */
    /* padding-bottom: 100px; */
}

#floorPlansContainer {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.floor-plan-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.floor-plan-content {
    display: grid;
    /* grid-template-columns: 1fr 2fr; */
    grid-template-columns: repeat(30, 1fr);
    gap: 40px;
}

.floor-plan-info {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    grid-column: span 11;
}

.floor-plan-title {
    font-family: var(--font-display);
    font-size: 35px;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.floor-plan-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #efe6e2;
    border-radius: 100px;
    height: 43px;
    margin-bottom: 28px;
    width: fit-content;
    text-decoration: none;
}

.floor-plan-badge-icon {
    width: 43px;
    height: 43px;
}

.floor-plan-badge-text {
    font-size: 22px;
    color: var(--color-dark);
    padding-right: 20px;
    padding-top: 4px;
    text-decoration: non;
}

.floor-plan-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floor-plan-feature {
    display: flex;
    align-items: center;
    gap: 24px;
}

.floor-plan-feature-icon {
    width: 30px;
    height: 30px;
}

.floor-plan-feature-text {
    font-size: 22px;
    color: var(--color-dark);
}

.floor-plan-gallery {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    gap: 40px;
    grid-column: span 19;
    /* display: flex; */
    flex-shrink: 1;
    height: 534px;
}

.floor-plan-main {
    flex: 1;
    position: relative;
    display: flex;
    min-width: 0;
    /* Предотвращает распирание */
}

.floor-plan-main-image-container {
    width: 100%;
    /* height: 340px; */
    background: var(--color-light-bg);
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
    height: 100%;
    /* Занимает всю высоту родителя */
    /* Синхронизация с max-height gallery */
    /* Дополнительная защита */
}

.floor-plan-main-image-container a {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
}

.floor-plan-main-image {
    border-radius: 30px;
    flex-shrink: 1;
    align-self: stretch;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.floor-plan-toggle {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 399px;
    height: 60px;
}

.floor-plan-toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 395px;
    height: 60px;
    background: var(--color-white);
    border-radius: 100px;
}

.floor-plan-toggle-label-left {
    position: absolute;
    top: 19px;
    left: 35px;
    font-size: 22px;
    color: var(--color-dark);
}

.floor-plan-toggle-button {
    position: absolute;
    top: 15px;
    left: 186px;
    width: 60px;
    height: 30px;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.floor-plan-toggle-slider {
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    border-radius: 15px;
    transition: transform 0.3s;
    transition: all 0.3s;
}

.floor-plan-toggle-slider.active {
    left: calc(100% - 30px)
}

.floor-plan-toggle-label-right {
    position: absolute;
    top: 19px;
    left: 266px;
    font-size: 22px;
    color: var(--color-dark);
}

.floor-plan-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 176px;
}

.floor-plan-thumbnails a {
    width: 100%;
    height: calc(33.33% - 14px);
    display: flex;
    justify-content: center;
    border: 1px solid rgba(175, 130, 108, 1);
    border-radius: 15px;
    transition: transform 0.3s;
    padding: 5px;
    overflow: hidden;
}

.floor-plan-thumbnails a:hover {
    transform: scale(1.05);
}

.floor-plan-thumbnail {
    transition: transform 0.3s;
    max-width: 100%;
    max-height: 100%;
}

.floor-plan-actions {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
}

.floor-plan-buttons {
    display: flex;
    gap: 40px;
}

.floor-plan-button {
    flex: 1;
}

.floor-plan-button-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-dark);
}

.floor-plan-button-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.floor-plan-button-filled {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
}

.floor-plan-button-filled:hover {
    background: rgba(175, 130, 108, 0.9);
}

.floor-plan-gallery.active .floor-plan-main-image-container a {
    padding: 0;
}

.floor-plan-gallery.active .floor-plan-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floor-plan-gallery.active .floor-plan-thumbnails a {
    padding: 0;
}

.floor-plan-gallery.active .floor-plan-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.fancybox-slide--image .fancybox-content {
    background: white !important;
    padding: 20px !important;
}


/* Offers Section */
.offers-section {
    margin-bottom: 100px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 40px;
     /*grid-auto-rows: 251px;*/
}

.offer-card {
    background: var(--color-light-bg);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    display: flex;
    gap: 10px;
    padding: 40px;
    justify-content: space-between;
    transition: all 0.8s;
    text-decoration: none;
}

.offer-card-1 {
    grid-column: span 10;
}

.offer-card-2 {
    grid-column: span 5;
}

.offer-card-3 {
    grid-column: span 5;
    grid-row: span 2;
}

.offer-card-4 {
    grid-column: span 5;
}

.offer-card-5 {
    grid-column: span 5;
}

.offer-card-6 {
    grid-column: span 10;
}

.offer-content {
    /* position: absolute; */
    top: 40px;
    left: 40px;
    z-index: 10;
}

.offer-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
}

.offer-title-white {
    color: var(--color-dark);
}

.offer-title-dark {
    color: var(--color-dark);
    transition: all 0.3s;
}

.offer-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
    white-space: pre-line;
    text-decoration: none;
    transition: all 0.3s;
}

.offer-image {
    /* position: absolute; */
    top: 40px;
    right: 40px;
    width: 304px;
    height: 171px;
    object-fit: cover;
}

.offer-decoration {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 124px;
    height: 109px;
    transition: all 0.3s;
}

.offer-card:hover {
    color: white;
    background: rgba(175, 130, 108, 1);
}

.offer-card:hover .offer-title {
    color: var(--color-white);
}

.offer-card:hover .offer-subtitle {
    color: var(--color-white);
}

.offer-card:hover .offer-decoration {
    content: url("../img/path414-3.svg") !important;
    transform: scale(0.9);
    transform-origin: left bottom;
}


/* Amenities Section */
.amenities-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 100vh;
    /*height: 1008px;*/
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 100px;
}

.amenities-wrap {
    position: relative;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
}

/* .amenities-overlay {
    position: absolute;
    top: 0;
    right: 0px;
    width: 200%;
    height:100%;
    background: url(../img/bg1-cloud.png) left top no-repeat;
    background-size:cover;
    animation: cloudMove 300s infinite alternate linear;
}

@keyframes cloudMove {
  0% {
    right: 0;
  }
  100% {
    right: -100%;
  }
} */

.amenities-overlay {
    position: absolute;
    top: 0;
    right: 0;
    /* Изменено с right на left для корректной работы transform */
    width: 200%;
    height: 100%;
    background: url(../img/bg1-cloud.png) left top no-repeat;
    background-size: cover;
    animation: cloudMove 100s infinite alternate linear;
    will-change: transform;
    /* Оптимизация для анимации */
    transform: translateZ(0);
    /* Принудительное аппаратное ускорение */
}

@keyframes cloudMove {
    0% {
        transform: translateX(0);
    }

    100% {
        /*transform: translateX(-50%);*/
        transform: translateX(50%);
        /* Сдвигаем на 50% ширины элемента (200% / 2 = 100% видимой области) */
    }
}

.amenities-bg {
}

.amenities-house {
    position: absolute;
    left: 0;
    bottom: 0;
}

.amenities-icon {
    display: inline-block;
    position: relative;
    /*position: absolute;
    width: 343px;
    height: 104px;
    top: 21.83%;
    left: 50.52%;*/
}

.amenities-icon:before {
    content: '';
    position: absolute;
    background: url(../img/background-4.png) center center no-repeat;
    background-size: contain;
    left: 21px;
    top: 7px;
    right: 0;
    bottom: 0;
    transform: scale(1.4);
}

.amenities-content {
    position: absolute;
    z-index: 2;
    top: 140px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.amenities-title {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: normal;
    color: var(--color-white);
    animation: fadeIn 0.8s ease forwards;
}

.amenities-subtitle {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: normal;
    color: var(--color-white);
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}


.amenities-description {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: normal;
    color: var(--color-white);
    animation: fadeIn 0.8s 0.4s ease forwards;
    opacity: 0;
    margin-bottom: 20px;
}

.amenities-button {
    width: 379px;
    max-width: 100%;
    opacity: 0;
}

.amenities-button:hover {
}

/* Location Section */
.location-section {
    /*background-image: url("../img/background-5.svg");
    background-size: 100% 100%;*/
    margin-bottom: 100px;
}

.location-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 107px;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}

.location-text-light {
    font-weight: 300;
    color: var(--color-dark);
}

.location-text-accent {
    font-weight: 300;
    color: var(--color-accent);
}

.location-content {
    display: flex;
    gap: 40px;
}

.location-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 375px;
    flex-shrink: 0;
}

.location-card {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.location-card-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--color-dark);
    white-space: pre-line;
    margin-bottom: 37px;
}

.location-card-description {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
    white-space: pre-line;
}

.location-card-decoration {
    position: absolute;
    top: 0;
    /* transform: translateY(-50%); */
    right: 0;
    width: 87px;
    height: 77px;
}

.location-map {
    position: relative;
    flex: 1;
    animation: fadeIn 0.8s 0.6s ease forwards;
    opacity: 0;
}

.map-image {
    width: 100%;
    object-fit: cover;
    display: flex;
}

.map-icon {
    position: absolute;
    width: 50px;
    height: 50px;
}

.map-badge {
    position: absolute;
    top: 259px;
    left: 201px;
    width: 285px;
    height: 50px;
    background: var(--color-white);
    border-radius: 100px;
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
}

.map-badge-icon-bg {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 25px;
}

.map-badge-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 11px;
    width: 28px;
    height: 28px;
}

.map-badge-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 65px;
    font-size: 22px;
    color: var(--color-dark);
}

.map-logo {
    position: absolute;
    top: 185px;
    left: 537px;
    width: 131px;
    height: 166px;
}

.map-logo-bg {
    width: 131px;
    height: 131px;
    background: var(--color-accent);
    border-radius: 65.5px;
}

.map-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 113px;
    height: 37px;
    object-fit: cover;
}

.map-logo-dot {
    position: absolute;
    top: 138px;
    left: 52px;
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border-radius: 14px;
}

.map-kindergarten {
    position: absolute;
    top: 274px;
    left: 204px;
    width: 97px;
    height: 100px;
    object-fit: cover;
}

/* Why Choose Section */
.why-choose-section {
    margin-bottom: 100px;
}

.why-choose-grid {
    display: grid;
    /* gap: 24px; */
}

.why-choose-row-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.why-choose-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-choose-card {
    background: var(--color-light-bg);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    min-height: 251px;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-around;
}

.why-choose-card:hover {
    transform: scale(1.02);
}

.why-choose-card-hero {
    background-image: url("../img/image-4.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-end;
}

.why-choose-card-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--color-dark);
    white-space: pre-line;
    /* margin-bottom: 76px; */
}

.why-choose-card-description {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
}

.why-choose-card-description-accent {
    color: var(--color-accent);
}

.why-choose-card-decoration {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 86px;
    height: 76px;
}

/* Reviews Section */
.reviews-section {
}

.reviews-section .bg {
    padding-bottom: 130px;
    background: url(../img/path414.png) right top no-repeat, url(../img/path414.png) left bottom 430px no-repeat, rgba(247, 243, 241, 1);
}

.reviews-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 40px;
    margin-bottom: 52px;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
    margin-bottom: 0px;
}

.review-card {
    background: var(--color-white);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    /*width: 30%;*/
}

.review-card-tall {
    grid-row: span 2;
    min-height: 347px;
}

.review-card-short {
    /* height: 253px; */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
}

.review-name {
    font-size: 18px;
    color: var(--color-dark);
    opacity: 0.7;
    padding-top: 5px;
}

.review-rating {
    height: 20px;
}

.review-text {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-dark);
    opacity: 0.7;
    white-space: pre-line;
    flex: 1;
    display: flex;
    align-items: center;
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.8s 0.4s ease forwards;
    opacity: 0;
    margin-bottom: 100px;
}

.reviews-navigation img {
}


/* Общие стили контейнера и карточки */
.reviews-grid {
    position: relative;
    /*padding-top: 40px;*/
}

.reviews-grid .swiper {
    /*padding-bottom: 80px;*/
    /* Оставляем место для кнопок внизу */
}

.reviews-grid .swiper-wrapper {
    display: flex;
    align-items: center;
    padding: 100px 0;
    height: auto !important;
}

.reviews-grid .swiper-slide {
    /*padding: 0 70px;*/
    /* Отступы между карточками */
    height: auto;
    transition: transform 0.3s ease;
}

.reviews-grid .swiper-slide-next {
    transform: scale(1.4) !important;
}

.review-card {
    /* background: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
      transition: box-shadow 0.3s ease; */
}

.review-rating {
    display: flex;
    gap: 4px;
    height: 22px;
}

.review-rating .fa-star {
    background: url(img/icon-star.svg);
    width: 20px;
    height: 20px;
}

.review-rating .fa-star-half-alt {
    background: url(img/icon-star.svg);
    width: 20px;
    height: 20px;
}

/*navigation*/
.reviews-section {
    /* min-height: 100vh; */
    background-position: center;
}

.reviews-section .swiper_left {
    border: 0;
    background: none;
    padding: 15px;
    margin: 0;
    width: auto;
    cursor: pointer;
}

.reviews-section .swiper_right {
    border: 0;
    background: none;
    padding: 15px;
    margin: 0;
    width: auto;
    cursor: pointer;
}

/* Contact Form */
.contact-form-wrapper {
    background-image: url("../img/background-2.jpg");
    background-size: 100% 100%;
    border-radius: 30px;
    padding: 60px;
    animation: fadeIn 0.8s 0.6s ease forwards;
    opacity: 0;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-white);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(2.5px);
}

.contact-form-title {
    /* font-size: 16px; */
    /* font-weight: 300; */
    /* color: var(--color-dark); */
    margin-bottom: 38px;
    text-align: left;
}

.contact-form-description {
    font-size: 22px;
    font-weight: 300;
    color: var(--color-dark);
    margin-bottom: 35px;
    /* white-space: pre-line; */
    line-height: 100%;
    /* margin: 0; */
    padding: 0;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 28px;
}

.contact-submit {
}

.contact-submit:hover {
}


.consent-checkbox {
    width: 15px;
    height: 15px;
    border: 2px solid var(--color-accent);
    border-radius: 100px;
    opacity: 0.8;
    cursor: pointer;
}

.consent-label {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-dark);
    cursor: pointer;
}

/* How to Buy Section */
.how-to-buy-section {
    /* padding: 100px 150px; */
    margin-top: -30px;
}

.how-to-buy-section .container2 {
    background: var(--color-white);
    border-radius: 30px;
    padding-top: 100px;
    padding-bottom: 130px;
}


.contact-info-grid {
    display: flex;
    justify-content: space-between;
    /* grid-template-columns: 495px 1fr; */
    gap: 40px;
}

.contact-info-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--color-dark);
}

.contact-info-content {
    font-size: 20px;
    font-weight: 300;
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-info-icon {
    width: 50px;
    height: 44px;
    flex-shrink: 0;
}

.contact-info-text {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-dark);
    padding-top: 2px;
    text-decoration: none;
}

.contact-call-button {
    /* padding: 15px 30px; */
    /* background: var(--color-accent); */
    /* color: var(--color-white); */
    /* border: none; */
    /* border-radius: 100px; */
    /* font-size: 16px; */
    /* cursor: pointer; */
    /* margin-top: 40px; */
    /* transition: background 0.3s; */
    max-width: 409px;
}

.contact-call-button:hover {
    background: rgba(175, 130, 108, 0.9);
}

.contact-map {
    width: 100%;
    /* height: 500px; */
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Payment Section */
.payment-section {
    margin-bottom: 100px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.payment-card {
    background: var(--color-light-bg);
    border-radius: 30px;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.payment-card-tall {
    grid-row: span 2;
    height: 445px;
}

.payment-card-short {
    height: 202px;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.payment-header:hover img {
    transform: translatex(-5px);
}

.payment-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--color-dark);
    padding-top: 5px;
    text-decoration: none;
}

.payment-icon {
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: transform 0.3s;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-description {
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
    max-width: 532px;
    margin-bottom: 16px;
}

.payment-disclaimer {
    font-size: 16px;
    font-weight: 200;
    color: var(--color-dark);
    max-width: 477px;
    margin-top: 24px;
}

.payment-image {
    position: absolute;
}

.payment-image-mortgage {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.payment-image-installment {
    bottom: 0;
    right: 0;
    width: 319px;
    height: 202px;
}

.payment-image-cash {
    bottom: 0;
    right: 0;
    width: 328px;
    height: 202px;
}

/* Footer */
.footer {
    margin-top: -30px;
}

.footer .container2 {
    background: var(--color-accent);
    padding: 24px 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-between;
    gap: 20px;
}

.footer-link {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-white);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-logo {
    width: 220px;
    height: 73px;
    object-fit: cover;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/**************************************************************************************************************/

.choose-apart {
    /* padding-top: 115px; */
    /* background: #DEDFDD; */
    /* padding-bottom: 100px; */
    /* margin-top: 120px; */
}

.filter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
}

.filter-column-1 {
    grid-column: span 4;
}

.filter-column-2 {
    grid-column: span 7;
}

.filter-column-3 {
    grid-column: span 7;
}

.filter-column-4 {
    grid-column: span 6;
}

.filter-column-5 {
    grid-column: span 6;
}

.filter-sales {
    display: flex;
    gap: 15px;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    box-shadow: 0px 3px 1px 0px #0000000F;
    background: #fff;
    border-radius: 8px;
    width: 200px;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #A4B3A2;
}


.filter-btn-sales span {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 28px;
    background: url(../img/choose-apart__ico_sale.svg) 0 43% no-repeat;
}

.filter-sep {
    width: 9%;
    height: 1px;
    background: #A0A0A0;
    margin-bottom: 24px;
}

.filter-block {
    /* width: 33%; */
}

.filter-title {
    font-size: 12px;
    color: #828282;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.filter-rooms {
    display: flex;
    gap: 15px;
}

.filter-rooms-item {
    height: 50px;
    border-radius: 100px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    cursor: pointer;
    border: 1px solid #9E9E9E;
    box-sizing: border-box;
    font-size: 18px;
}

.filter-rooms-item.active,
.filter-rooms-item:hover {
    background: #393536;
    color: white;
}

.filter-plans {
    /* width: 18vw; */
    max-width: 100%;
}

.filter-price {
    width: 18vw;
    max-width: 100%;
    width: 100%;
}

.filter-plans .irs-min,
.filter-plans .irs-max,
.filter-plans .irs-from,
.filter-plans .irs-to {
    display: none;
}

.filter-plans-item {
}

.filter-price .irs-min,
.filter-price .irs-max,
.filter-price .irs-from,
.filter-price .irs-to {
    display: none;
}

.filter-price-item {
}


.filter-refresh {
    background: url(../img/arrow__refresh.svg) calc(100% - 27px) 50% no-repeat #393536;
    cursor: pointer;
    font-size: 18px;
    color: white;
    border-radius: 8px;
    height: 50px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 49px;
    padding: 0px 15px;
    padding-right: 67px;
    box-sizing: border-box;
    /* width: 283px; */
    flex-shrink: 0;
    opacity: 0.4;
}

.filter-count {
    color: white;
    font-size: 18px;
    background: #393536;
    border-radius: 100px;
    height: 50px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    cursor: pointer;
}

.filter-count span {
    margin: 0px 10px;
}

.content {
    margin-top: 46px;
}

.show-more {
    margin: 0 auto;
    margin-top: 20px;
    width: 270px;
    cursor: pointer;
}

.items .gifts {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.items .gifts > li {
    display: inline-flex;
    background: #C6C6C6;
    border-radius: 8px;
    padding: 4px 5px;
    align-items: center;
}

.items .gifts > li:before {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 5px;
    display: inline-block;
}

.items .gifts > li span {
}

.items .gifts > li.ico1:before {
    background: url(../img/gift_ico1.svg) 50% 50% no-repeat;
}

.items .gifts > li.ico2:before {
    background: url(../img/gift_ico2.svg) 50% 50% no-repeat;
}

.items .gifts > li.ico3:before {
    background: url(../img/gift_ico3.svg) 50% 50% no-repeat;
}


.range-slider-wrapper {
    position: relative;
}

.range-slider-wrapper .irs {
    margin-left: 13px;
    margin-top: -2px;
}

.range-slider-text {
    background: none;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    height: 50px;
    align-items: center;
    padding: 0 10px;
    color: #828282;
    font-size: 12px;
    border: 1px solid #9E9E9E;
    border-radius: 100px;
}

.range-slider-text span {
    color: black;
    font-size: 16px;
    white-space: nowrap;
}

.range-slider-min span,
.range-slider-max span {
    font-size: 16px;
    color: #000;
    white-space: nowrap;
}


.irs--flat {
    height: auto;
}

.irs--flat .irs-bar {
    top: 1px;
    background: #393536;
    height: 1px;
}

.irs--flat .irs-handle > i:first-child {
    border: 2px solid #393536;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    top: -3px;
}

.irs--flat .irs-line {
    top: 0px;
    opacity: 0;
}

.irs--flat .irs-handle {
    top: 0px;
}

.irs--flat .irs-handle.state_hover > i:first-child,
.irs--flat .irs-handle:hover > i:first-child {
    background: white;
}


.irs--flat .irs-min,
.irs--flat .irs-max {
    top: 5px;
    font-family: "HalvarBreit";
    visibility: visible !important;
}


#choose-apart {
    margin-bottom: 100px;
}

#choose-apart .content {
}

#choose-apart .items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

#choose-apart .items {
}

#choose-apart .items .item {
    width: calc(33.333% - 27px);
    background: rgba(247, 243, 241, 1);
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    display: none;
    border-radius: 30px;
    overflow: hidden;
}

#choose-apart .items .item.show {
    display: flex;
}

#choose-apart .items .item .floor {
    color: #9E9E9E;
    margin-bottom: 4px;
}

#choose-apart .items .item .title {
    display: flex;
    justify-content: space-between;
}

#choose-apart .items .item .sale {
}

#choose-apart .items .item .sale Ãƒâ€˜Ã‹â€ Ãƒâ€˜Ã…â€™ÃƒÂÃ‚Â¿ {
}

#choose-apart .items .item .name {
    text-transform: uppercase;
}

#choose-apart .items .item .area {
    font-weight: 500;
}

#choose-apart .items .item .img {
    margin-top: 20px;
    margin-bottom: 20px;
}

#choose-apart .items .item .img picture {
    height: 15vw;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

#choose-apart .items .item .img picture img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

#choose-apart .items .item .text_container {
    border-top: 1px solid #DEDFDD;
    margin-left: -40px;
    margin-right: -40px;
    padding: 20px 40px;
}

#choose-apart .items .item .text_container .price {
    color: #39A13E;
}

#choose-apart .items .item .text_container .add {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 20px;
}

#choose-apart .items .item .text_container .add > li {
    border: 1px solid #DEDFDD;
    border-radius: 100px;
    padding: 9px;
    box-sizing: border-box;
}

#choose-apart .items .item .text_container .btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#choose-apart .items .item .text_container .btns .btn {
}


.disclamer {
    font-size: 10px;
    color: white;
    display: none;
    text-align: left;
}


@media (max-width: 1600px) {
    .header .container {
        gap: 15px;
    }

    .header-nav {
        gap: 15px;
        animation: none;
    }

    .amenities-content {
        top: 100px;
    }

    .amenities-title {
        font-size: 3vw;
    }

    .amenities-subtitle {
        font-size: 3vw;
    }

    .amenities-description {
        font-size: 3vw;
    }
}

@media (max-width: 1500px) {
    .header-nav {
        position: absolute;
        top: 95px;
        right: 0%;
        left: auto;
        transition: 0.2s;
        background: white;
        height: auto;
        z-index: 2;
        width: 520px;
        max-width: 100%;
        border: none;
        background: hwb(0deg 0% 100% / 80%);
        backdrop-filter: blur(8px);
        margin: 0px;
        flex-direction: column;
        border-radius: 30px;
        opacity: 0 !important;
        transition: all 0.5s !important;
        pointer-events: none;
    }

    .header .container {
        padding-right: 66px;
    }

    .burger {
        display: block;
    }

    .burger {
        width: 33px;
        height: 44px;
        border-radius: 100px;
        line-height: 44px;
        text-align: center;
        font-size: 9px;
        text-transform: uppercase;
        font-weight: 700;
        position: absolute;
        top: 24px;
        right: 15px;
        /* transform: translateY(-50%); */
        z-index: 9;
        display: flex;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
    }

    .burger:before {
        content: '';
        display: block;
        height: 2px;
        background: white;
        transition: 0.2s;
        transform-origin: 0px 6px;
    }

    .burger:after {
        content: '';
        display: block;
        height: 2px;
        background: white;
        transition: 0.2s;
        transform-origin: 5px -2px;
    }

    .burger span {
        pointer-events: none;
        display: block;
        height: 2px;
        background: white;
        margin: 9px 0px;
    }

    .menuopen .burger span {
        opacity: 0;
    }

    .menuopen .burger:before {
        transform: rotate(45deg);
    }

    .menuopen .burger:after {
        transform: rotate(-45deg);
    }

    .menuopen .header-nav {
        opacity: 1 !important;
        pointer-events: all;
        z-index: 10;
    }

    .title1 {
        font-size: 3.5vw;
    }
}

@media (max-width: 1200px) {

    .bg {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .title1 {
        margin-bottom: 30px;
    }

    .btn {
        font-size: 16px;
    }

    .why-choose-row-1 {
        grid-template-columns: 1fr;
    }

    .why-choose-row-2 {
        grid-template-columns: 1fr 1fr;
    }

    .offers-grid {
        gap: 20px;
        grid-auto-rows: 200px;
    }

    .offer-card {
        padding: 15px;
    }

    .offer-card-1 {
        grid-column: span 13;
    }

    .offer-card-2 {
        grid-column: span 7;
    }

    .offer-card-3 {
        /*grid-column: span 10;
        min-height: 200px;*/
    }

    .offer-card-4 {
        grid-column: span 10;
    }

    .offer-card-5 {
        grid-column: span 7;
    }

    .offer-card-6 {
        grid-column: span 13;
    }

    .offer-decoration {
        width: 60px;
        height: 70px;
    }

    .sport_title {
        font-size: 40px;
    }

    .sport_wrap {
        gap: 0 20px;
    }

    .sport_wrap > div {
        padding: 20px;
    }

    .sport_wrap > div p {
        font-size: 18px;
    }

    .filter {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-title {
        min-width: 230px;
    }

    .floor-plan-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: space-between;
    }

    .floor-plan-info {
        padding: 25px 15px;
    }

    .floor-plan-actions {
        padding: 15px;
    }

    .floor-plan-title {
        font-size: 2.5vw;
    }

    .floor-plan-features {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .floor-plan-feature {
        width: calc(50% - 8px);
    }

    .floor-plan-badge-text {
        font-size: 16px;
    }

    .floor-plan-feature-text {
        font-size: 16px;
    }

    .floor-plan-toggle {
        display: flex;
        align-items: center;
        padding: 5px 22px;
        justify-content: space-between;
    }

    .floor-plan-toggle-label-left {
        font-size: 20px;
        padding-top: 3px;
        display: block;
        position: relative;
        top: auto;
        left: auto;
    }

    .floor-plan-toggle-label-right {
        font-size: 20px;
        padding-top: 3px;
        display: block;
        position: relative;
        top: auto;
        left: auto;
    }

    .floor-plan-toggle-button {
    }

    .floor-plan-toggle-bg {
        /* display:flex; */
        /* align-items:center; */
        /* height: 50px; */
    }

    .floor-plan-gallery {
        padding: 15px;
        gap: 15px;
    }

    .floor-plan-buttons {
        gap: 15px;
    }

    .filter-refresh {
        font-size: 16px;
        white-space: nowrap;
    }

    .filter-count {
        font-size: 16px;
        white-space: nowrap;
    }

    #choose-apart .items .item {
        padding: 15px;
        width: calc(50% - 8px);
    }

    #choose-apart .items .item .text_container {
        padding-bottom: 0;
    }

    #choose-apart .items {
        gap: 15px;
        justify-content: space-between;
    }

    .hero-text-dark {
        font-size: 16px;
        line-height: normal;
    }

    .why-choose-card {
        padding: 15px 15px;
        height: auto;
        min-height: auto;
        gap: 16px;
    }

    .why-choose-card-title {
        font-size: 18px;
        white-space: normal;
    }

    .why-choose-card-description {
        font-size: 16px;
        line-height: normal;
    }

    .location-card {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .location-card-title {
        font-size: 18px;
        margin-bottom: 0;
        white-space: normal;
    }

    .location-card-description {
        font-size: 16px;
        white-space: normal;
        padding-right: 70px;
    }

    #mapLocation {
        height: 400px;
    }

    .location-content {
        flex-direction: column;
    }

    .location-cards {
        width: 100%;
    }

    .payment-title {
        font-size: 18px;
        margin-bottom: 0;
    }

    .payment-icon {
        width: 40px;
        height: 40px;
    }

    .payment-description {
        font-size: 16px;
        width: 70%;
        margin-bottom: 20px;
    }

    .payment-disclaimer {
        font-size: 12px;
        width: 70%;
    }

    .review-card-tall {
        min-height: 300px;
    }

    .review-card {
        padding: 15px;
    }

    .review-header {
        margin-bottom: 15px;
    }

    .review-text {
        font-size: 14px;
    }

    .contact-form-card {
        padding: 15px;
    }

    .contact-form-title {
        margin-bottom: 0;
    }

    .contact-form-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 15px;
        margin-bottom: 0px;
    }

    .contact-info-grid {
        flex-direction: column;
    }

    .contact-info-text {
        white-space: normal;
    }

    .contact-info-text br {
        display: inline;
    }

    .contact-map {
        min-height: 400px;
    }

    .contact-info-left {
        gap: 30px;
    }

    .contact-info-item {
        gap: 0px;
    }

    .footer .container2 {
        padding: 25px 0;
    }


    .footer-nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 16px;
        width: calc(50% - 5px);
        text-align: center;
        padding: 5px 30px;
        text-align: right;
    }

    .footer-link:nth-child(2),
    .footer-link:nth-child(5) {
        text-align: left;
    }

    .footer-logo {
        object-fit: contain;
        margin-right: 24px;
        margin-left: auto;
        margin-right: auto;
        flex-basis: 100%;
        height: 50px;
        margin-bottom: 5px;
        order: -1;
        margin-bottom: 10px;
    }

}

@media (max-width: 992px) {
    .offer-card-3 {
        grid-row: unset;
    }

    .sport_title {
        font-size: 30px;
    }

    .sport_wrap {
        flex-direction: column;
        gap: 20px 0;
    }

    .sport_wrap > div {
        width: 100%;
    }

    .sport_wrap > div p {
        min-height: auto;
    }
}


/* Медиазапросы для адаптивности */
@media (max-width: 768px) {

    .bg {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .btn {
        width: 100%;
        max-width: none;
    }

    .title1 {
        font-size: 22px !important;
    }

    .header .container {
        height: 60px;
    }

    .header-button {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-logo {
        height: 50px;
        width: auto;
    }

    .burger {
        top: 12px;
    }

    .amenities-title {
        font-size: 7vw;
    }

    .amenities-subtitle {
        font-size: 7vw;
    }

    .amenities-description {
        font-size: 6vw;
        text-align: center;
    }

    .amenities-house {
        content: url("../img/bg1-mob-house.jpg");
        height: 100%;
    }

    .amenities-overlay {
        z-index: 2;
    }

    .amenities-button {
        width: 350px;
        max-width: 80%;
    }

    .offers-grid {
        display: flex;
        flex-direction: column;
        gap: 10px 0;
    }

    .sport {
        margin-top: 50px;
    }

    .sport_title {
        font-size: 22px;
    }

    .floor-plan-gallery {
        flex-direction: column;
        height: auto;
    }

    .floor-plan-thumbnails {
        flex-direction: row;
        width: 100%;
        gap: 15px;
    }

    .floor-plan-gallery.active .floor-plan-thumbnails a {
        display: block;
        width: 100%;
        height: auto;
    }

    .floor-plan-main {
        flex-direction: column;
    }

    .floor-plan-main-image-container a {
        padding: 15px;
    }

    .floor-plan-toggle-bg {
        display: none;
    }

    .floor-plan-title {
        font-size: 20px;
    }

    .floor-plan-toggle {
        position: relative;
        transform: translate(-50%, 0%);
        margin-top: 10px;
        width: 100%;
        border: 1px solid var(--color-accent);
        border-radius: 30px;
    }

    .floor-plan-toggle-label-left {
        position: static;
        order: -1;
        font-size: 18px;
    }

    .floor-plan-toggle-button {
        position: relative;
        left: auto;
        top: auto;
    }

    .floor-plan-toggle-label-right {
        position: static;
        font-size: 18px;
    }

    .floor-plan-feature {
        width: 100%;
    }

    .floor-plan-buttons {
        display: flex;
        flex-direction: column;
    }

    .filter {
        gap: 30px;
    }

    .filter-block {
        width: 100%;
    }

    .filter-refresh {
        width: 100%;
    }

    .filter-count {
        width: 100%;
    }

    #choose-apart .items .item {
        width: 100%;
    }

    #choose-apart .items .item .img picture {
        min-height: 200px;
    }


    .carousel-image.swiper-slide-prev {
        margin-top: 0px;
    }

    .carousel-image.swiper-slide-active {
        margin-top: 0px;
    }

    .carousel-image.swiper-slide-next {
        transform: scale(1) !important;
        z-index: 2;
        margin-top: 0px;
    }

    .carousel-image.swiper-slide-active:before {
        opacity: 0;
    }

    .hero-carousel .swiper-wrapper {
        padding: 0;
    }

    .offer-title {
        font-size: 18px;
    }

    .offer-subtitle {
        font-size: 16px;
    }

    .offer-card {
        grid-column: span 20;
        margin-bottom: 10px;
        min-height: auto;
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .offer-image {
        width: 100%;
        border-radius: 30px;
    }

    .offer-decoration {
        opacity: 0.3;
        left: auto;
        right: 0;
    }

    .why-choose-card {
        width: 100%;
        padding-right: 60px;
    }

    .why-choose-row-1 {
        grid-template-columns: 1fr;
        margin-bottom: 15px;
        gap: 15px;
    }

    .why-choose-row-1 > div {
        grid-template-columns: 1fr !important;
    }

    .why-choose-row-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-card-hero {
        background: none;
        padding: 0;
    }

    .why-choose-card-hero:after {
        content: '';
        background: url(../img/image-4-mob.jpg) center top no-repeat;
        background-size: cover;
        padding: 0;
        margin: 0;
        padding-top: calc(479 / 800 * 100%);
        width: 100%;
        border-radius: 30px;
    }

    .location-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .location-cards {
        gap: 15px;
    }

    .location-card {
        padding-right: 60px;
    }


    .payment-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .payment-card {
        padding: 20px;
        height: auto;
    }

    .payment-image-mortgage {
        content: url(../img/image-1-mob.png);
        position: static;
        display: block;
        height: auto;
        object-fit: fill;
        margin-left: -20px;
        width: calc(100% + 40px);
        margin-bottom: -20px;
    }

    .payment-header {
        width: 100%;
    }

    .payment-description {
        width: 100%;
    }

    .payment-disclaimer {
        width: 100%;
        margin-bottom: 20px;
    }

    .payment-image-installment {
        content: url(../img/image-2-mob.jpg);
        position: static;
        display: block;
        height: auto;
        object-fit: fill;
        margin-left: -20px;
        width: calc(100% + 40px);
        margin-bottom: -20px;
        border-radius: 30px;
    }

    .payment-image-cash {
        content: url(../img/image-3-mob.jpg);
        position: static;
        display: block;
        height: auto;
        object-fit: fill;
        margin-left: -20px;
        width: calc(100% + 40px);
        margin-bottom: -20px;
        border-radius: 30px;
    }


    .review-card {
        padding: 20px;
        min-height: auto;
    }

    .reviews-grid {
        position: static;
    }

    .reviews-grid .swiper {
        padding-bottom: 0px;
    }

    .reviews-grid .swiper-wrapper {
        display: flex;
        align-items: center;
        padding: 0;
        height: auto !important;
    }

    .reviews-grid .swiper-slide-next {
        transform: scale(1) !important;
    }

    .how-to-buy-section .container2 {
        padding: 15px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .contact-form-wrapper {
        background-size: auto 150px;
        background-position: center top;
        background-repeat: no-repeat;
        padding: 150px 0 0 0;
    }

    .contact-form-card {
        width: 100%;
        margin-top: -30px;
    }

    .section-title {
        /* font-size: 18px !important; */
        margin-bottom: 15px;
    }

    .floor-plan-item {
        gap: 15px;
    }

    .section-title br {
        display: none;
    }

    .contact-info-title {
        font-size: 18px;
    }

    .contact-map {
        margin-left: -30px;
        width: calc(100% + 60px);
        overflow: hidden;
    }


    .footer-link {
        font-size: 14px;
        padding: 5px 15px;
        width: 100%;
        text-align: center !important;
    }

    .footer {
        margin: 0;
    }

    form .form-group {
        width: 100%;
    }

    .amenities-section {
        margin-bottom: 50px;
    }

    .offers-section {
        margin-bottom: 50px;
    }

    .floor-plans-section {
        margin-bottom: 50px;
        margin-top: 50px;
    }

    #choose-apart {
        margin-bottom: 50px;
    }

    .hero-section {
        margin-bottom: 50px;
    }

    .why-choose-section {
        margin-bottom: 50px;
    }

    .location-section {
        margin-bottom: 50px;
    }

    .payment-section {
        margin-bottom: 50px;
    }

    .reviews-navigation {
        margin-bottom: 50px;
    }

    .contact-info-left {
        gap: 15px;
    }

    .reviews-section .bg {
        padding-bottom: 100px;
    }

}






