/* Стили для нового блока с видео */
.hero-block-new {
    position: relative; /* для позиционирования видео внутри */
    margin: 30px 20px 0;
    border-radius: 20px;
    overflow: hidden; /* чтобы видео не вылезало за скругленные углы */
    min-height: 95vh; /* Высокий первый экран с видео, как было ранее */
}

.video-bg-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg-new video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* чтобы видео заполняло контейнер без искажений */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    text-align: center;
}

.hero-title {
    font-family: "Vetrino", serif;
    font-weight: 400;
    font-size: clamp(50px, calc(4.3057vw + 7.34px), 90px); /* Масштабирование от 90px (на 1920px) до 50px (на 991px) */
    leading-trim: CAP_HEIGHT;
    line-height: 0.88;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.hero-subtitle {
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-size: clamp(16px, calc(0.6458vw + 9.598px), 22px); /* Масштабирование от 22px (на 1920px) до 16px (на 991px) */
    leading-trim: CAP_HEIGHT;
    line-height: 100%; /* Изменено с 1 на 100% */
    letter-spacing: -4%; /* Изменено с -0.04em на -4% */
    color: #FFFFFF;
    margin-top: 20px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
}

/* New block About Company */
.about-company-block {
    margin-top: clamp(60px, calc(60px + (125 - 60) * ((100vw - 991px) / (1920 - 991))), 125px);
    padding: 0 clamp(20px, calc(20px + (100 - 20) * ((100vw - 991px) / (1920 - 991))), 100px);
    margin-left: auto;
    margin-right: auto;
}

.about-company-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    margin-bottom: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px); /* Изменено для отступа от заголовка */
}

.square-icon {
    width: 10px;
    height: 10px;
    background-color: #353331;
    border-radius: 2px;
    flex-shrink: 0;
}

.about-company-text {
    font-family: "Commissioner", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #232A39; /* Предполагаю белый цвет текста, как в остальных частях темы */
    margin-left: 5px;
}

/* Цвет для секции уникальных предложений */
.unique-offers-section .about-company-text {
    color: #353331;
}

/* New block Four Blocks Section */
.four-blocks-container {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px);
    max-width: clamp(951px, calc(951px + (1720 - 951) * ((100vw - 991px) / (1920 - 991))), 1720px);
    margin: 0 auto;
}

.four-blocks-row {
    display: flex;
    gap: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px);
}

.single-block {
    height: clamp(250px, calc(250px + (460 - 250) * ((100vw - 991px) / (1920 - 991))), 460px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px; /* Изменено с 10px на 20px */
    position: relative; /* Добавлено для позиционирования псевдоэлемента */
}

.block-top-left,
.block-bottom-right {
    width: clamp(310px, calc(310px + (560 - 310) * ((100vw - 991px) / (1920 - 991))), 560px);
}

.block-top-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(303.13deg, rgba(0, 0, 0, 0) 6.86%, rgba(0, 0, 0, 0.6) 68.19%);
    border-radius: 20px; /* Обновлено с 10px на 20px */
    z-index: 1; /* Чтобы быть поверх изображения */
}

.block-top-right {
    width: clamp(630px, calc(630px + (1140 - 630) * ((100vw - 991px) / (1920 - 991))), 1140px);
    background-color: #353331;
    position: relative;
}

.block-bottom-left {
    width: clamp(630px, calc(630px + (1140 - 630) * ((100vw - 991px) / (1920 - 991))), 1140px);
    background-color: #706D6B;
}

.block-bottom-right {
    background-size: 150%; /* Устанавливаем размер изображения 150% */
    background-position: top left;
}

.block-bottom-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000004D; /* Возвращаем исходную прозрачность */
    border-radius: 20px; /* Обновлено с 10px на 20px */
    z-index: 1; /* Чтобы быть поверх изображения */
} 

