/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Preloader */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.logo-container {
    width: 300px;
    height: 300px;
    position: relative;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    display: block;
}

/* Preloader Logo Animation Sequence */

/* Все элементы изначально скрыты */
.preloader-logo .green-bar,
.preloader-logo .line-1,
.preloader-logo .line-2,
.preloader-logo .line-3,
.preloader-logo .line-4,
.preloader-logo .line-5,
.preloader-logo .line-6,
.preloader-logo .line-7,
.preloader-logo .logo-text {
    opacity: 0;
}

/* 1. Green bars animation - from bottom to top (FIRST), суммарно прелоадер 3s */
.preloader-logo .green-bar {
    fill: #667035 !important;
    opacity: 1 !important;
    clip-path: inset(100% 0 0 0);
    animation: fillUpFromBottom 0.35s ease-out forwards;
}

.preloader-logo .bar-1 {
    animation-delay: 0s;
}

.preloader-logo .bar-2 {
    animation-delay: 0.12s;
}

@keyframes fillUpFromBottom {
    0% {
        clip-path: inset(100% 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 2. Lines animation - draw from start to end (AFTER BARS), уложено в 3s */
.preloader-logo .line-1 {
    opacity: 1 !important;
    stroke-dasharray: 4500;
    stroke-dashoffset: 4500;
    animation: drawLine1 0.2s ease-out forwards;
    animation-delay: 0.5s;
}

.preloader-logo .line-2 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.58s;
}

.preloader-logo .line-3 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.66s;
}

.preloader-logo .line-4 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.74s;
}

.preloader-logo .line-5 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.82s;
}

.preloader-logo .line-6 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.9s;
}

.preloader-logo .line-7 {
    opacity: 1 !important;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 0.2s ease-out forwards;
    animation-delay: 0.98s;
}

