:root {
  --items: 1;
  --gap: 16px;
  --border-radius: 8px;
  /* colors */
  --color-light: #e2e8f0;
  --color-dark-blue: #1c2541;
  --color-ligth-orange: #ffd280;
  /* var */
  --text-body: var(--color-dark-blue);
  --bg-body: var(--color-light);
}

*,
:before,
:after {
  box-sizing: border-box;
  transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  border: none;
}

html {
  --plr: 16px;
  --header-h: 60px;
  --scroll-padding-top: var(--header-h, 60px);

  height: 100%;

  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeSpeed;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding-top);
}
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* padding-top: var(--scroll-padding-top); */

  color: var(--text-body);
  background: var(--bg-body);

  &.isLoading,
  &.modalIsOpen,
  &.burgerMenuIsOpen {
    overflow-y: hidden;
  }
}
main {
  contain: paint;
  position: relative;
}
footer {
  margin-top: auto;
}

nav,
header,
footer,
section {
  display: block;
}

svg,
img,
picture {
  display: block;
  max-width: 100%;
}
img {
  vertical-align: top;
}
ol,
ul,
li {
  list-style: none;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  overflow-wrap: break-word;
}
select,
textarea,
input {
  font: inherit;
  color: inherit;
  background-color: transparent;
}
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;

  &[disabled] {
    cursor: auto;
  }
}
:before,
:after,
svg,
span {
  pointer-events: none;
}

.section {
  padding: 40px 0;
}
.container {
  width: 100%;
  padding: 0 var(--plr);
  margin: 0 auto;
}
.section-title,
.page-title {
  font-optical-sizing: auto;
  font-weight: 700;
  text-transform: uppercase;
}
.page-title {
  font-size: 20px;

  & .max {
    font-size: 40px;
  }
}
.section-title {
  font-size: 24px;
  line-height: 1.5;
  padding: 4px 0;
}
.block-title {
  font-size: 18px;
}
.section-subtitle {
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
}
.decore-text {
  font-family: 'Caveat', cursive;
  font-optical-sizing: auto;

  font-size: 24px;
  font-style: normal;
  font-weight: 500;
}
.title-wrap {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  gap: 6px;
  margin-bottom: 40px;
}
.title-wrap--center {
  align-items: center;
  text-align: center;
}
.title-wrap--decor {
  padding-bottom: 20px;
}
.deci {
  --padding: 8px;
  position: relative;
  z-index: 1;

  display: inline-block;
  padding: 0 var(--padding);

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;

    display: block;
    width: 100%;
    height: calc(100% + var(--padding));

    background-color: var(--color-ligth-orange);
    border-radius: var(--border-radius);
  }
}

.logo {
  flex-shrink: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: fit-content;

  svg {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}
.swiper-pagination-bullets,
.btn,
.burger-menu-btn,
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger-menu-btn {
  position: relative;

  width: 40px;
  height: 40px;

  &::before,
  &::after {
    content: '';

    position: absolute;

    display: block;
    width: 26px;
    height: 2px;

    border-radius: 4px;
    background-color: currentColor;
    transition-property: transform;
    transition-duration: 0.4s;
  }
  &::before {
    transform: translateY(-3px);
  }
  &::after {
    transform: translateY(3px);
  }
  &.active::before {
    transform: rotate(-45deg);
  }
  &.active::after {
    transform: rotate(45deg);
  }
}
.swiper-btn {
  width: 60px;
  height: 60px;

  border-radius: 50%;

  &[disabled] svg {
    opacity: 0.4;
  }
}
.swiper-btn-prev {
  & svg {
    transform: rotate(180deg);
  }
}
.swiper-pagination-bullets {
  width: fit-content;
  margin: 0 auto;

  & .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    background: #e2e8f0;
    opacity: 1;
  }

  & .swiper-pagination-bullet-active {
    background: var(--color-dark-blue);
  }
}

.cta {
  height: 60px;
  width: 100%;
  max-width: fit-content;
  padding: 0 24px;
  margin-left: auto;
  margin-right: auto;

  text-align: center;
  /* font-size: 18px; */
  font-weight: 500;
  text-transform: uppercase;

  border-radius: var(--border-radius);
}
.cta--light {
  color: var(--color-dark-blue);
  background-color: var(--color-light);
}
.cta--dark {
  color: var(--color-light);
  background-color: var(--color-dark-blue);
}
.cta--accent {
  color: var(--color-dark-blue);
  background-color: var(--color-ligth-orange);
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;

  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-transform: lowercase;

  & svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  &:hover {
    /* text-decoration-color: var(--color-ligth-orange); */

    & svg {
      transform: translateX(10px);
    }
  }
}