.angle-right,
.angle-left,
.angle-top,
.angle-bottom {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.angle-right {
    position: absolute;
    right: 31px;
    bottom: 0;
    width: 20px;
    height: 20px;
    z-index: 2;
    transform: rotate(90deg);
}

.angle-left {
    position: absolute;
    right: 52px;
    bottom: 0;
    width: 20px;
    height: 20px;
    z-index: 2;
}

.angle-top {
    position: absolute;
    right: 0;
    bottom: 53px;
    width: 20px;
    height: 20px;
    z-index: 2;
}

.angle-bottom {
    position: absolute;
    right: 0;
    bottom: 31px;
    width: 20px;
    height: 20px;
    z-index: 2;
    transform: rotate(270deg);
}

/* Icon and Arrow in Blocks */
.block-icon-wrapper {
    position: absolute;
    bottom: -4px; /* Смещено в уголок с учетом бордера */
    right: -4px; /* Смещено в уголок с учетом бордера */
    width: 56px;
    height: 56px;
    background-color: #353331;
    border-radius: 20px; /* Обновлено с 18px на 20px */
    border: 4px solid #f5f5f5; /* Добавлен бордер */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Чтобы быть поверх маски */
    cursor: pointer;
}

.block-arrow-icon {
    width: clamp(9px, calc(9px + (14 - 9) * ((100vw - 991px) / (1920 - 991))), 14px);
    height: clamp(9px, calc(9px + (14 - 9) * ((100vw - 991px) / (1920 - 991))), 14px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.block-icon-wrapper:hover .block-arrow-icon {
    opacity: 1;
} 

/* New content in Block 1 */
.block-content-wrapper {
    position: relative;
    z-index: 2;
    padding: clamp(20px, calc(20px + (40 - 20) * ((100vw - 991px) / (1920 - 991))), 40px);
    display: flex; /* Добавлено */
    flex-direction: column; /* Добавлено */
    justify-content: space-between; /* Добавлено */
    height: 100%; /* Добавлено для заполнения высоты родителя */
    box-sizing: border-box; /* Добавлено */
    align-items: flex-start; /* Возвращено для предотвращения растягивания кнопок */
}

.block-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.block-number {
    font-family: 'Commissioner', sans-serif;
    font-weight: 600;
    font-size: clamp(50px, calc(50px + (100 - 50) * ((100vw - 991px) / (1920 - 991))), 100px);
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #FFFFFF;
}

.block-description {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(16px, calc(16px + (24 - 16) * ((100vw - 991px) / (1920 - 991))), 24px);
    line-height: 85%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-top: clamp(5px, calc(5px + (10 - 5) * ((100vw - 991px) / (1920 - 991))), 10px);
    max-width: clamp(100px, calc(100px + (130 - 100) * ((100vw - 991px) / (1920 - 991))), 130px);
}

.block-catalog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 991px) / (1920 - 991))), 18px);
    line-height: 100%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #353331;
    padding: clamp(10px, calc(10px + (16 - 10) * ((100vw - 991px) / (1920 - 991))), 16px) clamp(10px, calc(10px + (14 - 10) * ((100vw - 991px) / (1920 - 991))), 14px);
    background-color: #FFFFFF;
    border-radius: 7px;
    white-space: nowrap;
    flex-grow: 0; /* Добавлено для предотвращения растягивания */
    flex-shrink: 0; /* Добавлено */
    flex-basis: auto; /* Добавлено */
} 

.block-description-four {
    max-width: clamp(150px, calc(150px + (250 - 150) * ((100vw - 991px) / (1920 - 991))), 250px);
    line-height: 85%; /* Увеличено до 120% */
} 

.block-heading-two {
    font-family: 'Commissioner', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, calc(24px + (44 - 24) * ((100vw - 991px) / (1920 - 991))), 44px); /* Масштабирование */
    line-height: 85%;
    letter-spacing: -0.03em; /* Изменено на -3% */
    color: #FFFFFF; /* Остальное белым */
    margin: 0;
    text-align: left;
    max-width: clamp(350px, calc(350px + (620 - 350) * ((100vw - 991px) / (1920 - 991))), 620px); /* Новая максимальная ширина */
}

.highlight-guarantee {
    color: #959595;
} 

.block-paragraph-two {
    font-family: 'Commissioner', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 991px) / (1920 - 991))), 16px);
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-top: clamp(15px, calc(15px + (25 - 15) * ((100vw - 991px) / (1920 - 991))), 25px);
    max-width: clamp(280px, calc(280px + (460 - 280) * ((100vw - 991px) / (1920 - 991))), 460px);
}

