@charset "UTF-8";

:root {
  --color-blue: #3d5a80;
  --color-blue-light: #98c1d9;
  --color-light: #fbfaf6;
  --color-accent-light: #ffddd2;
  --color-accent: #e29578;
  --color-accent-contrast: #ee6c4d;
  --color-dark: #293241;
  --color-nutri: #41b619;
  --p: 40px;
  --max-width: 1622px;
  --max-width-small: 1300px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.1;
  color: #293241;
}

h1 {
  font-family: "Jura", sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.70667;
  color: #3d5a80;
}

h2 {
  font-family: "Jura", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.11;
  color: #293241;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.25;
  color: #3d5a80;
}

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

a:-webkit-any-link:active {
  color: #fff;
}

html {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  height: 100%;
  background: #fff;
  color: #000;
  line-height: initial;
}

html.lock {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

body {
  overflow-x: clip;
  position: relative;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

.page_wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.page_wrapper.page_wrapper_main {
  background: #F8E9E6;
  background: linear-gradient(38deg, rgb(248, 233, 230) 0%, rgb(238, 235, 236) 50%, rgb(239, 241, 244) 100%);
}

main {
  flex: 1 0 auto;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 204px;
  z-index: 1;
}

.container {
  position: relative;
  max-width: calc(var(--max-width) + var(--p) * 2);
  margin: 0 auto;
  padding-left: var(--p);
  padding-right: var(--p);
  width: 100%;
}

.container.container_small {
  max-width: calc(var(--max-width-small) + var(--p) * 2);
}

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

.block_tag {
  font-weight: 400;
  font-size: 16px;
  line-height: 2.1024;
  border: 1px solid var(--color-accent-contrast);
  border-radius: 50px;
  padding: 5px 30px;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--color-accent-contrast);
  background-color: #fff;
}

.block_tag.dark {
  color: #fff;
  background: var(--color-blue);
  border-color: #fff;
}

.block_header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 63px;
}

.catalog_title {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.catalog_title p {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}

.courses_wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 49px 42px;
}

.course_card {
  display: flex;
  flex-direction: column;
  background: #fff;
  background-color: #fff;
  border: 2px solid #eeeae1;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  transition: color 250ms ease-in-out;
}

.course_card:hover {
  color: var(--color-accent-contrast);
}

.course_card:hover .link {
  color: var(--color-accent-contrast);
}

.course_card:hover .link::after {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.66663 8C4.66663 7.72386 4.89048 7.5 5.16663 7.5H10.9595L8.81307 5.35355C8.61781 5.15829 8.61781 4.84171 8.81307 4.64645C9.00833 4.45118 9.32492 4.45118 9.52018 4.64645L12.5202 7.64645C12.7154 7.84171 12.7154 8.15829 12.5202 8.35355L9.52018 11.3536C9.32492 11.5488 9.00833 11.5488 8.81307 11.3536C8.61781 11.1583 8.61781 10.8417 8.81307 10.6464L10.9595 8.5H5.16663C4.89048 8.5 4.66663 8.27614 4.66663 8Z' fill='%23ee6c4d'/%3E%3C/svg%3E%0A");
}

.course_card img {
  width: 100%;
  aspect-ratio: 293/181;
  border-radius: 10px;
}

.course_card .course_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}

.course_card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.27778;
  color: inherit;
}

.course_card p {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.38;
  color: #000;
  margin-bottom: auto;
}

.course_card .link {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #719ab2;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.course_card .link::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.66663 8C4.66663 7.72386 4.89048 7.5 5.16663 7.5H10.9595L8.81307 5.35355C8.61781 5.15829 8.61781 4.84171 8.81307 4.64645C9.00833 4.45118 9.32492 4.45118 9.52018 4.64645L12.5202 7.64645C12.7154 7.84171 12.7154 8.15829 12.5202 8.35355L9.52018 11.3536C9.32492 11.5488 9.00833 11.5488 8.81307 11.3536C8.61781 11.1583 8.61781 10.8417 8.81307 10.6464L10.9595 8.5H5.16663C4.89048 8.5 4.66663 8.27614 4.66663 8Z' fill='%23719AB2'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.bg_muted {
  background-color: #F7F7F2;
}

.bg_muted .accordion {
  --accordion-color: #fff;
}

.form_white fieldset.text,
.form_white fieldset.textarea {
  border-color: #6b6b6b;
}

.form_white fieldset.text input,
.form_white fieldset.text textarea,
.form_white fieldset.textarea input,
.form_white fieldset.textarea textarea {
  color: #000;
}

.form_white fieldset.text input::-moz-placeholder, .form_white fieldset.text textarea::-moz-placeholder, .form_white fieldset.textarea input::-moz-placeholder, .form_white fieldset.textarea textarea::-moz-placeholder {
  color: #6b6b6b;
}

.form_white fieldset.text input::placeholder,
.form_white fieldset.text textarea::placeholder,
.form_white fieldset.textarea input::placeholder,
.form_white fieldset.textarea textarea::placeholder {
  color: #6b6b6b;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header .header_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  border-radius: 100px;
  padding: 20px 48px;
  margin-top: 56px;
  position: relative;
}

.header .header_wrapper.mobile_menu_show {
  border-radius: 100px 100px 0 100px;
}

.header .header_wrapper.mobile_menu_show .header_nav {
  display: block;
}

