@media screen and (max-width: 1440px) {
  .after_bg {
    position: absolute;
    width: 570px;
    left: -45px;
  }
}

@media screen and (max-width: 1220px) {
  .container {
    width: 1024px;
  }

  .reviews--left {
    gap: 75px;
  }

  .plan {
    background-image: url(../imgmk/bg_6.webp);
    background-position: center right 10px;
    min-height: 550px;
  }

  .menu {
    display: block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
    z-index: 5;
  }

  button.menu {
    border-radius: 60px;
    background: #000;
    padding: 6px;
    width: 43px;
    height: 42px;
  }

  .line {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    transition:
      stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }

  .line2 {
    stroke-dasharray: 60 75;
    stroke-width: 6;
    stroke-dashoffset: -134;
    border-radius: 40px;
  }

  .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }

  .opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }

  .opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -90;
    stroke-width: 6;
  }

  .opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }

  .heade-menu ul {
    gap: 0px;
  }

  .heade-menu.burger {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    padding-bottom: 100px;
    z-index: 5;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 145px;
    background-color: rgba(160, 162, 164);
    /* background-image: url(../imgmk/mob-bg.webp); */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
  }

  .heade-menu ul li::before {
    content: "";
    display: none;
  }

  .burger .wrap__logo,
  .burger .black-button {
    display: none;
  }

  .burger.active {
    left: 0;
  }

  .heade-menu.burger ul {
    flex-direction: column;
    justify-content: start;
    width: 100%;
    text-align: center;
    gap: 30px;
  }

  .heade-menu.burger ul li {
    padding: 0;
  }

  div.menu {
    padding: 20px 0;
  }

  div.menu>div {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .title_hero,
  .title_hero span {
    font-size: 35px;
    min-width: auto;
  }

  .after-r__item .num {
    font-size: 55px;
  }

  /* .tarif__item:nth-child(1) {
    background-position: bottom right -190px;
  } */
  .tarif__item:nth-child(3),
  .tarif__item:nth-child(2) {
    background-position: bottom right -90px;
  }

  .title,
  .title span {
    font-size: 35px;
  }

  .about-img {
    max-width: 780px;
  }

  .about_wrap {
    padding: 90px 65px 60px 60px;
  }

  .about-r {
    width: 420px;
    gap: 125px;
  }
}

