/* Удаляем импорт с cdnfonts */
/* @import url('https://fonts.cdnfonts.com/css/mikado'); */

/* Добавляем локальные шрифты */
@font-face {
    font-family: 'Mikado';
    src: url('assets/fonts/Mikado-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mikado';
    src: url('assets/fonts/Mikado-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mikado';
    src: url('assets/fonts/Mikado-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mikado';
    src: url('assets/fonts/Mikado-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Mikado', sans-serif;
}

/* Основные стили навигации */
.nav {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 1rem auto;
    width: calc(100% - 2rem);
    padding: 1rem 1rem;
    background-color: #fff;
    align-items: center;
    border: 1px solid #0450A3;
    border-radius: 1rem;
}

.nav__logo {
    grid-column: 1 / 3;
}

.nav__logo img {
    height: 40px;
    display: block;
}

.nav__menu {
    grid-column: 3 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    /* Добавляем отступ между nav__links и nav__social */
}

/* Стили для десктопной версии */
.nav__links {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 2rem;
    margin-left: auto;
    /* Прижимаем к правому краю */
}

.nav__links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.nav__links a:hover {}

.nav__social {
    display: flex;
    gap: 1rem;
    /* Убираем margin-left: auto, так как теперь nav__links прижаты вправо */
}

.nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.nav__social a:nth-child(1) {
    background: #EFF6FF;
}

.nav__social a:nth-child(2) {
    background: #BEEBC3;
}

.nav__social a img {
    width: 24px;
    height: 24px;
}

.nav__social a span {
    display: none;
}

/* Показываем nav__links только в мобильной версии */
@media (max-width: 768px) {
    .nav__links {
        margin-left: 0;
        /* Убираем отступ в мобильной версии */
        flex-direction: column;
        gap: 1rem;
        flex: 1;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .nav__social {
        margin-left: 0;
    }
}

.nav__hamburger {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
}

.nav__hamburger img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s;
}

.nav__hamburger .close-icon {
    opacity: 0;
}

.nav__menu.active+.nav__hamburger .menu-icon {
    opacity: 0;
}

.nav__menu.active+.nav__hamburger .close-icon {
    opacity: 1;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        z-index: 1000;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        width: calc(100% - 1rem);
        margin: 0;
        padding: 1rem 1rem;
    }

    /* Добавляем отступ для контента под фиксированной навигацией */
    body {
        padding-top: calc(72px + 0.5rem);
    }

    .nav__logo {
        grid-column: 1 / 2;
        position: relative;
        z-index: 1001;
        /* Поверх оверлея */
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: calc(72px + 2rem) 1rem 2rem;
        /* 72px - высота nav + отступ 2rem */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav__hamburger {
        grid-column: 3 / 4;
        display: block;
        position: relative;
        z-index: 1001;
    }

    /* Активное состояние */
    .nav__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav__menu.active .nav__links li {
        animation: slideIn 0.4s ease forwards;
    }

    .nav__menu.active .nav__links li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav__menu.active .nav__links li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav__menu.active .nav__links li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav__menu.active .nav__links li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav__links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1rem 2rem 1rem 3.5rem;
        background: #7552FF;
        border-radius: 2rem;
        color: white;
        text-decoration: none;
        font-size: 1.125rem;
        position: relative;
        justify-content: center;
        font-weight: 400;
        transform: translateY(20px) scale(1);
        transition: all 0.2s ease;
    }

    .nav__links a img {
        display: block;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

    /* Удаляем старые стили с ::before */
    .nav__links a::before {
        display: none;
    }

    /* Разные цвета для разных кнопок */
    .nav__links li:nth-child(2) a {
        background: #72BF44;
        /* Зеленый */
    }

    .nav__links li:nth-child(3) a {
        background: #F5821F;
        /* Оранжевый */
    }

    .nav__links li:nth-child(4) a {
        background: #ED1B2E;
        /* Красный */
    }

    .nav__social {
        padding: 2rem 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* Располагаем кнопки вертикально */
        gap: 1rem;
        /* Добавляем отступ между кнопками */
    }

    .nav__social a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 2rem 0;
        background: #0450A3;
        border-radius: 1rem;
        color: white;
        text-decoration: none;
        font-size: 1.125rem;
        position: relative;
        justify-content: center;
        font-weight: 400;
        opacity: 0;
        transform: translateY(20px) scale(1);
        transition: all 0.2s ease;
    }

    .nav__social a:active {
        transform: translateY(0) scale(1.2) !important;
    }

    .nav__menu.active .nav__social a {
        animation: none;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .nav__social a img {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
    }

    /* Удаляем старые стили для Font Awesome иконок */
    .nav__social a i {
        display: none;
    }

    /* Удаляем псевдоэлементы, так как теперь используем span */
    .nav__social a::after {
        display: none;
    }

    .nav__social a span {
        display: block;
    }

    /* Обновляем цвета для соответствующих мессенджеров */
    .nav__social a:nth-child(1) {
        background: #EFF6FF;
        color: #0450A3;
    }

    .nav__social a:nth-child(2) {
        background: #BEEBC3;
        color: #72BF44;
    }
}

/* Добавляем класс для активного мобильного меню */
.nav__menu.active {
    display: flex;
}

.nav__menu.active .nav__links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.nav__menu.active .nav__social {
    margin: 0;
    padding-top: 1rem;
    border-left: none;
    width: 100%;
    justify-content: center;
}

/* Базовые стили для сетки */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

section {}

/* Hero секция */
.hero {
    min-height: 70vh; /* Для десктопной версии */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.hero__decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-decoration {
    position: absolute;
    width: 192px;
    height: 192px;
    opacity: 0.1;
}

/* Позиционирование для десктопа */
.hero-decoration-1 {
    top: 15%;
    left: 10%;
    transform: rotate(-15deg) scale(1.2);
}

.hero-decoration-2 {
    top: 25%;
    right: 15%;
    transform: rotate(25deg) scale(0.8);
}

.hero-decoration-3 {
    bottom: 20%;
    left: 25%;
    transform: rotate(-10deg) scale(1.5);
}

.hero-decoration-4 {
    bottom: 30%;
    right: 20%;
    transform: rotate(15deg) scale(0.9);
}

/* Позиционирование для мобильных устройств */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh; /* Для мобильной версии */
    }

    .hero-decoration-1 {
        top: 5%;
        left: 5%;
        transform: rotate(-15deg) scale(1);
    }

    .hero-decoration-2 {
        top: 15%;
        right: 5%;
        transform: rotate(25deg) scale(1);
    }

    .hero-decoration-3 {
        bottom: 15%;
        left: 5%;
        transform: rotate(-10deg) scale(1);
    }

    .hero-decoration-4 {
        bottom: 5%;
        right: 5%;
        transform: rotate(15deg) scale(1);
    }
}

/* Контент поверх декораций */
.hero .container {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Меняем на два столбца */
    gap: 2rem; /* Добавляем отступ между колонками */
    align-items: center;
    width: 100%;
}

.hero h2 {
    grid-column: 1;
    font-size: 1.5rem;
    color: #2C2A33;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left; /* Добавляем выравнивание по левому краю */
}

.hero h1 {
    grid-column: 1;
    font-size: 48px;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #0450A3;
    font-weight: 900;
}

.hero__title {
    text-align: left; /* Меняем выравнивание на левое */
}

.hero__title-highlight {
    color: #fff;
    background: #72BF44;
    padding: 0.2em 1rem;
    border-radius: 300em;
    display: inline-flex;
    max-width: 100%;
    /* Ограничиваем максимальную ширину */
    white-space: normal;
    /* Разрешаем перенос текста */
}

.hero__main-decor {
    grid-column: 2; /* Размещаем во втором столбце */
    width: 100%;
    justify-self: center;
    position: relative;
    height: 400px;
    overflow: visible;
}

.hero__main-action {
    grid-column: 1 / -1; /* Растягиваем на обе колонки */
    width: 100%;
    background: #fff;
    border: 1px solid #72BF44;
    border-radius: 1rem;
    padding: 2rem;
    z-index: 3;
    margin-top: 2rem;
    display: flex;
    position: relative;
}

.hero__main-action-character {
    position: absolute;
    bottom: 100%;
    right: 2rem;
    width: 120px;
    height: auto;
    transform: translateY(10%) scaleX(-1);
    z-index: 1;
}

/* Добавляем внутренний контейнер для 12 колонок */
.hero__main-action-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    flex-direction: row-reverse; /* Возвращаем row-reverse */
    width: 100%;
    justify-content: flex-end; /* Меняем на flex-end, чтобы элементы начинались слева */
}

/* Добавляем стили для обертки иконки и текста на десктопе */
.hero__main-action-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__main-action-icon {
    width: 32px;
    height: 32px;
}

.hero__main-action p {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.hero__main-action-btn {
    background: #72BF44;
    color: white;
    width: 100%;
    height: 3.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero__main-action {
        padding: 1rem;
        margin-top: 1rem;
        border: 1px solid #72BF44;
        border-radius: 1rem;
    }

    .hero__main-action-container {
        flex-direction: column; /* На мобильных сохраняем вертикальное расположение */
    }

    .hero__main-action-icon {
        justify-self: center;
        width: 24px;
        height: 24px;
    }

    /* Создаем обертку для иконки и текста */
    .hero__main-action-top {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .hero__main-action p {
        text-align: left;
        font-size: 1rem;
        margin: 0;
        font-weight: 400;
    }

    .hero__main-action-btn {
        width: 100%;
        padding: 1rem 2rem; /* Возвращаем стандартные отступы на мобильной версии */
        justify-self: center;
        text-transform: uppercase;
    }

    .hero__main-action-character {
        width: 80px;
        left: 1rem;
        right: auto;
        transform: translateY(15%);
    }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr; /* Возвращаем один столбец */
        gap: 1rem;
    }

    .hero h2 {
        grid-column: 1;
        font-size: 18px;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .hero h1 {
        grid-column: 1;
        font-size: 2.2rem !important;
        text-align: left;
    }

    .hero__main-decor {
        grid-column: 1; /* Возвращаем в первый столбец */
        margin-top: 2rem;
    }

    .hero__main-action {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .hero__main-action p {
        font-size: 1rem;
    }

    .hero__main-action-btn {
        width: 100%;
        text-align: center;
    }
}

/* О преподавателе */
.teacher {
    margin: 2rem 0;
}

.teacher h2 {
    font-size: 2.2rem;
}

.teacher .container {
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.video {
    width: 100%;
    position: relative;
}

.teacher-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teacher-slide__image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.teacher-slide__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-slide__description {
    padding: 1.5rem;
    background: #EFF6FF;
    border-radius: 0 0 1rem 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

.swiper-container.teacher-swiper {
    border-radius: 1rem;
    overflow: hidden;
    background: #EFF6FF;
    height: auto;
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Стили пагинации */
@media (min-width: 769px) {
    .swiper-pagination {
        display: none; /* Скрываем пагинацию на десктопе */
    }
}

.swiper-pagination {
    position: static !important;
    padding-bottom: 1rem;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #0450A3;
    opacity: 0.3;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #72BF44;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1; /* Чтобы иконка была поверх фото */
}

.teacher-description {
    padding-top: 2rem;
    line-height: 1.5;
}

.block-outline {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #0450A3;
    border-radius: 1rem;
    padding: 2rem 2rem;
}

.block-outline h2 {
    text-align: left;
    line-height: 1.2;
    color: #0450A3;
}

/* Типографика */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    section {}

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .hero-decoration {
        width: 124px;
        height: 124px;
    }

    .block-outline {
        padding: 1rem 1rem;
        padding-top: 2rem;
    }
}

/* Скрываем иконки в десктопной версии */
.nav__links a img {
    display: none;
}

@media (max-width: 768px) {
    .nav__links a img {
        display: block;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(1);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        grid-column: 1;
        font-size: 2.2rem !important;
        text-align: left;
        line-height: 1;
    }

    .hero__title-highlight {
        font-size: 30px;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .hero__title-row {}
}

/* Секреты успешного обучения */
.questions .container {
    padding: 0 1rem;
}

.questions__block {
    background-color: #EFF6FF;
    border-radius: 1rem;
    padding: 2rem;
}

.question__title {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 2rem;
}

.questions__title-highlight {
    color: #fff;
    background: #72BF44;
    padding: 0.2em 1rem;
    border-radius: 300em;
    max-width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
}

.question__title-right {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 600;
}

/* Стили для аккордеона */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Добавляем стили для десктопной версии */
@media (min-width: 769px) {
    .accordion {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        align-items: start; /* Добавляем выравнивание по верхнему краю */
    }

    .accordion__item {
        height: fit-content; /* Высота по содержимому */
    }

    .accordion__content {
        position: relative; /* Добавляем позиционирование */
        height: 0; /* Меняем max-height на height */
        transition: height 0.3s ease; /* Меняем анимируемое свойство */
    }

    .accordion__item.active .accordion__content {
        height: auto; /* Автоматическая высота при активном состоянии */
        max-height: none; /* Убираем max-height */
    }
}

/* Сохраняем существующие стили для мобильной версии */
@media (max-width: 768px) {
    .accordion {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .accordion__content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .accordion__item.active .accordion__content {
        max-height: 500px;
    }
}

.accordion__item {
    border: 1px solid #0450A3;
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.accordion__header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion__title {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    color: #0450A3;
}

.accordion__icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion__content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion__text {
    padding-bottom: 1.5rem;
    line-height: 1.5;
}

/* Активное состояние */
.accordion__item.active .accordion__icon {
    transform: rotate(45deg);
}

.accordion__item.active .accordion__content {
    max-height: 500px;
}

@media (max-width: 768px) {
    .questions__block {
        padding: 2rem 1rem;
    }

    .question__title {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        column-gap: 1rem;
    }
}

/* Секция стоимость */
.pricing {
    margin: 2rem 0;
}

.pricing .container {
    padding: 0 1rem;
}

.pricing__block {
    background-color: #fff;
    border: 1px solid #72BF44;
    border-radius: 1rem;
    padding: 2rem;
}

.pricing__title {
    color: #72BF44;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

/* Табы */
.pricing__tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    width: 100%;
}

.pricing__tab {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid #72BF44;
    background: #fff;
    color: #72BF44;
    flex: 1;
    /* Добавляем flex: 1 чтобы табы занимали всю доступную ширину */
    text-align: center;
    /* Центрируем текст */
    max-width: 100%;
    /* Ограничиваем максимальную ширину таба */
}

.pricing__tab.active {
    background: #72BF44;
    color: #fff;
}

/* Добавим стили для скрытия неактивных карточек */
.pricing__cards {
    display: none;
}

.pricing__cards.active {
    display: grid; /* Меняем с flex на grid */
    grid-template-columns: repeat(2, 1fr); /* Две колонки равной ширины */
    gap: 1rem;
}

/* Обновляем медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .pricing__cards.active {
        display: flex; /* Возвращаем flex для мобильных */
        flex-direction: column;
        gap: 1rem;
    }
}

/* Карточки с ценами */
.pricing__card {
    background: #EFF6FF;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pricing__card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing__card-icon {
    width: 48px;
    height: 48px;
}

.pricing__card-info {
    display: flex;
    align-items: center;
    /* Добавляем выравнивание по центру */
    gap: 0.5rem;
    /* Добавляем отступ между элементами */
    flex-direction: row;
    /* Меняем на горизонтальное направление */
}

.pricing__card-lessons {
    font-weight: 500;
    font-size: 1.125rem;
    color: #2C2A33;
}

.pricing__card-price-per-lesson {
    color: #72BF44;
    font-weight: 500;
}

.pricing__card-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2A33;
}

.pricing__duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: center;
    font-size: 1rem;
}

.pricing__duration-outline {
    border: 1px solid #72BF44;
    border-radius: 1rem;
    padding: 0.5rem 1rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: center;
    font-size: 1rem;
}

.pricing__duration-icon {
    width: 32px;
    height: 32px;
}

.pricing__duration-text {
    color: #2C2A33;
    font-weight: 400;
}

/* Обновляем стили для мобильных устройств */
@media (max-width: 768px) {
    .pricing__block {
        padding: 2rem 1rem;
    }

    .pricing__card {
        flex-direction: row;
        gap: 1rem;
        text-align: center;
    }

    .pricing__card-left {
        flex-direction: column;
        display: flex;
        flex-direction: row;
    }

    .pricing__card-info {
        flex-direction: column;
        /* На мобильных возвращаем вертикальное направление */
        align-items: center;
        gap: 0;
        display: flex;
        align-items: flex-start;
    }

    .pricing__card-total {
        font-size: 1.25rem;
    }

    .pricing__tab {
        max-width: none;
        /* Убираем ограничение ширины на мобильных */
    }
}

/* Стили для неактивного таба */
.pricing__tab.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

/* Стили для бейджика */
.pricing__tab-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #F5821F;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Секция контакты */
.contacts {
    margin: 2rem 0;
}

.contacts .container {
    padding: 0 1rem;
}

.contacts__block {
    background-color: #fff;
    border: 1px solid #7552FF;
    border-radius: 1rem;
    padding: 2rem;
}

.contacts__title {
    color: #7552FF;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

/* Мессенджеры */
.contacts__messengers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contacts__messenger {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
    border-radius: 1rem;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 400;
}

.contacts__messenger-telegram {
    background: #EFF6FF;
    color: #0450A3;
}

.contacts__messenger-whatsapp {
    background: #BEEBC3;
    color: #72BF44;
}

.contacts__messenger img {
    width: 32px;
    height: 32px;
}

/* Форма */
.contacts__form {
    background: #EFF6FF;
    border-radius: 1rem;
    padding: 1rem;
}

.contacts__form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C2A33;
    margin-bottom: 1rem;
}

.contacts__form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacts__form-input {
    padding: 1rem;
    border: 1px solid #0450A3;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Mikado', sans-serif;
}

.contacts__form-input::placeholder {
    color: #999;
}

.contacts__form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contacts__form-checkbox input {
    width: 20px;
    height: 20px;
}

.contacts__form-checkbox label {
    font-size: 1rem;
    color: #2C2A33;
}

.contacts__form-submit {
    background: #72BF44;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    font-family: 'Mikado', sans-serif;
}

@media (max-width: 768px) {
    .contacts__block {
        padding: 2rem 1rem;
    }
}

/* Добавим плавную прокрутку для всей страницы */
html {
    scroll-behavior: smooth;
}

/* Добавим отступ сверху для учета фиксированной навигации */
section[id] {
    scroll-margin-top: 100px; /* Это значение должно быть больше высоты фиксированной навигации */
}

.teacher-intro {
    border-radius: 1rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.teacher-outro {
    border-radius: 1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    color: #0450A3;
    font-weight: 600;
    display: flex; /* Добавляем flex для выравнивания иконки и текста */
    align-items: center; /* Центрируем по вертикали */
    gap: 0.25rem; /* Отступ между иконкой и текстом */
}

.teacher-outro img {
    width: 24px;
    height: 24px;
}

.cloud-container {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    margin-top: 0;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cloud-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('assets/imgs/cloud/bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}

.tagcloud {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.tagcloud--item {
    position: absolute;
    will-change: transform;
    transition: transform 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 50%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    font-size: 18px;
    white-space: nowrap;
    text-align: center;
    opacity: 0.9 !important;
}

@media (max-width: 768px) {
    .cloud-container {
        height: 200px;
        margin-top: 4rem;
    }
    
    .cloud-bg {
        width: 150%;
        height: 150%;
    }
    
    .tagcloud--item {
        font-size: 16px;
    }
}

.questions__intro {
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: left;
    color: #2C2A33;
}

.bg-green {
    border: 1px solid #72BF44;
    color: white;
    height: 3.5rem;
    padding: 0;
    text-align: center;
    border-radius: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    width: 100%;
}

.bg-blue {
    border: 1px solid #0450A3;
    color: #0450A3;
    height: 3.5rem;
    padding: 0 1rem;
    text-align: center;
    border-radius: 1rem;
    font-weight: 500;
    display: flex;
    width: 100%;
}

/* Стили для десктопной версии */
@media (min-width: 769px) {
    .nav__links a:hover {
        background-color: #EFF6FF;
    }
}

/* Обновляем стили для teacher-slide */
.teacher-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Стили для десктопной версии */
@media (min-width: 769px) {
    .teacher-slide {
        flex-direction: row;
        gap: 2rem;
    }

    .teacher-slide__image {
        flex: 0 0 50%;
        padding-bottom: 50%;
    }

    .teacher-slide__description {
        flex: 1;
        display: block;
        padding: 0;
        font-size: 1.125rem;
        padding-right: 1rem;
        line-height: 1.6;
        margin: auto 0;
    }
}

/* Обновляем стили для мобильной версии */
@media (max-width: 768px) {
    .teacher-slide {
        flex-direction: column;
    }

    .teacher-slide__image {
        width: 100%;
        padding-bottom: 100%;
    }

    .teacher-slide__description {
        padding: 1.5rem;
        background: #EFF6FF;
        border-radius: 0 0 1rem 1rem;
        line-height: 1.5;
        font-size: 1rem;
    }
}
