:root {
    --bg-dark: #0a0c10;
    --bg-card: #14171c;
    --accent: #00ffd5;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
.logo__text {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link:hover {
    color: var(--accent);
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn--outline {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Footer Styles */
.footer {
    padding: 80px 0 40px;
    background: #07080a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__title {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a:hover {
    padding-left: 5px;
    color: var(--accent);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer__bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 768px) {

    .nav,
    .header .btn {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 213, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__title {
    font-size: clamp(2.1rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn--primary {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 213, 0.4);
}

.btn--link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn--link:hover {
    color: var(--accent);
}

/* Scroll Mouse Animation */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}
/* About Section Global */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

/* Grid & Cards */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.about__card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 213, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.about__card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about__card:hover::before {
    opacity: 1;
}

.about__icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 213, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--accent);
    border: 1px solid rgba(0, 255, 213, 0.2);
}

.about__icon i {
    width: 28px;
    height: 28px;
}

.about__name {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.about__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.courses {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-header--left {
    margin-bottom: 50px;
}

.courses-slider {
    padding-bottom: 60px !important;
    overflow: visible !important;
    /* Чтобы карточки не обрезались при hover */
}

.course-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    height: auto;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: grab;
}

.course-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: scale(1.02);
}

.course-card__tag {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.course-card__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.course-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    flex-grow: 1;
}

.course-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card__duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.course-card__link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.course-card__link:hover {
    transform: rotate(90deg);
}

/* Swiper Pagination Style */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}
/* Улучшение стилей Слайдера (из предыдущего шага) */
.courses-slider {
    perspective: 1000px;
}

.course-card {
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 213, 0.1);
}

.course-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.15);
}

/* Секция Технологии */
.tech {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.tech__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech__description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 30px 0 50px;
}

.tech__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech__item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border-left: 3px solid var(--accent);
    transition: var(--transition);
}

.tech__item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.tech__num {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.5;
}

.tech__item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.tech__item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Визуальный эффект справа */
.tech__visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech__blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse-blob 8s infinite alternate;
}

.tech__card-mockup {
    width: 280px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    padding: 40px;
    transform: rotate3d(1, 1, 1, 15deg);
    box-shadow: 50px 50px 100px rgba(0, 0, 0, 0.5);
}

.mockup-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    border-radius: 2px;
}

.mockup-line.short {
    width: 60%;
}

.mockup-circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    margin-top: 40px;
}

@keyframes pulse-blob {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(20px, -20px);
    }
}

@media (max-width: 992px) {
    .tech__container {
        grid-template-columns: 1fr;
    }

    .tech__visual {
        order: -1;
        height: 350px;
    }
}
.faq {
    padding: 120px 0;
    background: #0d1117;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.faq__info .section-subtitle {
    text-align: left;
}

.faq__text {
    color: var(--text-muted);
    margin: 20px 0 40px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq__item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq__item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
}

.faq__header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq__question {
    font-weight: 600;
    font-size: 1.1rem;
}

.faq__icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq__item.active .faq__content {
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq__content p {
    padding: 0 30px 30px;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .faq__grid {
        grid-template-columns: 1fr;
    }
}
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d1117 0%, var(--bg-dark) 100%);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact__text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 25px 0 40px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent);
    font-weight: 600;
}

/* Form Styles */
.form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.form__group {
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

.form__captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-label {
    font-family: 'Syne', sans-serif;
    color: var(--accent);
    white-space: nowrap;
}

.form__input--captcha {
    width: 80px;
    text-align: center;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form__checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

.btn--full {
    width: 100%;
}

/* Status Messages */
.form-status {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 5;
    font-weight: 600;
    color: var(--accent);
}

.form-status.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form {
        padding: 30px;
    }
}
/* Мобильное меню */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-mobile.active {
    right: 0;
}

.nav__list--mobile {
    text-align: center;
}

.nav__list--mobile li {
    margin: 30px 0;
    font-size: 1.5rem;
    font-family: 'Syne';
}

/* Cookie Popup */
.cookie {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: rgba(20, 23, 28, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    z-index: 9999;
    transition: var(--transition);
}

.cookie.show {
    bottom: 20px;
}

.cookie__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn--accent-sm {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .cookie__content {
        flex-direction: column;
        text-align: center;
    }
}
/* Проверь, чтобы иконка бургера имела размеры */
.burger i,
.burger svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    display: block;
}

/* Содержимое куки поп-апа должно иметь z-index выше контейнера */
.cookie__content {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 10000;
}

/* Чтобы Swiper не растягивал карточки на весь экран при SlidesPerView: 3 */
.swiper-slide {
    height: auto;
}
/* Исправленная секция Технологии */
.tech {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* Критично: обрезает всё, что вылетает за пределы */
}

.tech__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Чуть уменьшил гэп для компактности */
    align-items: center;
}