.header .header_wrapper.mobile_menu_show .burger svg #top-line {
  transform: translateY(10px) rotate(-45deg) scale(0.9);
}

.header .header_wrapper.mobile_menu_show .burger svg #bottom-line {
  transform: translateY(-10px) rotate(45deg) scale(0.9);
}

.header .header_wrapper.mobile_menu_show .burger svg #middle-line {
  opacity: 0;
}

.header .logo {
  display: flex;
  gap: 1px;
  white-space: nowrap;
  align-items: flex-end;
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  text-transform: capitalize;
  color: #293241;
  font-family: "Jura", sans-serif;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.header .logo:hover {
  color: #EE6C4D;
}

.header .logo svg {
  transition: all 250ms ease-in-out;
  animation: heart 1.5s infinite;
}

.header .header_nav {
  color: var(--color-blue);
}

.header .header_nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  gap: 47px;
}

.header .header_nav li {
  display: grid;
  align-items: center;
  justify-content: center;
}

.header .header_nav a {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.header .header_nav a:hover {
  color: var(--color-accent-contrast);
}

.header .burger {
  align-items: center;
  justify-content: center;
  display: none;
}

.header .burger svg {
  width: 40px;
  height: 25px;
}

.header .burger #top-line,
.header .burger #bottom-line,
.header .burger #middle-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease-out, opacity 0.2s ease-in;
}

@keyframes hideBurger {
  29% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes heart {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.2;
  }

  100% {
    scale: 1;
  }
}

.footer {
  font-family: "Montserrat", sans-serif;
  padding-bottom: 43px;
}

.footer.footer_main::before {
  content: "";
  display: block;
  width: 1999px;
  max-width: 100vw;
  height: calc(var(--bgheight) + 300px);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background: radial-gradient(71.73% 71.04% at 100% 0%, rgba(255, 255, 255, 0.8) 0.13%, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0) 100%), radial-gradient(71.73% 71.04% at 100% 0%, rgba(255, 255, 255, 0.8) 0.13%, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0) 100%), linear-gradient(135deg, #ec8972 0.13%, #808ba1 50.07%, #ae9595 100%);
}

.footer.footer_main .footer_wrapper {
  background-color: #fff;
}

