.header {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: transform 0.4s ease, background-color 0.3s ease;
  z-index: 999;
}
.header-container {
  height: 114px;
  padding: 18px;
  padding-left: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  background: #fbfbfb;
}
.header-nav__list {
  display: flex;
  align-items: center;
  gap: 44px;
}
.header-nav__item a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--title-color);
  cursor: pointer;
  transition: color 0.3s ease;
}
.header-nav__item a:hover {
  color: var(--accent-color);
}
.header.header--hidden {
  transform: translateY(-170%);
}
.header-btn__mb {
  display: none;
}
.header-menu {
  display: none;
}

.hero {
  margin-top: 214px;
  padding-top: 0;
}
.hero-container {
  padding: 74px 77px;
  display: grid;
  grid-template-columns: minmax(0, 838px) 1fr;
  column-gap: 32px;
  grid-template-areas: "subtitle img" "title    img" "list     img" "text     img" "button   img";
  align-items: center;
  border-radius: 40px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../img/hero-bg.jpg");
}
.hero-subtitle {
  grid-area: subtitle;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 19px;
  line-height: 100%;
  color: #f6f6f6;
}
.hero-title {
  grid-area: title;
  margin-top: 22px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 50px;
  color: #fbfbfb;
}
.hero-title span {
  color: var(--accent-color);
}
.hero-list {
  grid-area: list;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-list__item {
  padding: 20px 37px;
  border-radius: 100px;
  background: #f6f6f6;
}
.hero-list__item span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 169%;
  color: var(--title-color);
}
.hero-list img {
  width: 38px;
  height: 48px;
}
.hero-text {
  grid-area: text;
  max-width: 704px;
  margin-top: 40px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 19px;
  line-height: 153%;
  color: #f6f6f6;
}
.hero-btn {
  grid-area: button;
  margin-top: 40px;
}
.hero-img {
  grid-area: img;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}
.hero-img img {
  max-width: clamp(266px, 45vw, 664px);
  max-width: 664px;
}

.education .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.education-container {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 138px;
}
.education-img {
  max-width: 706px;
}
.education-img img {
  border-radius: 60px;
}
.education-info {
  max-width: 566px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.education-info__title {
  line-height: 133%;
}
.education-info__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}

.advantages .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.advantages-container {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 138px;
}
.advantages-img img {
  max-width: 706px;
  border-radius: 60px;
}
.advantages-info {
  max-width: 566px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 26px;
}
.advantages-info__decor {
  width: 50px;
  height: 62px;
}
.advantages-info__title {
  line-height: 133%;
}
.advantages-info__list {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 22px;
}
.advantages-info__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
}
.advantages-info__subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: var(--title-color);
}
.advantages-info__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.advantages-info__time {
  position: relative;
  margin-left: 40px;
  padding-left: 40px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.advantages-info__time::before {
  position: absolute;
  content: "";
  top: -3px;
  left: 0;
  width: 5px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-color);
}

.training {
  padding: 45px 36px;
}
.training .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 148px 0;
  border-radius: 60px;
  background: #eaeaea;
}
.training-container {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 138px;
}
.training-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.training-img__item {
  border-radius: 50px;
}
.training-img__item:nth-of-type(1) {
  grid-column: 2 span;
}
.training-info {
  max-width: 566px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 26px;
}
.training-info__title {
  line-height: 133%;
}
.training-info__title span {
  color: #2fc1b4;
}
.training-info__list {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  gap: 13px;
}
.training-info__item {
  padding: 20px 37px;
  border-radius: 100px;
  background: #f6f6f6;
}
.training-info__item span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 169%;
  color: #202020;
}
.training-info__subtitle {
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: start;
}
.training-info__subtitle h3 {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: var(--title-color);
}
.training-info__subtitle p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.training-info__desc {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: start;
  border-radius: 40px;
  background: #f8df5a;
}
.training-info__desc h3 {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.training-info__desc p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 194%;
  color: #202020;
}

.program-container {
  padding: 64px 61px;
  border-radius: 60px;
  background: #2fc1b4;
}
.program-title {
  color: #fff;
}
.program-text {
  margin-top: 24px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}
