/* CSS Variables */
:root {
    --primary-gold: #C5A059;
    --primary-gold-dark: #a08144;
    --navy-blue: #1F2E3E;
    --navy-blue-dark: #151f2b;
    --text-dark: #1F2E3E;
    --text-light: #f5f5f5;
    --text-grey: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    /* Or keep Inter bold */
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold-text {
    background-image: linear-gradient(to right, #dec36a, #a1845d);

    /* Обрезаем фон по контуру текста */
    -webkit-background-clip: text;
    background-clip: text;

    /* Делаем сам текст прозрачным, чтобы был виден фон под ним */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Опционально: можно добавить жирности, на ней градиент лучше виден */
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
}

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

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

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 36, 0.5);
    backdrop-filter: blur(8px);
    box-shadow: none;
    padding: 12px 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on actual logo */
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

header.scrolled .main-nav a {
    color: var(--text-dark);
}

header.scrolled .logo img {
    filter: none;
}

.logo img {
    filter: brightness(10);
}

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

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
    padding-bottom: 15px;
    /* Increase hover area */
    margin-bottom: -15px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(31, 46, 62, 0.15);
    /* Soft navy shadow */
    border-radius: 20px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

/* Pointer/Triangle at the top */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 30px !important;
    display: block !important;
    color: var(--navy-blue) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0;
    transition: all 0.2s ease !important;
    background: none !important;
}

.dropdown-menu a:hover {
    background: var(--bg-light) !important;
    color: var(--primary-gold) !important;
    padding-left: 35px !important;
}

.arrow-down {
    font-size: 0.7rem;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.3s ease;
    display: inline-block;
}

.has-dropdown:hover .arrow-down {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-dropdown {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

header.scrolled .lang-dropdown {
    color: var(--text-dark);
}

.consultation-btn {
    background-color: var(--white) !important;
    color: var(--navy-blue) !important;
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    border: none;
    transition: all 0.3s ease;
}

.consultation-btn:hover {
    background-color: #f0f0f0 !important;
}

header.scrolled .consultation-btn {
    background: linear-gradient(180deg, #DEC36A, #A1845D) !important;
    color: var(--white) !important;
}

header.scrolled .consultation-btn:hover {
    background: linear-gradient(180deg, #e3cd83, #ae926a) !important;
}

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

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--navy-blue);
}


/* Hero Section */
/* Hero Section Rebuild 1:1 Estadel */
.hero-section {
    min-height: 75vh;
    max-height: 850px;
    /* Cap height on large screens to avoid vacuum effect */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content within the reduced height */
    position: relative;
    color: var(--white);
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: visible;
    background-color: #0c141d;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 20, 29, 0.05) 0%, rgba(12, 20, 29, 0.7) 50%, rgba(12, 20, 29, 0.9) 100%), url('https://raw.githubusercontent.com/BazaNova-RE/sitepictures/main/f68998e29abc5020dc0fd2009631d277296b4752.jpg') no-repeat center center/cover;
    z-index: 0;
}

.hero-big-text {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    font-size: 150px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.2vw;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    margin: 0 auto 40px auto;
    text-align: left;
    max-width: 1320px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-content h1 span {
    display: block;
}

.hero-content h1 .line-1 {
    text-align: right;
}

.hero-content h1 .line-2 {
    text-align: left;
}

/* Features List at Bottom */
.hero-features-list {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-row {
    display: grid;
    grid-template-columns: 70px 50px 1fr;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0 20px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-blue);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.feature-desc {
    font-size: 0.95rem;
    color: rgb(255, 255, 255);
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    grid-column: 3;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 992px) {
    .hero-section {
        min-height: 480px;
        padding-bottom: 30px;
    }

    .hero-content-wrapper {
        padding: 0 15px;
    }

    .feature-row {
        grid-template-columns: 40px 1fr;
        padding: 15px 0;
        gap: 15px;
    }

    .feature-icon {
        grid-column: 1;
    }

    .feature-desc {
        grid-column: 2;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-big-text {
        font-size: 15vw;
        top: 140px;
        width: 100%;
    }
}




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

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

.section-header h2 {
    font-size: 40px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-grey);
}

/* Base sections with potential background overrides */
.investment-section {
    background-color: #f9f9f9;
}

.selection-cta-section {
    background-color: #f9f9f9;
}

.advantages-section {
    background-color: #f9f9f9;
}

.conditions-section {
    background-color: #f9f9f9;
}

.complexes-section {
    padding: 60px 0;
    background-color: #1F2E3E;
    /* Consistent with team section dark */
}

.complexes-section .section-header-left {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    width: 100%;
}

.complexes-section .section-header-left h2 {
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    text-transform: uppercase;
}

.header-stats {
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

.complexes-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Card Sizes (Matches Grid Layout) */
.card-span-6 {
    grid-column: span 6;
    height: 320px;
}

.card-span-4 {
    grid-column: span 4;
    height: 260px;
}

.card-span-8 {
    grid-column: span 8;
    height: 260px;
}

.complex-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: none;
    /* Тень полностью убрана */
    transition: all 0.4s ease;
}

.complex-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    /* Тень полностью убрана */
}

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

.complex-card:hover img {
    transform: scale(1.05);
}

.complex-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    /* Базовое 40% затемнение сверху */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.complex-card:hover .overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Badge (Location) */
.card-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #FFFFFF;
    color: #1F2E3E;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.card-badge img {
    width: 14px;
    height: auto;
    filter: none;
    transform: none;
}

/* Разные размеры для разных карточек */
.card-span-6 h3,
.card-span-8 h3 {
    font-size: 29px !important;
}

.card-span-4 h3 {
    font-size: 24px !important;
}

.complex-card p {
    font-size: 14px;
    /* Вернули аккуратный размер описания */
    color: #FFFFFF !important;
    /* Чисто белый текст */
    line-height: 1.5;
    max-width: 85%;
}

.card-hover-arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-arrow img {
    width: 20px;
    height: auto;
    filter: brightness(0);
}

.complex-card:hover .card-hover-arrow {
    opacity: 1;
    transform: scale(1);
}

/* Footer Button */
.catalog-footer {
    display: flex;
    justify-content: center;
}

.btn-full-catalog {
    width: 100%;
    max-width: 1200px;
    background: #FFFFFF;
    color: #1F2E3E;
    padding: 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-full-catalog:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-full-catalog svg {
    transition: transform 0.3s ease;
}

.btn-full-catalog:hover svg {
    transform: translateX(5px);
}

.complex-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    transition: background 0.3s ease;
}

.complex-card h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Hover Effects */
.complex-card:hover img,
.complex-more-link:hover img {
    transform: scale(1.15);
}

.complex-card:hover .complex-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
}

.more-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.complex-more-link:hover .more-content {
    background: rgba(0, 0, 0, 0.2);
}

.more-content span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .complexes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 1;
        height: 250px;
    }

    .card-medium {
        grid-column: span 1;
        height: 250px;
    }

    .complex-more-link {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .section-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-stats {
        text-align: left;
    }

    .complexes-grid {
        display: flex;
        flex-direction: column;
    }

    .card-large,
    .card-medium,
    .complex-more-link {
        height: 220px;
        width: 100%;
    }

    .complex-more-link {
        height: 100px;
    }

    .complex-more-link span {
        font-size: 1.1rem;
    }

    .section-header-left h2 {
        font-size: 2rem;
    }
}

