/* Konstrukt - Official Style Recreation */

/* Локальные шрифты Rubik */
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/static/Rubik-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors - Konstrukt Official */
    --primary: #00ABA0;
    --primary-dark: #008F86;
    --primary-light: #00CFC2;
    --text-dark: #1A1A1A;
    --text-gray: #7C7C7C;
    --text-light: #999999;
    --white: #FFFFFF;
    --bg-light: #F7F8F9;
    --bg-secondary: #F3F4F6;
    --border: #E5E5E5;
    --border-light: #EFEFEF;

    /* Spacing */
    --container-width: 1320px;
    --section-padding: 100px;
    --gutter: 20px;

    /* Border Radius */
    --radius-pill: 65px;
    --radius-card: 24px;
    --radius-lg: 32px;
    --radius-input: 30px;
    --radius-sm: 12px;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Motion - плавные анимации */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.25s;
    --duration-normal: 0.4s;
    --duration-slow: 0.6s;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* BUTTONS - Pill shaped like original */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 171, 160, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* NAVBAR - Clean minimal like original */
.navbar {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a,
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-link:hover {
    color: var(--primary);
}

.nav-link.highlighted {
    background: var(--bg-light);
    border-color: var(--border-light);
}

.nav-link.highlighted:hover {
    border-color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

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

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
}

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

.nav-btn-primary:hover {
    background: var(--primary-dark);
}

.nav-btn-outline {
    border: 1px solid var(--border);
    color: var(--text-dark);
}

.nav-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.favorite-link,
.whatsapp-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
}

.whatsapp-btn:hover {
    background: #25D366;
    color: var(--white);
}

/* HERO SECTION - Full screen with rounded elements */
.hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* PROJECT CARDS - Modern rounded style like original */
.projects-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    margin-top: 8px;
}

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

.project-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
}

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

.project-card-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.project-card-badges {
    display: flex;
    gap: 8px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
}

.project-badge.live {
    background: #FF4757;
    color: white;
}

.project-badge.vr {
    background: var(--primary);
    color: white;
}

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

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

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

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ========== ГЛАВНАЯ: Преимущества ========== */
.benefits-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 171, 160, 0.2);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 171, 160, 0.12);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 20px;
    margin-bottom: 18px;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.55;
    margin: 0;
}

/* ========== ГЛАВНАЯ: Новости и акции ========== */
.news-promo-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.news-promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .news-promo-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
}

.news-promo-col {
    background: var(--bg-light);
    border-radius: var(--radius-card);
    padding: 28px 32px;
    border: 1px solid var(--border-light);
}

.news-promo-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

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

.news-promo-list li {
    margin-bottom: 14px;
}

.news-promo-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-promo-item:hover {
    color: var(--primary);
}

.news-promo-item-title {
    flex: 1;
    font-size: 15px;
}

.news-promo-item-date {
    font-size: 13px;
    color: var(--text-gray);
    flex-shrink: 0;
}

.news-promo-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-promo-link:hover {
    color: var(--primary-dark);
}

.news-promo-empty {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 0 16px;
}

.news-promo-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* OLD STYLE SUPPORT - Complex cards */
.complex-list-section {
    padding: var(--section-padding) 0;
}

.complex-card {
    position: relative;
    margin-bottom: 30px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
}

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

.complex-card .apartment-image {
    height: 300px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.complex-card .apartment-info {
    padding: 30px;
    background: var(--white);
    border: none;
}

/* APARTMENT GRID */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.apartment-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.4s ease;
}

.apartment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 171, 160, 0.15);
    transform: translateY(-5px);
}

.apartment-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

.apartment-card:hover .apartment-image img {
    transform: scale(1.08);
}

.status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    border-radius: var(--radius-pill);
}

.status.available {
    background: #00C853;
}

.status.sold {
    background: #FF5252;
}

.status.reserved {
    background: #FFB300;
    color: var(--text-dark);
}

.apartment-info {
    padding: 25px;
}

.apartment-info h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.apartment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.apartment-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.apartment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-favorite {
    background: none;
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-gray);
}

.btn-favorite:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 171, 160, 0.1);
}

/* FILTERS */
.filters-container {
    background: var(--bg-light);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: var(--radius-card);
}

.filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: end;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-gray);
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 171, 160, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 15px;
}

