:root {
    --primary-green: #10a35d; /* Цвет зеленого блока */
    --text-black: #333333;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-black);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header --- */
.header {
    padding: 20px 0;
    background-color: var(--bg-white);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.logo-subtitle {
    letter-spacing: 2px;
    font-size: 12px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    margin-top: 2px;
}

.header__divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
    margin: 0 5px;
}

.header__tagline {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.3;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__menu a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.header__menu a:hover {
    color: var(--primary-green);
}

.header__callback {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px dashed var(--primary-green);
}

/* --- Hero Section --- */
.hero {
    padding: 40px 0 ;
}

.hero__title {
    text-align: center;
    color: var(--primary-green);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero__subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.text-underline {
    text-decoration: underline;
    font-weight: 700;
}

/* Hero Card */
.hero__card {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 450px;
}

/* Left Side (Green) */
.hero__info {
    background-color: var(--primary-green);
    color: #fff;
    width: 40%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__info-title {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero__list {
    list-style: none;
    margin-bottom: 40px;
}

.hero__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.4;
}

/* Кастомная галочка для списка */
.hero__list li::before {
    content: '✔'; 
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.text-bold {
    font-weight: 700;
}

.btn {
    border: none;
    cursor: pointer;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-white {
    background-color: #fff;
    color: #000;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

/* Right Side (Image) */
.hero__image {
    width: 60%;
    position: relative;
    background-color: #f0f0f0; /* На случай если картинка не загрузится */
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-logo-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.9;
}
/* --- Features Section --- */
.features {
    padding: 60px 0 100px;
    background-color: var(--bg-white);
}

.features__title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--text-black);
}

.text-green {
    color: var(--primary-green);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки одинаковой ширины */
    gap: 20px;
}

/* Feature Card Styles */
.feature-card {
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 400px; /* Фиксируем минимальную высоту для ровности */
}

/* Modifier: Light Card */
.feature-card--light {
    background-color: #f2f5f9; /* Светло-серый/голубой фон */
    color: var(--text-black);
}

/* Modifier: Green Card */
.feature-card--green {
    background-color: var(--primary-green);
    color: #ffffff;
}

/* Icon Styles */
.feature-card__icon-wrapper {
    align-self: flex-end; /* Прижимаем вправо */
    background-color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-card__icon-wrapper img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* Если используешь SVG, можно добавить opacity или filter */
}

.feature-card__title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
    min-height: 52px; /* Чтобы заголовки выравнивались, даже если строки разные */
}

.feature-card__list {
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
}

.feature-card__list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
}

/* Точки списка */
.feature-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 1;
}

/* Цвет точек для светлой карточки */
.feature-card--light .feature-card__list li::before {
    color: var(--text-black);
}

/* Цвет точек для зеленой карточки */
.feature-card--green .feature-card__list li::before {
    color: #fff;
}

/* Адаптив для мобильных устройств */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
}

@media (max-width: 600px) {
    .features__grid {
        grid-template-columns: 1fr; /* 1 колонка на телефоне */
    }
    
    .features__title {
        font-size: 24px;
    }

    .feature-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .feature-card__title {
        font-size: 20px;
        min-height: auto;
        margin-bottom: 15px;
    }
    
    .feature-card__icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
}
/* --- Steps Section --- */
.steps {
    padding: 5px 0;
    background-color: #ffffff; /* Или #f9f9f9, если фон чуть отличается */
}

.steps__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-black);
}

/* Grid Layout */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Base Card Styles */
.step-card {
    background-color: #f4f8fb; /* Светло-голубой/серый фон */
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 400px; /* Чтобы карточки были одной высоты */
}

.step-card__tag {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.step-card__title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-black);
}

.step-card__desc {
    font-size: 16px;
    color: #7d8b98; /* Цвет серого текста описания */
    line-height: 1.5;
    margin-bottom: auto; /* Толкает контент снизу (кнопку) вниз */
}

