 .u-section-1 {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('images/4_traced.png');
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}

.u-section-1 .u-sheet-1 {
  min-height: 1439px;
}

.u-section-1 .head-text {
  letter-spacing: 1px;
  font-size: 2rem;
  line-height: 1.0;
  font-weight: 700;
  margin: 18px 44px 0 24px;
}

.u-section-1 .u-group-1 {
  height: auto;
  min-height: 588px;
  --radius: 50px;
  width: 1096px;
  margin: 25px auto 0 0;
}

.u-section-1 .u-container-layout-1 {
  padding: 16px 5px;
}

.u-section-1 .u-text-2 {
  font-size: 1.875rem;
  line-height: 1.4;
  font-weight: 400;
  margin: 0 441px 0 42px;
}

.u-section-1 .u-image-1 {
  width: 274px;
  height: 274px;
  margin: -537px 30px 0 auto;
}

.u-section-1 .u-text-3 {
  text-transform: none;
  line-height: 1.4;
  margin: -17px 30px 0 778px;
}

.u-section-1 .u-shape-1 {
  width: 900px;
  height: 422px;
  margin: 42px auto 0 94px;
}

.u-section-1 .u-text-4 {
  margin: -411px 455px 0 504px;
}

.u-section-1 .u-text-5 {
  font-weight: 700;
  margin: 94px 301px 0 209px;
}

.u-section-1 .u-text-6 {
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  text-decoration: underline !important;
  margin: -273px 259px 0 260px;
}

.u-section-1 .u-btn-1 {
  background-image: none;
  font-weight: 700;
  font-size: 2.25rem;
  margin: 205px auto 24px 189px;
  padding: 13px 16px 14px;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1582px;
  }

  .u-section-1 .u-text-1 {
    margin-right: 0;
    margin-left: 0;
  }

  .u-section-1 .u-group-1 {
    --radius: 15px;
    width: 940px;
    height: auto;
  }

  .u-section-1 .u-text-2 {
    margin-top: 10px;
    margin-right: 327px;
    margin-left: 0;
  }

  .u-section-1 .u-image-1 {
    margin-top: -577px;
  }

  .u-section-1 .u-text-3 {
    margin-top: 33px;
    margin-right: 50px;
    margin-left: 622px;
  }

  .u-section-1 .u-shape-1 {
    margin-left: 40px;
  }

  .u-section-1 .u-text-4 {
    margin-right: 355px;
    margin-left: 404px;
  }

  .u-section-1 .u-text-5 {
    margin-right: 201px;
    margin-left: 109px;
  }

  .u-section-1 .u-text-6 {
    margin-right: 159px;
    margin-left: 160px;
  }

  .u-section-1 .u-btn-1 {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1636px;
  }

  .u-section-1 .u-group-1 {
    width: 720px;
  }

  .u-section-1 .u-text-2 {
    margin-right: 107px;
  }

  .u-section-1 .u-text-3 {
    margin-left: 402px;
  }

  .u-section-1 .u-shape-1 {
    width: 720px;
    margin-left: 0;
  }

  .u-section-1 .u-text-4 {
    margin-right: 245px;
    margin-left: 294px;
  }

  .u-section-1 .u-text-5 {
    margin-right: 90px;
    margin-left: 0;
  }

  .u-section-1 .u-text-6 {
    margin-right: 49px;
    margin-left: 50px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1695px;
  }

  .u-section-1 .u-text-1 {
    font-size: 2.6666666666666665rem;
  }

  .u-section-1 .u-group-1 {
    width: 540px;
  }

  .u-section-1 .u-text-2 {
    font-size: 1.6666666666666665rem;
    margin-right: 0;
  }

  .u-section-1 .u-text-3 {
    margin-top: 98px;
    margin-left: 222px;
  }

  .u-section-1 .u-shape-1 {
    width: 540px;
  }

  .u-section-1 .u-text-4 {
    margin-right: 155px;
    margin-left: 204px;
  }

  .u-section-1 .u-text-5 {
    margin-right: 0;
  }

  .u-section-1 .u-text-6 {
    font-size: 2rem;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 2041px;
  }

  .u-section-1 .u-group-1 {
    width: 340px;
  }

  .u-section-1 .u-text-2 {
    margin-top: 35px;
  }

  .u-section-1 .u-text-3 {
    margin-top: -225px;
    margin-left: 22px;
  }

  .u-section-1 .u-shape-1 {
    width: 340px;
  }

  .u-section-1 .u-text-4 {
    margin-right: 55px;
    margin-left: 104px;
  }
}.u-section-2 .u-sheet-1 {
  min-height: 238px;
}

