:root {
  --bg: #292c2a;
  --bg-dark: #242725;
  --card: #202120;
  --header: #858681;
  --text: #f2f2ee;
  --text-soft: #d7d8d3;
  --accent: #62683a;
  --accent-soft: #878e54;
  --border: rgba(126, 136, 72, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1390px, calc(100% - 100px));
  margin-inline: auto;
}

/* HEADER */

.header {
  height: 122px;
  background: var(--header);
  position: relative;
  z-index: 100;
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 80px;
  height: auto;
}

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

.nav a {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.6;
}

.burger {
  display: none;
}

/* HERO */

.hero {
  background: var(--bg);
}

.hero__media {
  height: 515px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.18) 48%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.58) 100%);
}

.hero__title-wrap {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 44px;
}

.hero h1,
.section-title,
.about h2 {
  font-family: "Xolonium", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(60px, 5vw, 80px);
  line-height: 0.94;
  letter-spacing: 1px;
}

.hero__bottom {
  padding: 20px 0 48px;
}

.hero__text {
  max-width: 720px;
}

.hero__text p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
}

.hero__text p + p {
  margin-top: 14px;
}

.hero__actions {
  display: flex;
  gap: 28px;
  margin-top: 34px;
}

.button {
  min-width: 278px;
  height: 62px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border 0.22s ease;
}

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

.button--filled {
  background: var(--accent);
}

.button--filled:hover {
  background: var(--accent-soft);
}

.button--outline {
  border: 2px solid var(--accent);
}

.button--outline:hover {
  background: rgba(98, 104, 58, 0.18);
}

/* COMMON */

.section {
  padding: 105px 0;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 15px;
  letter-spacing: 5px;
  color: #8c9458;
  text-transform: uppercase;
}

.section-title,
.about h2 {
  font-size: clamp(43px, 4vw, 66px);
  line-height: 1.05;
  letter-spacing: 1.3px;
}

.lead {
  max-width: 760px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
}

.dark-card {
  padding: 30px 28px;
  min-height: 180px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.dark-card h3 {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 600;
}

.dark-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* PLACEHOLDERS */

.placeholder-photo {
  min-height: 360px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3e4441, #1e211f);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-photo span {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  letter-spacing: 3px;
}

/* ABOUT */

.about__grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 90px;
  align-items: center;
}

.about__visual {
  min-height: 500px;
}

.about__content p:not(.eyebrow) {
  max-width: 670px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.about__content p + p {
  margin-top: 18px;
}

.separator {
  width: 100%;
  max-width: 600px;
  height: 2px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.8);
}

.four-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* AUDIENCE */

.audience-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.accent-note {
  margin-top: 38px;
  padding: 26px 30px;
  border-radius: 12px;
  background: var(--accent);
  font-size: 16px;
  line-height: 1.6;
}

/* PRINCIPLES */

.principles-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.principle {
  min-height: 290px;
  padding: 31px 20px;
  border-radius: 14px;
  background: var(--card);
  text-align: center;
}

.principle__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  font-size: 13px;
}

.principle h3 {
  margin-bottom: 20px;
  font-size: 15px;
}

.principle p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* TRAINING */

.training-intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.training-intro p {
  max-width: 700px;
  margin-top: 25px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.training-photo {
  min-height: 350px;
}

.system-title {
  margin-top: 100px;
}

.system-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.system-exam {
  grid-column: 1 / -1;
}

/* DIRECTIONS */

.directions-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.direction-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.7)), #454946;
}

.direction-card span {
  display: block;
  margin-bottom: 65px;
  font-size: 13px;
  color: #9da568;
}

.direction-card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.direction-card p {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  font-size: 15px;
  line-height: 1.5;
}

/* EDUCATION */

.education-layout {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 45px;
}

.steps article {
  position: relative;
  padding-left: 65px;
}

.steps article::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  width: 1px;
  height: calc(100% + 45px);
  background: rgba(128, 136, 75, 0.55);
}

.steps article:last-child::before {
  height: 45px;
}

.steps span {
  color: #8e9658;
  font-size: 14px;
}

.steps h3 {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 500;
}

.steps p {
  margin-top: 7px;
  font-size: 16px;
  color: var(--text-soft);
}

.education-gallery {
  display: grid;
  gap: 20px;
}

.placeholder-large {
  min-height: 300px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-row .placeholder-photo {
  min-height: 220px;
}

.placeholder-wide {
  min-height: 270px;
}

/* TEAM */

.team {
  min-height: 500px;
}

.team-lead {
  max-width: 800px;
}

/* CONTACTS */

.contacts {
  padding: 110px 0;
  background: var(--bg-dark);
}

.contacts__inner {
  text-align: center;
}

.contacts__logo {
  width: 160px;
  margin: 0 auto 45px;
}

.contacts p {
  max-width: 720px;
  margin: auto;
  font-size: 26px;
  line-height: 1.55;
}

.contacts__buttons {
  margin-top: 60px;
  padding: 55px 20px;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.contact-link {
  font-size: 42px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.6;
}

/* TABLET */

@media (max-width: 1150px) {
  .container {
    width: min(100% - 60px, 1390px);
  }

  .header__inner {
    gap: 40px;
  }

  .nav a {
    font-size: 14px;
  }

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

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

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

/* MOBILE */

@media (max-width: 800px) {
  .container {
    width: calc(100% - 32px);
  }

  .header {
    height: 82px;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .logo img {
    width: 58px;
  }

  .burger {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 8px;
  }

  .burger span {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease;
  }

  .burger.active span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .burger.active span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 82px;
    height: calc(100vh - 82px);
    padding: 45px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    background: var(--bg-dark);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav a {
    font-family: "Xolonium", sans-serif;
    font-size: 26px;
  }

  .hero__media {
    height: 480px;
  }

  .hero h1 {
    font-size: 45px;
    line-height: 1;
  }

  .hero__title-wrap {
    padding-bottom: 26px;
  }

  .hero__bottom {
    padding-top: 28px;
  }

  .hero__text p {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
    min-width: 0;
    height: 58px;
  }

  .section {
    padding: 75px 0;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .section-title,
  .about h2 {
    font-size: 35px;
  }

  .lead {
    font-size: 15px;
  }

  .about__grid,
  .training-intro,
  .education-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    min-height: 320px;
  }

  .about__content p:not(.eyebrow),
  .training-intro p {
    font-size: 15px;
  }

  .four-grid,
  .audience-grid,
  .principles-grid,
  .system-grid,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .system-exam {
    grid-column: auto;
  }

  .system-title {
    margin-top: 70px;
  }

  .principle {
    min-height: 240px;
  }

  .education-layout {
    gap: 60px;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .contacts {
    padding: 80px 0 0;
  }

  .contacts__logo {
    width: 120px;
  }

  .contacts p {
    font-size: 18px;
  }

  .contacts__buttons {
    margin-left: -16px;
    margin-right: -16px;
  }

  .contact-link {
    font-size: 31px;
  }
}

/* MOTO GUARDIA DESIGN UPDATE */

@font-face {
  font-family: "Xolonium";
  src: url("../fonts/Xolonium-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Единая система оформления */

:root {
  --accent: #687044;
  --accent-soft: #8e985c;
  --card: #202120;
}

html {
  scroll-padding-top: 24px;
}

.about__grid {
  position: relative;
}

.site-photo {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #222;
}

.site-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.site-photo:hover img {
  transform: scale(1.045);
}

.about__visual {
  height: 500px;
}

.about__visual img {
  object-position: center;
}

/* Декоративный прицел */

.about__target {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 46%;
  width: 108px;
  height: 108px;
  border: 3px solid #f3f3ef;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about__target::before {
  content: "";
  position: absolute;
  inset: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.about__target::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.about__target span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -32px;
  width: 2px;
  height: 172px;
  background: #fff;
}

.about__target span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(39vw, 570px);
  height: 2px;
  background: #fff;
}

/* Обводки и интерактивность */

.dark-card,
.principle,
.direction-card {
  border: 1px solid rgba(109, 121, 62, 0.38);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.dark-card:hover,
.principle:hover,
.direction-card:hover {
  border-color: #9ba864;
  box-shadow:
    0 0 0 1px rgba(155, 168, 100, 0.18),
    0 0 26px rgba(120, 140, 70, 0.17);
  transform: translateY(-3px);
}

.button,
.contact-link {
  transition: all 0.3s ease;
}

.button:hover {
  box-shadow: 0 0 24px rgba(155, 168, 100, 0.26);
}

.dark-card h3 {
  font-weight: 600;
}

/* Фотокарточки направлений */

.direction-card {
  isolation: isolate;
  background: #262927;
}

.direction-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.direction-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48),
    rgba(0, 0, 0, 0.33) 45%,
    rgba(0, 0, 0, 0.78)
  );
}

.direction-card:hover::before {
  transform: scale(1.08);
}

/* Фотогалерея обучения */

.education-gallery .placeholder-large {
  height: 300px;
  min-height: 0;
}

.education-gallery .placeholder-wide {
  height: 270px;
  min-height: 0;
}

.gallery-row .site-photo {
  height: 220px;
}

/* Адаптация */

@media (max-width: 1100px) {
  .about__target {
    display: none;
  }
}

@media (max-width: 800px) {
  .about__visual {
    height: 320px;
    min-height: 0;
  }

  .education-gallery .placeholder-large {
    height: 240px;
  }

  .education-gallery .placeholder-wide {
    height: 230px;
  }

  .gallery-row .site-photo {
    height: 210px;
  }

  .direction-card {
    min-height: 250px;
  }

  .dark-card,
  .principle {
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-photo img,
  .dark-card,
  .principle,
  .direction-card,
  .direction-card::before {
    transition: none;
  }
}

/* === INTERACTION UPDATE V2 === */

/* =====================================================
   1. ОБЫЧНЫЕ ФОТО — НИКАКОГО ДВИЖЕНИЯ
===================================================== */

.site-photo,
.site-photo img,
.about__visual,
.training-photo,
.education-gallery .site-photo {
  transform: none !important;
}

.site-photo img {
  transition: none !important;
}

.site-photo:hover img {
  transform: none !important;
}

/* =====================================================
   2. ОБЫЧНЫЕ КАРТОЧКИ — НЕ ПОДПРЫГИВАЮТ
===================================================== */

.dark-card,
.principle {
  transform: none !important;

  border: 1px solid rgba(118, 128, 68, 0.46);

  box-shadow: none;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.dark-card:hover,
.principle:hover {
  transform: none !important;

  border-color: rgba(142, 153, 82, 0.78);

  box-shadow:
    0 0 0 1px rgba(128, 140, 72, 0.08),
    0 0 20px rgba(107, 121, 55, 0.06);
}

/* =====================================================
   3. КНОПКИ — ПОДПРЫГИВАНИЕ + ЗЕЛЁНОЕ СВЕЧЕНИЕ
===================================================== */

.button {
  position: relative;

  isolation: isolate;

  overflow: visible;

  transform: translateY(0);

  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.button::before {
  content: "";

  position: absolute;

  z-index: -1;

  inset: 8px 14px -10px;

  border-radius: inherit;

  background: rgba(164, 181, 87, 0.42);

  filter: blur(22px);

  opacity: 0;

  transform: scale(0.92);

  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.button:hover {
  transform: translateY(-5px);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(151, 168, 78, 0.18);
}

.button:hover::before {
  opacity: 1;

  transform: scale(1);
}

.button:active {
  transform: translateY(-1px);
}

/* ЗАЛИТАЯ КНОПКА */

.button--filled:hover {
  background: #747d45;

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(161, 177, 86, 0.3);
}

/* КНОПКА С ОБВОДКОЙ */

.button--outline:hover {
  border-color: #9ba75e;

  background: rgba(116, 127, 67, 0.08);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.18),
    0 0 25px rgba(158, 174, 83, 0.24);
}

/* =====================================================
   4. НАПРАВЛЕНИЯ ПОДГОТОВКИ
===================================================== */

.direction-card {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  min-height: 270px;

  transform: none !important;

  border: 1px solid rgba(124, 136, 67, 0.56);

  background: #252825;

  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

/* ФОТО СЗАДИ */

.direction-card::before {
  content: "";

  position: absolute;

  z-index: -3;

  inset: 0;

  background-image: var(--photo);
  background-size: cover;
  background-position: center;

  transform: none !important;

  transition: none !important;
}

/* ЗАТЕМНЕНИЕ ФОТО В ОБЫЧНОМ СОСТОЯНИИ */

.direction-card::after {
  content: "";

  position: absolute;

  z-index: -2;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(18, 20, 18, 0.34) 0%,
    rgba(18, 20, 18, 0.38) 42%,
    rgba(18, 20, 18, 0.74) 100%
  );

  transition:
    background 0.32s ease,
    opacity 0.32s ease;
}

/* НОМЕР */

.direction-card > span {
  position: relative;

  z-index: 2;

  color: #a0aa68;
}

/* ЗАГОЛОВОК */

.direction-card h3 {
  position: relative;

  z-index: 2;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

/* ОПИСАНИЕ */

.direction-card p {
  position: absolute;

  z-index: 2;

  left: 28px;
  right: 28px;
  bottom: 26px;

  margin: 0;

  opacity: 0;

  transform: translateY(9px);

  color: #ffffff;

  transition:
    opacity 0.26s ease,
    transform 0.3s ease;
}

/* =====================================================
   5. HOVER НА НАПРАВЛЕНИЯХ
   КАРТОЧКА НЕ ДВИГАЕТСЯ
   МЕНЯЕТСЯ ТОЛЬКО СОДЕРЖАНИЕ
===================================================== */

@media (hover: hover) and (pointer: fine) {
  .direction-card:hover {
    transform: none !important;

    border-color: #98a45b;

    box-shadow:
      0 0 0 1px rgba(151, 164, 91, 0.12),
      0 0 24px rgba(126, 145, 65, 0.12);
  }

  /* ОЛИВКОВЫЙ ФОН ПОВЕРХ ФОТО */

  .direction-card:hover::after {
    background: linear-gradient(
      135deg,
      rgba(89, 99, 49, 0.94) 0%,
      rgba(105, 116, 59, 0.91) 52%,
      rgba(74, 82, 42, 0.94) 100%
    );
  }

  .direction-card:hover p {
    opacity: 1;

    transform: translateY(0);
  }

  .direction-card:hover h3 {
    transform: translateY(-4px);
  }
}

/* =====================================================
   6. МОБИЛЬНЫЕ — ОПИСАНИЕ ВИДНО СРАЗУ
===================================================== */

@media (hover: none), (pointer: coarse) {
  .button:hover {
    transform: none;
  }

  .button::before {
    display: none;
  }

  .direction-card p {
    opacity: 1;

    transform: none;
  }
}

/* =====================================================
   7. НИКАКОГО ZOOM НА ФОТОКАРТОЧКАХ
===================================================== */

.direction-card:hover::before {
  transform: none !important;
}

/* === LAYOUT FIX V3 === */

/* =====================================================
   STICKY GLASS HEADER
===================================================== */

.header {
  position: sticky !important;
  top: 0;
  z-index: 1000;

  height: 112px;

  background: rgba(49, 52, 50, 0.72) !important;

  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    height 0.3s ease;
}

.header.is-scrolled {
  background: rgba(34, 37, 35, 0.88) !important;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);

  height: 96px;
}

.header__inner {
  height: 100%;

  display: grid;

  grid-template-columns: 100px 1fr;

  align-items: center;

  gap: 72px;
}

.logo img {
  width: 72px;
  height: auto;

  object-fit: contain;
}

.nav {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 34px;
}

.nav a {
  font-size: 15px;

  line-height: 1;

  font-weight: 400;

  letter-spacing: 0.2px;

  white-space: nowrap;
}

/* =====================================================
   ABOUT — ПОЛНОСТЬЮ ВЫРАВНИВАЕМ
===================================================== */

.about {
  overflow: hidden;
}

.about__grid {
  position: relative;

  display: grid !important;

  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);

  gap: clamp(70px, 7vw, 120px);

  align-items: center;
}

.about__visual {
  width: 100%;

  height: clamp(410px, 34vw, 510px);

  min-height: 0;

  border-radius: 14px;

  overflow: hidden;
}

.about__visual img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

.about__content {
  position: relative;

  min-width: 0;

  padding-right: 10px;
}

.about__content .eyebrow {
  margin-bottom: 18px;
}

/* ГЛАВНОЕ — НЕ ДАЁМ ЗАГОЛОВКУ РАЗВАЛИТЬСЯ */

.about h2 {
  width: 100%;

  max-width: 760px;

  margin: 0;

  font-size: clamp(38px, 3.15vw, 58px) !important;

  line-height: 1.08 !important;

  letter-spacing: 1.15px;

  overflow-wrap: normal;

  word-break: normal;

  hyphens: none;
}

.about__content p:not(.eyebrow) {
  max-width: 700px;

  font-size: 17px;

  line-height: 1.7;

  color: #d8d9d4;
}

.about__content p + p {
  margin-top: 18px;
}

/* ЛИНИЯ ПОД ЗАГОЛОВКОМ */

.separator {
  width: 100%;

  max-width: 690px;

  height: 2px;

  margin: 20px 0 20px;

  background: rgba(244, 244, 239, 0.88);
}

/* =====================================================
   ПРИЦЕЛ — СТАВИМ ЧЁТКО МЕЖДУ ФОТО И ТЕКСТОМ
===================================================== */

.about__target {
  position: absolute;

  z-index: 5;

  top: 50%;

  left: calc(46% + 4px);

  width: 92px;
  height: 92px;

  transform: translate(-50%, -50%);

  border: 3px solid #f4f4ef;

  border-radius: 50%;

  pointer-events: none;
}

.about__target::before {
  content: "";

  position: absolute;

  inset: 17px;

  border: 2px solid #f4f4ef;

  border-radius: 50%;
}

.about__target::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 17px;
  height: 17px;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: #f4f4ef;
}

.about__target span::before {
  content: "";

  position: absolute;

  left: 50%;
  top: -28px;

  width: 2px;
  height: 148px;

  background: #f4f4ef;
}

.about__target span::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: clamp(280px, 30vw, 500px);
  height: 2px;

  background: #f4f4ef;
}

/* =====================================================
   КАРТОЧКИ ПОД ABOUT
===================================================== */

.four-grid {
  margin-top: 65px;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 22px;
}

.four-grid .dark-card {
  min-width: 0;
}

/* =====================================================
   ОБЩАЯ ТИПОГРАФИКА
===================================================== */

.section-title,
.about h2,
.hero h1 {
  word-break: normal !important;

  overflow-wrap: normal !important;

  hyphens: none !important;
}

p,
h1,
h2,
h3,
a,
span {
  text-wrap: pretty;
}

/* =====================================================
   ОТСТУП ПРИ ЯКОРНОМ ПЕРЕХОДЕ
===================================================== */

section[id] {
  scroll-margin-top: 110px;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1180px) {
  .header__inner {
    gap: 38px;
  }

  .nav {
    gap: 22px;
  }

  .nav a {
    font-size: 13px;
  }

  .about__grid {
    gap: 55px;
  }

  .about h2 {
    font-size: clamp(35px, 3.5vw, 50px) !important;
  }

  .about__target {
    display: none;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {
  .header,
  .header.is-scrolled {
    height: 82px;
  }

  .header {
    background: rgba(38, 41, 39, 0.86) !important;
  }

  .header__inner {
    display: flex;

    justify-content: space-between;
  }

  .logo img {
    width: 56px;
  }

  .about__grid {
    grid-template-columns: 1fr !important;

    gap: 40px;
  }

  .about__visual {
    height: 330px;
  }

  .about__content {
    padding-right: 0;
  }

  .about h2 {
    font-size: 35px !important;

    line-height: 1.1 !important;
  }

  .separator {
    margin-top: 18px;
  }

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

  section[id] {
    scroll-margin-top: 82px;
  }
}

/* === DIRECTIONS FIX V5 === */

/* =====================================================
   1. КНОПКИ — БЕЗ ПРЫЖКОВ И БЕЗ ЯРКОГО СИЯНИЯ
===================================================== */

.button,
.btn {
  position: relative;
  transform: none !important;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.button::before,
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px 14px -8px 14px;
  border-radius: inherit;
  background: rgba(158, 170, 86, 0.22);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.button:hover,
.btn:hover {
  transform: none !important;
}

.button:hover::before,
.btn:hover::before {
  opacity: 0.45;
}

.button--filled:hover,
.btn--filled:hover {
  background: #8f9658;
  box-shadow: 0 0 0 1px rgba(158, 170, 86, 0.24);
}

.button--outline:hover,
.btn--outline:hover {
  background: rgba(143, 150, 88, 0.06);
  border-color: rgba(158, 170, 86, 0.78);
  box-shadow: 0 0 0 1px rgba(158, 170, 86, 0.18);
}

/* =====================================================
   2. КАРТОЧКИ НАПРАВЛЕНИЙ
===================================================== */

.direction-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
  border-radius: 22px;
  border: 1px solid rgba(133, 144, 72, 0.58);
  background: #1f211f;
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.direction-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.direction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 22, 20, 0.34) 0%,
    rgba(20, 22, 20, 0.38) 36%,
    rgba(20, 22, 20, 0.72) 100%
  );
  transition: background 0.22s ease;
}

/* ФОТО НА ФОНЕ КАЖДОЙ КАРТОЧКИ */
.direction-card:nth-child(1)::before {
  background-image: url("../images/direction-offroad.jpg");
}

.direction-card:nth-child(2)::before {
  background-image: url("../images/direction-city.jpg");
}

.direction-card:nth-child(3)::before {
  background-image: url("../images/direction-emergency.jpg");
}

.direction-card:nth-child(4)::before {
  background-image: url("../images/direction-trainer.jpg");
}

/* ВНУТРЕННОСТЬ */
.direction-card > * {
  position: relative;
  z-index: 2;
}

/* ПРЯЧЕМ ЛЮБЫЕ 01 / 02 / 03 / 04 */
.direction-card > span,
.direction-card .direction-card__number,
.direction-card .card-number,
.direction-card .number {
  display: none !important;
}

/* ЗАГОЛОВОК */
.direction-card h3 {
  margin: 0;
  position: absolute;
  left: 34px;
  right: 34px;
  top: 38px;

  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #f3f3ef;
}

/* МАЛЕНЬКИЙ ТЕКСТ СНИЗУ — ОСТАЁТСЯ ВСЕГДА */
.direction-card p {
  margin: 0;
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 28px;

  font-size: 18px;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.96);
}

/* ДОП ТЕКСТ ПРИ HOVER */
.direction-card__extra {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 88px;

  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

/* HOVER — БЕЗ ПОДСКОКОВ И БЕЗ "КЛИКАБЕЛЬНОСТИ" */
@media (hover: hover) and (pointer: fine) {
  .direction-card:hover::after {
    background: linear-gradient(
      135deg,
      rgba(102, 111, 58, 0.94) 0%,
      rgba(116, 126, 67, 0.92) 52%,
      rgba(90, 99, 52, 0.94) 100%
    );
  }

  .direction-card:hover .direction-card__extra {
    opacity: 1;
    visibility: visible;
  }
}

/* МОБИЛКА */
@media (max-width: 900px) {
  .direction-card {
    min-height: 240px;
  }

  .direction-card h3 {
    left: 24px;
    right: 24px;
    top: 24px;
    font-size: 17px;
  }

  .direction-card p {
    left: 24px;
    right: 24px;
    bottom: 22px;
    font-size: 15px;
  }

  .direction-card__extra {
    left: 24px;
    right: 24px;
    bottom: 72px;
    font-size: 14px;
  }
}

/* =====================================================
   3. УБИРАЕМ ЛЮБЫЕ СТАРЫЕ ЭФФЕКТЫ С ЭТИХ КАРТОЧЕК
===================================================== */

.direction-card,
.direction-card:hover,
.direction-card * {
  animation: none !important;
}

.direction-card img {
  display: none !important;
}

/* === L-SHAPE CARD BORDER FIX === */

/* Информационные карточки */
.dark-card {
  position: relative;

  border: none !important;
  box-shadow: none !important;

  background: #202120;

  border-radius: 18px;

  overflow: hidden;

  transform: none !important;
}

/* Левая + нижняя оливковая линия */
.dark-card::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  border-left: 1px solid rgba(126, 138, 69, 0.72);
  border-bottom: 1px solid rgba(126, 138, 69, 0.72);

  border-radius: 0 0 18px 18px;
}

/* Никакой анимации при наведении */
.dark-card:hover {
  border: none !important;

  box-shadow: none !important;

  transform: none !important;

  background: #202120;
}

/* Линия при наведении тоже не меняется */
.dark-card:hover::after {
  border-left-color: rgba(126, 138, 69, 0.72);
  border-bottom-color: rgba(126, 138, 69, 0.72);
}

/* === DARK CARD BORDER FIX V2 === */

.dark-card {
  position: relative;
  border: none !important;
  box-shadow: none !important;
  background: #1f201f;
  border-radius: 22px;
  overflow: hidden;
}

/* ЛЕВАЯ ЛИНИЯ — с мягким скруглением сверху и снизу */
.dark-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 18px;
  pointer-events: none;

  border-left: 1px solid rgba(126, 138, 69, 0.72);
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
}

/* НИЖНЯЯ ЛИНИЯ — мягкая, аккуратная */
.dark-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 12px;
  bottom: 0;
  height: 18px;
  pointer-events: none;

  border-bottom: 1px solid rgba(126, 138, 69, 0.72);
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

/* Убираем любые старые рамки/ховеры */
.dark-card:hover {
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  background: #1f201f;
}

/* === DIRECTIONS FINAL V6 === */

/* =====================================================
   НАПРАВЛЕНИЯ ПОДГОТОВКИ
   БАЗОВОЕ СОСТОЯНИЕ = КАК В РЕФЕРЕНСЕ
===================================================== */

.directions-grid {
  margin-top: 50px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 24px;
}

.direction-card {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  min-height: 270px;

  border-radius: 14px;

  border: 1px solid rgba(126, 138, 69, 0.52);

  background: #262826;

  cursor: default;

  transform: none !important;

  box-shadow: none !important;

  transition: border-color 0.2s ease;
}

/* -----------------------------------------------------
   ФОТО
----------------------------------------------------- */

.direction-card::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -3;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  transform: none !important;

  transition: none !important;
}

.direction-card:nth-child(1)::before {
  background-image: url("../images/direction-offroad.jpg");
}

.direction-card:nth-child(2)::before {
  background-image: url("../images/direction-city.jpg");
}

.direction-card:nth-child(3)::before {
  background-image: url("../images/direction-emergency.jpg");
}

.direction-card:nth-child(4)::before {
  background-image: url("../images/direction-trainer.jpg");
}

/* -----------------------------------------------------
   ОБЫЧНОЕ ЗАТЕМНЕНИЕ
----------------------------------------------------- */

.direction-card::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  background: linear-gradient(
    180deg,
    rgba(19, 21, 19, 0.35) 0%,
    rgba(19, 21, 19, 0.34) 42%,
    rgba(19, 21, 19, 0.7) 100%
  );

  transition: background 0.22s ease;
}