/* Button inside card */
.btn-green {
    background-color: var(--primary-green);
    color: #fff;
    margin-top: 30px;
    font-size: 15px;
    padding: 25px 20px;
    width: 100%;
}

.btn-green:hover {
    background-color: #0e8c50; /* Чуть темнее при наведении */
}

/* Modifier: Result Card (The Green One) */
.step-card--result {
    background-color: var(--primary-green);
    color: #fff;
    justify-content: center; /* Центрируем контент по вертикали */
}

.step-card__icon {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    
}

.step-card__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* Если используешь SVG иконку галочки, можно настроить цвет через filter */
}

.step-card__result-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 1024px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
}

@media (max-width: 600px) {
    .steps__grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильном */
    }
    
    .steps__title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .step-card {
        min-height: auto;
        padding: 25px 20px;
    }
    
    .step-card__title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .btn-green {
        margin-top: 20px;
        padding: 15px;
    }
}
/* --- Contract & Form Section --- */
.contract-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

/* Info Part (Top) */
.contract-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.contract-info {
    max-width: 600px;
    /* margin-bottom removed as wrapper handles spacing */
}

.contract-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contract-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Mobile Adaptation for Contract Section */
@media (max-width: 992px) {
    .contract-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contract-info {
        max-width: 100%;
    }

    .contract-image {
        width: 100%;
    }
    
    .contract-image img {
        width: 100%;
        max-height: 300px; /* Limit height on mobile */
    }
}


.contract-info__title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contract-info__subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 40px;
}

.contract-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-bottom: 30px;
}

.contract-info__item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f0f0f0;
    color: #ccc;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    margin-right: 15px;
}

.contract-info__guarantee {
    font-size: 15px;
    line-height: 1.6;
}

/* --- Dark Callback Block (New Design) --- */
.callback-block {
    background-color: #1d1d1d; /* Темный фон */
    border-radius: 30px;
    padding: 0; /* Паддинги зададим внутри элементов */
    display: flex; /* Flexbox для расположения картинки и формы рядом */
    overflow: hidden; /* Чтобы картинка не вылезала за скругления */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: #fff;
}

/* Left Side: Image */
.callback-block__image {
    width: 70%;
    position: relative;
    background-color: #252525; /* Чуть светлее фон под картинкой */
    display: flex;
    align-items: flex-end; /* Картинка прижата к низу */
    justify-content: center;
}

.callback-block__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    
}

/* Right Side: Form Content */
.callback-block__form-wrapper {
    width: 60%;
    padding: 50px 60px;
}

.callback-block__title {
    font-size: 32px;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Form Styles */
.callback-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки для полей */
    gap: 25px 30px; /* Отступы между полями */
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 10px;
    padding-left: 20px;
}

.form-input {
    width: 100%;
    height: 55px; /* Высокие поля */
    padding: 0 25px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    outline: none;
    font-family: var(--font-main);
}

.form-input:focus {
    box-shadow: 0 0 0 2px var(--primary-green);
}

/* Phone Special */
.phone-input-wrapper {
    position: relative;
}

.phone-flag {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    z-index: 2;
}



/* Button */
.callback-form__btn {
    width: 100%;
    padding: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Checkbox */
.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    accent-color: var(--primary-green); /* Цвет галочки */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 12px;
    color: #888;
    cursor: pointer;
}

