* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #4f9a63;
  --color-primary-hover: #62b279;
  --color-accent: #d4df64;
  --color-accent-soft: #ebefb6;
  --color-check: #4f9a63;
  --bg-color: #0b1510;
  --surface-dark: #14231a;
  --surface-dark-2: #102019;
  --surface-border: #2f4533;
  --surface-border-soft: #223729;
  --surface-light: #f2f2e8;
  --surface-card: #fffdf4;
  --surface-row: #f7f6ec;
  --surface-active: #e2eedf;
  --surface-active-border: #c3d9bd;
  --text-color: #bdc8ba;
  --text-color-2: #f8f7ef;
  --text-color-dark: #142018;
  --text-muted: #91a08f;
  --text-light-muted: #5e705f;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: #daddd2;
  --border-light-soft: #e7e7dc;
  --shadow-primary: rgba(79, 154, 99, 0.25);
  --shadow-dark: rgba(0, 0, 0, 0.42);
  --hero-gradient: linear-gradient(
    135deg,
    #173923 0%,
    #0c1a11 48%,
    #393713 100%
  );
  --hero-glow-primary: rgba(79, 154, 99, 0.28);
  --hero-glow-accent: rgba(212, 223, 100, 0.22);
  --overlay-dark-top: rgba(11, 21, 16, 0.65);
  --overlay-dark-bottom: rgba(11, 21, 16, 0.96);
  --surface-white-08: rgba(255, 255, 255, 0.08);
  --surface-white-12: rgba(255, 255, 255, 0.12);
  --surface-white-14: rgba(255, 255, 255, 0.14);
  --badge-bg: #e5ebb0;
  --badge-text: #566314;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.55;
}

body,
button,
input,
select,
textarea {
  font:
    16px/1.55 Arial,
    Helvetica,
    sans-serif;
}

button {
  cursor: pointer;
}

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

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

.page {
  overflow: hidden;
  padding-top: 86px;
}

.no-scroll {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 50px;
}

.btn {
  min-height: 52px;
  padding: 20px 40px;
  border: 1px solid var(--color-primary);
  border-radius: 30px;
  background-color: var(--color-primary);
  box-shadow: 0 0 24px var(--shadow-primary);
  color: var(--surface-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn_dark {
  background-color: transparent;
  border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
  box-shadow: none;
  color: var(--color-primary);
}

.btn_dark:hover {
  background-color: var(--color-primary);
  color: var(--surface-card);
}

.about,
.format,
.mentor,
.speakers {
  display: none;
}

/* Header */
.header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  padding: 10px 0;
  background-color: transparent;
  border-bottom: none;
  transform: translateY(0);
  transition:
    transform 0.35s ease,
    padding 0.35s ease;
}

.header.header_hidden {
  transform: translateY(calc(-100% - 14px));
}

.header.header_scrolled .header__wrapper {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--color-primary) 10%, transparent),
      transparent 46%
    ),
    color-mix(in srgb, var(--surface-dark) 88%, transparent);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 var(--surface-white-08);
}