/* -----------------------------------------------------
   УБИРАЕМ 01 / 02 / 03 / 04
----------------------------------------------------- */

.direction-card > span,
.direction-card__number,
.direction-card .number,
.direction-card .card-number {
  display: none !important;
}

/* -----------------------------------------------------
   ЗАГОЛОВОК — ВСЕГДА НА МЕСТЕ
----------------------------------------------------- */

.direction-card h3 {
  position: absolute;

  z-index: 3;

  top: 30px;
  left: 28px;
  right: 28px;

  margin: 0;

  font-size: 19px;

  line-height: 1.25;

  letter-spacing: 0.45px;

  font-weight: 600;

  color: #f4f4f0;

  text-transform: uppercase;

  transform: none !important;

  transition: none !important;
}

/* -----------------------------------------------------
   ОСНОВНОЙ МАЛЕНЬКИЙ ТЕКСТ
   ВСЕГДА ОСТАЁТСЯ СНИЗУ
----------------------------------------------------- */

.direction-card > p {
  position: absolute;

  z-index: 3;

  left: 28px;
  right: 28px;

  bottom: 23px;

  margin: 0;

  font-size: 15px;

  line-height: 1.48;

  color: rgba(255, 255, 255, 0.95);

  opacity: 1 !important;

  visibility: visible !important;

  transform: none !important;

  transition: none !important;
}

/* -----------------------------------------------------
   ДОПОЛНИТЕЛЬНЫЙ ТЕКСТ
   ПОЯВЛЯЕТСЯ ТОЛЬКО ПРИ НАВЕДЕНИИ
----------------------------------------------------- */

.direction-card__extra {
  position: absolute;

  z-index: 4;

  top: 92px;

  left: 28px;
  right: 28px;

  margin: 0;

  font-size: 13px;

  line-height: 1.45;

  color: rgba(255, 255, 255, 0.96);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

/* =====================================================
   HOVER
   НИЧЕГО НЕ ДВИГАЕТСЯ
===================================================== */

@media (hover: hover) and (pointer: fine) {
  .direction-card:hover {
    transform: none !important;

    box-shadow: none !important;

    border-color: rgba(145, 157, 82, 0.7);
  }

  /* ФОТО НЕ УВЕЛИЧИВАЕТСЯ */

  .direction-card:hover::before {
    transform: none !important;
  }

  /* ПРОСТО ОЛИВКОВЫЙ СЛОЙ ПОВЕРХ ФОТО */

  .direction-card:hover::after {
    background: linear-gradient(
      135deg,
      rgba(84, 94, 48, 0.94) 0%,
      rgba(104, 114, 61, 0.92) 50%,
      rgba(73, 82, 42, 0.95) 100%
    );
  }

  /* ДОП ТЕКСТ ПОЯВЛЯЕТСЯ */

  .direction-card:hover .direction-card__extra {
    opacity: 1;

    visibility: visible;
  }

  /* ВСЁ ОСТАЛЬНОЕ ОСТАЁТСЯ СТРОГО НА МЕСТЕ */

  .direction-card:hover h3,
  .direction-card:hover > p {
    transform: none !important;
  }
}

/* =====================================================
   MOBILE
===================================================== */

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

@media (max-width: 700px) {
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 255px;
  }

  .direction-card h3 {
    top: 24px;
    left: 24px;
    right: 24px;

    font-size: 18px;
  }

  .direction-card > p {
    left: 24px;
    right: 24px;
    bottom: 22px;

    font-size: 14px;
  }

  .direction-card__extra {
    top: 88px;
    left: 24px;
    right: 24px;

    font-size: 13px;

    /* на телефоне hover нет —
           дополнительную инфу не показываем */
    display: none;
  }
}

/* =====================================================
   ПОЛНОСТЬЮ ОТКЛЮЧАЕМ СТАРЫЕ АНИМАЦИИ
===================================================== */

.direction-card,
.direction-card *,
.direction-card::before,
.direction-card::after {
  animation: none !important;
}

/* === EXACT CARD BORDER FIX === */

.dark-card {
  position: relative !important;
  overflow: hidden !important;

  border: none !important;
  outline: none !important;

  border-radius: 24px !important;

  background: #202120 !important;

  box-shadow: none !important;
  transform: none !important;
}

/* ПОЛНОСТЬЮ УБИРАЕМ МОЮ ЛИШНЮЮ ВЕРХНЮЮ ЛИНИЮ */
.dark-card::before {
  content: none !important;
  display: none !important;
}

/* ТОЛЬКО ЛЕВАЯ + НИЖНЯЯ ОБВОДКА */
.dark-card::after {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;

  width: auto !important;
  height: auto !important;

  pointer-events: none !important;

  background: none !important;

  border: none !important;

  border-left: 1px solid rgba(126, 138, 69, 0.72) !important;
  border-bottom: 1px solid rgba(126, 138, 69, 0.72) !important;

  border-radius: 24px !important;

  box-sizing: border-box !important;
}

/* НИКАКОГО HOVER НА ЭТИХ ПЛАШКАХ */
.dark-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  background: #202120 !important;
}

.dark-card:hover::after {
  border-left-color: rgba(126, 138, 69, 0.72) !important;
  border-bottom-color: rgba(126, 138, 69, 0.72) !important;
}

/* === STATIC INFO CARDS === */

.principle,
.principle:hover,
.dark-card,
.dark-card:hover {
  transform: none !important;
  box-shadow: none !important;
  animation: none !important;

  background: #202120 !important;

  cursor: default !important;

  transition: none !important;
}

/* Обводка тоже вообще не меняется */
.principle {
  border-color: rgba(126, 138, 69, 0.46) !important;
}

.principle:hover {
  border-color: rgba(126, 138, 69, 0.46) !important;
}