.u-section-2 .u-text-1 {
  font-weight: 900;
  width: 769px;
  margin: 40px auto;
}

@media (max-width: 991px) {
  .u-section-2 .u-text-1 {
    width: 720px;
  }
}

@media (max-width: 767px) {
  .u-section-2 .u-text-1 {
    width: 540px;
  }
}

@media (max-width: 575px) {
  .u-section-2 .u-text-1 {
    width: 340px;
  }
}.u-section-3 .u-sheet-1 {
  min-height: 465px;
  margin-bottom: 0;
}

.u-section-3 .u-gallery-1 {
  height: 375px;
  width: 860px;
  margin: 9px auto 60px;
}

.u-section-3 .u-gallery-inner-1 {
  --gap: 10px;
  grid-template-columns: repeat(3, auto);
}

.u-section-3 .u-over-slide-1 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-3 .u-over-slide-2 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-3 .u-over-slide-3 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-3 .u-over-slide-4 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-3 .u-over-slide-5 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-3 .u-over-slide-6 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

@media (max-width: 991px) {
  .u-section-3 .u-sheet-1 {
    min-height: 796px;
  }

  .u-section-3 .u-gallery-1 {
    height: 706px;
    width: 720px;
  }

  .u-section-3 .u-gallery-inner-1 {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 767px) {
  .u-section-3 .u-sheet-1 {
    min-height: 2208px;
  }

  .u-section-3 .u-gallery-1 {
    height: 2118px;
    width: 540px;
  }

  .u-section-3 .u-gallery-inner-1 {
    grid-template-columns: repeat(1, auto);
  }
}

@media (max-width: 575px) {
  .u-section-3 .u-sheet-1 {
    min-height: 1424px;
  }

  .u-section-3 .u-gallery-1 {
    height: 1334px;
    width: 340px;
  }
} .u-section-4 {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.u-section-4 .u-sheet-1 {
  min-height: 431px;
}

.u-section-4 .u-text-1 {
  font-size: 4.5rem;
  width: 773px;
  margin: 23px auto 0;
}

.u-section-4 .u-text-2 {
  line-height: 1.8;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 217px 57px 244px;
}

@media (max-width: 1199px) {
  .u-section-4 .u-sheet-1 {
    min-height: 341px;
  }

  .u-section-4 .u-text-1 {
    margin-left: 84px;
    margin-right: 84px;
  }

  .u-section-4 .u-text-2 {
    width: 680px;
    margin-right: 116px;
    margin-left: 144px;
  }
}

@media (max-width: 991px) {
  .u-section-4 .u-text-1 {
    margin-left: 0;
    margin-right: 0;
    width: 720px;
  }

  .u-section-4 .u-text-2 {
    margin-right: 6px;
    margin-left: 34px;
  }
}

@media (max-width: 767px) {
  .u-section-4 .u-text-1 {
    font-size: 2.25rem;
    width: 540px;
  }

  .u-section-4 .u-text-2 {
    font-size: 1.3333333333333333rem;
    margin-left: 0;
    margin-right: 0;
    width: 540px;
  }
}

@media (max-width: 575px) {
  .u-section-4 .u-text-1 {
    font-size: 1.875rem;
    width: 340px;
  }

  .u-section-4 .u-text-2 {
    width: 340px;
  }
}.u-section-5 .u-sheet-1 {
  min-height: 589px;
}

.u-section-5 .u-text-1 {
  font-weight: 700;
  text-transform: none;
  margin: 36px auto 0;
}

.u-section-5 .u-accordion-1 {
  width: 879px;
  margin: 30px auto 0;
}

.u-section-5 .u-accordion-link-1 {
  font-weight: 700;
  padding: 25px 20px;
}

.u-section-5 .u-icon-1 {
  height: 15px;
  width: 15px;
  background-image: none;
  color: rgb(255, 255, 255) !important;
}

.u-section-5 .u-accordion-pane-1 {
  min-height: 150px;
}

.u-section-5 .u-container-layout-1 {
  padding: 30px 20px 20px;
}

.u-section-5 .u-accordion-link-2 {
  font-weight: 700;
  padding: 25px 20px;
}

.u-section-5 .u-icon-2 {
  height: 15px;
  width: 15px;
  background-image: none;
  color: rgb(255, 255, 255) !important;
}

.u-section-5 .u-accordion-pane-2 {
  min-height: 150px;
}

.u-section-5 .u-container-layout-2 {
  padding: 30px 20px 20px;
}

.u-section-5 .u-accordion-link-3 {
  font-weight: 700;
  padding: 25px 20px;
}

.u-section-5 .u-icon-3 {
  height: 15px;
  width: 15px;
  background-image: none;
  color: rgb(255, 255, 255) !important;
}

.u-section-5 .u-accordion-pane-3 {
  min-height: 150px;
}

.u-section-5 .u-container-layout-3 {
  padding: 30px 20px 20px;
}

.u-section-5 .u-btn-1 {
  background-image: none;
  font-weight: 700;
  font-size: 2.25rem;
  margin: 83px auto 50px;
  padding: 13px 16px 14px;
}

@media (max-width: 991px) {
  .u-section-5 .u-text-1 {
    margin-left: 44px;
    margin-right: 44px;
  }

  .u-section-5 .u-accordion-1 {
    width: 720px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .u-section-5 .u-text-1 {
    margin-left: 51px;
    margin-right: 51px;
  }

  .u-section-5 .u-accordion-1 {
    width: 540px;
  }
}

@media (max-width: 575px) {
  .u-section-5 .u-text-1 {
    margin-left: 0;
    margin-right: 0;
  }

  .u-section-5 .u-accordion-1 {
    width: 340px;
  }
}

/* Адаптив importmath - <1320px */
@media (max-width: 1319px) {
  /* Прячем текст "import math - твой репетитор" */
  .u-header .u-text-1 {
    display: none !important;
  }

  /* Прячем текстовую кнопку "войти", показываем иконку */
  header .u-btn-1 {
    display: none !important;
  }

  header .u-btn-login-icon {
    display: flex !important;
    position: absolute !important;
    right: 175px !important;  /* 20px левее кнопки записи (155px + padding) */
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100;
  }

  header .u-btn-login-icon img {
    height: 42px !important;
    width: auto !important;
  }

  /* Кнопка записи - меняем текст */
  header .u-btn-2 .btn-text-full {
    display: none !important;
  }

  header .u-btn-2 .btn-text-short {
    display: inline !important;
  }
}

/* Десктоп - показываем всё нормально */
@media (min-width: 1320px) {
  header .u-btn-login-icon {
    display: none !important;
  }

  header .u-btn-2 .btn-text-short {
    display: none !important;
  }

  header .u-btn-2 .btn-text-full {
    display: inline !important;
  }
}

/* Адаптив страницы при 600-1250px */
@media (max-width: 1249px) and (min-width: 601px) {
  /* Убираем волнистую линию */
  .u-shape-1,
  .u-shape {
    display: none !important;
  }
  
  /* Делаем контейнер прозрачным */
  .u-section-1 .u-group-1 {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Первый блок текста - средний размер, по центру, темно-синий */
  .u-section-1 .u-text-1 {
    text-align: center !important;
    font-size: 2.25rem !important;
  }
  
  /* Второй блок - просто текст по центру, чёрный */
  .u-section-1 .u-text-2 {
    font-size: 1.125rem !important;
    color: #000000 !important;
    text-align: center !important;
  }
  
  /* Скрываем галочки */
  .u-section-1 .u-list-icon {
    display: none !important;
  }
  
  /* Убираем маркеры списка и выравниваем по центру */
  .u-section-1 .u-text-2 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  
  .u-section-1 .u-text-2 li {
    display: inline !important;
    margin: 0 10px !important;
  }
  }
  
  /* Сдвигаем цены ниже */
  .u-section-1 .u-text-4 {
    margin-top: 50px !important;
  }
  
  /* Скрываем портрет и имя */
  .u-section-1 .u-image-1 {
    display: none !important;
  }
  
  .u-section-1 .u-text-3 {
    display: none !important;
  }
  
  /* Отзывы */
  .u-section-2 .u-text-1 {
    color: #0659b8 !important;
  }
  
  /* Секция "Что изучаем" */
  .u-section-4 .u-text-1,
  .u-section-4 .u-text-2 {
    color: #0659b8 !important;
  }
  
  /* FAQ */
  .u-section-5 .u-text-1 {
    color: #0659b8 !important;
  }
}

/* Адаптив страницы при <600px */
@media screen and (max-width: 600px) {
  /* Убираем волнистую линию */
  .u-shape-1,
  .u-shape {
    display: none !important;
  }
  
  /* Делаем контейнер прозрачным */
  .u-section-1 .u-group-1 {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Первый блок текста - вдвое меньше десктопа, по центру */
  .u-section-1 .u-text-1 {
    text-align: center !important;
    font-size: 1.5rem !important;
  }

  /* Гарантированно переопределяем все другие.media-запросы */
  .u-section-1 .u-text-1 {
    font-size: 1.5rem !important;
  }
  
  /* Второй блок - просто текст по центру, чёрный */
  .u-section-1 .u-text-2 {
    font-size: 1rem !important;
    color: #000000 !important;
    text-align: center !important;
  }
  
  /* Скрываем галочки */
  .u-section-1 .u-list-icon {
    display: none !important;
  }
  
  /* Убираем маркеры списка */
  .u-section-1 .u-text-2 ul {
    list-style: none !important;
    padding: 0 !important;
  }
  
  .u-section-1 .u-text-2 li {
    display: block !important;
    margin: 5px 0 !important;
  }
  
  /* Разделитель */
  .u-section-1 .u-sheet-1::after {
    content: "";
    display: block;
    width: 60%;
    margin: 30px auto;
    border-bottom: 2px dashed #000000;
  }
  
  .u-section-1 .u-text-4,
  .u-section-1 .u-text-5,
  .u-section-1 .u-text-6 {
    color: #000000 !important;
  }
  
  /* Сдвигаем цены ниже */
  .u-section-1 .u-text-4 {
    margin-top: 50px !important;
  }
  
  /* Скрываем портрет и имя */
  .u-section-1 .u-image-1 {
    display: none !important;
  }
  
  .u-section-1 .u-text-3 {
    display: none !important;
  }
  
  /* Разделитель */
  .u-section-1 .u-sheet-1::after {
    content: "";
    display: block;
    width: 60%;
    margin: 30px auto;
    border-bottom: 2px dashed #0659b8;
  }
  
  .u-section-1 .u-text-4,
  .u-section-1 .u-text-5,
  .u-section-1 .u-text-6 {
    color: #0659b8 !important;
  }
  
  /* Отзывы */
  .u-section-2 .u-text-1 {
    color: #0659b8 !important;
  }
  
  /* Секция "Что изучаем" */
  .u-section-4 .u-text-1,
  .u-section-4 .u-text-2 {
    color: #0659b8 !important;
  }
  
  /* FAQ */
  .u-section-5 .u-text-1 {
    color: #0659b8 !important;
  }
}