.block-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(5px, calc(5px + (10 - 5) * ((100vw - 991px) / (1920 - 991))), 10px);
    max-width: clamp(600px, calc(600px + (1000 - 600) * ((100vw - 991px) / (1920 - 991))), 1000px);
    margin-top: clamp(15px, calc(15px + (25 - 15) * ((100vw - 991px) / (1920 - 991))), 25px); /* Отступ от параграфа */
}

.block-tag-item {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 991px) / (1920 - 991))), 18px);
    line-height: 100%;
    letter-spacing: -0.04em;
    text-align: center;
    color: #FFFFFF80;
    background-color: #FFFFFF26;
    padding: clamp(7px, calc(7px + (10 - 7) * ((100vw - 991px) / (1920 - 991))), 10px);
    border-radius: clamp(5px, calc(5px + (7 - 5) * ((100vw - 991px) / (1920 - 991))), 7px);
    text-decoration: none;
    white-space: nowrap;
} 

/* New content in Block 3 (Custom Heading) */
.block-heading-three-custom {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(24px, calc(24px + (44 - 24) * ((100vw - 991px) / (1920 - 991))), 44px);
    line-height: 80%;
    letter-spacing: -0.03em;
    color: #FFFFFF; /* Остальной текст белый */
    margin: 0;
    text-align: left;
}

.highlight-experience {
    color: #FFFFFF99;
} 

/* New unique offers section */
.unique-offers-section {
    margin-top: clamp(60px, calc(60px + (125 - 60) * ((100vw - 991px) / (1920 - 991))), 125px);
    padding: 0 clamp(20px, calc(20px + (100 - 20) * ((100vw - 991px) / (1920 - 991))), 100px);
    margin-left: auto;
    margin-right: auto;
}

/* New unique offers selector */
.unique-offers-selector-wrapper {
    margin-top: 30px;
    display: flex;
    border-radius: 12px;
    border: 1px solid #10182B26;
    overflow: hidden; /* Для скругления углов у кнопок внутри */
    width: fit-content; /* Чтобы не растягивался на всю ширину */
    margin-left: auto; /* Для центрирования */
    margin-right: auto; /* Для центрирования */
    padding: 3px; /* Обновлен общий паддинг до 3px */
}

.unique-offers-selector-button {
    width: clamp(150px, calc(150px + (150 - 150) * ((100vw - 991px) / (1920 - 991))), 150px); /* Фиксированная ширина 150px, масштабируется до 150px */
    padding: 15px 20px; /* Обновлены верхний и нижний паддинги до 15px */
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;

    font-family: 'Commissioner', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 18px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: -0.04em; /* -4% */
    text-align: center;
    color: #353331;
    background-color: #DFDFDF;
}

.unique-offers-selector-button:first-child {
    border-top-left-radius: 9px; /* Радиус 12px от родителя - 3px паддинг = 9px */
    border-bottom-left-radius: 9px; /* Радиус 12px от родителя - 3px паддинг = 9px */
}

.unique-offers-selector-button:last-child {
    border-top-right-radius: 9px; /* Радиус 12px от родителя - 3px паддинг = 9px */
    border-bottom-right-radius: 9px; /* Радиус 12px от родителя - 3px паддинг = 9px */
}

.unique-offers-selector-button.active {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 18px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: -0.04em; /* -4% */
    text-align: center;
    color: #FFFFFF;
    background-color: #353331;
}

/* New Benefits Section */
.benefits-section {
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px);
    max-width: clamp(951px, calc(951px + (1720 - 951) * ((100vw - 991px) / (1920 - 991))), 1720px);
    margin: 0 auto;
}

.benefits-row {
    display: flex;
    gap: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px);
    flex-wrap: wrap; /* Для адаптивности на меньших экранах */
}

.benefit-block {
    background-color: #FFFFFF1A;
    padding: clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px);
    border-radius: clamp(5px, calc(5px + (10 - 5) * ((100vw - 991px) / (1920 - 991))), 10px);
    flex: 1 1 calc(50% - clamp(10px, calc(10px + (20 - 10) * ((100vw - 991px) / (1920 - 991))), 20px) / 2);
    box-sizing: border-box; /* Учитываем padding в ширине */
}

.benefit-subtitle {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, calc(18px + (24 - 18) * ((100vw - 991px) / (1920 - 991))), 24px);
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
    margin-bottom: clamp(5px, calc(5px + (10 - 5) * ((100vw - 991px) / (1920 - 991))), 10px);
}