.nav__list {
  display: flex;

  .header & {
    align-items: center;
    gap: 24px;
  }
  .footer & {
    flex-direction: column;
    gap: 8px
  }
  .burger-menu & {
    flex-direction: column;
    gap: 24px;
  }
}
.nav__link {
  .header & {
    font-size: 20px;
  }
  /* .footer & { } */
  .burger-menu & {
    font-size: 20px;
  }

}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  overflow-y: scroll;

  &::before {
    content: '';

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;

    display: block;
    width: 100%;
    height: 100%;

    background-color: var(--bg-body);
    /* opacity: 0.7; */
  }
}
.loader__backdrop {
  .isHidden & {
    display: none;
  }
}
.loader__content {
  margin: auto;
}
.lds-roller {
  position: relative;
  display: inline-block;

  width: 80px;
  height: 80px;

  div {
    transform-origin: 40px 40px;
    animation: 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite lds-roller;

    &:after {
      content: ' ';
      position: absolute;

      display: block;
      width: 7px;
      height: 7px;
      margin: -4px 0 0 -4px;

      background-color: var(--text-body);
      border-radius: 50%;
    }
    &:nth-child(1) {
      animation-delay: -0.036s;

      &:after {
        top: 63px;
        left: 63px;
      }
    }
    &:nth-child(2) {
      animation-delay: -0.072s;

      &:after {
        top: 68px;
        left: 56px;
      }
    }
    &:nth-child(3) {
      animation-delay: -0.108s;

      &:after {
        top: 71px;
        left: 48px;
      }
    }
    &:nth-child(4) {
      animation-delay: -0.144s;

      &:after {
        top: 72px;
        left: 40px;
      }
    }
    &:nth-child(5) {
      animation-delay: -0.18s;

      &:after {
        top: 71px;
        left: 32px;
      }
    }
    &:nth-child(6) {
      animation-delay: -0.216s;

      &:after {
        top: 68px;
        left: 24px;
      }
    }
    &:nth-child(7) {
      animation-delay: -0.252s;

      &:after {
        top: 63px;
        left: 17px;
      }
    }
    &:nth-child(8) {
      animation-delay: -0.288s;

      &:after {
        top: 56px;
        left: 12px;
      }
    }
  }
}
@keyframes lds-roller {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.visually-hidden {
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.cardset {
  gap: var(--gap);
  flex-wrap: wrap;
  display: flex;
}
.cardset__item {
  flex-basis: calc((100% - var(--gap, 16px) * (var(--items, 1) - 1)) / var(--items, 1));
  width: calc((100% - var(--gap, 16px) * (var(--items, 1) - 1)) / var(--items, 1));
}
.hover-line {
  position: relative;

  &:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 100%;
    max-width: 0;
    height: 1px;

    background-color: currentColor;
    transition: 0.2s ease;
  }

  &:hover:before {
    max-width: 100%;
  }
}

.accordion__content {
  grid-template-rows: 0fr;
  display: grid;
  transition: 0.4s ease;

  [data-accordion-box].active & {
    grid-template-rows: 1fr;
  }
}
.accordion__content-inner {
  overflow: hidden;
  /* pointer-events: none; */

  /* [data-accordion-box].active & {
    overflow: visible;
    pointer-events: all;
  } */
}

.sm {
  width: fit-content;
}

.sm__list {
  display: flex;
  align-items: center;
  gap: 16px;

  svg {
    width: 24px;
height: 24px;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;

  width: 100%;
  height: var(--header-h);
  color: var(--color-light);
  background: var(--color-dark-blue);
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
  height: 100%;
}
.header__nav {
  display: none;
}
.header__cta {
  display: none;
}
.header__logo {
  margin-right: auto;
}

.burger-menu {
  &.isHidden {
    pointer-events: none;
    visibility: hidden;
  }
}
.burger-menu__backdrop {
  align-items: flex-end;
  &::before {
    background-color: var(--color-dark-blue);
  }
}
.burger-menu__container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  max-width: 390px;
  min-width: 240px;
  height: 100%;
  min-height: fit-content;
  padding: 0 16px;
  margin: 0;

  background-color: var(--color-light);
  transition: 0.4s ease;

  .isHidden & {
    transform: translateX(101%);
  }
}
.burger-menu__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.burger-menu__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--header-h);
}
.burger-menu__content {
  padding-top: 20px;
}
.burger-menu-btn {
  .burger-menu & {
    margin-left: auto;
  }
}