.footer .footer_wrapper {
  background-color: #f7f7f2;
  border-radius: 20px;
  padding: 84px var(--p) 20px;
  max-width: 1854px;
  width: calc(100% - var(--p) * 2);
  margin: 0 auto 0;
  color: var(--color-dark);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.footer .footer_top {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-items: flex;
  gap: 32px 16px;
}

.footer .logo_wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer .logo_wrapper p {
  font-weight: 300;
  font-size: 23px;
  line-height: 1;
  margin: 0;
}

.footer .logo {
  display: flex;
  gap: 1px;
  white-space: nowrap;
  align-items: flex-end;
  font-weight: 700;
  font-size: 66px;
  line-height: 1;
  text-transform: capitalize;
  color: #293241;
  font-family: "Jura", sans-serif;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.footer .logo:hover {
  color: #EE6C4D;
}

.footer .logo:hover svg {
  animation: heart 1s infinite;
}

.footer .logo svg {
  transition: all 250ms ease-in-out;
}

.footer .footer_slogan {
  font-weight: 400;
  font-size: 26px;
  line-height: 1.22952;
  margin: 0;
}

.footer .footer_nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: flex-end;
}

.footer .footer_nav a {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.8688;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.footer .footer_nav a:hover {
  color: var(--color-accent-contrast);
}

.footer .footer_thesis {
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  margin: 0 0 36px auto;
}

.footer .footer_contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer .footer_tel {
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.footer .footer_tel:hover {
  color: var(--color-accent-contrast);
}

.footer .footer_email {
  font-weight: 600;
  font-size: 45px;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.footer .footer_email:hover {
  color: var(--color-accent-contrast);
}

.footer .copyright {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.79339;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.footer .copyright p {
  margin: 0;
}

.footer .copyright a {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-in-out;
}

.footer .copyright a:hover {
  color: var(--color-accent-contrast);
}

.btn_supper {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8688;
  color: #fff;
  border: 1px solid #a12c2e;
  border-radius: 50px;
  padding: 16px 40px;
  box-shadow: 0 12px 8px 0 rgba(155, 38, 40, 0.2);
  background: linear-gradient(124deg, #ee6c4d 0%, #ca4829 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.btn_supper:hover {
  background: linear-gradient(124deg, #ca4829 0%, #ee6c4d 100%);
  box-shadow: 0 12px 8px 0 rgba(155, 38, 40, 0.4);
}

.btn_supper:active {
  background: linear-gradient(124deg, #ca4829 0%, #ee6c4d 100%);
  box-shadow: 0 8px 8px 0 rgba(155, 38, 40, 0.4);
  transform: translateY(4px);
}

.btn {
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8688;
  color: #fff;
  border-radius: 50px;
  padding: 16px 40px;
  cursor: pointer;
  box-shadow: 0 12px 8px 0 rgba(61, 90, 128, 0.2);
  background: linear-gradient(124deg, #3d5a80 0%, #2c496f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 250ms ease-in-out;
}

.btn:hover {
  opacity: 0.85;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition-delay: 99999s;
}

fieldset {
  padding: 0;
  border: none;
  font-size: 14px;
}

fieldset.fieldset_error {
  border-color: #ff0000 !important;
}

fieldset .error {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ff0000 !important;
}

fieldset.text,
fieldset.textarea {
  position: relative;
  display: grid;
  margin: 0;
  border-bottom: 1px solid #fff;
}

fieldset.text legend,
fieldset.textarea legend {
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 18px;
}

fieldset.text input,
fieldset.text textarea,
fieldset.textarea input,
fieldset.textarea textarea {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  background-color: transparent;
  font-weight: 400;
  outline: none;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  border: none;
  border-radius: 0px;
  padding: 11px 0px;
  color: #fff;
}

fieldset.text input::-moz-placeholder, fieldset.text textarea::-moz-placeholder, fieldset.textarea input::-moz-placeholder, fieldset.textarea textarea::-moz-placeholder {
  font-size: 20px;
  color: #fff;
  opacity: 0.8;
}

fieldset.text input::placeholder,
fieldset.text textarea::placeholder,
fieldset.textarea input::placeholder,
fieldset.textarea textarea::placeholder {
  font-size: 20px;
  color: #fff;
  opacity: 0.8;
}

fieldset.text input:disabled,
fieldset.text textarea:disabled,
fieldset.textarea input:disabled,
fieldset.textarea textarea:disabled {
  border-color: #b0ccdb;
}

fieldset.text textarea,
fieldset.textarea textarea {
  resize: none;
}

fieldset.text textarea::-moz-placeholder, fieldset.textarea textarea::-moz-placeholder {
  font-size: 22px;
  opacity: 0.8;
}

fieldset.text textarea::placeholder,
fieldset.textarea textarea::placeholder {
  font-size: 22px;
  opacity: 0.8;
}

.tabs-container {
  display: grid;
  grid-template-columns: 1fr;
}

.tabs {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px 10px;
  margin-bottom: 34px;
}

.tab-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 2.40274;
  color: #6d8ab0;
  text-decoration: none;
  border: 1px solid #6d8ab0;
  border-radius: 50px;
  padding: 0px 16px;
  background: #fafdff;
  transition: color 250ms ease-in-out;
}

.tab-header:hover {
  border-color: var(--color-accent-contrast);
  color: var(--color-accent-contrast);
}

.tab-header.active {
  border-color: #aa2809;
  color: #fff;
  background: var(--color-accent-contrast);
}

.tab-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fancybox__backdrop {
  --fancybox-bg: rgba(61, 90, 128, 0.9);
}

.modal {
  display: none;
  margin: 0;
  padding: 2rem;
  max-width: 1150px;
  color: var(--fancybox-content-color, #000);
  background: var(--fancybox-content-bg, #fff);
  cursor: default;
  border-radius: 20px;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg width='474' height='1006' viewBox='0 0 474 1006' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.1' fill-rule='evenodd' clip-rule='evenodd' d='M471.993 837.99L179.054 543.679C103.814 467.924 95.8562 352.709 161.209 286.698L279.374 167.098L471.09 361.234L662.807 167.585L780.972 287.185C846.083 352.953 838.125 468.167 763.126 543.922L471.993 837.99ZM471.09 1006L96.0974 627.228C-24.7203 505.436 -32.6783 315.197 78.252 203.149L279.374 0L472.273 192.792L662.807 0L863.928 203.149C974.618 315.197 966.659 505.436 846.083 627.228L471.09 1006Z' fill='%2398C1D9'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

.modal.modal_document {
  max-width: 800px;
}

.fancybox__container.video .fancybox__content {
  padding: 0;
}

.accordion {
  counter-reset: accordion;
  display: flex;
  flex-direction: column;
  gap: 20px;
  --px: 30px;
  --icon-width: 24px;
  --accordion-color: #f7f7f2;
}

.accordion .accordion-item {
  counter-increment: accordion;
  background: var(--accordion-color);
  border-radius: 10px;
}

.accordion .accordion-content {
  display: none;
  padding: 24px 0;
  margin: 0 var(--px);
  border-top: 1px solid #c7c7c2;
  line-height: 1.6;
}

.accordion .accordion-content > *:first-child {
  margin-top: 0;
}

.accordion .accordion-content > *:last-child {
  margin-bottom: 0;
}

.accordion .accordion-header {
  position: relative;
  cursor: pointer;
  color: red;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
  padding: 24px calc(var(--px) + var(--icon-width) + 16px) 24px var(--px);
  text-wrap: balance;
}

.accordion .accordion-header:before {
  content: counter(accordion) ".  ";
  display: inline;
}

.accordion .accordion-header.active .plus {
  display: none;
}

.accordion .accordion-header.active .minus {
  display: block;
}

.accordion .accordion-header h5 {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  flex: 1;
  display: inline;
}

.accordion .accordion-header .minus {
  display: none;
}

.accordion .accordion-header .plus,
.accordion .accordion-header .minus {
  color: var(--course-color, #41b619);
  position: absolute;
  top: 28px;
  right: var(--px);
  width: var(--icon-width);
  height: var(--icon-width);
}

section {
  padding: 120px 0;
}

section h2 {
  margin-bottom: 70px;
  text-align: center;
}

.accent {
  color: var(--course-color, #41b619);
}

.rewiews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 24px;
  align-items: start;
  justify-content: space-between;
}

.rewiews .rewiew {
  width: 100%;
  max-width: 360px;
  position: relative;
  background: #f7f7f2;
  border-radius: 16px;
  padding: 60px 30px 30px;
  text-align: center;
  margin: 0 auto;
}

.rewiews .rewiew .rewiew_avatar {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-family: "Inter", sans-serif;
}

.rewiews .rewiew .rewiew_avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  padding: 10px;
  background-color: #fff;
}

.rewiews .rewiew h5 {
  margin-bottom: 12px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.8;
  color: #757575;
}

.rewiews .rewiew p {
  font-weight: 300;
  font-size: 12px;
  line-height: 1.86;
  color: #000;
  margin: 0;
}

.teachers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.teachers .teacher {
  padding: 5px 5px 12px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  border: 1px solid #eeeae1;
  width: 240px;
}

.teachers .teacher .teacher_img {
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
}

.teachers .teacher .teacher_img img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.teachers .teacher .teacher_info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 7px;
  text-align: center;
}

.teachers .teacher h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
  color: #000;
  margin: 0;
}

.teachers .teacher p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  color: #7a7a7a;
  margin: 0;
}

.knowledge_block .container {
  max-width: 1920px;
  display: flex;
  gap: 40px;
}

.knowledge_block .knowledge_inner {
  max-width: 815px;
  margin: 0 auto;
}

.knowledge_block .knowledge_bg {
  margin: -120px calc(-1 * var(--p)) -120px 0;
  height: auto;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  width: auto;
}

.knowledge_block .knowledge_bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.knowledge_block .knowledge_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 50px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.knowledge_block .knowledge_list li {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.knowledge_block .knowledge_list .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--course-color, #41b619);
  display: flex;
  justify-content: center;
  align-items: center;
}

.knowledge_block .knowledge_list p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin: 0;
}

.knowledge_block .knowledge_list .maintext {
  font-weight: 600;
  font-size: 18px;
  color: #000;
  line-height: 1.5;
}

.document_block {
  background: #eeece8;
}

.document_block .document_inner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.document_block .document_content {
  flex: 1;
  max-width: 630px;
}

.document_block .document_content h3 {
  font-weight: 600;
  font-size: 10px;
  line-height: 1.26;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 14px;
}

.document_block .document_content h2 {
  font-weight: 600;
  font-size: 31px;
  line-height: 1.32;
  margin: 0 0 34px;
  text-align: left;
}

.document_block .document_content p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.86;
  color: #000;
  margin-bottom: 60px;
}

.document_block .document_content .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.33333;
  color: #fff;
  background: #9a9a9a;
  padding: 20px 60px;
  text-decoration: none;
  transition: all 250ms ease-in-out;
}

.document_block .document_content .btn:hover {
  background: var(--course-color, #41b619);
}

.document_block .document_img {
  width: 400px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  transition: all 250ms ease-in-out;
}

.document_block .document_img:hover {
  transform: scale(1.05);
}

.document_block .document_img img {
  padding: 5px;
  border-radius: 21px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
}

.training_block {
  margin: 0 auto;
  position: relative;
}

.training_block .training_bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.training_block .training_inner {
  background: #fff;
  border-radius: 16px;
  padding: 60px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

.training_block .training_inner > * {
  margin-bottom: 0;
}

.training_block .training_inner h2 {
  margin-bottom: 34px;
  text-align: left;
}

.training_block .training_inner ul {
  padding-left: 1em;
}

.training_block .training_inner p {
  max-width: 970px;
}

.about_course .about_curse_inner {
  display: flex;
  align-items: center;
  gap: 90px;
}

.about_course .about_curse_inner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

.about_course .video_block {
  position: relative;
  border-radius: 16px;
  width: 560px;
  aspect-ratio: 560/315;
  overflow: hidden;
  cursor: pointer;
  min-width: 560px;
}

.about_course .video_block:hover .button rect {
  fill: var(--course-color, #41b619);
}

.about_course .video_block img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.about_course .video_block .button {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about_course .video_block .button rect {
  transition: all 250ms ease-in-out;
}

.benefits_block {
  margin: 0 auto;
  position: relative;
  color: #fff;
}

.benefits_block .benefits_bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.benefits_block h2 {
  color: inherit;
}

.benefits_block .benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 340px));
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits_block .benefits li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
  align-items: center;
}

.benefits_block .benefits li > * {
  margin: 0;
}

.benefits_block .benefits li h4 {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.55172;
  color: #fff;
}

.benefits_block .benefits li p {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.86;
  color: #fff;
}

.fw_block .fw_header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 50px;
}

.fw_block .fw_header > * {
  margin: 0;
}

.fw_block .fw_header p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85629;
  text-align: center;
  color: #000;
}

.fw_block .fw_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fw_block .fw_inner .fw_list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 580px;
}

.fw_block .fw_inner .fw_list .item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.fw_block .fw_inner .fw_list .maintext {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.34262;
  color: #000;
}

.fw_block .fw_inner .fw_list p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.86;
  color: #000;
  margin: 0;
}

.fw_block .fw_inner .fw_img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560/436;
  overflow: hidden;
  border-radius: 16px;
}

.fw_block .fw_inner .fw_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.buy_block + section {
  padding-top: 0;
}

.buy_block .buy_cards {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 46px;
}

.buy_block .buy_card {
  border-radius: 16px;
  padding: 44px 48px;
  background: #FFEFEA;
  background: linear-gradient(125deg, rgb(255, 239, 234) 0%, rgb(238, 239, 244) 50%, rgb(248, 240, 240) 100%);
  position: relative;
  z-index: 1;
}

.buy_block .buy_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='827' height='872' viewBox='0 0 827 872' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.2'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M414.278 726.369L157.159 471.26C91.12 405.596 84.135 305.728 141.496 248.509L245.212 144.841L413.486 313.118L581.76 145.263L685.476 248.932C742.625 305.939 735.64 405.807 669.812 471.471L414.278 726.369ZM413.486 872L84.3467 543.68C-21.6975 438.111 -28.6824 273.213 68.6835 176.089L245.212 0L414.524 167.112L581.76 0L758.288 176.089C855.443 273.213 848.458 438.111 742.625 543.68L413.486 872Z' fill='white' style='mix-blend-mode:screen' /%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.buy_block .buy_card.buy_card_full .buy_header {
  display: flex;
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.buy_block .buy_card.buy_card_full .buy_header h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.29;
  color: var(--color-dark);
  text-align: left;
}

.buy_block .buy_card.buy_card_full .devider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.buy_block .buy_card.buy_card_full .buy_body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 40px;
}

