:root {
  --page: #1f2029;
  --page-2: #252a38;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --blue: #49a0ff;
  --blue-2: #347fd1;
  --card: #20212b;
  --content: min(80vw, 1320px);
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/Gilroy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/Gilroy-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/Gilroy-Extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/Gilroy-Heavy.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(180deg, #1f2029 0%, #202330 56%, #1f2029 100%);
  color: var(--white);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.02;
  font-weight: 800;
}

h1 {
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1.02;
  font-weight: 900;
}

.container {
  width: var(--content);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fixed-nav {
  position: fixed;
  top: 24px;
  right: max(24px, calc((100vw - var(--content)) / 2));
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(25, 26, 35, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.fixed-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fixed-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.fixed-nav__primary {
  background: linear-gradient(180deg, #52a7ff, #367fd0);
  box-shadow: 0 16px 30px rgba(43, 126, 221, 0.24);
}

.fixed-nav__primary:hover {
  box-shadow: 0 18px 34px rgba(43, 126, 221, 0.34);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #181923;
}

.hero__background {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg-exact.webp") center top / cover no-repeat;
}

.hero__layout {
  position: relative;
  z-index: 2;
  min-height: 760px;
  padding-top: 160px;
}

.hero__top {
  display: grid;
  grid-template-columns: minmax(520px, 0.88fr) minmax(360px, 0.52fr);
  gap: clamp(56px, 7vw, 120px);
  align-items: start;
}

.hero__main {
  position: relative;
  z-index: 2;
}

.hero__title-art {
  width: min(700px, 100%);
}

.hero-path {
  margin-top: -330px;
  max-width: min(100%, 860px);
}

.hero-offer {
  max-width: 700px;
  margin-top: -320px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(32, 33, 43, 0.92), rgba(26, 27, 35, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.hero-offer__title {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 800;
}

.hero-offer p:not(.hero-offer__title) {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.34;
  font-weight: 500;
}

.hero-path h2 {
  margin-left: 18px;
  font-size: 29px;
  line-height: 1;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.1vw, 18px);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.stage-list li {
  position: relative;
}

.stage-list img {
  width: 100%;
  height: auto;
}

.stage-list h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero__cta-row {
  display: flex;
  align-items: flex-start;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 58px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button--primary {
  background: linear-gradient(180deg, #52a7ff, #367fd0);
  box-shadow: 0 24px 42px rgba(43, 126, 221, 0.25);
}

.button--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.button--primary:hover {
  box-shadow: 0 28px 48px rgba(43, 126, 221, 0.34);
}

.button--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero__person {
  position: relative;
  align-self: start;
  justify-self: end;
  margin-top: -48px;
  margin-right: 6px;
  width: min(100%, 500px);
  will-change: transform;
}

.hero__person img {
  width: 100%;
}

.section {
  padding: clamp(120px, 10vw, 180px) 0;
}

.section-kicker {
  margin-bottom: 14px;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 800;
}

.dependency {
  padding-top: clamp(64px, 5vw, 90px);
  background: #1f2029;
}

.dependency__layout {
  display: grid;
  gap: 34px;
}

.dependency__intro {
  max-width: 980px;
}

.dependency__eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dependency h1 {
  max-width: 760px;
}

.dependency__lead {
  max-width: 900px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.34;
  font-weight: 500;
}

.dependency__panel {
  display: grid;
  gap: 20px;
  max-width: 940px;
  padding: clamp(26px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(37, 42, 56, 0.98), rgba(31, 32, 41, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
}

.dependency__panel p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  font-weight: 500;
}

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

.dependency__cards article {
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(41, 43, 56, 0.98), rgba(31, 32, 41, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}

.dependency__cards span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dependency__cards h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.dependency__cards p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.34;
  font-weight: 500;
}

.path-section {
  padding-top: 0;
  background: #1f2029;
}

.path-section .hero-path {
  margin-top: 0;
  max-width: none;
}

.path-section .stage-list {
  max-width: 75%;
  margin-right: auto;
  margin-left: auto;
}

.about {
  background: #1f2029;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 0.96fr);
  gap: clamp(68px, 7vw, 112px);
  align-items: center;
}

.about__text h2 {
  margin-bottom: 36px;
  font-size: clamp(28px, 2.8vw, 38px);
}

.about__text p:not(.section-kicker) {
  max-width: 600px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.32;
  font-weight: 500;
}

.about__actions {
  display: flex;
  gap: 16px;
  margin-top: 46px;
}

.about__visual {
  position: relative;
}

.about__photo {
  width: 100%;
  max-width: 620px;
  border-radius: 28px;
}

.about__diplomas {
  position: absolute;
  right: -34px;
  bottom: -60px;
  width: 210px;
  animation: floatSoft 5.5s ease-in-out infinite;
}

.coach {
  background: linear-gradient(180deg, #1f2029 0%, #252c3a 100%);
}

.coach__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(420px, 0.9fr);
  gap: clamp(64px, 6.4vw, 108px);
  align-items: center;
}

.coach__text h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 2.8vw, 38px);
}

.coach__text p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.34;
  font-weight: 500;
}

.coach__visual {
  position: relative;
}

.coach__photo {
  width: 100%;
  max-width: 640px;
  border-radius: 28px;
}

.coach__diplomas {
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 214px;
  animation: floatSoft 5.5s ease-in-out infinite;
}

.reviews {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.3), transparent 24%),
    linear-gradient(180deg, #1f2029 0%, #1f2029 100%);
}

.reviews__heading {
  margin-bottom: 44px;
}

.reviews__heading h2 {
  margin-top: 10px;
  font-size: clamp(28px, 2.8vw, 38px);
}

.reviews__layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(420px, 0.92fr);
  gap: clamp(70px, 7vw, 116px);
  align-items: start;
}

.reviews__photo {
  width: 100%;
  border-radius: 28px;
}

.reviews__cards {
  display: grid;
  gap: 18px;
  padding-top: 2px;
}

.review-card {
  padding: 24px 30px 24px;
  color: #151820;
  background: #fff;
  border-radius: 32px;
}

.review-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}

.review-card strong {
  color: #356085;
}

.review-card span {
  color: #8b919e;
}

.review-card p {
  font-size: 17px;
  line-height: 1.28;
  font-weight: 500;
}

.avatar {
  width: 56px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
}

.avatar--one {
  background: radial-gradient(circle at 30% 28%, #777, #242424);
}

.avatar--two {
  background: radial-gradient(circle at 35% 30%, #d7b18d, #6e4d32);
}

.reviews__button {
  justify-self: center;
  margin-top: 0;
}

.contact {
  padding-bottom: clamp(130px, 10vw, 190px);
  background: #1f2029;
}

.contact-form {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
}

.contact-form picture,
.contact-form picture img {
  width: 100%;
}

.contact-form__content {
  position: absolute;
  left: 7.4%;
  top: 13.2%;
  width: 34.2%;
  min-height: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px 18px 32px;
}

.contact-form__content .section-kicker {
  display: none;
}

.contact-form h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.04;
}

.contact-form p:not(.section-kicker) {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 500;
}

.contact-form__actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.contact-form__actions .button {
  min-width: 0;
  width: 50%;
  min-height: 52px;
  font-size: 16px;
}

.footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #151720;
}

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

.footer a {
  text-decoration: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.articles-page {
  min-height: 100vh;
  background: #1f2029;
}

.articles-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #181923;
}

.articles-hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 32, 41, 0.6), rgba(31, 32, 41, 0.86) 72%),
    url("assets/hero-bg-exact.webp") center top / cover no-repeat;
}

.articles-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 680px;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 70px;
}