.footer {
  padding: 20px 0;

  color: var(--color-light);

  border-radius: 20px 20px 0 0;
  background: var(--color-dark-blue);
}
.footer__top {
  margin-bottom: 32px;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-box-wrap {
  --gap: 32px;
}
.footer-box--logo {
  margin-bottom: 12px;
}
.footer-logo__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer__logo {
  width: 62px;
  height: 73px;
}
.footer-logo__text {
  text-align: center;
}
.sm {
  .footer & {
    margin: 12px auto 0;
  }
}

.footer-box__title {

  margin-bottom: 16px;
font-weight: 600;
text-transform: uppercase;
}

.modal__backdrop {
  align-items: center;
  height: 100vh;
  padding: 16px;

  transition: 0.3s ease;

  &::before {
    /* background: #fdf7f3; */
    background: #1c2541;
    opacity: 0.9;
  }

  .isHidden & {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}
.modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 16px;
  width: 100%;
  max-width: 425px;
  height: fit-content;
  margin: auto;

  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.25);

  .isHidden & {
    transform: scale(0.8);
    opacity: 0;
  }
}
.modal__title {
  margin-bottom: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}
.modal__subtitle {
  font-size: 14px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}
.modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;

  background-color: transparent;

  &::before,
  &::after {
    content: '';

    position: absolute;

    display: block;
    width: 20px;
    height: 2px;

    border-radius: 4px;
    background-color: currentColor;
    transition-property: transform;
    transition-duration: 0.4s;
  }
  &::before {
    transform: rotate(-45deg);
  }
  &::after {
    transform: rotate(45deg);
  }
}
.modal__text {
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.label-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.input-text {
  display: flex;
  align-items: center;
  display: flex;
  width: 100%;
  height: 44px;
  padding: 12px;

  border-radius: 8px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;

  &:focus-within {
    outline: none;
    border-color: var(--color-dark-blue);
  }
}
.form-btn-submit {
  max-width: 100%;
  margin: 0;
}
.agreement {
  color: rgba(28, 37, 65, 0.4);
  text-align: center;
  font-family: Onest;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;

  a {
    text-decoration-line: underline;
  }
}

@media (min-width: 425px) {
  .container {
    width: 425px;
  }
}
@media (min-width: 768px) {
  html {
    --plr: 40px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding: 80px 0;
  }
  .container {
    width: 768px;
  }
  .page-title {
    font-size: 24px;

    & .max {
      font-size: 52px;
    }
  }
  .section-title {
    font-size: 32px;
  }
  .section-subtitle {
    font-size: 18px;
  }

  .modal__content {
    max-width: 480px;
    padding: 40px;
    border-radius: 40px;
  }

  .modal__title {
    font-size: 32px;
  }
  .modal__subtitle {
    font-size: 18px;
  }

  .header__cta {
    display: flex;
    margin: 0;
    height: 40px;
    font-size: 12px;
  }

  .footer {
    padding: 40px 0 20px;
    border-radius: 40px 40px 0 0;
  }

  .footer__top {
    margin-bottom: 40px;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-box-wrap {
    --items: 3;
    --gap: 60px;
    row-gap: 40px;
  }
  .footer-box--logo {
     --items: 1;

     display: flex;
     justify-content: space-between;
  }
  .footer-box--contacts {
    order: 4;
  }
  .sm {
    .footer & {
      margin: 0;

    }
  }
  .footer-logo__wrap {
    flex-direction: row;
    gap: 20px;
  }
  .footer-logo__text {
    text-align: start;
  }
}
@media (min-width: 1440px) {
  html {
    --plr: 100px;
    --header-h: 80px;
  }
  body {
    font-size: 20px;
  }
  .section {
    padding: 100px 0;
  }
  .container {
    width: 1440px;
  }
  .block-title {
    font-size: 24px;
  }
  .section-subtitle {
    font-size: 24px;
  }

  .burger-menu-btn {
    .header & {
      display: none;
    }
  }
  .header__nav {
    display: block;
  }

    .footer {
    padding: 60px 0 20px;
    border-radius: 60px 60px 0 0;
  }
  .footer-box {
    flex-basis: 200px;
    width: 200px;
  }

  .footer-box--logo {
    flex-direction: column;
        flex-basis: 440px;
    width: 440px;
    margin-right: auto;
    flex-shrink: 0;
  }
}



.hero,
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero {
  --hero-p-top: 40px;
  padding-top: calc(var(--hero-p-top) + var(--header-h));
  padding-bottom: 60px;
  min-height: 500px;

  color: var(--color-light);

  background-color: var(--color-dark-blue);
  border-radius: 0 0 20px 20px;
}
.hero__title {
  display: flex;
  flex-direction: column;
}
.hero__title-wrap {
  gap: 16px;
  margin-bottom: 60px;
}
.hero__decor-text {
  margin-top: 20px;
  position: relative;
  transform: rotate(-12deg);
}
.hero__text-wrap {
display: flex;
flex-direction: column;
gap: 4px;
}
.hero__cta {
  margin-top: auto;
}

.format {
  background: #e2e8f0;
}
.format-box-tabs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.format-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 12px 32px;

  border-radius: 16px;
  background: #fdf7f3;
}
.format-box__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 10px;

  font-weight: 500;

  border-radius: 8px;
  background: #e2e8f0;
  pointer-events: none;
}
.format-box__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.format-box__item {
  position: relative;
  padding-left: 18px;

  svg {
    position: absolute;
    top: 2px;
    left: 0;

    display: block;
    width: 10px;
    height: 10px;
    fill: currentColor;
  }
}

