@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.body {
  font-family: "Inter", Arial, sans-serif;
}

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  padding: 15px 30px;
  background-color: #0D2433;
  user-select: none;
  
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__burger-span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  background-color: #ffffff;
  transition: 0.25s ease;
}

.header__nav {
  margin: auto auto auto 20px;
}

.header__nav-list {
  display: flex;
  gap: 30px;
  font-size: 20px;
}

.header__nav-item {
  list-style: none;
}

.header__nav-item--mobile {
  display: none;
}

.header__nav-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s;
}

.header__nav-link:hover {
  color: #468bb4;
}

.header__link {
  justify-self: flex-end;
  border: #fff solid 1px;
  border-radius: 18px;
  padding: 4px 18px;
  color: #fff;
  text-decoration: none;
  transition: 1s;
  white-space: nowrap;
}

.header__link:hover {
  color: #0D2433;
  background-color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 3fr 1fr;
  grid-template-areas: 
    "hero__logo hero__button"
    "hero__title ."
    "hero__apply-button .";
  min-height: 600px;
  padding: 0 0 0 50px;
  overflow: hidden;
  background: url("./img/hero-bg.png") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px 0;
  width: 62%;
  background: #00446C;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__button {
  grid-area: hero__button;
  justify-self: center;
  align-self: center;
  width: min-content;
  padding: 8px 30px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: #003859;
  transition: 1s;
}

.hero__button:hover {
  background-color: #9b2b2b;
}

.hero__logo {
  grid-area: hero__logo;
  align-self: center;
}

.hero__logo-image {
  height: 50px;
}

.hero__title {
  grid-area: hero__title;
  align-self: end;
  max-width: 200px;
  color: #fff;
  font-size: 45px;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
  user-select: none;
}

.hero__apply-button {
  grid-area: hero__apply-button;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 14px;
  padding: 15px 24px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: none;
  background: linear-gradient(180deg, #3aa7f4 0%, #2389d8 100%);
  box-shadow: 0 12px 24px rgba(35, 137, 216, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.hero__apply-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(35, 137, 216, 0.24);
}

.hero__apply-button-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero__apply-button:hover .hero__apply-button-arrow {
  transform: translateX(4px);
}

.main__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 56px 40px;
  background-color: #f5f8fb;
  user-select: none;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(13, 36, 51, 0.08);
  text-align: center;
  background-color: #ffffff;
}

.stats__number {
  color: #00446C;
  font-weight: 700;
  font-size: 42px;
}

.stats__text {
  color: #0D2433;
  font-size: 18px;
  line-height: 1.4;
}

.featured-programs {
  padding: 72px 50px;
  background-color: #ffffff;
}

.featured-programs__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.featured-programs__head {
  margin-bottom: 32px;
}

.featured-programs__title {
  margin: 0 0 12px;
  color: #00446C;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
}

.featured-programs__lead {
  max-width: 720px;
  margin: 0;
  color: #29404f;
  font-size: 18px;
  line-height: 1.5;
}

.featured-programs__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.featured-programs__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.featured-programs__all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 30px 0;
  color: #00446C;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-programs__all-link:hover {
  color: #2389d8;
}

.featured-programs__all-link-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.featured-programs__all-link:hover .featured-programs__all-link-arrow {
  transform: translateX(4px);
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  border: 1px solid rgba(0, 68, 108, 0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(13, 36, 51, 0.06);
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.program-card:hover {
  border-color: rgba(35, 137, 216, 0.4);
  box-shadow: 0 16px 36px rgba(13, 36, 51, 0.12);
  transform: translateY(-4px);
}

.program-card__arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #2389d8;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.program-card:hover .program-card__arrow {
  color: #0D2433;
  transform: translate(3px, -3px);
}

.program-card__code {
  display: inline-block;
  margin-bottom: 18px;
  padding-right: 40px;
  color: #7b8d99;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
}

.program-card__title {
  max-width: 420px;
  color: #0D2433;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
}

.program-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 28px;
  border-top: 1px solid rgba(13, 36, 51, 0.08);
  padding-top: 18px;
}

.program-card__qualification {
  margin: 10px 0 14px;
  color: #7b8d99;
  font-size: 15px;
  line-height: 1.4;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin: auto 0 0 0;
  padding: 48px 50px;
  color: #ffffff;
  background-color: #0D2433;
}

.footer__column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  max-width: 420px;
}

.footer__subtitle {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.footer__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
}

.footer__link {
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #4bb2fb;
}

.footer__copy {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
    gap: 32px;
    padding: 36px 24px;
  }

  .footer__column {
    max-width: none;
  }

  .featured-programs {
    padding: 20px;
  }
}

