﻿@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  overflow-x: hidden;
}
.page--menu-open {
  overflow: hidden;
}

.button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: -2px 4px 8px 3px rgba(0, 0, 0, 0.2);
}
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.button:disabled:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.button:active {
  transform: translateY(0);
}
.button--primary {
  background: #2D7FF9;
  color: #FFFFFF;
  font-size: 14px;
}
.button--primary:hover {
  background: rgb(7.0333333333, 103.1555555556, 246.1666666667);
}
@media (max-width: 480px) {
  .button--primary {
    font-size: 13px;
    padding: 10px 20px;
  }
}
.button--secondary {
  background: linear-gradient(225deg, #2D7FF9, #1A5FD0);
  color: #FFFFFF;
  font-size: 16px;
  padding: 16px 32px;
}
.button--secondary:hover {
  background: linear-gradient(to left, #2D7FF9, #1A5FD0); /* Инвертируем направление */
}
@media (max-width: 768px) {
  .button--secondary {
    font-size: 15px;
    padding: 14px 28px;
  }
}
@media (max-width: 480px) {
  .button--secondary {
    font-size: 14px;
    padding: 12px 24px;
  }
}
.button--large {
  position: relative;
  padding: 18px 40px;
  font-size: 24px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .button--large {
    font-size: 16px;
    padding: 16px 32px;
  }
}
@media (max-width: 480px) {
  .button--large {
    font-size: 15px;
    padding: 14px 24px;
  }
}
.button--full {
  width: 100%;
}

.tooltip {
  position: absolute;
  bottom: 100%; /* Показывать над кнопкой */
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(254, 146, 73, 0.5);
  backdrop-filter: blur(30px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 65px;
  /*    &__contact-button {


          @media (max-width: $breakpoint-tablet) {
          }

          @media (max-width:$breakpoint-mobile) {
          }
      }
  */
}
@media (max-width: 768px) {
  .header {
    height: 70px;
  }
}
@media (max-width: 768px) {
  .header .header__logo-text, .header .header__contact-phone {
    display: none;
  }
}
.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 35px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 480px) {
  .header__container {
    padding: 0 25px;
  }
}
.header__logo-block {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header__logo {
  flex-shrink: 0;
}
.header__logo-image {
  width: 40px;
  border-radius: 50%;
}
@media (max-width: 480px) {
  .header__logo-image {
    width: 36px;
    height: 36px;
  }
}
.header__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .header__logo-text {
    font-size: 18px;
  }
}
@media (max-width: 1024px) {
  .header__nav {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: -100%;
    width: 40%;
    gap: 30px;
    min-width: 280px;
    height: 100vh;
    box-shadow: 0px 1000px 1000px 1000px rgba(0, 0, 0, 0.7);
    background-color: #FE9249;
    padding: 1rem 2rem;
    opacity: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
    transition: all 0.15s ease-in-out;
  }
}
.header__nav.active {
  display: flex;
  flex-direction: column;
  right: 0;
  visibility: visible;
  opacity: 1;
}
.header__contact-block {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header__contact-phone {
  color: whitesmoke;
  font-weight: 500;
  font-size: 18px;
}
@media (max-width: 768px) {
  .header__contact-phone {
    font-size: 14px;
  }
}
.header__menu-toggle {
  display: none;
  color: white;
  width: 36px;
  height: 36px;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Ваша тень */
}
@media (max-width: 1024px) {
  .header__menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.header__menu-toggle:active {
  transform: scale(0.98); /* Легкое уменьшение */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Ваша тень */
}

.fa-building, .fa-caret-down, .fa-globe {
  margin-left: 6px;
  font-size: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo__image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
@media (max-width: 480px) {
  .logo__image {
    width: 36px;
    height: 36px;
  }
}
.logo__text {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .logo__text {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .logo__text {
    font-size: 20px;
  }
}

.nav {
  flex-wrap: nowrap;
}
.nav__menu-logo-text {
  font-size: 28px;
  font-weight: 700;
}
.nav__menu-contact-phone {
  font-size: 20px;
  font-weight: 500;
  position: relative;
}
.nav__menu-contact-phone::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background-color: white;
}
.nav__list {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  .nav__list {
    flex-direction: column;
  }
}
.nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.nav__dropdown-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: start;
  position: absolute;
  top: 140%;
  background: rgb(253.9163934426, 136.8868852459, 57.7836065574);
  color: whitesmoke;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  padding: 15px;
  height: 100px;
  width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0; /* Изначально прозрачное */
  visibility: hidden; /* Скрыто от взаимодействия */
  transition: all 0.3s ease-out 0.5s; /* Плавное изменение */
}
.nav__dropdown-content-link {
  padding: 0 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.nav__dropdown-content-link:hover {
  background: rgba(0, 0, 0, 0.1);
}
.nav__link:hover + .nav__dropdown-content, .nav__dropdown-content:hover {
  opacity: 1; /* Полная видимость */
  visibility: visible; /* Элемент становится кликабельным */
  transition: all 0.3s ease-out;
}
.nav__link {
  color: #FFFFFF;
  font-weight: 500;
  transition: opacity 0.2s ease;
  position: relative;
}
.nav__link:hover {
  opacity: 0.7;
}

.nav__menu-logo-text, .nav__menu-contact-phone {
  display: none;
  color: antiquewhite;
}
@media (max-width: 768px) {
  .nav__menu-logo-text, .nav__menu-contact-phone {
    display: flex;
  }
}

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact__phone {
  color: #FFFFFF;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.3s ease;
}
.contact__phone:hover {
  opacity: 0.8;
}
@media (max-width: 900px) {
  .contact__phone {
    font-size: 14px;
  }
}

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #FE9249;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.mobile-nav--active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-nav__nav {
  padding: 20px 0;
}
.mobile-nav__list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 480px) {
  .mobile-nav__list {
    padding: 0 15px;
  }
}
.mobile-nav__link {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 16px;
  display: block;
  padding: 8px 0;
  transition: opacity 0.3s ease;
}
.mobile-nav__link:hover {
  opacity: 0.8;
}
.mobile-nav__link--phone {
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  padding-top: 18px;
}

.hero {
  background-color: #FE9249;
  margin: 5px 10px 10px 10px;
  border-radius: 45px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}
.hero__container {
  max-width: 1200px;
  margin-top: 195px;
  margin-bottom: 65px;
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  gap: 100px;
}
@media (max-width: 1280px) {
  .hero__container {
    margin-top: 130px;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .hero__container {
    margin-top: 130px;
    padding: 0 15px;
    gap: 50px;
  }
}
.hero__content {
  display: flex;
  flex-wrap: wrap;
  gap: 0 200px;
  align-items: center;
  align-content: flex-start;
  justify-content: center;
  min-height: 300px;
}
@media (max-width: 768px) {
  .hero__content {
    gap: 40px;
    text-align: center;
    min-height: 250px;
  }
}
@media (max-width: 480px) {
  .hero__content {
    gap: 10px;
  }
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 800px;
}
@media (max-width: 1280px) {
  .hero__text {
    max-width: none;
    align-items: center;
  }
}
.hero__title {
  font-size: 64px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 32px;
}
@media (max-width: 1280px) {
  .hero__title {
    text-align: center;
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .hero__title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
    margin-bottom: 16px;
  }
}
.hero__title-highlight {
  position: relative;
  left: -12px;
  background: #2EA18E;
  color: #FFFFFF;
  padding: 0px 12px;
  padding-bottom: 15px;
  border-radius: 25px;
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero__title-highlight {
    padding: 3px 8px;
    font-size: 0.9em;
    left: 0;
  }
}
.hero__subtitle {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }
}
@media (max-width: 480px) {
  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
}
.hero__button {
  width: 60%;
}
@media (max-width: 1280px) {
  .hero__button {
    align-self: center;
  }
}
@media (max-width: 480px) {
  .hero__button {
    width: 90%;
  }
}
.hero__image {
  position: relative;
  flex-shrink: 0;
}
.hero__image:hover .hero__book-eng {
  transform: translateX(-50px) rotate(-8deg);
}
.hero__image:hover .hero__book-ch {
  transform: translateX(30px);
}
@media (max-width: 768px) {
  .hero__image {
    display: flex;
    justify-content: center;
  }
}
.hero__book-eng {
  flex-shrink: 1;
  max-width: 300px;
  height: auto;
  position: relative;
  left: -35px;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
  transition: transform 0.7s ease;
}
@media (max-width: 768px) {
  .hero__book-eng {
    max-width: 250px;
    left: -30px;
  }
}
@media (max-width: 480px) {
  .hero__book-eng {
    max-width: 200px;
    left: -25px;
  }
}
.hero__book-ch {
  flex-shrink: 1;
  position: absolute;
  top: 50px;
  right: -35px;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
  transition: transform 0.5s ease;
}
@media (max-width: 768px) {
  .hero__book-ch {
    max-width: 250px;
    right: -30px;
  }
}
@media (max-width: 480px) {
  .hero__book-ch {
    max-width: 200px;
    right: -25px;
  }
}

/*.languages {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 20px;
        // Медиа-запрос для мобильных устройств
        @media (max-width: 768px) {
            flex-direction: column;
            gap: 15px;
            padding: 0 15px; // Уменьшаем padding для мобильных
        }

        &__block {
            flex: 1;
            position: relative;
            overflow: hidden;
            border: 0.5px solid #FE9249;
            border-radius: 45px;
            background-image: linear-gradient(-26deg, #FFF4D4, #FFFFFF);
            height: 90px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;

            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(254, 146, 73, 0.2);
            }
            // На мобильных устройствах блоки занимают всю ширину
            @media (max-width: 768px) {
                flex: none; // Убираем flex чтобы блок не сжимался
                width: 100%;
                min-height: 80px; // Минимальная высота для мобильных
            }
        }

        &__link {
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: inherit;
            position: relative;
            // Убираем подчеркивание и обводку при фокусе
            &:focus {
                outline: 2px solid #FE9249;
                outline-offset: 2px;
            }
        }

        &__image {
            position: absolute;
            right: -40px;
            top: -25px;
            width: 180px;
            height: 180px;
            object-fit: cover; // Обеспечивает корректное отображение изображения
            // Адаптация изображения для мобильных
            @media (max-width: 768px) {
                right: -40px;
                top: -20px;
                width: 200px;
                height: 200px;
            }

            @media (max-width: 480px) {
                right: -30px;
                top: -15px;
                width: 160px;
                height: 160px;
            }
        }

        &__title {
            position: absolute;
            left: 30%;
            top: 50%;
            transform: translate(-50%, -50%);
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin: 0;
            z-index: 2; // Располагаем над изображением
            white-space: nowrap; // Предотвращаем перенос текста
            // Адаптация текста для мобильных
            @media (max-width: 768px) {
                margin-left: 20px;
                font-size: 22px;
                left: 25%;
            }

            @media (max-width: 480px) {
                margin-left: 15px;
                font-size: 18px;
                left: 20%;
                white-space: normal; // Разрешаем перенос на очень маленьких экранах
                max-width: 150px;
            }
        }
    }
    // Дополнительные утилитарные классы
    .languages__block {
        // Модификатор для особого выделения
        &--featured {
            border: 2px solid #FE9249;
            box-shadow: 0 5px 15px rgba(254, 146, 73, 0.15);
        }
        // Модификатор для темной темы
        &--dark {
            background-image: linear-gradient(-26deg, #2c3e50, #34495e);
            border-color: #FE9249;

            .languages__title {
                color: white;
            }
        }
    }*/
.section-title {
  margin-top: 50px;
  letter-spacing: 2px;
  font-size: 80px;
  color: #F26200;
  padding: 0 20px;
  text-align: center;
  font-weight: 800;
  position: relative;
  z-index: 10;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
}
@media (max-width: 1280px) {
  .section-title {
    font-size: 70px;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 54px;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 36px;
  }
}
.section-title__container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title__image {
  position: absolute;
  height: 240px;
  right: 4%;
  bottom: 10%;
  z-index: 9;
}
@media (max-width: 768px) {
  .section-title__image {
    height: 200px;
  }
}
@media (max-width: 480px) {
  .section-title__image {
    height: 180px;
  }
}

.details {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}
.details__row {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .details__row {
    flex-direction: column;
    gap: 20px;
  }
}
.details__group-image {
  height: 200px;
  width: 250px;
}
.details__group-image--toright {
  align-self: end;
}
.details__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 450px;
  flex: 1;
  background: #fff;
  border-radius: 45px;
  padding: 40px;
  box-shadow: 2px 2px 15px 3px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .details__block {
    padding: 30px;
  }
}
.details__block.details__block--group {
  background: linear-gradient(225deg, #FFF9E8 0%, #FFBD90 100%);
}
.details__block.details__block--group .block-title {
  color: #333;
}
.details__block.details__block--group .block-text {
  color: #333;
}
.details__block.details__block--time {
  background: linear-gradient(225deg, #95E5FF 0%, #007AA2 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: -2px 1px 3px rgba(0, 0, 0, 0.4);
}
.details__block.details__block--time .block-title {
  color: whitesmoke;
}
.details__block.details__block--time .block-text {
  color: whitesmoke;
}
.details__block.details__block--trial {
  background: linear-gradient(225deg, #95E5FF 0%, #007AA2 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: -2px 1px 3px rgba(0, 0, 0, 0.4);
}
.details__block.details__block--trial .block-title {
  color: whitesmoke;
}
.details__block.details__block--trial .block-text {
  color: whitesmoke;
}
.details__block.details__block--start {
  background: linear-gradient(225deg, #FFF9E8 0%, #FFBD90 100%);
}
.details__block.details__block--start .block-title {
  color: #333;
}
.details__block.details__block--start .block-text {
  color: #333;
}
.details__block.details__block--feedback {
  background: linear-gradient(225deg, #FFF9E8 0%, #FFBD90 100%);
}
.details__block.details__block--feedback .block-title {
  color: #333;
}
.details__block.details__block--feedback .block-text {
  color: #333;
}
.details__block.details__block--awards {
  background: linear-gradient(225deg, #95E5FF 0%, #007AA2 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: -2px 1px 3px rgba(0, 0, 0, 0.4);
}
.details__block.details__block--awards .block-title {
  color: whitesmoke;
}
.details__block.details__block--awards .block-text {
  color: whitesmoke;
}
.details__block.details__block--activities {
  background: linear-gradient(135deg, #007AA2 -10%, #95E5FF 100%);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 60px;
  min-height: 80px;
}

.block-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.block-text {
  font-size: 20px;
  font-weight: 700;
}
.block-text__underline-hover {
  position: relative;
  padding-bottom: 0px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.block-text__underline-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: bottom 0.3s ease;
}
.block-text__underline-hover:hover {
  padding-bottom: 4px;
  height: 2px;
  width: 130%;
  color: #2D7FF9;
}

.details__group-text,
.details__time-text,
.details__trial-text,
.details__start-text,
.details__feedback-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

.activities__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.activities__container.modified {
  max-height: 2500px;
  transition: all 0.8s ease-in-out;
}
.activities__title {
  margin: 0 auto;
  color: white;
  font-size: 30px;
  text-shadow: -2px 1px 3px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.activities__arrow {
  transition: all 0.5s ease-in-out;
  color: #fff;
}
.activities__arrow.modified {
  transform: rotate(-180deg) translateY(10px);
  color: #333;
}
.activities__button {
  box-shadow: 0px 0px 10px white;
  margin-bottom: 20px;
  padding: 0px 90px;
  padding-top: 20px;
  border-radius: 70px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.activities__button:hover {
  text-shadow: none;
  color: #333;
  background-color: #ffead5; /* Основной цвет */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.2'/%3E%3C/svg%3E");
}
.activities__button:hover > .activities__arrow {
  color: #333;
}
.activities__button.modified {
  text-shadow: none;
  color: #333;
  background-color: #ffead5; /* Основной цвет */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.2'/%3E%3C/svg%3E");
}
.activities__button h1 {
  font-weight: 700;
}
@media (max-width: 768px) {
  .activities__button {
    padding: 0px 20px;
    padding-top: 30px;
  }
}
.activities__button input {
  display: none;
}
.activities__block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 4px 4px 15px 3px rgba(0, 0, 0, 0.1);
  border-radius: 150px;
  gap: 40px;
  padding: 0px 60px;
  background-color: #ffead5; /* Основной цвет */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.2'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  .activities__block {
    border-radius: 50px;
    padding: 0px 20px;
    gap: 0px;
  }
}
.activities__image {
  width: 500px;
}
@media (max-width: 768px) {
  .activities__image {
    width: 340px;
  }
}
@media (max-width: 480px) {
  .activities__image {
    width: 300px;
  }
}
.activities__info {
  display: flex;
  flex-basis: 400px;
  flex-direction: column;
  align-items: start;
  font-size: 24px;
}
@media (max-width: 768px) {
  .activities__info {
    font-size: 20px;
    padding: 20px;
  }
}
.activities__restaurant {
  flex-wrap: wrap-reverse;
}
.activities__restaurant > .activities__image {
  transform: rotate(-3deg);
}
.activities__calligraphy {
  flex-wrap: wrap;
}
.activities__calligraphy > .activities__image {
  transform: rotate(2deg);
}
.activities__speaking-club {
  flex-wrap: wrap-reverse;
}
.activities__speaking-club > .activities__image {
  transform: rotate(-2deg);
}

.teachers-gallery {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
}
@media (max-width: 768px) {
  .teachers-gallery {
    margin: 0 auto;
    padding: 10px 5px;
  }
}
.teachers-gallery__container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .teachers-gallery__container {
    gap: 5px;
  }
}
.teachers-gallery__wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
}
.teachers-gallery__track {
  margin: 60px 20px;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 25px;
}
.teachers-gallery__slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}
@media (max-width: 992px) {
  .teachers-gallery__slide {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 768px) {
  .teachers-gallery__slide {
    flex: 0 0 100%;
  }
}
.teachers-gallery__nav {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  color: #666;
}
.teachers-gallery__nav:hover {
  background: #f8f9fa;
  border-color: #FE9249;
  color: #FE9249;
  transform: scale(1.05);
}
.teachers-gallery__nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 768px) {
  .teachers-gallery__nav {
    width: 40px;
    height: 40px;
  }
}
.teachers-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.teachers-gallery__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.teachers-gallery__dot--active, .teachers-gallery__dot:hover {
  background: #FE9249;
  transform: scale(1.2);
}

.teacher-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.teacher-card__image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .teacher-card__image-container {
    height: 500px;
  }
}
@media (max-width: 480px) {
  .teacher-card__image-container {
    height: 300px;
  }
}
.teacher-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.teacher-card:hover .teacher-card__image {
  transform: scale(1.05);
}
.teacher-card__content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .teacher-card__content {
    padding: 20px;
  }
}
.teacher-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .teacher-card__name {
    font-size: 20px;
  }
}
.teacher-card__more {
  color: #333;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}
.teacher-card__details {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 0px 4px white;
  box-sizing: border-box;
  padding: 30px 20px;
  border-radius: 25px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 95%;
  width: 90%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 100;
}
@media (max-width: 768px) {
  .teacher-card__details {
    border-radius: 20px;
    height: 100%;
    width: 100%;
  }
}
.teacher-card__details.modified {
  visibility: visible;
  opacity: 1;
}
.teacher-card__checkbox {
  display: none;
}
.teacher-card__education {
  white-space: pre-wrap;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex: 1;
}
@media (max-width: 768px) {
  .teacher-card__education {
    font-size: 13px;
  }
}
.teacher-card__quote {
  font-size: 15px;
  font-style: italic;
  color: #FE9249;
  line-height: 1.4;
  margin: 0;
  padding: 15px 0 0 0;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}
@media (max-width: 768px) {
  .teacher-card__quote {
    font-size: 14px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.teacher-card {
  animation: fadeInUp 0.6s ease forwards;
}

.teachers-gallery__slide:nth-child(1) .teacher-card {
  animation-delay: 0.1s;
}
.teachers-gallery__slide:nth-child(2) .teacher-card {
  animation-delay: 0.2s;
}
.teachers-gallery__slide:nth-child(3) .teacher-card {
  animation-delay: 0.3s;
}

/*    .application-form {
    display:flex;
    background: linear-gradient(225deg, #FFA161, $color-primary-orange);
    border-radius: 45px;

    &__card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        border-radius: 45px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 30px;
    }

    &__header {
        text-align: center;
        color: white;
    }

    &__title {
        font-weight: 700;
        font-size: 40px;
    }

    &__title-highlight {
        background: $color-highlight;
        color: $color-white;
        padding: 4px 12px;
        border-radius: $border-radius;
        display: inline-block;
        white-space: nowrap;
    }

    &__body {
        display:flex;
    }
}*/
.form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 170px auto;
  scroll-margin-top: 91px;
}
.form__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(225deg, #FFA161, #FE9249);
  border-radius: 45px;
  gap: 30px;
  padding: 30px;
  max-width: 600px;
  margin: 0 5px;
}
@media (max-width: 768px) {
  .form__container {
    gap: 5px;
  }
}
.form__header {
  text-align: center;
  color: white;
  position: relative;
}
.form__image {
  position: absolute;
  top: -200px;
  height: 200px;
  width: 100%;
}
.form__title {
  font-weight: 700;
  font-size: 40px;
}
@media (max-width: 768px) {
  .form__title {
    font-weight: 700;
    font-size: 24px;
  }
}
.form__title-highlight {
  background: #2EA18E;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 25px;
  display: inline-block;
  white-space: nowrap;
}
.form__body {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  .form__body {
    width: 90%;
    gap: 20px;
  }
}
.form__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 800px;
}
.form__label {
  color: whitesmoke;
  font-size: 24px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .form__label {
    font-size: 20px;
    font-weight: 600;
  }
}
.form__input, .form__textarea {
  min-height: 60px;
  width: 100%;
  padding: 12px 16px;
  font-size: 20px;
  line-height: 1.5;
  color: #007AA2;
  background-color: white;
  border: 2px solid rgb(0, 160.4074074074, 213);
  border-radius: 14px;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .form__input, .form__textarea {
    min-height: 40px;
    font-size: 16px;
    line-height: 1.3;
  }
}
.form__input:focus, .form__textarea:focus {
  border-color: #007AA2;
  box-shadow: 0 0 0 3px rgba(149, 229, 255, 0.6);
}
.form__input::placeholder, .form__textarea::placeholder {
  color: rgb(111, 219.4444444444, 255);
  opacity: 1;
}
.form__actions {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.form__policy {
  padding: 20px 12px;
  text-align: start;
  line-height: 1;
  font-size: 14px;
  color: #ddd;
}
.form__policy a {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .form__policy {
    font-size: 12px;
  }
}

.button--application {
  align-self: center;
  background: linear-gradient(225deg, #2D7FF9, #1A5FD0);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  padding: 16px 32px;
}
.button--application:hover {
  background: linear-gradient(to left, #2D7FF9, #1A5FD0); /* Инвертируем направление */
}

.prices {
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 195px;
}
.prices__wrapper {
  padding: 20px;
  max-width: 1200px;
  min-width: 0;
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 1024px) {
  .prices__wrapper {
    padding: 10px 8px;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .prices__wrapper {
    padding: 10px 5px;
    gap: 5px;
  }
}
.prices__container {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  background-color: white;
}
.prices__slider {
  gap: 16px;
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prices__card {
  flex: 0 0 calc((100% - 32px) / 3);
  background: linear-gradient(145deg, #FE9249 0%, #ff861b 100%);
  color: white;
  border-radius: 25px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.prices__card--image {
  width: 100%;
}
.prices__card--textbackground {
  padding: 1px 5px;
  background: rgba(116, 62, 0, 0.18);
  border-radius: 16px;
  white-space: nowrap;
}
.prices__card--info {
  padding: 12px;
}
.prices__card--info::before {
  content: "";
  position: absolute;
  border-radius: 10%;
  right: -300%;
  bottom: -70%;
  width: 1000px;
  height: 1000px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.5s ease;
  transform: rotate(25deg);
  z-index: -1;
}
.prices__card--info:hover::before {
  right: 300%;
  bottom: -80%;
}
.prices__card--highlight {
  position: relative;
  left: -6px;
  background: #2EA18E;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 25px;
  display: inline-block;
  white-space: nowrap;
  font-size: 32px;
}
@media (max-width: 480px) {
  .prices__card--highlight {
    padding: 3px 8px;
    font-size: 0.9em;
  }
}
.prices__card--list {
  margin: 30px 0;
  list-style-type: disc;
  position: relative;
  left: -8px;
  text-align: left;
}
@media (max-width: 1024px) and (min-width: 768px) {
  .prices__card {
    flex: 0 0 calc((100% - 16px) / 2);
    font-size: 15px;
  }
  .prices__card--list {
    position: relative;
    left: -16px;
    text-align: left;
  }
}
@media (max-width: 768px) {
  .prices__card {
    flex: 0 0 100%;
    font-size: 12px;
  }
  .prices__card--list {
    position: relative;
    left: -16px;
    text-align: left;
  }
}
.prices__btn {
  color: #FE9249;
  border: 1px solid #FE9249;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  position: relative;
}
.prices__btn:hover {
  background: rgb(255, 223.9874285714, 212.6);
  transform: translateY(-2px);
}
.prices__btn:active {
  transform: translateY(0);
}
.prices__btn:disabled {
  color: lightgray;
  border: 1px solid lightgrey;
  cursor: not-allowed;
  transform: none;
}
.prices__btn:disabled:hover {
  background: none;
  transform: none;
}
@media (max-width: 1024px) {
  .prices__btn {
    font-size: 14px;
    padding: 8px;
  }
}
@media (max-width: 768px) {
  .prices__btn {
    font-size: 12px;
    padding: 4px;
  }
}
.prices__prev-btn::before {
  margin-right: 8px;
  font-size: 1.2em;
}
@media (max-width: 768px) {
  .prices__prev-btn::before {
    margin-right: 4px;
  }
}
.prices__next-btn::after {
  margin-left: 8px;
  font-size: 1.2em;
}
@media (max-width: 768px) {
  .prices__next-btn::after {
    margin-left: 4px;
  }
}
.prices__card:nth-child(2) {
  background: linear-gradient(145deg, #FE9249 0%, #ff861b 100%);
}
.prices__card:nth-child(3) {
  background: linear-gradient(145deg, #FE9249 0%, #ff861b 100%);
}
.prices__card:nth-child(4) {
  background: linear-gradient(145deg, #FE9249 0%, #ff861b 100%);
}
.prices__card:nth-child(5) {
  background: linear-gradient(145deg, #FE9249 0%, #ff861b 100%);
}

div.prices__card--textbackground {
  padding: 6px;
  width: 80%;
  margin: 10px auto;
}

h5.prices__card--small-title {
  margin-bottom: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.prices__card {
  animation: fadeInUp 0.6s ease forwards;
}
.prices__card:nth-child(1) {
  animation-delay: 0s;
}
.prices__card:nth-child(2) {
  animation-delay: 0.1s;
}
.prices__card:nth-child(3) {
  animation-delay: 0.2s;
}
.prices__card:nth-child(4) {
  animation-delay: 0.3s;
}
.prices__card:nth-child(5) {
  animation-delay: 0.4s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }
  * {
    -webkit-tap-highlight-color: transparent;
  }
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}
.map {
  display: flex;
  justify-content: center;
  margin: 100px 0;
}
.map__container {
  width: 80%;
  height: 600px;
  box-shadow: 2px 2px 20px -9px #FE9249, -5px -5px 25px #ffffff;
}
@media (max-width: 768px) {
  .map__container {
    max-width: 90%;
  }
}

.branch {
  max-width: 1200px;
  margin: 97.5px auto;
}
.branch h1 {
  text-align: center;
}
@media (max-width: 768px) {
  .branch h1 {
    font-size: 40px;
  }
}
.branch__container {
  margin: 20px auto;
  display: grid;
  gap: 30px;
  max-width: 1200px;
  padding: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1024px) {
  .branch__container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }
}
@media (max-width: 768px) {
  .branch__container {
    gap: 15px;
    padding: 10px;
  }
}
.branch__school {
  display: flex;
  gap: 20px;
  border-radius: 25px;
  box-shadow: 2px 2px 25px -9px #FE9249, -5px -5px 25px #ffffff;
  padding: 20px;
  min-height: 200px;
}
@media (max-width: 1024px) {
  .branch__school {
    padding: 15px;
    gap: 15px;
    min-height: 150px;
  }
}
@media (max-width: 768px) {
  .branch__school {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 15px;
    min-height: auto;
  }
}
.branch__school img {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
}
@media (max-width: 1024px) {
  .branch__school img {
    width: 150px;
    height: 100px;
  }
}
@media (max-width: 768px) {
  .branch__school img {
    width: 100%;
    max-width: 280px;
    height: 160px;
  }
}
.branch__school-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .branch__school-info {
    text-align: center;
  }
}
.branch__school-info h4 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .branch__school-info h4 {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .branch__school-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }
}
.branch__school-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}
@media (max-width: 768px) {
  .branch__school-info p {
    font-size: 13px;
  }
}

.intro {
  display: flex;
  justify-content: center;
  margin-top: 97.5px;
}
.intro__container {
  display: flex;
  max-width: 1200px;
  border-radius: 60px;
  box-shadow: 5px 5px 15px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}
@media (max-width: 768px) {
  .intro__container {
    flex-direction: column-reverse;
  }
}
.intro__container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 60px;
  background: linear-gradient(to right, #FE9249 0%, #FE9249 50%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0.2) 100%);
}
@media (max-width: 768px) {
  .intro__container::before {
    background: linear-gradient(to top, rgb(255, 140, 0) 0%, rgb(255, 136, 0) 60%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0.2) 100%);
  }
}
.intro__info {
  position: relative; /* Создаем контекст для позиционирования */
  color: black;
  background: linear-gradient(135deg, #ffffff 0%, #ffead5 100%);
  max-width: 55%;
  border-radius: 30px;
  padding: 30px 50px;
  margin: 60px 40px;
}
@media (max-width: 768px) {
  .intro__info {
    padding: 10px 20px;
    max-width: 100%;
    margin-top: 200px;
    margin-bottom: 20px;
  }
}
.intro__info h2 {
  font-size: 48px;
}
@media (max-width: 768px) {
  .intro__info h2 {
    font-size: 32px;
  }
}
.intro__info p {
  font-size: 25px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .intro__info p {
    font-size: 16px;
  }
}
.intro__image {
  position: absolute;
  max-width: 50%;
  height: 100%;
  border-radius: 60px;
  object-fit: cover;
  right: 0;
  z-index: -1;
}
@media (max-width: 768px) {
  .intro__image {
    height: 40%;
    width: 100%;
    top: 0;
    left: 0;
    max-width: none;
  }
}

.problems {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}
.problems__container {
  border-radius: 60px;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 50px;
  box-shadow: 5px 5px 15px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #ffead5 100%);
}
@media (max-width: 768px) {
  .problems__container {
    padding: 30px;
  }
}
.problems__list {
  list-style: none;
  padding: 0;
}
.problems__list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 50px; /* Место для иконки */
  margin: 10px 0;
  line-height: 1.5;
}
.problems__list li::before {
  content: ""; /* Обязательное свойство */
  position: absolute;
  left: 0;
  top: -5px;
  width: 30px;
  height: 30px;
  background-image: url("/imgs/star-mark-svg-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.courses {
  max-width: 1200px;
  margin: 0 auto;
}
.courses h1 {
  font-size: 60px;
  margin-top: 50px;
}
@media (max-width: 768px) {
  .courses h1 {
    font-size: 40px;
  }
}
.courses__container {
  margin: 100px 150px;
}
@media (max-width: 1024px) {
  .courses__container {
    margin: 40px;
  }
}
@media (max-width: 768px) {
  .courses__container {
    margin: 30px;
  }
}
.courses__info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.courses__cover-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 300px;
  border-radius: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #ffead5 100%);
  box-shadow: 2px 2px 15px -7px #FE9249, -5px -5px 15px #ffffff;
}
.courses__cover-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* заполняет весь блок, обрезая края */
}
.courses__preview-block {
  flex: 1 0 300px;
  box-sizing: border-box;
  padding: 20px 50px;
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
  border-radius: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #ffead5 100%);
  box-shadow: 2px 2px 15px -7px #FE9249, -5px -5px 15px #ffffff;
  font-size: 25px;
  font-weight: 500;
}
.courses__preview-block h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .courses__preview-block {
    font-size: 20px;
  }
}
.courses__details-block {
  flex-grow: 1;
  border-radius: 25px;
  margin: 30px 0;
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: 2px 2px 15px -7px #FE9249, -5px -5px 15px #ffffff;
  transition: max-height 0.3s ease-out;
}
.courses__details-block.modified {
  max-height: 4500px;
  transition: max-height 0.8s ease-in-out;
}
.courses__details-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ddd;
  border-radius: 40px;
  padding: 15px 60px;
  margin: 16px;
}
.courses__details-header p {
  margin-bottom: 0px;
}
.courses__details-header h1 {
  font-size: 40px;
  margin: 10px 0;
}
@media (max-width: 768px) {
  .courses__details-header {
    padding: 15px 15px;
  }
}
.courses__details-header-container {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px 50px;
}
.courses__details-cell {
  display: flex;
  gap: 20px;
  justify-content: start;
  align-items: center;
  font-size: 18px;
}
@media (max-width: 1024px) {
  .courses__details-cell {
    gap: 16px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .courses__details-cell {
    gap: 14px;
    font-size: 14px;
  }
}
.courses__details-body {
  padding: 10px 50px;
}
@media (max-width: 1024px) {
  .courses__details-body {
    padding: 30px;
  }
}
@media (max-width: 768px) {
  .courses__details-body {
    padding: 20px;
  }
}
.courses__details-body-list {
  list-style: circle;
  line-height: 2.2;
}
.courses__details-footer {
  background-color: #ddd;
  border-radius: 40px;
  padding: 15px 40px;
  margin: 16px;
}
.courses__details-footer p {
  text-indent: 1.5em;
}
@media (max-width: 768px) {
  .courses__details-footer {
    padding: 15px 15px;
  }
}
.courses__details-footer-list {
  list-style: none; /* Убираем стандартные маркеры */
  padding-left: 0;
}
.courses__details-footer-list li {
  position: relative;
  padding-left: 50px; /* Место для иконки */
  margin-bottom: 10px;
  line-height: 1.5;
}
.courses__details-footer-list li::before {
  content: ""; /* Обязательное свойство */
  position: absolute;
  left: 0;
  top: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-image: url("/imgs/checkmark-svg-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.courses__details-toggle-checkbox {
  display: none;
}
.courses__details-toggle-checkbox:checked + .courses__details-button {
  background-color: #0022fd;
  scale: 0.95;
  color: white;
}
.courses__details-toggle-checkbox:checked + .courses__details-button::before {
  content: "Скрыть";
}
.courses__details-button {
  background-color: #95E5FF;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  align-self: center;
  min-width: 120px;
  padding: 5px 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}
.courses__details-button:hover {
  background-color: #0022fd;
  color: white;
}
.courses__details-button::before {
  content: "Подробнее";
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal__content {
  background: linear-gradient(135deg, #ffffff 0%, #ffead5 100%);
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  top: 10%;
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 768px) {
  .modal__content {
    padding: 20px;
  }
}
.modal__image {
  width: 100%;
}
.modal__gratitude {
  text-align: center;
}
.close {
  background: wheat;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 0.9;
}

.close:hover {
  color: black;
}

.lfpp {
  box-sizing: border-box;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 65px;
  padding: 28px;
  background: #ffffff;
  color: #202122;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
}

.lfpp__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: inherit;
}

.lfpp__note {
  margin: 0 0 20px 0;
  font-size: 14px;
  font-style: italic;
  color: #333333;
}

.lfpp__subtitle {
  font-size: 18px;
  margin: 26px 0 10px 0;
  font-weight: 600;
}

.lfpp__section {
  margin-bottom: 18px;
  padding-left: 6px;
}

.lfpp__subheading {
  font-size: 16px;
  margin: 16px 0 8px 0;
  font-weight: 600;
}

.lfpp__paragraph {
  margin: 10px 0;
  font-size: 15px;
  color: #222;
}

/* Inline markers (like "а) б) в)") are part of the paragraph text.
   Do NOT wrap such paragraphs in <ul>/<ol>. Instead provide visual indent. */
.lfpp__paragraph--inline-marker {
  padding-left: 20px; /* visual offset to align with list appearance */
  text-indent: -4px; /* keep the marker at left */
  margin-bottom: 8px;
}

/* Bullet glyphs that are embedded in text (•, ●, -) should not be double-bulleted.
   We render them as simple paragraphs with a slight left offset. */
.lfpp__paragraph--bullet {
  padding-left: 20px;
  margin-bottom: 8px;
}

/* Explicit lists (constructed from actual list items in the source) */
.lfpp__list {
  margin: 10px 0 10px 24px;
  padding: 0;
  list-style: disc;
}

.lfpp__list--decimal {
  list-style-type: decimal;
  margin-left: 26px;
}

.lfpp__list-item {
  margin: 6px 0;
  font-size: 15px;
}

/* Divider */
.lfpp__divider {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 18px 0;
}

.lfpp__footer {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lfpp__small {
  font-size: 13px;
  color: #666;
  margin: 6px 0;
}

@media (max-width: 720px) {
  .lfpp {
    padding: 16px;
  }
  .lfpp__title {
    font-size: 20px;
  }
  .lfpp__subtitle {
    font-size: 16px;
  }
  .lfpp__paragraph,
  .lfpp__list-item {
    font-size: 14px;
  }
  .lfpp__note {
    font-size: 13px;
  }
}
@media (max-width: 420px) {
  .lfpp {
    padding: 12px;
  }
  .lfpp__title {
    font-size: 18px;
  }
  .lfpp__paragraph,
  .lfpp__list-item {
    font-size: 13px;
  }
}
.footer {
  position: relative;
  box-sizing: border-box;
  margin-top: auto;
  background: #f8f8f8;
  padding: 20px 15px;
  font-size: 14px;
  background: linear-gradient(180deg, #eee 0%, #ffead5 100%);
  border-top: 1px solid #ddd;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.footer__info {
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}
.footer__title {
  font-weight: 600;
  margin: 8px 0 3px 0;
  font-size: 12px;
}
.footer__text {
  margin: 0;
}
.footer__nav {
  margin-top: 5px;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.footer__link {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: color 0.2s;
}
.footer__link:hover {
  color: #007bff;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.2s;
}
.footer__contact:hover {
  color: #007bff;
}
.footer__contact .fa {
  margin-right: 4px;
}
.footer__dev-link {
  display: block;
  margin-top: 50px;
  color: #aaa;
  font-size: 12px;
}
.footer__site-dev {
  position: absolute;
  color: #aaa;
  font-size: 12px;
  bottom: 3px;
  right: 3%;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
  .footer__contacts {
    flex-direction: column;
    gap: 5px;
  }
}
.chinese-intro {
  margin: 0 auto;
  margin-top: 97.5px;
  display: flex;
  gap: 30px;
  max-width: 1200px;
  border-radius: 80px;
  background: linear-gradient(100deg, #fe9249 0%, #ff5252 100%);
  justify-content: center;
  align-items: center;
  padding: 50px;
  box-shadow: 3px 3px 20px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 1024px) {
  .chinese-intro {
    flex-direction: column;
    padding: 20px;
  }
}
.chinese-intro__info {
  color: #fffaf0;
  font-size: 24px;
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
  padding: 60px;
  box-sizing: border-box;
  position: relative;
}
.chinese-intro__info h1,
.chinese-intro__info h3,
.chinese-intro__info p {
  position: relative;
  z-index: 10;
}
.chinese-intro__info h1 {
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 30px;
}
.chinese-intro__info h3 {
  margin-bottom: 50px;
  font-weight: 600;
}
.chinese-intro__info p {
  font-weight: 400;
}
.chinese-intro__info::before {
  background-color: black;
  border-radius: 80px;
  opacity: 0.15;
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 1024px) {
  .chinese-intro__info {
    font-size: 18px;
  }
}
@media (max-width: 1024px) {
  .chinese-intro__info {
    font-size: 16px;
    padding: 40px;
  }
}

.video-container {
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 9/16;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  outline: none;
}

.controls-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 15px 15px 10px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.left-controls,
.right-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 5px;
}

.control-btn:hover {
  opacity: 1;
}

.play-pause {
  font-size: 18px;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  outline: none;
  transition: opacity 0.2s;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.progress-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin-top: 10px;
  cursor: pointer;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #ff0000;
  border-radius: 3px;
  transition: width 0.2s;
}

.time {
  color: white;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 5px;
}

.center-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s;
  border: none;
}

.center-big-play:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-container:hover .center-big-play {
  opacity: 1;
}

.video-container:hover .controls-container {
  opacity: 1;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Анимация загрузки */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #fff;
  animation: spin 1s linear infinite;
  display: none;
}

.instructions {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
}

.instructions h2 {
  margin-bottom: 10px;
  color: #2575fc;
  font-size: 1.3rem;
}

.instructions p {
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 0.9rem;
}

.instructions ul {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 15px;
}

.instructions li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.more {
  max-width: 1200px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.more > h1 {
  text-align: center;
}
.more__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .more__container {
    grid-template-columns: 1fr;
  }
}
.more__text {
  background-color: #eee;
  border-radius: 40px;
  padding: 20px 40px;
  min-height: 140px;
  display: flex;
  align-items: center;
}
.more__image-block {
  margin: 0 auto;
}
.more__image-1 {
  margin-top: 50px;
  width: 400px;
  transform: rotate(-3deg);
}
@media (max-width: 768px) {
  .more__image-1 {
    width: 300px;
  }
}
.more__image-2 {
  margin-top: 40px;
  width: 400px;
  transform: rotate(4deg);
}
@media (max-width: 768px) {
  .more__image-2 {
    width: 300px;
  }
}
.more::after {
  content: "";
  position: absolute;
  width: 6000px;
  height: 50%;
  bottom: 5%;
  transform: rotate(-15deg);
  background-color: #fe9249;
  z-index: -1;
}