/* Restored Dark Background Helper */
.dark-bg {
    background-color: var(--navy-blue);
    color: var(--white);
}

.dark-bg h2 {
    color: var(--white);
}

.dark-bg p {
    color: rgba(255, 255, 255, 0.7);
}

/* Investment Slider Section */
.investment-section {
    padding: 80px 0;
    /* Reduced */
    background-color: #f9f9f9;
}

/* Selection CTA Section (Refined) */
.selection-cta-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.cta-banner {
    width: 100%;
    background-color: #1F2E3E;
    border-radius: 20px;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

/* Огромная буква N на фоне */
.cta-banner::before {
    content: 'N';
    position: absolute;
    left: 40%;
    /* Смещаем влево, чтобы скрыть первую палочку N */
    top: 50%;
    transform: translate(-50%, -45%);
    font-size: 1050px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.025;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    clip-path: inset(0 0 0 30%);
    /* Отрезаем левую палочку, не двигая букву */
}

.cta-icon-wrapper,
.cta-content,
.cta-action {
    position: relative;
    z-index: 1;
}

.cta-icon-wrapper {
    position: relative;
    width: 180px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-3d-icon {
    width: 190px;
    /* Significally larger to match the image */
    height: auto;
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    /* Glass effect if needed, but JPG usually has it */
}

.cta-content {
    flex: 2;
    margin: 0 20px;
}

.cta-content h3 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

.cta-action {
    flex: none;
}

.cta-pill-btn {
    background-color: var(--white);
    color: var(--navy-blue);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-pill-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-pill-btn svg {
    transition: transform 0.3s ease;
}

.cta-pill-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
        gap: 30px;
    }

    .cta-icon-wrapper {
        margin: -70px auto 0;
        width: 100px;
        height: 100px;
    }

    .cta-3d-icon {
        position: static;
        transform: none;
        width: 120px;
    }

    .cta-content {
        margin: 0;
    }

    .cta-content h3 {
        text-align: center;
        font-size: 1.3rem;
    }

    .cta-pill-btn {
        width: 100%;
        justify-content: center;
    }
}


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

.section-header-split h2 {
    font-size: 40px;
    color: var(--navy-blue);
    line-height: 1.2;
    font-weight: 700;
}

.slider-controls {
    display: flex;
    gap: 15px;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    color: var(--navy-blue);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    border-color: var(--navy-blue);
    box-shadow: var(--shadow-sm);
}

.slider-arrow img,
.internal-arrow img {
    width: 24px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slider-arrow.prev-slide img,
.internal-arrow.prev-img img {
    transform: rotate(180deg);
}

.slider-arrow:hover img {
    filter: brightness(0) invert(1);
}

/* Investment Card Split Layout */
.investment-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: -25px;
}

.investment-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* Will depend on JS */
}

.investment-card {
    height: 550px;
    min-width: 100%;
    /* Show one at a time */
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-direction: row;
    /* Removed navy border */
    /* Split visual */
    /* Remove transition opacity logic */
}



/* Left Info Side */
.card-left-info {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-left-info h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--navy-blue);
    line-height: 1.3;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.card-left-info hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 5px 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--navy-blue);
    /* Changed to Navy */
    color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 8px;
    /* Room for SVG */
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-data {
    display: flex;
    flex-direction: column;
}

.info-data .label {
    font-size: 0.9rem;
    color: #888;
}