.benefit-text {
    font-family: 'Commissioner', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 991px) / (1920 - 991))), 18px);
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
} 

/* New content in Block 3 */
.block-heading-three {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(24px, calc(24px + (44 - 24) * ((100vw - 991px) / (1920 - 991))), 44px); /* Корректировка масштабирования до 44px */
    leading-trim: CAP_HEIGHT;
    line-height: 80%;
    letter-spacing: -0.03em; /* -3% */
    color: #FFFFFF; /* Остальной текст белый */
    margin: 0;
    text-align: left;
}

.highlight-experience {
    color: #FFFFFF99;
} 

/* New unique offers subheader */
.unique-offers-subheader {
    margin-top: 15px;
    font-family: "Vetrino", serif;
    font-weight: 400;
    font-size: clamp(40px, calc(40px + (60 - 40) * ((100vw - 991px) / (1920 - 991))), 60px); /* Масштабирование от 60px (на 1920px) до 40px (на 991px) */
    leading-trim: CAP_HEIGHT;
    line-height: 90%;
    letter-spacing: -3%;
    text-align: center;
    text-transform: uppercase;
    color: #353331;
} 

/* New Benefits Section */
.benefits-section {
} 

/* Стили для контейнера карточек объектов */
/* Удаляем стили для контейнера карточек из new-main.css, используем catalog.css */

/* Стили для кнопки "Загрузить больше" */
.load-more-button-wrapper {
    margin-top: clamp(30px, calc(30px + (40 - 30) * ((100vw - 991px) / (1920 - 991))), 40px); /* Отступ сверху */
    text-align: center;
}

.load-more-button {
    background-color: #353331; /* Цвет фона кнопки */
    color: #FFFFFF; /* Цвет текста */
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 991px) / (1920 - 991))), 18px);
    padding: clamp(12px, calc(12px + (16 - 12) * ((100vw - 991px) / (1920 - 991))), 16px) clamp(25px, calc(25px + (40 - 25) * ((100vw - 991px) / (1920 - 991))), 40px);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #232A39; /* Темнее при наведении */
} 

.property-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: clamp(20px, calc(20px + (40 - 20) * ((100vw - 991px) / (1920 - 991))), 40px); /* Отступ от селектора */
}

/* mobile styles moved to property-card.css */

.property-cards-container::-webkit-scrollbar {
    display: none; /* Скрываем скроллбар для Webkit-браузеров */
}

.property-cards-container .property-card {
    flex-shrink: 0; /* Запрещаем сжатие карточек */
    scroll-snap-align: start; /* Привязка к началу элемента при скролле */
}

.property-slider-arrow {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 0 2px 8px #0001;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    padding: 0;
}

.property-slider-arrow img {
    width: 40px;
    height: 40px;
}

.property-slider-arrow-left {
    left: -20px;
}

.property-slider-arrow-right {
    right: -20px;
} 

/* New consultation section */
.consultation-section {
    margin: clamp(60px, calc(60px + (125 - 60) * ((100vw - 991px) / (1920 - 991))), 125px) clamp(20px, calc(20px + (100 - 20) * ((100vw - 991px) / (1920 - 991))), 100px) 150px;
    background-image: url('../images/consult.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: clamp(20px, calc(20px + (40 - 20) * ((100vw - 991px) / (1920 - 991))), 40px);
}

.consultation-content {
    flex: 1;
    padding: clamp(30px, calc(30px + (62 - 30) * ((100vw - 991px) / (1920 - 991))), 62px) 0 clamp(30px, calc(30px + (62 - 30) * ((100vw - 991px) / (1920 - 991))), 62px) clamp(35px, calc(35px + (70 - 35) * ((100vw - 991px) / (1920 - 991))), 70px);
}

.consultation-title {
    font-family: "Vetrino", serif;
    font-weight: 400;
    font-size: clamp(30px, calc(30px + (44 - 30) * ((100vw - 991px) / (1920 - 991))), 44px);
    leading-trim: CAP_HEIGHT;
    line-height: 90%;
    letter-spacing: -3%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

.consultation-subtitle {
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 991px) / (1920 - 991))), 18px);
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
    color: #FFFFFF;
    margin: 0 0 30px 0;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consultation-form-row {
    display: flex;
    gap: 10px;
}