/* --- Responsive (Mobile Adaptation) --- */
@media (max-width: 1024px) {
    .callback-block {
        flex-direction: column; /* Элементы друг под другом */
    }
    
    .callback-block__image, 
    .callback-block__form-wrapper {
        width: 100%;
    }

    .callback-block__form-wrapper {
        order: 1; /* Форма сверху */
        padding: 40px 20px;
    }
    
    .callback-block__image {
        order: 2; /* Картинка снизу */
        height: 300px; /* Фикс высота для картинки на мобильном */
        align-items: flex-end;
    }
    
    .callback-block__image img {
        margin-bottom: 0;
        width: 100%;
    }

    .contract-info__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .callback-form__grid {
        grid-template-columns: 1fr; /* Одна колонка полей на телефоне */
        gap: 20px;
    }

    .callback-block__title {
        font-size: 24px;
    }
    
    .form-input {
        height: 50px;
    }
}
/* --- Team Section --- */
.team {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.team__label-mobile {
    display: none; /* Скрыто на ПК */
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.team__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.3;
    max-width: 900px;
}

/* Mobile Hint */
.mobile-swipe-hint {
    display: none; /* Скрыто на ПК */
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Team Grid Layout */
.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    gap: 30px;
}

/* Individual Card */
.team-card {
    display: flex;
    flex-direction: column;
}

.team-card__image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.team-card__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4; /* Соотношение сторон фото */
}

.team-card__name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card__role {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.team-card__exp {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-black);
}

.team-card__quote {
    font-size: 13px;
    color: #777;
    font-style: italic;
    line-height: 1.4;
    margin-top: auto; /* Прижимаем цитату к низу, если высота разная */
}

/* Navigation Buttons */
.team__nav {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}

/* --- Mobile Adaptation (Carousel) --- */
@media (max-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
}

@media (max-width: 768px) {
    .team__label-mobile {
        display: block;
    }

    .team__title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .mobile-swipe-hint {
        display: flex;
    }
    
    .team__nav {
        display: none; /* Прячем стрелки на телефоне, там свайп */
    }

    /* Превращаем Grid в Flex-слайдер */
    .team__grid {
        display: flex;
        overflow-x: auto; /* Горизонтальная прокрутка */
        gap: 20px;
        padding-bottom: 20px; /* Место для скроллбара, если виден */
        scroll-snap-type: x mandatory; /* Доводка скролла */
        -webkit-overflow-scrolling: touch; /* Плавность на iOS */
    }

    .team-card {
        min-width: 280px; /* Минимальная ширина карточки на телефоне */
        scroll-snap-align: start; /* Карточка прилипает к началу */
    }
    
    .team-card__image img {
        height: 350px; /* Фиксированная высота фото на мобильном */
        object-fit: cover;
    }
}
/* --- Burger Menu & Mobile Adaptation --- */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--text-black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 992px) {
    .header__tagline, 
    .header__divider {
        display: none;
    }
    
    .header__callback {
        display: none; /* �������� ������ ������ � ����� �� ���������, ����� �� ������ */
    }

    .burger-menu {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        padding-top: 80px; /* ������ ������ ��� �������� ���� */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        justify-content: center;
    }

    .header__nav.open {
        transform: translateX(0);
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        font-size: 20px;
    }
    
    .header__menu a {
        font-size: 18px;
    }
}
/* --- Care Section --- */
.care {
    padding: 10px 0;
    background-color: var(--bg-white);
}

.care__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.3;
    max-width: 900px;
    color: var(--text-black);
}

.care__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на ПК */
    column-gap: 60px; /* Большой отступ между колонками */
    row-gap: 40px; /* Отступ между строками */
}

/* Individual Item */
.care-item {
    display: flex;
    flex-direction: column;
}

.care-item__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.care-item__icon {
    width: 28px;
    height: 28px;
    background-color: #00c421; /* Синий цвет как на скрине */
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0; /* Чтобы иконка не сжималась */
}

.care-item__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-black);
}

.care-item__desc {
    font-size: 15px;
    color: #888; /* Серый текст описания */
    line-height: 1.5;
    padding-left: 43px; /* Отступ слева, чтобы текст был ровно под заголовком (28px иконка + 15px gap) */
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .care__grid {
        grid-template-columns: 1fr; /* 1 колонка на телефоне */
        gap: 30px;
    }

    .care__title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .care-item__title {
        font-size: 18px;
    }

    .care-item__desc {
        padding-left: 0; /* На мобильном убираем отступ, чтобы текст шел на всю ширину */
    }
}
/* --- Final CTA Section --- */
.final-cta {
    padding: 70px 0px 0px 0;
    background-color: #fcfcfc; /* Очень светлый фон, почти белый */
}

