/* Инициализация шрифтов */

/* Gwendolyn */
@font-face {
    font-family: 'Gwendolyn';
    src: url('fonts/Gwendolyn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gwendolyn';
    src: url('fonts/Gwendolyn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Manrope */
@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* MeieScript */
@font-face {
    font-family: 'MeieScript';
    src: url('fonts/MeieScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Kugile */
@font-face {
    font-family: 'Kugile';
    src: url('fonts/Kugile.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* AW Conqueror Std Didot */
@font-face {
    font-family: 'AWConquerorStdDidot';
    src: url('fonts/awconqueror-std-didot.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    .wrapper,
    .main,
    .header,
    section,
    .slider-container,
    .amenities-gallery,
    .projects-gallery {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

.wrapper {
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #f8f9fa;
    text-align: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-image: url('img/Copy of A_Pti4ka_1 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Menu logo */
.menu {
    display: flex;
    justify-content: end;
    padding: 62px 100px 0 100px;
    position: relative;
    z-index: 2;
    align-items: center;
    gap: 50px;
}

.menu-logo {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
}

.menu-logo img {
    height: 64px;
    width: auto;
    display: block;
}

.menu-item {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.menu-item:hover {
    color: #000;
}

.menu-item:not(:last-child) {
    margin-right: 50px;
}

.contact-us {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 10px 18px;
    margin-left: 62px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-us:hover {
    background-color: #000;
    color: #fff;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.header-title {
    font-family: 'Kugile', serif;
    font-size: 60px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
}

.header-subtitle {
    font-family: 'Kugile', serif;
    font-size: 38px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

/* Header video */
.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Section 1 */
.section-1 {
    background-color: #fff;
    padding: 145px 133px 0 133px;
    margin-bottom: 100px;
}

/* Section 1 layout update */
.section-1-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.section-1-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.section-1-media-img {
    width: 100%;
    height: 328px;
    object-fit: cover;
    display: block;
}

/* tighten brochure spacing for new layout */
.section-1-brochure {
    max-width: 564px;
    padding-left: 0;
}

.section-1-brochure-title {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    max-width: 464px;
    text-align: left;
    margin-bottom: 20px;
}

.section-1-brochure-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    max-width: 464px;
    text-align: left;
    height: 86px;
    margin-bottom: 16px;
}

.section-1-brochure-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 14px 36px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.section-1-brochure-button:hover {
    background-color: #000;
    color: #fff;
}

.section-1-info-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;
    padding: 40px 60px;
    position: relative;
    grid-column: 1 / -1;
}

/* Section 1 info panel inner container */
.section-1-info-panel-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.info-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #3F3F3F;
    text-transform: uppercase;
    margin-bottom: 23px;
}

.info-main {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.info-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
}

.info-divider {
    width: 1px;
    height: 89px;
    background-color: #3F3F3F;
    margin: 0 40px;
    margin-top: 38px;
}

.info-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.nav-arrow {
    width: 46px;
    height: 46px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 97px;
}

/* Section 2 */
.section-2 {
    background-color: #fff;
    height: 590px;
    margin-bottom: 22px;
    display: flex;
    justify-content: flex-start;
}

.section-2-content {
    display: flex;
    width: 100%;
    padding: 0 133px 0 88px;
}

.section-2-text {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-main {
    font-family: 'AWConquerorStdDidot', serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 20%;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.text-sub {
    font-family: 'Gwendolyn', serif;
    font-size: 38px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.section-2-slider {
    flex: 1;
    position: relative;
    height: 590px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;
    flex-shrink: 0;
}

.slider-image {
    width: 95%;
    height: 100%;
    /* object-fit: contain; */
}

/* Desktop: ensure full width slide image */
.slider-image {
    width: 100%;
    height: 100%;
}

.slider-nav-arrow {
    position: absolute;
    top: 50%;
    right: 120px;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 85px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #fff;
}

/* Compact indicators for Section 3 (INTERIOR) to fit many items */
.section-3 .slider-indicators {
    gap: 6px;
    width: 86%;
    max-width: 1100px;
}

.section-3 .indicator {
    width: auto;
    /* override fixed width */
    flex: 1 1 0;
    /* distribute evenly across the row */
    min-width: 10px;
    /* keep visible even when many */
    height: 3px;
}

/* Section 3 - Second Slider */
.section-3 {
    background-color: #fff;
    height: 590px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 132px;
}

.section-3-content {
    display: flex;
    width: 100%;
    padding: 0 133px 0 88px;
}

.section-3-text {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-3-slider {
    flex: 1;
    position: relative;
    height: 590px;
}

/* Reverse slider track */
.slider-track-reverse {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Reverse navigation arrow */
.slider-nav-arrow-reverse {
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav-arrow-reverse:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Section 4 */

.section-4 {
    background-color: #fff;
    padding-left: 100px;
    margin-bottom: 90px;
}

.section-4-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-4-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-4-title {
    font-family: 'Manrope', serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
}

.amenities-gallery {
    width: 100%;
    position: relative;
}

.amenities-slider {
    width: 100%;
    overflow: hidden;
    padding-right: 15%;
    /* Уменьшаем, чтобы показать только маленькую часть 5-го элемента */
}

.amenities-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 120%;
    /* Уменьшаем ширину трека */
    gap: 13px;
}

.amenity-item {
    flex: 0 0 calc(0% - 32px);
    /* 5 элементов по 20% каждый */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.amenity-image {
    width: 315px;
    height: 410px;
    object-fit: cover;
    margin-bottom: 33px;
}

.amenity-title {
    font-family: 'Manrope', serif;
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.amenities-navigation {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.amenity-nav-arrow {
    width: 29px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.amenity-nav-arrow:first-child {
    margin-right: 10px;
}

.amenity-nav-arrow:hover {
    transform: scale(1.1);
}

.amenity-nav-arrow img {
    width: 100%;
}

/* Section 5 */
.section-5 {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0 100px;
    margin-bottom: 146px;
}

.section-5-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-5-title {
    font-family: 'Manrope', serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    align-self: center;
    text-transform: uppercase;
    margin-bottom: 55px;
}

.section-5-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-5-image:not(:last-child) {
    margin-bottom: 24px;
}

.section-5-image img {
    width: 100%;
    height: 593px;
}

/* Section 6 - Completed Projects */
.section-6 {
    background-color: #fff;
    padding-left: 100px;
    margin-bottom: 102px;
}

.section-6-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-6-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-6-title {
    font-family: 'Manrope', serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
}

.projects-gallery {
    width: 100%;
    position: relative;
}

.projects-slider {
    width: 100%;
    overflow: hidden;
    padding-right: 15%;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 120%;
    gap: 13px;
}

.project-item {
    flex: 0 0 calc(20% - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-image {
    width: 500px;
    height: 460px;
    object-fit: cover;
    margin-bottom: 6px;
}

.project-title {
    font-family: 'Manrope', serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.project-location {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    margin: 0;
}

.projects-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    gap: 10px;
}

.project-nav-arrow {
    width: 29px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-nav-arrow:hover {
    transform: scale(1.1);
    /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); */
}

.project-nav-arrow img {
    width: 100%;
}

.projects-button {
    display: flex;
    justify-content: center;
    width: 100%;
}

.projects-button.mobile {
    display: none;
}

.visit-website-btn {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 8px 45px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0 auto;
    transform: translateX(-42%);
}

.visit-website-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Section 7 - Dubai Islands Info */
.section-7 {
    background-color: #fff;
    margin-bottom: 100px;
}

.section-7-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-7-info {
    margin-bottom: 85px;
    max-width: 800px;
}

.section-7-header {
    margin-bottom: 30px;
}

.section-7-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #000;
    line-height: 100%;
    text-transform: uppercase;
}

.section-7-title {
    font-family: 'Manrope', serif;
    font-size: 77px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 25px;
    line-height: 100%;
}

.section-7-description {
    margin-bottom: 35px;
}

.section-7-description p {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin: 0;
    padding: 0 136px;
    line-height: 119%;
}

.google-maps-btn {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 10px 26px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.google-maps-btn:hover {
    background-color: #000;
    color: #fff;
}

.section-7-distances {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 113px;
}

.distance-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: fit-content;
}

.distance-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.distance-icon {
    margin-right: 34px;
}

.distance-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.distance-time {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 119%;
}

.distance-name {
    font-family: 'Manrope', serif;
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 119%;
    letter-spacing: 0;
}

.footer-image {
    width: 100%;
    height: 626px;
    display: block;
    margin: 0;
    padding: 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 52px 158px 76px 99px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    max-width: fit-content;
    margin-top: auto;
}

.footer-title {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 21px;
    margin-top: 24px;
    line-height: 100%;
    text-align: center;
}

.footer-title-contacts {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 33px;
    line-height: 100%;
}

/* Contacts Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 10px;
}

.contact-details {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.contact-phone {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.contact-email {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
}

/* Messengers Section */
.messenger-buttons {
    display: flex;
    gap: 15px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.messenger-btn:hover {
    background-color: #3F3F3F;
}

.messenger-icon {
    width: 20px;
    height: 20px;
}

.messenger-text {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 400;
}

/* Navigation Section */
.footer-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.footer-nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: #ccc;
}

.footer-logo .logo-icon {
    width: 202px;
    height: 102px;
}

/* New Section 7 - Location after Section 4 */
.section-7 {
    background-color: #fff;
    padding: 60px 212px 40px 212px;
}

.section-7-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 45px;
}

.location-content {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 76px;
}

.location-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
    margin: 0;
    padding: 0;
}

.location-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 60px;
    align-items: center;
}

.location-icon {
    width: 75px;
    height: 65px;
    margin-right: 20px;
}

.location-time {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.location-name {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

.location-map img {
    max-width: 644px;
    width: 100%;
    height: 344px;
    object-fit: cover;
    display: block;
}

.location-button {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Header mobile controls */
.burger {
    display: none;
    position: relative;
    width: 34px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    margin-right: 16px;
    cursor: pointer;
    z-index: 3;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 11px;
}

.burger span:nth-child(3) {
    top: 22px;
}

.burger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(2px);
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-inner {
    width: 78%;
    max-width: 320px;
    background: #101010;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-close {
    align-self: flex-end;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 8px;
}

.mobile-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.header-brand {
    display: none;
}

@media (max-width: 768px) {

    /* big logo branding at bottom center */
    .header-brand {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .header-brand img {
        height: 52px;
        width: auto;
        opacity: .9;
    }
}

/* Header responsive only */
@media (max-width: 768px) {
    .menu {
        padding: 20px;
        gap: 12px;
    }

    .menu-logo img {
        display: none;
    }

    .menu-item {
        display: none;
    }

    .burger {
        display: inline-block;
    }

    .contact-us {
        padding: 8px 14px;
        font-size: 13px;
        margin-left: auto;
    }

    /* Section 1 mobile */
    .section-1 {
        padding: 40px 20px 0 20px;
        margin-bottom: 18px;
    }

    .section-1-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-1-media {
        display: none;
    }

    .section-1-brochure {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding-left: 0;
    }

    .section-1-brochure-title {
        text-align: center;
        font-size: 28px;
        line-height: 120%;
        margin-bottom: 12px;
    }

    .section-1-brochure-subtitle {
        text-align: center;
        font-size: 14px;
        line-height: 140%;
        height: auto;
        max-width: 320px;
        margin: 0 auto 16px;
    }

    .section-1-brochure-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .section-1-info-panel {
        padding: 0;
    }

    .section-1-info-panel-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        justify-items: center;
        text-align: center;
    }

    .section-1-info-panel-inner .info-section:first-of-type {
        grid-column: 1 / -1;
    }

    .info-divider {
        display: none;
    }

    .info-label {
        font-size: 10px;
        letter-spacing: 0.8px;
        margin-bottom: 6px;
    }

    .info-main {
        font-size: 14px;
        font-weight: 400;
    }

    .info-section:first-of-type .info-main {
        display: none;
    }

    .info-sub {
        font-size: 13px;
    }

    /* Section 2 */
    .section-2 {
        height: auto;
        margin-bottom: 12px;
    }

    .section-2-content {
        position: relative;
        padding: 0;
        display: block;
    }

    .section-2-text {
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
        align-items: center;
    }

    .text-main {
        font-size: 18px;
        color: #fff;
        letter-spacing: .12em;
    }

    .text-sub {
        font-size: 16px;
        color: #fff;
        margin-top: 2px;
    }

    .section-2-slider {
        height: 294px;
    }

    .section-2 .slider-container {
        height: 294px;
    }

    .section-2 .slider-track {
        display: flex;
        width: 500%;
        height: 294px;
    }

    .section-2 .slide {
        width: 20%;
        height: 294px;
    }

    .section-2 .slider-image {
        width: 100%;
        height: 294px;
        margin-left: 0;
        display: block;
    }

    .slider-nav-arrow,
    .section-2 .slider-indicators {
        display: none;
    }

    /* Section 3 */
    .section-3 {
        height: auto;
        margin-bottom: 24px;
    }

    .section-3-content {
        position: relative;
        padding: 0;
        display: block;
    }

    .section-3-text {
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .section-3 .vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
        align-items: center;
    }

    .section-3 .text-main {
        font-size: 18px;
        color: #fff;
        letter-spacing: .12em;
    }

    .section-3 .text-sub {
        font-size: 16px;
        color: #fff;
        margin-top: 2px;
    }

    .section-3-slider {
        height: 294px;
    }

    .section-3 .slider-container {
        height: 294px;
    }

    .slider-track-reverse {
        display: flex;
        width: 500%;
        height: auto;
    }

    .section-3 .slide {
        width: 20%;
        height: 294px;
    }

    .section-3 .slider-image {
        width: 100%;
        height: 294px;
        margin-left: 0;
        display: block;
    }

    .slider-nav-arrow-reverse,
    .section-3 .slider-indicators {
        display: none;
    }

    /* show indicators on mobile, hide only arrows */
    .slider-nav-arrow {
        display: none;
    }

    .slider-nav-arrow-reverse {
        display: none;
    }

    /* indicators position for mobile */
    .section-2 .slider-indicators,
    .section-3 .slider-indicators {
        bottom: 12px;
    }

    .section-2 .indicator,
    .section-3 .indicator {
        width: 48px;
        height: 3px;
    }

    /* Override for Section 3 on mobile: make indicators flexible to fit 21 */
    .section-3 .slider-indicators {
        gap: 4px;
        width: 92%;
        max-width: none;
        bottom: 10px;
    }

    .section-3 .indicator {
        width: auto;
        flex: 1 1 0;
        min-width: 6px;
        height: 2px;
    }
}

/* Ensure slide images fill container without gaps */
.section-2 .slider-image,
.section-3 .slider-image {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-logo-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* force show dots on mobile */
    .section-2 .slider-indicators,
    .section-3 .slider-indicators {
        display: flex !important;
        bottom: 12px;
        width: 90%;
    }

    .section-2 .indicator,
    .section-3 .indicator {
        width: 48px;
        height: 3px;
    }

    /* Section 4 (Amenities) */
    .section-4 {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 24px;
        overflow: hidden;
    }

    .section-4-title {
        font-size: 20px;
        font-weight: 500;
    }

    .section-4-header {
        margin-bottom: 27px;
    }

    .amenities-slider {
        overflow: hidden;
        padding-right: 0;
    }

    .amenities-track {
        width: 100%;
        gap: 16px;
    }

    .amenity-item {
        flex: initial;
    }

    .amenity-image {
        width: 100%;
        height: 260px;
        object-fit: cover;
        margin-bottom: 10px;
    }

    .amenity-title {
        font-size: 14px;
    }

    /* Section 4 as swipe slider on mobile */
    .amenities-track {
        display: flex;
        width: 400%;
        transition: transform .35s ease;
    }

    .amenity-item {
        flex: 0 0 23%;
    }

    .amenities-indicators {
        display: flex;
        bottom: 12px;
        position: relative;
        justify-content: center;
        margin-top: 10px;
    }

    .amenities-indicators .indicator {
        width: 40px;
        height: 3px;
    }

    /* Section 7 (Location) */
    .section-7 {
        padding: 20px;
        margin-bottom: 24px;
    }

    .section-7-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 18px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .location-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }

    .location-item {
        grid-template-columns: 20px 1fr;
        gap: 10px;
        align-items: start;
    }

    .location-icon {
        width: 20px;
        height: 20px;
        margin-right: 0;
    }

    .location-time {
        font-size: 18px;
        font-weight: 700;
    }

    .location-name {
        font-size: 12px;
    }

    .location-map img {
        width: 100%;
        height: 260px;
    }

    /* Section 7 (Location) — типографика и размеры из макета */
    .section-7-title {
        font-family: 'Manrope', sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 119%;
        letter-spacing: 0;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .location-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }

    .location-item {
        grid-template-columns: 49.7717px 1fr;
        gap: 10px;
        align-items: start;
    }

    .location-icon {
        width: 49.7717px;
        height: 43.4715px;
        margin-right: 0;
    }

    .location-time {
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        font-size: 17.64px;
        line-height: 119%;
        letter-spacing: 0;
    }

    .location-name {
        font-family: 'Manrope', serif;
        font-weight: 400;
        font-size: 13.86px;
        line-height: 119%;
        letter-spacing: 0;
    }

    /* .location-button {
        display: none;
    } */

    .google-maps-btn {
        font-size: 12px;
        padding: 8px 14px;
    }

    /* Section 5 (Coming soon) */
    .section-5 {
        margin-bottom: 32px;
    }

    .section-5-title {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 18px;
    }

    .section-5-image img {
        height: 280px;
        object-fit: cover;
    }
}

/* Section 6 mobile title */
@media (max-width: 768px) {

    /* Section 6 (Completed projects) — макет уточнение */
    .section-6 {
        padding-left: 20px;
        margin-bottom: 32px;
    }

    .section-6-title {
        font-size: 20px;
        font-weight: 500;
        text-align: center;
        margin-bottom: 22px;
    }

    .section-6-header {
        margin-bottom: 0;
    }

    /* один слайд + небольшой превью следующего */
    .projects-slider {
        overflow: hidden;
        padding-right: 0;
    }

    .projects-track {
        display: flex;
        gap: 16px;
        width: auto;
        transition: transform .35s ease;
    }

    .project-item {
        flex: 0 0 calc(100% - 48px);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-image {
        width: 100%;
        height: 240px;
        object-fit: cover;
        margin-bottom: 12px;
    }

    /* подписи под проектом */
    .project-title {
        font-family: 'Manrope', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 119%;
        text-transform: uppercase;
        margin: 0 0 6px 0;
        text-align: center;
    }

    .project-location {
        font-family: 'Manrope', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 119%;
        letter-spacing: 0;
        color: #666;
        text-transform: uppercase;
        margin: 0 0 12px 0;
        text-align: center;
    }

    .projects-navigation,
    .projects-indicators {
        display: none !important;
    }

    /* кнопка */
    .projects-button {
        justify-content: center;
        width: 100%;
        margin-top: 8px;
    }

    .visit-website-btn {
        transform: none;
        margin: 0;
    }

    .projects-button.mobile {
        display: flex;
        padding: 8px 30px;
        font-size: 12px;
    }

    .projects-button.mobile .visit-website-btn {
        padding: 8px 30px;
        font-size: 12px;
    }
}

/* Footer mobile layout */
@media (max-width: 768px) {
    .footer {
        padding: 20px;
        display: flex;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "contacts navigation"
            "messengers navigation";
        gap: 16px 24px;
        align-items: start;
        width: fit-content;
    }

    .footer-section {
        max-width: none;
    }

    .footer-section.contacts {
        grid-area: contacts;
    }

    .footer-section.messengers {
        grid-area: messengers;
    }

    .footer-section.navigation {
        grid-area: navigation;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-section.navigation .footer-logo {
        order: -1;
    }

    .footer-title-contacts {
        font-size: 20px;
        margin-bottom: 14px;
        margin-right: auto;
    }

    .footer-title {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .contact-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .contact-details,
    .contact-phone,
    .contact-email {
        font-size: 12px;
    }

    .footer-nav {
        margin-bottom: 0;
    }

    .footer-nav-link {
        font-size: 12px;
    }

    .logo-icon {
        width: 56px;
        height: auto;
    }

    .messenger-buttons {
        gap: 10px;
    }

    .messenger-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .messenger-icon {
        width: 14px;
        height: 14px;
    }

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

    .footer-logo .logo-icon {
        display: none;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
    }

    .footer-title {
        display: none;
    }

    .messenger-buttons {
        display: flex;
    }

    .messenger-btn.whatsapp,
    .messenger-btn.instagram {
        border: none;
        padding: 0;
    }

    .messenger-btn.whatsapp img,
    .messenger-btn.instagram img {
        width: 20px;
        height: 20px;
    }

    .messenger-btn.whatsapp:hover,
    .messenger-btn.instagram:hover {
        background-color: transparent;
    }

    .messenger-btn {
        width: 100%;
    }

    .footer-section.navigation {
        display: none;
    }

    .footer-logo-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 25%;
    }
}

/* Ultra-wide and 4K enhancements */
@media (min-width: 1920px) {
    .menu {
        padding: 80px 140px 0 140px;
        gap: 64px;
    }

    .menu-item {
        font-size: 18px;
    }

    .contact-us {
        padding: 12px 22px;
        font-size: 18px;
    }

    .header-title {
        font-size: 80px;
    }

    .header-subtitle {
        font-size: 48px;
    }

    .section-1 {
        padding: 180px 180px 0 180px;
    }

    .section-1-brochure-title {
        font-size: 56px;
        max-width: 640px;
    }

    .section-1-brochure-subtitle {
        font-size: 18px;
        max-width: 560px;
    }

    .section-1-brochure-button {
        padding: 16px 40px;
        font-size: 18px;
    }

    .section-1-media-img {
        height: 420px;
    }

    .section-1-info-panel {
        padding: 56px 80px;
    }

    .info-label {
        font-size: 18px;
    }

    .info-main {
        font-size: 40px;
    }

    .info-sub {
        font-size: 20px;
    }

    .info-divider {
        height: 110px;
        margin: 0 56px;
        margin-top: 40px;
    }

    .section-2,
    .section-3 {
        height: 980px;
    }

    .section-2-content,
    .section-3-content {
        padding: 0 180px 0 120px;
    }

    .text-main {
        font-size: 48px;
    }

    .text-sub {
        font-size: 42px;
    }

    .section-2-slider,
    .section-3-slider {
        height: 980px;
    }

    .slider-container {
        height: 100%;
    }

    .slider-track,
    .slider-track-reverse {
        height: 100%;
    }

    .slide {
        height: 100%;
    }

    .slider-indicators {
        bottom: 56px;
    }

    .indicator {
        width: 120px;
        height: 4px;
    }

    .slider-nav-arrow,
    .slider-nav-arrow-reverse {
        width: 56px;
        height: 56px;
    }

    .slider-nav-arrow {
        right: 160px;
    }

    .slider-nav-arrow-reverse {
        left: 120px;
    }

    .section-4 {
        padding-left: 140px;
        margin-bottom: 120px;
    }

    .section-4-title {
        font-size: 48px;
    }

    .amenity-image {
        width: 580px;
        height: 760px;
    }

    .amenity-title {
        font-size: 26px;
    }

    .section-7 {
        padding: 80px 260px 60px 260px;
    }

    .section-7-subtitle {
        font-size: 42px;
    }

    .section-7-title {
        font-size: 48px;
    }

    .section-7-description p {
        font-size: 24px;
        padding: 0 160px;
    }

    .section-7-distances {
        padding: 0 160px;
    }

    .distance-time {
        font-size: 32px;
    }

    .distance-name {
        font-size: 24px;
    }

    .section-5-title {
        font-size: 48px;
    }

    .section-5-image img {
        height: 760px;
    }

    .section-6 {
        padding-left: 140px;
        margin-bottom: 140px;
    }

    .section-6-title {
        font-size: 48px;
    }

    .location-icon {
        height: 100px;
        width: 90px;
    }

    .location-time {
        font-size: 24px;
    }

    .location-name {
        font-size: 20px;
        /* object-fit: contain; */
    }

    .location-map img {
        height: 520px;
        width: 100%;
        max-width: 100%;
        /* object-fit: contain; */
    }

    .google-maps-btn {
        padding: 16px 40px;
        font-size: 18px;
    }

    .project-image {
        width: 560px;
        height: 520px;
    }

    .project-title {
        font-size: 48px;
    }

    .project-location {
        font-size: 18px;
    }

    .projects-navigation {
        margin-top: 80px;
    }

    .project-nav-arrow {
        width: 36px;
    }

    .visit-website-btn {
        padding: 10px 56px;
        font-size: 18px;
    }

    .footer-image {
        height: 760px;
    }

    .footer {
        padding: 64px 200px 90px 140px;
    }

    .footer-title-contacts {
        font-size: 48px;
    }

    .contact-label {
        font-size: 22px;
    }

    .contact-details,
    .contact-phone,
    .contact-email {
        font-size: 16px;
    }

    .messenger-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .messenger-text {
        font-size: 22px;
    }

    .footer-nav-link {
        font-size: 16px;
    }

    .footer-logo .logo-icon {
        width: 240px;
        height: auto;
    }
}

@media (min-width: 3840px) {
    html {
        font-size: 20px;
    }

    .menu {
        padding: 120px 220px 0 220px;
        gap: 80px;
    }

    .menu-item {
        font-size: 22px;
    }

    .contact-us {
        padding: 16px 28px;
        font-size: 22px;
    }

    .header {
        height: 100vh;
    }

    .header-title {
        font-size: 120px;
    }

    .header-subtitle {
        font-size: 64px;
    }

    .section-1 {
        padding: 220px 260px 0 260px;
        margin-bottom: 160px;
    }

    .section-1-media-img {
        height: 560px;
    }

    .section-1-brochure-title {
        font-size: 72px;
        max-width: 840px;
    }

    .section-1-brochure-subtitle {
        font-size: 22px;
        max-width: 760px;
    }

    .section-1-brochure-button {
        padding: 20px 56px;
        font-size: 22px;
    }

    .section-1-info-panel {
        padding: 80px 120px;
    }

    .info-label {
        font-size: 22px;
    }

    .info-main {
        font-size: 56px;
    }

    .info-sub {
        font-size: 28px;
    }

    .info-divider {
        height: 140px;
        margin: 0 80px;
        margin-top: 40px;
    }

    .section-2,
    .section-3 {
        height: 980px;
    }

    .section-2-content,
    .section-3-content {
        padding: 0 260px 0 180px;
    }

    .text-main {
        font-size: 64px;
    }

    .text-sub {
        font-size: 56px;
    }

    .section-2-slider,
    .section-3-slider {
        height: 980px;
    }

    .slider-indicators {
        bottom: 72px;
    }

    .indicator {
        width: 160px;
        height: 6px;
    }

    .slider-nav-arrow,
    .slider-nav-arrow-reverse {
        width: 64px;
        height: 64px;
    }

    .slider-nav-arrow {
        right: 220px;
    }

    .slider-nav-arrow-reverse {
        left: 180px;
    }

    .section-4 {
        padding-left: 220px;
        margin-bottom: 180px;
    }

    .section-4-title {
        font-size: 64px;
    }

    .amenity-image {
        width: 500px;
        height: 640px;
    }

    .amenity-title {
        font-size: 32px;
    }

    .section-7 {
        padding: 120px 320px 80px 320px;
    }

    .section-7-subtitle {
        font-size: 56px;
    }

    .section-7-title {
        font-size: 120px;
    }

    .section-7-description p {
        font-size: 26px;
        padding: 0 220px;
    }

    .section-7-distances {
        padding: 0 220px;
    }

    .distance-time {
        font-size: 40px;
    }

    .distance-name {
        font-size: 28px;
    }

    .location-content {
        grid-template-columns: 480px 1fr;
        gap: 56px;
    }

    .location-icon {
        width: 100px;
        height: 86px;
    }

    .location-time {
        font-size: 40px;
    }

    .location-name {
        font-size: 24px;
    }

    .location-map img {
        max-width: 980px;
        height: 520px;
    }

    .section-5-title {
        font-size: 64px;
    }

    .section-5-image img {
        height: 980px;
    }

    .section-6 {
        padding-left: 220px;
        margin-bottom: 200px;
    }

    .section-6-title {
        font-size: 64px;
    }

    .project-image {
        width: 720px;
        height: 660px;
    }

    .project-title {
        font-size: 64px;
    }

    .project-location {
        font-size: 22px;
    }

    .projects-navigation {
        margin-top: 100px;
    }

    .project-nav-arrow {
        width: 44px;
    }

    .visit-website-btn {
        padding: 14px 72px;
        font-size: 22px;
    }

    .footer-image {
        height: 980px;
    }

    .footer {
        padding: 80px 300px 120px 220px;
    }

    .footer-title-contacts {
        font-size: 64px;
    }

    .contact-label {
        font-size: 26px;
    }

    .contact-details,
    .contact-phone,
    .contact-email {
        font-size: 18px;
    }

    .messenger-btn {
        padding: 16px 36px;
        font-size: 18px;
    }

    .messenger-text {
        font-size: 26px;
    }

    .footer-nav-link {
        font-size: 18px;
    }

    .footer-logo .logo-icon {
        width: 300px;
        height: auto;
    }
}