.prices {
  background: #e2e8f0;
}
.prices__text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;

  text-align: center;
}
.prices-box-tabs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  margin-bottom: 40px;

  border-radius: 16px;
  background: #fdf7f3;
}
.prices-box-tabs-nav {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1px;

  border-radius: 12px;
  overflow: hidden;
}
.prices-box__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px;
  width: 100%;

  font-weight: 500;

  background: #e2e8f0;

  &.active {
    color: #e2e8f0;
    background: #1c2541;
  }
}
.prices-box-tabs-content {
  position: relative;
  padding-bottom: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fff;
}
.prices-box-tabs-content__head {
  display: flex;
  align-items: center;
  gap: 1px;
}
.prices-box-tabs-content__title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;

  color: #1c2541;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;

  border: 1px solid #fff;
  background: #fff;
}
.prices-box {
  position: absolute;
  width: 100%;
  height: 120px;

  opacity: 0;

  &[data-tab].active {
    opacity: 1;
  }
}
.prices-box__list {
  display: flex;
  flex-direction: column;
  gap: 1;
}
.prices-box__item {
  display: flex;
  gap: 1;

  span {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;

    &:not(:last-child)::before {
      content: '';

      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);

      display: block;
      width: 1px;
      height: 20px;

      background: #fff;
    }
  }

  &:not(:last-of-type) {
    border-bottom: 1px solid #fff;
  }
}

.for {
  border-radius: 20px;
  background: #fdf7f3;
}
.for-grid {
  display: grid;
  gap: 24px;
}
.for-grid-item {
  border-radius: 16px;
  overflow: hidden;

  &:nth-of-type(4) {
    grid-row-start: 1;
  }
  &:nth-of-type(5) {
    grid-row-start: 3;
  }
  &:nth-of-type(6) {
    grid-row-start: 5;
  }
}
.for-grid-item--text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 12px 24px 12px;

  border-radius: 16px;
  background: #fff;
}
.for-grid-item--img {
  position: relative;

  height: 204px;

  &::before {
    content: '';

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: rgba(28, 37, 65, 0.32);
  }
}
.for-grid-item:nth-child(n + 7) {
  display: none;
}
.for-grid__img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}
.for-grid-item__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;

  border-radius: 8px;
  background: #fdf7f3;
}
.for-grid-item__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.for-grid-item__item {
  position: relative;
  padding-left: 18px;

  svg {
    position: absolute;
    top: 2px;
    left: 0;

    display: block;
    width: 10px;
    height: 10px;
    fill: currentColor;
  }
}

.faq {
  background: #fdf7f3;
}
.faq__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--color-dark-blue);
}
.faq__btn {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: 16px;

  text-align: start;

  /* border-radius: 8px; */
  border-radius: 8px 8px 0 0;
  transition: 0.4s ease;

  & svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: 0.2s ease;
  }

  [data-accordion-box].active & {
    transform: translateY(16px);
    color: var(--color-light);
    background-color: var(--color-dark-blue);

    & svg {
      transform: rotate(180deg);
    }
  }
}
.faq__desc {
  padding: 16px;
  padding-top: 32px;

  [data-accordion-box].active & {
    background-color: var(--color-light);
  }
}