@media (max-width: 400px) {

  .featured-programs__title {
    font-size: 22px;
  }

  .program-card__title {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .featured-programs__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .header {
    justify-content: flex-end;
  }

  .header__link {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .header__nav {
    display: none;
    margin: 0;
  }

  .header__nav--open {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: block;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    background-color: #0D2433;
  }

  .header__nav-list--mobile {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 18px;
  }

  .header__nav-item--mobile {
    display: block;
  }

  .header__link--mobile {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    padding: 8px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "hero__logo"
      "hero__button"
      "hero__title"
      "hero__apply-button";
    gap: 24px;
    min-height: 620px;
    padding: 32px 20px 40px 50px;
    background-position: center right;
  }

  .hero::before {
    width: 100%;
    opacity: 0.88;
    clip-path: none;
  }

 .hero__logo {
    justify-self: center;
    align-self: start;
  }

  .hero__logo-image {
    max-width: 330px;
  }

  .hero__button {
    display: none;
  }

  .hero__title {
    justify-self: start;
    align-self: start;
    max-width: 320px;
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: 2px;
  }

  .hero__apply-button {
    justify-self: start;
    align-self: start;
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .hero__title {
    justify-self: start;
    align-self: start;
    max-width: 320px;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: 2px;
  }
  .hero {
    padding: 20px;
  }

  .hero__logo-image {
    max-width: 260px;
  }
}

/* ВСПЛЫВАШКА НА ГЛАВНОЙ СТРАНИЦЕ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.modal--open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 36, 51, 0.55);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 22px 28px 28px;
  background-color: #ffffff;
  box-shadow: 0 24px 60px rgba(13, 36, 51, 0.22);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 68, 108, 0.28) transparent;
}

.modal__dialog::-webkit-scrollbar {
  width: 8px;
}

.modal__dialog::-webkit-scrollbar-track {
  background: transparent;
}

.modal__dialog::-webkit-scrollbar-thumb {
  background-color: rgba(0, 68, 108, 0.28);
  border-radius: 999px;
}

.modal__dialog::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 68, 108, 0.42);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background-color: #f5f8fb;
  color: #0D2433;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background-color: #e8eef5;
  color: #00446C;
}

.modal__title {
  margin: 0 48px 10px 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #00446C;
}

.modal__text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.5;
  color: #29404f;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-form__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #5a6d7b;
}

.modal-form__control {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 68, 108, 0.14);
  border-radius: 14px;
  background-color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0D2433;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form__control:focus {
  border-color: #2389d8;
  box-shadow: 0 0 0 3px rgba(35, 137, 216, 0.12);
}

.modal-form__control::placeholder {
  color: #8a99a5;
}

.modal-form__control--textarea {
  min-height: 120px;
  resize: vertical;
}

.modal-form__control--select {
  min-height: 160px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.modal-form__control--select option {
  padding: 8px 10px;
}

.modal-form__hint {
  font-size: 13px;
  line-height: 1.4;
  color: #6d7f8c;
}

.modal-form__submit {
  align-self: flex-end;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(180deg, #3aa7f4 0%, #2389d8 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  gap: 14px;
  text-align: center;
}

.modal__content[hidden],
.modal-success[hidden] {
  display: none;
}

.modal-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3aa7f4 0%, #2389d8 100%);
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.modal-success__text {
  color: #00446C;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.modal-form__submit:hover {
  transform: translateY(-1px);
}

.body--modal-open {
  overflow: hidden;
}

.modal-form__label--required::after {
  content: " *";
  color: #c53030;
}

.modal-form__programs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-form__program-item {
  display: block;
  cursor: pointer;
}

.modal-form__program-checkbox {
  position: absolute;
  opacity: 0;
}

.modal-form__program-text {
  display: block;
  border: 1px solid rgba(0, 68, 108, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  color: #0D2433;
  font-size: 16px;
  line-height: 1.45;
  background-color: #ffffff;
  box-shadow: inset 0 0 0 0 transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.modal-form__program-text--selected {
  border-color: #2389d8;
  background-color: #f3f9ff;
  box-shadow: 0 0 0 3px rgba(35, 137, 216, 0.12);
  color: #00446C;
}

.modal-form__programs--invalid {
  padding: 2px;
  border-radius: 14px;
}

.modal-form__program-text:hover {
  border-color: rgba(35, 137, 216, 0.35);
}

.modal-form__error {
  min-height: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: #c53030;
}

.modal-form__error--form {
  margin-top: -4px;
}

.modal-form__control--invalid {
  border-color: #c53030;
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.modal-form__consent {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 12px;
  padding: 12px 0 4px;
}

.modal-form__consent-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 68, 108, 0.16);
  border-radius: 6px;
  background-color: #f3f9ff;
  color: #00446C;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.modal-form__consent-text {
  color: #5a6d7b;
  font-size: 14px;
  line-height: 1.5;
}

.modal-form__consent-link {
  color: #00446C;
  text-decoration: none;
}

.modal-form__consent-link:hover {
  color: #2389d8;
}

.modal-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 900px) {
  .modal__dialog {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: 24px;
  }

  .modal__title {
    font-size: 28px;
  }

  .modal__text {
    font-size: 16px;
  }

  .modal-form__control,
  .modal-form__submit {
    font-size: 16px;
  }
}

/* СТАТИЧЕСКИЕ СТРАНИЦЫ */

.header__brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration: none;
}

.header__brand-image {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #0D2433;
  background-color: #f5f8fb;
}

.page__header {
  justify-content: space-between;
}

.page__info {
  display: flex;
  flex-direction: column;
  margin: 0 0 14px;
}

.page__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page__info-title {
  margin: 12px 0 0;
  color: #7b8d99;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  user-select: none;
}

.page__info-text {
  margin: 0;
  color: #0D2433;
  font-size: 17px;
}

.page__link {
  color: #00446C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page__link:hover {
  color: #2389d8;
}

.page__main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 50px;
}

.page__section {
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(13, 36, 51, 0.08);
  background-color: #ffffff;
}

.page__title {
  margin: 0 0 14px;
  color: #00446C;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
}

.page__lead {
  margin-bottom: 28px;
  color: #29404f;
  font-size: 20px;
  line-height: 1.5;
}

.page__text {
  color: #0D2433;
  font-size: 18px;
  line-height: 1.6;
}

.page__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.6;
}