.info-data .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.income-blocks {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.income-box {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    /* Stacked for no-icon look */
    align-items: left;
    /* Centered */
    justify-content: center;
    gap: 5px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    /* Subtle shadow */
    transition: transform 0.3s ease;
}

.income-box:hover {
    transform: translateY(-3px);
}

.income-box.green {
    background: linear-gradient(180deg, #DEC36A, #A1845D) !important;
    color: var(--white) !important;
    border: none;
}

.income-box.white {
    background-color: var(--white);
    border: none !important;
    /* Completely removed border */
}

.income-box.green .income-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.income-box.white .income-icon {
    background: var(--navy-blue);
    /* Changed to Navy */
    color: var(--white);
}

.income-text {
    display: flex;
    flex-direction: column;
}

.income-text .amount {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.income-box.white .amount {
    color: var(--navy-blue);
    /* Changed to Navy */
}

.income-text .desc {
    font-size: 12px;
    opacity: 0.9;
}

.income-box.white .desc {
    color: #666;
}

/* Right Visual Side */
.card-right-visual {
    flex: 1.2;
    /* Slightly wider */
    position: relative;
    overflow: hidden;
}

.internal-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.internal-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.internal-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--navy-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-right-visual:hover .internal-arrow {
    opacity: 1;
}

.prev-img {
    left: 20px;
}

.next-img {
    right: 20px;
}

/* Responsive Investment Slider */
@media (max-width: 992px) {
    .investment-card {
        flex-direction: column-reverse;
    }

    .card-right-visual {
        flex: none;
        height: 300px;
    }

    .card-left-info {
        padding: 30px;
    }

    .income-blocks {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .section-header-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-header-split h2 {
        font-size: 1.8rem;
    }
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.adv-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    height: 100%;
}

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

.adv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.adv-card h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--navy-blue);
}

.adv-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.founder-quote {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-gold);
    font-style: italic;
}

.video-placeholder {
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.play-btn {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-top: 10px;
    font-size: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.stars {
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.review-card .author {
    margin-top: 15px;
    font-weight: 600;
    color: var(--navy-blue);
}

/* Career */
.vacancy-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--primary-gold);
}

/* Contacts */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    text-decoration: underline;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    color: var(--navy-blue);
}

.contact-form h3 {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}


/* Footer */
.footer {
    background-color: var(--navy-blue-dark);
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 20px;
    color: #ccc;
}

/* Responsive */

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(31, 46, 62, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align to top so it grows downwards */
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    /* Allow scrolling if menu is long */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile Dropdown Menu Refined */
.mobile-menu .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 5px !important;
    position: static;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s ease,
        margin 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    min-width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 12px;
    visibility: hidden;
}

.mobile-menu .dropdown-menu::before {
    display: none;
}

.mobile-menu .has-dropdown.active .dropdown-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.07);
}

.mobile-menu .has-dropdown.active .arrow-down {
    transform: rotate(180deg);
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: block;
}

.mobile-menu .dropdown-menu a {
    font-size: 1.15rem;
    /* Slightly larger */
    padding: 14px 20px !important;
    color: var(--white) !important;
    /* Force white over desktop !important */
    opacity: 0.85;
    /* Better visibility */
    font-weight: 400;
    text-align: center;
}

.mobile-menu .dropdown-menu a:hover {
    opacity: 1;
    color: var(--primary-gold) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding-left: 20px !important;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Hide default nav */
    }

    .mobile-toggle {
        display: flex;
    }

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

    .about-grid,
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .vacancy-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}

/* Advantages Section (Redesigned) */
.adv-header-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

.adv-header-group h2 {
    font-size: 40px;
    line-height: 1.1;
    color: var(--navy-blue);
    flex: 1;
    text-transform: uppercase;
}

.adv-main-desc {
    flex: 1;
    font-size: 18px;
    color: #666;
    max-width: 500px;
    margin-top: 10px;
}

/* Stats Grid */
.adv-stats-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.adv-stat-card {
    flex: 1;
    border: 1px solid var(--navy-blue);
    /* Changed to Navy border */
    border-radius: 20px;
    padding: 30px 25px;
    /* Уменьшили отступы */
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* Для водяных знаков */
    overflow: hidden;
}

/* Общие стили для букв в светлых карточках (massive N/V style) */
.adv-stat-card::before {
    content: '';
    position: absolute;
    font-size: 1000px;
    font-weight: 500;
    color: #1F2E3E;
    opacity: 0.02;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    clip-path: inset(0 0 0 30%);
    transition: all 0.3s ease;
}

.adv-stat-card:nth-child(1)::before {
    left: 20%;
    top: 20%;
    transform: translate(-50%, -45%);
}

.adv-stat-card:nth-child(2)::before {
    right: -10%;
    bottom: 50%;
    transform: translate(0, 0) rotate(5deg);
}

.adv-stat-card:nth-child(3)::before {
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    opacity: 0.015;
}

.stat-value,
.adv-stat-card h3,
.adv-stat-card p {
    position: relative;
    z-index: 1;
}

.adv-stat-card:hover::before {
    opacity: 0.05;
    transform: scale(1.05);
}

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

.stat-value {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--navy-blue);
    line-height: 1;
    margin-bottom: 10px;
    /* Уменьшили зазор */
}

.adv-stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    /* Уменьшили зазор */
    color: var(--black);
    font-weight: 600;
}