.final-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 равные колонки */
    gap: 40px;
    align-items: start;
}

/* Left Column */
.final-cta__question {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.final-cta__title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 40px;
    font-weight: 700;
}

.final-cta__subtitle {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

.final-cta__list {
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.final-cta__list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.final-cta__list li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Center Column: Light Form */
.final-cta__form-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.light-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.light-form__group {
    display: flex;
    flex-direction: column;
}

.light-form__label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    padding-left: 20px;
}

.light-form__input {
    width: 100%;
    height: 50px;
    background-color: #f2f3f5; /* Светло-серый фон полей */
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0 25px;
    font-size: 15px;
    outline: none;
    transition: border 0.3s;
}

.light-form__input:focus {
    border-color: var(--primary-green);
    background-color: #fff;
}

.light-form__input--phone {
    
}

.light-form__btn {
    margin-top: 10px;
    width: 100%;
    padding: 18px;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(16, 163, 93, 0.2); /* Тень для кнопки */
}

/* Right Column: Person */
.final-cta__person {
    position: relative;
    padding-top: 20px;
}

.person-quote {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    font-style: italic;
}

/* Декоративная кавычка (опционально) */
.person-quote::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-green);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.person-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.person-role {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    margin-bottom: 20px;
}

.person-image-wrapper {
    margin-top: 20px;
}

.person-image-wrapper img {
    width: 100%;
    max-width: 300px; /* Ограничим ширину фото */
    height: auto;
    display: block;
    border-radius: 20px; /* Скругление углов фото */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .final-cta__grid {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
    }
    
    .final-cta__person {
        grid-column: span 2; /* Фото растягивается или уходит вниз */
        display: flex;
        gap: 30px;
        align-items: center;
    }
    
    .person-image-wrapper {
        margin-top: 0;
        width: 200px;
    }
}

@media (max-width: 768px) {
    .final-cta__grid {
        display: flex;
        flex-direction: column; /* Одна колонка вертикально */
        gap: 50px;
    }

    .final-cta__person {
        flex-direction: column;
        align-items: flex-start;
    }

    .person-image-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .person-image-wrapper img {
        max-width: 100%;
        width: 100%;
    }

    .final-cta__title {
        font-size: 26px;
    }
}
/* --- Tabs Section --- */
.tabs-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid #eee; /* Линия снизу, если нужно */
}

/* Navigation Menu */
.tabs-nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 60px;
}

.tab-link {
    background: none;
    border: none;
    padding: 0 0 20px 0; /* Отступ снизу для линии */
    font-size: 16px;
    color: #999;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.tab-link:hover {
    color: var(--primary-green);
}

/* Active State for Link */
.tab-link.active {
    color: var(--primary-green);
    font-weight: 600;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Чтобы перекрыть серую линию */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

/* Tabs Body Layout */
.tabs-body {
    display: grid;
    grid-template-columns: 40% 55%; /* Левая часть чуть меньше, правая больше */
    justify-content: space-between;
    align-items: start;
}

.tabs-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-black);
}

/* Dynamic Content Panels */
.tab-pane {
    display: none; /* Скрываем все панели по умолчанию */
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block; /* Показываем активную */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tab-pane__icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-green);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.tab-pane__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-black);
}

.tab-pane__subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
    font-weight: 500;
}