.header__wrapper {
  min-height: 60px;
  padding: 15px 20px;
  border-radius: 40px;
  background:
    radial-gradient(
      circle at 8% 50%,
      color-mix(in srgb, var(--color-primary) 12%, transparent),
      transparent 28%
    ),
    color-mix(in srgb, var(--surface-dark) 82%, transparent);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: inset 0 1px 0 var(--surface-white-08);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.header__logo {
  max-width: 170px;
  display: block;
  flex: 0 0 auto;
}

.header__logo_text {
  max-width: 240px;
  color: var(--text-color-2);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__list {
  display: flex;
  align-items: center;
  gap: 50px;
  list-style: none;
}

.header__link {
  color: var(--text-color);
  display: block;
  padding: 2px 0;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.header__link:hover {
  color: var(--text-color-2);
}

.header__options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language {
  position: relative;
  z-index: 3;
}

.language::after {
  content: "";
  height: 12px;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
}

.language__current {
  min-height: 48px;
  padding: 0 12px 0 12px;
  color: var(--text-color-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

/* .language__current::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.72;
  transition: transform 0.25s ease;
} */

.language__list {
  min-width: 100%;
  list-style: none;
  margin: 0;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background:
    radial-gradient(
      circle at 20% 0,
      color-mix(in srgb, var(--color-primary) 12%, transparent),
      transparent 42%
    ),
    color-mix(in srgb, var(--surface-dark-2) 98%, transparent);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 var(--surface-white-08);
  position: absolute;
  top: 100%;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) translateX(-50%);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.language:hover .language__list,
.language:focus-within .language__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(-50%);
}

.language:hover .language__current,
.language:focus-within .language__current {
  color: var(--color-primary-hover);
}

.language:hover .language__current::after,
.language:focus-within .language__current::after {
  transform: translateY(-35%) rotate(225deg);
}

.language__item:not(:last-child) {
  margin-bottom: 4px;
}

.language__link {
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.language__link:hover,
.language__link:focus-visible {
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
  color: var(--color-primary-hover);
}

.header__btn {
  min-width: 180px;
  min-height: 48px;
  padding: 15px 30px;
  border: 1px solid
    color-mix(in srgb, var(--border-light-soft) 72%, transparent);
  background: none;
  font-size: 16px;
  box-shadow: none;
}

.header__btn:hover {
  background: none;
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

.hamburger {
  width: 52px;
  height: 52px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  padding: 17px 15px;
  border-radius: 30px;
  border: 1px solid #35563e;
  background: none;
}

.hamburger span {
  width: 100%;
  height: 2px;
  border-radius: 8px;
  background-color: var(--text-color-2);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 50px 0 70px;
  display: flex;
  align-items: center;
}

.hero__wrapper {
  min-height: 650px;
  padding: 70px 60px;
  border-radius: 70px;
  background:
    radial-gradient(
      circle at 82% 12%,
      var(--hero-glow-primary),
      transparent 32%
    ),
    radial-gradient(
      circle at 14% 86%,
      var(--hero-glow-accent),
      transparent 36%
    ),
    var(--hero-gradient);
  box-shadow: inset 0 0 90px rgba(22, 163, 148, 0.08);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}

.hero__wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 46%;
  height: 55%;
  right: 0;
  top: 15%;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg width='620' height='360' viewBox='0 0 620 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%239BD2A9' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M58 236V310'/%3E%3Cpath d='M128 184V268'/%3E%3Cpath d='M198 132V238'/%3E%3Cpath d='M268 166V284'/%3E%3Cpath d='M338 100V218'/%3E%3Cpath d='M408 126V250'/%3E%3Cpath d='M478 72V202'/%3E%3Cpath d='M548 98V220'/%3E%3C/g%3E%3Cg%3E%3Crect x='43' y='254' width='30' height='38' rx='5' fill='%234F9A63'/%3E%3Crect x='113' y='206' width='30' height='44' rx='5' fill='%23D4DF64'/%3E%3Crect x='183' y='158' width='30' height='54' rx='5' fill='%234F9A63'/%3E%3Crect x='253' y='194' width='30' height='56' rx='5' fill='%23D4DF64'/%3E%3Crect x='323' y='126' width='30' height='62' rx='5' fill='%234F9A63'/%3E%3Crect x='393' y='154' width='30' height='58' rx='5' fill='%23D4DF64'/%3E%3Crect x='463' y='102' width='30' height='64' rx='5' fill='%234F9A63'/%3E%3Crect x='533' y='132' width='30' height='58' rx='5' fill='%23D4DF64'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero__content {
  width: 60%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__label {
  width: fit-content;
  margin-bottom: 30px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--surface-dark-2) 72%, transparent);
  color: #f8f7ef;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero__title {
  max-width: 900px;
  color: #f4f3e8;
  font-size: clamp(36px, 3.8vw, 70px);
  line-height: 1.3;
  font-weight: 700;
}

.hero__descr {
  max-width: 860px;
  margin-top: 30px;
  color: var(--text-color-2);
  font-size: 22px;
  line-height: 38px;
}

.hero__actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__btn {
  min-height: 62px;
}

.hero__link {
  min-width: 238px;
  min-height: 62px;
  padding: 18px 40px;
  border: 1px solid color-mix(in srgb, #4f9a63 25%, transparent);
  border-radius: 35px;
  color: var(--text-color-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 0 10px 0 #4f9a63 inset;
}

.hero__stats {
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--text-color-2) 10%, transparent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hero__stat {
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  backdrop-filter: none;
}

.hero__num {
  color: var(--color-accent);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
}

.hero__text {
  margin-top: 10px;
  color: var(--text-color-2);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

.hero__media {
  padding-top: 50px;
  width: 35%;
  max-width: 540px;
  height: calc(100% - 22px);
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  right: 34px;
  bottom: 0;
  overflow: visible;
  z-index: 1;
}

.hero__media img {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  transform: none;
}

.hero__badge {
  width: min(78%, 440px);
  padding: 24px 26px;
  border: 1px solid color-mix(in srgb, var(--text-color-2) 14%, transparent);
  border-radius: 25px;
  background-color: color-mix(in srgb, var(--surface-dark) 88%, transparent);
  backdrop-filter: blur(10px);
  color: var(--text-color-2);
  position: absolute;
  right: 20px;
  bottom: 42px;
  z-index: 3;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.hero__badge span {
  margin-bottom: 15px;
  color: #f4f3e8;
  display: block;
  font-weight: 700;
  font-size: 22px;
}

/* Course Fit */
.course-fit {
  padding: 80px 0 60px;
}

.benefits,
.skills,
.program,
.reviews,
.rates,
.learning,
.faq,
.feedback {
  padding: 86px 0;
}

.program,
.reviews,
.learning,
.faq,
.feedback {
  background-color: var(--bg-color);
}

.benefits,
.skills,
.rates {
  background-color: var(--surface-light);
  color: var(--text-color-dark);
}

.title {
  margin: 0 0 70px;
  padding: 0;
  font-size: clamp(30px, 2.8vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  position: relative;
}

.course-fit__title,
.program__title,
.reviews__title,
.learning__title,
.faq__title,
.feedback__title {
  color: #f4f3e8;
}

.benefits__title,
.skills__title,
.rates__title {
  color: var(--text-color-dark);
}

.title::after {
  content: "";
  width: 82px;
  height: 4px;
  border-radius: 10px;
  background-color: #d4df64;
  position: absolute;
  left: 0;
  bottom: -28px;
}

.course-fit__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.course-fit__item {
  min-height: 372px;
  padding: 33px;
  border-radius: 30px;
  background-color: var(--surface-dark);
  position: relative;
}

.course-fit__item::before {
  content: "";
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  border-radius: 13px;
  background-color: #1c3825;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px;
  display: block;
}

.course-fit__item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='8' height='8' rx='1.5' stroke='%239BD2A9' stroke-width='2'/%3E%3Crect x='16' y='5' width='8' height='8' rx='1.5' stroke='%239BD2A9' stroke-width='2'/%3E%3Crect x='10' y='16' width='8' height='8' rx='1.5' stroke='%239BD2A9' stroke-width='2'/%3E%3C/svg%3E");
}

.course-fit__item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='6' width='20' height='16' rx='3' stroke='%239BD2A9' stroke-width='2'/%3E%3Cpath d='M16 11H24V17H16' stroke='%239BD2A9' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='18.5' cy='14' r='1' fill='%239BD2A9'/%3E%3C/svg%3E");
}

.course-fit__item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='6' stroke='%239BD2A9' stroke-width='2'/%3E%3Cpath d='M16.5 16.5L23 23' stroke='%239BD2A9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.course-fit__item:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='9' stroke='%239BD2A9' stroke-width='2'/%3E%3Cpath d='M14 5V14H23' stroke='%239BD2A9' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.course-fit__name {
  padding-left: 0;
  color: var(--text-color-2);
  font-size: 27px;
  line-height: 34px;
  font-weight: 700;
}

.course-fit__descr {
  margin-top: 20px;
  color: #bdc8ba;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.course-fit__cols {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.course-fit__col {
  min-height: 102px;
  padding: 17px;
  border-radius: 20px;
  background-color: #102019;
}

/* .course-fit__col_bad {
  border: 1px solid color-mix(in srgb, #e49a75 18%, transparent);
}

.course-fit__col_good {
  border: 1px solid color-mix(in srgb, #9bd2a9 28%, transparent);
} */

.course-fit__label {
  color: #9bd2a9;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-fit__col_bad .course-fit__label {
  color: #e49a75;
}

.course-fit__col ul {
  margin-top: 10px;
}

.course-fit__col li {
  color: #bdc8ba;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
}

.course-fit__col li::before {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
  font-size: 22px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
}

.course-fit__col_bad li {
  color: #91a08f;
}

.course-fit__col_bad li::before {
  content: "\00d7";
  color: #9baa97;
}

.course-fit__col_good li {
  color: var(--text-color-2);
}

.course-fit__col_good li::before {
  content: "\2713";
  color: #79c994;
  font-size: 18px;
}

.course-fit__col li:not(:last-child) {
  margin-bottom: 10px;
}

.benefits {
  border-radius: 100px 100px 0 0;
}

.benefits__list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefits__item {
  min-height: 230px;
  padding: 30px;
  border-radius: 30px;
  background-color: var(--surface-card);
  position: relative;
}

.benefits__item::before {
  content: "";
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  border-radius: 14px;
  background-color: #e7f1e4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px;
  display: block;
}

.benefits__item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='5' width='7' height='7' rx='1' stroke='%233F8F5C' stroke-width='2'/%3E%3Crect x='16' y='5' width='7' height='7' rx='1' stroke='%233F8F5C' stroke-width='2'/%3E%3Crect x='5' y='16' width='7' height='7' rx='1' stroke='%233F8F5C' stroke-width='2'/%3E%3Crect x='16' y='16' width='7' height='7' rx='1' stroke='%233F8F5C' stroke-width='2'/%3E%3C/svg%3E");
}

.benefits__item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4L22 7V14C22 18.5 18.8 22 14 24C9.2 22 6 18.5 6 14V7L14 4Z' stroke='%233F8F5C' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M10 14L13 17L18 11' stroke='%233F8F5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.benefits__item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='4' width='16' height='20' rx='2' stroke='%233F8F5C' stroke-width='2'/%3E%3Cpath d='M10 9H18M10 14H18M10 19H15' stroke='%233F8F5C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.benefits__item:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8H22M6 14H22M6 20H22' stroke='%233F8F5C' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='8' r='2' fill='%23E7F1E4' stroke='%233F8F5C' stroke-width='2'/%3E%3Ccircle cx='18' cy='14' r='2' fill='%23E7F1E4' stroke='%233F8F5C' stroke-width='2'/%3E%3Ccircle cx='12' cy='20' r='2' fill='%23E7F1E4' stroke='%233F8F5C' stroke-width='2'/%3E%3C/svg%3E");
}

.benefits__name {
  margin-top: 0;
  color: var(--text-color-dark);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.benefits__text {
  margin-top: 15px;
  color: var(--text-light-muted);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.skills {
  border-radius: 0 0 100px 100px;
}

.skills__wrapper {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skills__item {
  min-height: 220px;
  padding: 30px;
  border-radius: 30px;
  background-color: var(--surface-card);
  color: var(--text-color-dark);
  display: flex;
  flex-direction: column;
  font-size: 20px;
  line-height: 29px;
  font-weight: 800;
  position: relative;
}

.skills__item::before {
  content: "";
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #e7f1e4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px;
  margin-bottom: 25px;
}

.skills__item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='14' r='6' stroke='%233F8F5C' stroke-width='2'/%3E%3Ccircle cx='17' cy='14' r='6' stroke='%233F8F5C' stroke-width='2'/%3E%3C/svg%3E");
}

.skills__item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='6' width='20' height='16' rx='3' stroke='%233F8F5C' stroke-width='2'/%3E%3Cpath d='M16 11H24V17H16' stroke='%233F8F5C' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.skills__item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='5' stroke='%233F8F5C' stroke-width='2'/%3E%3Cpath d='M15 15L22 22M18 7H23M20.5 4.5V9.5' stroke='%233F8F5C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.skills__item:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 21H23M7 18L11 14L15 17L22 9' stroke='%233F8F5C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.skills__item:nth-child(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='9' stroke='%233F8F5C' stroke-width='2'/%3E%3Cpath d='M14 5V14H23' stroke='%233F8F5C' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.skills__item:nth-child(6)::before {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='18' height='22' rx='2' stroke='%233F8F5C' stroke-width='2'/%3E%3Cpath d='M10 3V25M14 9H19M14 14H19M14 19H18' stroke='%233F8F5C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.skills__name {
  color: var(--text-color-dark);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.skills__text {
  margin-top: 15px;
  color: var(--text-light-muted);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.skills__btn {
  margin: 50px auto 0 auto;
  display: flex;
  width: fit-content;
}

/* Program */
.program__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program__item {
  min-height: 260px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 227, 90, 0.06), transparent 38%),
    var(--surface-dark);
}

.program__num,
.learning__num {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #1c3825;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
}

.program__name,
.learning__name {
  margin-top: 25px;
  color: var(--text-color-2);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.program__text,
.learning__text {
  margin-top: 15px;
  color: #bdc8ba;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

/* Reviews */

.reviews__wrapper {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reviews__item {
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-primary) 8%, transparent),
      transparent 44%
    ),
    var(--surface-dark);
  position: relative;
}

.reviews__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews__avatar {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border: 2px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 44%, transparent),
      color-mix(in srgb, var(--color-accent) 28%, transparent)
    ),
    var(--surface-dark-2);
  color: var(--text-color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.reviews__item:nth-child(2) .reviews__avatar {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-accent) 34%, transparent),
      color-mix(in srgb, var(--color-primary) 36%, transparent)
    ),
    var(--surface-dark-2);
}

.reviews__item:nth-child(3) .reviews__avatar {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary-hover) 32%, transparent),
      color-mix(in srgb, var(--color-primary) 38%, transparent)
    ),
    var(--surface-dark-2);
}

