/* ==========================================================================
   1. Сброс стилей и базовые настройки (Десктоп)
   ========================================================================== */
:root {
    --primary-color: #0d6efd;       /* Основной синий цвет */
    --primary-hover: #0b5ed7;       /* Цвет кнопок при наведении */
    --secondary-color: #198754;     /* Зеленый цвет для практики */
    --dark-color: #212529;          /* Темный текст */
    --light-bg: #f8f9fa;            /* Светлый фон для секций */
    --white: #ffffff;
    --gray-text: #6c757d;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* Общие элементы разметки */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.4);
}

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

.btn--secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid #dee2e6;
    margin-left: 15px;
}

.btn--secondary:hover {
    background-color: var(--light-bg);
    border-color: #ced4da;
}

/* ==========================================================================
   2. Шапка сайта (Header)
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo__subtitle {
    font-size: 0.75rem;
    color: var(--gray-text);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary-color);
}

.btn--header {
    padding: 10px 20px;
    font-size: 0.9rem;
    background-color: var(--light-bg);
    color: var(--primary-color);
}

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

.burger {
    display: none; /* Скрыто на десктопе */
}

/* ==========================================================================
   3. Главный экран (Hero)
   ========================================================================== */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 80% 20%, #e7f1ff 0%, var(--white) 50%);
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero__content {
    flex: 1;
}