.consultation-input {
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-size: 16px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: -6%;
    padding: 20px;
    border: 1px solid #FFFFFF33;
    background-color: #FFFFFF1A;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    color: #FFFFFF;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}

.consultation-input::placeholder {
    color: #FFFFFF80;
}

.consultation-input.email-input {
    max-width: 650px;
}

.consultation-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.consultation-checkbox {
    width: 20px;
    height: 20px;
    accent-color: transparent;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    cursor: pointer;
}

.consultation-checkbox:checked {
    background-color: transparent;
    border-color: #FFFFFF;
}

.consultation-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
}

.consultation-checkbox-label {
    font-family: "Commissioner", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 991px) / (1920 - 991))), 16px);
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: -6%;
    color: #FFFFFF;
    cursor: pointer;
}

.consultation-checkbox-label .underline-text {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 6%;
    text-decoration-skip-ink: auto;
    color: #FFFFFF;
}

.consultation-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-family: "Commissioner", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 991px) / (1920 - 991))), 18px);
    line-height: 100%;
    letter-spacing: -0.04em;
    text-align: left;
    color: #353331;
    padding: 5px 5px 5px 15px;
    background-color: #FFFFFF;
    border-radius: 7px;
    white-space: nowrap;
    max-width: 320px;
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.consultation-submit-btn .btn-icon-wrap {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: clamp(35px, calc(35px + (45 - 35) * ((100vw - 991px) / (1920 - 991))), 45px);
    height: clamp(35px, calc(35px + (45 - 35) * ((100vw - 991px) / (1920 - 991))), 45px);
    background-color: #353331;
    border-radius: 5px;
}
.consultation-submit-btn span:first-of-type {
    transition: opacity 0.3s ease;
}
.consultation-submit-btn:hover span:first-of-type {
    opacity: 0.8;
}
.consultation-submit-btn .btn-icon-wrap img {
    transition: transform 0.3s ease;
}
.consultation-submit-btn:hover .btn-icon-wrap img {
    transform: rotate(45deg);
}

.consultation-image {
    flex-shrink: 0;
    max-width: clamp(400px, calc(400px + (840 - 400) * ((100vw - 991px) / (1920 - 991))), 840px);
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
} 