.adv-stat-card p {
    font-size: 15.2px;
    color: #666;
    line-height: 1.5;
}

/* Bottom Row */
.adv-bottom-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Removed duplicate .adv-dark-card styles */

/* Income Potential Section */
.income-comparison-wrapper {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
    border: 1px solid var(--navy-blue);
    /* Added border */
}

.income-headers {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-end;
    /* Align bottom */
}

.header-visual {
    width: 30%;
    position: relative;
    height: 200px;
    /* Increased from 120px */
}

.header-house-img {
    width: 280px;
    /* Increased from 140px */
    height: 180px;
    /* Increased from 100px */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-coin-icon {
    width: 80px;
    position: absolute;
    bottom: -15px;
    left: 200px;
    /* Adjusted from 100px */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.header-col {
    flex: 1;
    text-align: left;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
    /* Align visually */
}

.header-icon {
    font-size: 2.5rem;
}

.header-col h3 {
    font-size: 1.2rem;
    color: var(--black);
    line-height: 1.3;
    margin: 0;
}

.income-row {
    display: flex;
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

.income-row:hover {
    background-color: #f4f6f8;
}

.income-row.no-border {
    border-bottom: none;
}

.row-label {
    width: 30%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 600;
}

.badge {
    background: var(--navy-blue);
    /* Navy instead of Green */
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.row-content {
    flex: 1;
    display: flex;
}

.row-val {
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

.text-brand {
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Best Conditions Section (Repl. About) */
.conditions-section h2 {
    color: var(--navy-blue);
    /* Dark Text */
    font-size: 2.5rem;
    /* Standard 2.5rem */
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 700;
    /* Standard 700 */
    line-height: 1.2;
    text-align: left;
    padding-left: 0;
}

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

.condition-card {
    background-color: #1F2E3E;
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Белые буквы для темных карточек условий (massive N/V style) */
.condition-card::before {
    content: 'N';
    position: absolute;
    font-size: 1200px;
    font-weight: 300;
    color: #FFFFFF;
    opacity: 0.025;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    clip-path: inset(0 0 0 50%);
}

.condition-card:nth-child(1)::before {
    right: 0;
    top: -50%;
    transform: translateY(-45%);
}

.condition-card:nth-child(2)::before {
    left: 250px;
    top: 380px;
    transform: translateY(-50%);
    clip-path: inset(0 40% 0 0);
}

.condition-card:nth-child(3)::before {
    left: 26%;
    top: 400px;
    transform: translateY(-50%) scale(1.1);
    clip-path: inset(0 40% 0 0);
}

.condition-card:nth-child(4)::before {
    left: 0%;
    top: 20%;
    transform: translate(-50%, -50%);
}

.cond-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.condition-card:nth-child(1),
.condition-card:nth-child(2) {
    min-height: 270px;
}

.condition-card:nth-child(2) .cond-content p {
    max-width: 65%;
}

.condition-card:nth-child(4) .cond-content p {
    max-width: 90%;
}

.condition-card:nth-child(3) .cond-content p {
    max-width: 70%;
}

.cond-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.cond-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
}

.cond-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.cond-icon {
    position: absolute;
    bottom: -15px;
    right: -10px;
    width: 220px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.cond-icon-free {
    width: 220px;
    bottom: 10px;
    right: 10px;
}

.cond-icon-house {
    width: 300px;
    bottom: 0;
    right: 0;
}

.cond-icon-star {
    width: 200px;
    bottom: -10px;
    right: -10px;
}

.cond-icon-key {
    width: 120px;
    bottom: 10px;
    right: 0;
}

.span-5 {
    grid-column: span 5;
}

.span-7 {
    grid-column: span 7;
}

.card-bottom p,
.card-content-side p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}


/* Phone Mockup Styling */
.card-visual-side-phone {
    width: 45%;
    height: 140%;
    /* Overflow for dramatic effect */
    position: relative;
    margin-right: -35px;
    margin-bottom: -60px;
    /* Push down */
    transform: rotate(-10deg) translateY(20px);
}

.phone-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(-10px 10px 20px rgba(0, 0, 0, 0.5));
}

.mobile-break {
    display: none;
}

@media (max-width: 900px) {

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

    .span-5,
    .span-7 {
        grid-column: span 1;
    }

    .card-visual-building,
    .card-visual-phone {
        flex-direction: column;
        padding-right: 35px;
    }

    .card-visual-side,
    .card-visual-side-phone {
        width: 100%;
        height: 200px;
        margin: 20px 0 -35px 0;
        border-radius: 0;
    }

    .card-visual-side-phone {
        transform: none;
        height: 250px;
    }



    /* Mobile Income Styles */
    .income-headers {
        display: none;
        /* Hide headers only on mobile */
    }

    .income-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .row-label {
        width: 100%;
        margin-bottom: 10px;
    }

    .row-content {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .row-val {
        padding: 0;
        position: relative;
    }

    .row-val::before {
        content: "•";
        color: var(--navy-blue);
        margin-right: 10px;
    }
}

.adv-dark-card {
    flex: 1;
    background: #1F2E3E;
    border-radius: 24px;
    padding: 30px 40px;
    /* Сделали чуть компактнее по вертикали */
    min-height: 370px;
    /* Уменьшили высоту */
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Огромная буква N/V на фоне карточки */
.adv-dark-card::before {
    content: 'N';
    position: absolute;
    left: 25%;
    top: 20%;
    transform: translate(-50%, -45%);
    font-size: 1000px;
    font-weight: 500;
    color: #FFFFFF;
    opacity: 0.025;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    clip-path: inset(0 0 0 30%);
}

.dark-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dark-tag {
    display: inline-block;
    width: fit-content;
    /* Обводка только вокруг текста */
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.adv-dark-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.adv-dark-card p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 15.2px;
}

.floating-icon {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 170px;
    height: auto;
    z-index: 1;
}

.adv-visual-block {
    flex: 1.5;
    /* Visual takes more space */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 370px;
    /* Привели высоту к одному стандарту */
}

.adv-visual-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.3) saturate(0.6);
}

.adv-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 14px 28px;
    background: linear-gradient(180deg, #DEC36A, #A1845D);
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.3s ease;
}

.adv-btn:hover {
    background: linear-gradient(180deg, #e3cd83, #ae926a);
    transform: translateY(-2px);
    color: var(--white);
}

.adv-btn svg {
    transition: transform 0.3s ease;
}

.adv-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive for Advantages */
@media (max-width: 992px) {
    .adv-header-group {
        flex-direction: column;
        gap: 20px;
    }

    .adv-header-group h2 {
        font-size: 2rem;
    }

    .adv-stats-grid {
        flex-direction: column;
    }

    .adv-bottom-row {
        flex-direction: column;
    }

    /* Fix 1: Center Non-CRS Content */
    .adv-dark-card {
        text-align: center;
        align-items: center;
    }

    .adv-dark-card p {
        max-width: 100%;
    }

    /* Fix 2: Force Image to Fill Height & Layer Button */
    .adv-visual-block {
        height: 450px !important;
        /* Fixed desired height */
        position: relative !important;
        display: block !important;
        border-radius: 20px;
        overflow: hidden;
    }

    .adv-visual-block img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .adv-btn {
        position: absolute !important;
        bottom: 30px !important;
        left: 30px !important;
        z-index: 10 !important;
        margin: 0 !important;
        /* Reset any margins */
    }

    /* Control mobile line break */
    .mobile-break {
        display: block;
    }

    /* Fix 3: Reduce Income Wrapper Padding */
    .income-comparison-wrapper {
        padding: 30px 20px;
    }
}

/* Team Section */
.team-section {
    background-color: #1F2E3E;
    padding: 50px 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: 'N';
    position: absolute;
    font-size: 3000px;
    font-weight: 200;
    color: #FFFFFF;
    opacity: 0.04;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    clip-path: inset(0 0 0 45%);
    right: 5px;
    top: -1500px;
    transform: translateY(0);
}

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

.team-section h2 {
    color: #FFFFFF !important;
    font-size: 40px;
    font-weight: 800;
}

.team-container {
    width: 100%;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.team-featured-row {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.featured-img-frame {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-tag {
    display: inline-block;
    background: #FFFFFF;
    color: #1F2E3E;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    width: fit-content;
}

.featured-details h3 {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-desc-wrap p {
    font-size: 17px;
    line-height: 140%;
    color: #FFFFFF;
    width: 100%;
    font-weight: 400;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-12px);
    border-color: #DEC36A;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 0.85;
    /* Shorter height for more compact look */
    overflow: hidden;
}

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

.team-info {
    padding: 15px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 0;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.team-info .role {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.7;
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .team-featured-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .featured-img-frame {
        flex: 0 0 400px;
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

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

    .featured-desc-wrap p {
        margin: 0 auto;
    }
}


/* Reviews Section (Carousel) */
.reviews-section {
    padding: 80px 0;
    background-color: #F9F9F9;
    /* Updated background color */
    overflow: hidden;
}

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

.reviews-section .section-header h2 {
    color: #1F2E3E !important;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    /* To handle the edge fading if needed */
}

.reviews-track {
    display: flex;
    width: calc(280px * 12 + 30px * 12);
    /* width of card * num of cards + gap * num of cards */
    animation: scrollCarousel 40s linear infinite;
    gap: 30px;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 6 - 30px * 6));
    }
}

.review-slide {
    flex: 0 0 280px;
    text-align: center;
}

.video-card {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}

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

.video-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 56px;
    z-index: 2;
    transition: transform 0.3s ease;
    background: transparent !important;
    border-radius: 0 !important;
    display: block !important;
    padding: 0 !important;
}

.video-card .play-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.review-meta h3 {
    font-size: 22px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 4px;
}

.review-meta p {
    font-size: 16px;
    color: #212529;
    margin: 0;
}

/* Checklist Section */
.checklist-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    overflow: hidden;
}

.checklist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.checklist-section .section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #1F2E3E !important;
    text-transform: uppercase;
}

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

/* Checklist Cards Preview (Stacked) */
.checklist-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checklist-card-preview {
    position: absolute;
    width: 340px;
    height: 450px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 9.1px 9.1px 22.63px rgba(31, 46, 62, 0.15);
    /* Точные параметры из Figma */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.checklist-card-preview.back {
    transform: translate(20px, 20px);
    z-index: 1;
    opacity: 1;
}

.checklist-card-preview.front {
    z-index: 2;
    background: #FFFFFF;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(-25px);
    /* Смещение влево */
}

.card-bg-city {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-image: url('https://cdn.jsdelivr.net/gh/BazaNova-RE/sitepictures@main/grey_city.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    opacity: 0.85;
    z-index: 0;
}

.card-content-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.card-logo {
    width: 80px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: #1F2E3E;
    line-height: 1.1;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.card-title span {
    color: #C19A5B;
    display: block;
}

.card-flag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Checklist Form */
.checklist-form-wrap h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1F2E3E;
    margin-bottom: 12px;
}

.checklist-form-wrap p {
    font-size: 16px;
    color: #767676;
    margin-bottom: 30px;
    line-height: 1.5;
}

.checklist-form .form-group {
    margin-bottom: 15px;
}

.checklist-form input[type="text"],
.checklist-form input[type="tel"],
.checklist-form input[type="email"] {
    width: 100%;
    padding: 16px 25px;
    border: 1px solid #E1E1E1;
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.checklist-form input::placeholder {
    color: #1F2E3E;
}

.checklist-form input:focus {
    border-color: #C19A5B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.1);
}

.form-legal {
    display: flex;
    align-items: center;
    /* Центрирование чекбокса */
    gap: 12px;
    margin: 20px 0 30px;
}

.form-legal input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 26px;
    /* Большой квадрат */
    height: 26px;
    border: 2px solid #1F2E3E;
    border-radius: 6px;
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.form-legal input[type="checkbox"]:checked {
    background-color: #1F2E3E;
}

/* Кастомная маленькая галочка */
.form-legal input[type="checkbox"]::after {
    content: '';
    width: 12px;
    height: 7px;
    border-bottom: 2.5px solid #FFFFFF;
    border-left: 2.5px solid #FFFFFF;
    transform: rotate(-45deg);
    margin-top: -3px;
    /* Компенсация для центрирования после поворота */
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-legal input[type="checkbox"]:checked::after {
    opacity: 1;
}

.form-legal label {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

.form-legal a {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    text-decoration: underline;
}

.btn-get-checklist {
    width: 100%;
    background-color: #1F2E3E;
    color: #FFFFFF;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-get-checklist:hover {
    background-color: #2A3C4E;
}

/* Responsive */
@media (max-width: 992px) {
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .checklist-visual {
        height: 480px;
        order: 2;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .team-img-wrapper {
        height: 350px;
    }
}


/* Blog Section */

/* Main Footer */
.footer {
    background-color: var(--navy-blue-dark);
    color: var(--white);
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

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

/* Footer Column 1: Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-width: 180px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 300px;
}

/* Footer Headers */
.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Links */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

/* Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item span {
    font-size: 1.2rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Socials */
.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* About Page Specific Styles */
.about-page {
    padding-top: 0;
}

.about-hero {
    position: relative;
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover img {
    opacity: 0.8;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    color: var(--white);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.video-wrapper:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-gold-dark);
}

.about-description {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.desc-text h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.desc-text p {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 20px;
}

.desc-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* FAQ & Contact Section Modern Styles */
.faq-contact-section {
    padding: 70px 0;
    background-color: var(--bg-light);
}

.faq-contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: stretch;
}

.contact-panel {
    background-color: var(--navy-blue-dark);
    /* Using brand navy-blue-dark */
    padding: 45px;
    border-radius: 40px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.faq-panel {
    background-color: var(--white);
    padding: 45px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-panel .panel-badge {
    background: rgba(255, 255, 255, 0.08);
}

.faq-panel .panel-badge {
    background: #f5f5f5;
    color: var(--text-grey);
}

.faq-contact-wrapper h3 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 11px;
    font-weight: 700;
}

.panel-desc {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Form Styles */
.contact-form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form-modern input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-modern input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method p {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.method-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.method-item input {
    display: none;
}

.method-btn {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-item input:checked+.method-btn {
    background: var(--white);
    color: var(--navy-blue);
    border-color: var(--white);
}

.submit-btn-large {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none;
    margin-bottom: 20px;
    background-color: var(--primary-gold);
    color: var(--white);
    border: none;
}

.submit-btn-large:hover {
    background-color: var(--primary-gold-dark);
    transform: translateY(-2px);
}

.legal-text {
    font-size: 0.8rem;
    opacity: 0.5;
    line-height: 1.5;
}

.legal-text a {
    color: var(--white);
    text-decoration: underline;
}

.or-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    opacity: 0.3;
}

.or-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--white);
    z-index: 1;
}

.or-divider span {
    position: relative;
    z-index: 2;
    background: var(--navy-blue-dark);
    padding: 0 15px;
    font-size: 0.9rem;
}

/* Advisor Card */
.advisor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.advisor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.advisor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.advisor-meta {
    display: flex;
    flex-direction: column;
}

.advisor-name {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    text-transform: none;
}

.advisor-role {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: none;
}

.telegram-btn {
    background: #5475ff;
    color: var(--white);
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: none;
    white-space: nowrap;
}

.telegram-btn:hover {
    background: #4060ff;
    transform: translateY(-2px);
}

/* FAQ Accordion Styles */
.accordion {
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-blue);
    transition: color 0.3s ease;
}

.accordion-item:hover .accordion-header {
    color: var(--primary-gold);
}

.accordion-header .plus {
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.accordion-item.active .plus {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.accordion-content p {
    padding-bottom: 15px;
    color: var(--text-grey);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .faq-contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desc-image {
        display: none;
    }

    .desc-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .contact-panel,
    .faq-panel {
        padding: 40px 25px;
    }

    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
    }

    .advisor-card {
        flex-direction: column;
        text-align: center;
    }

    .faq-contact-wrapper h3 {
        font-size: 1.8rem;
    }
}

/* --- TELEGRAM BANNER SECTION --- */
.telegram-banner-section.full-width-tg {
    padding: 160px 0 40px 0 !important;
    background-color: var(--navy-blue) !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible;
    /* Changed from hidden to allow pop-out building */
    position: relative;
    border: none !important;
}

.tg-banner-wrapper {
    position: relative;
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 0 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    overflow: visible;
    /* Added to keep images inside the rounded box */
}

/* Decorative Images */
.tg-img {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.tg-person-overlay-wrap {
    position: absolute;
    bottom: 0px;
    left: -20px;
    height: 317px;
    width: auto;
    z-index: 1;
}

/* Накладываем синий фильтр только на персонажа через маску */
.tg-person-overlay-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 100, 255, 0.3);
    /* Твой цвет из запроса */
    mix-blend-mode: soft-light;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: url('https://raw.githubusercontent.com/BazaNova-RE/sitepictures/main/tg1.png');
    mask-image: url('https://raw.githubusercontent.com/BazaNova-RE/sitepictures/main/tg1.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.tg-img-person {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: saturate(1) contrast(1);
    position: relative;
    z-index: 1;
}

.tg-img-plane {
    top: -70px;
    left: 15%;
    width: 52px;
    height: auto;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
    filter: brightness(0.85) contrast(1.1);
}

.tg-img-building {
    bottom: 0px;
    right: -40px;
    height: 220px;
    /* Increased to pop out more */
    width: auto;
    object-fit: contain;
    z-index: 1;
    transform: scaleX(-1);
    /* Clip-path: inset(top right bottom left).
       Mirrored: Visual RIGHT is original LEFT.
       We clip 40px from visual right (orig left).
       Allow -200px at the top for pop-out. */
    clip-path: inset(-200px 0px 0px 40px);
}

/* Container for content */
.tg-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    /* Сдвигаем всё влево к тексту */
    align-items: center;
    gap: 140px;
    /* Увеличенный отступ, чтобы кнопка не жалась к тексту */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 180px 30px 220px;
    /* Adjusted to keep it safe from images */
}

.tg-content {
    text-align: left;
}

.tg-content h2 {
    font-size: 20px !important;
    color: var(--white) !important;
    margin-bottom: 5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.tg-blue-text {
    color: #2481cc !important;
}

.tg-content p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
    margin: 0 !important;
    text-transform: none !important;
}

.tg-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tg-social-proof {
    height: 15px;
    /* Shrunk for button fit */
    width: auto;
    object-fit: contain;
}

.tg-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background-color: #2481cc !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    font-size: 12px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.tg-btn:hover {
    background-color: #1c66a3 !important;
}

.tg-icon-left {
    stroke: #ffffff !important;
    width: 20px;
    height: 20px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .tg-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .tg-content {
        text-align: center;
    }

    .tg-img-person {
        left: -10%;
        opacity: 0.3;
    }

    .tg-img-building {
        right: -10%;
        opacity: 0.3;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE ADAPTATION
   Max-width: 768px (tablets & large phones)
   Max-width: 480px (phones)
   ============================================ */

@media (max-width: 768px) {

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

    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        overflow-x: hidden;
    }

    h2,
    .section-header h2 {
        font-size: 1.8rem !important;
    }

    /* --- Header --- */
    header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo img {
        height: 32px;
    }

    .main-nav {
        display: none;
    }

    .consultation-btn {
        display: none;
    }

    /* Показываем кнопку консультации внутри мобильного меню */
    .mobile-menu .consultation-btn {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
        padding: 12px 24px;
    }

    .lang-dropdown {
        display: none;
    }

    /* --- Hero Section --- */
    .hero-section {
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 50px;
        padding-bottom: 30px;
        position: relative;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
        letter-spacing: -0.5px;
        text-align: center !important;
        line-height: 1.2 !important;
        margin-top: 20px;
    }

    .hero-content h1 .line-1 {
        padding-top: 0 !important;
        margin-bottom: 5px;
    }

    .hero-content h1 .line-1,
    .hero-content h1 .line-2 {
        text-align: center !important;
        display: block;
    }

    .hero-big-text {
        font-size: 110px !important;
        position: relative !important;
        top: 0 !important;
        margin: 0 auto 5px auto !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 0.9 !important;
        opacity: 0.25 !important;
        color: rgba(255, 255, 255, 1) !important;
        z-index: 1 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .hero-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .feature-rows {
        margin-top: 30px;
    }

    .feature-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
        padding: 20px 0 !important;
        text-align: left !important;
    }

    .feature-icon {
        flex-shrink: 0 !important;
        grid-column: auto !important;
    }

    .feature-desc {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }

    .adv-header-group {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* --- Advantages Stats Grid --- */
    .adv-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .adv-stat-card {
        padding: 30px 24px;
    }

    .stat-value {
        font-size: 2.5rem !important;
    }

    .adv-bottom-row {
        grid-template-columns: 1fr !important;
        flex-direction: column;
    }

    .adv-dark-card {
        min-height: unset;
        padding-bottom: 90px !important;
        position: relative;
        text-align: center !important;
    }

    .dark-tag {
        margin: 0 auto 30px auto !important;
    }

    .floating-icon {
        width: 90px !important;
        right: -5px !important;
        bottom: -5px !important;
    }

    .adv-visual-block {
        min-height: 250px;
    }

    .adv-btn {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 20px !important;
        white-space: nowrap;
    }

    /* --- Selection CTA Banner --- */
    .cta-banner {
        flex-direction: column;
        padding: 40px 24px !important;
        text-align: center;
        gap: 20px;
        margin: 0 16px !important;
        width: auto !important;
        border-radius: 16px !important;
    }

    .cta-icon-wrapper {
        margin: 0 auto;
        width: auto !important;
        height: auto !important;
    }

    .cta-3d-icon {
        width: 70px !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
    }

    .cta-content {
        margin: 0 !important;
    }

    .cta-content h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
    }

    .cta-action {
        width: 100%;
    }

    .cta-pill-btn {
        width: 100%;
        justify-content: center !important;
        padding: 14px 20px !important;
    }

    /* --- Complexes / Projects Grid --- */
    .complexes-grid {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        overflow-x: hidden;
    }

    .card-span-4,
    .card-span-6,
    .card-span-8 {
        height: 280px !important;
        width: 100% !important;
    }

    .complex-more-link {
        height: 80px !important;
        width: 100% !important;
    }

    /* --- Investment Cards --- */
    .investment-card {
        flex-direction: column-reverse !important;
        height: auto !important;
        border-radius: 16px;
        overflow: hidden;
    }

    .card-right-visual {
        height: 220px;
        flex: none;
    }

    .card-left-info {
        padding: 24px 20px;
    }

    .card-left-info h3 {
        font-size: 1.4rem;
        margin-bottom: 20px !important;
    }

    .info-row {
        margin-bottom: 15px !important;
    }

    .income-blocks {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px !important;
    }

    .income-box {
        padding: 16px !important;
        border-radius: 12px !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .income-box.white {
        border: 1px solid #eee !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    }

    .income-text .amount {
        font-size: 1.25rem !important;
        text-align: center !important;
    }

    .income-text {
        align-items: center !important;
    }

    /* --- Team Section --- */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .team-card {
        min-height: 220px;
    }

    .team-card-info {
        padding: 12px;
    }

    .team-card-info h4 {
        font-size: 0.85rem;
    }

    .team-card-info p {
        font-size: 0.75rem;
    }

    /* --- Conditions Section --- */
    .conditions-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .condition-card {
        padding: 30px 20px !important;
        min-height: unset !important;
        padding-bottom: 100px !important;
    }

    .cond-content {
        max-width: 100% !important;
    }

    .cond-content h3 {
        font-size: 1.5rem !important;
    }

    .cond-icon {
        width: 130px !important;
        bottom: 0 !important;
        right: 0 !important;
    }

    .cond-icon-house {
        width: 160px !important;
    }

    .cond-icon-star {
        width: 120px !important;
    }

    .conditions-highlight {
        flex-direction: column;
        gap: 20px;
    }

    /* --- Checklist Section --- */
    .checklist-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .checklist-visual {
        order: -1 !important;
        height: 400px !important;
        margin-bottom: 20px !important;
    }

    .checklist-card-preview {
        width: 270px !important;
        height: 360px !important;
    }

    .checklist-card-preview.front {
        transform: translateX(-15px) !important;
    }

    .checklist-card-preview.back {
        transform: translate(15px, 15px) !important;
    }

    .card-title {
        font-size: 20px !important;
    }

    .card-logo {
        width: 60px !important;
    }

    .checklist-form-wrap {
        text-align: left !important;
    }

    .checklist-form-wrap h3,
    .checklist-form-wrap p {
        text-align: left !important;
    }

    .checklist-form-wrap h3 {
        font-size: 1.8rem !important;
    }

    /* --- Blog Section --- */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-card-featured {
        grid-column: span 1 !important;
        min-height: 280px;
    }

    /* --- Contact / FAQ (About page) --- */
    .faq-contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .contact-panel,
    .faq-panel {
        padding: 30px 20px;
    }

    /* --- Telegram Banner --- */
    .telegram-banner-section.full-width-tg {
        padding: 60px 0 30px 0 !important;
    }

    .tg-banner-wrapper {
        border-radius: 16px !important;
        margin: 0 16px !important;
        width: auto !important;
    }

    .tg-container {
        flex-direction: column !important;
        text-align: center !important;
        padding: 35px 20px !important;
        gap: 15px !important;
    }

    .tg-content h2 {
        font-size: 1.3rem !important;
    }

    .tg-content p {
        font-size: 0.9rem !important;
    }

    .tg-img-plane {
        top: -35px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 40px !important;
    }

    .tg-person-overlay-wrap,
    .tg-img-building {
        display: none;
    }

    /* --- Footer --- */
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ---- Very small phones (≤480px) ---- */
@media (max-width: 480px) {

    h2,
    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .hero-content h1 {
        font-size: 1.7rem !important;
    }

    .stat-value {
        font-size: 2rem !important;
    }

    /* Team: single column on tiny screens */
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer: stack all columns */
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .footer-brand {
        grid-column: span 1;
    }

    /* Advantages header */
    .adv-header-group h2 {
        font-size: 1.5rem !important;
    }

    /* Section header split */
    .section-header-split {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .slider-controls {
        justify-content: center;
    }

    .section-header-split h2 {
        font-size: 1.5rem !important;
    }

    /* CTA banner */
    .cta-content h3 {
        font-size: 1.15rem !important;
    }

    /* About hero video */
    .video-wrapper {
        border-radius: 14px;
    }

    /* FAQ form */
    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
    }
}