/* COMPLEX DETAIL */
/* COMPLEX HERO - Screenshot style (Image 0) */
.complex-hero {
    height: 100vh;
    min-height: 700px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.complex-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.complex-hero .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.complex-hero .hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.complex-hero h1 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
    letter-spacing: -2px;
}

.complex-hero .location {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
}

.complex-hero .location a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.btn-brochure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 60px;
    transition: all 0.3s;
}

.btn-brochure:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 40px;
}

.hero-stats .stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    color: var(--white);
}

.hero-stats .stat-box .stat-val {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-stats .stat-box .stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

.floating-select-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(0, 171, 160, 0.3);
    z-index: 20;
    cursor: pointer;
    border: none;
}

/* ABOUT SECTION - Image 1 style */
.about-complex {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-text-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about-complex .subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: block;
}

.about-complex p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    opacity: 0.8;
}

.about-image-wrapper {
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

/* NEARBY PLACES - Image 2 style */
.places-title {
    font-size: 40px;
    margin-bottom: 40px;
}

.places-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.place-row {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 24px;
}

.place-distance {
    background: #f7f8f9;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.place-distance i {
    font-size: 32px;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.place-distance span {
    font-size: 14px;
    color: #999;
}

.place-card-visual {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 200px;
}

.place-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-card-visual .place-name-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    z-index: 5;
}

.place-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 2;
}

/* NEIGHBORHOOD INFRASTRUCTURE - Image 3 style */
.neighborhood-section {
    padding: 120px 0;
}

.neighborhood-infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.neighborhood-card {
    display: flex;
    flex-direction: column;
}

.neighborhood-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 32px;
    margin-bottom: 24px;
}

.neighborhood-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.neighborhood-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* COMPLEX ADVANTAGES - Image 4 style */
.advantages-section {
    padding: 120px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 24px;
}

.adv-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.adv-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-item .adv-title {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    z-index: 5;
}

.adv-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 2;
}

.adv-item.large {
    grid-column: span 1;
    grid-row: span 2;
}

.adv-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* ABOUT SECTION */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

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

.about-content {
    padding-right: 40px;
}

.about-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
}

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

/* CTA SECTION */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 32px;
}

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

.cta-section .btn-primary:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* NEWSLETTER SECTION (legacy class, kept for compatibility) */
.newsletter-section {
    padding: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-card);
    margin: 60px 0;
}

.newsletter-content {
    max-width: 600px;
}

.newsletter-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    background: var(--white);
}

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

/* ========== ФУТЕР: одна строка подписки справа ========== */
.footer-subscribe-line {
    padding: 22px 0 26px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}

.footer-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 14px;
}

.footer-subscribe-label {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    white-space: nowrap;
}

.footer-subscribe-input {
    width: 240px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-subscribe-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 171, 160, 0.15);
}

.footer-subscribe-input::placeholder {
    color: var(--text-gray);
}

.footer-subscribe-btn {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 171, 160, 0.25);
}

.footer-subscribe-btn:hover {
    background: #008a82;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 171, 160, 0.35);
}

.footer-subscribe-btn:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .footer-subscribe-line {
        padding: 18px 0 22px;
        margin-bottom: 32px;
    }
    .footer-subscribe-form {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .footer-subscribe-input {
        width: 100%;
    }
}

/* Объединённая форма: заявка + подписка (страница контактов) */
.newsletter-form.unified-contact-form {
    flex-direction: column;
    align-items: stretch;
}

.newsletter-form.unified-contact-form .newsletter-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form.unified-contact-form .newsletter-form-row input {
    flex: 1;
    min-width: 120px;
}

.newsletter-form.unified-contact-form .newsletter-message,
.newsletter-form.unified-contact-form textarea {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    background: var(--white);
}

.newsletter-form.unified-contact-form .newsletter-message:focus,
.newsletter-form.unified-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-checkbox,
.newsletter-checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
    margin-bottom: 8px;
}

.newsletter-checkbox input[type="checkbox"],
.newsletter-checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: none;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ========== CONTACT PAGE: единый блок офис + форма ========== */
.contact-section {
    padding: 40px 0 100px;
}

/* Секция: карта в левой колонке, офис — карточка внизу */
.contact-section--map-bg {
    padding: 48px 0 64px;
}

.contact-section-content {
    position: relative;
}

/* Блок без общего фона */
.contact-section--map-bg .contact-block {
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
}

.contact-section--map-bg .contact-block-left {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    padding: 0;
}