.tutors {
  border-radius: 20px;
  background: #fdf7f3;
}
.tutor {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 16px 20px;

  border-radius: 16px;
  background: #fff;
}
.tutor__img {
  width: 100%;
  height: 400px;

  object-fit: cover;
  border-radius: 8px;
}
.tutor__name {
  margin-bottom: 8px;

  color: #1c2541;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.tutor__text {
  text-align: center;
}
.tutors-swiper-actions-box {
  margin-top: 12px;
}
.tutors__link-arrow {
  margin-top: 40px;
  margin-left: auto;
}

.reviews {
  background: #e2e8f0;
}
.review {
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: initial;

  border-radius: 16px;
  background: #fff;
}
.review__top {
  height: 16px;
  margin-bottom: 10px;
}
.stars {
  display: flex;
  align-items: center;
  gap: 1px;

  & .star svg {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
  }
}
.review__text {
  margin-bottom: 40px;
}
.review__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: auto;
}
.review__name {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
}
.review__about {
  color: #a19999;
  white-space: pre-line;
}

.reviews-swiper-actions-box {
  margin-top: 12px;
}
.reviews-swiper-btn {
  background: #fff;
}
.reviews-pagination {
  & .swiper-pagination-bullet {
    background: #fff;
  }
  & .swiper-pagination-bullet-active {
    background: var(--color-dark-blue);
  }
}
.reviews-swiper-btn-wrap {
  display: none;
}

.reviews__link-arrow {
  /* margin-top: 40px; */
  margin-left: auto;
}
.reviews__cta {
  margin-top: 40px;
}

.contacts {
  background: #fdf7f3;
}
.contacts__content {
  padding: 60px 20px;

  border-radius: 20px;
  background: #e2e8f0;
}
.contacts__box-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts__text {
  text-align: center;
  line-height: 150%;
}
.form-feedback {
  padding: 20px 20px 40px;

  border-radius: 8px;
  background: #fff;

  textarea {
    height: 80px;
    padding: 12px;
    resize: vertical;
  }

  .agreement {
    font-size: 10px;

    br {
      display: none;
    }
  }
}

@media (min-width: 425px) {
  .prices__text {
    br {
      display: none;
    }
  }
}