.tab-pane__list {
    list-style: none;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.tab-pane__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.tab-pane__list li::before {
    content: '•';
    color: #ccc; /* Светло-серые точки */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Mobile Optimization --- */
@media (max-width: 900px) {
    .tabs-body {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 40px;
    }
    
    .tabs-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .tabs-section {
        padding: 40px 0;
    }

    /* Scrollable Navigation */
    .tabs-nav {
        overflow-x: auto; /* Горизонтальный скролл */
        white-space: nowrap; /* Запрет переноса строк */
        gap: 20px;
        padding-bottom: 0;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
        /* Убираем скроллбар визуально, но оставляем функционал */
        scrollbar-width: none; 
    }
    
    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        font-size: 14px;
        padding-bottom: 15px;
        flex-shrink: 0; /* Чтобы элементы не сжимались */
    }

    .tab-pane__title {
        font-size: 20px;
    }

    .tab-pane__header {
        align-items: flex-start; /* На телефоне иконка пусть будет сверху, если заголовок длинный */
    }
    
    .tab-pane__icon {
        margin-top: 3px; /* Выравнивание иконки визуально */
    }
}
/* --- Situations Section --- */
.situations {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.situations__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-black);
}

.situations__desc {
    font-size: 16px;
    color: #888; /* Светло-серый цвет текста */
    line-height: 1.5;
    max-width: 900px; /* Ограничиваем ширину текста для читаемости */
    margin-bottom: 50px;
}

/* Grid Layout */
.situations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 равные колонки */
    gap: 30px;
}

/* Card Styles */
.situation-card {
    display: flex;
    flex-direction: column;
}

.situation-card__image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px; /* Скругленные углы у картинки */
    overflow: hidden;
    /* Тень не обязательна, но можно добавить для объема: */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
}

.situation-card__image img {
    width: 100%;
    height: 250px; /* Фиксированная высота для ровности */
    object-fit: cover; /* Картинка заполняет область, не искажаясь */
    display: block;
    transition: transform 0.3s ease;
}

/* Эффект увеличения картинки при наведении (опционально) */
.situation-card:hover .situation-card__image img {
    transform: scale(1.05);
}

.situation-card__text {
    font-size: 16px;
    font-weight: 600; /* Полужирный текст как на макете */
    line-height: 1.4;
    color: var(--text-black);
}

/* --- Mobile Adaptation --- */
@media (max-width: 1024px) {
    .situations__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    }
}

@media (max-width: 768px) {
    .situations__title {
        font-size: 24px;
    }

    .situations__desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .situations__grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильном */
        gap: 40px; /* Чуть больше отступ между блоками по вертикали */
    }

    .situation-card__image img {
        height: auto; /* На мобильном высота авто (по пропорциям) или фиксированная */
        aspect-ratio: 16/9; /* Соотношение сторон видео */
    }
}
/* --- Assessment Section --- */
.assessment {
    padding: 5px 0;
    background-color: #fff;
    margin-bottom: 10px;
}

.assessment__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr; /* Текст шире, форма средняя, лого узкое */
    gap: 40px;
    align-items: start;
}

.assessment__label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.assessment__title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.assessment__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.assessment__list {
    list-style: none;
    margin-bottom: 30px;
}

.assessment__list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    color: var(--primary-green); /* Зеленый текст пунктов */
    font-weight: 500;
}

.assessment__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.assessment__conclusion {
    font-size: 14px;
    line-height: 1.5;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

/* Assessment Form Styles */
.assessment__form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.3;
}

.form-label-small {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 5px;
    padding-left: 20px;
}

.form-input-clean {
    width: 100%;
    height: 50px;
    background-color: #f8f9fa; /* Очень светлый серый */
    border: none;
    border-radius: 50px;
    padding: 0 25px;
    font-size: 15px;
    outline: none;
    margin-bottom: 15px;
}

.form-input-clean:focus {
    box-shadow: 0 0 0 1px var(--primary-green);
    background-color: #fff;
}

.form-input-clean--phone {
    padding-left: 60px;
}

.mt-15 {
    margin-top: 15px;
}

.btn-full {
    width: 100%;
    padding: 18px;
}