.buy_block .buy_card.buy_card_full .buy_body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.42;
}

.buy_block .buy_card.buy_card_full .buy_body .price_subtitle {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  text-transform: uppercase;
  color: #2d4a70;
}

.buy_block .buy_card.buy_card_full .buy_body .price_title {
  color: #000;
  text-align: left;
}

.buy_block .buy_card.buy_card_full .buy_body .price_value {
  margin: 15px 0 37px;
}

.buy_block .buy_card.buy_card_full .buy_body .btn {
  margin: 37px 0 14px;
}

.buy_block .buy_card.buy_card_full .buy_body .buy_list {
  gap: 27px;
}

.buy_block .buy_card .card_info {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.buy_block .buy_card h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.11;
  color: var(--color-blue);
  margin: 0;
}

.buy_block .buy_card .price {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  padding: 30px 0;
}

.buy_block .buy_card .price::before,
.buy_block .buy_card .price::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 2px;
  position: absolute;
  left: 0;
}

.buy_block .buy_card .price::before {
  top: 0;
}

.buy_block .buy_card .price::after {
  bottom: 0;
}

.buy_block .buy_card .price_value {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: #3c597f;
  white-space: nowrap;
  font-family: "Jura", sans-serif;
}

.buy_block .buy_card .price_info {
  font-size: 11px;
  line-height: 1.8;
  color: #535353;
  margin: 0;
}