@media (min-width: 768px) {
  .hero {
    border-radius: 0 0 40px 40px;
  }

  .format-box-tabs {
    position: relative;

    flex-direction: row;
    gap: 1px;
    padding: 32px;

    border-radius: 32px;
    background: #fdf7f3;
  }
  .format-box {
    width: 100%;
    padding: 0;
    padding-bottom: calc(32px + 90px);

    border-radius: 0;
    background: none;
  }
  .format-box__title {
    border-radius: 0;
    cursor: pointer;
    pointer-events: all;

    .format-box:first-of-type & {
      border-radius: 16px 0 0 16px;
    }
    .format-box:last-of-type & {
      border-radius: 0 16px 16px 0;
    }

    [data-tab].active & {
      color: #e2e8f0;
      background: #1c2541;
    }
  }
  .format-box__desc {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 0;

    [data-tab].active & {
      opacity: 1;
    }
  }
  .format-box__item {
    svg {
      top: 4px;
    }
  }

  .prices-box-tabs {
    gap: 32px;
    padding: 32px;

    border-radius: 32px;
  }
  .prices-box-tabs-nav {
    flex-direction: row;
  }
  .prices-box__title {
    height: 60px;
    cursor: pointer;
  }
  .prices-box-tabs-content__title {
    height: 40px;
  }

  .for-grid {
    grid-template-columns: 244px auto 244px;
    grid-template-rows: 1fr;
  }
  .for-grid-item {
    &:nth-of-type(1) {
      grid-column-start: 1;
      grid-column-end: 3;
    }
    &:nth-of-type(2) {
      grid-column-start: 2;
      grid-column-end: 4;
      grid-row-start: 2;
    }
    &:nth-of-type(3) {
      grid-column-start: 1;
      grid-column-end: 3;
      grid-row-start: 3;
    }
    &:nth-of-type(4),
    &:nth-of-type(5),
    &:nth-of-type(6) {
      grid-row-start: initial;
    }
  }
  .for-grid-item--img {
    height: initial;
  }
  .for-grid-item__title {
    padding: 0 16px;
    justify-content: flex-start;
  }
  .for-grid-item__item {
    svg {
      top: 4px;
    }
  }

  .tutors-swiper-actions-box {
    display: none;
  }
  .tutors-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .tutors-grid-item {
    grid-row: span 3;

    &:nth-of-type(1) {
      grid-row-start: 1;
      grid-row-end: 4;
    }
    &:nth-of-type(2) {
      grid-row-start: 2;
      grid-row-end: 5;
    }
    &:nth-of-type(3) {
      grid-row-start: 4;
      grid-row-end: 7;
    }
    &:nth-of-type(4) {
      grid-row-start: 5;
      grid-row-end: 8;
    }
    &:nth-of-type(5) {
      grid-row-start: 7;
      grid-row-end: 10;
    }
    &:nth-of-type(6) {
      grid-row-start: 8;
      grid-row-end: 11;
    }
  }
  .tutor {
    gap: 24px;
    padding: 20px 20px 24px;
  }
  .tutor__img {
    height: auto;
  }

  .contacts__content {
    padding: 60px;
    border-radius: 40px;
  }
  .contacts__box-wrap {
    gap: 40px;
  }
  .form-feedback {
    padding: 40px 40px 60px;
    border-radius: 16px;

    .agreement {
      font-size: 12px;

      br {
        display: initial;
      }
    }
  }
}
@media (min-width: 1440px) {
  .hero {
    border-radius: 0 0 60px 60px;
  }
  .hero__text-wrap {
    flex-direction: row;
    gap: 24px;

    p {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    p:not(:first-child)::before {
      content: "";

      display: block;
      width: 8px;
      height: 8px;

      border-radius: 50%;
      background-color: currentColor;
    }
  }

  .format-box-tabs,
  .prices-box-tabs {
    padding: 60px;
  }
  .format-box__title,
  .prices-box__title {
    height: 80px;
  }

  .format-box {
    padding-bottom: calc(32px + 100px);
  }
  .format-box__item {
    padding-left: 24px;
    & svg {
      width: 16px;
      height: 16px;
    }
  }

  .for__title-wrap {
    align-items: flex-start;
    text-align: start;
  }
  .for-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 288px);
    gap: 32px;
  }
  .for-grid-item:nth-child(n + 7) {
    display: initial;
  }
  .for-grid-item {
    &:nth-of-type(1) {
      grid-column-start: 1;
      grid-column-end: 3;
    }
    &:nth-of-type(2) {
      grid-column-start: 2;
      grid-column-end: 4;
    }
    &:nth-of-type(3) {
      grid-column-start: 3;
      grid-column-end: 5;
    }
    &:nth-of-type(7) {
      grid-row-start: 1;
      grid-column-start: 4;
      grid-column-end: 5;
    }
    &:nth-of-type(8) {
      grid-row-start: 2;
      grid-column-start: 4;
      grid-column-end: 5;
    }
    &:nth-of-type(9) {
      grid-row-start: 3;
      grid-column-start: 1;
      grid-column-end: 2;
    }
  }
  .for-grid-item--text {
    padding: 32px;
    gap: 32px;
  }
  .for-grid-item__item {
    padding-left: 24px;
    & svg {
      width: 16px;
      height: 16px;
    }
  }

  .tutors-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .tutors-grid-item {
    &:nth-of-type(3) {
      grid-row-start: 3;
      grid-row-end: 6;
    }
    &:nth-of-type(4) {
      grid-row-start: 4;
      grid-row-end: 7;
    }
    &:nth-of-type(5) {
      grid-row-start: 5;
      grid-row-end: 8;
    }
    &:nth-of-type(6) {
      grid-row-start: 6;
      grid-row-end: 9;
    }
  }
  .tutor {
    gap: 32px;
    padding: 24px 24px 32px;
  }

  .reviews-swiper-wrap {
    position: relative;
  }
  .reviews-swiper-actions-box {
    margin-top: 24px;
  }
  .reviews-swiper-btn-wrap {
    position: absolute;
    top: -100px;
    right: 0;
    z-index: 2;

    display: flex;
    gap: 20px;
  }

  .contacts__content {
    padding: 80px;
  }
  .contacts__box-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .contacts__title-wrap {
    align-items: flex-start;
    text-align: start;
  }
  .contacts__text {
    text-align: start;
  }
  .form-feedback {
    flex-shrink: 0;
    width: 480px;

    .agreement {
      font-size: 12px;

      br {
        display: none;
      }
    }
  }
}