.program-list {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.program-list__item {
  padding: 28px 54px;
  display: flex;
  flex-direction: column;
  align-items: start;
  border-radius: 40px;
  background: #f5f5f5;
}
.program-list__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #3a3a3a;
  background: #f8df5a;
  border-radius: 100px;
}
.program-list__title {
  max-width: 333px;
  margin-top: 26px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 132%;
  color: #202020;
}
.program-list__text {
  max-width: 333px;
  margin-top: 10px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #3a3a3a;
}

.result .container {
  max-width: 1660px;
}
.result-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.result-info {
  max-width: 626px;
}
.result-info__text {
  margin-top: 21px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.result-info__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
}
.result-info__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
}
.result-info__item h3 {
  position: relative;
  padding-left: 23px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.result-info__item h3::before {
  position: absolute;
  content: "";
  top: -3px;
  left: 0;
  width: 5px;
  height: 36px;
  border-radius: 10px;
  background: #2fc1b4;
}
.result-info__item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.result-info__item:nth-of-type(odd) h3::before {
  position: absolute;
  content: "";
  top: -3px;
  left: 0;
  width: 5px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-color);
}
.result-info__time {
  margin-top: 21px;
  padding: 26px 42px;
  border-radius: 30px;
  background: rgba(248, 223, 90, 0.34);
}
.result-info__time span {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 194%;
  color: #3a3a3a;
}
.result-img img {
  border-radius: 60px;
}

.why-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.why-subtitle {
  margin-top: 27px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  color: #3a3a3a;
}
.why-text {
  max-width: 520px;
  margin-top: 22px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #3a3a3a;
}
.why-list {
  max-width: 1660px;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.why-list__item {
  min-height: 442px;
  padding-bottom: 38px;
  border-radius: 50px;
  background: #f5f5f5;
}
.why-list__item img {
  border-radius: 50px;
}
.why-list__title {
  margin-top: 42px;
  padding: 0 54px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.why-list__text {
  margin-top: 12px;
  padding: 0 54px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}

.price-container {
  padding: 46px;
  border-radius: 50px;
  background: #2fc1b4;
}
.price-title {
  padding-left: 31px;
  color: #fff;
}
.price-text {
  padding-left: 31px;
  margin-top: 10px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}
.price-list {
  margin-top: 38px;
  display: flex;
  align-items: start;
  gap: 48px;
}
.price-list__item {
  width: 100%;
  padding: 27px;
  border-radius: 30px;
  background: #f5f5f5;
}
.price-list__title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 96%;
  color: #202020;
}
.price-list__subtitle {
  margin-top: 28px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #3a3a3a;
}
.price-list__value {
  margin-top: 28px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 96%;
  color: #202020;
}
.price-list__value span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #202020;
}
.price-list__text {
  position: relative;
  margin-top: 22px;
  padding-left: 21px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 139%;
  color: #3a3a3a;
}
.price-list__text:before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 100%;
  background: var(--accent-color);
}
.price-list__btn {
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
}