/* Logo Column */
.assessment__logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.assessment__logo-wrapper {
    text-align: center;
}

.assessment__logo-wrapper img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.assessment__logo-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 5px 0;
    display: inline-block;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.footer__title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-black);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr; /* Контакты пошире */
    gap: 30px;
    margin-bottom: 60px;
}

.footer__logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer__logo-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.footer__desc {
    font-size: 11px;
    color: #777;
    max-width: 150px;
}

.footer__col-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__address {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.footer__menu {
    list-style: none;
}

.footer__menu li {
    margin-bottom: 10px;
}

.footer__menu a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: color 0.2s;
}

.footer__menu a:hover {
    color: var(--primary-green);
}

.text-gray {
    color: #999;
    font-size: 12px;
}

.footer__bottom {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.text-xs {
    font-size: 10px;
    max-width: 300px;
    text-align: right;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #2db36f; /* Светло-зеленый */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: background 0.3s;
}

.scroll-to-top:hover {
    background-color: var(--primary-green);
}

/* --- Mobile Adaptation --- */
@media (max-width: 1024px) {
    .assessment__grid {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
    }
    .assessment__logo-col {
        grid-column: span 2; /* Логотип на всю ширину снизу */
        order: 3;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr; /* 2 по 2 */
        row-gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Assessment Mobile */
    .assessment__grid {
        display: flex;
        flex-direction: column;
    }
    
    .assessment__info { order: 1; }
    .assessment__form-col { order: 2; }
    .assessment__logo-col { order: 3; margin-top: 30px; }

    .assessment__title {
        font-size: 26px;
    }

    /* Footer Mobile */
    .footer__title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .text-xs {
        text-align: center;
        max-width: 100%;
    }
}

/* --- Hero Section Mobile Adaptation --- */
@media (max-width: 992px) {
    .hero {
        padding-top: 20px;
    }

    .hero__title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero__card {
        flex-direction: column-reverse;
        height: auto;
        min-height: auto;
    }

    .hero__info {
        width: 100%;
        padding: 30px 20px;
    }

    .hero__image {
        width: 100%;
        height: 250px;
    }
    
    .hero__image img {
        object-position: top center;
    }

    .hero__info-title {
        text-align: center;
        font-size: 18px;
    }
    
    .hero__list li {
        font-size: 14px;
    }
    
    .btn-white {
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        padding: 15px 10px;
    }
}

/* --- Policy Page --- */
.policy-page {
    padding-top: 120px; /* Отступ сверху, чтобы не перекрывалось хедером */
    padding-bottom: 80px;
    min-height: 60vh; /* Чтобы футер не прилипал к верху на пустых страницах */
}

.policy-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-black);
}

.policy-content {
    max-width: 800px;
    /* margin: 0 auto;  Если хотите по центру - раскомментируйте */
    font-size: 16px;
    line-height: 1.6;
    color: #555; 
}

.policy-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-black);
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .policy-page {
        padding-top: 100px;
    }
    
    .policy-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

.btn-back {
    display: inline-block;
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.btn-back:hover {
    color: var(--primary-green);
}

/* --- Modal Popup (Renamed to avoid adblockers) --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; /* Increased z-index */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    width: 95%;
    max-width: 360px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    z-index: 10;
    padding: 5px;
}

.modal-close:hover {
    color: var(--text-black);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-black);
}

.modal-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Mobile adaptation for modal form elements */
.modal-overlay .light-form__group {
    margin-bottom: 10px;
}

.modal-overlay .light-form__label {
    font-size: 12px;
    margin-bottom: 3px;
}

.modal-overlay .light-form__input {
    padding: 10px;
    font-size: 14px;
    height: auto;
}

.modal-overlay .light-form__btn {
    padding: 12px;
    font-size: 14px;
    margin-top: 5px;
}

.modal-overlay .checkbox-label {
    font-size: 10px;
}

