/* Konstrukt - Official Style Recreation */

/* Google Fonts: Montserrat (заменяет локальный Rubik) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* Локальные шрифты Rubik (сохранены как fallback) */
@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: 'Montserrat', '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: 'Montserrat', '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
============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white) !important;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
    letter-spacing: 0;
    -webkit-appearance: none;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 171, 160, 0.35);
    color: var(--white) !important;
}
.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 171, 160, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    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;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out-expo);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.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: border-color 0.2s ease, color 0.2s ease;
}
.btn-outline-light:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* ============================================================
   SITE HEADER — modern sticky navbar (glass like hero cards)
============================================================ */
/* Хедер: прозрачный над hero, белый при скролле */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header--hidden {
    transform: translateY(-100%);
}

/* При скролле — белый фон, чёрный текст (класс вешает main.js) */
.site-header--scrolled {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header--scrolled .site-header__nav-link {
    color: #000000;
    text-shadow: none;
}
.site-header--scrolled .site-header__nav-link:hover { color: var(--primary); }
.site-header--scrolled .site-header__nav-link:hover::after { background: var(--primary); }
.site-header--scrolled .site-header__burger span { background: #000000; }
.site-header--scrolled .site-header__burger:hover { background: rgba(0, 0, 0, 0.06); }
.site-header--scrolled .site-header__icon-btn { color: #000000; text-shadow: none; }
.site-header--scrolled .site-header__icon-btn:hover { background: rgba(0, 0, 0, 0.06); color: #000000; }

.site-header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.site-header__logo:hover { opacity: 0.8; }
/* Два логотипа: SVG на прозрачной шапке, PNG после скролла (класс site-header--scrolled в main.js) */
.site-header__logo-img {
    height: 28px;
    width: auto;
    display: block;
}
.site-header__logo-img--bar {
    display: none;
}
.site-header--scrolled .site-header__logo-img--hero {
    display: none;
}
.site-header--scrolled .site-header__logo-img--bar {
    display: block;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.site-header__nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}
.site-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s var(--ease-out-expo);
}
.site-header__nav-link:hover { color: rgba(255, 255, 255, 0.9); }
.site-header__nav-link:hover::after { transform: scaleX(1); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.site-header__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 171, 160, 0.35);
}

.site-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}
.site-header__icon-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* WhatsApp icon in header */
.site-header__icon-btn--whatsapp {
    background: #25D366;
    color: #ffffff;
}
.site-header__icon-btn--whatsapp:hover {
    background: #1ebe5a;
    color: #ffffff;
}
.site-header--scrolled .site-header__icon-btn--whatsapp {
    background: #25D366;
    color: #ffffff;
}

.site-header__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Гамбургер */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.site-header__burger:hover { background: rgba(255, 255, 255, 0.18); }
.site-header__burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ
============================================================ */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
}
.mobile-nav.is-open { pointer-events: auto; }

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }

.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #ffffff;
    border-left: 1px solid var(--border);
    border-radius: 20px 0 0 20px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.38s var(--ease-out-expo);
    overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}
.mobile-nav__head img { height: 26px; width: auto; }

.mobile-nav__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-gray);
    transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav__close:hover { background: var(--border); color: var(--text-dark); }

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav__link i {
    width: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--primary);
    flex-shrink: 0;
}
.mobile-nav__link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Нижняя зона: CTA + быстрые контакты */
.mobile-nav__footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-nav__cta:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.mobile-nav__contacts {
    display: flex;
    gap: 8px;
}
.mobile-nav__contact-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mobile-nav__contact-link:hover { background: rgba(0,171,160,0.08); border-color: var(--primary); color: var(--primary); }

@media (max-width: 900px) {
    .site-header__nav { display: none; }
    .site-header__cta span { display: none; }
    .site-header__cta { padding: 10px 14px; }
    .site-header__burger { display: flex; }
}

@media (max-width: 480px) {
    .site-header__inner { height: 60px; gap: 12px; }
    .site-header__cta { display: none; }
}

/* NAVBAR - Clean minimal like original (legacy compat) */
.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);
}

.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;
}

/* Project detail: Hero корпоративный баннер */
.project-hero {
    min-height: 85vh;
}
.project-hero-stats {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(8px);
}
.project-hero-btn-booklet {
    font-size: 1rem;
}
.project-hero-btn-layout {
    min-width: 220px;
}

