@import url("https://fonts.googleapis.com/css?family=IBM%20Plex%20Sans:500|IBM%20Plex%20Sans:300");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

@font-face {
    font-family: "PPNeueMontreal";
    src: url("/NeueMontreal-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PPNeueMontreal";
    src: url("/NeueMontreal-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HalvarBreit";
    src: url("/HalvarBreit-Lt.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HalvarBreitThin";
    src: url("/HalvarBreit-Th.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    --m: 4rem;
    --spacing-xl: 12rem;
    --spacing-lg: 8rem;
    --spacing-md: 4rem;
    --spacing-sm: 2rem;
    --letter-clr: #a68f50;
    --letter-bg: #000000;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background-color: #ffffff;
}

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

body {
    font-family: 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Стили хэдера теперь в css/header.css */

.main {
    margin-top: 0;
    min-height: 100vh;
    padding-top: 100vh;
}

.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 7rem 2rem;
}

.elite-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 6rem 2rem 0;
    background: #ffffff;
}

.elite-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    position: relative;
}

.elite-header {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 3;
}

.hero .elite-header {
    position: absolute;
    bottom: -62%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.elite-section .elite-header {
    margin-top: 4rem;
}

.hero-cta-group {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    z-index: 3;
    pointer-events: auto;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    border: 1px solid rgba(166, 143, 80, 0.9);
    background-color: rgba(166, 143, 80, 0.96);
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-cta-button-outline {
    background-color: rgba(255, 255, 255, 0.96);
    color: #a68f50;
}

.hero-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    border-color: #a68f50;
}

.hero-cta-button-outline:hover {
    background-color: #a68f50;
    color: #ffffff;
}

.elite-title {
    font-size: 8vw;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #a68f50;
    margin: 0 0 0.2rem 0;
    padding: 0;
    text-transform: uppercase;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    white-space: nowrap;
    text-align: center;
    width: auto;
}

.elite-tagline {
    margin-top: 0.4rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
}

.elite-subtitle {
    font-size: clamp(5rem, 13vw, 10rem);
    font-weight: 100;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #a68f50;
    margin: -10rem 0 0;
    text-transform: uppercase;
    font-family: 'HalvarBreitThin', 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    white-space: nowrap;
    overflow: hidden;
}

.elite-subtitle-inner {
    display: inline-block;
    white-space: nowrap;
}

@keyframes elite-subtitle-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.elite-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
}

.hero .elite-image-wrapper {
    margin-top: -8rem;
}

.elite-image-overlay-top {
    display: none;
}

.elite-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.elite-image-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12rem;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 3;
    pointer-events: none;
}

.hero-arrow {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.45);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    pointer-events: auto;
    opacity: 0.6;
}

.hero-arrow:hover {
    color: #a68f50;
    opacity: 1;
    transform: translateY(-1px);
}

.hero-arrow:active {
    transform: translateY(0);
}

.elite-footer {
    text-align: center;
    margin-top: -4rem;
    position: relative;
    z-index: 3;
    padding-top: 2rem;
}

.elite-description {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #000000;
    margin: -2.5rem 0 0;
    text-transform: uppercase;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}



.hero-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a68f50;
    margin-bottom: 2rem;
    position: relative;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(166, 143, 80, 0.4);
    background: rgba(138, 60, 39, 0.08);
    border-radius: 2rem;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.3s both;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: #000000;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    animation: fadeInUp 1s ease-out 0.1s both;
    font-family: 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    padding: 2rem 0 2rem 3rem;
    background: linear-gradient(135deg, rgba(138, 60, 39, 0.03) 0%, transparent 100%);
    border-left: 6px solid #a68f50;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title-line {
    display: block;
    opacity: 0.6;
    font-weight: 300;
}

.hero-title-accent {
    display: block;
    font-weight: 200;
    position: relative;
    padding-left: 0;
    white-space: nowrap;
}

.hero-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #a68f50, #a68f50, #a68f50);
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 0 20px rgba(138, 60, 39, 0.25);
}

.hero-title::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #a68f50, transparent);
    opacity: 0.3;
}

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

@keyframes slideInLeft {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}


.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.6);
    text-transform: none;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: right;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-button svg {
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(4px);
}