/* Карта на всю левую колонку */
.contact-block-left-map {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-block-left-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    display: block;
}

/* Карточка «Главный офис» внизу слева — не на всю высоту, карта видна сверху */
.contact-block-left-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 24px;
    z-index: 1;
    padding: 22px 20px 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 340px;
}

.contact-section--map-bg .contact-block-left-content .contact-block-label {
    margin-bottom: 8px;
}

.contact-section--map-bg .contact-block-left-content .contact-block-desc {
    margin-bottom: 16px;
    font-size: 13px;
}

.contact-section--map-bg .contact-block-left-content .contact-office-list {
    gap: 14px;
}

.contact-section--map-bg .contact-block-left-content .contact-office-item {
    gap: 12px;
}

.contact-section--map-bg .contact-block-left-content .contact-office-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
}

.contact-section--map-bg .contact-block-left-content .contact-office-value,
.contact-section--map-bg .contact-block-left-content .contact-office-link {
    font-size: 14px;
}

@media (min-width: 992px) {
    .contact-block-left-content {
        left: 20px;
        bottom: 32px;
        right: auto;
        padding: 26px 24px 28px;
        max-width: 300px;
    }
}

@media (max-width: 575px) {
    .contact-block-left-content {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 18px 20px 20px;
    }
}

/* Правая колонка — форма */
.contact-section--map-bg .contact-block-right {
    background: var(--white);
    border-radius: 0 16px 16px 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.06);
    border-left: 1px solid var(--border-light);
}

@media (max-width: 991px) {
    .contact-section--map-bg .contact-block-right {
        border-radius: 16px;
        border-left: none;
        border-top: 1px solid var(--border-light);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }
    .contact-section--map-bg .contact-block-left {
        min-height: 380px;
    }
    .contact-block-left-map-iframe {
        min-height: 380px;
    }
}

.contact-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