/* Места рядом: горизонтальный скролл */
.nearby-places-scroll::-webkit-scrollbar {
    height: 6px;
}
.nearby-places-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}
.nearby-places-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.nearby-places-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 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: 20px;
    position: relative;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.contact-form label .label-icon {
    color: var(--primary);
    font-size: 11px;
    opacity: 0.8;
}

/* Основной стиль инпутов */
.contact-form .contact-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e8ecf0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: #f8fafc;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    line-height: 1.5;
}

.contact-form .contact-input::placeholder {
    color: #b0bec5;
    font-size: 14px;
}

.contact-form .contact-input:hover {
    border-color: #c8d6e0;
    background: #f4f8fb;
}

.contact-form .contact-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 171, 160, 0.1);
}

.contact-form .contact-input.border-error {
    border-color: #e53935;
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.contact-form .contact-input.border-ok {
    border-color: #2e7d32;
    background: #f9fff9;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
}

.contact-form textarea.contact-input {
    min-height: 96px;
    resize: vertical;
}

/* Счётчик символов и подсказки */
.form-hint--counter {
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
    color: #b0bec5;
    margin-top: 5px;
}

/* Ошибки и успех под полем */
.field-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #e53935;
    margin-top: 6px;
    font-weight: 500;
}

.field-success {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #2e7d32;
    margin-top: 6px;
    font-weight: 500;
}

/* Кнопка отправки */
.contact-form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 8px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #008a82 100%);
    color: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    box-shadow: 0 4px 20px rgba(0, 171, 160, 0.35);
}

.contact-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 171, 160, 0.45);
}

.contact-form-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 171, 160, 0.3);
}

.contact-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

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

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

.contact-form-footer {
    text-align: center;
    font-size: 11.5px;
    color: #b0bec5;
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1.6;
}

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

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

.contact-form--compact .contact-input::placeholder {
    font-size: 13px;
}

.contact-form--compact textarea.contact-input {
    min-height: 80px;
}

/* Менеджеры на странице контактов — список строк */
.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 */
/* ============================================================
   SITE FOOTER — dark premium design
============================================================ */
.site-footer {
    background: #f7f8f9;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.site-footer__top {
    padding: 72px 0 56px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 56px;
}

/* Бренд */
.site-footer__brand {}

.site-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.site-footer__logo:hover { opacity: 1; }
.site-footer__logo img { height: 36px; width: auto; }

.site-footer__desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 320px;
}

/* Быстрая связь в футере */
.site-footer__subscribe-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer__quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.site-footer__quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.site-footer__quick-link:hover { border-color: var(--primary); color: var(--primary); }
.site-footer__quick-link--cta {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}
.site-footer__quick-link--cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* Соцсети */
.site-footer__socials {
    display: flex;
    gap: 10px;
}

.site-footer__social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-gray);
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-footer__social:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.site-footer__social--wa:hover { background: #25D366; border-color: #25D366; }

/* Колонки */
.site-footer__col {}

.site-footer__col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.site-footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__nav a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-footer__nav a:hover {
    color: var(--primary);
}

/* Контакты */
.site-footer__contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-gray);
    font-size: 14px;
}
.site-footer__contacts i {
    width: 18px;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.site-footer__contacts a {
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.site-footer__contacts a:hover { color: var(--primary); }

/* Нижняя полоса */
.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    background: #eef0f2;
}
.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-gray);
}
.site-footer__bottom a {
    color: var(--text-gray);
    transition: color 0.2s ease;
}
.site-footer__bottom a:hover { color: var(--primary); }

@media (max-width: 960px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .site-footer__top { padding: 48px 0 40px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__brand { grid-column: auto; }
    .site-footer__bottom .container { flex-direction: column; text-align: center; gap: 8px; }
    .site-footer__quick-contacts { flex-direction: column; }
}

/* Legacy footer styles for backward compat */
.footer {
    background: var(--white);
    color: var(--text-gray);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

/* WHATSAPP FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
    z-index: 900;
}
.whatsapp-fab:hover {
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

/* FLOATING WHATSAPP BUTTON (legacy) */
.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 ANIMATIONS — scroll-based appearance
============================================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    will-change: opacity, transform;
}

/* Снизу вверх */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}
.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Слева */
.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}
.reveal-left.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Справа */
.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}
.reveal-right.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Масштаб */
.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.reveal-scale.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Плавный подъём при наведении */
.hover-lift {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-quart);
    transform-style: preserve-3d;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

/* Карточки — современная тень и переход */
.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;
    }
}