.author-container {
  display: flex;
  align-items: center;
  gap: 72px;
}
.author-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 540px;
}
.author-img img {
  display: block;
  width: 100%;
  border-radius: 60px;
}
.author-info {
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: start;
  background: #f5f5f5;
  border-radius: 40px;
}
.author-position {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.author-position__item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.author-position__item:nth-of-type(1) .author-position__decor {
  display: none;
}
.author-position__decor {
  border-radius: 10px;
  width: 5px;
  height: 36px;
  background: #f8df5a;
}
.author-decor {
  margin-top: 36px;
  width: 65px;
  height: 44px;
}
.author-text {
  margin-top: 36px;
  font-family: var(--font-family);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.author-btn {
  margin-top: 36px;
  max-width: 202px;
}
.author-modal {
  display: none;
  visibility: hidden;
  opacity: 0;
}
.author-modal.active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  visibility: visible;
  opacity: 1;
  z-index: 9999;
}
.author-modal__wrapper {
  position: relative;
  max-height: 90%;
  width: 100%;
  max-width: 1160px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 22px;
  border-radius: 60px;
  background: #f5f5f5;
  overflow-y: auto;
  overflow-x: hidden;
}
.author-modal__wrapper::-webkit-scrollbar {
  margin-left: 20px;
}
.author-modal__wrapper::-webkit-scrollbar-track {
  background: transparent;
  margin: 48px 0;
}
.author-modal__name {
  display: flex;
  align-items: center;
  gap: 27px;
}
.author-modal__name img {
  width: 133px;
  height: 133px;
}
.author-modal__name span {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 110%;
  color: #202020;
}
.author-modal__position {
  display: flex;
  align-items: center;
  gap: 20px;
}
.author-modal__position--item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.author-modal__position--item:nth-of-type(1) .author-modal__position--decor {
  display: none;
}
.author-modal__position--decor {
  border-radius: 10px;
  width: 5px;
  height: 36px;
  background: #f8df5a;
}
.author-modal__title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 22px;
  line-height: 123%;
  color: #202020;
}
.author-modal__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.author-modal__subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #202020;
}
.author-modal__spec {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.author-modal__spec--item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.author-modal__spec--item:nth-of-type(1) .author-modal__spec--decor {
  display: none;
}
.author-modal__spec--item:nth-of-type(5) .author-modal__spec--decor {
  display: none;
}
.author-modal__spec--decor {
  border-radius: 10px;
  width: 5px;
  height: 36px;
  background: #f8df5a;
}
.author-modal__btn {
  position: absolute;
  top: 84px;
  right: 55px;
  width: 78px;
  height: 78px;
  background: #f8df5a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  background-image: url("../img/close-icon.svg");
  border-radius: 100%;
}

.partner-container {
  display: flex;
  align-items: stretch;
  gap: 72px;
}
.partner-info {
  width: 100%;
  max-width: 888px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  border-radius: 50px;
  background: #f5f5f5;
}
.partner-info__text {
  position: relative;
  height: 115px;
  margin-top: 33px;
  padding-left: 55px;
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
}
.partner-info__text::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 5px;
  height: 115px;
  background: #f8df5a;
}
.partner-logo {
  width: 100%;
  min-height: 306px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #f5f5f5;
}
.partner-logo img {
  max-width: 444px;
}

.contact-container {
  display: flex;
  align-items: stretch;
  gap: 72px;
}
.contact-info {
  width: 100%;
  max-width: 888px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  border-radius: 50px;
  background: #f5f5f5;
}
.contact-info img {
  width: 41px;
  height: 41px;
}
.contact-info__title {
  margin-top: 16px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 135%;
  color: #202020;
}
.contact-info__text {
  margin-top: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #3a3a3a;
}
.contact-info__list {
  margin-top: 50px;
  display: flex;
  align-items: start;
}
.contact-info__item {
  display: flex;
  align-items: start;
  gap: 10px;
}
.contact-info__number {
  width: 100%;
  max-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #3a3a3a;
  background: #f8df5a;
  border-radius: 50px;
}
.contact-info__wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}
.contact-info__wrapper h3 {
  padding-top: 8px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 100%;
  color: #202020;
}
.contact-info__wrapper p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #3a3a3a;
}
.contact-form {
  width: 100%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #2fc1b4;
  border-radius: 40px;
}
.contact-form__input {
  padding: 20px 37px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 169%;
  color: #202020;
  border-radius: 100px;
  background: #f6f6f6;
}
.contact-form__select {
  position: relative;
  width: 100%;
  overflow: visible;
}
.contact-form__select-btn {
  position: relative;
  width: 100%;
  padding: 20px 37px;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 169%;
  color: #202020;
  border-radius: 100px;
  background: #f6f6f6;
  text-align: left;
}
.contact-form__select-btn::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 12px;
  right: 37px;
  top: 27px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/arrow-down.svg);
  transition: transform 0.3s ease;
}
.contact-form__select-btn.active {
  border-radius: 30px 30px 0 0;
  border-bottom: none;
}
.contact-form__select-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-top: none;
  border-radius: 0 0 30px 30px;
  background: #f6f6f6;
  max-height: 0px;
  opacity: 0;
  overflow: hidden;
  z-index: 9;
  transition: all 0.3s ease;
}
.contact-form__select-list.active {
  opacity: 1;
  max-height: 300px;
  overflow-y: auto;
}
.contact-form__select-option {
  padding: 18px 37px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: left;
  color: #202020;
  background: #f6f6f6;
  cursor: pointer;
}
.contact-form__btn {
  width: 100%;
  max-width: 100%;
}