.articles-back {
  align-self: flex-start;
  margin-bottom: 54px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.articles-back:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.articles-hero__kicker {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.articles-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 5.2vw, 86px);
}

.articles-hero__lead {
  max-width: 760px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.36;
  font-weight: 400;
}

.articles-catalog {
  padding: clamp(70px, 6vw, 100px) 0 clamp(120px, 10vw, 180px);
  background: #1f2029;
}

.articles-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(210px, 0.48fr) minmax(240px, 0.54fr);
  gap: 22px;
  width: 100%;
  margin-top: 36px;
  margin-bottom: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(37, 42, 56, 0.96), rgba(31, 32, 41, 0.96));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
}

.articles-field {
  display: grid;
  gap: 10px;
}

.articles-field span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 700;
}

.articles-field input,
.articles-field select {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.articles-field select {
  cursor: pointer;
}

.articles-field option {
  color: #1f2029;
}

.articles-field input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.articles-field input:focus,
.articles-field select:focus {
  border-color: rgba(73, 160, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(73, 160, 255, 0.14);
}

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

.article-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(41, 43, 56, 0.98), rgba(31, 32, 41, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.22);
}

.article-card__date {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.article-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.08;
}

.article-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.34;
  font-weight: 400;
}

.article-card a {
  text-decoration: none;
}

.articles-empty {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 0%, rgba(73, 160, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(37, 42, 56, 0.6), rgba(31, 32, 41, 0.82));
  text-align: center;
}