@media (min-width: 992px) {
    .contact-block {
        grid-template-columns: 1fr 1.1fr;
        min-height: 520px;
    }
    .contact-section--map-bg .contact-block {
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    .contact-section--map-bg .contact-block-left {
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    }
}

.contact-block-left {
    padding: 40px 32px 40px 40px;
    background: var(--bg-light);
}

@media (min-width: 992px) {
    .contact-block-left {
        padding: 48px 48px 48px 56px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.contact-block-right {
    padding: 40px 32px 48px;
    border-top: 1px solid var(--border-light);
}

@media (min-width: 992px) {
    .contact-block-right {
        padding: 48px 56px 48px 48px;
        border-top: none;
        border-left: 1px solid var(--border-light);
    }
}

.contact-block-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-block-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-block-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 28px;
}

.contact-block-left .contact-block-desc {
    margin-bottom: 28px;
}

.contact-block-right .contact-block-title {
    margin-top: 0;
}

.contact-block-right .contact-block-desc {
    margin-bottom: 24px;
}

.contact-office-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-office-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-office-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 171, 160, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-office-caption {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.contact-office-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.contact-office-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.contact-office-link:hover {
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form .contact-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.contact-form .contact-input:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 20px;
    margin-bottom: 0;
}

/* Компактная форма заявки на странице контактов */
.contact-form--compact .form-group {
    margin-bottom: 12px;
}

.contact-form--compact .contact-form-footer {
    margin-top: 14px;
}

.contact-form--compact label {
    font-size: 12px;
    margin-bottom: 4px;
}

.contact-form--compact .contact-input {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
}

.contact-form--compact .form-hint {
    font-size: 11px;
    margin-top: 4px;
}

.contact-form--compact textarea.contact-input {
    rows: 3;
    min-height: 72px;
}

.form-hint--counter {
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 4px;
}

.contact-form-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    margin-top: 8px;
    border-radius: 10px;
}

.contact-form-spinner {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.contact-form-spinner::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-form-spin 0.8s linear infinite;
}

@keyframes contact-form-spin {
    to { transform: rotate(360deg); }
}

/* Менеджеры на странице контактов — список строк */
.managers-section {
    padding: 48px 0 64px;
    background: linear-gradient(180deg, #f8fafb 0%, var(--white) 100%);
    border-bottom: 1px solid var(--border-light);
}

.managers-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.managers-section-desc {
    color: var(--text-gray);
    margin: 0 0 28px 0;
    font-size: 0.95rem;
}

/* Фильтры: город — селект с серой рамкой; ЖК — при выборе бирюзовый тег */
.managers-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

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

.managers-filter-item label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.managers-select {
    padding: 12px 16px;
    min-width: 180px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.managers-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Город — обычный светлый селект */
.managers-select-city {
    border-color: #e0e0e0;
}

/* ЖК — при выборе значения бирюзовый тег/кнопка (класс .managers-select-complex--active через JS) */
.managers-select-complex {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.managers-select-complex.managers-select-complex--active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.managers-select-complex option {
    background: var(--white);
    color: var(--text-dark);
}

.managers-loading,
.managers-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.managers-loading {
    color: var(--primary);
}

/* Список менеджеров — строки: фото | инфо | кнопка звонка */
.managers-list {
    max-width: 720px;
    margin: 0;
    padding: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Одна строка — менеджер */
.manager-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.manager-row:last-child {
    border-bottom: none;
}

.manager-row:hover {
    background: rgba(0, 171, 160, 0.04);
}

.manager-row-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 171, 160, 0.08);
}

.manager-row-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manager-row-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 22px;
}

.manager-row-info {
    flex: 1;
    min-width: 0;
}

.manager-row-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.manager-row-position {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.manager-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 12px;
    color: var(--text-gray);
}

.manager-row-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.manager-row-meta-item i {
    color: var(--primary);
    font-size: 11px;
    width: 14px;
}

.manager-row-call {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.manager-row-call:hover {
    background: #008a82;
    color: var(--white);
    transform: translateY(-1px);
}

.manager-row-call i {
    font-size: 13px;
}

@media (max-width: 640px) {
    .manager-row {
        flex-wrap: wrap;
        padding: 16px;
        gap: 14px;
    }
    .manager-row-info {
        order: 2;
        flex: 1 1 100%;
    }
    .manager-row-call {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* FOOTER - Minimalist like original */
.footer {
    background: var(--white);
    color: var(--text-gray);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.footer-description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Блок рассылки в футере — в одном стиле с колонкой */
.footer-newsletter {
    margin-bottom: 24px;
}

.footer-newsletter-title {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.footer-subscribe-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
}

.footer-subscribe-inline-input {
    flex: 1;
    min-width: 220px;
    border-radius: 8px 0 0 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-subscribe-inline-input::placeholder {
    color: var(--text-gray);
}

.footer-subscribe-inline-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 171, 160, 0.15);
}

.footer-subscribe-inline-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    white-space: nowrap;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.footer-subscribe-inline-btn:hover {
    background: #008a82;
    transform: translateY(-1px);
}

.footer-subscribe-inline-btn:active {
    transform: translateY(0);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer h3 {
    color: var(--text-dark);
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 600;
}

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

.footer ul li a {
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.footer-contacts p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.footer-contacts .phone {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-gray);
}

.footer-bottom a {
    color: var(--text-gray);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ALERTS */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 30px;
    padding: 20px 0;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

/* PAGE HEADER */
.page-header {
    padding: 60px 0 40px;
    background: var(--white);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* CONTACT FORM */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 171, 160, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ANIMATIONS & MODERN MOTION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out-quart) forwards;
}

/* Элементы с классом .reveal скрыты до появления в viewport (JS добавляет .reveal-visible) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-slow) var(--ease-out-expo), transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo);
}

.reveal-scale.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Плавный подъём при наведении */
.hover-lift {
    transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-quart);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

/* Карточки — современная тень и переход */
.card-smooth {
    transition: transform var(--duration-normal) var(--ease-out-expo),
                box-shadow var(--duration-normal) var(--ease-out-quart),
                border-color var(--duration-fast);
}

.card-smooth:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 171, 160, 0.08);
}

/* ========== ГЛАВНАЯ: блок статистики (интересный вид) ========== */
.stats-section {
    padding: 72px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #006d66 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.stats-tagline {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stats-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.stats-value {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.stats-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.stats-sublabel {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 48px 0 56px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stats-card {
        padding: 24px 20px;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .complex-hero {
        flex-direction: column;
        height: auto;
    }

    .complex-hero .hero-content {
        width: 100%;
        padding: 60px 20px;
    }

    .complex-hero .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .apartments-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .filters {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        max-width: 100%;
    }

    .footer-subscribe-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-subscribe-inline-input {
        min-width: 0;
        border-radius: 8px;
    }

    .footer-subscribe-inline-btn {
        border-radius: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-section {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
}