.hero__badge {
    display: inline-block;
    background-color: #e7f1ff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero__descr {
    font-size: 1.15rem;
    color: var(--gray-text);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero__info {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.info-block__icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-block__title {
    font-weight: 700;
    font-size: 1.1rem;
}

.info-block__sub {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.hero__image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background-color: #e7f1ff;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero__img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ==========================================================================
   4. Секция Спикера (Speaker)
   ========================================================================== */
.speaker {
    padding: 100px 0;
}

.speaker__container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.speaker__image-zone {
    flex: 1;
    position: relative;
    max-width: 450px;
}

.speaker__img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.speaker__experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.speaker__years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.speaker__exp-text {
    font-size: 0.85rem;
    line-height: 1.3;
}

.speaker__content {
    flex: 1;
}

.speaker__divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

.speaker__list {
    list-style: none;
}

.speaker__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.speaker__icon {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.2rem;
}

/* ==========================================================================
   5. Программа обучения (Program)
   ========================================================================== */
.program {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.program__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.program__intro {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.program__grid {
    display: grid;
    grid-template-columns: 140px 140px; /* Фикс для разметки на десктопе ниже */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.program__card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 5px solid transparent;
}

.program__card--theory {
    border-top-color: var(--primary-color);
}

.program__card--practice {
    border-top-color: var(--secondary-color);
}

.program__card-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.program__card-icon {
    font-size: 2rem;
}

.program__card--theory .program__card-icon {
    color: var(--primary-color);
}

.program__card--practice .program__card-icon {
    color: var(--secondary-color);
}

.program__card-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.program__list {
    list-style: none;
}

.program__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.program__list-item::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}

.program__card--theory .program__list-item::before {
    color: var(--primary-color);
}

.program__card--practice .program__list-item::before {
    color: var(--secondary-color);
}

.program__bonus {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
}

.program__bonus-icon {
    font-size: 2.5rem;
    color: #ffc107;
}

.program__bonus-text {
    font-size: 1.05rem;
    color: #664d03;
}

/* ==========================================================================
   6. Форма бронирования (Register)
   ========================================================================== */
.register {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0a4baf 100%);
    color: var(--white);
    position: relative;
}

.register__container {
    display: flex;
    justify-content: center;
}

.register__box {
    background-color: var(--white);
    color: var(--dark-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.register__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.register__subtitle {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.form {
    text-align: left;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
font-weight: 600;margin-bottom: 8px;font-size: 0.9rem;}.form__input {width: 100%;padding: 14px;border: 2px solid #eee;border-radius: 6px;font-family: inherit;font-size: 1px; /* Сброс на наследование */font-size: 1rem;transition: var(--transition);}.form__input:focus {outline: none;border-color: var(--primary-color);}.btn--submit {width: 100%;margin-top: 15px;padding: 16px;}.form__message {margin-top: 20px;font-weight: 600;text-align: center;}.form__message.success {color: var(--secondary-color);}.form__message.error {color: #dc3545;}/* ==========================================================================7. Подвал (Footer)========================================================================== */.footer {background-color: #111418;color: rgba(255,255,255,0.7);padding: 80px 0 0;}.footer__container {display: flex;justify-content: space-between;gap: 50px;padding-bottom: 60px;}.footer__main {max-width: 400px;}.footer .logo__title {color: var(--white);}.footer .logo__subtitle {color: rgba(255,255,255,0.4);}.footer__text {margin-top: 20px;font-size: 0.95rem;line-height: 1.6;}.footer__title {color: var(--white);font-size: 1.1rem;font-weight: 700;margin-bottom: 20px;}.footer__link-group {display: flex;flex-direction: column;gap: 15px;}.footer__link {color: rgba(255,255,255,0.7);text-decoration: none;transition: var(--transition);display: flex;align-items: center;gap: 10px;}.footer__link:hover {color: var(--primary-color);}.footer__bottom {border-top: 1px solid rgba(255,255,255,0.05);padding: 25px 0;font-size: 0.85rem;}.footer__bottom-container {display: flex;justify-content: center;}






/* ==========================================================================
   8. Планшетная версия (Tablet: от 768px до 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Общие настройки */
    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Главный экран */
    .hero {
        padding: 130px 0 70px;
    }

    .hero__container {
        gap: 30px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__descr {
        margin-bottom: 25px;
    }

    .hero__circle-bg {
        width: 350px;
        height: 350px;
    }

    .hero__img {
        max-width: 380px;
    }

    .hero__info {
        gap: 25px;
        margin-bottom: 30px;
    }

    /* Спикер */
    .speaker {
        padding: 70px 0;
    }

    .speaker__container {
        gap: 40px;
    }

    .speaker__image-zone {
        max-width: 350px;
    }

    .speaker__experience {
        padding: 15px 20px;
        bottom: -15px;
        right: -15px;
    }

    .speaker__years {
        font-size: 2rem;
    }

    .speaker__item {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    /* Программа обучения */
    .program {
        padding: 70px 0;
    }

    .program__header {
        margin-bottom: 45px;
    }

    .program__grid {
        gap: 20px;
        margin-bottom: 40px;
    }

    .program__card {
        padding: 30px;
    }

    /* Форма регистрации */
    .register {
        padding: 70px 0;
    }

    .register__box {
        padding: 40px;
    }

    /* Подвал */
    .footer {
        padding: 60px 0 0;
    }

    .footer__container {
        gap: 30px;
        padding-bottom: 40px;
    }
}


/* ==========================================================================
   9. Мобильная версия (Mobile: до 767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Общие настройки */
    html {
        font-size: 14px;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .section-subtitle {
        display: block;
        text-align: center;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
    }

    .btn--secondary {
        margin-left: 0;
        margin-top: 12px;
    }

    /* Навигация и бургер-меню */
    .header__container {
        height: 70px;
    }

    .btn--header {
        display: none; /* Скрываем кнопку в шапке на мобильных */
    }

    .burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .burger span,
    .burger::before,
    .burger::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--dark-color);
        left: 0;
        transition: var(--transition);
    }

    .burger::before { top: 0; }
    .burger span { top: 9px; }
    .burger::after { bottom: 0; }

    /* Класс анимации для открытого меню */
    .burger--active span { opacity: 0; }
    .burger--active::before { transform: translateY(9px) rotate(45deg); }
    .burger--active::after { transform: translateY(-9px) rotate(-45deg); }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 1050;
    }

    .nav--active {
        right: 0;
    }

    .nav__link {
        font-size: 1.3rem;
        font-weight: 600;
    }

    /* Главный экран */
    .hero {
        padding: 110px 0 50px;
        text-align: center;
    }

    .hero__container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .hero__badge {
        margin-bottom: 15px;
    }

    .hero__title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero__descr {
        margin: 0 auto 30px;
    }

    .hero__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background-color: var(--light-bg);
        padding: 20px;
        border-radius: var(--border-radius);
        max-width: 320px;
        margin: 0 auto 30px;
    }

    .hero__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero__circle-bg {
        width: 260px;
        height: 260px;
    }

    .hero__img {
        max-width: 290px;
    }

    /* Спикер */
    .speaker {
        padding: 50px 0;
    }

    .speaker__container {
        flex-direction: column;
        gap: 50px;
    }

    .speaker__image-zone {
        max-width: 290px;
        margin: 0 auto;
    }

    .speaker__experience {
        padding: 12px 15px;
        bottom: -10px;
        right: -10px;
    }

    .speaker__years {
        font-size: 1.8rem;
    }

    .speaker__content {
        width: 100%;
    }

    .speaker__divider {
        margin: 0 auto 25px;
    }

    .speaker__item {
        font-size: 0.95rem;
    }

    /* Программа обучения */
    .program {
        padding: 50px 0;
    }

    .program__header {
        margin-bottom: 35px;
    }

    .program__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program__card {
        padding: 25px 20px;
    }

    .program__card-head {
        margin-bottom: 20px;
    }

    .program__bonus {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .program__bonus-icon {
        font-size: 2.2rem;
    }

    /* Форма регистрации */
    .register {
        padding: 50px 0;
    }

    .register__box {
        padding: 30px 20px;
    }

    .register__title {
        font-size: 1.6rem;
    }

    /* Подвал */
    .footer {
        padding: 50px 0 0;
    }

    .footer__container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer__main {
        max-width: 100%;
    }

    .footer__link {
        justify-content: center;
    }
}