@media screen and (max-width: 1044px) {
  .container {
    width: 800px;
  }

  .reviews .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
  }

  .reviews--left {
    gap: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .reviews-right {
    max-width: none;
  }

  .gallery .black-button {
    flex-shrink: 0;
  }

  .environment-course .hero_bg {
    max-width: 100%;
  }

  .hero_bg {
    max-width: 69%;
    bottom: 30px;
  }

  .hero__inner {
    padding-top: 50px;
  }

  .after_bg {
    position: absolute;
    width: 500px;
    left: -92px;
  }

  .tarif__item {
    gap: 100px;
  }

  .title_hero span {
    font-size: 30px;
  }

  .title_hero {
    font-size: 25px;
  }

  .hero {
    padding: 100px 0 68px;
  }

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

  .text_description,
  .text_description span {
    font-size: 16px;
    width: 310px;
  }

  .hero_b-descr {
    font-size: 16px;
    margin-top: 10px;
  }

  .hero_b-start {
    margin: 15px 0;
    gap: 18px;
    font-size: 16px;
  }

  .environment-course .hero_b-start {
    margin: 0;
  }

  .environment-course .hero_bottom-text,
  .environment-course .hero_bottom-text span {
    margin-bottom: 15px !important;
  }

  .text-btn {
    padding: 15px 30px;
    gap: 10px;
    font-size: 16px;
  }

  .arow-btn {
    width: 47px;
    height: 47px;
  }

  .hero_bottom-l {
    width: 440px;
  }

  .hero_bottom-r span {
    font-size: 18px;
    padding: 6px 10px;
  }

  .course-fit__item p {
    font-size: 16px;
  }

  .course_bg {
    top: 40px;
  }

  .course-fit__bottom-item span {
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 16px;
  }

  .after-l {
    width: 300px;
  }

  .title,
  .title span {
    font-size: 28px;
  }

  .after-r__item .text .text-title,
  .after-r__item .text .text-descr {
    font-size: 16px;
  }

  .after-r__item .num {
    font-size: 36px;
  }

  .after_descr {
    margin-top: 15px;
    font-size: 16px;
  }

  .tarif-title,
  .tarif-title span {
    font-size: 24px;
  }

  .tarif__item-b .price {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .tarif__item-t ul li>div {
    font-size: 16px;
  }

  .tarif__item-t__block>div {
    font-size: 14px;
  }

  .tarif__item-b .price span {
    font-size: 14px;
  }

  .plan-bottom__wrap-i .right ul li div {
    font-size: 16px;
  }

  .plan-bottom__wrap-i .left .l-title {
    font-size: 16px;
  }

  .about_wrap {
    gap: 25px;
    padding: 30px 20px 0px;
    flex-direction: column;
  }

  .about-img {
    position: relative;
  }

  .about-l {
    max-width: 100%;
    gap: 25px;
  }

  .about-l_bottom>div {
    padding: 10px 20px;
    font-size: 16px;
  }

  .about-r {
    width: 100%;
    gap: 30px;
  }

  .about-r__img {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 0px;
  }

  .environment-course .about-img {
    left: 0;
  }

  .environment-course .about-r__img {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .environment-course .about_wrap {
    padding: 30px 20px 0 20px;
  }

  .environment-course .about-r {
    gap: 30px;
  }

  .about-r__img .img {
    padding: 13px;
  }

  .about-r_top p {
    margin-top: 15px;
    font-size: 16px;
  }

  .text-btn svg {
    width: 15px;
    height: 15px;
    aspect-ratio: 1/1;
  }

  .benefit-item p {
    font-size: 16px;
  }

  .faq-top_title {
    font-size: 20px;
  }

  .main-footer .container {
    flex-wrap: wrap;
  }

  .plan-subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 840px) {
  .container {
    width: 600px;
  }

  .gallery_wrap {
    margin-top: 40px;
  }

  .reviews--btn {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav {
    width: 40px;
    height: 40px;
    padding: 5px;
  }

  .raiting p {
    font-size: 14px;
  }

  .raiting img {
    width: 100px;
  }

  .reviews--left_top .img {
    width: 115px;
    flex-shrink: 0;
  }

  .stay_wrapper {
    gap: 15px;
  }

  .stay_text {
    margin-bottom: 5px;
  }

  .environment-course .about-r__img .img img {
    width: 55px;
    flex-shrink: 0;
  }

  /* .tarif__item:nth-child(1) {
    background-position: bottom right -290px;
  } */
  .after-l {
    position: static;
    height: auto;
  }

  .hero {
    padding: 80px 0 30px;
    height: 95vh;
  }

  .hero_bg {
    top: 273px;
    width: 95%;
    max-width: none;
    bottom: auto;
    right: 13px;
  }

  .environment-course .hero_bg {
    right: 0;
    top: 225px;
    width: 100%;
  }

  .hero_bottom-r {
    gap: 20px;
    justify-content: flex-start;
    width: 440px;
  }

  .stay_wrapper {
    width: 100%;
    min-width: auto;
  }

  .stay_title,
  .stay_title * {
    font-size: 30px;
  }

  .environment-course .benefit_wrap {
    grid-template-columns: 1fr;
  }

  .environment-course .benefit_wrap .benefit-item:nth-child(1) {
    grid-column: span 1;
  }

  .pre-last {
    background-size: auto;
  }

  .stay_text,
  .stay_list li {
    font-size: 14px;
  }

  .contact_footer>div {
    margin-top: 40px;
  }

  .footer__inner {
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero_center {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .text_description,
  .text_description span {
    font-size: 14px;
    width: 100%;
    text-align: start;
  }

  .wrap__logo {
    width: 158px;
    height: 33.247px;
  }

  .header .text-btn {
    padding: 10px;
    font-size: 14px;
  }

  button.menu {
    border-radius: 60px;
    background: #000;
    padding: 4px;
    width: 35px;
    height: 35px;
  }

  .hero_bottom {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
    justify-content: flex-end;
  }

  .title_hero {
    font-size: 24px;
  }

  .hero_bottom-text,
  .hero_bottom-text span {
    font-size: 16px;
  }

  .hero_b-descr {
    font-size: 14px;
    margin-top: 10px;
  }

  .data {
    font-size: 16px;
  }

  .course-fit_wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
  }

  .section_top {
    margin-top: 70px;
  }

  .course-fit__item p {
    font-size: 14px;
  }

  .course-fit .container {
    gap: 40px;
  }

  .title,
  .title span {
    font-size: 24px;
  }

  .course-fit__bottom .text {
    font-size: 18px;
  }

  .course-fit__bottom-item span {
    font-size: 14px;
  }

  .after-course .container {
    gap: 200px;
    flex-direction: column;
    overflow: hidden;
  }

  .environment-course .tarif__item-new img {
    object-fit: contain;
    height: auto;
  }

  .environment-course .tarif__item-new {
    grid-column: span 1;
    max-height: fit-content;
  }


  .environment-course .after-course .container {
    gap: 405px;
  }

  .after-l {
    width: 100%;
  }

  .after_bg {
    max-width: 690px;
    left: 30px;
    top: -50px;
  }

  .after-r__item {
    gap: 10px;
    padding: 20px 15px;
  }

  .tarif__item:nth-child(1) .black-button {
    max-width: 100%;
  }

  .tarif__wrap {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(1, 1fr);
  }

  .environment-course .tarif__wrap {
    display: grid;
    grid-template-rows: 1fr 1fr;
  }

  .environment-course .plan {
    background-size: cover;
  }

  .environment-course .plan-content-title,
  .environment-course .plan-content-time {
    font-size: 14px;
  }

  .tarif__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 20px;
    gap: 18px;
  }

  .text-btn {
    font-size: 14px;
  }

  .plan-wrap {
    margin-top: 40px;
    gap: 10px;
  }

  .plan-top_title {
    font-size: 16px;
  }

  .plan-bottom__wrap-i .right ul {
    gap: 10px;
  }

  .time {
    font-size: 14px;
  }

  .plan .data {
    font-size: 14px;
  }

  .plan-bottom__wrap-i .right ul li div {
    font-size: 14px;
  }

  .plan {
    background-image: url(../imgmk/bg_6.webp);
    background-position: center right;
    background-size: 480px;
    min-height: 430px;
  }

  .about-title,
  .about-title span {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-l_bottom>div {
    font-size: 14px;
  }

  .about-r__title,
  .about-r__title span {
    font-size: 16px;
  }

  .about-r_top p {
    font-size: 14px;
  }

  .last-bg {
    background-size: cover;
    background-position: center bottom;
  }

  .main-footer .container {
    padding-bottom: 20px;
    flex-direction: column;
  }

  .benefit_wrap {
    margin-top: 40px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .benefit_wrap .benefit-item:nth-child(1) {
    grid-column: 1;
  }

  .benefit-item p {
    font-size: 14px;
  }

  .questions .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form .black-button {
    margin-top: 30px;
  }

  .questions-r .text {
    margin-top: 15px;
    font-size: 14px;
  }

  .questions-l,
  .questions-r {
    padding: 30px 20px;
  }

  .questions .title,
  .questions .title span {
    font-size: 30px;
  }

  .questions .contact_footer div .img {
    width: 56px;
    height: 56px;
  }

  .faq-top_title {
    font-size: 16px;
  }

  .f-top {
    gap: 20px;
  }

  .faq_wrap {
    margin-top: 40px;
    gap: 20px;
  }

  .f-bottom>div {
    font-size: 14px;
  }

  .contact_footer div .img {
    width: 43px;
    height: 43px;
  }

  .footer_social-title,
  .footer_social-title span {
    color: #fff;
    font-size: 14px;
    max-width: 310px;
    width: 100%;
  }

  .footer_social-wrap .img {
    width: 40px;
    height: 40px;
  }

  .footer_social-wrap .img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .after-r_wrap {
    height: auto;
    overflow: visible;
  }

  .mk-simple-text * {
    margin-top: 15px;
    line-height: 28px;
    font-size: 16px;
  }

  .after-r__item .text {
    gap: 10px;
  }

  .environment-course .tarif__wrap {
    grid-template-rows: auto;
  }
}

@media screen and (max-width: 640px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }

  .gallery_wrap .swiper-slide {
    max-height: 192px;
    border-radius: 10px;
  }

  .environment-course .last-bg-img {
    top: 0;
  }

  .environment-course .last-bg-img img {
    min-height: 100%;
    width: auto;
  }

  .last-bg-img {
    position: absolute;
    bottom: -5px;
    left: 0;
    top: 120vh;
  }

  .hero__inner {
    padding-top: 30px;
  }

  .plan-bottom span {
    display: block;
    height: 20px;
  }

  .plan {
    min-height: 505px;
    background-position: bottom right -18px;
  }

  .questions .contact_footer div .img {
    width: 40px;
    height: 40px;
  }

  .contact_footer>div {
    margin-top: 25px;
  }

  .plan-close,
  .f-close {
    width: 20px;
    height: 20px;
  }

  .tarif__item:nth-child(2) {
    background-position: bottom right -140px;
  }

  .tarif__item:nth-child(3) {
    background-position: bottom right -120px;
  }

  .environment-course .tarif__item:nth-child(1),
  .environment-course .tarif__item:nth-child(2) {
    background-position: bottom right -75px;
  }

  /* .tarif__item:nth-child(1) {
    background-position: bottom right -350px;
  } */
  .plan-bottom__wrap-i {
    grid-template-columns: 1fr;
  }

  .hero_bottom-r {
    gap: 10px;
    width: 100%;
  }

  .arow-btn svg {
    width: 16px;
    height: 16px;
  }

  .course_bg {
    top: 25%;
  }

  .environment-course .course_bg {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    top: 0;
  }

  .environment-course .course_bg img {
    min-height: 100%;
    width: auto;
  }

  .after_bg {
    width: 100%;
    max-width: 530px;
    left: 10px;
    top: 0px;
  }

  .environment-course .after_bg {
    max-width: 335px;
    top: 5%;
  }

  .environment-course .tarif--border {
    font-size: 14px;
  }

  .tarif--border {
    padding: 8px 16px;
  }

  .after-r__item .text .text-title,
  .after-r__item .text .text-descr {
    font-size: 14px;
  }

  .after-r__item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .after-r__item .line {
    width: 45px;
    height: 2px;
  }

  .footer__inner {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero_bottom-l {
    width: 100%;
  }

  .hero_bottom-r .text {
    font-size: 14px;
  }

  .hero_bottom-r span {
    font-size: 16px;
    padding: 6px 10px;
  }

  .text-btn {
    padding: 15px 20px;
    gap: 10px;
  }

  .title_hero em {
    display: inline !important;
  }
}

@media screen and (max-width: 500px) {
  .reviews--left {
    gap: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .gallery--top {
    gap: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
  }
}

@media screen and (max-width: 360px) {
  .hero_bg {
    top: 295px;
    width: 95%;
  }

  .after_bg {
    max-width: 530px;
    left: -40px;
    top: 110px;
  }
}

@media screen and (max-width: 600px) {
  .header .text-btn {
    padding: 10px;
    font-size: 12px;
  }

  .wrap__logo {
    width: 145px;
    height: 33.247px;
  }

  div.menu>div {
    display: flex;
    gap: 4px;
    align-items: center;
  }
}

@media (max-height: 730px) and (min-height: 610px) and (min-width: 700px) and (max-width: 1300px) {
  .hero {
    padding: 120px 0 50px;
  }

  .title_hero {
    font-size: 35px;
  }

  .title_hero span {
    font-size: 40px;
  }

  .hero_bg {
    top: 130px;
    width: 85%;
  }
}
/*/
  Promotion
/*/
@media screen and (max-width: 1044px){
  .sub_hero_banner{
    width: 440px;
  }
  .page-darck .tarif__item-b .price span{
    font-size: unset;
  }
}
@media(max-width: 640px){
  .sub_hero_banner{
    width: 100%;
  }
}
/*/
  Promotion end
/*/