.faq-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 22px;
}
.faq-title {
  padding-left: 57px;
}
.faq-list {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-list__border {
  width: 100%;
  padding: 1px;
  color: transparent;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 40px;
  transition: background 0.3s ease;
}
.faq-list__border:has(details[open]) {
  background: #f8df5a;
}
.faq-list__border h3, .faq-list__border p {
  color: #3a3a3a;
}
.faq-list__item {
  position: relative;
  width: 100%;
  cursor: pointer;
}
.faq-list__item-details h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 19px;
  line-height: 163%;
  color: #3a3a3a;
  text-align: left;
}
.faq-list__item-text {
  padding: 0 160px 20px 55px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 172%;
  color: #3a3a3a;
  text-align: left;
}
.faq-list__item-content {
  display: grid;
  grid-template-rows: 0fr;
  transition-duration: 0.6s;
}
.faq-list__item-body {
  overflow: hidden;
}
.faq-list__item-summary {
  width: 100%;
  padding: 45px 55px;
  color: inherit;
  list-style-type: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.faq-list__item-summary h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 19px;
  line-height: 163%;
  color: #3a3a3a;
}
.faq-list__item-summary::-webkit-details-marker {
  display: none;
}
.faq-list__item-summary::marker {
  list-style-type: none;
  content: "";
}
.faq-list__btn {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 30px;
  right: 55px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  color: #3a3a3a;
  background: #f8df5a;
  border-radius: 100px;
  transition: transform 0.4s ease-in-out;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  background-image: url("../img/plus-icon.svg");
}
.faq-list__item-details[open] + .faq-list__item-content {
  display: grid;
  grid-template-rows: 1fr;
  transition-duration: 0.6s;
}
.faq-list__item-details[open] ~ .faq-list__btn {
  transform: rotate(180deg);
  background: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  background-image: url("../img/minus-icon.svg");
}
.faq-list__item-details[open] .faq-list__item-summary {
  padding: 45px 55px 20px;
}

.footer {
  margin-bottom: 70px;
}
.footer-container {
  padding: 42px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px;
  background: #2fc1b4;
}
.footer-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 40px;
  line-height: 125%;
  color: #fff;
}
.footer-text {
  margin-top: 10px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}
.footer-list {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-list__social {
  border-radius: 100px;
  width: 59px;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8df5a;
}
.footer-list__mail {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}
.footer-wrapper__item {
  font-family: var(--font-family);
  font-weight: 600;
  font-style: italic;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}
.footer-wrapper__eco {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}

.thanks .container {
  padding: 50px 34px;
}
.thanks-info__img {
  display: none;
}
.thanks-container {
  padding: 74px 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 40px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../img/hero-bg.jpg");
}
.thanks-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 50px;
  color: #fbfbfb;
}
.thanks-title span {
  color: var(--accent-color);
}
.thanks-text {
  margin-top: 14px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 19px;
  line-height: 153%;
  color: #f6f6f6;
}
.thanks-btn {
  margin-top: 40px;
}
.thanks-img {
  max-width: 664px;
}