/* Всё внутри тоже статично */
.principle *,
.dark-card * {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* === CONTACT TEXT REVEAL V1 === */

/* =====================================================
   ФИНАЛЬНЫЙ ТЕКСТ — КРУПНЕЕ
===================================================== */

.contacts {
  padding-top: 120px;
  padding-bottom: 0;
}

.contacts__inner {
  text-align: center;
}

.contacts__logo {
  width: clamp(175px, 13vw, 230px);
  margin: 0 auto 58px;
}

/* Сам текст */
.contacts p {
  --reveal: 0%;

  width: min(1100px, 90%);
  max-width: 1100px;

  margin: 0 auto;

  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.42;

  font-weight: 400;

  letter-spacing: -0.5px;

  color: transparent;

  /*
       Диагональ:
       левый верхний -> правый нижний
    */
  background: linear-gradient(
    135deg,
    #f3f3ef 0%,
    #f3f3ef var(--reveal),
    #70736f calc(var(--reveal) + 8%),
    #70736f 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  transition: none;
}

/* Зелёный блок снизу */
.contacts__buttons {
  margin-top: 95px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {
  .contacts {
    padding-top: 85px;
  }

  .contacts__logo {
    width: 125px;
    margin-bottom: 42px;
  }

  .contacts p {
    width: 100%;

    font-size: clamp(23px, 7vw, 32px);

    line-height: 1.45;

    letter-spacing: -0.3px;
  }

  .contacts__buttons {
    margin-top: 65px;
  }
}

/* === DIAGONAL TEXT REVEAL V2 === */

/* отменяем старый gradient-text */
.contacts p {
  color: inherit !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;

  width: min(1180px, 92%) !important;
  max-width: 1180px !important;

  font-size: clamp(36px, 3.15vw, 54px) !important;
  line-height: 1.42 !important;

  text-align: left !important;
}

/* символ */
.contacts .reveal-char {
  display: inline;
  color: #3f423f;

  transition:
    color 0.13s linear,
    opacity 0.13s linear;

  will-change: color;
}

/* уже проявившаяся часть */
.contacts .reveal-char.is-lit {
  color: #f2f2ee;
}

/* первый акцент чуть жирнее */
.contacts .reveal-lead {
  font-weight: 600;
}

/* пробелы не ломаем */
.contacts .reveal-space {
  white-space: pre;
}

/* сам блок делаем просторнее */
.contacts__logo {
  width: clamp(190px, 14vw, 245px) !important;
  margin-bottom: 70px !important;
}

.contacts__buttons {
  margin-top: 110px !important;
}

@media (max-width: 800px) {
  .contacts p {
    width: 100% !important;

    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.42 !important;
  }

  .contacts__logo {
    width: 135px !important;
    margin-bottom: 45px !important;
  }
}

/* =====================================================
   FINAL SCROLL TEXT — SIZE / CENTER / COLOR
===================================================== */

.contacts__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
}

.contacts__logo {
  width: 185px !important;
  margin: 0 auto 55px !important;
}

.contacts p {
  width: min(980px, calc(100% - 40px)) !important;
  max-width: 980px !important;

  margin: 0 auto !important;

  text-align: center !important;

  font-size: clamp(28px, 2.45vw, 41px) !important;
  line-height: 1.52 !important;

  font-weight: 400 !important;
  letter-spacing: -0.35px !important;

  color: #555855 !important;

  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.contacts .scroll-reveal-char {
  display: inline;
  color: rgb(74, 77, 74);
  transition: none !important;
  will-change: color;
}

.contacts .scroll-reveal-space {
  white-space: pre;
}

@media (max-width: 800px) {
  .contacts__logo {
    width: 125px !important;
    margin-bottom: 38px !important;
  }

  .contacts p {
    width: 100% !important;

    font-size: clamp(22px, 6.5vw, 30px) !important;
    line-height: 1.48 !important;
  }
}

/* === DIRECTIONS HOVER REPLACE V7 === */

/* =====================================================
   HEADER — 40% ПРОЗРАЧНОСТИ
===================================================== */

.header {
  background: rgba(34, 37, 35, 0.4) !important;

  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header.is-scrolled {
  background: rgba(34, 37, 35, 0.52) !important;

  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
}

/* =====================================================
   DIRECTIONS — БАЗОВОЕ СОСТОЯНИЕ
===================================================== */

.direction-card {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  min-height: 270px;

  border-radius: 14px;

  border: 1px solid rgba(126, 138, 69, 0.52);

  cursor: default !important;

  transform: none !important;

  box-shadow: none !important;
}

/* Фото */
.direction-card::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -3;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: none !important;

  transition: none !important;
}

.direction-card:nth-child(1)::before {
  background-image: url("../images/direction-offroad.jpg");
}

.direction-card:nth-child(2)::before {
  background-image: url("../images/direction-city.jpg");
}

.direction-card:nth-child(3)::before {
  background-image: url("../images/direction-emergency.jpg");
}

.direction-card:nth-child(4)::before {
  background-image: url("../images/direction-trainer.jpg");
}

/* Обычное затемнение */
.direction-card::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  background: linear-gradient(
    180deg,
    rgba(18, 20, 18, 0.34) 0%,
    rgba(18, 20, 18, 0.34) 42%,
    rgba(18, 20, 18, 0.7) 100%
  );

  transition: background 0.22s ease;
}

/* Заголовок всегда на месте */
.direction-card h3 {
  position: absolute;

  z-index: 3;

  top: 30px;
  left: 28px;
  right: 28px;

  margin: 0;

  font-size: 19px;

  line-height: 1.25;

  font-weight: 600;

  letter-spacing: 0.45px;

  color: #f4f4f0;

  text-transform: uppercase;

  transform: none !important;

  transition: none !important;
}

/* Короткий базовый текст */
.direction-card > p {
  position: absolute;

  z-index: 3;

  left: 28px;
  right: 28px;

  bottom: 24px;

  margin: 0;

  font-size: 15px;

  line-height: 1.48;

  color: rgba(255, 255, 255, 0.95);

  opacity: 1;

  visibility: visible;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

/* Подробный текст */
.direction-card__extra {
  position: absolute;

  z-index: 4;

  left: 28px;
  right: 28px;

  bottom: 24px;

  margin: 0;

  font-size: 14px;

  line-height: 1.48;

  color: rgba(255, 255, 255, 0.98);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

/* =====================================================
   HOVER
   ТОЛЬКО ЗАМЕНА ТЕКСТА + ОЛИВКОВЫЙ СЛОЙ
===================================================== */

@media (hover: hover) and (pointer: fine) {
  .direction-card:hover {
    transform: none !important;

    box-shadow: none !important;

    border-color: rgba(126, 138, 69, 0.52) !important;
  }

  .direction-card:hover::before {
    transform: none !important;
  }

  .direction-card:hover::after {
    background: linear-gradient(
      135deg,
      rgba(97, 108, 53, 0.88) 0%,
      rgba(111, 122, 63, 0.86) 55%,
      rgba(83, 92, 45, 0.9) 100%
    );
  }

  /* Старый короткий текст исчезает */
  .direction-card:hover > p {
    opacity: 0;
    visibility: hidden;
  }

  /* Подробный появляется */
  .direction-card:hover .direction-card__extra {
    opacity: 1;
    visibility: visible;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .direction-card {
    min-height: 255px;
  }

  .direction-card h3 {
    top: 24px;
    left: 24px;
    right: 24px;

    font-size: 18px;
  }

  .direction-card > p,
  .direction-card__extra {
    left: 24px;
    right: 24px;
    bottom: 22px;

    font-size: 14px;
  }

  /* На телефоне оставляем только короткий текст */
  .direction-card__extra {
    display: none;
  }
}

/* =====================================================
   НИКАКИХ ЛИШНИХ АНИМАЦИЙ
===================================================== */

.direction-card,
.direction-card *,
.direction-card::before,
.direction-card::after {
  animation: none !important;
}

/* === FINAL CENTERED REVEAL V3 === */

.contacts {
  padding-top: 105px !important;
}

.contacts__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  text-align: center !important;
}

.contacts__logo {
  width: 175px !important;

  margin: 0 auto 52px !important;
}

/* Сам текстовый блок */
.contacts p {
  width: min(980px, calc(100% - 40px)) !important;
  max-width: 980px !important;

  margin: 0 auto !important;

  text-align: center !important;

  font-size: clamp(28px, 2.35vw, 39px) !important;

  line-height: 1.52 !important;

  font-weight: 400 !important;

  letter-spacing: -0.35px !important;

  color: #4b4e4b !important;

  overflow: visible !important;

  white-space: normal !important;
}

/* Каждая строка — отдельный центрированный блок */
.contacts .reveal-line {
  display: block;

  width: 100%;

  text-align: center;

  white-space: nowrap;

  margin: 0 auto;
}

/* Символы */
.contacts .scroll-reveal-char {
  display: inline;

  color: rgb(70, 73, 70);

  transition: none !important;

  will-change: color;
}

.contacts .scroll-reveal-space {
  white-space: pre;
}

/* Первая строка чуть сильнее */
.contacts .reveal-line:first-child {
  font-weight: 500;
}

/* Зеленый нижний блок ниже текста */
.contacts__buttons {
  margin-top: 90px !important;
}

@media (max-width: 1000px) {
  .contacts p {
    width: min(860px, calc(100% - 40px)) !important;

    font-size: clamp(25px, 3vw, 34px) !important;
  }
}

@media (max-width: 800px) {
  .contacts {
    padding-top: 80px !important;
  }

  .contacts__logo {
    width: 120px !important;

    margin-bottom: 40px !important;
  }

  .contacts p {
    width: 100% !important;

    font-size: clamp(21px, 6vw, 29px) !important;

    line-height: 1.45 !important;
  }

  .contacts .reveal-line {
    white-space: normal;
  }

  .contacts__buttons {
    margin-top: 60px !important;
  }
}

/* ==========================================================
   DIRECTIONS — FINAL HOVER FIX V8
========================================================== */

.direction-card {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;

  cursor: default !important;

  transform: none !important;
  box-shadow: none !important;
}

/* ФОТО НЕ ДВИГАЕТСЯ */
.direction-card::before {
  transform: none !important;
  transition: none !important;
}

/* обычное затемнение */
.direction-card::after {
  transition: background 0.25s ease !important;
}

/* ЗАГОЛОВОК ВСЕГДА ОСТАЁТСЯ */
.direction-card h3 {
  position: absolute !important;

  top: 30px !important;
  left: 28px !important;
  right: 28px !important;

  z-index: 10 !important;

  margin: 0 !important;

  color: #f5f5f1 !important;

  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* короткое описание */
.direction-card > p {
  position: absolute !important;

  left: 28px !important;
  right: 28px !important;
  bottom: 24px !important;

  z-index: 10 !important;

  margin: 0 !important;

  opacity: 1 !important;
  visibility: visible !important;

  transition: opacity 0.18s ease !important;
}

/* ПОДРОБНОЕ ОПИСАНИЕ */
.direction-hover-description {
  position: absolute !important;

  z-index: 20 !important;

  top: 92px !important;
  left: 28px !important;
  right: 28px !important;
  bottom: 25px !important;

  display: flex !important;
  align-items: center !important;

  margin: 0 !important;

  color: #ffffff !important;

  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  font-weight: 400 !important;

  opacity: 0 !important;
  visibility: hidden !important;

  pointer-events: none !important;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease !important;
}

/* ==========================================================
   HOVER
========================================================== */

@media (hover: hover) and (pointer: fine) {
  .direction-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Фото остаётся, но сверху появляется плотный olive */
  .direction-card:hover::after {
    background: linear-gradient(
      135deg,
      rgba(115, 125, 64, 0.96) 0%,
      rgba(126, 137, 70, 0.95) 50%,
      rgba(98, 108, 54, 0.97) 100%
    ) !important;
  }

  /* короткая подпись исчезает */
  .direction-card:hover > p {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* подробный текст появляется */
  .direction-card:hover .direction-hover-description {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* заголовок остаётся */
  .direction-card:hover h3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* никакого zoom */
.direction-card:hover::before {
  transform: none !important;
}

/* телефон — оставляем обычное состояние */
@media (max-width: 700px) {
  .direction-hover-description {
    display: none !important;
  }
}

/* =========================================================
   CONTACT — ABSOLUTE FINAL CENTER FIX
========================================================= */

.contacts {
  overflow: hidden !important;
}

.contacts__inner {
  width: 100% !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  text-align: center !important;
}

.contacts__logo {
  display: block !important;

  width: 175px !important;
  height: auto !important;

  margin: 0 auto 54px !important;
}

.contacts p {
  display: block !important;

  width: 1050px !important;
  max-width: calc(100vw - 80px) !important;

  margin: 0 auto !important;

  padding: 0 !important;

  text-align: center !important;

  font-family: "Montserrat", sans-serif !important;

  font-size: clamp(27px, 2.25vw, 38px) !important;

  line-height: 1.55 !important;

  font-weight: 400 !important;

  letter-spacing: -0.3px !important;

  white-space: normal !important;

  overflow: visible !important;

  color: #444744 !important;

  background: none !important;

  -webkit-background-clip: initial !important;

  background-clip: initial !important;
}

/* КАЖДАЯ СТРОКА ОТДЕЛЬНО И СТРОГО ПО ЦЕНТРУ */

.contacts .final-reveal-line {
  display: block !important;

  width: 100% !important;

  margin: 0 auto !important;

  padding: 0 !important;

  text-align: center !important;

  white-space: nowrap !important;

  overflow: visible !important;
}

/* БУКВЫ */

.contacts .final-reveal-char {
  display: inline !important;

  color: rgb(68, 71, 68);

  transition: none !important;

  will-change: color;
}

.contacts .final-reveal-space {
  white-space: pre !important;
}

/* первая строка чуть сильнее */

.contacts .final-reveal-line:first-child {
  font-weight: 500 !important;
}

/* блок контактов не прижимается к тексту */

.contacts__buttons {
  margin-top: 88px !important;
}

@media (max-width: 900px) {
  .contacts p {
    width: 100% !important;

    max-width: calc(100vw - 32px) !important;

    font-size: clamp(20px, 5vw, 29px) !important;
  }

  .contacts .final-reveal-line {
    white-space: normal !important;
  }
}

/* =========================================================
   EDUCATION / КАК ПРОХОДИТ ОБУЧЕНИЕ
========================================================= */

.education .container {
  max-width: 1440px;
}

.education h2 {
  margin: 0 0 42px;
  max-width: 1100px;
}

.education__layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ===== ЛЕВАЯ КОЛОНКА ===== */

.education__steps {
  position: relative;
  padding-left: 54px;
  padding-bottom: 28px;
}

.education__steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: -18px; /* продлили ниже */
  width: 1px;
  background: rgba(151, 160, 86, 0.8);
}

.education__step {
  position: relative;
  margin-bottom: 42px;
}

.education__step:last-child {
  margin-bottom: 0;
}

.education__step-number {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #97a056;
}

.education__step h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  color: #f2f1eb;
}

.education__step p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(242, 241, 235, 0.88);
  max-width: 320px;
}

/* ===== ПРАВАЯ ГАЛЕРЕЯ ===== */

.education__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.education__photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #1a1b18;
}

.education__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* верхняя большая */
.education__photo--main {
  grid-column: 1 / -1;
  height: 330px; /* чуть уменьшили, чтобы композиция слева/справа лучше сошлась */
}

.education__photo--main img {
  transform: scale(1.05); /* убирает ощущение белых бортиков */
  object-position: center 48%;
}

/* 2 средние */
.education__photo--night,
.education__photo--city {
  height: 250px;
}

/* ночная */
.education__photo--night img {
  transform: scale(1.02);
  object-position: center 52%;
}

/* город */
.education__photo--city img {
  transform: scale(1.03);
  object-position: center center;
}

/* нижняя широкая */
.education__photo--bridge {
  grid-column: 1 / -1;
  height: 300px;
}

.education__photo--bridge img {
  transform: scale(1.08);
  object-position: center 70%; /* чтобы мотоциклы не резались */
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1200px) {
  .education__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .education__steps {
    padding-left: 42px;
  }

  .education__steps::before {
    bottom: -8px;
  }
}

@media (max-width: 768px) {
  .education__gallery {
    grid-template-columns: 1fr;
  }

  .education__photo--main,
  .education__photo--night,
  .education__photo--city,
  .education__photo--bridge {
    grid-column: auto;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .education__step h3 {
    font-size: 24px;
  }

  .education__step p {
    font-size: 16px;
  }
}

/* =========================================================
   ABOUT BLOCK — FINAL ALIGNMENT FIX
========================================================= */

.about {
  overflow: hidden;
}

.about .container {
  max-width: 1500px;
}

/* главный layout */
.about__grid {
  position: relative !important;

  display: grid !important;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.08fr) !important;

  gap: 74px !important;

  align-items: stretch !important;
}

/* =========================
   ФОТО
========================= */

.about__visual {
  width: 100% !important;

  height: 520px !important;

  min-height: 520px !important;

  border-radius: 14px !important;

  overflow: hidden !important;

  align-self: stretch !important;
}

.about__visual img {
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;

  object-position: center center !important;

  display: block !important;

  transform: none !important;
}

/* =========================
   ТЕКСТОВАЯ КОЛОНКА
========================= */

.about__content {
  position: relative !important;

  height: 520px !important;

  min-height: 520px !important;

  display: flex !important;

  flex-direction: column !important;

  justify-content: flex-start !important;

  padding: 0 !important;

  min-width: 0 !important;
}

/* маленький верхний label */
.about__content .eyebrow {
  margin: 0 0 20px !important;

  font-size: 14px !important;

  line-height: 1 !important;

  letter-spacing: 5px !important;
}

/* =========================
   ЗАГОЛОВОК — УМЕНЬШАЕМ
========================= */

.about h2 {
  width: 100% !important;

  max-width: 680px !important;

  margin: 0 !important;

  font-size: clamp(38px, 3.15vw, 52px) !important;

  line-height: 1.08 !important;

  letter-spacing: 1px !important;

  word-break: normal !important;

  overflow-wrap: normal !important;

  hyphens: none !important;
}

/* =========================
   ЛИНИЯ
========================= */

.about .separator {
  width: 100% !important;

  max-width: none !important;

  height: 2px !important;

  margin: 22px 0 22px !important;

  background: rgba(244, 244, 239, 0.9) !important;
}

/* =========================
   ТЕКСТ
========================= */

.about__content p:not(.eyebrow) {
  max-width: 100% !important;

  margin: 0 !important;

  font-size: 16px !important;

  line-height: 1.62 !important;

  color: #d7d8d3 !important;
}

.about__content p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 18px !important;
}

/* =========================
   ПРИЦЕЛ — СТАВИМ РОВНО ПО СТЫКУ
========================= */

.about__target {
  position: absolute !important;

  z-index: 10 !important;

  top: 50% !important;

  left: calc(50% - 37px) !important;

  width: 92px !important;
  height: 92px !important;

  transform: translate(-50%, -50%) !important;

  border: 3px solid #f4f4ef !important;

  border-radius: 50% !important;

  pointer-events: none !important;
}

.about__target::before {
  content: "" !important;

  position: absolute !important;

  inset: 17px !important;

  border: 2px solid #f4f4ef !important;

  border-radius: 50% !important;
}

.about__target::after {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 17px !important;
  height: 17px !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  background: #f4f4ef !important;
}

.about__target span::before {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;

  top: -30px !important;

  width: 2px !important;

  height: 152px !important;

  background: #f4f4ef !important;
}

.about__target span::after {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 640px !important;
  height: 2px !important;

  background: #f4f4ef !important;
}

/* =========================
   КАРТОЧКИ ПОД БЛОКОМ
========================= */

.four-grid {
  margin-top: 64px !important;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {
  .about__grid {
    gap: 50px !important;
  }

  .about__visual,
  .about__content {
    height: 480px !important;
    min-height: 480px !important;
  }

  .about h2 {
    font-size: clamp(34px, 3.4vw, 46px) !important;
  }

  .about__target {
    display: none !important;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {
  .about__grid {
    grid-template-columns: 1fr !important;

    gap: 36px !important;
  }

  .about__visual {
    height: 340px !important;
    min-height: 340px !important;
  }

  .about__content {
    height: auto !important;
    min-height: 0 !important;
  }

  .about h2 {
    max-width: 100% !important;

    font-size: 34px !important;
  }
}

/* === EDUCATION FINAL BLOCK V1 === */

/* =========================================================
   EDUCATION / КАК ПРОХОДИТ ОБУЧЕНИЕ
========================================================= */

.education .container {
  max-width: 1440px;
}

.education h2 {
  margin: 0 0 42px;
  max-width: 1100px;
}

/* =========================================================
   ОСНОВНАЯ СЕТКА
========================================================= */

.education__layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* =========================================================
   ЛЕВАЯ КОЛОНКА
========================================================= */

.education__steps {
  position: relative;
  padding-left: 54px;
  padding-bottom: 28px;
}

.education__steps::before {
  content: "";
  position: absolute;

  left: 0;
  top: 10px;
  bottom: -28px;

  width: 1px;

  background: rgba(151, 160, 86, 0.82);
}

.education__step {
  position: relative;
  margin-bottom: 42px;
}

.education__step:last-child {
  margin-bottom: 0;
}

.education__step-number {
  display: inline-block;

  margin-bottom: 12px;

  font-size: 16px;
  line-height: 1;

  letter-spacing: 0.08em;

  color: #97a056;
}

.education__step h3 {
  margin: 0 0 10px;

  font-size: 28px;
  line-height: 1.15;

  font-weight: 600;

  color: #f2f1eb;
}

.education__step p {
  margin: 0;

  max-width: 320px;

  font-size: 18px;
  line-height: 1.45;

  color: rgba(242, 241, 235, 0.88);
}

/* =========================================================
   ПРАВАЯ ГАЛЕРЕЯ
========================================================= */

.education__gallery {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 22px;

  align-items: stretch;
}

.education__photo {
  position: relative;

  overflow: hidden;

  border-radius: 22px;

  background: #1a1b18;
}

.education__photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center center;

  transform-origin: center center;
}

/* =========================================================
   ВЕРХНЯЯ БОЛЬШАЯ ФОТОГРАФИЯ
========================================================= */

.education__photo--main {
  grid-column: 1 / -1;

  height: 315px;
}

.education__photo--main img {
  transform: scale(1.08);

  object-position: center 50%;
}

/* =========================================================
   ДВЕ СРЕДНИЕ
========================================================= */

.education__photo--night,
.education__photo--city {
  height: 230px;
}

.education__photo--night img {
  transform: scale(1.025);

  object-position: center 52%;
}

.education__photo--city img {
  transform: scale(1.025);

  object-position: center 50%;
}

/* =========================================================
   НИЖНЯЯ ШИРОКАЯ
========================================================= */

.education__photo--bridge {
  grid-column: 1 / -1;

  height: 285px;
}

.education__photo--bridge img {
  transform: scale(1.035);

  /*
       Сдвигаем кадр вниз так,
       чтобы сами мотоциклы не обрезались.
    */
  object-position: center 72%;
}

/* =========================================================
   НИКАКИХ HOVER-АНИМАЦИЙ НА ФОТО
========================================================= */

.education__photo,
.education__photo:hover,
.education__photo img,
.education__photo:hover img {
  transition: none !important;

  box-shadow: none !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
  .education__layout {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .education__steps {
    padding-left: 42px;
  }

  .education__steps::before {
    bottom: -10px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .education h2 {
    margin-bottom: 32px;
  }

  .education__gallery {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .education__photo--main,
  .education__photo--night,
  .education__photo--city,
  .education__photo--bridge {
    grid-column: auto;

    width: 100%;

    height: auto;

    aspect-ratio: 16 / 10;
  }

  .education__photo img {
    transform: none;
  }

  .education__photo--bridge img {
    object-position: center 65%;
  }

  .education__step h3 {
    font-size: 24px;
  }

  .education__step p {
    font-size: 16px;
  }
}

/* =========================================================
   ABOUT — ALIGNMENT FIX V2
========================================================= */

.about__grid {
  --about-photo-height: 520px;

  position: relative !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;

  gap: 74px !important;

  align-items: start !important;
}

/* =========================================================
   ФОТО
========================================================= */

.about__visual {
  width: 100% !important;

  height: var(--about-photo-height) !important;
  min-height: var(--about-photo-height) !important;

  overflow: hidden !important;

  border-radius: 14px !important;
}

.about__visual img {
  width: 100% !important;
  height: 100% !important;

  display: block !important;

  object-fit: cover !important;
  object-position: center center !important;

  transform: none !important;
}

/* =========================================================
   ТЕКСТ СПРАВА
========================================================= */

.about__content {
  min-width: 0 !important;

  height: var(--about-photo-height) !important;

  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* LABEL */
.about__content .eyebrow {
  margin: 0 0 18px !important;

  font-size: 14px !important;
  line-height: 1 !important;

  letter-spacing: 5px !important;
}

/* =========================================================
   ЗАГОЛОВОК — ДЕЛАЕМ МЕНЬШЕ
========================================================= */

.about h2 {
  width: 100% !important;
  max-width: 690px !important;

  margin: 0 !important;

  font-size: clamp(34px, 2.65vw, 46px) !important;

  line-height: 1.08 !important;

  letter-spacing: 1px !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* =========================================================
   ЛИНИЯ СТРОГО ПОД ЗАГОЛОВКОМ
========================================================= */

.about .separator {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  height: 2px !important;

  flex: 0 0 2px !important;

  margin: 22px 0 22px !important;

  background: rgba(244, 244, 239, 0.92) !important;
}

/* =========================================================
   ОСНОВНОЙ ТЕКСТ
========================================================= */

.about__content p:not(.eyebrow) {
  max-width: 680px !important;

  margin: 0 !important;

  font-size: 16px !important;
  line-height: 1.62 !important;

  color: #d6d7d2 !important;
}

.about__content p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 18px !important;
}

/* =========================================================
   ПРИЦЕЛ
========================================================= */

.about__target {
  position: absolute !important;

  z-index: 20 !important;

  /*
       Ставим по стыку фото и текстовой колонки
    */
  left: calc((100% - 74px) / 2.08) !important;

  top: calc(var(--about-photo-height) / 2) !important;

  width: 92px !important;
  height: 92px !important;

  transform: translate(-50%, -50%) !important;

  border: 3px solid #f4f4ef !important;
  border-radius: 50% !important;

  pointer-events: none !important;
}

/* внутреннее кольцо */
.about__target::before {
  content: "" !important;

  position: absolute !important;

  inset: 17px !important;

  border: 2px solid #f4f4ef !important;
  border-radius: 50% !important;
}

/* точка */
.about__target::after {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 17px !important;
  height: 17px !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  background: #f4f4ef !important;
}

/* =========================================================
   ВЕРТИКАЛЬНАЯ ЛИНИЯ —
   РОВНО ОТ ВЕРХА ФОТО ДО НИЗА ФОТО
========================================================= */

.about__target span::before {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;

  /*
       92px — размер самого прицела.
       Таким образом линия становится ровно 520px,
       как высота фотографии.
    */
  top: calc((92px - var(--about-photo-height)) / 2) !important;

  width: 2px !important;
  height: var(--about-photo-height) !important;

  transform: translateX(-50%) !important;

  background: #f4f4ef !important;
}

/*
   УБИРАЕМ старую горизонтальную линию,
   которая проходила ЧЕРЕЗ заголовок.
   Горизонтальная линия теперь только .separator
*/
.about__target span::after {
  content: none !important;
  display: none !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
  .about__grid {
    --about-photo-height: 470px;

    gap: 50px !important;
  }

  .about h2 {
    font-size: clamp(32px, 3vw, 42px) !important;
  }

  .about__target {
    display: none !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {
  .about__grid {
    grid-template-columns: 1fr !important;

    gap: 36px !important;
  }

  .about__visual {
    height: 340px !important;
    min-height: 340px !important;
  }

  .about__content {
    height: auto !important;
  }

  .about h2 {
    max-width: 100% !important;

    font-size: 32px !important;
  }
}

/* === ABOUT EXACT REFERENCE FINAL === */

/* =====================================================
   БЛОК "ЧТО ТАКОЕ ЦЕНТР"
===================================================== */

.about {
  overflow: hidden !important;
}

.about .container {
  max-width: 1540px !important;
}

/* =====================================================
   СЕТКА
===================================================== */

.about__grid {
  --photo-w: 650px;
  --photo-h: 520px;
  --about-gap: 100px;

  position: relative !important;

  display: grid !important;

  grid-template-columns:
    var(--photo-w)
    minmax(0, 1fr) !important;

  column-gap: var(--about-gap) !important;

  align-items: start !important;
}

/* =====================================================
   ФОТО
===================================================== */

.about__visual {
  position: relative !important;

  width: var(--photo-w) !important;
  height: var(--photo-h) !important;
  min-height: var(--photo-h) !important;

  overflow: hidden !important;

  border-radius: 14px !important;
}

.about__visual img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  transform: none !important;
}

/* =====================================================
   ТЕКСТ СПРАВА
===================================================== */

.about__content {
  position: relative !important;

  min-width: 0 !important;

  height: var(--photo-h) !important;

  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
}

/* маленькая подпись */

.about__content .eyebrow {
  margin: 0 0 22px !important;

  font-size: 14px !important;
  line-height: 1 !important;

  letter-spacing: 5px !important;

  color: #92995b !important;
}

/* =====================================================
   ЗАГОЛОВОК — КАК НА ПРАВОМ РЕФЕРЕНСЕ
===================================================== */

.about h2 {
  position: relative !important;

  z-index: 5 !important;

  width: 100% !important;
  max-width: 720px !important;

  margin: 0 !important;

  font-size: 43px !important;
  line-height: 1.08 !important;

  letter-spacing: 1px !important;

  font-weight: 400 !important;

  text-transform: uppercase !important;

  color: #f2f2ee !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* =====================================================
   ЛИНИЯ ПОД ЗАГОЛОВКОМ
===================================================== */

.about .separator {
  display: block !important;

  width: 100% !important;
  max-width: 650px !important;

  height: 2px !important;

  flex: 0 0 2px !important;

  margin: 22px 0 22px !important;

  background: #f2f2ee !important;

  opacity: 1 !important;
}

/* =====================================================
   ТЕКСТ
===================================================== */

.about__content p:not(.eyebrow) {
  width: 100% !important;
  max-width: 680px !important;

  margin: 0 !important;

  font-size: 17px !important;
  line-height: 1.62 !important;

  color: rgba(242, 242, 238, 0.92) !important;
}

.about__content p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 19px !important;
}

/* =====================================================
   ПРИЦЕЛ — СТРОГО НА СТЫКЕ
===================================================== */

.about__target {
  position: absolute !important;

  z-index: 20 !important;

  left: var(--photo-w) !important;
  top: calc(var(--photo-h) / 2) !important;

  width: 92px !important;
  height: 92px !important;

  transform: translate(-50%, -50%) !important;

  border: 3px solid #f2f2ee !important;

  border-radius: 50% !important;

  pointer-events: none !important;
}

/* внутренний круг */

.about__target::before {
  content: "" !important;

  position: absolute !important;

  inset: 17px !important;

  border: 2px solid #f2f2ee !important;

  border-radius: 50% !important;
}

/* центральная точка */

.about__target::after {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 17px !important;
  height: 17px !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  background: #f2f2ee !important;
}

/* =====================================================
   ВЕРТИКАЛЬ — ОТ ВЕРХА ФОТО ДО НИЗА
===================================================== */

.about__target span::before {
  content: "" !important;

  position: absolute !important;

  z-index: -1 !important;

  left: 50% !important;
  top: 50% !important;

  width: 2px !important;
  height: var(--photo-h) !important;

  transform: translate(-50%, -50%) !important;

  background: #f2f2ee !important;
}

/* =====================================================
   ГОРИЗОНТАЛЬ ИЗ ЦЕНТРА ПРИЦЕЛА ВПРАВО
===================================================== */

.about__target span::after {
  content: "" !important;

  position: absolute !important;

  z-index: -1 !important;

  left: 50% !important;
  top: 50% !important;

  width: 610px !important;
  height: 2px !important;

  transform: translateY(-50%) !important;

  background: #f2f2ee !important;
}

/*
   Чтобы не было ДВУХ горизонтальных линий:
   визуально оставляем separator,
   но линия прицела лежит ровно на его уровне.
*/

.about__target {
  top: 260px !important;
}

/* =====================================================
   КАРТОЧКИ ПОД БЛОКОМ
===================================================== */

.about .four-grid {
  margin-top: 58px !important;
}

/* =====================================================
   ДО 1400
===================================================== */

@media (max-width: 1400px) {
  .about__grid {
    --photo-w: 590px;
    --photo-h: 490px;
    --about-gap: 86px;
  }

  .about h2 {
    max-width: 650px !important;

    font-size: 39px !important;
  }

  .about__target {
    top: 245px !important;
  }

  .about__target span::after {
    width: 540px !important;
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .about__grid {
    grid-template-columns: 1fr !important;

    gap: 38px !important;
  }

  .about__visual {
    width: 100% !important;

    height: 500px !important;
    min-height: 500px !important;
  }

  .about__content {
    height: auto !important;
  }

  .about__target {
    display: none !important;
  }

  .about h2 {
    max-width: 100% !important;

    font-size: 40px !important;
  }

  .about .separator {
    max-width: 100% !important;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .about__visual {
    height: 340px !important;
    min-height: 340px !important;
  }

  .about h2 {
    font-size: 31px !important;
    line-height: 1.1 !important;
  }

  .about__content p:not(.eyebrow) {
    font-size: 16px !important;
  }
}

/* === ABOUT TARGET ALIGN FIX === */

/* кругляш чуть ниже, чтобы линия шла ровно из центра */
.about__target {
  top: 286px !important;
}

/* горизонтальная линия — строго из центра прицела */
.about__target span::after {
  top: 50% !important;
  left: 50% !important;
  height: 2px !important;
  transform: translateY(-50%) !important;
  background: #f2f2ee !important;
}

/* вертикальная линия — мягко растворяется у краёв фото */
.about__target span::before {
  left: 50% !important;
  top: 50% !important;
  width: 2px !important;
  height: calc(var(--photo-h) - 6px) !important;
  transform: translate(-50%, -50%) !important;
  background: linear-gradient(
    to bottom,
    rgba(242, 242, 238, 0) 0%,
    rgba(242, 242, 238, 0.18) 6%,
    rgba(242, 242, 238, 0.55) 12%,
    rgba(242, 242, 238, 1) 22%,
    rgba(242, 242, 238, 1) 78%,
    rgba(242, 242, 238, 0.55) 88%,
    rgba(242, 242, 238, 0.18) 94%,
    rgba(242, 242, 238, 0) 100%
  ) !important;
  border-radius: 999px !important;
}

/* чтобы края линии визуально мягче уходили в фото */
.about__visual {
  overflow: hidden !important;
}

/* на планшете/мобиле прицел всё так же не нужен */
@media (max-width: 1100px) {
  .about__target {
    display: none !important;
  }
}

/* === TYPOGRAPHY + CONTACTS FINAL V1 === */

/* =========================================================
   ЕДИНЫЕ МАЛЕНЬКИЕ ЗЕЛЁНЫЕ ПОДЗАГОЛОВКИ
========================================================= */

.section-label,
.eyebrow,
.section-kicker,
.kicker,
.about__content .eyebrow,
.contacts-final__label {
  margin-top: 0 !important;

  font-family: "Montserrat", sans-serif !important;

  font-size: 14px !important;
  line-height: 1.1 !important;

  font-weight: 400 !important;

  letter-spacing: 0.34em !important;

  text-transform: uppercase !important;

  color: #969d5b !important;
}

/* =========================================================
   ЕДИНАЯ СИСТЕМА ЗАГОЛОВКОВ СЕКЦИЙ
========================================================= */

.section h2,
.about h2,
.education h2,
.directions h2,
.principles h2,
.contacts-final__title {
  font-family: "Xolonium", "Montserrat", sans-serif !important;

  font-weight: 400 !important;

  text-transform: uppercase !important;

  color: #f2f2ee !important;

  letter-spacing: 0.025em !important;

  line-height: 1.06 !important;
}

/* стандартный desktop-размер */
.section h2,
.education h2,
.directions h2,
.principles h2 {
  font-size: clamp(46px, 4.2vw, 68px) !important;
}

/* ABOUT чуть компактнее */
.about h2 {
  font-size: clamp(38px, 3.2vw, 50px) !important;
}

/* =========================================================
   CONTACTS
========================================================= */

.contacts-final {
  position: relative;

  width: 100%;

  padding: 110px 40px 120px;

  background: #626b3e;

  overflow: hidden;
}

.contacts-final__inner {
  width: min(1400px, 100%);

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

/* маленький CONTACTS можно скрыть,
   если хочешь чисто как на референсе */

.contacts-final__label {
  margin-bottom: 26px !important;
}

/* главный заголовок */

.contacts-final__title {
  width: 100%;

  margin: 0 auto 72px !important;

  font-size: clamp(36px, 3.7vw, 58px) !important;

  line-height: 1.12 !important;

  text-align: center !important;
}

/* =========================================================
   WHATSAPP / TELEGRAM
========================================================= */

.contacts-final__links {
  width: min(760px, 100%);

  display: flex;
  flex-direction: column;

  gap: 18px;
}

/* сама плашка */

.contacts-final__link {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 100px;

  padding: 20px 34px;

  border-radius: 18px;

  text-decoration: none !important;

  font-family: "Montserrat", sans-serif;

  font-size: clamp(34px, 4vw, 58px);

  line-height: 1;

  font-weight: 700;

  letter-spacing: 0.015em;

  color: #22251f;

  background: rgba(255, 255, 255, 0);

  border: 1px solid rgba(255, 255, 255, 0);

  cursor: pointer;

  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

/* =========================================================
   HOVER — ЯРКОЕ СВЕЧЕНИЕ СЗАДИ
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .contacts-final__link:hover {
    color: #f5f5ef;

    background: rgba(150, 163, 88, 0.42);

    border-color: rgba(193, 207, 116, 0.55);

    box-shadow:
      0 0 18px rgba(177, 196, 92, 0.4),
      0 0 44px rgba(177, 196, 92, 0.3),
      0 0 90px rgba(177, 196, 92, 0.18);

    transform: none !important;
  }
}

/* активное нажатие */

.contacts-final__link:active {
  background: rgba(150, 163, 88, 0.55);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .contacts-final {
    padding: 90px 28px 100px;
  }

  .contacts-final__title {
    margin-bottom: 54px !important;

    font-size: clamp(32px, 5vw, 46px) !important;
  }

  .contacts-final__link {
    min-height: 88px;

    font-size: clamp(30px, 6vw, 48px);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .section-label,
  .eyebrow,
  .section-kicker,
  .kicker,
  .about__content .eyebrow,
  .contacts-final__label {
    font-size: 12px !important;

    letter-spacing: 0.25em !important;
  }

  .section h2,
  .education h2,
  .directions h2,
  .principles h2 {
    font-size: 34px !important;
  }

  .about h2 {
    font-size: 31px !important;
  }

  .contacts-final {
    padding: 70px 18px 78px;
  }

  .contacts-final__title {
    font-size: 30px !important;

    line-height: 1.16 !important;

    margin-bottom: 42px !important;
  }

  .contacts-final__links {
    gap: 14px;
  }

  .contacts-final__link {
    min-height: 76px;

    border-radius: 14px;

    font-size: 32px;
  }
}

/* === TERMINAL PATCH: ABOUT + EDUCATION FIX === */

/* =========================================================
   ABOUT / ЧТО ТАКОЕ ЦЕНТР
========================================================= */

.about .container {
  max-width: 1720px !important;
}

.about__layout {
  display: grid !important;
  grid-template-columns: minmax(560px, 760px) minmax(620px, 1fr) !important;
  gap: 120px !important;
  align-items: start !important;
}

.about__media {
  position: relative !important;
  overflow: visible !important;
}

.about__media img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1.28 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 30px !important;
}

.about__media::after {
  content: "" !important;
  position: absolute !important;
  top: 10px !important;
  bottom: 10px !important;
  right: -1px !important;
  width: 1px !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.92) 14%,
    rgba(255, 255, 255, 0.92) 86%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

.about__content {
  position: relative !important;
  padding-top: 20px !important;
}

.about .section-label {
  margin: 0 0 20px !important;
}

.about h2 {
  margin: 0 !important;
  max-width: 980px !important;
  font-size: clamp(42px, 4vw, 72px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0.02em !important;
}

.about__rule {
  position: relative !important;
  height: 84px !important;
  margin: 16px 0 26px !important;
}

.about__target {
  position: absolute !important;
  left: -122px !important;
  top: -4px !important;
  width: 108px !important;
  height: 108px !important;
  z-index: 2 !important;
}

.about__target-ring {
  position: absolute !important;
  border: 4px solid #f2f1eb !important;
  border-radius: 50% !important;
}

.about__target-ring--outer {
  inset: 0 !important;
}

.about__target-ring--inner {
  inset: 24px !important;
}

.about__target-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #f2f1eb !important;
  transform: translate(-50%, -50%) !important;
}

.about__target::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: -62px !important;
  bottom: -62px !important;
  width: 2px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 16%,
    rgba(255, 255, 255, 0.95) 84%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

.about__rule-line {
  position: absolute !important;
  left: -68px !important; /* стартует из центра кругляшка */
  right: 0 !important;
  top: 50% !important;
  height: 2px !important;
  transform: translateY(-50%) !important;
  background: #f2f1eb !important;
  opacity: 0.95 !important;
}

.about__text {
  max-width: 920px !important;
}

.about__text p {
  margin: 0 0 28px !important;
  font-size: 20px !important;
  line-height: 1.7 !important;
  color: rgba(242, 241, 235, 0.94) !important;
}

.about__text p:last-child {
  margin-bottom: 0 !important;
}

/* =========================================================
   EDUCATION / КАК ПРОХОДИТ ОБУЧЕНИЕ
========================================================= */

.education .container {
  max-width: 1680px !important;
}

.education .section-label {
  margin: 0 0 10px !important;
}

.education h2 {
  margin: 0 0 44px !important;
  max-width: 900px !important;
  font-size: clamp(44px, 4vw, 72px) !important;
  line-height: 1.02 !important;
}

.education__layout {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 900px) !important;
  gap: 92px !important;
  align-items: start !important;
}

.education__steps {
  position: relative !important;
  padding-left: 70px !important;
}

.education__steps::before {
  display: none !important;
}

.education__step {
  position: relative !important;
  margin-bottom: 48px !important;
}

.education__step:last-child {
  margin-bottom: 0 !important;
}

.education__step::before {
  content: "➤" !important;
  position: absolute !important;
  left: -58px !important;
  top: 36px !important;
  font-size: 40px !important;
  line-height: 1 !important;
  color: #f2f1eb !important;
}

.education__step-number {
  display: inline-block !important;
  margin: 0 0 12px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #97a056 !important;
  letter-spacing: 0.08em !important;
}

.education__step h3 {
  margin: 0 0 8px !important;
  font-size: 28px !important;
  line-height: 1.16 !important;
  color: #f2f1eb !important;
  font-weight: 600 !important;
}

.education__step p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  color: rgba(242, 241, 235, 0.9) !important;
  max-width: 280px !important;
}

.education__gallery {
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important; /* сдвиг вправо */
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.education__photo {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: #1b1c19 !important;
}

.education__photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.education__photo--main {
  grid-column: 1 / -1 !important;
  height: 310px !important; /* уменьшили */
}

.education__photo--main img {
  object-position: center 54% !important;
  transform: scale(1.03) !important;
}

.education__photo--night,
.education__photo--city {
  height: 215px !important; /* уменьшили */
}

.education__photo--night img {
  object-position: center 55% !important;
  transform: scale(1.02) !important;
}

.education__photo--city img {
  object-position: center center !important;
  transform: scale(1.02) !important;
}

.education__photo--bridge {
  grid-column: 1 / -1 !important;
  height: 255px !important; /* уменьшили */
}

.education__photo--bridge img {
  object-position: center 72% !important;
  transform: scale(1.07) !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {
  .about__layout {
    grid-template-columns: 1fr !important;
    gap: 54px !important;
  }

  .about__target {
    left: -18px !important;
  }

  .about__rule-line {
    left: 36px !important;
  }

  .education__layout {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
  }

  .education__gallery {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .about h2,
  .education h2 {
    font-size: 34px !important;
  }

  .about__rule {
    height: 60px !important;
  }

  .about__target {
    width: 82px !important;
    height: 82px !important;
    left: -8px !important;
    top: -4px !important;
  }

  .about__target-ring--inner {
    inset: 18px !important;
  }

  .about__rule-line {
    left: 28px !important;
  }

  .about__text p {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  .education__steps {
    padding-left: 48px !important;
  }

  .education__step::before {
    left: -42px !important;
    top: 38px !important;
    font-size: 28px !important;
  }

  .education__step h3 {
    font-size: 24px !important;
  }

  .education__step p {
    font-size: 16px !important;
  }

  .education__gallery {
    grid-template-columns: 1fr !important;
  }

  .education__photo--main,
  .education__photo--night,
  .education__photo--city,
  .education__photo--bridge {
    grid-column: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }
}

/* === GLOBAL TYPOGRAPHY SPACING CONTACTS V2 === */

/* =========================================================
   1. ОДИНАКОВЫЕ ОТСТУПЫ МЕЖДУ ВСЕМИ ОСНОВНЫМИ БЛОКАМИ
========================================================= */

.section {
  padding-top: 110px !important;
  padding-bottom: 110px !important;
}

/*
   Убираем случайные огромные внешние отступы,
   накопившиеся от предыдущих версий
*/
.section + .section {
  margin-top: 0 !important;
}

.about,
.principles,
.directions,
.education {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =========================================================
   2. ВСЕ МАЛЕНЬКИЕ ЗЕЛЁНЫЕ ЗАГОЛОВКИ — ОДИНАКОВЫЕ
========================================================= */

.section-label,
.eyebrow,
.section-kicker,
.kicker,
.about .section-label,
.about__content .eyebrow,
.principles .section-label,
.directions .section-label,
.education .section-label {
  font-family: "Montserrat", sans-serif !important;

  font-size: 14px !important;
  line-height: 1 !important;

  font-weight: 400 !important;

  letter-spacing: 0.32em !important;

  text-transform: uppercase !important;

  color: #969d5b !important;

  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

/* =========================================================
   3. ВСЕ БОЛЬШИЕ ЗАГОЛОВКИ — МЕНЬШЕ И В ОДНОЙ СИСТЕМЕ
========================================================= */

.section h2,
.principles h2,
.directions h2,
.education h2 {
  font-family: "Xolonium", "Montserrat", sans-serif !important;

  font-size: clamp(40px, 3.4vw, 58px) !important;

  line-height: 1.05 !important;

  font-weight: 400 !important;

  letter-spacing: 0.02em !important;

  text-transform: uppercase !important;

  color: #f2f2ee !important;
}

/* ABOUT — чуть меньше из-за длинного заголовка */

.about h2 {
  font-family: "Xolonium", "Montserrat", sans-serif !important;

  font-size: clamp(36px, 2.8vw, 48px) !important;

  line-height: 1.06 !important;

  font-weight: 400 !important;

  letter-spacing: 0.02em !important;

  text-transform: uppercase !important;

  color: #f2f2ee !important;
}

/* =========================================================
   4. НАПРАВЛЕНИЯ ПОДГОТОВКИ — НЕ ТАКОЙ ОГРОМНЫЙ ЗАГОЛОВОК
========================================================= */

.directions h2 {
  max-width: 760px !important;

  margin-bottom: 54px !important;
}

/* =========================================================
   5. "ЧТО ВХОДИТ В СИСТЕМУ" — ТОЖЕ УМЕНЬШАЕМ
========================================================= */

.system h2,
.training-system h2,
.what-included h2 {
  font-family: "Xolonium", "Montserrat", sans-serif !important;

  font-size: clamp(40px, 3.4vw, 58px) !important;

  line-height: 1.05 !important;

  font-weight: 400 !important;

  letter-spacing: 0.02em !important;

  text-transform: uppercase !important;
}

/* =========================================================
   6. CONTACTS — БЕЗ РАМОК ВОКРУГ WHATSAPP / TELEGRAM
========================================================= */

.contacts-final__links {
  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;

  gap: 30px !important;

  width: 100% !important;
}

/* УБИРАЕМ ПЛАШКУ ПОЛНОСТЬЮ */

.contacts-final__link {
  position: relative !important;

  display: inline-flex !important;

  width: auto !important;

  min-height: 0 !important;

  padding: 12px 28px !important;

  align-items: center !important;
  justify-content: center !important;

  background: transparent !important;

  border: none !important;
  outline: none !important;

  border-radius: 0 !important;

  box-shadow: none !important;

  font-family: "Montserrat", sans-serif !important;

  font-size: clamp(42px, 4vw, 66px) !important;

  line-height: 1 !important;

  font-weight: 700 !important;

  letter-spacing: 0.01em !important;

  text-decoration: none !important;

  color: #23251f !important;

  transform: none !important;

  transition:
    color 0.22s ease,
    text-shadow 0.22s ease,
    filter 0.22s ease !important;
}

/* мягкое свечение именно ЗА ТЕКСТОМ */

.contacts-final__link::before {
  content: "" !important;

  position: absolute !important;

  z-index: -1 !important;

  left: 50% !important;
  top: 50% !important;

  width: 115% !important;
  height: 70% !important;

  transform: translate(-50%, -50%) scale(0.82) !important;

  border-radius: 999px !important;

  background: rgba(188, 206, 97, 0) !important;

  filter: blur(24px) !important;

  opacity: 0 !important;

  pointer-events: none !important;

  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background 0.24s ease !important;
}

/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .contacts-final__link:hover {
    color: #ffffff !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    transform: none !important;

    text-shadow:
      0 0 10px rgba(224, 239, 150, 0.46),
      0 0 24px rgba(177, 197, 88, 0.44),
      0 0 48px rgba(177, 197, 88, 0.24) !important;
  }

  .contacts-final__link:hover::before {
    opacity: 1 !important;

    transform: translate(-50%, -50%) scale(1) !important;

    background: rgba(169, 188, 84, 0.38) !important;
  }
}

/* при нажатии тоже НИКАКОЙ рамки */

.contacts-final__link:active,
.contacts-final__link:focus,
.contacts-final__link:focus-visible {
  border: none !important;
  outline: none !important;

  box-shadow: none !important;
}

/* =========================================================
   7. САМ CONTACTS — НОРМАЛЬНЫЕ ОТСТУПЫ
========================================================= */

.contacts-final {
  padding-top: 100px !important;
  padding-bottom: 105px !important;
}

.contacts-final__title {
  font-family: "Xolonium", "Montserrat", sans-serif !important;

  font-size: clamp(38px, 3vw, 52px) !important;

  line-height: 1.12 !important;

  font-weight: 400 !important;

  letter-spacing: 0.035em !important;

  margin-bottom: 58px !important;
}

/* =========================================================
   8. MOBILE
========================================================= */

@media (max-width: 768px) {
  .section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .section h2,
  .principles h2,
  .directions h2,
  .education h2,
  .system h2,
  .training-system h2,
  .what-included h2 {
    font-size: 32px !important;

    line-height: 1.08 !important;
  }

  .about h2 {
    font-size: 30px !important;
  }

  .section-label,
  .eyebrow,
  .section-kicker,
  .kicker {
    font-size: 12px !important;

    letter-spacing: 0.24em !important;

    margin-bottom: 16px !important;
  }

  .contacts-final {
    padding-top: 72px !important;
    padding-bottom: 76px !important;
  }

  .contacts-final__title {
    font-size: 30px !important;
    margin-bottom: 42px !important;
  }

  .contacts-final__link {
    font-size: 34px !important;
  }
}

/* === TEAM + OPPORTUNITIES + SCROLL MOTION V1 === */

/* =========================================================
   SHARED HEADINGS
========================================================= */

.team .section-heading,
.opportunities .section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.team .section-intro {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(242, 241, 235, 0.82);
}

/* =========================================================
   TEAM
========================================================= */

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

/* -------- founder -------- */

.team-card--founder {
  grid-column: 1 / -1;

  min-height: 520px;

  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);

  padding: 0 !important;

  overflow: hidden;
}

/* -------- all cards -------- */

.team-card {
  position: relative;

  min-height: 360px;

  padding: 38px 38px 42px;

  border-radius: 28px;

  background: linear-gradient(
    145deg,
    rgba(32, 33, 30, 0.98),
    rgba(25, 26, 23, 0.98)
  );

  border-left: 1px solid rgba(151, 160, 86, 0.72);

  border-bottom: 1px solid rgba(151, 160, 86, 0.72);

  overflow: hidden;
}

/* мягко исчезающие края обводки */
.team-card::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  border-radius: inherit;

  background:
    linear-gradient(to right, rgba(151, 160, 86, 0.45), transparent 22%) top
      left / 34% 1px no-repeat,
    linear-gradient(to bottom, rgba(151, 160, 86, 0.45), transparent 24%) top
      left / 1px 34% no-repeat;
}

.team-card__image {
  min-height: 520px;
  overflow: hidden;
}

.team-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

.team-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 60px;
}

.team-card__number,
.opportunity-card__number {
  display: block;

  margin-bottom: 30px;

  font-size: 14px;
  line-height: 1;

  letter-spacing: 0.14em;

  color: #98a05a;
}

.team-card h3 {
  margin: 0 0 28px;

  font-family: "Xolonium", "Montserrat", sans-serif;

  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.08;

  font-weight: 400;

  text-transform: uppercase;

  color: #f2f1eb;
}

.team-card p {
  margin: 0;

  font-size: 17px;
  line-height: 1.62;

  color: rgba(242, 241, 235, 0.82);
}

.team-card p + p {
  margin-top: 18px;
}

/* никаких hover-движений */
.team-card,
.team-card:hover {
  transform: none;
  box-shadow: none;
}

/* =========================================================
   OPPORTUNITIES
========================================================= */

.opportunities__grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;
}

.opportunity-card {
  position: relative;

  min-height: 300px;

  padding: 40px;

  border-radius: 28px;

  background: rgba(28, 29, 26, 0.98);

  border-left: 1px solid rgba(151, 160, 86, 0.68);

  border-bottom: 1px solid rgba(151, 160, 86, 0.68);
}

.opportunity-card h3 {
  margin: 0 0 24px;

  font-family: "Xolonium", "Montserrat", sans-serif;

  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.08;

  font-weight: 400;

  text-transform: uppercase;

  color: #f2f1eb;
}

.opportunity-card p {
  margin: 0;

  max-width: 570px;

  font-size: 17px;
  line-height: 1.65;

  color: rgba(242, 241, 235, 0.82);
}

/* нижний statement */

.opportunities__statement {
  margin-top: 24px;

  padding: 38px 42px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;

  border-radius: 26px;

  background: linear-gradient(
    90deg,
    rgba(105, 115, 60, 0.95),
    rgba(83, 92, 51, 0.95)
  );
}

.opportunities__statement span {
  font-family: "Xolonium", "Montserrat", sans-serif;

  font-size: 25px;
  letter-spacing: 0.08em;

  color: #f2f1eb;
}

.opportunities__statement p {
  margin: 0;

  max-width: 700px;

  font-size: 17px;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;

  will-change: opacity, transform;

  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal--up {
  transform: translate3d(0, 48px, 0);
}

.reveal--left {
  transform: translate3d(-55px, 0, 0);
}

.reveal--right {
  transform: translate3d(55px, 0, 0);
}

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

/* stagger */
.team__grid .reveal:nth-child(2),
.opportunities__grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.team__grid .reveal:nth-child(3),
.opportunities__grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.team__grid .reveal:nth-child(4),
.opportunities__grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .team-card--founder {
    grid-template-columns: 1fr;
  }

  .team-card__image {
    min-height: 500px;
  }

  .team-card__content {
    padding: 44px;
  }

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

  .team-card--founder {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  .team__grid,
  .opportunities__grid {
    grid-template-columns: 1fr;
  }

  .team-card--founder {
    grid-column: auto;
  }

  .team-card__image {
    min-height: 420px;
  }

  .team-card__content {
    padding: 32px 26px 38px;
  }

  .team-card,
  .opportunity-card {
    min-height: auto;
    padding: 30px 26px 34px;
    border-radius: 22px;
  }

  .opportunities__statement {
    flex-direction: column;
    align-items: flex-start;

    padding: 30px 26px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* === GLOBAL SPACING + BIDIRECTIONAL MOTION V3 === */

/* =========================================================
   1. ЕДИНАЯ СЕТКА ОТСТУПОВ МЕЖДУ ВСЕМИ СЕКЦИЯМИ
========================================================= */

:root {
  --section-space: 96px;
  --section-heading-gap: 48px;
}

/*
   Каждая основная секция получает одинаковое
   пространство сверху и снизу.
*/
main > section,
section.section,
.about,
.principles,
.training-system,
.system,
.directions,
.education,
.team,
.opportunities {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
}

/* Убираем накопившиеся старые огромные отступы */
main > section + section,
.section + .section {
  margin-top: 0 !important;
}

/* единое расстояние после шапки секции */
.section-heading {
  margin-top: 0 !important;
  margin-bottom: var(--section-heading-gap) !important;
}

/*
   Заголовок + карточки / контент:
   одинаковая логика во всех разделах
*/
.principles h2,
.training-system h2,
.system h2,
.directions h2,
.education h2,
.team h2,
.opportunities h2 {
  margin-top: 0 !important;
}

/* =========================================================
   2. КАРТОЧКА ОСНОВАТЕЛЯ — КОРОЧЕ ПО ВЫСОТЕ
========================================================= */

.team-card--founder {
  min-height: 0 !important;

  height: 440px !important;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr) !important;
}

/* фото больше не растягивает карточку */
.team-card--founder .team-card__image {
  height: 440px !important;
  min-height: 0 !important;
}

.team-card--founder .team-card__image img {
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;

  /*
       чуть выше центрируем лицо,
       чтобы кадр выглядел аккуратнее
    */
  object-position: center 38% !important;
}

/* Правая часть компактнее */
.team-card--founder .team-card__content {
  height: 100% !important;

  padding: 44px 52px !important;

  justify-content: center !important;
}

.team-card--founder h3 {
  margin-bottom: 22px !important;
}

.team-card--founder p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* =========================================================
   3. REVEAL — БОЛЕЕ АККУРАТНАЯ АНИМАЦИЯ
========================================================= */

.reveal {
  opacity: 0;

  transition:
    opacity 0.72s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 0.61, 0.36, 1);

  will-change: opacity, transform;
}

/* появление снизу */
.reveal--up {
  transform: translate3d(0, 42px, 0);
}

/* слева */
.reveal--left {
  transform: translate3d(-48px, 0, 0);
}

/* справа */
.reveal--right {
  transform: translate3d(48px, 0, 0);
}

/* чуть более лёгкое появление */
.reveal--soft {
  transform: translate3d(0, 26px, 0) scale(0.985);
}

.reveal.is-visible {
  opacity: 1 !important;

  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* =========================================================
   4. ПРИНЦИПЫ — ПОЯВЛЕНИЕ КАРТОЧЕК ПО ОЧЕРЕДИ
========================================================= */

.principles .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.principles .reveal:nth-child(2) {
  transition-delay: 55ms;
}

.principles .reveal:nth-child(3) {
  transition-delay: 110ms;
}

.principles .reveal:nth-child(4) {
  transition-delay: 165ms;
}

.principles .reveal:nth-child(5) {
  transition-delay: 220ms;
}

.principles .reveal:nth-child(6) {
  transition-delay: 275ms;
}

/* =========================================================
   5. ЧТО ВХОДИТ В СИСТЕМУ
========================================================= */

/*
   Карточки появляются снизу,
   но НИКАКОЙ hover-анимации.
*/
.training-system .reveal,
.system .reveal {
  transform: translate3d(0, 34px, 0);
}

.training-system .reveal.is-visible,
.system .reveal.is-visible {
  transform: translate3d(0, 0, 0) !important;
}

/* =========================================================
   6. НАПРАВЛЕНИЯ ПОДГОТОВКИ
========================================================= */

.directions .direction-card.reveal,
.directions .training-card.reveal {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

.directions .direction-card.reveal.is-visible,
.directions .training-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* =========================================================
   7. КАК ПРОХОДИТ ОБУЧЕНИЕ
========================================================= */

/* текст слева появляется слева */
.education__step.reveal {
  transform: translate3d(-34px, 0, 0);
}

/* фотографии справа — справа */
.education__photo.reveal {
  transform: translate3d(38px, 0, 0) scale(0.985);
}

.education__step.reveal.is-visible,
.education__photo.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* =========================================================
   8. TACTICAL RIDE / АВТОРСКАЯ СИСТЕМА
========================================================= */

.training-system__content.reveal,
.system__content.reveal,
.tactical-content.reveal {
  transform: translate3d(-40px, 0, 0);
}

.training-system__image.reveal,
.system__image.reveal,
.tactical-image.reveal {
  transform: translate3d(40px, 0, 0) scale(0.985);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  :root {
    --section-space: 78px;
    --section-heading-gap: 40px;
  }

  .team-card--founder {
    height: auto !important;

    grid-template-columns: 1fr !important;
  }

  .team-card--founder .team-card__image {
    height: 430px !important;
  }

  .team-card--founder .team-card__content {
    height: auto !important;

    padding: 38px 38px 42px !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  :root {
    --section-space: 58px;
    --section-heading-gap: 30px;
  }

  .team-card--founder .team-card__image {
    height: 360px !important;
  }

  .team-card--founder .team-card__content {
    padding: 30px 24px 34px !important;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;

    transform: none !important;

    transition: none !important;
  }
}

/* === ABOUT GEOMETRY FIX V4 === */

/* =========================================================
   ABOUT — ТОЧНАЯ ГЕОМЕТРИЯ ЛИНИЙ И КРУГА
========================================================= */

.about__layout {
  position: relative !important;
  align-items: start !important;
}

/* ---------------------------------------------------------
   ФОТО
--------------------------------------------------------- */

.about__media {
  position: relative !important;
  overflow: visible !important;
}

/*
   Вертикальная линия по правой границе фото.
   ВАЖНО:
   - строго по краю фото
   - не выходит ниже фото
   - мягко исчезает сверху и снизу
*/
.about__media::after {
  content: "" !important;

  position: absolute !important;

  top: 0 !important;
  bottom: 0 !important;

  right: 0 !important;

  width: 2px !important;

  background: linear-gradient(
    to bottom,
    rgba(242, 241, 235, 0) 0%,
    rgba(242, 241, 235, 0.92) 8%,
    rgba(242, 241, 235, 0.92) 92%,
    rgba(242, 241, 235, 0) 100%
  ) !important;

  z-index: 5 !important;
}

/* ---------------------------------------------------------
   КОНТЕНТ
--------------------------------------------------------- */

.about__content {
  position: relative !important;
}

/*
   Блок линии под заголовком.
   Ставим его вплотную к нижней части заголовка.
*/
.about__rule {
  position: relative !important;

  height: 96px !important;

  margin: 12px 0 26px !important;

  overflow: visible !important;
}

/* ---------------------------------------------------------
   КРУГЛЯШОК
--------------------------------------------------------- */

.about__target {
  position: absolute !important;

  /*
       Центр кругляшка должен совпасть
       со стыком фото и контента.
    */
  left: -112px !important;

  /*
       Чуть опускаем,
       чтобы горизонтальная линия шла через центр.
    */
  top: 50% !important;

  width: 108px !important;
  height: 108px !important;

  transform: translateY(-50%) !important;

  z-index: 10 !important;
}

/* внешнее кольцо */
.about__target-ring--outer {
  position: absolute !important;

  inset: 0 !important;

  border: 4px solid #f2f1eb !important;

  border-radius: 50% !important;
}

/* внутреннее кольцо */
.about__target-ring--inner {
  position: absolute !important;

  inset: 25px !important;

  border: 4px solid #f2f1eb !important;

  border-radius: 50% !important;
}

/* центр */
.about__target-center {
  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 18px !important;
  height: 18px !important;

  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  background: #f2f1eb !important;

  z-index: 4 !important;
}

/* ---------------------------------------------------------
   ВЕРТИКАЛЬНАЯ ЛИНИЯ ЧЕРЕЗ КРУГ
--------------------------------------------------------- */

.about__target::before {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: -62px !important;
  bottom: -62px !important;

  width: 2px !important;

  transform: translateX(-50%) !important;

  background: linear-gradient(
    to bottom,
    rgba(242, 241, 235, 0) 0%,
    rgba(242, 241, 235, 0.95) 14%,
    rgba(242, 241, 235, 0.95) 86%,
    rgba(242, 241, 235, 0) 100%
  ) !important;

  z-index: 1 !important;
}

/* ---------------------------------------------------------
   ГОРИЗОНТАЛЬНАЯ ЛИНИЯ ПОД ЗАГОЛОВКОМ
--------------------------------------------------------- */

.about__rule-line {
  position: absolute !important;

  /*
       Старт линии = центр круга.
       Круг шириной 108px,
       target left -112px,
       значит его центр = -58px.
    */
  left: -58px !important;

  right: 0 !important;

  top: 50% !important;

  height: 2px !important;

  transform: translateY(-50%) !important;

  background: #f2f1eb !important;

  opacity: 0.95 !important;

  z-index: 3 !important;
}

/* ---------------------------------------------------------
   ЧТОБЫ ЛИНИЯ НЕ ПРОХОДИЛА СКВОЗЬ КРУГ НЕАККУРАТНО
--------------------------------------------------------- */

.about__target::after {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 58px !important;
  height: 8px !important;

  transform: translate(-50%, -50%) !important;

  background: #272824 !important;

  z-index: 2 !important;
}

/*
   Потом сам центр круга снова выше маски.
*/
.about__target-center {
  z-index: 5 !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1400px) {
  .about__target {
    left: -56px !important;
  }

  .about__rule-line {
    left: -2px !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .about__rule {
    height: 72px !important;
  }

  .about__target {
    width: 78px !important;
    height: 78px !important;

    left: -34px !important;
  }

  .about__target-ring--inner {
    inset: 18px !important;
  }

  .about__target-center {
    width: 14px !important;
    height: 14px !important;
  }

  .about__rule-line {
    left: 5px !important;
  }

  .about__target::before {
    top: -42px !important;
    bottom: -42px !important;
  }
}

/* === PRINCIPLES CARDS REVEAL ONLY V4 === */

/* =========================================================
   ЗАГОЛОВКИ — БЕЗ АНИМАЦИИ
========================================================= */

.principles .section-label,
.principles h2,
.principles .section-heading {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =========================================================
   АНИМАЦИЯ ТОЛЬКО КАРТОЧЕК
========================================================= */

.principles .principle-card,
.principles .principles__card,
.principles .card {
  opacity: 0;

  transform: translate3d(0, 34px, 0) scale(0.985);

  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);

  will-change: opacity, transform;
}

/* когда попали в viewport */

.principles .principle-card.is-visible,
.principles .principles__card.is-visible,
.principles .card.is-visible {
  opacity: 1;

  transform: translate3d(0, 0, 0) scale(1);
}

/* =========================================================
   ПОЯВЛЕНИЕ ПО ОЧЕРЕДИ
========================================================= */

.principles .principle-card:nth-child(1),
.principles .principles__card:nth-child(1),
.principles .card:nth-child(1) {
  transition-delay: 0ms;
}

.principles .principle-card:nth-child(2),
.principles .principles__card:nth-child(2),
.principles .card:nth-child(2) {
  transition-delay: 55ms;
}

.principles .principle-card:nth-child(3),
.principles .principles__card:nth-child(3),
.principles .card:nth-child(3) {
  transition-delay: 110ms;
}

.principles .principle-card:nth-child(4),
.principles .principles__card:nth-child(4),
.principles .card:nth-child(4) {
  transition-delay: 165ms;
}

.principles .principle-card:nth-child(5),
.principles .principles__card:nth-child(5),
.principles .card:nth-child(5) {
  transition-delay: 220ms;
}

.principles .principle-card:nth-child(6),
.principles .principles__card:nth-child(6),
.principles .card:nth-child(6) {
  transition-delay: 275ms;
}

/* =========================================================
   HOVER — НИЧЕГО НЕ ДВИГАЕТСЯ
========================================================= */

.principles .principle-card:hover,
.principles .principles__card:hover,
.principles .card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .principles .principle-card,
  .principles .principles__card,
  .principles .card {
    transform: translate3d(0, 24px, 0) scale(0.99);
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .principles .principle-card,
  .principles .principles__card,
  .principles .card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* === ABOUT CENTER FINAL V10 === */

/* =========================================================
   ABOUT CENTER
========================================================= */

.about-center {
  position: relative;
  padding: 112px 0 118px;
}

.about-center .container {
  width: min(100% - 96px, 1700px);
  max-width: 1700px;
  margin-inline: auto;
}

/* =========================================================
   GRID
========================================================= */

.about-center__layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.98fr)
    minmax(0, 1fr);

  gap: 118px;

  align-items: start;
}

/* =========================================================
   PHOTO
========================================================= */

.about-center__media {
  position: relative;
}

.about-center__photo {
  position: relative;

  width: 100%;
  height: 620px;

  overflow: hidden;

  border-radius: 24px;

  background: #1c1d1a;
}

.about-center__photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center 52%;
}

/*
   ЛИНИЯ ПО ПРАВОЙ ГРАНИ ФОТО
*/

.about-center__media::after {
  content: "";

  position: absolute;

  top: 0;
  right: -59px;
  bottom: 0;

  width: 2px;

  background: linear-gradient(
    to bottom,
    rgba(242, 241, 235, 0) 0%,
    rgba(242, 241, 235, 0.92) 5%,
    rgba(242, 241, 235, 0.92) 95%,
    rgba(242, 241, 235, 0) 100%
  );
}

/* =========================================================
   RIGHT CONTENT
========================================================= */

.about-center__content {
  position: relative;

  min-width: 0;
  min-height: 620px;

  padding-top: 4px;
}

/* =========================================================
   MINI LABEL
========================================================= */

.about-center__label {
  margin: 0 0 22px;

  font-size: 18px;
  line-height: 1;

  letter-spacing: 0.32em;

  text-transform: uppercase;

  color: #97a056;

  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* =========================================================
   TITLE
========================================================= */

.about-center__title {
  margin: 0;

  max-width: 790px;

  font-size: clamp(50px, 3.55vw, 68px);

  line-height: 0.96;

  letter-spacing: 0.025em;

  font-weight: 400;

  text-transform: uppercase;

  color: #f2f1eb;

  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* =========================================================
   CROSSHAIR
========================================================= */

.about-center__crosshair {
  position: absolute;

  /*
       Центр круга совпадает со стыком колонок
    */
  left: -59px;

  /*
       Центр находится на линии под заголовком
    */
  top: 320px;

  width: 132px;
  height: 132px;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 10;
}

/* outer ring */

.about-center__crosshair::before {
  content: "";

  position: absolute;

  inset: 0;

  border: 5px solid #f2f1eb;
  border-radius: 50%;
}

/* inner ring */

.about-center__crosshair::after {
  content: "";

  position: absolute;

  inset: 28px;

  border: 4px solid #f2f1eb;
  border-radius: 50%;
}

/* lines */

.about-center__crosshair span {
  position: absolute;

  display: block;

  background: #f2f1eb;
}

/* vertical top */

.about-center__crosshair span:nth-child(1) {
  left: 50%;
  top: -54px;

  width: 2px;
  height: 85px;

  transform: translateX(-50%);
}

/* vertical bottom */

.about-center__crosshair span:nth-child(2) {
  left: 50%;
  bottom: -54px;

  width: 2px;
  height: 85px;

  transform: translateX(-50%);
}

/* center dot */

.about-center__crosshair span:nth-child(3) {
  left: 50%;
  top: 50%;

  width: 22px;
  height: 22px;

  border-radius: 50%;

  transform: translate(-50%, -50%);
}

/* small horizontal connection */

.about-center__crosshair span:nth-child(4) {
  left: 50%;
  top: 50%;

  width: 76px;
  height: 2px;

  transform: translateY(-50%);
}

/* =========================================================
   DIVIDER
   ИДЁТ ИЗ ЦЕНТРА КРУГА
========================================================= */

.about-center__divider {
  position: absolute;

  left: -59px;
  right: 0;

  top: 320px;

  height: 2px;

  transform: translateY(-50%);

  background: linear-gradient(
    to right,
    #f2f1eb 0%,
    rgba(242, 241, 235, 0.95) 84%,
    rgba(242, 241, 235, 0.72) 100%
  );

  z-index: 2;
}

/* =========================================================
   BODY TEXT
========================================================= */

.about-center__text {
  margin-top: 96px;

  max-width: 760px;
}

.about-center__text p {
  margin: 0 0 28px;

  font-size: 21px;
  line-height: 1.58;

  color: rgba(242, 241, 235, 0.92);

  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.about-center__text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   ГАРАНТИРОВАННО НЕТ АНИМАЦИИ НА ТЕКСТАХ
========================================================= */

.about-center__label,
.about-center__title,
.about-center__text,
.about-center__text p {
  opacity: 1 !important;

  translate: none !important;
  transform: none !important;
  scale: 1 !important;

  filter: none !important;

  animation: none !important;

  transition-property: none !important;
}

/* =========================================================
   1440
========================================================= */

@media (max-width: 1500px) {
  .about-center .container {
    width: min(100% - 72px, 1500px);
  }

  .about-center__layout {
    gap: 96px;
  }

  .about-center__photo {
    height: 570px;
  }

  .about-center__content {
    min-height: 570px;
  }

  .about-center__title {
    font-size: clamp(46px, 3.7vw, 60px);
  }

  .about-center__media::after {
    right: -48px;
  }

  .about-center__crosshair {
    left: -48px;
    top: 290px;

    width: 116px;
    height: 116px;
  }

  .about-center__crosshair::after {
    inset: 25px;
  }

  .about-center__divider {
    left: -48px;
    top: 290px;
  }

  .about-center__text {
    margin-top: 82px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .about-center {
    padding: 92px 0;
  }

  .about-center .container {
    width: min(100% - 48px, 900px);
  }

  .about-center__layout {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .about-center__photo {
    height: auto;

    aspect-ratio: 4 / 3;
  }

  .about-center__media::after,
  .about-center__crosshair,
  .about-center__divider {
    display: none;
  }

  .about-center__content {
    min-height: 0;
  }

  .about-center__title {
    max-width: 820px;
  }

  .about-center__text {
    margin-top: 36px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .about-center {
    padding: 76px 0 82px;
  }

  .about-center .container {
    width: min(100% - 32px, 620px);
  }

  .about-center__layout {
    gap: 34px;
  }

  .about-center__photo {
    border-radius: 18px;
  }

  .about-center__label {
    margin-bottom: 16px;

    font-size: 13px;

    letter-spacing: 0.25em;
  }

  .about-center__title {
    font-size: clamp(36px, 11vw, 48px);

    line-height: 0.98;
  }

  .about-center__text {
    margin-top: 26px;
  }

  .about-center__text p {
    margin-bottom: 22px;

    font-size: 17px;

    line-height: 1.55;
  }
}

/* === END ABOUT CENTER FINAL V10 === */

/* =========================================================
   FIX: HEADER + HERO — УБИРАЕМ ПУСТОТУ
========================================================= */

header,
.header,
.site-header {
  margin-bottom: 0 !important;
}

.hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header + .hero,
.header + .hero,
.site-header + .hero {
  margin-top: 0 !important;
}

.hero__media,
.hero__video-wrap,
.hero__video {
  margin-top: 0 !important;
}

/* если пустота создавалась min-height шапки */
.header,
.site-header {
  min-height: 0 !important;
}

/* сама шапка — только её фактическая высота */
.header__inner,
.site-header__inner {
  min-height: 118px !important;
  height: 118px !important;
}

/* убираем возможную пустую секцию/отступ перед hero */
main {
  padding-top: 0 !important;
}

body {
  padding-top: 0 !important;
}

/* desktop */
@media (min-width: 769px) {
  .hero {
    margin-top: 0 !important;
  }
}

/* mobile */
@media (max-width: 768px) {
  .header__inner,
  .site-header__inner {
    min-height: 82px !important;
    height: 82px !important;
  }
}

/* =========================================================
   FINAL RHYTHM FIX
   одинаковые отступы + НИКАКОЙ анимации заголовков
========================================================= */

:root {
  --section-space: 120px;
}

/* ---------------------------------------------------------
   ОДИНАКОВЫЕ ОТСТУПЫ МЕЖДУ ОСНОВНЫМИ БЛОКАМИ
--------------------------------------------------------- */

main > section:not(.hero) {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* убираем старые индивидуальные отступы,
   которые накопились в прошлых патчах */

.about-center,
.about,
.principles,
.system,
.training,
.directions,
.education,
.team,
.opportunities,
.contacts,
.founder,
.team-section,
.opportunities-section {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   ЗАГОЛОВКИ — ПОЛНОСТЬЮ СТАТИЧНЫЕ
--------------------------------------------------------- */

/* зелёные мини-заголовки */
.section-label,
.about-center__label,
.eyebrow,
.kicker,
[class*="__label"] {
  opacity: 1 !important;
  visibility: visible !important;

  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  rotate: 0deg !important;

  animation: none !important;
  transition: none !important;
}

/* большие заголовки */
section h1,
section h2,
section > .container > h2,
.section h2,
.about-center__title,
.directions h2,
.education h2,
.principles h2,
.team h2,
.opportunities h2,
.system h2,
.training h2 {
  opacity: 1 !important;
  visibility: visible !important;

  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  rotate: 0deg !important;

  animation: none !important;
  transition: none !important;
}

/* если старый JS добавляет классы reveal */
h1.reveal,
h2.reveal,
h3.reveal-title,
.section-label.reveal,
.reveal-title,
.animate-title,
.scroll-title,
[data-reveal="title"],
[data-animate="title"] {
  opacity: 1 !important;
  visibility: visible !important;

  transform: none !important;
  translate: none !important;
  scale: 1 !important;

  animation: none !important;
  transition: none !important;
}

/* ---------------------------------------------------------
   НОРМАЛЬНЫЙ РИТМ ВНУТРИ КАЖДОЙ СЕКЦИИ
--------------------------------------------------------- */

/* мини-заголовок -> большой заголовок */
.section-label,
.about-center__label,
.eyebrow,
.kicker {
  margin-bottom: 22px !important;
}

/* большой заголовок -> контент */
section h2 {
  margin-top: 0 !important;
  margin-bottom: 56px !important;
}

/* специальный about-center уже имеет свою композицию */
.about-center__title {
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   АНИМИРУЕМ ТОЛЬКО КОНТЕНТНЫЕ БЛОКИ / КАРТОЧКИ
   заголовки сюда НЕ входят
--------------------------------------------------------- */

.principle-card,
.direction-card,
.system-card,
.education__step,
.education__photo,
.team-card,
.opportunity-card,
.founder-card,
.feature-card {
  will-change: transform, opacity;
}

/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --section-space: 96px;
  }

  section h2 {
    margin-bottom: 44px !important;
  }
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {
  :root {
    --section-space: 72px;
  }

  .section-label,
  .about-center__label,
  .eyebrow,
  .kicker {
    margin-bottom: 16px !important;
  }

  section h2 {
    margin-bottom: 36px !important;
  }
}

/* =========================================================
   FINAL SECTION SPACING v2
   Нормальные одинаковые расстояния между смысловыми блоками
========================================================= */

:root {
  --major-section-gap: 150px;
  --inner-block-gap: 120px;
}

/* ---------------------------------------------------------
   УБИРАЕМ СТАРЫЙ ПАТЧ С ДВОЙНЫМИ PADDING
--------------------------------------------------------- */

main > section:not(.hero) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Каждая следующая крупная секция получает ОДИН отступ,
   а не padding снизу + padding сверху одновременно */

main > section:not(.hero) + section {
  margin-top: var(--major-section-gap) !important;
}

/* ---------------------------------------------------------
   ЕСЛИ ВНУТРИ ОДНОЙ СЕКЦИИ НЕСКОЛЬКО БОЛЬШИХ БЛОКОВ
--------------------------------------------------------- */

.system__intro + .system__grid,
.system__content + .system__grid,
.system-intro + .system-grid,
.training__intro + .training__grid,
.training__content + .training__grid,
.about__intro + .about__content,
.directions + .education,
.directions__grid + .education,
.principles__grid + .system,
.principles-grid + .system,
.system__grid + .training,
.system-grid + .training,
.team__intro + .team__content,
.team-intro + .team-content,
.team__content + .opportunities,
.team-content + .opportunities {
  margin-top: var(--inner-block-gap) !important;
}

/* ---------------------------------------------------------
   КОНКРЕТНО:
   "ЧТО ВХОДИТ В СИСТЕМУ" -> "НАПРАВЛЕНИЯ ПОДГОТОВКИ"
   -> "КАК ПРОХОДИТ ОБУЧЕНИЕ"
--------------------------------------------------------- */

.system-grid,
.system__grid {
  margin-bottom: 145px !important;
}

.directions,
.directions-section {
  margin-top: 0 !important;
  margin-bottom: 145px !important;
}

.education {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   TACTICAL RIDE / АВТОРСКАЯ СИСТЕМА
   Не прижимать к предыдущему блоку
--------------------------------------------------------- */

.training,
.tactical-ride,
.tactical,
.training-system {
  margin-top: 145px !important;
}

/* ---------------------------------------------------------
   ОСНОВАТЕЛЬ / КОМАНДА / ВОЗМОЖНОСТИ
--------------------------------------------------------- */

.team,
.team-section,
.founder-section {
  margin-top: 145px !important;
}

.opportunities,
.opportunities-section {
  margin-top: 145px !important;
}

/* ---------------------------------------------------------
   БЛОК С БОЛЬШИМ ЛОГО И ТЕКСТОМ ПЕРЕД КОНТАКТАМИ
--------------------------------------------------------- */

.legion-manifesto,
.community-manifesto,
.join-intro,
.pre-contact-manifesto {
  margin-top: 145px !important;
  margin-bottom: 145px !important;
}

/* ---------------------------------------------------------
   ЗАГОЛОВКИ НЕ АНИМИРУЮТСЯ
--------------------------------------------------------- */

section h1,
section h2,
section h3.section-title,
.section-title,
.section-label,
.about-center__label,
.eyebrow,
.kicker {
  opacity: 1 !important;
  visibility: visible !important;

  transform: none !important;
  translate: none !important;
  scale: 1 !important;

  animation: none !important;
  transition: none !important;
}

/* зелёные мини-заголовки везде одинаковые */

.section-label,
.about-center__label,
.eyebrow,
.kicker {
  font-size: 16px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: #97a056 !important;

  margin: 0 0 22px !important;
}

/* ---------------------------------------------------------
   БОЛЬШОЙ БЛОК С ЛОГО + ТЕКСТОМ
--------------------------------------------------------- */

.legion-manifesto,
.community-manifesto,
.join-intro,
.pre-contact-manifesto {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 80px 24px !important;
}

.legion-manifesto img,
.community-manifesto img,
.join-intro img,
.pre-contact-manifesto img {
  display: block;
  width: 260px;
  max-width: 34vw;
  height: auto;

  margin: 0 auto 58px;
}

.legion-manifesto p,
.community-manifesto p,
.join-intro p,
.pre-contact-manifesto p {
  max-width: 1050px;
  margin: 0 auto;

  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.5;
  text-align: center;
}

/* ---------------------------------------------------------
   CONTACTS
--------------------------------------------------------- */

#contacts,
.contacts,
.contact-section {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --major-section-gap: 120px;
    --inner-block-gap: 100px;
  }

  .system-grid,
  .system__grid,
  .directions,
  .directions-section,
  .training,
  .tactical-ride,
  .tactical,
  .training-system,
  .team,
  .team-section,
  .founder-section,
  .opportunities,
  .opportunities-section {
    margin-top: 120px !important;
    margin-bottom: 120px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --major-section-gap: 88px;
    --inner-block-gap: 76px;
  }

  .system-grid,
  .system__grid,
  .directions,
  .directions-section,
  .training,
  .tactical-ride,
  .tactical,
  .training-system,
  .team,
  .team-section,
  .founder-section,
  .opportunities,
  .opportunities-section {
    margin-top: 88px !important;
    margin-bottom: 88px !important;
  }

  .legion-manifesto,
  .community-manifesto,
  .join-intro,
  .pre-contact-manifesto {
    min-height: 620px;
    padding: 70px 22px !important;
  }

  .legion-manifesto img,
  .community-manifesto img,
  .join-intro img,
  .pre-contact-manifesto img {
    width: 190px;
    margin-bottom: 42px;
  }

  .legion-manifesto p,
  .community-manifesto p,
  .join-intro p,
  .pre-contact-manifesto p {
    font-size: 25px;
  }
}

/* =========================================================
   ABOUT CENTER — FINAL GEOMETRY FIX
   вертикаль = строго по краю фото
   круг = центром на краю фото
   горизонталь = строго из центра круга
========================================================= */

@media (min-width: 1401px) {
  .about-center {
    padding: 110px 0 120px !important;
    overflow: hidden;
  }

  .about-center .container {
    max-width: 1720px !important;
    margin: 0 auto;
  }

  .about-center__layout {
    --about-gap: 120px;
    --axis-y: 355px;

    display: grid !important;
    grid-template-columns:
      minmax(540px, 820px)
      minmax(540px, 760px) !important;

    gap: var(--about-gap) !important;
    align-items: start !important;
  }

  /* =========================
       ФОТО
    ========================= */

  .about-center__media {
    position: relative !important;
    width: 100%;
  }

  .about-center__photo {
    width: 100% !important;
    height: 620px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    position: relative !important;
  }

  .about-center__photo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* =========================
       ВЕРТИКАЛЬНАЯ ЛИНИЯ
       ПРЯМО ПО ГРАНИ ФОТО
    ========================= */

  .about-center__media::after {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 2px !important;

    background: linear-gradient(
      to bottom,
      rgba(242, 241, 235, 0),
      rgba(242, 241, 235, 0.95) 5%,
      rgba(242, 241, 235, 0.95) 95%,
      rgba(242, 241, 235, 0)
    ) !important;

    z-index: 5 !important;
    pointer-events: none !important;
  }

  /* =========================
       ТЕКСТОВАЯ ЧАСТЬ
    ========================= */

  .about-center__content {
    position: relative !important;
    min-height: 620px !important;
    padding-top: 6px !important;
  }

  .about-center__label {
    margin: 0 0 22px !important;
  }

  .about-center__title {
    margin: 0 !important;

    max-width: 760px !important;

    font-size: clamp(48px, 3.8vw, 68px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.02em !important;
  }

  /* =========================
       ПРИЦЕЛ

       content начинается ПОСЛЕ gap 120px.
       Поэтому left:-120px = ровно правая грань фото.
    ========================= */

  .about-center__crosshair {
    position: absolute !important;

    left: calc(-1 * var(--about-gap)) !important;
    top: var(--axis-y) !important;

    width: 132px !important;
    height: 132px !important;

    transform: translate(-50%, -50%) !important;

    z-index: 20 !important;

    pointer-events: none !important;
  }

  .about-center__crosshair::before,
  .about-center__crosshair::after {
    content: "" !important;
    position: absolute !important;
    border-radius: 50% !important;
    border-color: #f2f1eb !important;
    border-style: solid !important;
  }

  .about-center__crosshair::before {
    inset: 0 !important;
    border-width: 5px !important;
  }

  .about-center__crosshair::after {
    inset: 28px !important;
    border-width: 3px !important;
  }

  .about-center__crosshair span {
    position: absolute !important;
    display: block !important;
    background: #f2f1eb !important;
  }

  /* верхняя часть вертикали прицела */

  .about-center__crosshair span:nth-child(1) {
    width: 2px !important;
    height: 72px !important;

    left: 50% !important;
    top: -54px !important;

    transform: translateX(-50%) !important;
  }

  /* нижняя часть вертикали прицела */

  .about-center__crosshair span:nth-child(2) {
    width: 2px !important;
    height: 72px !important;

    left: 50% !important;
    bottom: -54px !important;

    transform: translateX(-50%) !important;
  }

  /* маленькая горизонталь внутри прицела */

  .about-center__crosshair span:nth-child(3) {
    width: 66px !important;
    height: 2px !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;
  }

  /* центральная точка */

  .about-center__crosshair span:nth-child(4) {
    width: 20px !important;
    height: 20px !important;

    left: 50% !important;
    top: 50% !important;

    border-radius: 50% !important;

    transform: translate(-50%, -50%) !important;

    background: #f2f1eb !important;
  }

  /* =========================
       ГОРИЗОНТАЛЬНАЯ ЛИНИЯ

       Начинается РОВНО в центре круга,
       а не левее/правее него.
    ========================= */

  .about-center__divider {
    position: absolute !important;

    left: calc(-1 * var(--about-gap)) !important;
    right: 0 !important;

    top: var(--axis-y) !important;

    height: 2px !important;

    transform: translateY(-50%) !important;

    background: linear-gradient(
      to right,
      #f2f1eb 0%,
      #f2f1eb 94%,
      rgba(242, 241, 235, 0) 100%
    ) !important;

    z-index: 8 !important;

    pointer-events: none !important;
  }

  /* текст должен начинаться НИЖЕ линии */

  .about-center__text {
    margin-top: 108px !important;
    max-width: 760px !important;
  }

  .about-center__text p {
    margin: 0 0 30px !important;
    font-size: 21px !important;
    line-height: 1.58 !important;
  }

  .about-center__text p:last-child {
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   FINAL SPACING + STATIC HEADINGS + SCROLL REVEALS
========================================================= */

:root {
  --section-space: 150px;
  --section-space-mobile: 92px;
}

/* ---------------------------------------------------------
   1. ВОЗДУХ МЕЖДУ СМЫСЛОВЫМИ БЛОКАМИ
--------------------------------------------------------- */

/*
Не ставим огромный margin между каждым элементом.
Каждая крупная смысловая секция получает одинаковое
вертикальное пространство.
*/

main > section,
.section {
  position: relative;
}

/* Крупные смысловые блоки */
#about,
#about-center,
#for-whom,
#audience,
#principles,
#system,
#preparation,
#training,
#education,
#team,
#opportunities,
#contacts,
.about-center,
.audience,
.principles,
.system,
.preparation,
.education,
.team,
.opportunities {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
}

/* Если две секции идут подряд —
не складываем 150 + 150 в огромную пропасть */

main > section + section {
  margin-top: 0 !important;
}

/* Первый контент после hero */
.hero + section {
  padding-top: 150px !important;
}

/* ---------------------------------------------------------
   2. ЗАГОЛОВКИ НИКОГДА НЕ АНИМИРУЮТСЯ
--------------------------------------------------------- */

section h1,
section h2,
section h3,
.section-label,
.about-center__label {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  animation: none !important;
}

/* Цветные маленькие надзаголовки одинаковые */

.section-label,
.about-center__label,
[class*="section-label"] {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: #97a056 !important;
  margin-bottom: 24px !important;
}

/* Основные заголовки одинакового масштаба */

section h2 {
  font-size: clamp(48px, 4vw, 68px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.025em !important;
}

/* ---------------------------------------------------------
   3. РАВНОМЕРНЫЕ ОТСТУПЫ ВНУТРИ СЕКЦИЙ
--------------------------------------------------------- */

.section-label + h2,
.about-center__label + .about-center__title {
  margin-top: 0 !important;
}

section h2 + .cards,
section h2 + [class*="grid"],
section h2 + [class*="cards"],
section h2 + [class*="layout"] {
  margin-top: 60px !important;
}

/* Наши принципы */
.principles [class*="grid"],
.principles__grid {
  margin-top: 64px !important;
}

/* Для кого легион */
.audience [class*="grid"],
.audience__grid,
.for-whom [class*="grid"] {
  margin-top: 64px !important;
}

/* Что входит в систему */
.system [class*="grid"],
.system__grid {
  margin-top: 64px !important;
}

/* Направления подготовки */
.preparation [class*="grid"],
.preparation__grid,
.directions__grid {
  margin-top: 64px !important;
}

/* Обучение */
.education__layout {
  margin-top: 58px !important;
}

/* Команда */
.team [class*="grid"],
.team__grid {
  margin-top: 62px !important;
}

/* Возможности */
.opportunities [class*="grid"],
.opportunities__grid {
  margin-top: 62px !important;
}

/* ---------------------------------------------------------
   4. КАРТОЧКИ — АНИМАЦИЯ ТОЛЬКО ПРИ СКРОЛЛЕ
   Заголовки секций не трогаем.
--------------------------------------------------------- */

.scroll-reveal-card {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

/* Никаких hover-прыжков */

.scroll-reveal-card:hover {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   5. БЛОК С ЛОГОТИПОМ И БОЛЬШИМ ТЕКСТОМ
--------------------------------------------------------- */

.scroll-manifesto {
  min-height: 92vh;
  padding: 120px 24px !important;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;
}

.scroll-manifesto__logo {
  display: block;
  width: clamp(180px, 16vw, 270px);
  height: auto;

  margin: 0 auto 58px;

  opacity: 1 !important;
  transform: none !important;
}

.scroll-manifesto__text {
  width: min(1080px, 88vw);
  margin: 0 auto;

  text-align: center;

  font-size: clamp(30px, 3.15vw, 52px);
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: -0.015em;

  color: transparent;
}

.scroll-manifesto__word {
  display: inline;
  color: rgba(242, 241, 235, 0.16);

  transition: color 0.08s linear;
}

.scroll-manifesto__word.is-lit {
  color: #f2f1eb;
}

/* ---------------------------------------------------------
   6. MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {
  #about,
  #about-center,
  #for-whom,
  #audience,
  #principles,
  #system,
  #preparation,
  #training,
  #education,
  #team,
  #opportunities,
  #contacts,
  .about-center,
  .audience,
  .principles,
  .system,
  .preparation,
  .education,
  .team,
  .opportunities {
    padding-top: var(--section-space-mobile) !important;
    padding-bottom: var(--section-space-mobile) !important;
  }

  section h2 {
    font-size: 42px !important;
  }

  .section-label,
  .about-center__label,
  [class*="section-label"] {
    font-size: 13px !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 17px !important;
  }

  .scroll-manifesto {
    min-height: 78vh;
    padding: 90px 20px !important;
  }

  .scroll-manifesto__logo {
    width: 160px;
    margin-bottom: 42px;
  }

  .scroll-manifesto__text {
    width: 100%;
    font-size: 27px;
    line-height: 1.43;
  }
}

/* reduced motion */

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-manifesto__word {
    transition: none;
  }
}

/* =========================================================
   MANIFESTO — centered + scroll text reveal
========================================================= */

#manifesto,
.manifesto,
.legion-manifesto,
.pre-contact-manifesto {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 120px 24px !important;
}

#manifesto .container,
.manifesto .container,
.legion-manifesto .container,
.pre-contact-manifesto .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#manifesto img,
.manifesto img,
.legion-manifesto img,
.pre-contact-manifesto img {
  display: block !important;
  width: 250px !important;
  max-width: 30vw !important;
  height: auto !important;
  margin: 0 auto 58px !important;
}

#manifesto p,
.manifesto p,
.legion-manifesto p,
.pre-contact-manifesto p {
  width: min(1080px, 90vw) !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: clamp(32px, 3.1vw, 54px) !important;
  line-height: 1.42 !important;
  letter-spacing: -0.01em !important;
  color: transparent !important;
}

.manifesto-word {
  display: inline !important;
  color: rgba(242, 241, 235, 0.18) !important;
  transition: color 0.08s linear !important;
}

.manifesto-word.is-lit {
  color: #f2f1eb !important;
}

@media (max-width: 768px) {
  #manifesto,
  .manifesto,
  .legion-manifesto,
  .pre-contact-manifesto {
    min-height: 80vh !important;
    padding: 90px 20px !important;
  }

  #manifesto img,
  .manifesto img,
  .legion-manifesto img,
  .pre-contact-manifesto img {
    width: 170px !important;
    margin-bottom: 40px !important;
  }

  #manifesto p,
  .manifesto p,
  .legion-manifesto p,
  .pre-contact-manifesto p {
    width: 100% !important;
    font-size: 26px !important;
    line-height: 1.45 !important;
  }
}

/* УМЕНЬШАЕМ РАССТОЯНИЕ МЕЖДУ СОСЕДНИМИ СМЫСЛОВЫМИ БЛОКАМИ */

.section,
.about-center,
.audience,
.principles,
.system,
.preparation,
.education,
.team,
.opportunities,
.contacts,
.manifesto {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

/* конкретно верх следующего блока */
.about-center {
  padding-top: 70px !important;
}

/* если предыдущий блок имеет большой низ */
.audience,
.principles,
.system,
.preparation,
.education,
.team,
.opportunities {
  padding-bottom: 70px !important;
}

@media (max-width: 768px) {
  .section,
  .about-center,
  .audience,
  .principles,
  .system,
  .preparation,
  .education,
  .team,
  .opportunities,
  .contacts,
  .manifesto {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
}

/* === FINAL SPACING OVERRIDE V3 START === */

/*
   ВАЖНО:
   вместо padding сверху + padding снизу у каждой секции
   используем один визуальный промежуток.
*/

main > section.section,
main > section.about-center,
main > section.training,
main > section.education,
main > section.team,
main > section.opportunities {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/*
   Между соседними смысловыми секциями:
   58 + 58 = 116px.
   Это примерно вдвое меньше нынешней огромной дыры.
*/

main > section.section + section.section,
main > section.section + section.about-center,
main > section.about-center + section.section,
main > section.training + section.section,
main > section.section + section.education,
main > section.education + section.team,
main > section.team + section.opportunities {
  margin-top: 0 !important;
}

/* первый блок после hero тоже компактнее */
.hero + .about-center {
  padding-top: 72px !important;
}

/* никаких дополнительных огромных отступов */
#audience,
#principles,
#training,
#education,
#team,
#opportunities,
.about-center {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* внутренний отступ от заголовка до контента */
.audience-grid,
.principles-grid,
.system-grid,
.directions-grid,
.education__layout,
.team__grid,
.opportunities__grid {
  margin-top: 52px !important;
}

/* заголовок "что входит в систему" */
.system-title {
  margin-top: 88px !important;
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   MANIFESTO FINAL
--------------------------------------------------------- */

.manifesto-final {
  min-height: 88vh !important;
  padding: 90px 24px !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  background: #282a27 !important;

  text-align: center !important;
  overflow: hidden !important;
}

.manifesto-final__inner {
  width: 100% !important;
  max-width: 1180px !important;

  margin: 0 auto !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.manifesto-final__logo {
  display: block !important;

  width: 250px !important;
  max-width: 28vw !important;
  height: auto !important;

  margin: 0 auto 56px !important;

  opacity: 1 !important;
  transform: none !important;
}

.manifesto-final__text {
  width: min(1080px, 90vw) !important;

  margin: 0 auto !important;

  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(32px, 3vw, 50px) !important;
  line-height: 1.42 !important;
  font-weight: 400 !important;

  text-align: center !important;

  color: transparent !important;
}

.manifesto-word {
  color: rgba(242, 241, 235, 0.15) !important;
  transition: color 0.06s linear !important;
}

.manifesto-word.is-lit {
  color: #f2f1eb !important;
}

/* manifesto стоит непосредственно перед контактами */
.manifesto-final + .contacts-final {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {
  main > section.section,
  main > section.about-center,
  main > section.training,
  main > section.education,
  main > section.team,
  main > section.opportunities {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .hero + .about-center {
    padding-top: 52px !important;
  }

  .manifesto-final {
    min-height: 75vh !important;
    padding: 70px 20px !important;
  }

  .manifesto-final__logo {
    width: 165px !important;
    margin-bottom: 38px !important;
  }

  .manifesto-final__text {
    width: 100% !important;
    font-size: 26px !important;
    line-height: 1.45 !important;
  }
}

/* === FINAL SPACING OVERRIDE V3 END === */

/* === MANIFESTO REVEAL FIX START === */

#opportunities {
  padding-bottom: 56px !important;
}

#manifesto.manifesto-final {
  min-height: 0 !important;
  padding: 56px 0 56px !important;
}

.manifesto-final .container {
  max-width: 1440px;
}

.manifesto-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.manifesto-final__logo {
  display: block;
  width: clamp(170px, 13vw, 250px);
  height: auto;
  margin: 0 auto 54px;
}

.manifesto-final__text {
  width: min(1280px, 92vw);
  margin: 0 auto;
  text-align: center;
  font-size: clamp(34px, 3vw, 60px);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.manifesto-final__line {
  display: block;
  white-space: nowrap;
}

.manifesto-final__char {
  display: inline-block;
  color: rgba(242, 241, 235, 0.22);
  transition: color 0.12s linear;
}

.manifesto-final__char.is-lit {
  color: #f2f1eb;
}

.manifesto-final__char.space {
  width: 0.34em;
}

#contacts.contacts-final {
  padding-top: 56px !important;
}

@media (max-width: 1024px) {
  #manifesto.manifesto-final {
    padding: 48px 0 48px !important;
  }

  .manifesto-final__text {
    width: min(94vw, 980px);
    font-size: clamp(28px, 4vw, 44px);
  }

  .manifesto-final__line {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  #opportunities {
    padding-bottom: 40px !important;
  }

  #manifesto.manifesto-final {
    padding: 40px 0 40px !important;
  }

  .manifesto-final__logo {
    width: 150px;
    margin-bottom: 34px;
  }

  .manifesto-final__text {
    width: 92vw;
    font-size: clamp(23px, 7vw, 34px);
    line-height: 1.36;
  }

  #contacts.contacts-final {
    padding-top: 40px !important;
  }
}

/* === MANIFESTO REVEAL FIX END === */

/* =========================================================
   FINAL UNIFORM SECTION SPACING
   Единый ритм всех смысловых блоков
========================================================= */

:root {
  --semantic-gap-half: 54px;
  --semantic-inner-gap: 112px;
}

/* ---------------------------------------------------------
   ВСЕ ОСНОВНЫЕ СМЫСЛОВЫЕ СЕКЦИИ
   54 снизу + 54 сверху = примерно 108px между блоками
--------------------------------------------------------- */

#about-center,
#audience,
#principles,
#training,
#education,
#team,
#opportunities,
#manifesto,
main > section.section {
  min-height: 0 !important;
  height: auto !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: var(--semantic-gap-half) !important;
  padding-bottom: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   УБИРАЕМ СТАРЫЕ ОГРОМНЫЕ РАЗРЫВЫ
--------------------------------------------------------- */

#about-center,
#audience,
#principles,
#training,
#education,
#team,
#opportunities,
#manifesto {
  scroll-margin-top: 100px;
}

#about-center > .container,
#audience > .container,
#principles > .container,
#training > .container,
#education > .container,
#team > .container,
#opportunities > .container,
#manifesto > .container {
  min-height: 0 !important;
  height: auto !important;
}

/* ---------------------------------------------------------
   ABOUT -> ДЛЯ КОГО
--------------------------------------------------------- */

#about-center {
  padding-bottom: var(--semantic-gap-half) !important;
}

#about-center + #audience {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   ДЛЯ КОГО -> ПРИНЦИПЫ
--------------------------------------------------------- */

#audience {
  padding-bottom: var(--semantic-gap-half) !important;
}

#audience + #principles {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   ПРИНЦИПЫ -> TACTICAL RIDE
--------------------------------------------------------- */

#principles {
  padding-bottom: var(--semantic-gap-half) !important;
}

#principles + #training {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   TACTICAL RIDE
   "Что входит в систему" — внутренний смысловой подблок.
   Оставляем примерно тот ритм, который у тебя
   на последнем скрине, но чуть больше.
--------------------------------------------------------- */

#training .system-title,
#training .system__title,
#training h2.system-title,
#training [class*="system-title"] {
  margin-top: var(--semantic-inner-gap) !important;
}

/* если заголовок лежит после intro/content */

#training .training__content + h2,
#training .training-content + h2,
#training .training__intro + h2 {
  margin-top: var(--semantic-inner-gap) !important;
}

/* grid после "Что входит в систему" */
#training .system-grid {
  margin-top: 48px !important;
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   TACTICAL RIDE -> НАПРАВЛЕНИЯ ПОДГОТОВКИ

   У тебя directions — section без id,
   поэтому ловим следующую .section после #training.
--------------------------------------------------------- */

#training + section.section {
  min-height: 0 !important;
  height: auto !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: var(--semantic-gap-half) !important;
  padding-bottom: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   НАПРАВЛЕНИЯ -> ОБУЧЕНИЕ
--------------------------------------------------------- */

#training + section.section + #education {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   ОБУЧЕНИЕ -> КОМАНДА
--------------------------------------------------------- */

#education {
  padding-bottom: var(--semantic-gap-half) !important;
}

#education + #team {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   КОМАНДА -> БОЛЬШЕ, ЧЕМ ОБУЧЕНИЕ
--------------------------------------------------------- */

#team {
  padding-bottom: var(--semantic-gap-half) !important;
}

#team + #opportunities {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   ВОЗМОЖНОСТИ -> MANIFESTO
--------------------------------------------------------- */

#opportunities {
  padding-bottom: var(--semantic-gap-half) !important;
}

#opportunities + #manifesto {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   MANIFESTO -> КОНТАКТЫ
--------------------------------------------------------- */

#manifesto {
  padding-bottom: var(--semantic-gap-half) !important;
}

#manifesto + #contacts {
  padding-top: var(--semantic-gap-half) !important;
}

/* ---------------------------------------------------------
   НЕ ДАЁМ КАРТОЧКАМ/GRID СОЗДАВАТЬ ДОПОЛНИТЕЛЬНЫЕ
   СОТНИ ПИКСЕЛЕЙ СНИЗУ
--------------------------------------------------------- */

.audience-grid,
.principles-grid,
.system-grid,
.directions-grid,
.education__layout,
.team__grid,
.opportunities__grid {
  margin-bottom: 0 !important;
}

/* расстояние от заголовка секции до её контента */
.audience-grid,
.principles-grid,
.directions-grid,
.education__layout,
.team__grid,
.opportunities__grid {
  margin-top: 48px !important;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {
  :root {
    --semantic-gap-half: 40px;
    --semantic-inner-gap: 82px;
  }

  #about-center,
  #audience,
  #principles,
  #training,
  #education,
  #team,
  #opportunities,
  #manifesto,
  main > section.section {
    padding-top: var(--semantic-gap-half) !important;
    padding-bottom: var(--semantic-gap-half) !important;
  }
}

/* =========================================================
   FINAL FIX — manifesto / opportunities / contacts
========================================================= */

/* ---------- 1. Центральный блок с логотипом и текстом ---------- */

#manifesto,
.manifesto {
  overflow: hidden;
}

#manifesto .manifesto__inner,
.manifesto .manifesto__inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

#manifesto .manifesto__logo,
.manifesto .manifesto__logo {
  margin: 0 auto 34px !important;
}

#manifesto .manifesto__text,
#manifesto .manifesto__quote,
#manifesto .manifesto__lead,
#manifesto .manifesto__description,
.manifesto .manifesto__text,
.manifesto .manifesto__quote,
.manifesto .manifesto__lead,
.manifesto .manifesto__description {
  max-width: 1420px !important;
  margin: 0 auto !important;
  text-align: center !important;

  /* было слишком крупно — уменьшаем немного */
  font-size: clamp(28px, 2.9vw, 52px) !important;
  line-height: 1.38 !important;
  letter-spacing: -0.01em !important;
  font-weight: 400 !important;

  /* бледный базовый цвет */
  color: rgba(242, 241, 235, 0.3) !important;

  /* диагональный reveal */
  --diag-soft-end: 0%;
  --diag-bright-start: 16%;
  background-image: linear-gradient(
    135deg,
    rgba(242, 241, 235, 0.3) 0%,
    rgba(242, 241, 235, 0.3) var(--diag-soft-end),
    #f2f1eb var(--diag-bright-start),
    #f2f1eb 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;

  will-change: background-image !important;
}

/* ---------- 2. У блока "Больше, чем обучение" убрать анимации карточек ---------- */

#opportunities .opportunities__card,
#opportunities .opportunity-card,
#opportunities .card,
#opportunities [class*="card"],
.opportunities .opportunities__card,
.opportunities .opportunity-card,
.opportunities .card,
.opportunities [class*="card"] {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

#opportunities [data-reveal],
#opportunities [data-animate],
#opportunities .reveal,
#opportunities .animate,
#opportunities .is-visible,
#opportunities .is-revealed,
.opportunities [data-reveal],
.opportunities [data-animate],
.opportunities .reveal,
.opportunities .animate,
.opportunities .is-visible,
.opportunities .is-revealed {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* ---------- 3. Контакты / зелёный блок — опустить чуть ниже ---------- */

#contacts,
.contacts {
  margin-top: 28px !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  #manifesto .manifesto__text,
  #manifesto .manifesto__quote,
  #manifesto .manifesto__lead,
  #manifesto .manifesto__description,
  .manifesto .manifesto__text,
  .manifesto .manifesto__quote,
  .manifesto .manifesto__lead,
  .manifesto .manifesto__description {
    font-size: clamp(22px, 5.8vw, 34px) !important;
    line-height: 1.42 !important;
    max-width: 92% !important;
  }

  #contacts,
  .contacts {
    margin-top: 20px !important;
  }
}

/* =========================================================
   ABOUT CENTER — FINAL POLISH
========================================================= */

/* 1. Чуть поднимаем весь блок выше */
#about-center,
.about-center {
  transform: translateY(-18px) !important;
}

/* 2. Вертикальная линия по краю фото
      заканчивается мягко и не торчит за радиус */
.about-center__media {
  position: relative !important;
  overflow: visible !important;
}

.about-center__photo {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 28px !important;
}

/* старая линия */
.about-center__media::after {
  content: "" !important;

  position: absolute !important;

  /* не до самого края */
  top: 22px !important;
  bottom: 22px !important;

  right: 0 !important;

  width: 2px !important;

  background: linear-gradient(
    to bottom,
    rgba(242, 241, 235, 0) 0%,
    rgba(242, 241, 235, 0.92) 12%,
    rgba(242, 241, 235, 0.92) 88%,
    rgba(242, 241, 235, 0) 100%
  ) !important;

  border-radius: 999px !important;

  z-index: 4 !important;
}

/* верхнее закругление линии */
.about-center__media::before {
  content: "" !important;

  position: absolute !important;

  right: 0 !important;
  top: 0 !important;

  width: 28px !important;
  height: 28px !important;

  border-top: 2px solid rgba(242, 241, 235, 0.9) !important;
  border-right: 2px solid rgba(242, 241, 235, 0.9) !important;

  border-top-right-radius: 28px !important;

  opacity: 0.9 !important;

  z-index: 4 !important;
}

/* нижнее скругление делаем через photo */
.about-center__photo::after {
  content: "" !important;

  position: absolute !important;

  right: 0 !important;
  bottom: 0 !important;

  width: 28px !important;
  height: 28px !important;

  border-right: 2px solid rgba(242, 241, 235, 0.9) !important;
  border-bottom: 2px solid rgba(242, 241, 235, 0.9) !important;

  border-bottom-right-radius: 28px !important;

  z-index: 5 !important;

  pointer-events: none !important;
}

/* мобильный — без сдвига */
@media (max-width: 768px) {
  #about-center,
  .about-center {
    transform: none !important;
  }
}

/* =====================================================
   MANIFESTO TEXT FINAL
===================================================== */

#manifesto .manifesto__text,
#manifesto .manifesto__quote,
#manifesto .manifesto__lead,
.manifesto .manifesto__text,
.manifesto .manifesto__quote,
.manifesto .manifesto__lead {
  font-size: clamp(24px, 2vw, 28px) !important;
  line-height: 1.45 !important;

  max-width: 1350px !important;

  text-align: center !important;

  color: transparent !important;

  background-image: linear-gradient(
    135deg,
    rgba(242, 241, 235, 0.25) 0%,
    rgba(242, 241, 235, 0.25) 35%,
    #f2f1eb 48%,
    #f2f1eb 55%,
    rgba(242, 241, 235, 0.25) 70%,
    rgba(242, 241, 235, 0.25) 100%
  ) !important;

  background-size: 250% 250% !important;
  background-position: 120% 120% !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;

  -webkit-text-fill-color: transparent !important;

  transition: background-position 0.15s linear !important;
}

/* =========================================
   ABOUT CENTER — FIX VERTICAL LINE
   убираем толстые торчащие куски и скругления
========================================= */

/* если где-то раньше дорисованы дополнительные белые куски —
   просто выключаем их */
.about-center__media::before,
.about-center__photo::before,
.about-center__photo::after {
  content: none !important;
  display: none !important;
}

/* оставляем только одну тонкую вертикальную линию */
.about-center__media::after {
  content: "";
  position: absolute;

  /* положение не ломаем */
  right: 0 !important;

  /* линия не доходит до самого верха/низа фото */
  top: 22px !important;
  bottom: 22px !important;

  width: 2px !important;

  /* плавное исчезание сверху и снизу */
  background: linear-gradient(
    to bottom,
    rgba(242, 241, 235, 0) 0%,
    rgba(242, 241, 235, 0.95) 18%,
    rgba(242, 241, 235, 0.95) 82%,
    rgba(242, 241, 235, 0) 100%
  ) !important;

  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 3 !important;
}

.manifesto-final__line {
  font-size: 28px !important;
  line-height: 1.45;
  font-weight: 300;

  color: rgba(255, 255, 255, 0.15);

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #ffffff 45%,
    rgba(255, 255, 255, 0.15) 60%
  );

  background-size: 250% 250%;
  background-position: 100% 100%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: background-position 0.15s linear;
}

.section-title {
  margin-bottom: 24px !important;
}

.section-description {
  margin-top: 0 !important;
}

/* =========================================================
   FINAL — HEADING TO INTRO SPACING
========================================================= */

/*
   Большой заголовок -> мелкий вводный текст.
   Делаем одинаково по всему сайту.
*/

.section-heading h2 {
  margin-bottom: 24px !important;
}

.section-heading .section-intro {
  margin-top: 0 !important;
}

/* Для старых блоков, где нет .section-heading */

.training-intro h2 + p,
.section-title + .lead,
.section-title + .section-intro,
.section-title + p {
  margin-top: 24px !important;
}

/* TEAM — точно как на твоём скрине */

#team .section-heading h2 {
  margin-bottom: 24px !important;
}

#team .section-intro {
  margin-top: 0 !important;
}

/* =========================================================
   PRINCIPLES — SCROLL REVEAL FROM SIDES
========================================================= */

#principles .principle {
  opacity: 0;
  transition:
    opacity 0.72s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) !important;

  will-change: transform, opacity;
}

/* 1, 3, 5 — слева */

#principles .principle:nth-child(odd) {
  transform: translateX(-52px);
}

/* 2, 4, 6 — справа */

#principles .principle:nth-child(even) {
  transform: translateX(52px);
}

/* когда карточка появляется */

#principles .principle.principle-visible {
  opacity: 1;
  transform: translateX(0);
}

/* небольшой каскад */

#principles .principle:nth-child(1) {
  transition-delay: 0ms !important;
}

#principles .principle:nth-child(2) {
  transition-delay: 70ms !important;
}

#principles .principle:nth-child(3) {
  transition-delay: 140ms !important;
}

#principles .principle:nth-child(4) {
  transition-delay: 210ms !important;
}

#principles .principle:nth-child(5) {
  transition-delay: 280ms !important;
}

#principles .principle:nth-child(6) {
  transition-delay: 350ms !important;
}

/*
   ВАЖНО:
   при hover карточки НЕ прыгают и НЕ двигаются.
*/

#principles .principle:hover {
  transform: translateX(0) !important;
}

/* заголовки Principles статичные */

#principles .eyebrow,
#principles .section-title {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  .section-heading h2 {
    margin-bottom: 18px !important;
  }

  .training-intro h2 + p,
  .section-title + .lead,
  .section-title + .section-intro,
  .section-title + p {
    margin-top: 18px !important;
  }

  #principles .principle:nth-child(odd) {
    transform: translateX(-30px);
  }

  #principles .principle:nth-child(even) {
    transform: translateX(30px);
  }

  #principles .principle.principle-visible {
    transform: translateX(0);
  }
}

/* ABOUT CENTER — немного ближе к кнопкам сверху */
#about-center,
.about-center {
  transform: translateY(-12px) !important;
}

/* =========================================================
   SAFE PRINCIPLES ANIMATION FIX
========================================================= */

/* По умолчанию карточки ВСЕГДА видны */
#principles .principle {
  opacity: 1 !important;
  transform: none !important;
}

/* Анимация включается только когда JS добавил этот класс */
#principles.principles-anim-ready .principle {
  opacity: 0 !important;

  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) !important;

  will-change: opacity, transform;
}

/* нечётные заходят слева */
#principles.principles-anim-ready .principle:nth-child(odd) {
  transform: translateX(-46px) !important;
}

/* чётные заходят справа */
#principles.principles-anim-ready .principle:nth-child(even) {
  transform: translateX(46px) !important;
}