/* ============================================================
   DESIGN UPGRADES — breadcrumb, page-header, inputs, misc
============================================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-gray);
}
.breadcrumb a {
    color: var(--text-gray);
    transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-separator { color: var(--border); }

/* Page header */
.page-header {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
    background: var(--white);
}
.page-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-dark);
    margin: 0;
}

/* Focus ring for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Form inputs global upgrade */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 171, 160, 0.12);
}

/* Info-grid (stats) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.info-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.info-card .label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--primary);
}
.info-card .value {
    display: block;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-dark);
}

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

/* Nearby places scroll — скрыть скроллбар но сохранить функциональность */
.nearby-places-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 171, 160, 0.2) transparent;
}
.nearby-places-scroll::-webkit-scrollbar { height: 4px; }
.nearby-places-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 171, 160, 0.25);
    border-radius: 4px;
}

/* Hero stats bar — усиленный */
.project-hero-stats {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Managers section */
.managers-section {
    padding: 64px 0 48px;
    background: var(--bg-light);
}
.managers-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.managers-section-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 28px;
}
.managers-filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

/* ========== О ПРОЕКТЕ — светлый блок ========== */
.about-project-section {
    background: #ffffff;
    color: var(--text-dark);
}

.about-project-section__bg {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

/* Галерея проекта / преимущества квартала — белый фон */
.gallery-section {
    background: #ffffff;
    color: var(--text-dark);
}

.about-project-section__title-block {
    text-align: center;
    margin-bottom: 20px;
}

.about-project-section__project-name {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--primary);
    margin-bottom: 8px;
    padding: 2px 14px;
    border-top: 1px solid rgba(0,171,160,0.4);
    border-bottom: 1px solid rgba(0,171,160,0.4);
}

.about-project-section__heading {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.1;
}

.about-project-section__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 28px 0;
}

.about-project-section__description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-gray);
    text-align: center;
}

.about-project-section__description p {
    margin-bottom: 1em;
}

.about-project-section__description p:last-child {
    margin-bottom: 0;
}

.about-project-section__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 64px;
    padding: 8px 0;
}

.about-project-section__stat {
    text-align: center;
}

.about-project-section__stat-num {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.about-project-section__stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.about-project-section__amenities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
    padding-top: 8px;
}

.about-project-section__amenity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.about-project-section__amenity-icon {
    flex-shrink: 0;
    width: 24px;
    font-size: 18px;
    color: var(--primary);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .about-project-section__amenities {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 24px;
    }
    .about-project-section__stats { gap: 32px 40px; }
}

@media (max-width: 480px) {
    .about-project-section__amenities { grid-template-columns: 1fr; }
    .about-project-section__project-name { letter-spacing: 0.15em; font-size: 12px; }
}

/* Liquid Glass: полупрозрачность + размытие фона; в поддерживающих браузерах — лёгкое искажение (displacement) */
.liquid-glass {
    --liquid-mx: 0.5;
    --liquid-my: 0.5;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Мягкий световой блик, следующий за курсором (JS задаёт --liquid-mx, --liquid-my) */
.liquid-glass::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: radial-gradient(
        circle 80px at calc(var(--liquid-mx) * 100%) calc(var(--liquid-my) * 100%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
}

.liquid-glass.liquid-glass--active::before {
    opacity: 1;
}

.liquid-glass:hover {
    background: #f7f8f9;
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 171, 160, 0.1);
}

/* backdrop-filter оставляем только для hero-контекста (где есть реальный фон за элементом) */

/* ========== Места рядом — светлый фон ========== */
.nearby-section {
    background: #ffffff;
    color: var(--text-dark);
}

.nearby-section__bg {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.nearby-section__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 24px 0;
}

.nearby-section__line--top { margin-top: 0; margin-bottom: 24px; }

.nearby-section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.nearby-section__row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f7f8f9;
    border: 1px solid var(--border);
}

.nearby-section__badge {
    flex-shrink: 0;
    width: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    border-radius: 14px;
    background: rgba(0,171,160,0.08);
    border: 1px solid rgba(0,171,160,0.2);
    color: var(--primary);
}

.nearby-section__badge i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.nearby-section__badge span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.nearby-section__card {
    border: 1px solid var(--border);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nearby-section__card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,171,160,0.12);
}

@media (max-width: 640px) {
    .nearby-section__row { flex-direction: column; }
    .nearby-section__badge { width: 100%; flex-direction: row; gap: 10px; }
    .nearby-section__badge i { margin-bottom: 0; }
}