.buy_block .buy_card .buy_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #000;
  flex: 1;
}

.buy_block .buy_card .buy_list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.buy_block .buy_card .buy_list li svg {
  position: relative;
  top: 4px;
  min-width: 18px;
}

.buy_block .buy_card .buy_list li p {
  margin: 0;
}

.buy_block .buy_card .check_btn {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8688;
  color: #fff;
  border: 1px solid #143157;
  border-radius: 50px;
  padding: 16px 20px;
  box-shadow: 0 12px 8px 0 rgba(61, 90, 128, 0.2);
  background: linear-gradient(124deg, #3d5a80 0%, #2c496f 100%);
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
  min-width: 218px;
  text-align: center;
  text-decoration: none;
}

.buy_block .buy_card .check_btn:hover {
  opacity: 0.85;
}

.buy_block .buy_block_content {
  margin-top: 70px;
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
}

.buy_block .buy_block_content h2 {
  margin: 0;
  text-align: left;
}

.buy_block .buy_block_content ol {
  padding-left: 1.3em;
}

.buy_block .buy_block_content ol li::marker {
  font-weight: 700;
}

.buy_block .buy_block_content ol li a {
  margin: 0;
}

.buy_block .buy_block_content a {
  text-decoration: none;
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin: 20px 0;
  transition: all 250ms ease-in-out;
}

.buy_block .buy_block_content a:hover {
  text-decoration: underline;
}

.hero_curse_full {
  color: #fff;
  background-color: #000;
  position: relative;
  padding-top: 204px;
  margin-top: -204px;
  z-index: 1;
  padding-bottom: 60px;
}

.hero_curse_full .course_bg {
  max-width: 1920px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}

.hero_curse_full .course_bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero_curse {
  position: relative;
  padding-top: 204px;
  margin-top: -204px;
  z-index: 1;
  padding-bottom: 60px;
}

.hero_curse .hero_curse_inner {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 60px;
}

.hero_curse .hero_wrapper {
  justify-content: center;
}

.hero_curse .hero_img {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero_curse .hero_img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #977A7C;
  background: linear-gradient(214deg, rgb(151, 122, 124) 0%, rgb(182, 170, 178) 50%, rgb(235, 108, 79) 150%);
  border-radius: 20px;
  transform: rotate(6deg);
  z-index: -1;
}

.hero_curse .hero_img img {
  border-radius: 20px;
}

.hero_curse .hero_img .block_tag {
  position: absolute;
  top: 20px;
  right: 20px;
}

.hero_curse .hero_benefits {
  grid-column: span 2;
}

.hero_curse_inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero_curse_inner .title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero_curse_inner .title h1 {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.11;
  color: inherit;
}

.hero_curse_inner .hero_wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
}