/* видимое состояние */
#principles.principles-anim-ready .principle.is-principle-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* никаких движений при hover */
#principles .principle:hover {
  transform: none !important;
}

/* заголовки статичные */
#principles .eyebrow,
#principles .section-title {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* =========================================================
   ABOUT CENTER — ЧУТЬ ВЫШЕ
========================================================= */

#about-center {
  margin-top: -12px !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  #principles.principles-anim-ready .principle:nth-child(odd) {
    transform: translateX(-28px) !important;
  }

  #principles.principles-anim-ready .principle:nth-child(even) {
    transform: translateX(28px) !important;
  }

  #principles.principles-anim-ready .principle.is-principle-visible {
    transform: translateX(0) !important;
  }

  #about-center {
    margin-top: -8px !important;
  }
}

/* =========================================================
   PRINCIPLES — 3 LEFT / 3 RIGHT
========================================================= */

#principles .principle {
  opacity: 1 !important;
  transform: none !important;
}

/* включаем стартовые позиции только когда JS готов */
#principles.principles-motion-enabled .principle {
  opacity: 0 !important;

  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) !important;

  will-change: opacity, transform;
}

/* 1–3 едут слева */
#principles.principles-motion-enabled .principle:nth-child(-n + 3) {
  transform: translateX(-70px) !important;
}

