:root {
    --primary: #24d133;
    --primary-hover: #1eb92d;
    --dark: #1a1a1a;
    --text: #4a4a4a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	:root {
    --black: #111111;
    --green: #24d133;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 850px; }

/* Шапка */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.header__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__link {
    display: flex;
    align-items: center;
    gap: 6px; /* Небольшой отступ, чтобы иконка "вписалась" в слово */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo__link:hover {
    opacity: 0.85;
}

.logo__part {
    font-size: 24px;
    font-weight: 700; /* Жирное начертание для уверенного вида */
    color: #1a1a1a;
    letter-spacing: -0.8px;
    line-height: 1;
}

.logo__icon {
    height: 30px; /* Размер иконки чуть больше высоты шрифта для акцента */
    width: auto;
    object-fit: contain;
    /* Небольшое смещение вниз, если иконка визуально "прыгает" относительно текста */
    transform: translateY(1px); 
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .logo__part {
        font-size: 20px;
    }
    .logo__icon {
        height: 24px;
    }
}

.nav__list { display: flex; list-style: none; gap: 30px; }
.nav__link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav__link:hover { color: var(--primary); }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 209, 51, 0.3);
}

.btn--lg { font-size: 1.1rem; padding: 20px 45px; }

/* Hero */
.hero {
    /* Фиксированная высота секции, как было в "чистом" варианте */
    height: 550px; 
    display: flex;
    align-items: center;
    
    /* Ваш градиент */
    background: linear-gradient(to bottom, #48ee63, #b6fc97);
    border-radius: 0 0 50px 50px;
    
    /* Самое важное: все, что выходит за пределы, скрывается */
    overflow: hidden; 
    position: relative; /* Для позиционирования контейнера внутри */
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative; /* Чтобы картинка позиционировалась относительно контейнера */
}

.hero__content {
    /* Текст занимает левую половину и не перекрывается картинкой */
    flex: 0 0 55%; 
    max-width: 650px;
    text-align: left; 
    z-index: 2; /* Текст всегда поверх картинки */
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Чуть уменьшил для баланса */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: #2a2a2a;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero__image {
    /* Абсолютное позиционирование */
    position: absolute;
    /* Сдвигаем немного влево, чтобы картинка перекрывала пространство */
    right: -10%; 
    bottom: -250px; /* Увеличил вылет вниз для более крупного масштаба */
    
    /* Увеличиваем ширину контейнера картинки до 80% */
    width: 80%; 
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1; /* Картинка ПОД текстом */
    pointer-events: none; /* Текст и кнопки поверх неё будут кликабельны */
}

.hero__image img {
    /* Поднимаем максимальную высоту, чтобы картинка была огромной */
    max-height: 850px; 
    width: auto;
    object-fit: contain;
    
    
    /* Дополнительный сдвиг влево на 10% от ширины картинки */
    transform: translateX(-10%); 
}

/* Адаптив для мобильных устройств */
@media (max-width: 992px) {
    .hero {
        /* На мобильных фиксированная высота часто мешает */
        height: auto; 
        padding: 60px 0 0 0; /* Убираем нижний паддинг, картинка сама создаст отступ */
        border-radius: 0 0 30px 30px;
    }
    
    .hero__container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero__content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .hero__image {
        /* Возвращаем в поток документов */
        position: relative;
        width: 100%;
        right: auto;
        bottom: 0;
        justify-content: center;
        margin-top: 30px;
    }

    .hero__image img {
        /* На мобильных картинка не обрезается, а показывается полностью */
        max-height: 350px; 
        max-width: 90%;
    }
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 800px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 650px;
}

/* Секции */
.section { padding: 100px 0; }
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}
.bg-light { background: var(--light-bg); }
.center-btn { display: flex; justify-content: center; margin-top: 50px; }

/* Карточки преимуществ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.benefit-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.benefit-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.benefit-card__title { font-size: 1.4rem; margin-bottom: 12px; }
.benefit-card p { color: var(--text); font-size: 0.95rem; }

/* Шаги (Steps) */
.steps-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item { text-align: center; flex: 1; padding: 20px; }
.step-item__number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-divider { color: #ccc; font-size: 1.5rem; }

/* SEO Блоки */
.seo-section { background: var(--white); }
.seo-block { margin-bottom: 40px; }
.seo-block h2 { font-size: 1.8rem; margin-bottom: 20px; }
.seo-block p { font-size: 1.05rem; color: var(--text); margin-bottom: 15px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
}

.faq-item summary {
    padding: 24px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary:hover { background: #fafafa; }
.faq-item summary i { font-size: 0.8rem; transition: transform 0.3s; }
.faq-item[open] summary i { transform: rotate(45deg); color: var(--primary); }

.faq-answer { padding: 0 24px 24px; color: var(--text); }

/* Footer */
/* Общие настройки для футера */
.footer {
    padding: 60px 0;
    background: #111111; /* Глубокий черный */
    color: #ffffff;
    text-align: center;
}

/* Настраиваем логотип специально для футера */
.footer__logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer__logo .logo__part {
    color: #ffffff; /* Белый текст для темного фона */
}

/* Опционально: если иконка на темном фоне плохо видна, 
   можно добавить ей легкую белую подложку или яркость */
.footer__logo .logo__icon {
    filter: brightness(1.1);
    /* Если иконка имеет черный фон, можно добавить: border-radius: 4px; */
}

/* Стили для текста в футере, чтобы не было колхоза */
.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6); /* Приглушенный белый */
    margin-bottom: 8px;
}

.footer__legal {
    font-size: 12px !important;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.4;
}

.footer__link {
    color: #24d133; /* Акцентный зеленый для ссылки */
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid rgba(36, 209, 51, 0.3);
    transition: all 0.3s ease;
}

.footer__link:hover {
    border-bottom-color: #24d133;
}

/* Адаптивность */
@media (max-width: 900px) {
    .nav { display: none; }
    .steps-flow { flex-direction: column; }
    .step-divider { transform: rotate(90deg); margin: 10px 0; }
    .hero { text-align: center; border-radius: 0; }
    .hero__content { display: flex; flex-direction: column; align-items: center; }
}