.articles-empty[hidden] {
  display: none;
}

.articles-empty__label {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.articles-empty h2 {
  max-width: 680px;
  font-size: clamp(34px, 3.8vw, 58px);
}

.articles-empty p:not(.articles-empty__label) {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.36;
  font-weight: 400;
}

.article-page {
  min-height: 100vh;
  background: #1f2029;
}

.article-detail__hero {
  position: relative;
  overflow: hidden;
  background: #181923;
}

.article-detail__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 32, 41, 0.58), rgba(31, 32, 41, 0.9) 76%),
    url("assets/hero-bg-exact.webp") center top / cover no-repeat;
}

.article-detail__hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 72px;
}

.article-detail__date {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.article-detail h1 {
  max-width: 980px;
  font-size: clamp(42px, 5vw, 76px);
}

.article-detail__lead {
  max-width: 820px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.36;
  font-weight: 400;
}

.article-detail__body {
  padding: clamp(80px, 7vw, 120px) 0 clamp(120px, 10vw, 180px);
}

.article-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.32fr);
  gap: clamp(52px, 6vw, 96px);
  align-items: start;
}

.article-detail__content {
  display: grid;
  gap: 24px;
}

.article-detail__content p,
.article-detail__content li {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}

.article-detail__content h2 {
  margin-top: 34px;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.08;
}

.article-detail__image-block {
  position: relative;
  margin: 28px 0 10px;
}

.article-detail__image-block img {
  width: 100%;
  border-radius: 28px;
}

.article-detail__image-block figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.article-detail__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.article-detail__links a {
  color: #68b2ff;
  font-weight: 700;
  text-decoration: none;
}

.article-detail__links a:hover {
  text-decoration: underline;
}

.article-cta {
  display: grid;
  gap: 16px;
  margin: 34px 0 20px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(73, 160, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(37, 42, 56, 0.98), rgba(31, 32, 41, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
}

.article-cta--final {
  margin-top: 26px;
}

.article-cta__label {
  color: var(--blue) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.article-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
}

.article-cta p:not(.article-cta__label) {
  max-width: 760px;
}

.article-cta .button {
  justify-self: start;
  margin-top: 6px;
}

.article-faq {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.article-faq__item {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(37, 42, 56, 0.95), rgba(31, 32, 41, 0.95));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-faq__item.is-open {
  border-color: rgba(73, 160, 255, 0.34);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.article-faq__item h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.14;
}

.article-faq__button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 30px);
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.article-faq__button:hover {
  background: rgba(255, 255, 255, 0.035);
}

.article-faq__button:focus-visible {
  outline: 3px solid rgba(73, 160, 255, 0.45);
  outline-offset: -3px;
}

.article-faq__icon {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(73, 160, 255, 0.16);
}

.article-faq__icon::before,
.article-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.article-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.article-faq__item.is-open .article-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.article-faq__answer {
  padding: 0 clamp(20px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px);
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.42;
}

.home-faq {
  background: #1f2029;
}

.home-faq__header {
  max-width: 880px;
  margin-bottom: 28px;
}

.home-faq__header h2 {
  margin-top: 10px;
}

.home-faq__list {
  max-width: 1040px;
  margin-top: 0;
}

.article-detail__aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.article-detail__aside img {
  width: 100%;
  border-radius: 28px;
}

.article-aside-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(37, 42, 56, 0.98), rgba(31, 32, 41, 0.98));
}

.article-aside-card h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.article-aside-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
}

.error-page {
  min-height: calc(100vh - 90px);
  background: #1f2029;
}

.error-hero {
  position: relative;
  min-height: calc(100vh - 90px);
  overflow: hidden;
  background: #181923;
}

.error-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100vh - 90px);
  flex-direction: column;
  justify-content: center;
  padding: 90px 0;
}

.error-hero h1 {
  max-width: 880px;
  font-size: clamp(48px, 7vw, 110px);
}

.error-hero p:not(.articles-hero__kicker) {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.36;
  font-weight: 400;
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-34px);
}

.reveal--right {
  transform: translateX(34px);
}

.reveal--scale {
  transform: scale(0.96);
}

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  transform: none;
}

.stage-list li,
.button,
.review-card,
.about__photo,
.contact-form {
  will-change: transform;
}