@keyframes drawLine1 {
    0% {
        stroke-dashoffset: 4500;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1500;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* 3. Text animation - typewriter effect (LAST), заканчивается к 3s */
.preloader-logo .logo-text {
    opacity: 1 !important;
    fill: #2B2A29 !important;
    clip-path: inset(0 100% 0 0);
    animation: typewriterText 1.2s ease-in-out forwards;
    animation-delay: 1.2s;
}

@keyframes typewriterText {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

:root {
    /* Основные цвета - оливково-зеленая палитра */
    --primary-color: #2d3319;
    --secondary-color: #f8f9f5;
    --text-dark: #1a1d0f;
    --text-light: #5a6047;
    --text-lighter: #8b9178;

    /* Акцентные цвета в оливковой гамме */
    --accent-teal: #7a8b5a;
    --accent-blue: #6b7d5a;
    --accent-green: #8b9568;
    --accent-orange: #a68b5a;

    /* Нейтральные цвета */
    --white: #ffffff;
    --light-gray: #f5f6f2;
    --border-color: #d4d8c8;

    /* Тени с оливковым оттенком */
    --shadow-sm: 0 2px 8px rgba(45, 51, 25, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 51, 25, 0.12);
    --shadow-lg: 0 8px 24px rgba(45, 51, 25, 0.15);

    /* Градиенты */
    --gradient-dark: #667035;
    --gradient-light: #B1BA72;
    --gradient-main: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
    --gradient-horizontal: linear-gradient(90deg, #667035 0%, #B1BA72 100%);
    --gradient-vertical: linear-gradient(180deg, #667035 0%, #B1BA72 100%);

    /* Статусные цвета в гармонии с палитрой */
    --error-color: #b85c4a;
    --success-color: #7a9568;
    --warning-color: #a68b5a;
    --info-color: #6b7d5a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.75;
}

.logo-img {
    width: 120px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ced1a0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ced1a0;
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.btn-nav:hover {
    background: #ced1a0;
    color: #000000;
}

/* Desktop version - show button */
.btn-nav-desktop {
    display: flex;
}

/* Mobile version - show WhatsApp link */
.btn-nav-mobile {
    display: none;
    background: #25D366;
    padding: 10px 16px;
    gap: 8px;
}

.btn-nav-mobile:hover {
    background: #20BA5A;
    color: var(--white);
}

.btn-nav-mobile .phone-number {
    font-weight: 600;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-wrapper {
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    background: linear-gradient(90deg, #667035 0%, #B1BA72 50%, #667035 100%);
    border-radius: 40px;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(177, 186, 114, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(52px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -2.5px;
}

.hero-description {
    font-size: 17px;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 45px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-input {
    flex: 1;
    padding: 18px 28px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.hero-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.hero-input::placeholder {
    color: var(--text-lighter);
    opacity: 0.7;
}

.hero-form .btn-primary {
    padding: 18px 40px;
    border-radius: 50px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-form .btn-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.5s ease;
}

.hero-form .btn-primary:hover {
    background: #1a1d0f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.hero-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 10px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at center, rgba(177, 186, 114, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 112, 53, 0.1) 0%, rgba(177, 186, 114, 0.1) 100%);
    border-radius: 30px;
    z-index: 0;
    filter: blur(20px);
}

.hero-image-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    transform: translateY(0);
    transition: transform 0.5s ease, filter 0.5s ease;
    animation: floatHouse 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes floatHouse {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.hero-image:hover .hero-image-img {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 25px 70px rgba(0, 0, 0, 0.4));
}

.house-3d {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1400px;
}

.house-structure {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(2deg);
}

/* Foundation */
.house-foundation {
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 8%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 4px;
    z-index: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Main House Structure */
.house-main {
    position: absolute;
    bottom: 8%;
    left: 12%;
    width: 76%;
    height: 55%;
    z-index: 1;
}

.house-wall-left,
.house-wall-center,
.house-wall-right {
    position: absolute;
    bottom: 0;
    height: 100%;
    background: linear-gradient(180deg, #B1BA72 0%, #8a9460 50%, #667035 100%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.house-wall-left {
    left: 0;
    width: 30%;
    background: repeating-linear-gradient(0deg,
            #B1BA72 0%,
            #B1BA72 4%,
            #a8b168 4%,
            #a8b168 5%,
            #9fa05e 5%,
            #9fa05e 6%);
}

.house-wall-center {
    left: 30%;
    width: 40%;
    background: repeating-linear-gradient(0deg,
            #B1BA72 0%,
            #B1BA72 4%,
            #a8b168 4%,
            #a8b168 5%,
            #9fa05e 5%,
            #9fa05e 6%);
}

.house-wall-right {
    right: 0;
    width: 30%;
    background: repeating-linear-gradient(0deg,
            #B1BA72 0%,
            #B1BA72 4%,
            #a8b168 4%,
            #a8b168 5%,
            #9fa05e 5%,
            #9fa05e 6%);
}

.house-dark-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    z-index: 2;
}

/* Roof */
.house-roof-main {
    position: absolute;
    bottom: 63%;
    left: 8%;
    width: 84%;
    height: 35%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
    z-index: 3;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.house-roof-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.05) 20px,
            rgba(255, 255, 255, 0.05) 22px);
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

/* Chimney */
.house-chimney {
    position: absolute;
    bottom: 85%;
    left: 65%;
    width: 8%;
    height: 20%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    z-index: 4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Gable Window */
.house-gable-window {
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 18%;
    background: linear-gradient(135deg, rgba(200, 220, 240, 0.85) 0%, rgba(180, 200, 220, 0.85) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: 3px solid #1a1a1a;
    z-index: 5;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.3);
}

.house-gable-window::before {
    content: '';
    position: absolute;
    top: 33%;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a1a1a;
    opacity: 0.4;
}

/* Windows */
.house-windows {
    position: absolute;
    bottom: 25%;
    left: 15%;
    width: 70%;
    height: 35%;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.house-window-large {
    width: 45%;
    height: 80%;
    background: linear-gradient(135deg, rgba(200, 220, 240, 0.9) 0%, rgba(180, 200, 220, 0.9) 100%);
    border: 4px solid #1a1a1a;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.house-window-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a1a1a;
    opacity: 0.5;
}

.house-window-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 3px;
    background: #1a1a1a;
    opacity: 0.5;
}

.house-window-small {
    width: 30%;
    height: 60%;
    background: linear-gradient(135deg, rgba(200, 220, 240, 0.9) 0%, rgba(180, 200, 220, 0.9) 100%);
    border: 4px solid #1a1a1a;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.15), 0 0 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.house-window-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a1a1a;
    opacity: 0.5;
}

/* Door Area */
.house-door-area {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 35%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    z-index: 7;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.house-door-area::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #0a0a0a;
}

/* Deck */
.house-deck {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120%;
    height: 20%;
    z-index: -1;
    transform: translateX(-10%);
}

.deck-planks {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            #d4c5a0 0%,
            #d4c5a0 8%,
            #c9b895 8%,
            #c9b895 9%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.deck-railing {
    position: absolute;
    bottom: 85%;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.deck-railing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0a0a0a;
}

/* Deck Furniture */
.deck-furniture {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 35%;
    height: 50%;
    z-index: 1;
}

.deck-table {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 25%;
    background: linear-gradient(135deg, #d4c5a0 0%, #c9b895 100%);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.deck-chair {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 20%;
    height: 35%;
    background: linear-gradient(135deg, #d4c5a0 0%, #c9b895 100%);
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.deck-lounge {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 25%;
    height: 30%;
    background: linear-gradient(135deg, #d4c5a0 0%, #c9b895 100%);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Three Steps Section */
.three-steps {
    background: var(--white);
    padding: 100px 0;
}

.three-steps .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.three-steps .section-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.three-steps .section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.step-icon i {
    font-size: 64px;
    line-height: 1;
    display: block;
}

.step-icon svg {
    width: 72px;
    height: 72px;
    position: relative;
}

.step-icon-1 {
    color: #667035;
}

.step-icon-2 {
    color: #8B9568;
}

.step-icon-3 {
    color: #B1BA72;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: center;
}

.step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    margin: 0 auto;
    font-weight: 400;
}

/* Recent Projects Section */
.recent-projects {
    background: var(--white);
    padding: 100px 0;
}

.recent-projects .section-header-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.recent-projects .section-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.recent-projects .section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

.carousel-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn.prev-btn {
    background: var(--light-gray);
    border-color: var(--border-color);
}

.carousel-btn.next-btn {
    background: var(--white);
    border-color: var(--border-color);
}

.carousel-btn.next-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.carousel-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.projects-carousel {
    margin-top: 20px;
}

.projects-carousel .owl-stage-outer {
    padding: 10px 0;
}

.projects-carousel .owl-item {
    padding: 0 15px;
    display: flex;
    height: 100%;
}

.projects-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .image-overlay {
    opacity: 1;
}

.view-gallery {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid var(--white);
    border-radius: 6px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    position: relative;
}

.project-img-1 {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
}

.project-img-2 {
    background: linear-gradient(135deg, #B1BA72 0%, #667035 100%);
}

.project-img-3 {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    flex: 1;
}

.project-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.star-icon {
    width: 16px;
    height: 16px;
    color: #ffc107;
    fill: #ffc107;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.project-location {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
    flex-grow: 1;
}

.project-description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.description-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.description-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.description-list li {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    transition: all 0.2s ease;
}

.description-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--gradient-dark) 0%, var(--gradient-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.description-list li:hover {
    color: var(--gradient-dark);
    padding-left: 32px;
}

.description-list li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 112, 53, 0.3);
}

.project-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.project-btn {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    font-family: 'Comfortaa', sans-serif;
}

.project-btn-outline {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.project-btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Insurance Better Section */
.insurance-better {
    background: var(--white);
}

.insurance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.insurance-image {
    height: 500px;
}

.insurance-img {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 50%, #667035 100%);
    border-radius: 20px;
}

.insurance-text {
    /* Removed max-width for fluid layout */
    width: 100%;
}

.insurance-list {
    list-style: none;
    margin-top: 40px;
}

.insurance-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.insurance-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.insurance-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Global Brokerage Section */
.global-brokerage {
    background: var(--light-gray);
    text-align: center;
}

.brokerage-content {
    margin: 0 auto;
}

.brokerage-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.brokerage-image {
    height: 400px;
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
}

.team-img {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
}

.brokerage-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.brokerage-stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* More Than Section */
.more-than {
    background: var(--white);
    text-align: center;
}

.more-than-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.more-than-item {
    text-align: center;
}

.more-than-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.more-than-icon svg {
    width: 36px;
    height: 36px;
}

.more-than-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.more-than-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Blogs Section */
.blogs {
    background: var(--light-gray);
}

.blogs-carousel {
    margin-top: 20px;
}

.blogs-carousel.owl-carousel .owl-stage-outer {
    padding: 10px 0;
}

.blogs-carousel.owl-carousel .owl-item {
    padding: 0 15px;
    display: flex;
    height: 100%;
}

.blogs-carousel.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}


.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-img-1 {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
}

.blog-img-2 {
    background: linear-gradient(135deg, #B1BA72 0%, #667035 100%);
}

.blog-img-3 {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-blue);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
    border-radius: 24px;
    margin: 80px 0;
    padding: 60px 40px;
    color: var(--white);
}

.newsletter .section-title {
    color: var(--white);
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.choise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.newsletter-description {
    font-size: 16px;
    color: var(--white);
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.brokerage-image img {
    /* height: 400px; */
    /* margin: 40px 0; */
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

.newsletter-form .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 8px;
    white-space: nowrap;
    min-width: 160px;
}

.newsletter-form .btn-primary:hover {
    background: #1a1d0f;
    color: var(--white);
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.newsletter-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.newsletter-logo {
    width: auto;
    position: absolute;
    right: 71px;
    /* max-width: 280px; */
    height: 100%;
    max-height: 402px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0) invert(1);
}

.newsletter-logo .newsletter-logo-svg,
.newsletter-logo .preloader-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Анимация bars и lines наследуется от .preloader-logo — те же тайминги */

.newsletter-img {
    background: linear-gradient(135deg, #667035 0%, #B1BA72 100%);
    border-radius: 16px;

}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo .logo {
    margin-bottom: 12px;
}

.footer-logo .logo-img {
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Desktop Large Screens */
@media (min-width: 1200px) {
    .hero-image {
        height: 100%;
        width: 1000px;
        padding: 5px;
    }

    .hero-content {
        grid-template-columns: 1fr 1.3fr;
        padding: 100px 80px;
    }

    .hero-image-img {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        padding: 15px 0;
    }

    .logo-img {
        width: 100px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px 20px;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
    }

    .nav-right {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .btn-nav-desktop {
        display: none;
    }

    .btn-nav-mobile {
        display: flex;
    }

    .search-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hero-content,
    .insurance-content,
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
        border-radius: 24px;
    }

    .hero-image {
        height: 100%;
        position: absolute;
        left: 80px !important;
        opacity: 0.75;
        z-index: 1;
    }

    .hero-image-img {
        animation: none;
    }

    .hero-form {
        flex-direction: column;
        gap: 12px;
        border-radius: 30px;
    }

    .hero-form .btn-primary {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .more-than-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blogs-carousel.owl-carousel .owl-item {
        padding: 0 10px;
    }

    .blog-card {
        width: 100%;
        min-width: auto;
    }

    .brokerage-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .projects-carousel .owl-item {
        padding: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-header-with-nav {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .carousel-nav {
        align-self: flex-end;
        margin-bottom: -47px;
        z-index: 9;
    }

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

    .insurance-image {
        order: -1;
        height: 300px;
    }

    .recent-projects .section-header-with-nav {
        flex-direction: column-reverse;
    }
}

@media (max-width: 640px) {
    section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero-content {
        padding: 30px 20px;
        border-radius: 20px;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-image {
        height: 100%;
        position: absolute;
        left: 80px !important;
        opacity: 0.75;
        z-index: 1;
    }

    .hero-image-img {
        animation: none;
    }

    .hero-form,
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .hero-input {
        width: 100%;
        font-size: 14px;
        padding: 12px 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-label {
        font-size: 12px;
    }

    .three-steps {
        padding: 40px 0;
    }

    .steps-grid {
        gap: 30px;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .step-icon i {
        font-size: 48px;
    }

    .step-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .step-description {
        font-size: 14px;
    }

    .recent-projects {
        padding: 40px 0;
    }

    .project-card {
        margin: 0 5px;
    }

    .insurance-better {
        padding: 40px 0;
    }

    .insurance-content {
        flex-direction: column;
        gap: 30px;
    }

    .insurance-image {
        height: 250px;
    }

    .insurance-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .insurance-item h4 {
        font-size: 16px;
    }

    .insurance-item p {
        font-size: 14px;
    }

    .global-brokerage {
        padding: 40px 0;
    }

    .brokerage-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .brokerage-stat {
        padding: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    .more-than {
        padding: 40px 0;
    }

    .more-than-grid {
        gap: 30px;
    }

    .more-than-item {
        padding: 24px;
    }

    .more-than-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .more-than-icon svg {
        width: 32px;
        height: 32px;
    }

    .more-than-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .more-than-description {
        font-size: 14px;
    }

    .blogs {
        padding: 40px 0;
    }

    .blog-card {
        min-width: 280px;
    }

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

    .blog-excerpt {
        font-size: 14px;
    }

    .newsletter {
        margin: 40px 0;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .newsletter-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .newsletter-logo {
        position: relative;
        right: auto;
        max-height: 180px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }

    /* Modal mobile styles */
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-booking {
        width: 95%;
        max-height: 95vh;
    }

    .modal-booking-header {
        padding: 20px;
    }

    .modal-booking-header h2 {
        font-size: 20px;
    }

    .modal-booking-content {
        flex-direction: column;
        padding: 20px;
    }

    .modal-contact {
        padding: 30px 20px;
        width: 95%;
    }

    .contact-modal-header h2 {
        font-size: 22px;
    }

    .contact-modal-header p {
        font-size: 14px;
    }

    .contact-input {
        padding: 14px 20px;
        font-size: 14px;
    }

    .booking-left,
    .booking-right {
        width: 100%;
    }

    .floor-plan-container {
        margin-bottom: 20px;
    }

    .characteristics-table {
        font-size: 14px;
    }

    .characteristics-table td {
        padding: 8px;
    }

    .booking-form .form-group {
        margin-bottom: 16px;
    }

    .booking-form input,
    .booking-form textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

    .gallery-header {
        padding: 15px 20px;
    }

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

    .gallery-counter {
        font-size: 14px;
    }

    .captcha-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .captcha-question {
        text-align: center;
    }

    .captcha-input {
        max-width: 100%;
    }

    /* Project card mobile */
    .project-card {
        margin: 0;
    }

    .project-image {
        height: 200px;
    }

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

    .description-list {
        font-size: 14px;
    }

    .description-list li {
        padding-left: 24px;
        margin-bottom: 8px;
    }

    /* Gallery mobile */
    .gallery-carousel .owl-nav {
        width: 100%;
        left: 0;
        padding: 0 10px;
    }

    .gallery-carousel .owl-nav button {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gallery-carousel-wrapper {
        min-height: 300px;
    }

    /* Carousel buttons mobile */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Brokerage stats mobile */
    .brokerage-stats {
        grid-template-columns: 1fr;
    }

    .brokerage-image {
        height: 250px;
        margin-bottom: 30px;
    }

    /* Section spacing mobile */
    .three-steps {
        padding: 40px 0;
    }

    .three-steps .section-header {
        margin-bottom: 40px;
    }

    .recent-projects {
        padding: 40px 0;
    }

    .insurance-better {
        padding: 40px 0;
    }

    .global-brokerage {
        padding: 40px 0;
    }

    .more-than {
        padding: 40px 0;
    }

    .blogs {
        padding: 40px 0;
    }

    /* Newsletter mobile */
    .newsletter-description {
        font-size: 14px;
    }

    /* Footer mobile */
    .footer-bottom {
        text-align: center;
        font-size: 12px;
    }

    /* Project card details mobile */
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-rating {
        align-self: flex-start;
    }

    .project-price {
        font-size: 20px;
    }

    .project-button {
        width: 100%;
        justify-content: center;
    }

    /* Insurance list mobile */
    .insurance-list {
        gap: 20px;
    }

    .check-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* Brokerage content mobile */
    .brokerage-content {
        text-align: center;
    }

    .brokerage-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* More than items mobile */
    .more-than-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Blog cards mobile */
    .blog-image {
        height: 200px;
    }

    /* Modal improvements mobile */
    .modal-close {
        right: 15px !important;
        top: 15px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
    }

    .gallery-header {
        padding: 15px 20px;
    }

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

    .gallery-counter {
        font-size: 14px;
    }

    /* Form improvements mobile */
    .form-group label {
        font-size: 14px;
    }

    .characteristics-title,
    .upgrades-title,
    .form-section-title {
        font-size: 18px;
    }

    /* Preloader mobile */
    .gallery-preloader {
        padding: 20px;
    }

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

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .logo-img {
        width: 90px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-menu {
        top: 60px;
        padding: 20px 15px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon i {
        font-size: 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .project-image {
        height: 180px;
    }

    .modal-content {
        width: 98%;
        margin: 5px auto;
        border-radius: 12px;
    }

    .modal-booking-header {
        padding: 15px;
    }

    .modal-booking-content {
        padding: 15px;
    }

    .hero-content {
        padding: 25px 15px;
    }

    .hero-image {
        height: 100%;
        position: absolute;
        left: 80px !important;
        opacity: 0.75;
        z-index: 1;
    }

    .hero-image-img {
        animation: none;
    }

    .gallery-carousel-wrapper {
        min-height: 250px;
    }

    .gallery-counter {
        margin-right: 0;
        font-size: 12px;
        padding: 8px 16px;
        min-width: 60px;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gallery-title {
        font-size: 16px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow: auto;
    animation: modalBackdropFadeIn 0.3s ease;
}

@keyframes modalBackdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    margin: 1% auto;
    padding: 0;
    border-radius: 24px;
    width: 98%;
    max-width: 1600px;
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: visible;
    max-height: 98vh;
    display: flex;
    flex-direction: column;
}

.modal-form {
    padding: 40px;
    max-width: 600px;
}

.modal-booking {
    max-width: 1600px;
    width: 98%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

.modal-contact {
    max-width: 500px;
    width: 90%;
    padding: 40px;
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Comfortaa', sans-serif;
}

.contact-modal-header p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

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

.contact-input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-input::placeholder {
    color: var(--text-lighter);
}

.modal-booking-header {
    padding: 30px 40px 20px;
    border-bottom: 2px solid var(--border-color);
    flex-shrink: 0;
}

.modal-booking-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Comfortaa', sans-serif;
}

.modal-booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

.booking-left {
    background: var(--light-gray);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.floor-plan-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floor-plan-img {
    max-width: 100%;
    max-height: calc(95vh - 200px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-right {
    background: var(--white);
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.characteristics-section {
    background: linear-gradient(135deg, rgba(206, 209, 160, 0.1) 0%, rgba(177, 186, 114, 0.1) 100%);
    padding: 30px;
    border-radius: 16px;
}

.characteristics-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Comfortaa', sans-serif;
}

.characteristics-table {
    width: 100%;
    border-collapse: collapse;
}

.characteristics-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.characteristics-table tbody tr:last-child {
    border-bottom: none;
}

.char-name {
    padding: 12px 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    width: 50%;
}

.char-value {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 15px;
    text-align: right;
}

.upgrades-section {
    background: linear-gradient(135deg, rgba(206, 209, 160, 0.1) 0%, rgba(177, 186, 114, 0.1) 100%);
    padding: 30px;
    border-radius: 16px;
    margin-top: 20px;
}

.upgrades-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Comfortaa', sans-serif;
}

.upgrades-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upgrades-list li {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.upgrades-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--gradient-dark) 0%, var(--gradient-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.form-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Comfortaa', sans-serif;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

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

.modal-close {
    position: absolute;
    right: 30px;
    top: 20px;
    color: var(--white);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Gallery Carousel */
.gallery-carousel {
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    flex: 1;
    display: flex;
    align-items: center;
    overflow: visible;
    min-height: 400px;
}

.gallery-carousel-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: visible;
}

.gallery-item {
    text-align: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: calc(98vh - 100px);
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 160px);
    left: -80px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10000;
}

.gallery-carousel .owl-nav button {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(102, 112, 53, 0.2);
    pointer-events: all !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-carousel .owl-nav button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-main);
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-carousel .owl-nav button span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block !important;
    line-height: 1;
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-color);
}

.gallery-carousel .owl-nav button:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(102, 112, 53, 0.4);
    border-color: rgba(102, 112, 53, 0.3);
}

.gallery-carousel .owl-nav button:hover::before {
    width: 100%;
    height: 100%;
}

.gallery-carousel .owl-nav button:hover span {
    color: var(--white);
    transform: scale(1.1);
}

.gallery-carousel .owl-nav button:active {
    transform: scale(1.05);
}

.gallery-carousel .owl-nav button.owl-prev {
    left: 0;
}

.gallery-carousel .owl-nav button.owl-next {
    right: 0;
}

.gallery-carousel .owl-nav button.owl-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dots removed as per user request */

/* Gallery Preloader */
.gallery-carousel-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.gallery-preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    border-radius: 0 0 24px 24px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 112, 53, 0.1);
    border-top-color: var(--gradient-dark);
    border-right-color: var(--gradient-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-text {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    font-family: 'Comfortaa', sans-serif;
}

/* Gallery Header */
.gallery-header {
    padding: 20px 40px 15px 40px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10000;
    flex-shrink: 0;
}

.gallery-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Comfortaa', sans-serif;
    flex: 1;
}

.gallery-counter {
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
    background: var(--gradient-main);
    padding: 10px 20px;
    border-radius: 25px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 112, 53, 0.3);
    margin-right: 60px;
}

/* Gallery Image Loading Animation */
.gallery-item {
    animation: imageFadeIn 0.5s ease;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-carousel {
        min-height: 300px;
    }

    .gallery-item img {
        max-height: 60vh;
    }

    .gallery-carousel .owl-nav {
        width: 100%;
        left: 0;
        padding: 0 10px;
        z-index: 10000;
    }

    .gallery-carousel .owl-nav button {
        width: 48px;
        height: 48px;
        font-size: 20px;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gallery-carousel .owl-nav button span {
        font-size: 32px;
        display: block !important;
    }

    .gallery-header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

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

    .gallery-counter {
        margin-right: 0;
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (max-width: 640px) {
    .gallery-carousel {
        min-height: 250px;
    }

    .gallery-item img {
        max-height: 50vh;
    }

    .gallery-carousel .owl-nav {
        width: 100%;
        left: 0;
        padding: 0 10px;
        z-index: 10000;
    }

    .gallery-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gallery-carousel .owl-nav button span {
        font-size: 28px;
        display: block !important;
    }

    .gallery-header {
        padding: 12px 15px;
    }

    .gallery-title {
        font-size: 16px;
    }

    .gallery-counter {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.booking-form label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.booking-form input,
.booking-form textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--gradient-dark);
}

/* Form Validation Styles */
.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

input.error,
textarea.error {
    border-color: var(--error-color) !important;
}

input.success,
textarea.success {
    border-color: var(--success-color) !important;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
}

.captcha-question {
    font-weight: 600;
    color: var(--text-dark);
}

.captcha-input {
    flex: 1;
    max-width: 100px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
}

.rate-limit-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 6px;
}

.booking-form .btn-full {
    margin-top: 10px;
}

/* Responsive Booking Modal */
@media (max-width: 968px) {
    .modal-booking-content {
        grid-template-columns: 1fr;
    }

    .booking-left {
        min-height: 300px;
        padding: 20px;
    }

    .booking-right {
        padding: 30px 20px;
    }

    .modal-booking-header {
        padding: 20px;
    }

    .modal-booking-header h2 {
        font-size: 22px;
    }

    .floor-plan-img {
        max-height: 50vh;
    }

    .characteristics-section {
        padding: 20px;
    }

    .upgrades-section {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .modal-booking-content {
        padding: 15px;
    }

    .booking-left {
        min-height: 250px;
        padding: 15px;
    }

    .booking-right {
        padding: 20px 15px;
        gap: 20px;
    }

    .modal-booking-header {
        padding: 15px;
    }

    .modal-booking-header h2 {
        font-size: 20px;
    }

    .floor-plan-img {
        max-height: 40vh;
    }

    .characteristics-section,
    .upgrades-section {
        padding: 15px;
    }

    .characteristics-table {
        font-size: 13px;
    }

    .characteristics-table td {
        padding: 6px;
    }
}

@media (max-width: 640px) {
    .modal-booking-content {
        padding: 15px;
    }

    .booking-left {
        min-height: 250px;
        padding: 15px;
    }

    .booking-right {
        padding: 20px 15px;
        gap: 20px;
    }

    .modal-booking-header {
        padding: 15px;
    }

    .modal-booking-header h2 {
        font-size: 20px;
    }

    .floor-plan-img {
        max-height: 40vh;
    }

    .characteristics-section,
    .upgrades-section {
        padding: 15px;
    }

    .characteristics-table {
        font-size: 13px;
    }

    .characteristics-table td {
        padding: 6px;
    }
}