/* ========== Квартиры / Планировки — светлый фон ========== */
.apartments-section {
    background: #ffffff;
    color: var(--text-dark);
}

.apartments-section__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.apartments-section__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 24px 0;
}

.apartments-section__line--top { margin-top: 0; margin-bottom: 24px; }

.apartments-section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin: 0;
}

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

/* Форма фильтров */
.apartments-section__form {
    padding: 24px 28px;
    margin-bottom: 32px;
    border-radius: 16px;
    background: #f7f8f9;
    border: 1px solid var(--border);
}

.apartments-section__form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.apartments-section__input {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.apartments-section__input::placeholder {
    color: var(--text-gray);
}

.apartments-section__input:focus {
    border-color: var(--primary);
}

.apartments-section__select {
    cursor: pointer;
    min-width: 180px;
    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='%2300ABA0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.apartments-section__select option {
    background: #ffffff;
    color: var(--text-dark);
}

.apartments-section__chip {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.apartments-section__form label:has(input:checked) .apartments-section__chip {
    border-color: var(--primary);
    background: rgba(0,171,160,0.1);
    color: var(--primary);
}

.apartments-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.apartments-section__btn--primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.apartments-section__btn--primary:hover {
    background: var(--primary-dark);
    opacity: 0.95;
}

.apartments-section__btn--secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.apartments-section__btn--secondary:hover {
    background: #f7f8f9;
    border-color: var(--primary);
    color: var(--primary);
}

/* Карточки квартир */
.apartments-section__card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.apartments-section__card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,171,160,0.12);
}

.apartments-section__card-body {
    padding: 24px;
}

.apartments-section__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.apartments-section__card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.apartments-section__card-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.apartments-section__card-btn:hover {
    color: var(--primary);
}

/* Пустое состояние */
.apartments-section__empty {
    padding: 48px 24px;
    border-radius: 16px;
    background: #f7f8f9;
    border: 1px solid var(--border);
    text-align: center;
}

.apartments-section__empty-icon {
    font-size: 3rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 20px;
}

.apartments-section__empty-text {
    color: var(--text-dark);
    margin-bottom: 24px;
}

/* Пагинация */
.apartments-section__pagination-inner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f7f8f9;
    border: 1px solid var(--border);
}

.apartments-section__pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: #ffffff;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    text-decoration: none;
}

.apartments-section__pagination-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.apartments-section__pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    color: var(--text-gray);
}

.apartments-section__pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}

/* Контент под стеклянным фиксированным хедером (идёт сразу за ним, без искусственного отступа) */
.main-content {
    padding-top: 0;
    min-height: 60vh;
}

/* ====== Менеджеры внутри светлого about-project-section ====== */
.about-project-section .managers-section-title {
    color: var(--text-dark);
}
.about-project-section .managers-section-desc {
    color: var(--text-gray);
}
.about-project-section .managers-filter-item label {
    color: var(--text-dark);
}
.about-project-section .managers-select {
    background: #ffffff;
    border-color: var(--border);
    color: var(--text-dark);
}
.about-project-section .managers-select option {
    background: #ffffff;
    color: var(--text-dark);
}
.about-project-section .managers-list {
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}
.about-project-section .manager-row {
    border-bottom-color: var(--border);
}
.about-project-section .manager-row:hover {
    background: rgba(0, 171, 160, 0.05);
}
.about-project-section .manager-row-name {
    color: var(--text-dark);
}
.about-project-section .manager-row-position {
    color: var(--text-gray);
}
.about-project-section .manager-row-meta {
    color: var(--text-gray);
}
.about-project-section .manager-row-photo-placeholder {
    color: var(--text-gray);
    background: #f7f8f9;
}
.about-project-section .managers-loading,
.about-project-section .managers-empty {
    color: var(--text-gray);
}

/* ============================================================
   MOBILE — глобальные исправления для всех страниц
   (projects, project_detail, contacts, about, apartments)
============================================================ */

/* ── Hero-секции: меньший min-height на телефоне ── */
@media (max-width: 480px) {
    section[style*="min-height: 520px"],
    section[style*="min-height: 560px"],
    section[style*="min-height: 600px"] {
        min-height: 420px !important;
    }
}