.reviews__name {
  color: var(--text-color-2);
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
}

.reviews__role {
  margin-top: 7px;
  color: var(--text-color);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.reviews__box {
  margin-top: 30px;
  padding: 20px 25px;
  border-radius: 22px;
  background-color: var(--surface-dark-2);
}

.reviews__box + .reviews__box {
  margin-top: 20px;
}

.reviews__label {
  color: var(--text-color-2);
  font-size: 22px;
  line-height: 37px;
  font-weight: 600;
}

.reviews__text {
  margin-top: 8px;
  color: var(--text-color-2);
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
}

.reviews__cta {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* Rates */
.rates {
  border-radius: 100px;
}

.rates__tabs {
  display: none;
}

.rates__table {
  border: 1px solid var(--border-light);
  border-radius: 50px;
  background-color: var(--surface-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  overflow-x: auto;
  overflow-y: hidden;
}

.rates__grid {
  min-width: 920px;
  display: grid;
  grid-template-columns: 1.05fr repeat(var(--rates-columns, 3), minmax(0, 1fr));
}

.rates__table_cols-1 .rates__grid,
.rates__table_cols-2 .rates__grid {
  min-width: 760px;
}

.rates__grid:nth-child(even) {
  background-color: var(--surface-row);
}

.rates__grid_head,
.rates__grid_bottom {
  background-color: var(--surface-card) !important;
}

.rates__grid_bottom {
  border-top: 1px solid var(--border-light);
}

.rates__feature,
.rates__tariff,
.rates__check,
.rates__empty,
.rates__small,
.rates__action {
  min-height: 58px;
  padding: 10px 20px;
  border-right: 1px solid var(--border-light-soft);
  color: var(--text-color-dark);
  display: flex;
  align-items: center;
}

.rates__feature {
  justify-content: flex-start;
  font-size: 18px;
  line-height: 24px;
}

.rates__tariff {
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.rates__tariff_active,
.rates__check_active,
.rates__empty_active,
.rates__small_active,
.rates__action_active {
  background-color: var(--surface-active);
  box-shadow:
    inset 1px 0 0 var(--surface-active-border),
    inset -1px 0 0 var(--surface-active-border);
}

.rates__grid:nth-child(2n) .rates__check_active,
.rates__grid:nth-child(2n) .rates__small_active,
.rates__grid:nth-child(2n) .rates__empty_active {
  background-color: #d9ead5;
}

.rates__name {
  color: var(--text-color-dark);
  font-size: 24px;
  line-height: 30px;
  font-weight: 900;
}

.rates__caption,
.rates__duration {
  margin-top: 18px;
  color: var(--text-color-dark);
  font-size: 18px;
  line-height: 24px;
}

.rates__duration {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.rates__tag {
  padding: 10px 22px;
  border-radius: 30px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.rates__check,
.rates__empty,
.rates__small,
.rates__action {
  justify-content: center;
  text-align: center;
}

.rates__check {
  color: var(--color-check);
  font-size: 26px;
}

.rates__empty {
  color: var(--text-muted);
  font-size: 22px;
}

.rates__small {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
}

.rates__action {
  min-height: 102px;
  padding: 20px 22px;
}

.rates__btn {
  width: 100%;
  max-width: 300px;
}

.rates__note {
  max-width: 880px;
  margin: 25px auto 0;
  color: var(--text-light-muted);
  text-align: center;
  font-size: 15px;
  line-height: 22px;
}

/* Learning */
.learning__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learning__item {
  min-height: 260px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--color-primary) 20%, transparent),
      transparent 52%
    ),
    var(--surface-dark);
}

.learning__item:nth-child(4) {
  display: none;
}

.learning__num {
  border-radius: 14px;
}

/* FAQ */
.faq__wrapper {
  --faq-gap: 50px;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
  gap: 12px var(--faq-gap);
  align-items: start;
  position: relative;
}

.faq__accordion {
  display: block;
  grid-column: 1;
}

.faq__question {
  min-height: 72px;
  padding: 15px 20px 15px 55px;
  border: 1px solid transparent;
  border-radius: 18px;
  background-color: #102019;
  color: var(--text-color);
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  position: relative;
  user-select: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.faq__question::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  border-radius: 30px;
  background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.faq__question:hover {
  color: var(--text-color-2);
  background-color: color-mix(in srgb, var(--surface-dark) 72%, transparent);
}

.faq__question.active::before {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--color-accent) 45%, transparent);
}

.faq__question.active {
  border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 18%, transparent),
      transparent 70%
    ),
    var(--surface-dark);
  color: var(--text-color-2);
}

.faq__answer {
  min-height: 310px;
  padding: 0 34px 34px;
  border-radius: 30px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-primary) 10%, transparent),
      transparent 48%
    ),
    var(--surface-dark);
  box-shadow: 0 30px 80px var(--shadow-dark);
  display: none;
  width: calc((100% - var(--faq-gap)) / 2);
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}

.faq__accordion.active .faq__answer {
  display: block;
}

.faq__answer::before {
  content: attr(data-question);
  min-height: 40px;
  margin: 0 -34px 30px;
  padding: 20px 35px 20px 35px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--color-primary) 28%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 88%, transparent),
      color-mix(in srgb, var(--color-primary-hover) 58%, transparent)
    ),
    var(--color-primary);
  color: var(--text-color-2);
  display: flex;
  align-items: center;
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
}