@media screen and (max-width: 1640px) {
  .hero-container {
    padding: 40px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-list {
    margin-top: 24px;
  }
  .hero-list__item {
    padding: 14px 26px;
  }
  .hero-list__item span {
    font-size: 14px;
  }
  .hero-text {
    margin-top: 24px;
  }
  .hero-btn {
    margin-top: 24px;
  }
  .hero-img img {
    max-width: 540px;
  }
}
@media screen and (max-width: 1310px) {
  .burger {
    display: flex;
  }
  .header-container {
    position: relative;
    padding: 18px;
  }
  .header-nav {
    position: absolute;
    width: 100%;
    max-width: 370px;
    right: 0;
    bottom: -400px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfbfb;
    border-radius: 40px;
    transform: translateX(150%);
    opacity: 0;
    transition: all 0.3s ease;
  }
  .header-nav.active {
    transform: translateX(0);
    opacity: 1;
  }
  .header-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .header-btn {
    align-self: start;
  }
  .header-menu {
    width: 98px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8df5a;
    border-radius: 100px;
  }
  .header-btn {
    display: none;
  }
  .header-btn__mb {
    display: flex;
  }
  .hero-container {
    margin: 0 auto;
    max-width: 700px;
    grid-template-columns: 1fr;
    grid-template-areas: "subtitle" "title" "img" "list" "text" "button";
    gap: 24px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-list {
    margin-top: 24px;
  }
  .hero-list__item {
    padding: 14px 26px;
  }
  .hero-list__item span {
    font-size: 14px;
  }
  .hero-text {
    margin-top: 24px;
  }
  .hero-btn {
    margin-top: 24px;
  }
  .hero-img img {
    max-width: 540px;
  }
  .education-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .advantages-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }
  .advantages-img img {
    max-width: 100%;
  }
  .advantages-info__subtitle {
    font-size: 19px;
  }
  .advantages-info__time {
    margin-left: 16px;
    padding-left: 30px;
  }
  .training .container {
    max-width: 700px;
    padding: 30px 20px;
  }
  .training-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .training-img {
    display: flex;
  }
  .training-img__item:nth-of-type(1) {
    display: none;
  }
  .training-img__item:nth-of-type(2) {
    display: none;
  }
  .training-info__item {
    padding: 20px;
    width: 100%;
    text-align: center;
  }
  .training-info__item span {
    font-size: 14px;
  }
  .training-info__subtitle h3 {
    font-size: 19px;
  }
  .training-info__subtitle p {
    font-size: 16px;
  }
  .training-info__desc h3 {
    font-size: 19px;
  }
  .training-info__desc p {
    font-size: 16px;
  }
  .program-container {
    padding: 30px 20px;
    border-radius: 40px;
  }
  .program-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .program-list__item {
    padding: 28px 20px;
  }
  .result-container {
    margin: 0 auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 38px;
  }
  .why-container {
    margin: 0 auto;
    max-width: 700px;
  }
  .why-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
  }
  .price-container {
    margin: 0 auto;
    max-width: 700px;
  }
  .price-list {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }
  .author-container {
    margin: 0 auto;
    max-width: 700px;
    flex-direction: column;
  }
  .partner-container {
    margin: 0 auto;
    max-width: 700px;
    flex-direction: column;
    gap: 32px;
  }
  .contact-container {
    margin: 0 auto;
    max-width: 700px;
    flex-direction: column;
    gap: 32px;
  }
  .footer-container {
    margin: 0 auto;
    max-width: 700px;
    flex-direction: column;
    gap: 32px;
  }
  .footer-wrapper {
    width: 100%;
  }
  .thanks-container {
    padding: 30px;
  }
  .thanks-img {
    max-width: 45%;
  }
}
@media screen and (max-width: 767px) {
  .title {
    font-size: 29px;
  }
  .btn {
    height: 62px;
    font-size: 14px;
    padding: 0;
  }
  .header {
    top: 25px;
  }
  .header-container {
    height: 97px;
  }
  .header-btn__mb {
    max-width: 170px;
  }
  .hero {
    margin-top: 160px;
  }
  .hero-container {
    padding: 30px 26px;
    grid-template-areas: "subtitle" "title" "img" "list" "button";
    gap: 14px;
    background-image: url("../img/hero-bg-mb.jpg");
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-text {
    display: none;
    visibility: hidden;
  }
  .hero-list {
    align-items: center;
    justify-content: center;
  }
  .hero-list__item {
    width: 100%;
    text-align: center;
  }
  .hero-list__item span {
    font-size: 14px;
  }
  .hero-btn {
    margin: 0;
  }
  .hero-img img {
    max-width: 100%;
  }
  .education-text {
    font-size: 16px;
  }
  .training {
    padding: 20px 36px;
  }
  .program-text {
    font-size: 18px;
    line-height: 172%;
  }
  .program-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }
  .program-list__item {
    padding: 28px 20px;
  }
  .result-info__text {
    font-size: 19px;
  }
  .result-info__item h3 {
    font-size: 19px;
  }
  .result-info__item p {
    font-size: 16px;
  }
  .why-subtitle {
    font-size: 19px;
  }
  .why-list {
    gap: 28px;
  }
  .why-list__title {
    padding: 0 30px;
    margin-top: 38px;
    font-size: 19px;
  }
  .why-list__text {
    padding: 0 30px;
    font-size: 16px;
  }
  .price-container {
    padding: 42px 18px;
  }
  .price-title {
    padding-left: 15px;
  }
  .price-text {
    padding-left: 15px;
  }
  .price-list__item {
    padding: 25px 17px;
  }
  .price-list__title {
    font-size: 22px;
  }
  .price-list__value {
    margin-top: 16px;
    font-size: 22px;
  }
  .price-list__value span {
    font-size: 16px;
  }
  .price-list__text {
    margin-top: 15px;
    font-size: 16px;
  }
  .price-list__btn {
    margin-top: 16px;
  }
  .author-container {
    gap: 40px;
  }
  .author-info {
    padding: 33px 25px;
  }
  .author-position {
    flex-direction: column;
    align-items: start;
  }
  .author-position__item {
    font-size: 19px;
  }
  .author-position__item:nth-of-type(1) .author-position__decor {
    display: block;
  }
  .author-text:nth-of-type(2) {
    display: none;
  }
  .author-btn {
    width: 100%;
    max-width: 100%;
  }
  .author-modal__wrapper {
    padding: 26px;
    border-radius: 40px;
  }
  .author-modal__name {
    flex-direction: column;
    align-items: start;
    gap: 27px;
  }
  .author-modal__name img {
    width: 88px;
    height: 88px;
  }
  .author-modal__name span {
    font-size: 29px;
  }
  .author-modal__position {
    align-items: start;
    flex-direction: column;
  }
  .author-modal__position--item {
    font-size: 19px;
  }
  .author-modal__position--item:nth-of-type(1) .author-modal__position--decor {
    display: block;
  }
  .author-modal__title {
    font-size: 19px;
    line-height: 142%;
  }
  .author-modal__text {
    font-size: 16px;
  }
  .author-modal__spec {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .author-modal__spec--item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
  }
  .author-modal__spec--item:nth-of-type(1) .author-modal__spec--decor {
    display: block;
  }
  .author-modal__spec--item:nth-of-type(5) .author-modal__spec--decor {
    display: block;
  }
  .author-modal__spec--decor {
    height: 22px;
  }
  .author-modal__btn {
    position: absolute;
    top: 30px;
    right: 28px;
    width: 45px;
    height: 45px;
  }
  .partner-info {
    padding: 38px 23px;
  }
  .partner-info__text {
    padding-left: 17px;
    font-size: 16px;
  }
  .partner-logo {
    padding: 0 30px;
  }
  .partner-logo img {
    max-width: 100%;
  }
  .contact-info {
    padding: 36px 30px;
  }
  .contact-info__text {
    font-size: 16px;
  }
  .contact-info__list {
    display: none;
  }
  .faq-title {
    padding-left: 20px;
  }
  .faq-list {
    margin-top: 35px;
  }
  .faq-list__item-summary {
    padding: 24px 90px 24px 33px;
  }
  .faq-list__item-text {
    padding: 0 45px 20px 33px;
    font-size: 16px;
  }
  .faq-list__btn {
    width: 45px;
    height: 45px;
    top: 36px;
    right: 33px;
  }
  .faq-list__item-details[open] .faq-list__item-summary {
    padding: 24px 90px 24px 33px;
  }
  .footer-container {
    padding: 42px 36px;
  }
  .footer-title {
    font-size: 29px;
  }
  .footer-list {
    flex-wrap: wrap;
  }
  .footer-wrapper {
    align-items: start;
  }
  .footer-wrapper__item {
    font-size: 16px;
  }
  .footer-wrapper__eco {
    font-size: 16px;
  }
  .thanks .container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .thanks-container {
    flex-direction: column;
  }
  .thanks-info__img {
    margin-top: 15px;
    display: flex;
  }
  .thanks-title {
    font-size: 36px;
  }
  .thanks-text {
    font-size: 16px;
  }
  .thanks-btn {
    margin-top: 15px;
  }
  .thanks-img {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */