html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

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

ul {
  list-style: none;
}

button {
  padding: 0;
  border: none;
  background-color: transparent;
  border-radius: 0;
  cursor: pointer;
}

.animate-hover {
  background-color: #FFBD59;
  color: #272727;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.animate-hover:hover {
  background-color: #7B6152;
  color: #FFF;
}

.title {
  margin-bottom: 15px;
  font-family: 'Yeseva One', cursive;
  font-size: 40px;
  font-weight: 400;
}

.section {
  padding-bottom: 150px;
}

.button {
  padding: 18px 45px;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-weight: 600;
}

.menu__btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
}

.menu__btn span {
  height: 1px;
  width: 100%;
  background-color: #7B6152;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px;
}

.section--decor {
  position: relative;
}

.section--decor::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 30px;
  background-image: url("../images/section-decor.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section--decor::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 10px;
  width: 1000%;
  height: 1px;
  background-color: #7B6152;
}

/*-----------------------------------*/
/*-----------------------------------*/

.header,
.main {
  background-color: #FFF8F3;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.menu__list {
  display: flex;
  gap: 20px;
}

.menu__list-link {
  text-transform: uppercase;
}

.phone {
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  background-image: url("../images/phone.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 20px;
  height: 20px;
  left: -23px;
  top: -3px;
}

.main {
  overflow-x: clip;
}

.top {
  padding: 40px 0 150px;
}

.top__inner {
  position: relative;
}

.top__content {
  max-width: 370px;
  padding: 150px 0 250px;
}

.top__title {
  margin-bottom: 15px;
  font-family: 'Yeseva One', cursive;
  font-size: 30px;
  font-weight: 400;
}

.top__text {
  margin-bottom: 48px;
}

.top__buy {
  padding: 18px 45px;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-weight: 600;
}

.top__img {
  position: absolute;
  top: 0;
  left: 240px;
}

.about {
  padding: 50px 0 50px 0;
  margin-bottom: 150px;
  background-color: #A5978E;
  color: #FAFAFA;
}

.about__inner {
  display: flex;
  align-items: center;
}

.about__content {
  min-width: 370px;
}

.about__text:not(:last-child) {
  margin-bottom: 15px;
}

.about__items {
  display: flex;
  align-items: center;
  gap: 0 20px;
  padding: 0 0 48px 110px;
}


.about__item-img {
  margin-bottom: 10px;
}

.about__item-text {
  font-size: 11px;
}

.section__inner {
  display: grid;
  grid-template-columns: 370px auto;
}

.section__content-descr {
  display: grid;
  grid-template-columns: auto auto;
  padding-bottom: 92px;
}

.products__content {
  gap: 50px 90px;
}

.products__item {
  width: 290px;
  margin: 0 auto;
  text-align: center;
}

.products__item-img {
  margin-bottom: 8px;
}

.product__item-price,
.products__item-title {
  font-family: 'Yeseva One', cursive;
  font-weight: 400;
  font-size: 16px;
}

.product__item-price {
  margin-bottom: 12px;
}

.products__item-title {
  margin-bottom: 16px;
}

.products__item-text {
  min-height: 44px;
  margin-bottom: 27px;
  font-size: 12px;
}


.steps__list {
  gap: 70px 25px;
  counter-reset: number;
}

.steps__item {
  position: relative;
  display: flex;
  gap: 40px;
  list-style-type: none;
}

.steps__item::before {
  position: absolute;
  left: 0;
  bottom: 0;
  counter-increment: number;
  content: '0'counter(number);
  font-family: 'Yeseva One', cursive;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  color: #BEA495;
}

.steps__item:nth-child(n+10):before {
  content: counter(number);
}

.steps__item.steps__item--even::before {
  left: auto;
  right: 0;
}

.steps__item-text {
  flex-basis: 174px;
  padding-bottom: 40px;
}

.steps__item-img {
  object-fit: cover;
}

.courses__item-img {
  position: relative;
  font-size: 11px;
  font-family: 'Yeseva One', cursive;
  color: #fff;
}

.courses__priсe,
.courses__title,
.courses__time {
  position: absolute;
  background-color: #BEA495;
}

.courses__title {
  left: 10px;
  top: 45%;
  padding: 15px 15px;
}

.courses__time {
  left: 10px;
  top: 60%;
  padding: 7px 10px;
}

.courses__time span {
  font-family: 'Yeseva One', cursive;
  font-size: 10px;
}

.courses__priсe {
  right: 0;
  bottom: 2px;
  padding: 18px 10px;
}

.team {
  margin-bottom: 150px;
  padding: 61px 0 83px;
  background-color: #A5978E;
  color: #FFFFFF;
}

.team__content {
  padding-bottom: 0;
  gap: 75px;
}

.team__item {
  position: relative;
}

.team__item-box {
  position: absolute;
  bottom: 13px;
  right: 33px;
  width: 165px;
  z-index: 4;
  padding: 15px 10px 16px;
  background-color: #7B6152;
  text-align: center;
}

.team__item-name {
  font-family: 'Yeseva One', cursive;
  font-size: 12px;
}

.team__item-descr {
  font-size: 11px;
}


.feedback__content {
  padding-bottom: 110px;
}

.feedback__descr {
  margin-right: 16px;
}

.feedback__item {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 16px;
  align-items: center;
}

.feedback__item-video {
  position: relative;
}

.feedback__item-videobtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feedback__item-sociallink {
  margin-bottom: 12px;
}

.feedback__item-content {
  padding-bottom: 70px;
}

.feedback__item-name {
  margin-bottom: 15px;
  font-family: 'Yeseva One', cursive;
  font-size: 16px;
}

.feedback__item-text {
  margin-bottom: 15px;
}

.feedback__item-btn {
  position: absolute;
  font-family: 'Comfortaa', cursive;
  bottom: 10px;
  right: 5px;
  padding: 20px 35px;
}

.feedback__slider {
  width: 770px;
  overflow: hidden;
}

.feedback__content .swiper-pagination {
  bottom: 50px;
}

.swiper-pagination-bullet {
  background-color: #BEA495;
  width: 53px;
  height: 4px;
  border-radius: 0;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #7B6152;
}

.certificates__descr {
  margin-right: 16px;
}

.certificates__content {
  padding-bottom: 114px;
}

.certificates__slider {
  width: 1135px;
  overflow: hidden;
}

.certificates__content .swiper-pagination {
  bottom: 60px;
  text-align: left;
}


.accordeon__item {
  margin-bottom: 10px;
  background-color: #FAFAFA;
}

.accordeon__title {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 50px 16px 13px;
  text-align: left;
  background-color: transparent;
  font-family: 'Yeseva One', cursive;
  font-size: 16px;
}

.accordeon__title::after {
  position: absolute;
  content: "";
  right: 26px;
  top: 17px;
  width: 16px;
  height: 16px;
  background-image: url("../images/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.3s;
}

.accordeon__title.accordeon__title--active::after {
  transform: rotate(180deg);
}

.accordeon__text {
  opacity: 0;
  max-height: 0;
  transition: opacity .3s, max-height 0.3s;
}

.accordeon__box {
  padding: 20px 40px;
}

.accordeon__text.accordeon__text--visible {
  opacity: 1;
}

.promo {
  padding: 140px 0;
  background-image: url("../images/promo-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.promo__inner {
  display: flex;
  align-items: center;
}

.promo__text {
  max-width: 765px;
  margin-right: 110px;
  padding-left: 56px;
  font-family: 'Yeseva One', cursive;
  font-size: 40px;
  color: #fff;
}

.promo__link {
  display: inline-block;
  padding: 17px 45px;
  font-weight: 600;
  color: #272727;
  background-color: #FFBD59;
  white-space: nowrap;
}

.contacts {
  padding: 150px 0 50px;
}

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

.contacts__img {
  object-fit: cover;
}

.form {
  width: 664px;
  padding: 75px 42px 67px;
  background-color: #fff;
  margin-right: 40px;
}

.form__title {
  margin-bottom: 60px;
  font-family: 'Yeseva One', cursive;
  font-size: 40px;
}

.form__input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px 7px;
  background-color: #fff;
  color: #000;
  border: none;
  border-bottom: 1px solid #000;
  outline: transparent;
}

.form__input::placeholder {
  color: #B3B3B3;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
}

.form__btn {
  padding: 17px 34px;
  margin-top: 36px;
  font-family: 'Comfortaa', cursive;
  background-color: #FFBD59;
  color: #272727;
  font-size: 14px;
  font-weight: 600;
}

.footer {
  padding: 40px 0 35px;
}

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

.footer__contacts {
  display: flex;
  flex-direction: column;
  width: 230px;
}

.email {
  margin: 17px 0;
}

.footer__social {
  display: flex;
  gap: 15px;
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 1150px) {

  .section__inner {
    grid-template-columns: 290px auto;
    gap: 0 10px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top__content {
    max-width: 333px;
    padding: 95px 0 70px;
  }

  .top__text {
    margin-bottom: 30px;
  }

  .top__img {
    left: 300px;
  }

  .top__img-bg {
    max-width: 655px;
  }

  .about__content {
    min-width: 300px;
  }

  .about__items {
    padding: 0 0 48px 20px;
  }

  .products__content {
    gap: 67px;
  }

  .section__text {
    font-size: 10px;
  }

  .team__content {
    gap: 30px 20px;
  }

  .feedback__inner {
    grid-template-columns: 260px auto;
  }

  .steps__list {
    gap: 37px 35px;
  }

  .steps__item {
    gap: 0 30px;
  }

  .feedback__slider {
    width: 662px;
  }

  .feedback__item-content {
    width: 264px;
  }

  .feedback__item {
    grid-template-columns: 380px auto;
  }

  .certificates__content img {
    width: 280px;
  }

  .certificates__slider {
    width: 880px;
  }

  .feedback__item {
    grid-template-columns: 380px auto;
  }

  .promo__text {
    width: 610px;
  }

  .form {
    max-width: 592px;
    margin-right: 30px;
  }

  .contacts__img {
    max-width: 335px;
  }

  .form {
    padding: 55px 42px 55px;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/
@media (max-width: 980px) {
  .section__inner {
    grid-template-columns: 200px auto;
    gap: 0 10px;
  }

  .title {
    font-size: 15px;
  }

  .products__content {
    gap: 30px 16px;
  }

  .steps__list {
    gap: 25px 35px;
  }

  .steps__title {
    font-size: 30px;
  }

  .steps__item {
    gap: 0 20px;
  }

  .steps__item-img {
    width: 85px;
    height: 150px;
  }

  .steps__item-text {
    font-size: 8px;
  }

  .steps__item::before {
    font-size: 20px;
  }

  .promo__text {
    margin-right: 100px;
  }

}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 900px) {

  .footer__inner {
    flex-wrap: wrap;
  }

  .footer__contacts {
    width: 100%;
    padding-top: 15px;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .feedback__item {
    grid-template-columns: 200px auto;
  }

  .feedback__item-content {
    width: 100%;
    padding-bottom: 50px;
  }

  .feedback__item-video,
  .feedback__item-img {
    width: 200px;
  }

  .feedback__item-text {
    font-size: 10px;
  }

  .feedback__item-name {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .feedback__slider {
    width: 600px;
  }

  .feedback__item-btn.button {
    font-size: 8px;
    padding: 15px 20px;
  }

  .feedback__content .swiper-pagination {
    bottom: 70px;
  }

  .feedback__item-play {
    width: 50px;
  }


  .promo__text {
    width: 560px;
  }

}

/*-----------------------------------*/
/*-----------------------------------*/
@media (max-width: 840px) {
  body {
    font-size: 10px;
  }

  .phone::before {
    width: 14px;
    height: 14px;
    left: -16px;
    top: -2px;
  }

  .products__item {
    width: 200px;
  }

  .products__item-img {
    width: 200px;
    margin-bottom: 6px;
  }

  .courses__item-text {
    min-height: 58px;
  }

  .feedback__slider {
    width: 500px;
  }

  .promo {
    padding: 70px 0;
  }

  .promo__link {
    padding: 13px 28px;
    font-size: 12px;
  }

  .form__title {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .promo__text {
    padding-left: 33px;
    font-size: 15px;
  }

  .contacts__img {
    max-width: 247px;
  }

  .form {
    width: 440px;
    padding: 30px 22px;
    margin-right: 15px;
  }

  .contacts__img {
    max-width: 205px;
  }

  .accordeon__title::after {
    width: 13px;
    height: 13px;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 768px) {

  .container {
    max-width: 640px;
  }

  .top__content {
    max-width: 230px;
    padding: 95px 0 70px;
  }

  .top__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .top__text {
    margin-bottom: 20px;
  }

  .top__img {
    left: 180px;
  }

  .about__content {
    min-width: 200px;
  }

  .about__title {
    margin-bottom: 20px;
  }

  .about__items {
    margin-left: 27px;
    gap: 0 10px;
  }

  .about__item-img {
    margin-bottom: 6px;
  }

  .about__item-text {
    font-size: 6px;
  }

  .about__item-img--1,
  .about__item-img--3 {
    width: 120px;
  }

  .about__item-img--2 {
    width: 190px;
  }

  .product__item-price {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .products__item-title {
    font-size: 12px;
    margin-bottom: 9px;
  }

  .products__item-text {
    min-height: 29px;
    font-size: 8px;
    margin-bottom: 18px;
  }

  .button {
    font-size: 12px;
    padding: 12px 26px;
  }

  .courses__title {
    padding: 6px;
    left: -1px;
    top: 40%;
  }

  .courses__time {
    padding: 5px;
    left: -1px;
    top: 55%;
  }

  .courses__price {
    padding: 10px;
    bottom: 9px;
  }

  .team {
    padding: 50px 0;
  }

  .team__item {
    width: 143px;
    margin: 0 auto;
  }

  .team__content {
    gap: 30px 36px;
  }

  .team__img {
    width: 140px;
  }

  .team__item-box {
    bottom: 8px;
    right: -24px;
    width: 109px;
    padding: 9px 6px 10px;
  }

  .team__item-name {
    font-size: 8px;
  }

  .team__item-descr {
    font-size: 7px;
  }

  .team__item-box {
    right: auto;
    left: 80px;
  }

  .feedback__slider {
    width: 447px;
  }

  .feedback__item-content {
    width: 210px;
  }

  .feedback__item {
    align-items: start;
    gap: 0 10px;
  }

  .swiper-pagination-bullet {
    width: 28px;
  }

  .feedback__content .swiper-pagination {
    bottom: 45px;
  }

  .feedback__content {
    padding-bottom: 76px;
  }

  .contacts__img {
    max-width: 208px;
  }

  .accordeon__title {
    font-size: 12px;
  }

}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 640px) {
  .container {
    padding: 0 10px;
  }

  .header__menu-list {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    flex-direction: column;
    gap: 20 0px;
    width: 153px;
    padding: 25px 35px 25px 45px;
    background-color: #7B6152;
    color: #FFF8F3;
    transform: translateY(-150%);
    transition: transform 0.5s ease;
  }

  .header__menu-list.menu-open {
    transform: translateY(0%);
  }

  .menu__list-link {
    line-height: 1.5;
  }

  .menu__btn {
    display: flex;
  }

  .header__menu {
    order: 1;
  }

  .section__inner {
    display: block;
  }

  .section__descr {
    margin-bottom: 30px;
    text-align: center;
  }

  .about {
    margin-bottom: 50px;
  }

  .feedback__item-content {
    width: 100%;
  }

  .feedback__content {
    max-width: 420px;
    margin: 0 auto;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 500px) {
  .footer {
    padding: 50px 0;
    font-size: 14px;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__menu {
    padding: 50px 0;
    text-align: center;
  }

  .footer__menu-list {
    flex-direction: column;
  }

  .about__inner {
    align-items: flex-end;
  }

  .about__content {
    min-width: 170px;
  }

  .about__items {
    align-items: flex-end;
    gap: 0 5px;
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 10px;
  }

  .about__item-text {
    display: none;
  }

  .about__item-img {
    margin-bottom: 0;
  }

  .about__item-img--1,
  .about__item-img--3 {
    width: 80px;
  }

  .about__item-img--2 {
    width: 140px;
  }

  .section {
    padding-bottom: 50px;
  }

  .team__content {
    gap: 30px 25px;
  }

  .team__content.section__content-descr {
    padding-bottom: 0;
  }

  .certificates__content {
    padding-bottom: 84px;
  }

  .certificates__content .swiper-pagination {
    text-align: center;
    bottom: 50px;
  }

  .certificates__content img {
    width: 200px;
  }

  .certificates__content img {
    margin: 0 auto;
  }

  .certificates__slider {
    width: 420px;
    margin: 0 auto;
  }

  .promo__link {
    padding: 11px 16px;
    font-size: 8px;
  }

  .form {
    margin-right: 0;
    width: 100%;
  }

  .contacts__img {
    display: none;
  }

  .form__input::placeholder {
    font-size: 10px;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 480px) {
  .top {
    padding: 30px 0 50px;
  }

  .top__content {
    width: 180px;
  }

  .top__title {
    margin-bottom: 15px;
    font-size: 15px;
  }

  .top__text {
    margin-bottom: 15px;
    font-size: 8px;
  }

  .top__img {
    left: 167px;
  }

  .top__img-bg {
    width: 308px;
  }

  .top__buy {
    padding: 14px 41px;
    font-size: 10px;
  }

  .section__descr {
    margin: 0 auto 30px;
    width: 300px;
  }

  .section__content-descr {
    padding-bottom: 62px;
  }

  .steps__list {
    gap: 25px 40px;
  }

  .team {
    margin-bottom: 50px;
  }

  .promo {
    padding: 42px 0;
  }

  .promo__text {
    margin-right: 51px;
  }

  .contacts {
    padding-top: 50px;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 420px) {
  .steps__list {
    gap: 20px 25px;
  }

  .steps__item {
    gap: 0 16px;
  }

  .steps__item-img {
    height: 100px;
    width: 66px;
  }

  .products__content {
    gap: 40px 7px;
  }

  .products__item {
    width: 150px;
  }

  .products__item-img {
    width: 150px;
  }

  .button {
    font-size: 8px;
    padding: 10px 22px;
  }

  .product__item-price {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .products__item-title {
    font-size: 10px;
  }

  .products__item-text {
    min-height: 39px;
    margin-bottom: 16px;
  }

  .courses__content {
    grid-template-columns: auto;
  }

  .courses__item,
  .courses__item img {
    width: 255px;
  }

  .courses__item-title {
    font-size: 12px;
  }

  .courses__item-text {
    font-size: 10px;
  }

  .courses__btn {
    padding: 13px 16px;
    font-size: 12px;
  }

  .team__content {
    grid-template-columns: auto;
  }

  .team__item {
    margin: 0;
  }

  .team__img {
    width: 204px;
  }

  .team__item-box {
    width: 151px;
    bottom: 15px;
    left: 148px;
  }

  .team__item-name {
    font-size: 12px;
  }

  .team__item-descr {
    font-size: 10px;
  }

  .certificates__slider {
    width: 200px;
  }

  .feedback__item {
    grid-template-columns: auto;
    text-align: center;
  }

  .feedback__slider {
    width: 250px;
    margin: 0 auto;
  }

  .feedback__item-img {
    width: 250px;
    margin: 0 auto 12px;
  }

  .feedback__item-video {
    width: 250px;
  }

  .feedback__item-name {
    font-size: 12px;
  }

  .feedback__item-text {
    margin-bottom: 20px;
  }

  .feedback__item-sociallink {
    display: inline-block;
  }

  .feedback__item-btn {
    bottom: 0;
    left: 0;
    max-width: 124px;
    width: 100%;
    margin: 0 auto;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/
@media (max-width: 380px) {
  body {
    font-size: 8px;
  }

  .top__content {
    width: 200px;
    padding: 20px 0 0;
  }

  .top__title {
    font-size: 18px;
  }

  .top__text {
    font-size: 10px;
  }

  .top__img {
    left: auto;
    right: 0;
    top: 0;
  }

  .top__img-bg {
    width: 185px;
  }

  .about {
    padding: 25px 0 10px;
  }

  .about__content {
    min-width: 233px;
  }

  .title {
    margin-bottom: 10px;
  }

  .about__text:not(:last-child) {
    margin-bottom: 12px;
  }

  .about__items {
    padding-left: 12px;
    margin-left: 12px;
    gap: 0 15px;
    padding-bottom: 30px;
  }

  .about__item--hid {
    display: none;
  }

  .section__descr {
    margin: 0 auto 25px;
    width: 235px;
  }

  .accordeon__title {
    font-size: 10px;
  }

  .accordeon__title::after {
    width: 10px;
    height: 10px;
  }
}

/*-----------------------------------*/
/*-----------------------------------*/

@media (max-width: 350px) {
  .top__img-bg {
    width: 148px;
  }

  .about__item-img {
    width: 60px;
  }

  .about__items {
    margin-left: 0;
  }

  .steps__item-text {
    font-size: 6px;
  }

}