/* 4–6 едут справа */
#principles.principles-motion-enabled .principle:nth-child(n + 4) {
  transform: translateX(70px) !important;
}

/* финальное состояние */
#principles.principles-motion-enabled .principle.principle-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* маленький каскад внутри групп */
#principles .principle:nth-child(1) {
  transition-delay: 0ms !important;
}
#principles .principle:nth-child(2) {
  transition-delay: 70ms !important;
}
#principles .principle:nth-child(3) {
  transition-delay: 140ms !important;
}

#principles .principle:nth-child(4) {
  transition-delay: 0ms !important;
}
#principles .principle:nth-child(5) {
  transition-delay: 70ms !important;
}
#principles .principle:nth-child(6) {
  transition-delay: 140ms !important;
}

/* hover не двигает карточки */
#principles .principle:hover {
  transform: none !important;
}

/* заголовки статичны */
#principles .eyebrow,
#principles .section-title {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* === PRINCIPLES GROUP MOTION START === */

/*
   Пока JS не готов — карточки обычные.
   Поэтому они никогда не исчезнут насовсем.
*/
#principles .principle {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/*
   JS запустился:
   первые три стоят слева,
   последние три справа.
*/
#principles.principles-group-ready .principle:nth-child(-n + 3) {
  opacity: 0 !important;
  transform: translateX(-110px) !important;
}