/* --- Модалка с видео о компании --- */
.video-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: #000000CC;
  z-index: 1;
}
.video-modal-content {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 90px 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  transform: scale(0.2);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.4,1.7,.7,1), opacity 0.3s;
  will-change: transform, opacity;
}
.video-modal.active .video-modal-content {
  transform: scale(1);
  opacity: 1;
}
.video-modal-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  background: #000000CC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}
.video-modal-play img {
  width: 45px;
  height: 45px;
}
.video-modal-close {
  position: absolute;
  top: 50px;
  right: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4;
  padding: 0;
}
.video-modal-close img {
  width: 30px;
  height: 30px;
}
.video-modal video {
  display: block;
  max-width: 100%;
  max-width: 1400px;
  border-radius: 20px;
  z-index: 2;
  position: relative;
  background: #000;
}
@media (max-width: 991px) {
  .video-modal-content {
    padding: 40px 10px;
  }
  .video-modal-close {
    top: 20px;
    right: 20px;
  }
}
@media (max-width: 575px) {
  .video-modal-content {
    padding: 10px 0;
  }
  .video-modal-close {
    top: 10px;
    right: 10px;
  }
  .video-modal-play {
    width: 60px;
    height: 60px;
  }
  .video-modal-play img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 991px) {
    .video-bg-new {
        border-radius: 12px;
        overflow: hidden;
    }
    .hero-block-new {
        height: 95vh;
        min-height: 0;
        overflow: visible;
    }
    /* Контент hero */
    .hero-content {
        padding-top: 90px;
    }
    /* Заголовок hero */
    .hero-title {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: normal;
        font-size: 60px;
        line-height: 88%;
        letter-spacing: 0;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 30px;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
        /* margin-top: 90px; — убираем, теперь отступ у .hero-content */
    }
    /* Подзаголовок hero */
    .hero-subtitle {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 22px;
        line-height: 100%;
        letter-spacing: -4%;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .hero-buttons {
        gap: 10px;
    }
    .about-company-block {
        margin-top: 400px;
    }
    .about-company-title-wrapper {
        margin-bottom: 40px;
    }
    .four-blocks-row {
        flex-direction: column;
        gap: 20px;
    }
    .single-block {
        width: 100%;
        min-height: 460px;
        padding: 50px;
    }
    .block-content-wrapper {
        padding: 0;
    }
    /* Типографика для 1 и 4 блоков */
    .block-top-left .block-number,
    .block-bottom-right .block-number {
        font-family: 'Commissioner', sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 100px;
        line-height: 100%;
        letter-spacing: -5%;
    }
    .block-top-left .block-description,
    .block-bottom-right .block-description {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 24px;
        line-height: 85%;
        letter-spacing: -3%;
    }
    .block-top-left .block-catalog-btn,
    .block-bottom-right .block-catalog-btn {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -4%;
        text-align: center;
    }
    .block-top-left .block-arrow-icon,
    .block-bottom-right .block-arrow-icon {
        width: 14px;
        height: 14px;
    }
    .block-top-left .block-catalog-btn,
    .block-bottom-right .block-catalog-btn {
        padding: 16px 14px;
    }
    /* Второй блок: заголовок, текст, теги — пад */
    .block-heading-two {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 44px;
        line-height: 85%;
        letter-spacing: -3%;
        text-align: left;
        max-width: 620px;
        margin: 0;
    }
    .block-paragraph-two {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: -3%;
        margin-top: 25px;
        max-width: 460px;
    }
    .block-tags-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 25px;
        max-width: 900px;
    }
    .block-tag-item {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -4%;
        text-align: center;
        color: #FFFFFF80;
        background-color: #FFFFFF26;
        padding: 10px;
        border-radius: 7px;
        text-decoration: none;
        white-space: nowrap;
    }
    /* Третий блок: заголовок, подзаголовок и текст маленьких блоков — пад */
    .block-heading-three {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 44px;
        line-height: 80%;
        letter-spacing: -3%;
        margin: 0;
        text-align: left;
    }
    .benefit-subtitle {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -3%;
        margin: 0 0 10px 0;
    }
    .benefit-text {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -3%;
        margin: 0;
    }
    /* Отступ 35px от заголовка до маленьких блоков */
    .block-heading-three {
        margin-bottom: 35px;
    }
    /* Отступ 30px от подзаголовка до текста маленького блока */
    .benefit-subtitle {
        margin-bottom: 30px;
    }
    /* Третий блок: растяжение по контенту на паде */
    .single-block.block-bottom-left {
        min-height: unset;
        height: auto;
    }
    .benefit-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 20px;
    }
    /* Пад-типографика для заголовка 'Премиум объекты' в 3-й секции */
    .unique-offers-subheader {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: normal;
        font-size: 60px;
        line-height: 90%;
        letter-spacing: -3%;
        text-align: center;
        text-transform: uppercase;
        leading-trim: CAP_HEIGHT;
        margin-top: 20px;
    }
    /* На паде убираем нижний отступ у .about-company-title-wrapper в уникальных предложениях */
    .unique-offers-section .about-company-title-wrapper {
        margin-bottom: 0;
    }
    /* На паде позиционируем стрелки слайдера по краям картинки центральной карточки */
    .property-slider-arrow-left {
        left: 50%;
        transform: translateX(-215px) translateY(-50%);
    }
    .property-slider-arrow-right {
        right: 50%;
        transform: translateX(215px) translateY(-50%);
    }
    /* На паде второй блок второй секции (с тегами) растягивается по контенту */
    .single-block.block-top-right {
        height: auto;
        min-height: unset;
    }
    /* На паде секция консультации — основной блок в колонку */
    .consultation-content {
        display: flex;
        flex-direction: column;
    }
    /* На паде вся секция консультации — колонка */
    .consultation-section {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
    }
    /* На паде у .consultation-content паддинги 50 50 40 50 */
    .consultation-content {
        padding: 40px;
    }
    /* Пад-стили для секции консультации */
    .consultation-title {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: normal;
        font-size: 44px;
        line-height: 90%;
        letter-spacing: -3%;
        text-transform: uppercase;
        leading-trim: CAP_HEIGHT;
        margin-bottom: 20px;
    }
    .consultation-subtitle {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -3%;
        margin-bottom: 50px;
    }
    .consultation-form input::placeholder,
    .consultation-form textarea::placeholder {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: -6%;
        leading-trim: CAP_HEIGHT;
    }
    .consultation-checkbox {
        width: 15px;
        height: 15px;
        min-width: 15px;
        min-height: 15px;
    }
    .consultation-checkbox-label {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: -6%;
        leading-trim: CAP_HEIGHT;
    }
    /* Точная типографика кнопки отправки формы и space-between внутри */
    .consultation-submit-btn {
        font-family: 'Commissioner', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -4%;
        leading-trim: CAP_HEIGHT;
        width: 100%;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 5px 5px 15px;
        box-sizing: border-box;
    }
    /* На паде картинка консультации на всю ширину блока */
    .consultation-image {
        width: 100%;
        max-width: 100%;
        display: block;
        border-radius: 10px;
    }
}

