/* Применяем шрифт ко всем элементам на сайте, включая кнопки и поля ввода */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0 40px;
    background-color: #fdfaf4;
    color: #333;
}


/* Базовый контейнер шапки */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Блок текста слева */
.logo-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-bold {
    font-weight: 800;
    font-size: 24px;
    color: #4f7a20; /* Зеленый цвет для XYZ */
    line-height: 1;
}

.logo-sub {
    font-size: 18px;
    color: #575555;
}

/* Правый блок контактов */
.contacts {
    display: flex;
    align-items: center; /* Выравнивает иконку и телефон строго по центру друг друга */
    gap: 15px; /* Расстояние между картинкой и номером */
}

/* Новый контейнер для иконки и слова MAX */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 6px; /* Вот этот параметр двигает иконку вплотную к слову MAX! */
}

/* Новые стили для картинки справа */
.logo-img-right {
    height: 30px; /* Увеличьте или уменьшите высоту под ваш макет */
    width: auto;
    object-fit: contain;
}

.phone {
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    color: #333;
}

/* Главный контейнер (Сетка для двух плашек) */
.hero-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    gap: 30px;
    justify-content: center;
}

/* Левый зеленый блок */
.hero-info {
    background-color: #7cb342; /* Логопедический зеленый */
    color: white;
    padding: 40px;
    border-radius: 20px;
    flex: 2;
    position: relative;
    min-height: 400px;
}
.hero-info h1 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.2;
}
.badge-experience {
    background-color: #aed581;
    color: #2e5b17;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 15px;
    font-weight: bold;
    margin-bottom: 40px;
}
.badge-free {
    font-size: 20px;
}
.badge-free span {
    color: #ffee58; /* Выделение желтым */
    font-weight: bold;
}
/* Заглушка для позиционирования детей */
.hero-image-placeholder {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 250px;
    height: 250px;
    background: url('placeholder-children.png') no-repeat bottom center;
    background-size: contain;
}

/* Правый желтый блок с формой */
.hero-form-container {
    background-color: #fbc02d; /* Теплый желтый */
    padding: 40px 30px;
    border-radius: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 360px;
}
.hero-form-container h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    text-align: center;
}
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.lead-form input {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}
.submit-btn {
    background-color: #7cb342;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-btn:hover {
    background-color: #689f38;
}
.privacy-text {
    font-size: 14px;
    color: #6d4c41;
    line-height: 1.4;
    margin-top: 15px;
    text-align: center;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
    }
    .hero-form-container {
        max-width: 100%;
        width: 100%;
    }
    .hero-image-placeholder {
        position: static;
        margin: 20px auto 0 auto;
    }
}
/* Стили для новой секции */
.symptoms-section {
    max-width: 1200px;
    margin: 80px auto;
}

/* Заголовок секции */
.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #222;
}

/* Контейнер для трех карточек */
.cards-container {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

/* Карточка возраста */
.symptom-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    flex: 1; /* Карточки будут одинаковой ширины */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Мягкая незаметная тень */
}

/* Крупный заголовок возраста */
.card-age {
    font-size: 32px;
    color: #8cb53f; /* Логопедический зеленый оттенок для возраста */
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Список симптомов */
.symptom-list {
    list-style: none; /* Убираем стандартные точки */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Отступы между пунктами */
}

/* Каждый пункт списка */
.symptom-list li {
    font-size: 15px;
    line-height: 1.4;
    color: #444;
    position: relative;
    padding-left: 20px; /* Место под красный крестик */
}

/* Кастомный красный крестик перед текстом */
.symptom-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: -2px;
    color: #d32f2f; /* Красный цвет */
    font-size: 20px;
    font-weight: bold;
}

/* Адаптивность: на телефонах карточки встанут друг под друга */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }
    .section-title {
        font-size: 28px;
    }
}