#principles.principles-group-ready .principle:nth-child(n + 4) {
  opacity: 0 !important;
  transform: translateX(110px) !important;
}

/*
   Все шесть двигаются ОДНОВРЕМЕННО.
   Никаких stagger/delay.
*/
#principles.principles-group-ready .principle {
  transition:
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.7s ease !important;

  transition-delay: 0s !important;
  will-change: transform, opacity;
}

/*
   Когда секция вошла в экран:
   обе тройки одновременно сходятся к центру.
*/
#principles.principles-group-ready.principles-group-in .principle {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* hover вообще ничего не двигает */
#principles .principle:hover {
  transform: translateX(0) !important;
}

/* заголовок остаётся полностью статичным */
#principles .eyebrow,
#principles .section-title {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  #principles.principles-group-ready .principle:nth-child(-n + 3) {
    transform: translateX(-55px) !important;
  }

  #principles.principles-group-ready .principle:nth-child(n + 4) {
    transform: translateX(55px) !important;
  }

  #principles.principles-group-ready.principles-group-in .principle {
    transform: translateX(0) !important;
  }
}

/* === PRINCIPLES GROUP MOTION END === */

/* =========================================================
   PRINCIPLES — FINAL PURE CSS SCROLL ANIMATION
   01–03 слева, 04–06 справа
   БЕЗ JS
========================================================= */