/* ── Hero glass-карточки: 2 в ряд на мобайле ── */
@media (max-width: 480px) {
    .hero-glass-card,
    .prj-hero-card,
    .contacts-hero-card {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px) !important;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .hero-glass-card__value,
    .prj-hero-card__value { font-size: 15px; }
    .hero-glass-card--cta,
    .prj-hero-card--cta,
    .contacts-hero-card--cta {
        flex: 1 1 100%;
        min-width: 100% !important;
        flex-direction: row;
        gap: 10px;
        min-height: 56px !important;
    }
}

/* ── About-project-section: отступы и статы ── */
@media (max-width: 480px) {
    .about-project-section__stats {
        gap: 24px 28px;
    }
    .about-project-section__stat-num {
        font-size: 2rem;
    }
    .about-project-section__line {
        margin: 20px 0;
    }
    .about-project-section__heading {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    .about-project-section__description {
        font-size: 14px;
        text-align: left;
    }
}

/* ── Contacts: form-card padding на мобайле ── */
.contacts-form-card--padded { padding: 36px 32px; }
@media (max-width: 640px) {
    .contacts-form-card--padded { padding: 24px 20px; }
    .contacts-map-wrap { min-height: 260px; }
}

/* ── Apartment modal: мобайл ── */
@media (max-width: 640px) {
    .apt-modal {
        padding: 0;
        align-items: flex-end;
    }
    .apt-modal__wrap {
        width: 100%;
        max-width: 100%;
    }
    .apt-modal__card {
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        grid-template-columns: 1fr;
    }
    .apt-modal__image-wrap { height: 160px; }
    .apt-modal__details { padding: 16px; }
    .apt-modal__form-wrap { padding: 20px 18px; }
    .apt-modal__apt-title { font-size: 1.1rem; }
    .apt-modal__close { top: 10px; right: 10px; }
}

/* ── Apartments filter form: горизонтальная прокрутка убрана ── */
@media (max-width: 480px) {
    .apartments-section__form .flex { gap: 12px; }
    .apartments-section__input { font-size: 14px; }
    .apartments-section__chip { font-size: 12px; padding: 5px 10px; }
    .apartments-section__card-body { padding: 16px; }
    .apartments-section__card-title { font-size: 1rem; }
}

/* ── Apartments grid partial: 1 col на маленьких ── */
@media (max-width: 480px) {
    .grid.grid-cols-1 { gap: 16px; }
}

/* ── About: сервисы и ценности ── */
@media (max-width: 480px) {
    .about-service-card { padding: 20px 16px; }
    .about-value-card { padding: 20px 16px; }
    .about-project-item { padding: 16px 14px; }
}

/* ── Project card: мобайл ── */
@media (max-width: 480px) {
    .prj-card__body { padding: 20px 16px; }
    .prj-card__title { font-size: 1.15rem; }
    .prj-card__img-wrap { height: 240px; }
}

/* ── Общий hero pt на мобайле ── */
@media (max-width: 480px) {
    .container.mx-auto[class*="pt-28"] {
        padding-top: 84px !important;
    }
}

/* ── About-project section padding на мобайле ── */
@media (max-width: 640px) {
    .about-project-section.py-16 { padding-top: 48px; padding-bottom: 48px; }
    .about-project-section.py-16.lg\:py-24 { padding-top: 48px; padding-bottom: 48px; }
}

/* ── Liquid-glass карточки в секциях: меньше padding на мобайле ── */
@media (max-width: 480px) {
    .liquid-glass { padding: 20px 16px; }
}

/* ══ News / Promotions: мобайл ══ */

/* Hero-секция новостей/акций: уменьшаем минимальную высоту и отступы */
@media (max-width: 640px) {
    .news-hero-section { min-height: 240px !important; }
    /* Уменьшаем верхний отступ в hero-контейнере */
    .news-hero-section .container { padding-top: 88px; padding-bottom: 48px; }
    /* Заголовок h1 на мобайле */
    .news-hero-section h1 { font-size: 1.85rem; letter-spacing: -0.02em; }
    .news-hero-section p { font-size: 0.9rem; }
}

/* Карточки новостей/акций: overlay на мобайле */
@media (max-width: 480px) {
    /* Уменьшаем padding оверлея */
    .news-card-overlay { padding: 12px; }
    .news-card-overlay h3 { font-size: 0.9rem; }
    .news-card-overlay p  { font-size: 0.78rem; }
    /* Пустое состояние */
    .news-empty-state { padding-top: 60px; padding-bottom: 60px; }
}

/* Список новостей/акций: список секция padding */
@media (max-width: 640px) {
    .news-list-section { padding-top: 40px; padding-bottom: 48px; }
}