.hero_curse_inner .hero_wrapper ol {
  font-weight: 400;
  font-size: 18px;
  line-height: 2;
  color: inherit;
  padding-left: 1.3em;
  margin: 0;
}

.hero_curse_inner .hero_wrapper > p {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: inherit;
}

.hero_curse_inner .hero_wrapper > p a {
  text-decoration: none;
  color: inherit;
  transition: all 250ms ease-in-out;
}

.hero_curse_inner .hero_wrapper > p a:hover {
  text-decoration: underline;
  color: var(--course-color, #41b619);
}

.hero_curse_inner .actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: -moz-fit-content;
  width: fit-content;
}

.hero_curse_inner .actions a {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  border: 1px solid var(--course-color, #41b619);
  border-radius: 50px;
  padding: 24px 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease-in-out;
}

.hero_curse_inner .actions a:hover {
  opacity: 0.9;
}

.hero_curse_inner .actions a.btn_main {
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 8px 0 color-mix(in srgb, var(--course-color, #41b619) 20%, var(--course-color, #41b619) 20%);
  background: var(--course-color, #41b619);
}

.hero_curse_inner .actions a.btn_main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(124deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: -1;
}

.hero_curse_inner .actions a.btn_outline {
  color: var(--course-color, #41b619);
  background-color: #fff;
}

.hero_curse_inner .actions .small {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
  margin: 0;
  grid-column: span 2;
}

.hero_curse_inner .hero_benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  padding: 20px;
  background: rgba(4, 4, 4, 0.4);
}

.hero_curse_inner .hero_benefits li {
  display: grid;
  gap: 15px 20px;
  grid-template-areas: "icon title" "text text";
  grid-template-columns: 20px 1fr;
  grid-template-rows: min-content auto;
  align-items: start;
  color: #fff;
}

.hero_curse_inner .hero_benefits svg {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: icon;
}

.hero_curse_inner .hero_benefits .name {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: title;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.47273;
  color: #fff;
  margin: 0;
}

.hero_curse_inner .hero_benefits .text {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: text;
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.78417;
  color: #fff;
}

.modal_request .modal_wrapper {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.modal_request form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal_request form .btn {
  margin: 20px auto 0;
}

.modal_request .agree a {
  text-decoration: none;
  color: inherit;
  transition: all 250ms ease-in-out;
}

.modal_request .agree a:hover {
  color: var(--course-color, #41b619);
  text-decoration: underline;
}

select.custom_select {
  opacity: 0;
}

.choices {
  max-width: 100%;
  margin: 0;
}

.choices[data-type*=select-one]:after {
  border-color: #797979 transparent transparent;
}

.choices select.custom_select {
  opacity: 0;
  display: block !important;
  position: absolute;
  width: 1px;
  height: 1px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  visibility: hidden;
}

.choices .choices__inner {
  background-color: #fff;
  font-size: 20px;
  padding: 7.5px 21px 3.75px;
  border-color: #b7b7b7;
  border-radius: 5px;
}

.choices .choices__inner:has(> .error) {
  border-color: red;
}

.choices .choices__placeholder {
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #797979;
}

.choices .choices__list--dropdown {
  width: calc(100% - 24px);
  margin-left: 12px;
}

.choices .choices__list--dropdown .choices__placeholder {
  display: none !important;
}

.choices .choices__list--dropdown,
.choices .choices__list[aria-expanded] {
  top: 100%;
  padding-top: 0;
  border: none;
  background-color: transparent;
  z-index: 2;
}

.choices .choices__list--dropdown .choices__list,
.choices .choices__list[aria-expanded] .choices__list {
  background-color: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 0 0 5px 5px;
  padding: 0px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
}

.choices .choices__list--dropdown .choices__item,
.choices .choices__list[aria-expanded] .choices__item {
  padding: 0px 20px;
  width: 100%;
  border-radius: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 2.59419;
}

.choices .choices__list--dropdown .is-highlighted,
.choices .choices__list[aria-expanded] .is-highlighted {
  background-color: #F2F5F9;
}

.choices .choices__list--dropdown .is-selected,
.choices .choices__list[aria-expanded] .is-selected {
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 12px;
  color: #fff;
  font-weight: 500;
}

.fancybox__backdrop {
  --fancybox-bg: rgba(61, 90, 128, 0.9);
}

.modal {
  display: none;
  margin: 0;
  padding: 2rem;
  max-width: 1150px;
  color: var(--fancybox-content-color, #000);
  background: var(--fancybox-content-bg, #fff);
  cursor: default;
  border-radius: 20px;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg width='474' height='1006' viewBox='0 0 474 1006' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.1' fill-rule='evenodd' clip-rule='evenodd' d='M471.993 837.99L179.054 543.679C103.814 467.924 95.8562 352.709 161.209 286.698L279.374 167.098L471.09 361.234L662.807 167.585L780.972 287.185C846.083 352.953 838.125 468.167 763.126 543.922L471.993 837.99ZM471.09 1006L96.0974 627.228C-24.7203 505.436 -32.6783 315.197 78.252 203.149L279.374 0L472.273 192.792L662.807 0L863.928 203.149C974.618 315.197 966.659 505.436 846.083 627.228L471.09 1006Z' fill='%2398C1D9'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

.modal.modal_document {
  max-width: 800px;
}

.fancybox__container.video .fancybox__content {
  padding: 0;
}

@media (max-width: 1900px) {
  .footer .footer_wrapper {
    margin: 0 var(--p) 0;
  }
}

@media (max-width: 1439px) {
  .courses_wrapper {
    gap: 24px;
  }

  .footer {
    padding-bottom: 0;
  }

  .footer .footer_wrapper {
    padding: 40px var(--p);
    margin: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    gap: 32px;
  }

  .footer .footer_top {
    grid-template-columns: repeat(2, auto);
  }

  .footer .logo_wrapper p {
    font-size: 18px;
  }

  .footer .logo {
    font-size: 42px;
  }

  .footer .footer_slogan {
    font-size: 18px;
  }

  .footer .footer_slogan br {
    display: none;
  }

  .footer .footer_nav {
    grid-column: span 2;
  }

  .footer .footer_nav ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
  }

  .footer .footer_nav a {
    font-size: 20px;
  }

  .footer .footer_thesis {
    font-size: 18px;
    margin: 0 auto 36px;
    text-align: center;
  }

  .footer .footer_tel {
    font-size: 20px;
  }

  .footer .footer_email {
    font-size: 30px;
  }

  .about_course .about_curse_inner {
    gap: 40px;
  }

  .about_course .video_block {
    width: 400px;
    min-width: 400px;
  }
}

@media (max-width: 1279px) {
  .courses_wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .header .logo {
    font-size: 36px;
  }

  .header .header_nav ul {
    gap: 30px;
  }

  .header .header_nav a {
    font-size: 16px;
  }

  .footer .logo {
    font-size: 36px;
  }

  .benefits_block .benefits {
    grid-template-columns: 100%;
    gap: 40px;
  }

  .benefits_block .benefits li {
    padding-left: 100px;
    position: relative;
    min-height: 80px;
    text-align: left;
    align-items: flex-start;
    gap: 12px;
  }

  .benefits_block .benefits li .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
  }

  .benefits_block .benefits li h4 {
    font-size: 22px;
    line-height: 1.3;
  }

  .benefits_block .benefits li p {
    line-height: 1.3;
  }

  .fw_block .fw_inner .fw_list {
    gap: 16px;
  }

  .fw_block .fw_inner .fw_list .maintext {
    font-size: 20px;
  }

  .fw_block .fw_inner .fw_img {
    max-width: 400px;
  }

  .buy_block .buy_cards {
    gap: 24px;
  }

  .buy_block .buy_card {
    gap: 24px;
    padding: 36px;
  }

  .buy_block .buy_card h2 {
    font-size: 38px;
  }

  .buy_block .buy_card .price {
    flex-direction: column;
    text-align: center;
  }

  .hero_curse .hero_curse_inner {
    grid-template-columns: 100%;
    gap: 40px;
  }

  .hero_curse .hero_benefits {
    grid-column: span 1;
  }

  .hero_curse_inner .hero_wrapper {
    max-width: 700px;
  }

  .hero_curse_inner .hero_benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1023px) {
  .rewiews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  :root {
    --p: 16px;
  }
}

@media (max-width: 992px) {
  main {
    padding-top: 160px;
  }

  .courses_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .header .header_wrapper {
    margin-top: 10px;
  }

  .header .header_nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    padding: 30px 20px;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 0 0 20px 20px;
    min-width: 250px;
    max-width: calc(100vw - var(--p) * 2);
  }

  .header .header_nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }

  .header .burger {
    display: flex;
  }

  .footer .footer_top {
    grid-template-columns: 100%;
  }

  .footer .logo_wrapper {
    gap: 16px;
  }

  .footer .footer_nav {
    grid-column: span 1;
  }

  .footer .footer_nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer .footer_contacts {
    gap: 12px;
    margin-bottom: 36px;
    align-items: center;
  }

  .footer .copyright {
    text-align: left;
    gap: 12px;
  }

  fieldset.text input,
  fieldset.text textarea,
  fieldset.textarea input,
  fieldset.textarea textarea {
    font-size: 16px;
  }

  fieldset.text input::-moz-placeholder, fieldset.text textarea::-moz-placeholder, fieldset.textarea input::-moz-placeholder, fieldset.textarea textarea::-moz-placeholder {
    font-size: 16px;
  }

  fieldset.text input::placeholder,
  fieldset.text textarea::placeholder,
  fieldset.textarea input::placeholder,
  fieldset.textarea textarea::placeholder {
    font-size: 16px;
  }

  fieldset.text textarea::-moz-placeholder, fieldset.textarea textarea::-moz-placeholder {
    font-size: 16px;
  }

  fieldset.text textarea::placeholder,
  fieldset.textarea textarea::placeholder {
    font-size: 16px;
  }

  .accordion {
    --px: 20px;
    --icon-width: 20px;
    gap: 16px;
  }

  .accordion .accordion-header {
    font-size: 16px;
  }

  .accordion .accordion-header .plus,
  .accordion .accordion-header .minus {
    top: 26px;
    width: var(--icon-width);
    height: var(--icon-width);
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    margin-bottom: 40px;
  }

  .rewiews_block h2 {
    margin-bottom: 70px;
  }

  .knowledge_block .knowledge_bg {
    display: none;
  }

  .document_block .document_inner {
    flex-direction: column;
  }

  .document_block .document_content {
    max-width: 100%;
    width: 100%;
  }

  .document_block .document_content .btn {
    margin: 0 auto;
    min-width: 400px;
  }

  .training_block .training_inner {
    padding: 40px 20px;
    font-size: 16px;
  }

  .training_block .training_inner h2 {
    margin-bottom: 24px;
  }

  .about_course .about_curse_inner {
    flex-direction: column;
    gap: 32px;
  }

  .about_course .video_block {
    width: 100%;
    min-width: unset;
    max-width: 400px;
  }

  .fw_block .fw_inner .fw_list {
    max-width: 740px;
    margin: 0 auto 50px;
    gap: 30px;
  }

  .fw_block .fw_inner .fw_list .item {
    gap: 12px;
    align-items: flex-start;
  }

  .fw_block .fw_inner .fw_list .icon {
    margin-top: -12px;
  }

  .fw_block .fw_inner .fw_img {
    display: none;
  }

  .buy_block .buy_cards {
    grid-auto-columns: 100%;
    grid-auto-flow: row;
  }

  .buy_block .buy_card {
    padding: 24px;
  }

  .buy_block .buy_card.buy_card_full .buy_header {
    flex-direction: column;
    margin-bottom: 0;
  }

  .buy_block .buy_card.buy_card_full .buy_body {
    grid-template-columns: 100%;
    gap: 20px;
  }

  .buy_block .buy_card .card_info {
    gap: 20px;
  }

  .hero_curse_full {
    padding-top: 160px;
    margin-top: -160px;
  }

  .hero_curse_full .course_bg {
    opacity: 0.4;
  }

  .hero_curse {
    padding-top: 160px;
    margin-top: -160px;
  }

  .modal_request .modal_wrapper {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: 32px;
  }

  .block_tag {
    font-size: 14px;
    padding: 5px 20px;
  }

  .block_header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }

  .block_header .block_tag {
    margin-left: auto;
  }

  .header .header_wrapper {
    padding: 20px 24px;
  }

  .header .logo {
    font-size: 32px;
  }

  .footer .logo {
    font-size: 32px;
  }

  .btn_supper {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
  }

  .tab-header {
    padding: 0 13px;
  }

  .rewiews {
    grid-template-columns: 100%;
  }

  .rewiews .rewiew {
    max-width: 100%;
  }

  .knowledge_block .knowledge_list {
    grid-template-columns: 100%;
    gap: 0;
  }

  .knowledge_block .knowledge_list li {
    padding-left: 62px;
    position: relative;
    min-height: 50px;
    gap: 6px;
    display: block;
    padding: 12px 0 12px 62px;
  }

  .knowledge_block .knowledge_list .icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .knowledge_block .knowledge_list p {
    display: inline;
    font-size: 16px;
  }

  .training_block .training_bg {
    background-attachment: unset;
  }

  .benefits_block .benefits_bg {
    background-attachment: unset;
  }

  .buy_block .buy_card.buy_card_full .buy_header h2 {
    font-size: 32px;
  }

  .hero_curse_inner .title h1 {
    font-size: 38px;
  }

  .hero_curse_inner .actions a {
    padding: 20px;
  }

  .hero_curse_inner .hero_benefits {
    grid-template-columns: 100%;
    gap: 20px;
  }

  .hero_curse_inner .hero_benefits li {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  main {
    padding-top: 100px;
  }

  .courses_wrapper {
    grid-template-columns: 100%;
    gap: 18px;
  }

  .header .logo {
    font-size: 28px;
  }

  .footer .logo {
    font-size: 28px;
  }

  .teachers {
    gap: 16px;
  }

  .teachers .teacher .teacher_img {
    width: 100%;
  }

  .document_block .document_inner {
    gap: 24px;
  }

  .document_block .document_content h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .document_block .document_content p {
    margin-bottom: 24px;
  }

  .document_block .document_content .btn {
    min-width: 100%;
  }

  .document_block .document_img {
    width: 100%;
  }

  .benefits_block .benefits li {
    padding: 0;
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .benefits_block .benefits li .icon {
    position: static;
  }

  .buy_block .buy_card.buy_card_full .buy_header h2 {
    font-size: 28px;
  }

  .buy_block .buy_card h2 {
    font-size: 30px;
  }

  .buy_block .buy_card .check_btn {
    width: 100%;
  }

  .hero_curse_full {
    padding-top: 100px;
    margin-top: -100px;
  }

  .hero_curse {
    padding-top: 100px;
    margin-top: -100px;
  }

  .hero_curse_inner {
    gap: 20px;
  }

  .hero_curse_inner .title {
    flex-direction: column;
    gap: 10px;
  }

  .hero_curse_inner .title h1 {
    font-size: 32px;
  }

  .hero_curse_inner .block_tag {
    order: -1;
    margin-left: auto;
  }

  .hero_curse_inner .hero_wrapper {
    gap: 20px;
  }

  .hero_curse_inner .hero_wrapper ol {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero_curse_inner .actions {
    grid-template-columns: 100%;
    gap: 10px;
  }

  .hero_curse_inner .actions .small {
    grid-column: span 1;
  }
}