.page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.page__card {
  border-radius: 14px;
  padding: 24px;
  background-color: #f5f8fb;
}

.page__card-title {
  margin: 18px 0 10px;
  color: #00446C;
  font-weight: 600;
  font-size: 22px;
}

.page__map-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  margin-top: 28px;
  border-radius: 14px;
  padding: 24px;
  color: #45606f;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 68, 108, 0.08), rgba(0, 68, 108, 0.08)),
    #e9eef3;
}


@media (max-width: 900px) {
  
  .page__main {
    width: 100%;
    max-width: 100%;
    padding: 24px 12px;
  }

  .page__section {
    width: 100%;
    min-width: 0;
    padding: 20px 14px;
    border-radius: 16px;
  }

  .page__title {
    margin: 4px 0 14px;
    font-size: 24px;
  }

  .page__lead,
  .page__text,
  .page__list {
    font-size: 16px;
  }

  .page__grid {
    grid-template-columns: 1fr;
  }
  
}

/* ПРОГРАММЫ */

.page__section-block {
  margin-top: 28px;
}

.course__layout {
  margin-top: 32px;
}

.course__education {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.course-card {
  border: 1px solid rgba(0, 68, 108, 0.08);
  border-radius: 20px;
  padding: 38px;
  background-color: #f5f8fb;
}

.course-card--study {
  display: flex;
  flex-direction: column;
}

.course-card__header {
  margin-bottom: 20px;
}

.course-card__title {
  margin: 0 0 10px;
  color: #00446C;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-card__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-card__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(13, 36, 51, 0.08);
  padding-bottom: 18px;
}

.course-card__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.course-card__item-title {
  color: #7b8d99;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.course-card__item-note {
  color: #6d7f8c;
  font-size: 15px;
  line-height: 1.35;
}

.course-card__item-text {
  color: #0D2433;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
}

.course-card__price {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(13, 36, 51, 0.08);
  padding-top: 20px;
}

.course-card__price-label {
  color: #6d7f8c;
  font-size: 15px;
  line-height: 1.35;
}

.course-card__price-value {
  flex-shrink: 0;
  color: #00446C;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  white-space: nowrap;
}

.course-card__currency {
  font-size: 32px;
}

.course-card--exams {
  margin-top: 24px;
}

.course-card__exam-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-card__exam-item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(0, 68, 108, 0.08);
  border-radius: 999px;
  padding: 10px 16px;
  color: #0D2433;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  background-color: #ffffff;
}

.course__paragraph {
  margin: 8px 0;
}

.course-page__topbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.course-page__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00446C;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-page__back-link:hover {
  color: #2389d8;
}

.course-page__back-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.course-page__back-link:hover .course-page__back-arrow {
  transform: translateX(-4px);
}

.page__section-block {
  margin-top: 32px;
}

@media (max-width: 900px) {

  .course-card {
    padding: 22px;
  }

  .course-card__title {
    font-size: 20px;
  }

  .course-card__item-text {
    font-size: 24px;
  }

  .course-card__price {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-card__price-value {
    font-size: 30px;
  }
}

/* СПИСОК ПРОГРАММ */

.programs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.program-card__text {
  margin-top: 16px;
  color: #29404f;
  font-size: 18px;
  line-height: 1.5;
}

.program-card__duration {
  color: #00446C;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .program-card__text,
  .program-card__duration {
    font-size: 16px;
  }
}


/* Мобильный фикс */

.page__title,
.page__lead,
.program-card__title,
.program-card__text,
.course-card__title,
.course-card__item-text,
.course-card__price-value,
.page__text,
.stats__text,
.featured-programs__title,
.featured-programs__lead {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