@media (min-width: 992px) {
  .video-modal-close {
    position: fixed;
    top: 50px;
    right: 50px;
  }
}

@media (max-width: 991px) {
  .video-modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-modal-close {
    top: -50px;
  }
}

@media (max-width: 575px) {
    .hero-content {
        padding-top: 50px;
        height: 100%;
    }
    .hero-title {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: normal;
        font-size: 32px;
        line-height: 92%;
        letter-spacing: 0%;
        text-align: center;
        text-transform: uppercase;
        leading-trim: CAP_HEIGHT;
        margin-bottom: 0;
    }
    .hero-subtitle {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 90%;
        letter-spacing: -4%;
        text-align: center;
        leading-trim: CAP_HEIGHT;
        margin-top: 15px;
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Кнопки hero: в столбик и по низу блока */
    .hero-buttons {
        flex-direction: column;
        gap: 5px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        width: 100%;
        padding: 0 15px 15px 15px;
        box-sizing: border-box;
        align-items: stretch;
    }

    /* О компании секция */
    .about-company-block {
        margin-top: 70px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .about-company-title-wrapper {
        margin-bottom: 15px;
    }
    /* Стили для очень маленьких мобильных устройств */
    .hero-block-new {
        margin: 7px 10px 10px 10px;
        border-radius: 15px; /* Добавлено: радиус 15px для мобилы */
    }
    /* Добавьте остальные мобильные стили здесь */
    .block-top-left .block-icon-wrapper,
    .block-bottom-right .block-icon-wrapper {
        top: -4px;
        right: -4px;
        bottom: auto;
    }
    .angle-top {
        top: 31px;
    }
    .angle-bottom {
        top: 52px;
    }
    .angle-left {
        top: 0;
        transform: rotate(270deg);
    }
    .angle-right {
        top: 0;
        transform: rotate(180deg);
    }
    .block-top-left,
    .block-top-right,
    .block-bottom-left,
    .block-bottom-right {
        padding: 25px;
        min-height: 260px;
    }
    .block-top-left .block-number,
    .block-bottom-right .block-number {
        font-family: "Commissioner", sans-serif;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 70px;
        leading-trim: CAP_HEIGHT;
        line-height: 100%;
        letter-spacing: -5%;
    }
    .block-top-left .block-description,
    .block-bottom-right .block-description {
        font-family: "Commissioner", sans-serif;
        font-weight: 500;
        font-style: Medium;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 85%;
        letter-spacing: -3%;
        max-width: 170px;
    }
    .block-top-left .block-catalog-btn,
    .block-bottom-right .block-catalog-btn {
        font-family: "Commissioner", sans-serif;
        font-weight: 500;
        font-style: Medium;
        font-size: 18px;
        leading-trim: CAP_HEIGHT;
        line-height: 100%;
        letter-spacing: -4%;
        text-align: center;
        padding: 16px 14px;
    }
    .four-blocks-row {
        flex-direction: column;
        gap: 10px;
    }
    .block-top-right .block-heading-two {
        font-family: "Commissioner", sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 26px;
        leading-trim: CAP_HEIGHT;
        line-height: 85%;
        letter-spacing: -3%;
    }
    .block-top-right .block-paragraph-two {
        font-family: "Commissioner", sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: -3%;
        margin-top: 20px;
    }
    .block-top-right .block-tags-container {
        margin-top: 50px;
        gap: 5px;
    }
    .block-top-right .block-tag-item {
        font-family: "Commissioner", sans-serif;
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        leading-trim: CAP_HEIGHT;
        line-height: 100%;
        letter-spacing: -4%;
        text-align: center;
        padding: 7px 8px;
    }
    .block-bottom-left .block-heading-three {
        font-family: "Commissioner", sans-serif;
        font-weight: 500;
        font-style: Medium;
        font-size: 32px;
        leading-trim: CAP_HEIGHT;
        line-height: 80%;
        letter-spacing: -3%;
    }
    .benefit-subtitle {
        font-family: "Commissioner", sans-serif;
        font-weight: 500;
        font-style: Medium;
        font-size: 20px;
        leading-trim: NONE;
        line-height: 90%;
        letter-spacing: -3%;
    }
    .benefit-text {
        font-family: "Commissioner", sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: -3%;
    }
    .benefits-row {
        flex-direction: column;
    }
    .benefit-block {
        border-radius: 10px;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        box-shadow: 0px 2px 4px 0px #00000026;
    }
    .unique-offers-subheader {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 32px;
        leading-trim: CAP_HEIGHT;
        line-height: 90%;
        letter-spacing: -3%;
        text-align: center;
        text-transform: uppercase;
    }
    .unique-offers-selector-wrapper {
        margin-top: 20px;
    }
    .unique-offers-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .property-slider-arrow {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
    }
    .property-slider-arrow-left {
        left: 50%;
        transform: translateX(-177px) translateY(-50%);
    }
    .property-slider-arrow-right {
        right: 47%;
        transform: translateX(177px) translateY(-50%);
    }
    .consultation-section {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 70px;
    }
    .consultation-content {
        width: 100%;
        padding: 14px 15px 25px 25px;
    }
    .consultation-title {
        font-family: 'Vetrino', serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 32px;
        leading-trim: CAP_HEIGHT;
        line-height: 90%;
        letter-spacing: -3%;
        text-transform: uppercase;
        margin-bottom: 0;
    }
    .consultation-subtitle {
        margin-top: 15px;
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: -3%;
        margin-bottom: 30px;
    }
    .consultation-input {
        padding: 15px 14px;
    }
    .consultation-input::placeholder {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: CAP_HEIGHT;
        line-height: 100%;
        letter-spacing: -6%;
    }
    .consultation-input,
    .consultation-input.email-input {
        max-width: 100%;
    }
    .consultation-form-row {
        flex-direction: column;
        gap: 10px;
    }
    .consultation-checkbox-wrapper {
        align-items: center;
    }
    .consultation-checkbox-label {
        font-family: 'Commissioner', sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        leading-trim: CAP_HEIGHT;
        line-height: 85%;
        letter-spacing: -6%;
    }
}

/* Медиа-запрос для десктопа удален - теперь Swiper управляет шириной карточек */

/* Swiper custom styles */
.property-swiper {
  position: relative;
  width: 100%;
  max-width: 1720px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* Чтобы слайды не выходили за пределы контейнера */
}
.swiper-slide {
  height: 100%;
  display: flex;
}
.property-card {
  width: 100%;
  flex: 1;
  /* height: 100%; Убрано - конфликтует с flex-direction: column */
}
.swiper-wrapper {
  align-items: stretch;
  /* display: grid; Убрано - конфликтует со Swiper */
  /* grid-auto-flow: column; */
  /* grid-auto-columns: 1fr; */
}
.property-swiper .property-card {
  height: 100%; /* Карточки растягиваются по высоте слайда */
}
.property-swiper .swiper-slide {
  align-items: stretch; /* Слайды одной высоты */
}

/* Жёстко синхронизируем высоту слайдов с карточками как в property-card.css */
@media (min-width: 1400px) and (max-width: 1920px) {
  .property-swiper .swiper-slide { height: 550px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .property-swiper .swiper-slide { height: 520px; }
}
.property-swiper .swiper-button-next,
.property-swiper .swiper-button-prev {
  display: none !important;
}

/* Fallback-стили на случай, если CSS Swiper с CDN недоступен */
.swiper { overflow: hidden; }
.swiper-wrapper { display: flex; flex-wrap: nowrap; }
.swiper-slide { flex-shrink: 0; }