.stage-list li {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stage-list li:hover {
  transform: translateY(-5px);
  filter: brightness(1.08);
}

.review-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1280px) {
  .hero {
    min-height: 700px;
  }

  .hero__layout {
    min-height: 700px;
    padding-top: 170px;
  }

  .hero__top {
    grid-template-columns: minmax(500px, 1fr) minmax(330px, 430px);
  }

  .stage-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__person {
    width: 430px;
    margin-top: -118px;
    margin-right: 0;
  }

  .hero-path {
    margin-top: -100px;
  }

  .hero-offer {
    margin-top: -92px;
  }

  .path-section .hero-path {
    margin-top: 0;
  }

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

@media (max-width: 1100px) {
  :root {
    --content: min(88vw, 900px);
  }

  .hero-path {
    margin-top: 70px;
  }

  .hero-offer {
    max-width: 680px;
    margin-top: 58px;
  }

  .path-section .hero-path {
    margin-top: 0;
  }

  .hero__layout {
    min-height: auto;
    padding-bottom: 100px;
  }

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

  .hero__title-art {
    width: min(720px, 100%);
  }

  .hero__person {
    width: min(500px, 74vw);
    margin: 28px auto 0;
  }

  .stage-list {
    grid-template-columns: 1fr;
  }

  .path-section .stage-list {
    max-width: none;
  }

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

  .dependency__cards article {
    max-width: 620px;
  }

  .stage-list li {
    width: min(540px, 100%);
  }

  .stage-list li:nth-child(2) {
    justify-self: end;
    width: min(500px, 82%);
  }

  .stage-list li:nth-child(3) {
    width: min(470px, 78%);
  }

  .about__layout,
  .coach__layout,
  .reviews__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-form__content {
    left: 6.4%;
    top: 11.4%;
    width: 36%;
    min-height: 56%;
    padding: 16px 18px 16px 28px;
  }

  .contact-form picture img {
    max-height: 520px;
    object-fit: contain;
  }

  .contact-form h2 {
    font-size: clamp(28px, 3vw, 40px);
  }

  .contact-form p:not(.section-kicker) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.22;
  }

  .contact-form__actions {
    gap: 12px;
    margin-top: 18px;
  }

  .contact-form__actions .button {
    min-height: 48px;
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .fixed-nav {
    top: 12px;
    left: 50%;
    right: auto;
    width: min(100% - 28px, 520px);
    transform: translateX(-50%);
    justify-content: center;
    gap: 6px;
    border-radius: 16px;
  }

  .fixed-nav a {
    flex: 1 1 0;
    min-height: 40px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .container {
    width: min(100% - 34px, 720px);
  }

  .hero {
    min-height: 1780px;
  }

  .hero__background {
    background-image: url("assets/hero-bg-exact.webp");
    background-size: auto 100%;
    background-position: 53% top;
  }

  .hero__layout {
    min-height: 1780px;
    padding-top: 84px;
  }

  .hero__title-art {
    width: 100%;
  }

  .hero__person {
    width: min(500px, 92vw);
    margin: 30px auto 0;
  }

  .hero-path {
    margin-top: 58px;
    max-width: none;
  }

  .hero-offer {
    margin-top: 54px;
  }

  .path-section .hero-path {
    margin-top: 0;
  }

  .hero-path h2 {
    margin: 0 0 34px;
    font-size: 44px;
  }

  .stage-list {
    gap: 44px;
  }

  .hero__cta-row {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    margin-top: 56px;
  }

  .hero__cta-row .button {
    width: min(360px, 82vw);
  }

  .about__text p:not(.section-kicker) {
    font-size: 22px;
    line-height: 1.24;
  }

  .coach__text p:not(.section-kicker) {
    font-size: 22px;
    line-height: 1.24;
  }

  .coach__visual {
    max-width: 620px;
  }

  .dependency__lead,
  .dependency__panel p {
    font-size: 18px;
  }

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

  .coach__photo {
    max-width: 620px;
  }

  .reviews__cards {
    order: 2;
  }

  .contact-form__content {
    left: 5.1%;
    right: 5.1%;
    top: 49.4%;
    width: auto;
    min-height: 42%;
    padding: 18px 26px;
  }

  .contact-form h2 {
    font-size: clamp(34px, 9vw, 54px);
  }

  .contact-form p:not(.section-kicker) {
    font-size: clamp(18px, 4.4vw, 26px);
  }

  .contact-form__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 26px;
  }

  .contact-form__actions .button {
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    font-size: 18px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .articles-hero,
  .articles-hero__inner {
    min-height: 700px;
  }

  .articles-toolbar {
    grid-template-columns: 1fr;
  }

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

  .article-detail__hero-inner {
    min-height: 560px;
  }

  .article-detail__grid {
    grid-template-columns: 1fr;
  }

  .article-detail__aside {
    position: static;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
    align-items: stretch;
  }

  .stage-list li {
    width: min(470px, 84%);
  }

  .stage-list li:nth-child(2) {
    width: min(430px, 76%);
  }

  .stage-list li:nth-child(3) {
    width: min(410px, 72%);
  }

  .contact-form__content {
    left: 6.4%;
    right: auto;
    top: 10.6%;
    width: 36%;
    min-height: 56%;
    padding: 14px 16px 14px 24px;
  }

  .contact-form h2 {
    font-size: clamp(24px, 3.2vw, 34px);
  }

  .contact-form p:not(.section-kicker) {
    margin-top: 12px;
    font-size: clamp(13px, 1.8vw, 16px);
    line-height: 1.2;
  }

  .contact-form__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }

  .contact-form__actions .button {
    width: 50%;
    min-height: 42px;
    border-radius: 14px;
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .fixed-nav {
    width: min(100% - 18px, 440px);
    padding: 6px;
  }

  .fixed-nav a {
    min-height: 38px;
    padding: 8px 7px;
    font-size: 12px;
  }

  .articles-hero,
  .articles-hero__inner {
    min-height: 760px;
  }

  .articles-hero__inner {
    padding-top: 42px;
  }

  .articles-back {
    margin-bottom: 40px;
  }

  .articles-hero h1 {
    font-size: 38px;
  }

  .articles-hero__lead {
    font-size: 18px;
  }

  .articles-catalog {
    padding-top: 74px;
  }

  .articles-toolbar,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-detail__hero-inner {
    min-height: 620px;
    padding-top: 42px;
  }

  .article-detail h1 {
    font-size: 36px;
  }

  .article-detail__lead {
    font-size: 18px;
  }

  .article-detail__grid,
  .article-detail__aside {
    grid-template-columns: 1fr;
  }

  .article-detail__aside {
    position: static;
  }

  .article-detail__content p,
  .article-detail__content li {
    font-size: 17px;
  }

  .articles-empty {
    min-height: 300px;
    border-radius: 26px;
  }

  .hero {
    min-height: 1500px;
  }

  .hero__layout {
    min-height: 1500px;
    padding-top: 56px;
  }

  .hero-path h2 {
    font-size: 32px;
  }

  .hero-offer {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-offer__title {
    font-size: 28px;
  }

  .hero-offer p:not(.hero-offer__title) {
    font-size: 17px;
  }

  .stage-list {
    gap: 34px;
  }

  .stage-list li {
    width: 100%;
  }

  .button {
    min-height: 56px;
    font-size: 17px;
  }

  .section {
    padding: 82px 0;
  }

  .section-kicker {
    font-size: 36px;
  }

  .dependency__eyebrow {
    font-size: 16px;
  }

  .dependency h1 {
    font-size: 32px;
  }

  .dependency__lead,
  .dependency__panel p {
    font-size: 17px;
  }

  .coach__text p:not(.section-kicker) {
    font-size: 17px;
  }

  .about__text h2,
  .reviews__heading h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .coach__text h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .about__text p:not(.section-kicker) {
    font-size: 18px;
  }

  .coach__text p:not(.section-kicker) {
    font-size: 18px;
  }

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

  .about__diplomas {
    right: 12px;
    bottom: 12px;
    width: 132px;
  }

  .coach__diplomas {
    right: 10px;
    bottom: 10px;
    width: 132px;
  }

  .reviews__layout {
    gap: 24px;
  }

  .review-card {
    padding: 20px;
    border-radius: 24px;
  }

  .review-card p {
    font-size: 16px;
  }

  .contact {
    padding-bottom: 90px;
  }

  .contact-form__content {
    padding: 18px 22px;
  }

  .contact-form h2 {
    font-size: 30px;
  }

  .contact-form p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 16px;
  }

  .contact-form__actions .button {
    min-height: 52px;
    font-size: 16px;
  }

  .home-faq {
    padding-top: 140px;
  }

  .home-faq__header {
    margin-bottom: 22px;
  }

  .home-faq__header .section-kicker {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.18;
  }

  .home-faq__header h2 {
    font-size: 38px;
    line-height: 1.05;
  }

  .article-faq {
    gap: 14px;
  }

  .article-faq__item {
    border-radius: 22px;
  }

  .article-faq__button {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 12px;
    padding: 18px;
  }

  .article-faq__item h3 {
    font-size: 20px;
  }

  .article-faq__icon {
    width: 34px;
  }

  .article-faq__answer {
    padding: 0 18px 20px;
    font-size: 16px;
    line-height: 1.38;
  }

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