#principles {
  view-timeline-name: --principles-scroll;
  view-timeline-axis: block;
}

/* сбрасываем старые попытки */
#principles .principle {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation-delay: 0s !important;
}

/* 01–03 едут слева */
#principles .principle:nth-child(-n + 3) {
  animation-name: principles-from-left !important;
  animation-duration: 1ms !important;
  animation-fill-mode: both !important;
  animation-timing-function: linear !important;

  animation-timeline: --principles-scroll !important;
  animation-range: entry 12% cover 38% !important;
}

/* 04–06 едут справа */
#principles .principle:nth-child(n + 4) {
  animation-name: principles-from-right !important;
  animation-duration: 1ms !important;
  animation-fill-mode: both !important;
  animation-timing-function: linear !important;

  animation-timeline: --principles-scroll !important;
  animation-range: entry 12% cover 38% !important;
}

@keyframes principles-from-left {
  from {
    opacity: 0.15;
    transform: translateX(-95px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes principles-from-right {
  from {
    opacity: 0.15;
    transform: translateX(95px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* hover не двигает */
#principles .principle:hover {
  transform: none !important;
}

/* заголовки не анимируем */
#principles .eyebrow,
#principles .section-title {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  @keyframes principles-from-left {
    from {
      opacity: 0.2;
      transform: translateX(-45px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes principles-from-right {
    from {
      opacity: 0.2;
      transform: translateX(45px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* === FINAL RESPONSIVE SYSTEM START === */

/* Critical cleanup: old principle animation attempts must not control the cards. */
#principles .principle {
  animation: none !important;
  transition: none !important;
  will-change: transform, opacity;
}
#principles .principle:hover {
  transform: none;
}
#principles .eyebrow,
#principles .section-title {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Team and opportunities are intentionally static. */
#team .reveal,
#team .scroll-reveal-card,
#team .team-card,
#opportunities .reveal,
#opportunities .scroll-reveal-card,
#opportunities .opportunity-card,
#opportunities .opportunities__statement {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Manifesto: smaller, fixed centered lines on desktop; JS controls only the character color. */
#manifesto.manifesto-final {
  min-height: auto !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  overflow: hidden;
}
.manifesto-final__inner {
  text-align: center;
}
.manifesto-final__logo {
  width: clamp(155px, 11vw, 220px) !important;
  margin: 0 auto 38px !important;
}
.manifesto-final__text {
  width: min(1180px, 92vw) !important;
  margin: 0 auto !important;
  font-size: 28px !important;
  line-height: 1.46 !important;
  letter-spacing: -0.01em !important;
  color: transparent !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}
.manifesto-final__line {
  display: block !important;
  white-space: nowrap;
  font-size: inherit !important;
  line-height: inherit !important;
  background: none !important;
}
.manifesto-final__char {
  display: inline !important;
  color: rgb(82, 84, 80);
  -webkit-text-fill-color: rgb(82, 84, 80);
  background: none !important;
}
.manifesto-final__space {
  display: inline !important;
}

/* Consistent heading -> supporting copy spacing. */
#audience .section-title + .lead {
  margin-top: 20px !important;
}
#training .training-intro .section-title + p {
  margin-top: 20px !important;
}
#team .section-heading h2 {
  margin-bottom: 20px !important;
}
#team .section-intro {
  margin-top: 0 !important;
}

/* Desktop section rhythm — keep existing composition, only remove extreme gaps. */
#about-center,
#audience,
#principles,
#training,
#education,
#team,
#opportunities {
  min-height: 0 !important;
  height: auto !important;
}

/* ========== TABLET ========== */
@media (max-width: 1100px) {
  .container {
    width: min(100% - 48px, 1200px) !important;
  }
  .section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
  .section-title,
  .education h2,
  .team h2,
  .opportunities h2 {
    font-size: clamp(38px, 5.4vw, 58px) !important;
  }

  .about-center .container {
    width: min(100% - 48px, 1200px) !important;
  }
  .about-center__layout {
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
  }
  .about-center__photo {
    height: 520px !important;
  }
  .about-center__title {
    font-size: clamp(36px, 4.3vw, 54px) !important;
  }

  .principles-grid {
    gap: 16px !important;
  }
  .principle {
    min-height: 270px !important;
    padding: 26px 16px !important;
  }
  .principle h3 {
    font-size: 14px !important;
  }
  .principle p {
    font-size: 14px !important;
  }

  .directions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .team__grid,
  .opportunities__grid {
    gap: 18px !important;
  }
}

/* ========== MOBILE / PORTRAIT TABLET ========== */
@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden !important;
  }
  .container,
  .about-center .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }

  .header {
    min-height: 70px !important;
  }
  .header__inner {
    min-height: 70px !important;
  }
  .logo img {
    width: 54px !important;
  }
  .burger {
    display: flex !important;
  }
  .nav {
    position: fixed !important;
    inset: 70px 0 auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 14px 16px 20px !important;
    background: rgba(30, 32, 30, 0.96) !important;
    backdrop-filter: blur(14px);
    transform: translateY(-130%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: 0.28s ease !important;
  }
  .nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .nav a {
    padding: 14px 6px !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero__media {
    min-height: 62svh !important;
    height: 62svh !important;
  }
  .hero__title-wrap {
    padding-bottom: 28px !important;
  }
  .hero h1 {
    font-size: clamp(42px, 13vw, 62px) !important;
  }
  .hero__bottom {
    padding: 24px 0 46px !important;
  }
  .hero__text {
    max-width: none !important;
  }
  .hero__text p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .hero__actions {
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 26px !important;
  }
  .button {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
  }

  .section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .eyebrow,
  .section-label,
  .about-center__label {
    font-size: 12px !important;
    letter-spacing: 0.24em !important;
    margin-bottom: 14px !important;
  }
  .section-title,
  .education h2,
  .team h2,
  .opportunities h2,
  .about-center__title {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.02 !important;
  }
  .lead,
  .section-intro {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* About: stack, remove desktop target geometry on mobile. */
  #about-center {
    transform: none !important;
    margin-top: 0 !important;
  }
  .about-center__layout {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
  .about-center__media {
    order: 1;
  }
  .about-center__content {
    order: 2;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .about-center__photo {
    height: clamp(300px, 78vw, 470px) !important;
    border-radius: 20px !important;
  }
  .about-center__media::before,
  .about-center__media::after,
  .about-center__photo::before,
  .about-center__photo::after,
  .about-center__crosshair,
  .about-center__divider {
    display: none !important;
  }
  .about-center__text {
    margin-top: 28px !important;
    max-width: none !important;
  }
  .about-center__text p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .audience-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 34px !important;
  }
  .dark-card {
    min-height: 0 !important;
    padding: 24px 22px !important;
  }
  .accent-note {
    margin-top: 20px !important;
    padding: 20px !important;
    font-size: 14px !important;
  }

  .principles-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 36px !important;
  }
  .principle {
    min-height: 230px !important;
    padding: 22px 14px !important;
  }
  .principle__icon {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 22px !important;
  }
  .principle h3 {
    margin-bottom: 14px !important;
    font-size: 13px !important;
  }
  .principle p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .training-intro {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .training-intro p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 18px !important;
  }
  .training-photo {
    min-height: 280px !important;
  }
  .system-title {
    margin-top: 70px !important;
  }
  .system-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 34px !important;
  }
  .system-exam {
    grid-column: auto !important;
  }

  .directions-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 34px !important;
  }
  .direction-card {
    min-height: 230px !important;
  }

  .education__layout {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
    margin-top: 38px !important;
  }
  .education__steps {
    padding-right: 0 !important;
  }
  .education__gallery {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .education__photo {
    min-height: 220px !important;
    height: 240px !important;
  }
  .education__photo--main,
  .education__photo--night,
  .education__photo--city,
  .education__photo--bridge {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .team__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .team-card--founder {
    height: auto !important;
    grid-template-columns: 1fr !important;
  }
  .team-card--founder .team-card__image {
    height: 320px !important;
  }
  .team-card__content,
  .team-card:not(.team-card--founder) {
    padding: 24px !important;
  }

  .opportunities__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .opportunity-card {
    min-height: 0 !important;
    padding: 24px !important;
  }
  .opportunities__statement {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 22px !important;
  }

  #manifesto.manifesto-final {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .manifesto-final__logo {
    width: 145px !important;
    margin-bottom: 32px !important;
  }
  .manifesto-final__text {
    width: 100% !important;
    font-size: 21px !important;
    line-height: 1.48 !important;
  }
  .manifesto-final__line {
    white-space: normal !important;
    display: block !important;
  }

  .contacts-final {
    margin-top: 18px !important;
    padding: 64px 16px 74px !important;
  }
  .contacts-final__title {
    font-size: clamp(34px, 10vw, 50px) !important;
    line-height: 1.02 !important;
  }
  .contacts-final__links {
    flex-direction: column !important;
    gap: 18px !important;
    margin-top: 42px !important;
  }
  .contacts-final__link {
    font-size: clamp(34px, 12vw, 58px) !important;
  }
}

@media (max-width: 520px) {
  .container,
  .about-center .container {
    width: calc(100% - 24px) !important;
  }
  .section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .principles-grid {
    grid-template-columns: 1fr !important;
  }
  .principle {
    min-height: 210px !important;
  }
  .about-center__photo {
    height: 74vw !important;
    min-height: 270px !important;
  }
  .team-card--founder .team-card__image {
    height: 280px !important;
  }
  .education__photo {
    height: 215px !important;
  }
  .manifesto-final__text {
    font-size: 19px !important;
  }
}

/* === FINAL RESPONSIVE SYSTEM END === */

/* =========================================================
   MANIFESTO — REAL FINAL OVERRIDE
========================================================= */

#manifesto .manifesto-final__text {
  width: min(1180px, 90vw) !important;
  margin: 0 auto !important;

  font-size: 28px !important;
  line-height: 1.48 !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;

  text-align: center !important;

  /* отключаем старые gradient/text-fill хаки */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;

  color: rgba(242, 241, 235, 0.18) !important;
}

#manifesto .manifesto-final__line {
  display: block !important;

  font-size: inherit !important;
  line-height: inherit !important;

  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;

  color: inherit !important;
}

/* каждый символ */
#manifesto .manifesto-diag-char {
  display: inline-block;

  color: rgba(242, 241, 235, 0.16);

  transition: color 0.04s linear;
}

/* пробелы */
#manifesto .manifesto-diag-char.is-space {
  width: 0.32em;
}

/* чуть уменьшаем расстояние логотип → текст */
#manifesto .manifesto-final__logo {
  margin-bottom: 42px !important;
}

@media (max-width: 768px) {
  #manifesto .manifesto-final__text {
    width: 92vw !important;

    font-size: clamp(21px, 5.8vw, 28px) !important;
    line-height: 1.42 !important;
  }

  #manifesto .manifesto-final__logo {
    margin-bottom: 30px !important;
  }
}

/* === MOBILE PHOTO + DIRECTION TAP FIX START === */