.faq__answer p {
  padding-bottom: 0;
  color: var(--text-color);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

/* Feedback */
.feedback__wrapper {
  min-height: 520px;
  padding: clamp(34px, 4vw, 64px);
  border: 1px solid var(--surface-border);
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 12% 18%,
      color-mix(in srgb, var(--color-primary) 28%, transparent),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 72%,
      color-mix(in srgb, var(--color-accent) 20%, transparent),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--color-primary) 16%, transparent),
      transparent 48%
    ),
    var(--surface-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.feedback__wrapper::before {
  content: "";
  width: 58%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='760' height='360' viewBox='0 0 760 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 266C84 214 142 238 204 184C268 130 330 154 394 112C462 68 526 86 590 138C654 190 696 160 742 106' stroke='%234F9A63' stroke-width='4' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M18 306C94 258 160 286 238 226C306 174 372 196 452 148C548 90 626 122 742 58' stroke='%23D4DF64' stroke-width='2' stroke-linecap='round' opacity='0.32'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.28;
  position: absolute;
  left: 24%;
  bottom: -40%;
  pointer-events: none;
}

.feedback__content,
.feedback__form {
  position: relative;
  z-index: 1;
}

.feedback__label {
  width: fit-content;
  margin-bottom: 30px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--surface-dark-2) 72%, transparent);
  color: #f8f7ef;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.feedback__title {
  max-width: 780px;
  margin-bottom: 0;
  color: #f4f3e8;
  font-size: clamp(33px, 3.8vw, 60px);
  line-height: 1.2;
}

.feedback__title::after {
  display: none;
}

.feedback__text {
  max-width: 720px;
  margin-top: 30px;
  color: var(--text-color);
  font-size: 22px;
  line-height: 36px;
  font-weight: 500;
  padding-bottom: 30px;
}

.feedback__form {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid
    color-mix(in srgb, var(--color-primary) 24%, var(--surface-border));
  border-radius: 30px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-primary) 8%, transparent),
      transparent 44%
    ),
    color-mix(in srgb, var(--surface-dark-2) 92%, transparent);
  box-shadow: 0 28px 80px var(--shadow-dark);
}

.feedback__form-head {
  margin-bottom: 25px;
}

.feedback__form-title {
  color: var(--text-color-2);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.feedback__form-note {
  margin-top: 15px;
  color: var(--text-color);
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
}

.feedback__input {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background-color: var(--bg-color);
  color: var(--text-color-2);
  outline: none;
  font-weight: 500;
}

.feedback__input:focus {
  border-color: var(--color-primary);
}

.feedback__btn,
:is(.feedback__form, .modal__form) .wpcf7-submit,
:is(.feedback__form, .modal__form) input[type="submit"],
:is(.feedback__form, .modal__form) button[type="submit"] {
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
  padding: 18px 28px;
  border: 1px solid var(--color-primary);
  border-radius: 32px;
  background-color: var(--color-primary);
  box-shadow: 0 0 24px var(--shadow-primary);
  color: var(--surface-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.feedback__btn:hover,
:is(.feedback__form, .modal__form) .wpcf7-submit:hover,
:is(.feedback__form, .modal__form) input[type="submit"]:hover,
:is(.feedback__form, .modal__form) button[type="submit"]:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.feedback__btn:disabled,
:is(.feedback__form, .modal__form) .wpcf7-submit:disabled,
:is(.feedback__form, .modal__form) input[type="submit"]:disabled,
:is(.feedback__form, .modal__form) button[type="submit"]:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.feedback__policy {
  text-align: center;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
}

:is(.feedback__form, .modal__form) .wpcf7 {
  width: 100%;
}

:is(.feedback__form, .modal__form) .wpcf7-form {
  margin: 0;
}

:is(.feedback__form, .modal__form) .wpcf7 p {
  margin: 0 0 12px;
}

:is(.feedback__form, .modal__form) .wpcf7 p:has(.wpcf7-submit),
:is(.feedback__form, .modal__form) .wpcf7 p:last-of-type {
  margin-bottom: 0;
}

:is(.feedback__form, .modal__form) .wpcf7-form-control-wrap {
  display: block;
}

:is(.feedback__form, .modal__form) .wpcf7-form-control-wrap:not(:last-child) {
  margin-bottom: 12px;
}

:is(.feedback__form, .modal__form)
  .wpcf7
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
:is(.feedback__form, .modal__form) .wpcf7 textarea,
:is(.feedback__form, .modal__form) .wpcf7 select {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background-color: var(--bg-color);
  color: var(--text-color-2);
  outline: none;
  font-weight: 500;
  transition: border-color 0.3s ease;
}

:is(.feedback__form, .modal__form) .wpcf7 textarea {
  min-height: 128px;
  padding-top: 16px;
  resize: vertical;
}

:is(.feedback__form, .modal__form) .wpcf7 input::placeholder,
:is(.feedback__form, .modal__form) .wpcf7 textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

:is(.feedback__form, .modal__form) .wpcf7 input:focus,
:is(.feedback__form, .modal__form) .wpcf7 textarea:focus,
:is(.feedback__form, .modal__form) .wpcf7 select:focus {
  border-color: var(--color-primary);
}

:is(.feedback__form, .modal__form) .wpcf7-not-valid {
  border-color: color-mix(
    in srgb,
    #d96b65 76%,
    var(--surface-border)
  ) !important;
}

:is(.feedback__form, .modal__form) .wpcf7-not-valid-tip {
  margin: 7px 0 0;
  color: #e37b74;
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  padding-left: 2px;
}

:is(.feedback__form, .modal__form) .wpcf7-spinner {
  width: 22px;
  height: 22px;
  margin: 14px auto 0;
  display: block;
  background-color: color-mix(
    in srgb,
    var(--color-primary) 80%,
    var(--surface-card)
  );
  opacity: 0;
  visibility: hidden;
  display: none;
}

:is(.feedback__form, .modal__form) .submitting .wpcf7-spinner,
:is(.feedback__form, .modal__form) .is-submitting .wpcf7-spinner {
  opacity: 1;
  visibility: visible;
}

:is(.feedback__form, .modal__form) .wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-dark) 72%, transparent);
  color: var(--text-color);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  text-align: center;
}

:is(.feedback__form, .modal__form) .wpcf7 form.invalid .wpcf7-response-output,
:is(.feedback__form, .modal__form)
  .wpcf7
  form.unaccepted
  .wpcf7-response-output,
