/* style.css */
:root {
    --primary: #e11d48;
    /* Красный */
    --primary-hover: #be123c;
    --secondary: #0ea5e9;
    /* Голубой */
    --accent: #e0f2fe;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-muted: #64748b;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.logo__icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo__icon::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--secondary);
    right: 0;
    transform: skewX(-20deg);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger span,
.burger::before,
.burger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--dark);
    left: 0;
    transition: var(--transition);
}

.burger::before {
    top: 0;
}

.burger span {
    top: 9px;
}

.burger::after {
    bottom: 0;
}

/* Футер */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer__description {
    color: #94a3b8;
    margin-top: 20px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.footer__contact-list i {
    color: var(--primary);
    margin-top: 5px;
}

.footer__bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Адаптив */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* HERO SECTION */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(225, 29, 72, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge__dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-accent {
    color: var(--primary);
    position: relative;
}

.hero__text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero__btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn--outline {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
}

.btn--outline:hover {
    background: var(--dark);
    color: white;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Visual Part */
.hero__visual {
    position: relative;
}

.visual__card--main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.visual__img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.visual__glass-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 1px solid white;
}

.visual__glass-card i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.floating-shape {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
}

.shape--1 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: -20px;
    right: -20px;
    opacity: 0.2;
}

.shape--2 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    bottom: 20%;
    left: -30px;
    opacity: 0.15;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 2;
    }

    .hero__visual {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__btns {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }
}
/* ОБЩИЕ СТИЛИ ДЛЯ ЗАГОЛОВКОВ СЕКЦИЙ */
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* BENEFITS */
.benefits {
    padding: 100px 0;
    background: white;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px;
    background: var(--light);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.benefit-card__icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 15px;
    margin-bottom: 25px;
}

.benefit-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.benefit-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* COURSES */
.courses {
    padding: 100px 0;
    background: #f1f5f9;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.course-card__image {
    position: relative;
    height: 220px;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-card__content {
    padding: 30px;
}

.course-card__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.course-card__text {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.course-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--accent);
}

.course-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.course-card__link {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-card__link:hover {
    color: var(--primary);
}
/* METHOD SECTION */
.method {
    padding: 100px 0;
    background: white;
    border-bottom: 1px solid var(--accent);
}

.method__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}

.method__step {
    padding: 30px;
    border-left: 3px solid var(--accent);
    transition: var(--transition);
}

.method__step:hover {
    border-left-color: var(--primary);
    background: var(--light);
}

.step__num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 15px;
    transition: var(--transition);
}

.method__step:hover .step__num {
    color: var(--primary);
}

.step__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step__text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CAREER SECTION */
.career {
    padding: 120px 0;
    background: var(--dark);
    color: white;
}

.career__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.career__text {
    color: #94a3b8;
    margin: 25px 0 35px;
    font-size: 1.1rem;
}

.career__list {
    margin-bottom: 40px;
}

.career__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.career__list i {
    color: var(--secondary);
}

.career__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card--accent {
    grid-column: span 2;
    background: var(--primary);
    border: none;
}

.stat-card__val {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card__val::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
}

.stat-card--accent .stat-card__val::after {
    color: white;
}

@media (max-width: 992px) {
    .career__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .career__list {
        display: inline-block;
        text-align: left;
    }

    .career__stats {
        max-width: 500px;
        margin: 0 auto;
    }
}
/* CONTACT SECTION */
.contact {
    padding: 100px 0;
    background: var(--light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact__card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact__expert {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.expert__img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--accent);
}

.form-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-captcha input {
    width: 80px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    cursor: pointer;
}

.btn--full {
    width: 100%;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu--active {
    transform: translateY(0);
}

.mobile-menu__list {
    text-align: center;
}

.mobile-menu__list li {
    margin: 25px 0;
}

.mobile-menu__list a {
    font-size: 1.5rem;
    font-weight: 800;
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark);
    color: white;
    padding: 20px;
    border-radius: 16px;
    z-index: 1100;
    transform: translateY(150%);
    transition: var(--transition);
    max-width: 500px;
}

.cookie-popup--show {
    transform: translateY(0);
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }
}