@media (max-width: 820px) {
  /* ===== Tactical Ride photo =====
       Убираем искусственную высоту, из-за которой был пустой низ.
    */
  .training-photo {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  .training-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    border-radius: inherit !important;
  }

  /* Направления: курсор не нужен на телефоне */
  .direction-card {
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* убираем залипание браузерного hover на touch */
  @media (hover: none) {
    .direction-card:hover {
      transform: none;
    }
  }

  .dark-card:hover,
  .principle:hover,
  .direction-card.mobile-open {
    border-color: #9ba864;
    box-shadow:
      0 0 0 1px rgba(155, 168, 100, 0.18),
      0 0 26px rgba(120, 140, 70, 0.17);
    transform: translateY(-3px);
  }

  .direction-card.mobile-open::before {
    transform: scale(1.08);
  }

  .direction-card.mobile-open {
    transform: none !important;

    border-color: #98a45b;

    box-shadow:
      0 0 0 1px rgba(151, 164, 91, 0.12),
      0 0 24px rgba(126, 145, 65, 0.12);
  }

  /* ОЛИВКОВЫЙ ФОН ПОВЕРХ ФОТО */

  .direction-card.mobile-open::after {
    background: linear-gradient(
      135deg,
      rgba(89, 99, 49, 0.94) 0%,
      rgba(105, 116, 59, 0.91) 52%,
      rgba(74, 82, 42, 0.94) 100%
    );
  }

  .direction-card.mobile-open p {
    opacity: 1;

    transform: translateY(0);
  }

  .direction-card.mobile-open h3 {
    transform: translateY(-4px);
  }

  /* =====================================================
   7. НИКАКОГО ZOOM НА ФОТОКАРТОЧКАХ
===================================================== */

  .direction-card.mobile-open::before {
    transform: none !important;
  }

  .direction-card.mobile-open {
    transform: none !important;
    box-shadow: none !important;
  }

  .direction-card.mobile-open::after {
    background: linear-gradient(
      135deg,
      rgba(102, 111, 58, 0.94) 0%,
      rgba(116, 126, 67, 0.92) 52%,
      rgba(90, 99, 52, 0.94) 100%
    );
  }

  .direction-card.mobile-open .direction-card__extra {
    opacity: 1;
    visibility: visible;
  }

  /* =====================================================
   3. УБИРАЕМ ЛЮБЫЕ СТАРЫЕ ЭФФЕКТЫ С ЭТИХ КАРТОЧЕК
===================================================== */

  .direction-card,
  .direction-card.mobile-open,
  .direction-card * {
    animation: none !important;
  }

  .direction-card.mobile-open {
    transform: none !important;

    box-shadow: none !important;

    border-color: rgba(145, 157, 82, 0.7);
  }

  /* ФОТО НЕ УВЕЛИЧИВАЕТСЯ */

  .direction-card.mobile-open::before {
    transform: none !important;
  }

  /* ПРОСТО ОЛИВКОВЫЙ СЛОЙ ПОВЕРХ ФОТО */

  .direction-card.mobile-open::after {
    background: linear-gradient(
      135deg,
      rgba(84, 94, 48, 0.94) 0%,
      rgba(104, 114, 61, 0.92) 50%,
      rgba(73, 82, 42, 0.95) 100%
    );
  }

  /* ДОП ТЕКСТ ПОЯВЛЯЕТСЯ */

  .direction-card.mobile-open .direction-card__extra {
    opacity: 1;

    visibility: visible;
  }

  /* ВСЁ ОСТАЛЬНОЕ ОСТАЁТСЯ СТРОГО НА МЕСТЕ */

  .direction-card.mobile-open h3,
  .direction-card.mobile-open > p {
    transform: none !important;
  }

  .direction-card.mobile-open {
    transform: none !important;

    box-shadow: none !important;

    border-color: rgba(126, 138, 69, 0.52) !important;
  }

  .direction-card.mobile-open::before {
    transform: none !important;
  }

  .direction-card.mobile-open::after {
    background: linear-gradient(
      135deg,
      rgba(97, 108, 53, 0.88) 0%,
      rgba(111, 122, 63, 0.86) 55%,
      rgba(83, 92, 45, 0.9) 100%
    );
  }

  /* Старый короткий текст исчезает */
  .direction-card.mobile-open > p {
    opacity: 0;
    visibility: hidden;
  }

  /* Подробный появляется */
  .direction-card.mobile-open .direction-card__extra {
    opacity: 1;
    visibility: visible;
  }

  .direction-card.mobile-open {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Фото остаётся, но сверху появляется плотный olive */
  .direction-card.mobile-open::after {
    background: linear-gradient(
      135deg,
      rgba(115, 125, 64, 0.96) 0%,
      rgba(126, 137, 70, 0.95) 50%,
      rgba(98, 108, 54, 0.97) 100%
    ) !important;
  }

  /* короткая подпись исчезает */
  .direction-card.mobile-open > p {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* подробный текст появляется */
  .direction-card.mobile-open .direction-hover-description {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* заголовок остаётся */
  .direction-card.mobile-open h3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* никакого zoom */
  .direction-card.mobile-open::before {
    transform: none !important;
  }
}

/* === MOBILE PHOTO + DIRECTION TAP FIX END === */

/* =========================================================
   MOBILE HEADINGS — FINAL SIZE FIX
========================================================= */

@media (max-width: 820px) {
  .section-title,
  .education h2,
  .team h2,
  .opportunities h2,
  .about-center__title,
  .training h2,
  .directions h2 {
    font-size: clamp(30px, calc(9vw - 2px), 42px) !important;

    line-height: 1.04 !important;
    max-width: 100% !important;
  }

  /* длинный заголовок команды */
  .team h2 {
    font-size: clamp(28px, 8vw, 38px) !important;

    line-height: 1.04 !important;
    letter-spacing: -0.015em !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (max-width: 520px) {
  .section-title,
  .education h2,
  .opportunities h2,
  .about-center__title,
  .training h2,
  .directions h2 {
    font-size: clamp(29px, calc(9vw - 2px), 40px) !important;
  }

  .team h2 {
    font-size: clamp(27px, 7.8vw, 35px) !important;
  }
}

/* =========================================================
   MOBILE — MENU / STICKY HEADER / IMAGE ALIGNMENT FINAL
========================================================= */

@media (max-width: 820px) {
  /* ---------- sticky header ---------- */

  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;

    min-height: 70px !important;

    background: rgba(35, 37, 34, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  .header__inner {
    min-height: 70px !important;
  }

  body {
    padding-top: 70px !important;
  }

  /* ---------- mobile menu ---------- */

  .nav {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 4px !important;

    padding: 20px 16px 24px !important;
    margin: 0 !important;

    background: rgba(28, 30, 28, 0.97) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;

    overflow: visible !important;
  }

  .nav a {
    display: block !important;

    width: auto !important;
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 10px 12px !important;

    font-size: 14px !important;
    line-height: 1.2 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .nav a + a {
    margin-top: 0 !important;
  }

  /* если старые стили пытались разнести пункты по экрану */
  .nav,
  .nav * {
    justify-content: flex-start !important;
  }

  /* ---------- general mobile containers ---------- */

  .container,
  .about-center .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ---------- images: equal left/right margins ---------- */

  .about-center__media,
  .training-photo,
  .education__gallery,
  .team__grid,
  .directions-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-center__photo,
  .training-photo,
  .education__photo,
  .team-card,
  .direction-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* tactical / about / education images */
  .about-center__photo img,
  .training-photo img,
  .education__photo img,
  .team-card__image img,
  .direction-card img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
  }

  /* чуть уменьшаем крупные блоки-картинки, чтобы не липли к краям */
  .training-photo,
  .about-center__media,
  .education__gallery,
  .team__grid,
  .directions-grid {
    width: calc(100% - 8px) !important;
  }

  /* direction cards */
  .directions-grid {
    gap: 12px !important;
  }

  .direction-card {
    min-height: 220px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }
}

/* совсем узкие телефоны */
@media (max-width: 520px) {
  .container,
  .about-center .container {
    width: calc(100% - 28px) !important;
  }

  .training-photo,
  .about-center__media,
  .education__gallery,
  .team__grid,
  .directions-grid {
    width: calc(100% - 4px) !important;
  }

  .nav {
    gap: 2px !important;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  .nav a {
    padding: 8px 10px !important;
  }
}

/* =========================================================
   MOBILE MENU — REAL FINAL COMPACT FIX
========================================================= */

@media (max-width: 820px) {
  /* Шапка всегда сверху */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    height: 70px !important;
    min-height: 70px !important;
  }

  .header__inner {
    height: 70px !important;
    min-height: 70px !important;
  }

  /* Само раскрытое меню */
  .header .nav,
  .nav {
    position: fixed !important;

    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100svh - 70px) !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: flex-start !important;
    align-items: center !important;
    align-content: center !important;

    gap: 3px !important;

    padding: 12px 18px 16px !important;
    margin: 0 !important;

    overflow-y: auto !important;

    background: rgba(27, 29, 27, 0.98) !important;
  }

  /* ВАЖНО: запрещаем ссылкам растягиваться по экрану */
  .header .nav a,
  .nav a {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    font-size: 14px !important;
    line-height: 1 !important;

    position: relative !important;
  }

  /* короткая линия под пунктом */
  .header .nav a::after,
  .nav a::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 1px !important;
    transform: translateX(-50%) !important;

    width: 76px !important;
    height: 1px !important;

    background: rgba(255, 255, 255, 0.08) !important;
  }

  /* убираем любые старые огромные отступы */
  .header .nav > *,
  .nav > * {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .nav.active {
    height: auto !important;
    min-height: 0 !important;
    bottom: auto !important;
  }
}

/* =========================================================
   MOBILE — REDUCE GAP AFTER HERO
========================================================= */

@media (max-width: 820px) {
  /* первый смысловой блок после hero поднимаем выше */
  #about-center,
  .about-center {
    margin-top: -70px !important;
  }

  /* если отступ создаётся padding'ом секции */
  #about-center.section,
  .about-center.section {
    padding-top: 24px !important;
  }
}

@media (max-width: 520px) {
  #about-center,
  .about-center {
    margin-top: -85px !important;
  }

  #about-center.section,
  .about-center.section {
    padding-top: 20px !important;
  }
}

/* =========================================================
   MOBILE MENU — GAP 4PX + FONT +2PX
========================================================= */

@media (max-width: 820px) {
  .header .nav,
  .nav {
    gap: 4px !important;
  }

  .header .nav a,
  .nav a {
    font-size: 16px !important;
  }
}

/* =========================================================
   MOBILE MENU — GAP 4PX + FONT +2PX
========================================================= */

@media (max-width: 820px) {
  .header .nav,
  .nav {
    gap: 4px !important;
  }

  .header .nav a,
  .nav a {
    font-size: 16px !important;
  }
}

/* =========================================================
   MOBILE DIRECTIONS — DESCRIPTION FINAL
========================================================= */

@media (max-width: 820px) {
  .direction-card {
    position: relative !important;
    overflow: hidden !important;
  }

  /* весь контент карточки выше оливкового слоя */
  .direction-card > * {
    position: relative;
    z-index: 5;
  }

  .mobile-direction-description {
    display: none !important;
    position: absolute !important;

    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #f2f1eb !important;
    -webkit-text-fill-color: #f2f1eb !important;

    font-size: 15px !important;
    line-height: 1.48 !important;
    font-weight: 400 !important;

    opacity: 0 !important;
    visibility: hidden !important;

    z-index: 999 !important;
    pointer-events: none !important;
  }

  .direction-card.mobile-open .mobile-direction-description {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* чтобы длинный текст точно помещался */
  .direction-card.mobile-open {
    min-height: 340px !important;
  }

  .direction-card.mobile-open h2,
  .direction-card.mobile-open h3,
  .direction-card.mobile-open h4,
  .direction-card.mobile-open .direction-card__title {
    position: relative !important;
    z-index: 1000 !important;
  }
}

@media (max-width: 520px) {
  .direction-card.mobile-open {
    min-height: 360px !important;
  }

  .mobile-direction-description {
    left: 22px !important;
    right: 22px !important;
    bottom: 24px !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* =========================================================
   MOBILE MENU — GAP 6PX + FONT 17PX
========================================================= */

@media (max-width: 820px) {
  .header .nav,
  .nav {
    gap: 6px !important;
  }

  .header .nav a,
  .nav a {
    font-size: 17px !important;
  }
}

/* =========================================================
   MOBILE DIRECTIONS — KEEP CARD SIZE ON TAP
========================================================= */

@media (max-width: 820px) {
  /* карточка НИКОГДА не увеличивается при открытии */
  .direction-card,
  .direction-card.mobile-open {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* заголовок всегда остаётся в одном и том же месте */
  .direction-card h2,
  .direction-card h3,
  .direction-card h4,
  .direction-card .direction-card__title,
  .direction-card.mobile-open h2,
  .direction-card.mobile-open h3,
  .direction-card.mobile-open h4,
  .direction-card.mobile-open .direction-card__title {
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    right: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    translate: none !important;

    z-index: 30 !important;
  }

  /* полное описание появляется снизу */
  .mobile-direction-description {
    position: absolute !important;

    left: 24px !important;
    right: 24px !important;
    bottom: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.38 !important;

    color: #f2f1eb !important;
    -webkit-text-fill-color: #f2f1eb !important;

    z-index: 30 !important;
  }

  /* при открытии НЕ меняем геометрию */
  .direction-card.mobile-open {
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .direction-card,
  .direction-card.mobile-open {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }

  .direction-card h2,
  .direction-card h3,
  .direction-card h4,
  .direction-card .direction-card__title,
  .direction-card.mobile-open h2,
  .direction-card.mobile-open h3,
  .direction-card.mobile-open h4,
  .direction-card.mobile-open .direction-card__title {
    top: 22px !important;
    left: 22px !important;
    right: 22px !important;
  }

  .mobile-direction-description {
    left: 22px !important;
    right: 22px !important;
    bottom: 20px !important;

    font-size: 12.5px !important;
    line-height: 1.36 !important;
  }
}

/* =========================================================
   MOBILE MENU — 8px GAP + REMOVE UNDERLINES
========================================================= */

@media (max-width: 820px) {
  /* контейнер меню */
  .mobile-menu nav,
  .mobile-nav,
  .nav-menu,
  .menu-overlay nav,
  .header-menu,
  .header-nav,
  .header-nav__list,
  .nav-links,
  .nav-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* сами пункты меню */
  .mobile-menu a,
  .mobile-nav a,
  .nav-menu a,
  .menu-overlay nav a,
  .header-menu a,
  .header-nav a,
  .header-nav__list a,
  .nav-links a,
  .nav-list a {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* убрать псевдолинии */
  .mobile-menu a::before,
  .mobile-menu a::after,
  .mobile-nav a::before,
  .mobile-nav a::after,
  .nav-menu a::before,
  .nav-menu a::after,
  .menu-overlay nav a::before,
  .menu-overlay nav a::after,
  .header-menu a::before,
  .header-menu a::after,
  .header-nav a::before,
  .header-nav a::after,
  .header-nav__list a::before,
  .header-nav__list a::after,
  .nav-links a::before,
  .nav-links a::after,
  .nav-list a::before,
  .nav-list a::after {
    content: none !important;
    display: none !important;
  }

  /* если линии сделаны отдельными div/hr/span */
  .mobile-menu hr,
  .mobile-menu .divider,
  .mobile-menu .menu-divider,
  .mobile-menu .nav-divider,
  .mobile-nav hr,
  .mobile-nav .divider,
  .mobile-nav .menu-divider,
  .mobile-nav .nav-divider,
  .menu-overlay hr,
  .menu-overlay .divider,
  .menu-overlay .menu-divider,
  .menu-overlay .nav-divider,
  .header-menu hr,
  .header-menu .divider,
  .header-menu .menu-divider,
  .header-menu .nav-divider,
  .header-nav hr,
  .header-nav .divider,
  .header-nav .menu-divider,
  .header-nav .nav-divider {
    display: none !important;
  }
}

/* =========================================================
   MOBILE DIRECTIONS — MATCH DESKTOP HOVER GEOMETRY
========================================================= */

@media (max-width: 820px) {
  /* размер карточки до и после тапа одинаковый */
  .direction-card,
  .direction-card.mobile-open {
    height: auto !important;
    min-height: 230px !important;
    max-height: none !important;

    transform: none !important;
    overflow: hidden !important;
  }

  /* НЕ двигаем заголовок вообще */
  .direction-card h2,
  .direction-card h3,
  .direction-card h4,
  .direction-card .direction-card__title,
  .direction-card.mobile-open h2,
  .direction-card.mobile-open h3,
  .direction-card.mobile-open h4,
  .direction-card.mobile-open .direction-card__title {
    position: static !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;
    translate: none !important;

    margin: 0 !important;
  }

  /* сам текст не прижимаем к низу */
  .mobile-direction-description {
    position: static !important;

    width: auto !important;
    max-width: none !important;

    margin: 18px 0 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.45 !important;

    color: #f2f1eb !important;
    -webkit-text-fill-color: #f2f1eb !important;

    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
  }

  .direction-card.mobile-open .mobile-direction-description {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* контент карточки остаётся на месте */
  .direction-card > * {
    position: relative !important;
  }

  /* открытая карточка может вырасти совсем чуть-чуть,
     только если полный текст реально не помещается */
  .direction-card.mobile-open {
    min-height: 245px !important;
  }
}

@media (max-width: 520px) {
  .direction-card,
  .direction-card.mobile-open {
    min-height: 230px !important;
  }

  .direction-card.mobile-open {
    min-height: 242px !important;
  }

  .mobile-direction-description {
    margin-top: 14px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }
}

/* =========================================================
   MOBILE MENU — TRUE 8PX GAP / NO LINES
========================================================= */

@media (max-width: 820px) {
  .header .nav,
  .nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 8px !important;
    row-gap: 8px !important;

    height: auto !important;
    min-height: 0 !important;
  }

  .header .nav a,
  .nav a {
    flex: 0 0 auto !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 17px !important;
    line-height: 1.15 !important;

    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }

  /* полностью убираем линии под пунктами */
  .header .nav a::before,
  .header .nav a::after,
  .nav a::before,
  .nav a::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: 0 !important;
  }
}

/* MOBILE DIRECTIONS — DESCRIPTION TEXT +2PX */
@media (max-width: 820px) {
  .direction-card .mobile-direction-description,
  .direction-card.mobile-open .mobile-direction-description {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
}

@media (max-width: 520px) {
  .direction-card .mobile-direction-description,
  .direction-card.mobile-open .mobile-direction-description {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
}

/* MOBILE MENU — GAP 20PX */
@media (max-width: 820px) {
  .header .nav,
  .nav {
    gap: 20px !important;
    row-gap: 20px !important;
  }
}

/* MOBILE DIRECTIONS — SAME DESCRIPTION SIZE ON ALL CARDS */
@media (max-width: 820px) {
  .directions-grid .direction-card .mobile-direction-description,
  .directions-grid .direction-card.mobile-open .mobile-direction-description {
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
  }
}

/* MOBILE MENU — GAP 25PX */
@media (max-width: 820px) {
  .header .nav,
  .nav {
    gap: 25px !important;
    row-gap: 25px !important;
  }
}

/* LEARN MORE — SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

#about-center,
#about {
  scroll-margin-top: 90px;
}

@media (max-width: 820px) {
  #about-center,
  #about {
    scroll-margin-top: 78px;
  }
}

/* =========================================================
   LEARN MORE BUTTON — CLICK FIX
========================================================= */

.hero__actions {
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.hero__actions .button,
.hero__actions .button--outline,
.hero__actions a[href="#about-center"] {
  position: relative !important;
  z-index: 60 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* декоративные слои hero не должны ловить клики */
.hero::before,
.hero::after,
.hero__media::before,
.hero__media::after,
.hero__overlay,
.hero__video::before,
.hero__video::after {
  pointer-events: none !important;
}

/* === FINAL CLICK LAYERS START === */

.hero__content,
.hero__actions,
.header,
.header__inner,
.nav {
  position: relative;
  z-index: 100;
}

.hero__actions a,
.nav a,
.header a {
  position: relative;
  z-index: 110;
  pointer-events: auto !important;
  cursor: pointer;
}

.hero__video,
.hero video,
.hero__overlay,
.hero::before,
.hero::after {
  pointer-events: none !important;
}

/* === FINAL CLICK LAYERS END === */

/* === MANIFESTO WORD WRAP FIX === */

.manifesto-final__word {
  display: inline-block !important;
  white-space: nowrap !important;
}

.manifesto-final__line {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* === MANIFESTO RUSSIAN TYPOGRAPHY FINAL === */

.manifesto-final__word,
.manifesto-final__nowrap {
  display: inline-block !important;
  white-space: nowrap !important;
}

.manifesto-final__line {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* === MANIFESTO NO WORD BREAK FINAL === */

.manifesto-final__word,
.manifesto-final__phrase {
  display: inline-block !important;
  white-space: nowrap !important;
}

.manifesto-final__line {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.manifesto-final__fixed-space {
  display: inline !important;
  white-space: pre !important;
}

@media (max-width: 820px) {
  .manifesto-final__text {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .manifesto-final__line {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MOBILE MANIFESTO — HARD WORD WRAP FIX
   На мобильном полностью запрещаем посимвольные переносы
========================================================= */

@media (max-width: 820px) {
  .manifesto-final__text {
    position: relative !important;

    font-size: 32px !important;
    line-height: 1.42 !important;

    width: calc(100% - 32px) !important;
    max-width: 760px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  /* Скрываем старый текст, который JS разбивает на буквы */
  .manifesto-final__text > * {
    display: none !important;
  }

  /* Выводим нормальный цельный текст */
  .manifesto-final__text::after {
    content: "Легион Мото Гвардия создан для тех, кто стремится стать мастером управления мотоциклом, получить доступ к элитной сети единомышленников и быть готовым к любым вызовам современного мира.";

    display: block !important;

    width: 100% !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-align: center !important;

    color: #f1f1ed !important;
    -webkit-text-fill-color: #f1f1ed !important;
  }
}

@media (max-width: 520px) {
  .manifesto-final__text {
    font-size: 30px !important;
    line-height: 1.45 !important;

    width: calc(100% - 28px) !important;
  }
}

/* =========================================================
   MOBILE MANIFESTO — PLAIN TEXT FINAL
========================================================= */

@media (max-width: 820px) {
  .manifesto-final__text {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;

    font-size: 29px !important;
    line-height: 1.42 !important;

    text-align: center !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .manifesto-mobile-plain {
    display: block !important;
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    color: #f1f1ed !important;
    -webkit-text-fill-color: #f1f1ed !important;

    text-align: center !important;
  }
}

@media (max-width: 520px) {
  .manifesto-final__text {
    width: calc(100% - 12px) !important;
    font-size: 29px !important;
  }
}

/* =========================================================
   MANIFESTO MOBILE — TRUE FINAL FIX
========================================================= */

/* desktop: показываем старую анимацию */
.manifesto-mobile-static {
  display: none !important;
}

@media (max-width: 820px) {
  /* полностью скрываем старый анимированный текст */
  #manifesto .manifesto-final__text {
    display: none !important;
  }

  /* отдельный нормальный мобильный текст */
  #manifesto .manifesto-mobile-static {
    display: block !important;

    width: calc(100% - 10px) !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    font-family: inherit !important;
    font-size: 28px !important;
    line-height: 1.42 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;

    text-align: center !important;

    color: #f1f1ed !important;
    -webkit-text-fill-color: #f1f1ed !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    position: relative !important;
    z-index: 20 !important;
  }
}

@media (max-width: 520px) {
  #manifesto .manifesto-mobile-static {
    font-size: 28px !important;
    width: calc(100% - 8px) !important;
  }
}

/* =========================================================
   MOBILE MANIFESTO — NO BROKEN WORDS
========================================================= */

.manifesto-mobile-static {
  display: none;
}

@media (max-width: 820px) {
  #manifesto .manifesto-final__text--desktop {
    display: none !important;
  }

  #manifesto .manifesto-mobile-static {
    display: block !important;

    width: calc(100% - 24px) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    font-family: inherit !important;
    font-size: 27px !important;
    line-height: 1.42 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;

    text-align: center !important;
    color: #f1f1ed !important;
    -webkit-text-fill-color: #f1f1ed !important;

    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-wrap: pretty;
  }
}

@media (max-width: 520px) {
  #manifesto .manifesto-mobile-static {
    width: calc(100% - 12px) !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
  }
}