:is(.feedback__form, .modal__form)
  .wpcf7
  form.payment-required
  .wpcf7-response-output {
  border-color: color-mix(in srgb, #d4df64 78%, var(--surface-border));
  background: rgba(212, 223, 100, 0.08);
  color: #e8eaa6;
}

:is(.feedback__form, .modal__form) .wpcf7 form.sent .wpcf7-response-output {
  border-color: color-mix(in srgb, #79c994 70%, var(--surface-border));
  background: rgba(121, 201, 148, 0.09);
  color: #c5e8ce;
}

:is(.feedback__form, .modal__form) .wpcf7 form.failed .wpcf7-response-output,
:is(.feedback__form, .modal__form) .wpcf7 form.aborted .wpcf7-response-output,
:is(.feedback__form, .modal__form) .wpcf7 form.spam .wpcf7-response-output {
  border-color: color-mix(in srgb, #e37b74 70%, var(--surface-border));
  background: rgba(227, 123, 116, 0.08);
  color: #f3b2ac;
}

/* Footer */
.footer {
  padding: 40px 0 34px;
  background-color: var(--bg-color);
}

.footer__wrapper {
  min-height: 300px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--surface-border);
  border-radius: 40px;
  background:
    radial-gradient(
      circle at 8% 0%,
      color-mix(in srgb, var(--color-primary) 14%, transparent),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-dark) 92%, transparent),
      var(--surface-dark-2)
    );
  box-shadow: inset 0 1px 0 var(--surface-white-08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.footer__top,
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer__top {
  align-items: flex-start;
}

.footer__bottom {
  align-items: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border-soft);
  color: var(--text-muted);
}

.footer__main {
  max-width: 430px;
}

.footer__logo {
  width: 170px;
  display: block;
}

.footer__logo_text {
  width: auto;
  max-width: 320px;
  color: var(--text-color-2);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__descr,
.footer__risk {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 29px;
  font-weight: 500;
}

.footer__descr {
  margin-top: 28px;
}

.footer__risk {
  max-width: 360px;
  margin-top: 28px;
}

.footer__nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 6vw, 110px);
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.footer__li {
  margin: 0;
}

.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.footer__col {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__heading {
  margin-bottom: 18px;
  color: var(--text-color-2);
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
}

.footer__link,
.footer__legal {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer__link:hover,
.footer__legal:hover {
  color: var(--color-primary-hover);
}

.footer__copy {
  color: var(--text-color-2);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer__legal {
  white-space: nowrap;
}

/* Blog */
.blog-page {
  color: var(--text-color);
}

.blog-hero {
  padding: 50px 0 50px;
  color: var(--text-color-2);
}

.blog-hero_single {
  padding: 50px 0 50px;
}

.breadcrumbs__nav {
  margin-bottom: 20px;
  padding-left: 2px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.breadcrumbs__list {
  display: block;
  width: 100%;
  max-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs__item {
  display: inline;
  color: color-mix(in srgb, var(--text-color-2) 66%, transparent);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.breadcrumbs__item:not(:last-child)::after {
  content: " / ";
  color: color-mix(in srgb, var(--color-accent) 70%, transparent);
  margin: 0 6px;
}

.breadcrumbs__link {
  display: inline;
  color: color-mix(in srgb, var(--text-color-2) 82%, transparent);
  transition: color 0.3s ease;
}

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

.breadcrumbs__text {
  display: inline;
  color: var(--text-color-2);
}

.blog-hero__inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--text-color-2);
  padding: clamp(28px, 3vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 82% 12%,
      var(--hero-glow-primary),
      transparent 32%
    ),
    radial-gradient(
      circle at 14% 86%,
      var(--hero-glow-accent),
      transparent 36%
    ),
    var(--hero-gradient);
  box-shadow: inset 0 0 90px rgba(47, 128, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.blog-hero_single .blog-hero__inner_media {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
}

.blog-hero__content {
  min-width: 0;
}

.blog-hero__title {
  color: #f4f3e8;
  font-size: clamp(36px, 3.8vw, 70px);
  line-height: 1.2;
  font-weight: 700;
}

.blog-hero__descr {
  max-width: 780px;
  margin-top: 24px;
  color: var(--text-color);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
}

.blog-hero__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--color-primary) 24%, var(--surface-border));
  border-radius: 26px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 var(--surface-white-08);
  position: relative;
}

.blog-hero__media::after {
  content: "";
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--surface-dark-2) 28%, transparent),
      transparent 46%
    ),
    radial-gradient(
      circle at 84% 16%,
      color-mix(in srgb, var(--color-accent) 16%, transparent),
      transparent 32%
    );
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 400px;
}

.blog-list,
.blog-single__section {
  padding: 30px 0 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-dark) 94%, transparent),
    var(--surface-dark-2)
  );
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 var(--surface-white-08);
  display: flex;
  flex-direction: column;
}

.blog-card__media {
  height: 250px;
  background:
    radial-gradient(
      circle at 72% 22%,
      color-mix(in srgb, var(--color-accent) 34%, transparent),
      transparent 28%
    ),
    linear-gradient(135deg, var(--surface-dark), #1d3a25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__placeholder {
  width: 86px;
  height: 86px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 55%, transparent);
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card__body {
  padding: clamp(15px, 2.5vw, 30px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.blog-single__meta {
  color: color-mix(in srgb, var(--text-color-2) 74%, transparent);
}

.blog-single__meta a {
  color: var(--color-accent);
}

.blog-card__title {
  margin-bottom: 16px;
  color: var(--text-color-2);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.blog-card__title a {
  transition: color 0.3s ease;
}

.blog-card__title a:hover {
  color: var(--color-primary-hover);
}

.blog-card__excerpt {
  margin-bottom: 24px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.blog-card__link {
  margin-top: auto;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.blog-card__link:hover {
  color: var(--color-primary-hover);
}

.blog-pagination {
  margin-top: clamp(36px, 5vw, 64px);
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.blog-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background-color: var(--surface-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-2);
  font-weight: 800;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--surface-card);
}

.blog-empty {
  border: 1px solid var(--surface-border);
  padding: 40px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 100% 0,
      color-mix(in srgb, var(--color-accent) 8%, transparent),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-dark) 94%, transparent),
      var(--surface-dark-2)
    );
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 var(--surface-white-08);
}

.blog-empty h2 {
  margin-bottom: 20px;
  color: var(--text-color-2);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}

.blog-empty p {
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.6;
}

.blog-single__content {
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid var(--surface-border);
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-dark) 94%, transparent),
    var(--surface-dark-2)
  );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 var(--surface-white-08);
  color: var(--text-color);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.75;
}

.blog-single__content > *:first-child {
  margin-top: 0;
}

.blog-single__content > *:last-child {
  margin-bottom: 0;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  margin: 1.5em 0 0.7em;
  color: var(--text-color-2);
  line-height: 1.14;
  font-weight: 700;
}

.blog-single__content h2 {
  font-size: clamp(28px, 3vw, 45px);
}

.blog-single__content h3 {
  font-size: clamp(24px, 2vw, 34px);
}

.blog-single__content p,
.blog-single__content ul,
.blog-single__content ol,
.blog-single__content blockquote,
.blog-single__content table {
  margin-bottom: 1.1em;
}

.blog-single__content ul,
.blog-single__content ol {
  padding-left: 1.3em;
}

.blog-single__content li + li {
  margin-top: 0.45em;
}

.blog-single__content a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-single__content blockquote {
  padding: 22px 26px;
  border-left: 4px solid var(--color-primary);
  border-radius: 18px;
  background-color: color-mix(in srgb, var(--surface-dark) 72%, transparent);
  color: var(--text-color);
}

.blog-single__content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.blog-single__content th,
.blog-single__content td {
  padding: 14px 16px;
  border: 1px solid var(--surface-border);
  text-align: left;
}

.blog-single__content th {
  background-color: color-mix(
    in srgb,
    var(--color-primary) 16%,
    var(--surface-dark)
  );
}

.blog-single__pages {
  margin-top: 30px;
}

/* Modal */
.modal {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__overlay {
  background:
    radial-gradient(
      circle at 50% 20%,
      var(--hero-glow-primary),
      transparent 34%
    ),
    rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(10px);
  position: absolute;
  inset: 0;
}

.modal__dialog {
  width: min(800px, 100%);
  max-height: calc(100vh - 48px);
  padding: clamp(20px, 4vw, 30px) clamp(25px, 4vw, 40px);
  border: 1px solid
    color-mix(in srgb, var(--color-primary) 32%, var(--surface-border));
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 10% 0%,
      color-mix(in srgb, var(--color-primary) 20%, transparent),
      transparent 36%
    ),
    radial-gradient(
      circle at 92% 92%,
      color-mix(in srgb, var(--color-accent) 15%, transparent),
      transparent 34%
    ),
    linear-gradient(145deg, var(--surface-dark), var(--surface-dark-2));
  box-shadow:
    0 36px 120px rgba(0, 0, 0, 0.62),
    0 0 46px color-mix(in srgb, var(--color-primary) 16%, transparent);
  position: relative;
  overflow-y: auto;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.active .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--surface-dark-2) 82%, transparent);
  color: var(--text-color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  position: absolute;
  top: 22px;
  right: 22px;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease;
}