.tech__visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Занимает всю ширину своей колонки */
    max-width: 100%;
    /* Не дает расширяться */
}

.tech__blob {
    position: absolute;
    width: 100%;
    /* Теперь зависит от родителя */
    max-width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.tech__card-mockup {
    width: 280px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    padding: 40px;
    z-index: 2;
    /* Уменьшаем вращение по умолчанию для стабильности */
    transform: rotate3d(1, 1, 1, 10deg);
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-out;
    /* Плавность для JS-параллакса */
}

/* Адаптив под планшеты и мобилки */
@media (max-width: 1100px) {
    .tech__card-mockup {
        width: 220px;
        height: 320px;
        padding: 25px;
    }

    .tech__container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .tech {
        padding: 80px 0;
    }

    .tech__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech__visual {
        order: -1;
        /* Визуал над текстом на мобилках */
        height: 400px;
        margin-bottom: 40px;
    }

    .tech__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tech__list {
        text-align: left;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .tech__card-mockup {
        width: 180px;
        height: 260px;
    }

    .tech__visual {
        height: 300px;
    }
}
/* Базовый стиль Cookie (Десктоп + Общее) */
.cookie {
    position: fixed;
    bottom: -150px;
    /* Скрыт по умолчанию */
    left: 20px;
    right: 20px;
    background: rgba(20, 23, 28, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 213, 0.2);
    padding: 20px;
    border-radius: 20px;
    z-index: 10000;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie.show {
    transform: translateY(-170px);
    /* Выезжает вверх */
}

.cookie__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie p {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.5;
    margin: 0;
}

.cookie p a {
    color: var(--accent);
    text-decoration: underline;
}

/* СТИЛИЗАЦИЯ ПОД МОБИЛКУ */
@media (max-width: 768px) {
    .cookie {
        left: 10px;
        right: 10px;
        padding: 24px 20px;
        bottom: -250px;
        /* Больше запас для скрытия */
    }

    .cookie.show {
        transform: translateY(-260px);
    }

    .cookie__content {
        flex-direction: column;
        /* Текст и кнопка друг под другом */
        text-align: center;
        gap: 16px;
    }

    .cookie p {
        font-size: 0.85rem;
    }

    /* Делаем кнопку удобной для тапа */
    .btn--accent-sm {
        width: 100%;
        padding: 14px;
        font-size: 0.9rem;
        border-radius: 12px;
        background: var(--accent);
        color: var(--bg-dark);
        border: none;
        font-weight: 700;
        cursor: pointer;
    }
}
.cookie{
    width: 300px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 12, 16, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Бургер (статичный) */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.burger span {
    top: 19px;
}

.burger span::before {
    content: "";
    top: -6px;
}

.burger span::after {
    content: "";
    top: 6px;
}

/* Мобильное меню (на весь экран) */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0c10;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Скрытое состояние */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.nav__list--mobile {
    list-style: none;
    text-align: center;
}

.nav__list--mobile li {
    margin: 25px 0;
}

.nav__list--mobile a {
    font-size: 2rem;
    font-family: 'Syne', sans-serif;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 992px) {

    .nav,
    .header .btn--outline {
        display: none;
    }

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* 1. Главный предохранитель для всей страницы */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* 2. Настройка контейнера слайдера */
.courses {
    overflow: hidden;
    /* Обрезаем всё, что вылетает за пределы секции */
}

.courses-slider {
    width: 100%;
    /* Важно: Swiper должен видеть границы контейнера */
    overflow: hidden !important;
}

/* 3. Гарантия того, что слайд не шире экрана */
.swiper-slide {
    width: 100%;
    box-sizing: border-box;
    /* Чтобы padding не разрывал слайд */
}
/* Страница Контактов */
.pages {
    padding: 140px 0 80px;
    min-height: 80vh;
}

.pages h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-family: 'Syne', sans-serif;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pages p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 750px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card__icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 255, 213, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-address {
    font-style: normal;
    color: #fff;
    line-height: 1.6;
}

.contact-extra {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.95rem;
}

.contact-extra a {
    color: var(--accent);
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .pages {
        text-align: center;
    }

    .pages p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-card__icon {
        margin-left: auto;
        margin-right: auto;
    }
}