.hero-button-primary {
    background: linear-gradient(135deg, #a68f50 0%, #a68f50 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(90, 62, 43, 0.25);
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
}

.hero-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-button-primary:hover::before {
    left: 100%;
}

.hero-button-primary:hover {
    background: linear-gradient(135deg, #a68f50 0%, #a68f50 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(90, 62, 43, 0.35);
}

.hero-button-secondary {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-button-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    transition: width 0.4s ease;
    z-index: 0;
}

.hero-button-secondary:hover::after {
    width: 100%;
}

.hero-button-secondary:hover {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hero-button-secondary span,
.hero-button-primary span {
    position: relative;
    z-index: 1;
}

.hero-button-secondary svg,
.hero-button-primary svg {
    position: relative;
    z-index: 1;
}


.stats-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    border-bottom: none;
    background: transparent;
    position: relative;
    z-index: 2;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background-color: #ffffff;
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.stats-title {
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    font-size: 25vh;
    font-weight: 300;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    text-align: center;
    color: #a68f50;
    white-space: nowrap;
    margin: 0px 0 0 50vh;
    line-height: 1;
}

.stats-title-line {
    display: block;
    white-space: nowrap;
    will-change: transform;
    transition: transform 0.1s ease-out;
    width: fit-content;
    margin: 0 auto;
    margin-left: -25rem;
}

@media screen and (max-width: 700px) {
    .stats-title {
        font-size: clamp(4rem, 18vw, 6rem);
        white-space: normal;
        margin: 0;
    }
}

.stat-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #000000;
    aspect-ratio: 4 / 5;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s ease;
    will-change: transform;
}

.stat-item:hover .stat-image {
    transform: scale(1.1);
}

.stat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.stat-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-number.animated::after {
    opacity: 0;
}

.stat-number {
    display: inline-block;
}


.stat-label {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
}

.premium-section {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-md) 4rem;
    background: #ffffff;
    text-align: center;
}

.premium-container {
    max-width: 1000px;
    margin: 0 auto;
}

.premium-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    text-transform: none;
}

@media screen and (max-width: 900px) {
    .premium-section {
        padding: var(--spacing-md) 2rem;
    }
}

@media screen and (max-width: 600px) {
    .premium-section {
        padding: var(--spacing-sm) 1.5rem;
    }
    
    .premium-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
}

.island-section {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto 0;
    padding: 6rem 0 6rem;
    overflow: hidden;
    background: #ffffff;
}