.modal__close:hover {
  border-color: var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
  color: var(--color-accent);
}

.modal__label {
  width: fit-content;
  margin-bottom: 30px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--surface-dark-2) 72%, transparent);
  color: #f8f7ef;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.modal__title {
  max-width: 790px;
  color: var(--text-color-2);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.3;
  font-weight: 700;
}

.modal__text {
  max-width: 800px;
  margin-top: 25px;
  color: var(--text-color);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.55;
  font-weight: 500;
}

.modal__form {
  margin-top: 38px;
}

.modal__input {
  width: 100%;
  min-height: 60px;
  margin-bottom: 15px;
  padding: 0 22px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background-color: color-mix(
    in srgb,
    var(--bg-color) 74%,
    var(--surface-dark)
  );
  color: var(--text-color-2);
  outline: none;
  font-weight: 500;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.modal__input::placeholder {
  color: var(--text-muted);
}

.modal__input:focus {
  border-color: var(--color-primary);
  background-color: var(--bg-color);
  box-shadow: 0 0 0 4px
    color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.modal__btn {
  width: 100%;
  min-height: 66px;
  margin-top: 6px;
  border-radius: 18px;
}

.modal__btn:disabled {
  border-color: var(--surface-border);
  background-color: var(--surface-border);
  box-shadow: none;
  color: var(--text-color);
  cursor: default;
}

.modal__policy {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 15px;
  line-height: 23px;
}

/* Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.from-left {
  transform: translateX(-40px);
}

.from-right {
  transform: translateX(40px);
}

.from-bottom {
  transform: translateY(40px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }

  .header__wrapper {
    transition: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1600px) {
  .hero__descr {
    font-size: 20px;
    line-height: 36px;
  }

  .course-fit__name {
    font-size: 25px;
    line-height: 32px;
  }

  .course-fit__col li {
    font-size: 17px;
    line-height: 23px;
  }

  .reviews__name {
    font-size: 22px;
    line-height: 27px;
  }

  .reviews__role {
    font-size: 19px;
    line-height: 27px;
  }

  .reviews__label {
    font-size: 20px;
    line-height: 30px;
  }

  .reviews__text {
    font-size: 18px;
    line-height: 28px;
  }

  .rates__name {
    font-size: 22px;
    line-height: 28px;
  }

  .faq__answer::before {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (max-width: 1440px) {
  .hero__wrapper {
    border-radius: 50px;
  }

  .hero__text {
    font-size: 18px;
    line-height: 26px;
  }

  .hero__descr {
    font-size: 19px;
    line-height: 34px;
  }

  .hero__media {
    padding-top: 100px;
  }

  /* .hero__stats {
    display: none;
  } */

  .course-fit__name {
    font-size: 23px;
    line-height: 32px;
  }

  .course-fit__descr {
    font-size: 18px;
    line-height: 28px;
  }

  .benefits {
    border-radius: 70px 70px 0 0;
  }

  .skills {
    border-radius: 0 0 70px 70px;
  }

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

  .benefits,
  .skills,
  .program,
  .reviews,
  .rates,
  .learning,
  .faq,
  .feedback {
    padding: 70px 0;
  }

  .benefits__name {
    font-size: 20px;
    line-height: 26px;
  }

  .skills__name {
    font-size: 20px;
    line-height: 26px;
  }

  .program__name,
  .learning__name {
    font-size: 20px;
    line-height: 26px;
  }

  .reviews__name {
    font-size: 20px;
    line-height: 25px;
  }

  .reviews__role {
    font-size: 18px;
    line-height: 25px;
  }

  .reviews__avatar {
    width: 60px;
    min-width: 60px;
    height: 60px;
  }

  .reviews__box {
    padding: 15px 20px;
    border-radius: 20px;
  }

  .reviews__label {
    font-size: 18px;
    line-height: 26px;
  }

  .reviews__text {
    font-size: 17px;
    line-height: 27px;
  }

  .reviews__head {
    gap: 15px;
  }

  .rates {
    border-radius: 70px;
  }

  .title::after {
    bottom: -20px;
  }

  .faq__question {
    font-size: 20px;
    line-height: 26px;
  }

  .faq__answer::before {
    min-height: 30px;
    font-size: 20px;
  }

  .faq__answer p {
    font-size: 18px;
    line-height: 30px;
  }
}

@media (max-width: 1280px) {
  .btn {
    font-size: 17px;
    padding: 20px 25px;
  }

  .header__wrapper {
    border-radius: 25px;
  }

  .header__menu {
    width: auto;
    padding: 25px 20px 25px;
    border-radius: 25px;
    background:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 8%, transparent),
        transparent 48%
      ),
      color-mix(in srgb, var(--surface-dark-2) 99%, transparent);
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 var(--surface-white-08);
    border: 1px solid var(--surface-border);
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0px;
    right: 0;
    top: 90px;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__list {
    flex-direction: column;
    gap: 16px;
  }

  .header__link {
    font-size: 18px;
  }

  .header__btn {
    padding: 15px 25px;
  }

  .language__current {
    min-height: 46px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 30px 0 50px;
  }

  .hero__wrapper {
    border-radius: 40px;
    padding: 50px 40px;
    justify-content: center;
  }

  .hero__wrapper::after {
    top: auto;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 70%;
  }

  .hero__content {
    width: 100%;
    align-items: center;
    text-align: center;
    max-width: 700px;
  }

  .hero__label {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 20px;
  }

  .hero__descr {
    margin-top: 20px;
    font-size: 17px;
    line-height: 32px;
  }

  .hero__media {
    padding-top: 50px;
    position: static;
    width: 100%;
    margin-bottom: -50px;
  }

  .hero__link {
    font-size: 17px;
  }

  .hero__num {
    font-size: 32px;
    line-height: 42px;
  }

  .hero__text {
    font-size: 16px;
    line-height: 23px;
  }

  .hero__badge {
    font-size: 16px;
    padding: 17px 20px;
    border-radius: 20px;
    width: min(80%, 460px);
    right: 50%;
    transform: translateX(50%);
  }

  .hero__badge span {
    font-size: 20px;
  }

  .title {
    text-align: center;
  }

  .title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .course-fit__wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .course-fit__item {
    padding: 30px;
  }

  .course-fit__col li::before {
    margin-top: 1px;
  }

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

  .benefits__item {
    padding: 25px;
  }

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

  .skills__item {
    padding: 25px;
  }

  .skills__text {
    font-size: 17px;
    line-height: 26px;
  }

  .benefits__text {
    font-size: 17px;
    line-height: 26px;
  }

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

  .program__item {
    padding: 25px;
  }

  .program__text,
  .learning__text {
    font-size: 17px;
    line-height: 26px;
  }

  .reviews__wrapper {
    padding: 0 0 20px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 15px;
    -webkit-overflow-scrolling: touch;
  }

  .reviews__wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .reviews__wrapper::-webkit-scrollbar-track {
    border-radius: 999px;
    background-color: var(--surface-dark-2);
  }

  .reviews__wrapper::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: color-mix(
      in srgb,
      var(--color-primary) 70%,
      var(--surface-border)
    );
  }

  .reviews__item {
    padding: 20px;
    width: min(380px, 78vw);
    min-width: min(380px, 78vw);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .reviews__item.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .reviews__item.from-bottom {
    transform: translateY(0) !important;
  }

  .reviews__name {
    font-size: 18px;
    line-height: 23px;
  }

  .reviews__role {
    margin-top: 5px;
    font-size: 17px;
    line-height: 22px;
  }

  .reviews__avatar {
    width: 52px;
    min-width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .reviews__label {
    font-size: 17px;
    line-height: 23px;
  }

  .reviews__text {
    font-size: 15px;
    line-height: 24px;
  }

  .reviews__box {
    margin-top: 20px;
  }

  .reviews__box + .reviews__box {
    margin-top: 15px;
  }

  .rates__feature {
    font-size: 16px;
    line-height: 21px;
  }

  .rates__name {
    font-size: 20px;
    line-height: 26px;
  }

  .rates__caption,
  .rates__duration {
    font-size: 16px;
    line-height: 21px;
  }

  .rates__duration {
    font-size: 16px;
    line-height: 21px;
  }

  .rates__feature,
  .rates__tariff,
  .rates__check,
  .rates__empty,
  .rates__small,
  .rates__action {
    padding: 8px 15px;
  }

  .rates__tariff {
    padding-top: 60px;
  }

  .rates__check {
    font-size: 23px;
  }

  .rates__small {
    font-size: 14px;
  }

  .rates__btn {
    font-size: 16px;
  }

  .learning__item {
    padding: 25px;
  }

  .faq__question {
    font-size: 18px;
    line-height: 22px;
    min-height: 62px;
  }

  .faq__answer {
    padding: 0 25px 25px;
  }

  .faq__answer::before {
    min-height: 22px;
    font-size: 18px;
    line-height: 22px;
    margin: 0 -34px 20px;
  }

  .faq__answer p {
    font-size: 17px;
    line-height: 27px;
  }

  .feedback__title {
    text-align: left;
  }

  .feedback__text {
    font-size: 19px;
    line-height: 32px;
  }

  .feedback__label {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 20px;
  }

  .feedback__form-title {
    font-size: 23px;
    line-height: 30px;
  }

  .feedback__form-note {
    margin-top: 10px;
    font-size: 17px;
  }

  .modal__dialog {
    width: min(700px, 100%);
  }

  .modal__label {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 20px;
  }

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

  .blog-card__media {
    height: 220px;
  }

  .blog-single__content {
    border-radius: 26px;
  }
}

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

  .blog-hero_single .blog-hero__inner_media {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-hero__media {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .faq__wrapper {
    min-height: 0;
    display: block;
  }

  .faq__accordion {
    display: block;
    grid-column: auto;
  }

  .faq__accordion:not(:last-child) {
    margin-bottom: 14px;
  }

  .faq__question {
    width: 100%;
    transform: none;
  }

  .faq__question.active {
    border-radius: 18px 18px 0 0;
    transform: none;
    border: none;
  }

  .faq__answer {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 0 24px;
    border-radius: 0 0 22px 22px;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    position: relative;
    top: auto;
    right: auto;
    box-shadow: none;
    transition:
      grid-template-rows 0.3s ease,
      padding 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .faq__answer::before,
  .faq__answer::after {
    display: none;
  }

  .faq__answer p {
    min-height: 0;
    overflow: hidden;
  }

  .faq__accordion.active .faq__answer {
    padding: 20px;
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
  }

  .faq__question::before {
    width: 16px;
    height: 16px;
  }

  .rates__tabs {
    margin: 0 auto 18px;
    padding: 8px;
    border: 1px solid var(--surface-active-border);
    border-radius: 22px;
    background-color: var(--surface-active);
    display: grid;
    grid-template-columns: repeat(var(--rates-columns, 3), minmax(0, 1fr));
    gap: 6px;
  }

  .rates__tab {
    min-height: 46px;
    padding: 9px 12px;
    border: none;
    border-radius: 16px;
    background-color: transparent;
    color: var(--text-color-dark);
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    transition:
      background-color 0.25s ease,
      box-shadow 0.25s ease,
      color 0.25s ease;
  }

  .rates__tab.active {
    background-color: var(--surface-card);
    box-shadow: 0 10px 28px rgba(47, 128, 237, 0.18);
    color: var(--color-primary);
  }

  .rates__table {
    overflow: hidden;
    border-radius: 40px;
  }

  .rates__grid {
    min-width: 0;
    grid-template-columns: minmax(0, 1.18fr) minmax(96px, 0.82fr);
  }

  .rates__grid > :nth-child(n + 2) {
    display: none;
  }

  .rates__table_tab-1 .rates__grid > :nth-child(2),
  .rates__table_tab-2 .rates__grid > :nth-child(3),
  .rates__table_tab-3 .rates__grid > :nth-child(4) {
    display: flex;
    /* background-color: var(--surface-active); */
  }

  .rates__grid_head,
  .rates__grid_bottom {
    grid-template-columns: 1fr;
  }

  .rates__grid_head .rates__feature,
  .rates__grid_bottom .rates__feature {
    display: none;
  }

  .rates__grid_head > :nth-child(n + 2),
  .rates__grid_bottom > :nth-child(n + 2) {
    grid-column: 1;
    border-right: none;
  }

  .rates__tariff {
    min-height: 164px;
    padding: 54px 24px 24px;
  }

  .rates__feature,
  .rates__check,
  .rates__empty,
  .rates__small,
  .rates__action {
    min-height: 56px;
    padding: 11px 18px;
  }

  .rates__feature {
    border-right: none;
  }

  .rates__tariff_active,
  .rates__check_active,
  .rates__empty_active,
  .rates__small_active,
  .rates__action_active {
    box-shadow: none;
  }

  .rates__table_tab-2 .rates__grid .rates__feature {
    background-color: var(--surface-active);
  }

  .rates__table_tab-2 .rates__grid:nth-child(2n) .rates__feature {
    background-color: #d9ead5;
  }

  .rates__check,
  .rates__empty,
  .rates__small {
    border-right: none;
  }

  .rates__action {
    min-height: 92px;
    padding: 20px 18px;
  }

  .benefits__name {
    font-size: 19px;
    line-height: 25px;
  }

  .skills__name {
    font-size: 19px;
    line-height: 25px;
  }

  .program__name,
  .learning__name {
    font-size: 19px;
    line-height: 25px;
  }

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

  .learning__item {
    min-height: auto;
  }

  .feedback__wrapper {
    display: flex;
    flex-direction: column;
  }

  .feedback__text {
    margin-top: 20px;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page {
    padding-top: 72px;
  }

  .container {
    padding: 0px 10px;
  }

  .header__wrapper {
    padding: 10px 15px;
  }

  .header__menu {
    top: 70px;
  }

  .header__logo {
    max-width: 150px;
    max-height: 100%;
  }

  .header__logo img {
    max-height: 38px;
  }

  .header__btn {
    display: none;
  }

  .language__current {
    min-height: 42px;
    padding: 0 8px 0 8px;
    font-size: 13px;
  }

  .language__list {
    border-radius: 10px;
  }

  .language__link {
    min-height: 36px;
    font-size: 12px;
  }

  .hamburger {
    width: 42px;
    height: 42px;
    padding: 13px 11px;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .btn {
    min-height: 52px;
    padding: 15px 25px;
  }

  .title {
    margin: 0 0 60px;
  }

  .blog-hero {
    padding: 10px 0 30px;
  }

  .hero {
    padding: 10px 0 50px;
  }

  .hero__wrapper {
    border-radius: 25px;
    padding: 40px 25px;
  }

  .blog-empty {
    padding: 25px;
    border-radius: 20px;
  }

  .hero__label {
    font-size: 15px;
    line-height: 16px;
    margin-bottom: 15px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__descr {
    margin-top: 15px;
    font-size: 15px;
    line-height: 28px;
  }

  .hero__actions {
    margin-top: 30px;
    width: 100%;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__link {
    width: 100%;
    min-height: 52px;
    padding: 15px 25px;
  }

  .hero__num {
    font-size: 30px;
    line-height: 37px;
  }

  .hero__text {
    font-size: 14px;
    line-height: 19px;
  }

  .hero__stats {
    margin-top: 40px;
    padding-top: 25px;
  }

  .hero__media {
    margin-bottom: -70px;
  }

  .hero__wrapper::after {
    width: 100%;
  }

  .hero__badge {
    font-size: 15px;
    padding: 15px 20px;
    border-radius: 15px;
    width: min(70%, 360px);
    bottom: 50px;
  }

  .hero__badge span {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .course-fit,
  .benefits,
  .skills,
  .program,
  .reviews,
  .rates,
  .learning,
  .faq,
  .feedback {
    padding: 50px 0;
  }

  .course-fit__item {
    padding: 20px;
    border-radius: 25px;
  }

  .course-fit__name {
    font-size: 21px;
    line-height: 28px;
  }

  .course-fit__item::before {
    margin-bottom: 20px;
  }

  .course-fit__descr {
    margin-top: 15px;
    font-size: 17px;
    line-height: 27px;
  }

  .course-fit__cols {
    margin-top: 20px;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .course-fit__label {
    font-size: 12px;
  }

  .course-fit__col {
    border-radius: 18px;
  }

  .benefits {
    border-radius: 40px 40px 0 0;
  }

  .skills {
    border-radius: 0 0 40px 40px;
  }

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

  .benefits__item {
    border-radius: 25px;
    padding: 20px;
    min-height: auto;
  }

  .benefits__item::before {
    margin-bottom: 20px;
  }

  .benefits__text {
    margin-top: 10px;
  }

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

  .skills__item {
    padding: 20px;
    border-radius: 25px;
    min-height: auto;
  }

  .skills__item::before {
    margin-bottom: 20px;
  }

  .skills__text {
    margin-top: 10px;
  }

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

  .program__name,
  .learning__name {
    margin-top: 20px;
  }

  .program__text,
  .learning__text {
    margin-top: 10px;
  }

  .program__item {
    padding: 20px;
    border-radius: 25px;
    min-height: auto;
  }

  .reviews__item {
    border-radius: 25px;
  }

  .rates {
    border-radius: 40px;
  }

  .learning__item {
    padding: 20px;
    border-radius: 25px;
  }

  .faq__answer p {
    font-size: 16px;
    line-height: 26px;
  }

  .feedback__wrapper {
    border-radius: 25px;
    padding: 25px;
  }

  .feedback__label {
    font-size: 15px;
    line-height: 16px;
    margin-bottom: 15px;
  }

  .feedback__title {
    margin-bottom: 0;
  }

  .feedback__text {
    font-size: 17px;
    line-height: 26px;
  }

  .feedback__form {
    border-radius: 25px;
  }

  .footer__wrapper {
    min-height: auto;
    border-radius: 25px;
    padding: 25px;
  }

  .footer__top,
  .footer__bottom,
  .footer__nav,
  .footer__links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top,
  .footer__bottom {
    width: 100%;
    gap: 25px;
  }

  .footer__nav {
    gap: 25px;
  }

  .footer__links {
    gap: 10px;
  }

  .footer__legal {
    white-space: normal;
  }

  .modal__label {
    font-size: 15px;
    line-height: 16px;
    margin-bottom: 15px;
  }

  .modal {
    padding: 10px;
  }

  .modal__dialog {
    border-radius: 25px;
  }

  .modal__text {
    margin-top: 20px;
  }

  .modal__form {
    margin-top: 25px;
  }

  .modal__close {
    width: 42px;
    height: 42px;
    top: 20px;
    right: 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    border-radius: 24px;
  }

  .blog-card__media {
    height: 190px;
  }

  .blog-card__placeholder {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    font-size: 34px;
  }

  .blog-card__body,
  .blog-single__content {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .page {
    padding-top: 70px;
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .blog-card {
    width: 100%;
    max-width: 100%;
  }

  .blog-card__media {
    height: 180px;
  }

  .blog-card__body {
    padding: 22px;
  }

  .blog-card__title {
    font-size: 24px;
    line-height: 1.16;
  }

  .header {
    padding: 8px 0;
  }

  .header__wrapper {
    padding: 5px 15px;
    border-radius: 17px;
  }

  .header__logo {
    max-width: 140px;
  }

  .header__logo_text {
    max-width: 150px;
    font-size: 17px;
  }

  .header__logo img {
    max-height: 37px;
  }

  .header__menu {
    top: 70px;
    border-radius: 20px;
  }

  body,
  button,
  input,
  select,
  textarea {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
  }

  .hero__label {
    font-size: 14px;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .hero__title {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  .hero__descr {
    max-width: 100%;
    font-size: 14px;
    line-height: 24px;
    overflow-wrap: break-word;
  }

  .hero__actions {
    width: 100%;
    gap: 12px;
  }

  .hero__stats {
    display: none;
  }

  .hero__media {
    min-height: 470px;
    height: 470px;
  }

  .hero__badge {
    max-width: none;
    width: 100%;
  }

  .title {
    margin-bottom: 50px;
  }

  .title::after {
    bottom: -18px;
  }

  .course-fit__name {
    font-size: 22px;
    line-height: 28px;
  }

  .course-fit__descr {
    margin-top: 10px;
    font-size: 16px;
    line-height: 25px;
  }

  .course-fit__col {
    border-radius: 15px;
  }

  .course-fit__col li {
    font-size: 16px;
    line-height: 22px;
  }

  .course-fit__col li::before {
    margin-top: 0px;
  }

  .reviews__head {
    gap: 12px;
  }

  .reviews__box {
    border-radius: 15px;
  }

  .rates__feature {
    font-size: 15px;
    line-height: 19px;
  }

  .rates__table {
    border-radius: 30px;
  }

  .rates__feature,
  .rates__check,
  .rates__empty,
  .rates__small,
  .rates__action {
    padding: 10px 18px;
  }

  .footer__wrapper {
    padding: 20px;
    border-radius: 22px;
  }

  .footer__logo {
    width: 140px;
  }

  .footer__descr,
  .footer__risk {
    font-size: 15px;
    line-height: 25px;
  }

  .footer__descr,
  .footer__risk {
    margin-top: 22px;
  }

  .footer__copy {
    font-size: 15px;
    line-height: 22px;
  }

  .feedback__title {
    margin-bottom: 0;
  }

  .feedback__form {
    padding: 20px;
  }

  .feedback__form-title {
    font-size: 21px;
    line-height: 26px;
  }

  .feedback__form-note {
    font-size: 16px;
  }

  .feedback__label {
    font-size: 14px;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .feedback__input {
    padding: 0 16px;
    min-height: 58px;
    border-radius: 14px;
  }

  .modal__dialog {
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .modal__label {
    font-size: 14px;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .modal__input {
    padding: 0 16px;
    border-radius: 14px;
  }

  .modal__policy {
    margin-top: 20px;
    font-size: 14px;
    line-height: 20px;
  }

  .modal__close {
    top: 18px;
    right: 18px;
  }

  .blog-hero__inner {
    padding: 24px;
    border-radius: 24px;
  }

  .blog-hero__title {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .blog-hero__media {
    display: none;
  }

  .blog-card__excerpt {
    font-size: 15px;
  }

  .blog-card__link {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero__wrapper {
    padding: 40px 20px;
  }

  .title {
    font-size: 26px;
  }

  .feedback__wrapper {
    padding: 20px;
  }

  .feedback__form {
    border-radius: 20px;
  }

  .modal__label {
    display: none;
  }

  .modal__title {
    padding-right: 40px;
  }

  .modal__close {
    top: 15px;
    right: 15px;
  }

  .modal__title {
    font-size: 23px;
  }

  .modal__text {
    margin-top: 10px;
    font-size: 15px;
  }

  .reviews__box {
    padding: 12px 15px;
  }

  .breadcrumbs__item {
    font-size: 13px;
    line-height: 18px;
  }

  .breadcrumbs__list {
    max-width: 100%;
  }

  .blog-card__media {
    height: 170px;
  }

  .blog-single__content {
    padding: 20px;
    border-radius: 22px;
  }
}