.island-container {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.island-split {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.island-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.island-image-box {
    position: relative;
    width: 70%;
    max-width: 900px;
    min-height: 400px;
    overflow: hidden;
}

.island-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
}

.island-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-image-box:hover .island-img {
    transform: scale(1.08);
}

.island-image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.island-image-box:hover .island-image-shine {
    left: 100%;
}

.island-right {
    position: relative;
    width: 100%;
    pointer-events: auto;
    display: flex;
    justify-content: center;
}

.island-content-box {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.island-header {
    position: relative;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.island-number {
    display: none;
}

.island-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.08em;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
}

.island-header::before {
    content: none;
}

.island-text-wrapper {
    position: relative;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.island-text-item {
    position: relative;
    padding-left: 0;
}

.island-text-item::before {
    content: none;
}

.island-text-item:hover::before {
    width: 6px;
    box-shadow: 0 0 20px rgba(138, 60, 39, 0.35);
}

.island-text-large {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.9);
    margin: 0;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
}

.island-text-normal {
    font-size: clamp(1.125rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
}

.island-image-section {
    position: relative;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.island-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.island-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 0 rgba(138, 60, 39, 0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, rgba(138, 60, 39, 0.2) 0%, rgba(138, 60, 39, 0.05) 100%) border-box;
}

.island-image-wrapper:hover .island-image-frame {
    box-shadow: 
        0 0 0 1px rgba(138, 60, 39, 0.25),
        0 30px 90px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(138, 60, 39, 0.12);
    border-color: rgba(138, 60, 39, 0.4);
}

.island-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-image-wrapper:hover .island-image {
    transform: scale(1.08);
}

.island-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.island-image-wrapper:hover .island-image-gradient {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
}


@media screen and (max-width: 1400px) {
    .island-container {
        padding: 5rem 3rem;
    }
    
    .island-content {
        gap: 5rem;
    }
    
    .island-stats-overlay {
        right: 3rem;
        padding: 1.5rem 2.5rem;
    }

    .island-split {
        gap: 6rem;
    }
    
    .island-image-box {
        min-height: auto;
    }
}

@media screen and (max-width: 1200px) {
    .island-container {
        padding: 0 3rem;
    }
    
    .island-split {
        gap: 5rem;
    }
    
    .island-image-box {
        min-height: auto;
    }
    
    .island-number {
        font-size: clamp(8rem, 12vw, 14rem);
    }
    
    .island-title {
        font-size: clamp(3rem, 6vw, 5.5rem);
    }
}

@media screen and (max-width: 900px) {
    .island-section {
        margin: 0 auto;
        padding-top: 8rem;
    }
    
    .island-container {
        padding: 0 2rem;
    }
    
    .island-split {
        grid-template-columns: 1fr;
        gap: 4rem;
        min-height: auto;
    }
    
    .island-image-box {
        min-height: 500px;
        order: -1;
    }
    
    .island-right {
        padding: 0;
    }
    
    .island-content-box {
        gap: 3rem;
    }
    
    .island-header {
        padding-bottom: 2rem;
    }
    
    .island-number {
        font-size: clamp(6rem, 10vw, 10rem);
        top: -0.5rem;
    }
    
    .island-title {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
    
    .island-text-wrapper {
        gap: 2.5rem;
    }
    
    .island-text-item {
        padding-left: 2.5rem;
    }
    
    .island-text-item::before {
        width: 3px;
    }
    
    .island-text-item:hover::before {
        width: 5px;
    }
}

@media screen and (max-width: 600px) {
    .island-section {
        margin: 0 auto;
        padding-top: 0rem;
    }
    
    .island-container {
        padding: 0 1.5rem;
    }
    
    .island-split {
        gap: 3rem;
    }
    
    .island-image-box {
        min-height: auto;
    }
    
    .island-content-box {
        gap: 2.5rem;
    }
    
    .island-header {
        padding-bottom: 1.5rem;
    }
    
    .island-number {
        font-size: clamp(5rem, 12vw, 8rem);
    }
    
    .island-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .island-text-wrapper {
        gap: 2rem;
    }
    
    .island-text-item {
        padding-left: 0;
    }
    
    .island-text-item::before {
        width: 2.5px;
    }
    
    .island-text-item:hover::before {
        width: 4px;
    }
    
    .island-text-large {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    
    .island-text-normal {
        font-size: clamp(1.125rem, 3.5vw, 1.25rem);
    }
}

.about-section {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-xl) 4rem;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: #000000;
}

.features-section {
    width: 100%;
    margin: 0;
    padding: 6rem 4rem 6rem;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.features-section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 200;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #000000;
    padding: 0.75rem 0;
    position: relative;
    line-height: 1.05;
    background: transparent;
    border-left: none;
    border-radius: 0;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-section-title::before {
    content: none;
}

.features-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, minmax(100px, auto));
    gap: 1.5rem;
    padding: 0 2rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #000000;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card-large {
    grid-column: 1 / 7;
    grid-row: 1 / 5;
}

.feature-card-medium {
    grid-column: 7 / 13;
    grid-row: 1 / 4;
}

.feature-card-medium:nth-of-type(3) {
    grid-column: 7 / 13;
    grid-row: 4 / 7;
}

.feature-card-small {
    grid-column: 1 / 7;
    grid-row: 5 / 8;
}

.feature-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.7);
    will-change: transform;
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.feature-number {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 200;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'PPNeueMontreal', 'Neue Montreal', sans-serif;
}

.feature-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 200;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    position: relative;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.feature-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #a68f50, #a68f50, #a68f50);
    border-radius: 0 0.25rem 0.25rem 0;
    box-shadow: 0 0 15px rgba(90, 62, 43, 0.4);
}

.feature-description {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

/* Responsive styles for features */
@media screen and (max-width: 1200px) {
    .features-masonry {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(10, minmax(80px, auto));
    }
    
    .feature-card-large {
        grid-column: 1 / 5;
        grid-row: 1 / 5;
    }
    
    .feature-card-medium {
        grid-column: 5 / 9;
        grid-row: 1 / 4;
    }
    
    .feature-card-medium:nth-of-type(3) {
        grid-column: 5 / 9;
        grid-row: 4 / 7;
    }
    
    .feature-card-small {
        grid-column: 1 / 5;
        grid-row: 5 / 8;
    }
}

@media screen and (max-width: 900px) {
    .features-section {
        padding: 2rem 2rem;
    }
    
    .features-section-title {
        padding-left: 1.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .features-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        padding: 0;
    }
    
    .feature-card-large,
    .feature-card-medium,
    .feature-card-medium:nth-of-type(3),
    .feature-card-small {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 400px;
    }
    
    .feature-content {
        padding: 2rem;
    }
    
    .feature-number {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 4rem;
    }
}

@media screen and (max-width: 600px) {
    .features-section {
        padding: 2rem 1.5rem;
    }
    
    .features-section-title {
        padding: 1.25rem 0 1.25rem 1.5rem;
        font-size: clamp(2rem, 8vw, 3rem);
        border-left-width: 4px;
    }
    
    .features-section-title::before {
        width: 4px;
    }
    
    .feature-card-large,
    .feature-card-medium,
    .feature-card-medium:nth-of-type(3),
    .feature-card-small {
        min-height: 350px;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding-left: 1.5rem;
    }
    
    .feature-title::before {
        width: 3px;
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    letter-spacing: -0.02em;
    text-transform: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.feature-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 200;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 1.05;
}


.content {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-xl) 4rem;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.content-block {
    max-width: 100%;
}

.content-block-full {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.content-image-large {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.content-image-wrapper:hover .content-image {
    transform: scale(1.05);
}

.content-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
}

.content-text-overlay .content-title,
.content-text-overlay .content-text {
    color: #ffffff;
}

.content-block-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content-block-reverse {
    direction: rtl;
}

.content-block-reverse > * {
    direction: ltr;
}

.content-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.content-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
}

.content-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-xl) 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.gallery-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    text-transform: none;
    letter-spacing: -0.02em;
    text-align: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.actions-section {
    width: 100%;
    margin: 0;
    padding: 1rem 4rem 6rem 4rem;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.actions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    text-decoration: none;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 60, 39, 0.06) 0%, rgba(138, 60, 39, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.action-card:hover::before {
    opacity: 1;
}

.action-card:hover {
    transform: translateY(-8px);
    border-color: #a68f50;
    box-shadow: 0 20px 60px rgba(166, 143, 80, 0.35);
}

.action-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #a68f50;
    transition: all 0.4s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
    color: #a68f50;
}

.action-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.action-title {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: #000000;
    transition: color 0.3s ease;
    text-transform: uppercase;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.action-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #a68f50, #a68f50, #a68f50);
    border-radius: 0 0.25rem 0.25rem 0;
    box-shadow: 0 0 15px rgba(90, 62, 43, 0.3);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.action-card:hover .action-title {
    color: #a68f50;
}

.action-card:hover .action-title::before {
    opacity: 1;
    box-shadow: 0 0 20px rgba(90, 62, 43, 0.5);
}

.action-description {
    position: relative;
    z-index: 1;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    transition: color 0.3s ease;
}

.action-card:hover .action-description {
    color: rgba(0, 0, 0, 0.8);
}

.action-card-map {
    border-top: 4px solid #a68f50;
}

.action-card-apartment {
    border-top: 4px solid #a68f50;
}

.action-card-leisure {
    border-top: 4px solid #a68f50;
}

/* Responsive styles for actions */
@media screen and (max-width: 1000px) {
    .actions-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .action-card {
        padding: 2.5rem 2rem;
    }
}

@media screen and (max-width: 600px) {
    .actions-section {
        padding: 0.5rem 1.5rem 2rem 1.5rem;
    }
    
    .action-card {
        padding: 2rem 1.5rem;
    }
    
    .action-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .action-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        padding-left: 1.5rem;
    }
    
    .action-title::before {
        width: 3px;
    }
}

.action-link {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #000000;
    border: 1px solid #000000;
    padding: 1.25rem 3rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.action-link:hover {
    background-color: #000000;
    color: #ffffff;
}

.action-link-primary {
    background-color: #000000;
    color: #ffffff;
}

.action-link-primary:hover {
    background-color: #ffffff;
    color: #000000;
}

.apartment-section {
    width: 100%;
    margin: 1.5rem 0 0;
    padding: 4rem 4rem 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    position: relative;
    z-index: 2;
}

.apartment-section::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: -1;
}

.apartment-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    text-align: left;
    line-height: 1.05;
    position: relative;
    padding: 0.75rem 0 0.75rem 2.25rem;
    background: transparent;
    border-left: 4px solid #a68f50;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.apartment-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #a68f50, #a68f50);
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 0 18px rgba(90, 62, 43, 0.35);
}

.apartment-card {
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.apartment-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.apartment-gallery {
    position: relative;
    background-color: #f5f5f5;
}

.apartment-gallery-main {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    overflow: hidden;
}

.apartment-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.apartment-gallery:hover .apartment-main-image {
    transform: scale(1.05);
}

.apartment-gallery-thumbs {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.apartment-thumb {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apartment-thumb:hover {
    transform: scale(1.1);
    border-color: #a68f50;
}

.apartment-thumb.active {
    border-color: #a68f50;
}

.apartment-info {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.apartment-address {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1.05;
    position: relative;
    padding-left: 2rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.apartment-address::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #8a3c27, #8a3c27, #8a3c27);
    border-radius: 0 0.25rem 0.25rem 0;
    box-shadow: 0 0 15px rgba(237, 94, 0, 0.3);
}

.apartment-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
}

.apartment-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #a68f50;
    border: 1px solid #a68f50;
    padding: 1rem 2.5rem;
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
}

.apartment-link:hover {
    background-color: #a68f50;
    color: #ffffff;
}

/* Стили футера теперь в css/footer.css */

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Form Modal Styles */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 2rem;
}

.form-modal.active {
    opacity: 1;
    visibility: visible;
}

.form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-modal-content {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    max-width: 600px;
    width: 100%;
    padding: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.form-modal.active .form-modal-content {
    transform: scale(1) translateY(0);
}

.form-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.form-modal-close:hover {
    opacity: 0.6;
}

.form-modal-close span {
    position: absolute;
    width: 1.5rem;
    height: 1px;
    background-color: #000000;
    transition: transform 0.3s ease;
}

.form-modal-close span:first-child {
    transform: rotate(45deg);
}

.form-modal-close span:last-child {
    transform: rotate(-45deg);
}

.form-modal-header {
    margin-bottom: 3rem;
    text-align: left;
}

.form-modal-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 200;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.05;
    position: relative;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.form-modal-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #a68f50, #a68f50, #a68f50);
    border-radius: 0 0.25rem 0.25rem 0;
    box-shadow: 0 0 15px rgba(90, 62, 43, 0.3);
}

.form-modal-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background-color: transparent;
    font-size: 1.125rem;
    font-weight: 300;
    font-family: inherit;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-input:focus {
    border-bottom-color: #000000;
}

.form-input:valid {
    border-bottom-color: rgba(0, 0, 0, 0.5);
}

.form-submit {
    margin-top: 1rem;
    padding: 1.25rem 3rem;
    border: 1px solid #000000;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: fit-content;
    align-self: flex-start;
}

.form-submit:hover {
    background-color: #ffffff;
    color: #000000;
}

.form-submit:active {
    transform: scale(0.98);
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 3px solid #000000;
    font-size: 1rem;
    font-weight: 300;
    color: #000000;
    animation: slideIn 0.3s ease;
}

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

@media screen and (max-width: 1400px) {
    :root {
        --spacing-xl: 8rem;
        --spacing-lg: 6rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-image-center {
        width: 450px;
        height: 450px;
    }
}

@media screen and (max-width: 1000px) {
    :root {
        --m: 3rem;
        --spacing-xl: 6rem;
        --spacing-lg: 4rem;
        --spacing-md: 3rem;
    }
    
    /* Стили навигации теперь в css/header.css */
    
    .hero-content {
        padding: 0 3rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9375rem, 2vw, 1.125rem);
        margin-bottom: 2.5rem;
    }
    
    .hero-nav {
        gap: 2rem;
    }
    
    .hero-subtitle {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-block-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-block-reverse {
        direction: ltr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-large {
        grid-row: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .apartment-card {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 0;
    }
    
    .apartment-gallery {
        order: 1;
        width: 100%;
        position: relative;
    }
    
    .apartment-info {
        order: 2;
        width: 100%;
        position: relative;
    }
    
    .apartment-gallery-main {
        min-height: 25rem;
    }
    
    .apartment-info {
        padding: 3rem 2rem;
        gap: 1.5rem;
    }
    
    .apartment-address {
        font-size: 1.75rem;
    }
    
    .apartment-description {
        font-size: 1.0625rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 900px) {
    .hero-images-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    
    .hero-image-item {
        grid-column: 1 / -1 !important;
        grid-row: 1 / -1 !important;
    }
    
    .hero-image-item:nth-child(n+2) {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .main {
        padding-top: 0;
    }

    .hero {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 6rem 1.5rem 3rem;
    }

    .hero .elite-header {
        position: static;
        transform: none;
        bottom: auto;
        left: auto;
        margin-top: 2rem;
        pointer-events: auto;
    }

    .hero .elite-image-wrapper {
        margin-top: 0;
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .content {
        padding: 4rem 2rem;
        gap: 4rem;
    }

    .stats-section {
        padding: 2rem 2rem 3rem;
        gap: 2.5rem;
    }

    .about-section {
        padding: 4rem 2rem;
    }

    .features-section {
        padding: 2rem 2rem;
    }
    
    .features-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        padding: 0;
    }
    
    .feature-card-large,
    .feature-card-medium,
    .feature-card-medium:nth-of-type(3),
    .feature-card-small {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 400px;
    }

    .actions-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-link {
        width: 100%;
    }

    .apartment-section {
        padding: 2rem 1.5rem;
    }
    
    .apartment-title {
        margin-bottom: 1.5rem;
        font-size: clamp(2rem, 8vw, 3rem);
        padding: 1.25rem 0 1.25rem 1.5rem;
        border-left-width: 4px;
    }
    
    .apartment-title::before {
        width: 4px;
    }
    
    .apartment-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .apartment-gallery {
        order: 1;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    
    .apartment-info {
        order: 2;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .gallery-section {
        padding: 4rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 20rem;
    }
    
    /* .apartment-gallery-thumbs {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 1rem;
        justify-content: center;
        background: rgba(255, 255, 255, 1) !important;
        padding: 0.5rem;
    } */
    
    .apartment-gallery {
        position: relative;
        width: 100%;
        margin-bottom: 0;
    }
    
    .apartment-info {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        width: 100%;
        position: relative;
    }
    
    .apartment-address {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding-left: 1.5rem;
    }
    
    .apartment-address::before {
        width: 3px;
    }
    
    .apartment-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .apartment-link {
        padding: 0.875rem 2rem;
        font-size: 0.8125rem;
        width: 100%;
        text-align: center;
    }
    
    .apartment-gallery-main {
        min-height: 20rem;
    }

    .form-modal-content {
        padding: 3rem 2rem;
    }

    .form-modal-close {
        top: 1.5rem;
        right: 1.5rem;
    }

    .elite-title {
        white-space: normal;
    }
    .elite-tagline {
        text-align: center;
        padding: 0 0.5rem;
    }

    .stats-title {
        font-size: clamp(4rem, 18vw, 6rem);
        white-space: normal;
    }

    .stats-title-line {
        margin-left: 0;
        font-size: 15vw;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .stat-content {
        padding: 1.5rem;
    }

    .actions-container {
        grid-template-columns: 1fr;
    }

    .actions-section {
        padding: 2rem 1.5rem 3rem;
    }
}

/* ============================================
   PARALLAX & ANIMATION STYLES
   ============================================ */

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Initial states for animated elements */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
    transform: translateX(-100px);
    opacity: 0;
}

.animate-slide-left.animated {
    animation: slideInFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-right {
    transform: translateX(100px);
    opacity: 0;
}

.animate-slide-right.animated {
    animation: slideInFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-top {
    transform: translateY(-100px);
    opacity: 0;
}

.animate-slide-top.animated {
    animation: slideInFromTop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-bottom {
    transform: translateY(100px);
    opacity: 0;
}

.animate-slide-bottom.animated {
    animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale {
    transform: scale(0.8);
    opacity: 0;
}

.animate-scale.animated {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-rotate {
    transform: rotate(-10deg) scale(0.9);
    opacity: 0;
}

.animate-rotate.animated {
    animation: rotateIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-zoom {
    transform: scale(1.2);
    opacity: 0;
}

.animate-zoom.animated {
    animation: zoomIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Parallax elements */
.parallax-slow {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.parallax-medium {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.parallax-fast {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Stagger animation delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* Stats section parallax */
.stat-item {
    will-change: transform;
}

/* Island section animations */
.island-text-wrapper {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-text-wrapper.animated {
    opacity: 1;
    transform: translateX(0);
}

.island-image-wrapper {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.island-image-wrapper.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Features section stagger */
.feature-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Крупная карточка без появления через анимацию */
.feature-card-large {
    opacity: 1;
    transform: translateY(0);
}

/* Actions section animations */
.action-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-card.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.action-card:nth-child(1) {
    transition-delay: 0.1s;
}

.action-card:nth-child(2) {
    transition-delay: 0.2s;
}

.action-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Apartment section animations */
.apartment-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.apartment-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.apartment-gallery {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.apartment-gallery.animated {
    opacity: 1;
    transform: translateX(0);
}

.apartment-info {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.apartment-info.animated {
    opacity: 1;
    transform: translateX(0);
}
