@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: Russo;
  src: url("fonts/RussoOne-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --navy: #001227;
  --navy-2: #071a31;
  --ink: #151515;
  --orange: #f58220;
  --orange-dark: #db6d12;
  --paper: #f5f5f3;
  --white: #ffffff;
  --muted: #6b6b6b;
  --line: #ddddda;
}

.academy-page,
.academy-page *,
.academy-page *::before,
.academy-page *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.academy-page { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: Montserrat, Arial, Helvetica, sans-serif; }
.academy-page *,
.academy-page *::before,
.academy-page *::after { color: inherit; font-weight: inherit; }
.academy-page h1,
.academy-page h2,
.academy-page h3,
.academy-page h4,
.academy-page strong,
.academy-page b { font-weight: 700; }
.academy-page [hidden] { display: none !important; }
.academy-page img { max-width: 100%; }
.academy-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.academy-page a { color: inherit; text-decoration: none; }
.academy-page button,
.academy-page input { font: inherit; }
.academy-page button,
.academy-page a { -webkit-tap-highlight-color: transparent; }
.academy-page button { border-radius: 0; }

.academy-page .shell {
  width: min(1210px, calc(100% - 48px)) !important;
  max-width: 1210px !important;
  margin-inline: auto !important;
}

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

/* Самостоятельная шапка используется только на рекламной версии */
.academy-traffic-header { position: absolute; inset: 0 0 auto; z-index: 45; height: 80px; color: var(--white); background: rgba(0, 0, 0, 0.32); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.academy-traffic-header__inner { height: 80px; display: flex; align-items: center; gap: 30px; }
.academy-traffic-brand { display: grid; gap: 1px; margin-right: auto; line-height: 1; }
.academy-traffic-brand strong { color: var(--white); font-size: 19px; font-weight: 900; letter-spacing: 0.05em; }
.academy-traffic-brand span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.academy-traffic-nav { display: flex; gap: 26px; font-size: 14px; }
.academy-traffic-nav a,
.academy-traffic-phone { transition: color 160ms ease; }
.academy-traffic-nav a:hover,
.academy-traffic-phone:hover { color: var(--orange); }
.academy-traffic-phone { white-space: nowrap; font-size: 15px; font-weight: 700; }
.academy-menu-button { display: none; width: 44px; height: 44px; padding: 9px; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.academy-menu-button i { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.academy-menu-button.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.academy-menu-button.is-open i:nth-child(2) { opacity: 0; }
.academy-menu-button.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.academy-mobile-nav { padding: 16px 24px 23px; display: grid; color: var(--white); background: rgba(0, 18, 39, 0.99); border-top: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3); }
.academy-mobile-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: 80px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 160px;
  height: 40px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
  font-weight: 400;
}

.desktop-nav a,
.header-phone {
  white-space: nowrap;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.header-phone:hover { color: var(--orange); }

.header-phone {
  font-size: 16px;
  font-weight: 400;
}

.header-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.header-icon img {
  display: block;
  width: 30px;
  height: 30px;
}

.max-link {
  align-self: stretch;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
}

.max-link img {
  display: block;
  width: 44px;
  height: 44px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button i {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button.is-open i:nth-child(2) { opacity: 0; }
.menu-button.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Первый экран */
.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(118deg, #001126 0%, #041a34 60%, #0a223e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% 28%;
  height: 640px;
  opacity: 0.11;
  transform: rotate(-8deg);
  background: repeating-linear-gradient(90deg, transparent 0 42px, #fff 43px 44px);
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  top: -170px;
  left: -160px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 780px;
  padding-top: 142px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.66fr) minmax(320px, 0.84fr);
  gap: 30px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-copy { padding-right: 8px; }
.eyebrow,
.section-kicker,
.form-kicker,
.course-label {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prototype-badge {
  display: inline-flex;
  margin: 25px 0 18px;
  padding: 8px 11px;
  color: #ffd7b8;
  background: rgba(245, 130, 32, 0.12);
  border: 1px solid rgba(245, 130, 32, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-family: Russo, Montserrat, Arial, sans-serif;
  font-size: clamp(44px, 3.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span { display: block; color: var(--orange); }
.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.55;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 27px 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 700;
}
.text-link span { color: var(--orange); }

.hero-visual {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #07192e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.86) 100%);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: saturate(0.88) contrast(1.04);
}

.visual-tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 10px;
  color: var(--navy);
  background: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.visual-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 21px;
}
.visual-caption strong,
.visual-caption span { display: block; }
.visual-caption strong { font-size: 17px; }
.visual-caption span { margin-top: 4px; color: rgba(255, 255, 255, 0.68); font-size: 12px; line-height: 1.45; }

.hero-form-card {
  position: relative;
  padding: 32px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}
.hero-form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--orange); }
.form-number { position: absolute; top: 25px; right: 26px; color: #e5e5e1; font-family: Russo, Montserrat, sans-serif; font-size: 40px; }
.hero-form-card h2 { max-width: 290px; margin: 12px 0; font-size: 28px; line-height: 1.12; }
.hero-form-card > p:not(.form-kicker) { margin: 0 0 21px; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Формы */
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 7px; }
.field span { color: #505050; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  color: var(--ink);
  background: #f7f7f5;
  border: 1px solid #d9d9d4;
  border-radius: 0;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.13); }
.field input[aria-invalid="true"] { border-color: #c93a2e; }
.field small { color: #b63227; font-size: 11px; }
.primary-button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  color: var(--white);
  background: var(--orange);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.primary-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: 0.72; }
.privacy-note { margin: 0; color: #8a8a8a; font-size: 9px; line-height: 1.45; }

.trust-strip { color: var(--white); background: var(--orange); }
.trust-grid { min-height: 120px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; border-left: 1px solid rgba(255, 255, 255, 0.27); }
.trust-grid > div:last-child { border-right: 1px solid rgba(255, 255, 255, 0.27); }
.trust-grid strong { font-size: 16px; }
.trust-grid span { margin-top: 5px; color: rgba(255, 255, 255, 0.8); font-size: 12px; }

/* Каталог */
.section { width: 100% !important; max-width: none; margin: 0; padding: 104px 0; }
.programs { background: var(--paper); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  gap: 60px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2,
.academy-copy h2,
.final-copy h2 {
  margin: 11px 0 0;
  font-family: Russo, Montserrat, Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 61px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.content-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 17px 20px;
  color: #74421e;
  background: #fff2e7;
  border-left: 4px solid var(--orange);
  font-size: 12px;
  line-height: 1.45;
}
.content-note strong { white-space: nowrap; }

.category-rail-wrap { position: relative; }
.swipe-hint { display: none; }

.category-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.category-card {
  min-width: 0;
  min-height: 134px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 17px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.category-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.category-card > span { margin-bottom: auto; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.category-card strong { display: block; font-size: 14px; line-height: 1.25; }
.category-card small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.category-card.is-active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.category-card.is-active small { color: rgba(255, 255, 255, 0.62); }

.catalog-toolbar {
  scroll-margin-top: 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 13px 16px;
  background: #e9e9e6;
}

.catalog-search {
  position: relative;
  width: min(100%, 520px);
  display: block;
}
.catalog-search input {
  width: 100%;
  height: 50px;
  padding: 0 46px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d6d1;
  outline: none;
}
.catalog-search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.12); }
.catalog-search > button { position: absolute; top: 0; right: 0; width: 45px; height: 50px; border: 0; color: #777; background: transparent; font-size: 23px; cursor: pointer; }
.search-icon { position: absolute; z-index: 1; top: 16px; left: 17px; width: 16px; height: 16px; border: 2px solid #727272; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -3px; background: #727272; transform: rotate(45deg); }
.results-count { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.course-card:hover { transform: translateY(-5px); border-color: #cacac4; box-shadow: 0 22px 46px rgba(20, 20, 20, 0.075); }
.course-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff8ea; border-bottom: 1px solid #eadfcb; }
.course-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 18, 39, 0.035); pointer-events: none; }
.course-visual img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.course-visual-meta { position: absolute; z-index: 2; inset: 14px 15px auto; display: flex; align-items: start; justify-content: space-between; pointer-events: none; }
.course-code { width: 46px; height: 46px; display: grid; place-items: center; color: var(--white); background: var(--orange); font-family: Russo, Montserrat, sans-serif; font-size: 18px; letter-spacing: 0.02em; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); }
.course-index { min-width: 46px; height: 46px; padding: 0 8px; display: grid; place-items: center; color: var(--white); background: rgba(0, 18, 39, 0.88); font-family: Russo, Montserrat, sans-serif; font-size: 22px; line-height: 1; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13); }
.course-content { padding: 23px 27px 20px; }
.course-label { min-height: 12px; font-size: 9px; }
.course-card h3 { min-height: 60px; margin: 9px 0 10px; font-size: 24px; line-height: 1.18; }
.course-title.is-long { font-size: 19px; line-height: 1.28; }
.course-subtitle { min-height: 62px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.course-note { width: fit-content; margin: 12px 0 0; padding: 7px 9px; color: var(--navy); background: #fff3df; border-left: 3px solid var(--orange); font-size: 10px; font-weight: 800; line-height: 1.35; }
.course-facts { margin: 20px 0 0; border-top: 1px solid var(--line); }
.course-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.course-facts dt { color: var(--muted); }
.course-facts dd { max-width: 62%; margin: 0; font-weight: 700; line-height: 1.35; text-align: right; }
.course-facts .employment-available { color: #28733b; }
.course-form-wrap { margin-top: auto; padding: 16px 20px 18px; background: #efefec; }
.course-form-wrap h4 { margin: 0 0 10px; font-size: 14px; }
.lead-form--compact { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.1fr) auto; gap: 7px; align-items: start; }
.lead-form--compact .field span { display: none; }
.lead-form--compact .field input { height: 43px; padding: 0 11px; font-size: 12px; }
.lead-form--compact .privacy-note { grid-column: 1 / -1; }
.lead-form--compact .primary-button { min-width: 104px; min-height: 43px; padding: 0 13px; font-size: 12px; }

.pagination {
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}
.pagination > button,
.page-buttons button {
  height: 46px;
  border: 1px solid #d6d6d1;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pagination > button:disabled { color: #aaa; cursor: default; }
.page-buttons { display: flex; justify-content: center; gap: 8px; }
.page-buttons button { width: 46px; }
.page-buttons button.is-active { color: var(--white); background: var(--navy); border-color: var(--navy); }

.catalog-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding: 24px 27px;
  color: var(--white);
  background: var(--navy);
}
.catalog-help span,
.catalog-help strong { display: block; }
.catalog-help span { color: rgba(255, 255, 255, 0.62); font-size: 11px; }
.catalog-help strong { margin-top: 5px; font-size: 16px; }
.catalog-help a { flex: 0 0 auto; padding: 14px 20px; color: var(--white); background: var(--orange); font-size: 13px; font-weight: 700; }
.empty-state { padding: 70px 30px; text-align: center; background: var(--white); border: 1px solid var(--line); }
.empty-state strong { font-size: 23px; }
.empty-state p { color: var(--muted); }
.secondary-button { min-height: 46px; padding: 0 22px; color: var(--white); background: var(--navy); border: 0; font-weight: 700; cursor: pointer; }

/* Трудоустройство после обучения */
.employment { color: var(--white); background: var(--orange); }
.employment-grid { display: grid; grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr); gap: clamp(36px, 4vw, 64px); align-items: start; }
.employment-grid > *,
.academy-grid > * { min-width: 0; }
.employment .section-kicker { color: var(--navy); }
.employment-copy h2 {
  max-width: 100%;
  margin: 12px 0 0;
  font-family: Russo, Montserrat, Arial, sans-serif;
  font-size: clamp(38px, 3.15vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: normal;
  hyphens: none;
}
.employment-copy > p:not(.section-kicker) { max-width: 570px; margin: 24px 0 30px; color: rgba(0, 18, 39, 0.72); font-size: 15px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
.employment-phone { max-width: 100%; display: inline-grid; gap: 5px; padding: 16px 20px; color: var(--white); background: var(--navy); }
.employment-phone span { color: rgba(255, 255, 255, 0.62); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.employment-phone strong { font-size: 20px; }
.employment-roles { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(0, 18, 39, 0.28); border-left: 1px solid rgba(0, 18, 39, 0.28); }
.employment-roles > div { min-width: 0; min-height: 112px; display: grid; grid-template-columns: 84px 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 16px; border-right: 1px solid rgba(0, 18, 39, 0.28); border-bottom: 1px solid rgba(0, 18, 39, 0.28); }
.employment-role-card img { width: 84px; height: 78px; object-fit: cover; background: #fff5df; border: 1px solid rgba(0, 18, 39, 0.18); }
.employment-roles > div span { color: rgba(0, 18, 39, 0.48); font-family: Russo, Montserrat, sans-serif; font-size: 21px; }
.employment-roles > div strong { min-width: 0; color: var(--navy); font-size: 15px; line-height: 1.3; overflow-wrap: break-word; hyphens: none; }
.employment-roles > p { grid-column: 1 / -1; margin: 0; padding: 14px 18px; color: rgba(0, 18, 39, 0.68); background: rgba(255, 255, 255, 0.22); border-right: 1px solid rgba(0, 18, 39, 0.28); border-bottom: 1px solid rgba(0, 18, 39, 0.28); font-size: 10px; line-height: 1.5; }

/* Об Академии */
.academy { color: var(--white); background: var(--navy); }
.academy-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 75px; align-items: center; }
.academy-photo { position: relative; padding: 16px 16px 30px; border: 1px solid rgba(245, 130, 32, 0.5); }
.simulator-frame { position: relative; z-index: 1; margin: 0; overflow: hidden; background: #0a203a; box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3); }
.simulator-frame img { display: block; width: 100%; height: auto; }
.simulator-frame figcaption { position: absolute; z-index: 2; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 8px 10px; color: rgba(255, 255, 255, 0.96); background: rgba(0, 18, 39, 0.88); font-size: 10px; font-weight: 800; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; overflow-wrap: anywhere; }
.simulator-frame--cockpit { width: 42%; margin: -47px 12px 0 auto; border: 8px solid var(--navy); }
.photo-stamp { position: absolute; z-index: 2; right: -28px; bottom: -24px; max-width: 230px; padding: 21px 24px; color: var(--ink); background: var(--orange); }
.photo-stamp span,
.photo-stamp strong { display: block; }
.photo-stamp span { color: rgba(0, 0, 0, 0.55); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.photo-stamp strong { margin-top: 5px; font-size: 15px; }
.academy-copy h2 { max-width: 650px; }
.academy-intro { margin: 24px 0 32px; color: rgba(255, 255, 255, 0.68); font-size: 16px; line-height: 1.7; }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.14); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.advantage-grid > div { min-height: 155px; padding: 20px; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.advantage-grid span { display: block; margin-bottom: 13px; color: var(--orange); font-family: Russo, Montserrat, sans-serif; font-size: 22px; }
.advantage-grid strong { font-size: 15px; }
.advantage-grid p { margin: 7px 0 0; color: rgba(255, 255, 255, 0.56); font-size: 12px; line-height: 1.5; }
.academy-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 27px; font-size: 13px; font-weight: 700; }
.academy-links a { padding-bottom: 7px; border-bottom: 1px solid rgba(255, 255, 255, 0.33); }
.academy-links a:last-child { color: var(--orange); border-color: rgba(245, 130, 32, 0.5); }
.academy-facts { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.academy-facts span { color: rgba(255, 255, 255, 0.68); font-size: 12px; line-height: 1.45; }
.academy-facts strong { color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.license-card { margin-top: 26px; padding: 16px; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 19px; color: var(--white); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(245, 130, 32, 0.58); }
.license-preview { position: relative; display: block; width: 92px; height: 126px; overflow: hidden; background: var(--white); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
.license-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.license-preview > span { position: absolute; inset: auto 0 0; padding: 7px 5px; color: var(--navy); background: rgba(255, 255, 255, 0.94); font-size: 8px; font-weight: 800; text-align: center; text-transform: uppercase; }
.license-details { min-width: 0; display: grid; gap: 6px; }
.license-details > span { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.license-details > strong { font-size: 17px; }
.license-card small { max-width: 480px; color: rgba(255, 255, 255, 0.62); font-size: 10px; line-height: 1.5; }
.license-open { width: fit-content; margin-top: 3px; padding-bottom: 4px; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.4); font-size: 11px; font-weight: 800; }
.license-open span { color: var(--orange); }
.license-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; color: #bfe7c8; background: rgba(70, 168, 90, 0.15); border: 1px solid rgba(112, 199, 132, 0.32); font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.license-status i { width: 16px; height: 16px; display: grid; place-items: center; color: var(--white); background: #46a85a; border-radius: 50%; font-size: 10px; font-style: normal; }

/* Отзывы из карточки на Яндекс Картах */
.reviews-section { background: #f1f1ee; }
.reviews-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 55px; align-items: end; margin-bottom: 34px; }
.reviews-heading h2,
.location-copy h2 { margin: 10px 0 0; font-family: Russo, Montserrat, Arial, sans-serif; font-size: clamp(38px, 4.2vw, 61px); line-height: 1.04; letter-spacing: -0.015em; text-transform: uppercase; }
.reviews-heading > div:first-child > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.review-score { min-width: 285px; padding: 21px 24px; display: flex; align-items: center; gap: 18px; color: var(--white); background: var(--navy); }
.review-score > strong { color: var(--orange); font-family: Russo, Montserrat, sans-serif; font-size: 48px; line-height: 1; }
.review-score > div { display: grid; gap: 6px; }
.review-score small { color: rgba(255, 255, 255, 0.64); font-size: 11px; }
.review-stars { color: var(--orange); font-size: 16px; letter-spacing: 0.08em; white-space: nowrap; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review-card { min-height: 310px; padding: 27px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.review-card-top { display: flex; justify-content: space-between; gap: 18px; color: #858b90; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.review-card blockquote { margin: 40px 0 28px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.review-author { margin-top: auto; display: grid; gap: 4px; }
.review-author strong { font-size: 14px; }
.review-author span { color: var(--muted); font-size: 12px; }
.review-author small { margin-top: 4px; color: #9a9a96; font-size: 10px; }
.review-checked { margin: 16px 0 0; color: #8a8a86; font-size: 10px; text-align: right; }

/* Интерактивная карта и отдельный переход в карточку Яндекса */
.location-section { color: var(--white); background: var(--navy); }
.location-grid { display: grid; grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr); gap: 65px; align-items: center; }
.location-copy address { margin: 22px 0 0; color: var(--orange); font-size: 22px; font-style: normal; font-weight: 800; }
.location-copy > p:not(.section-kicker) { max-width: 540px; margin: 18px 0 26px; color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.6; }
.location-note { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; max-width: 450px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.location-note span { color: var(--orange); font-family: Russo, Montserrat, sans-serif; font-size: 18px; }
.location-note strong { font-size: 12px; }
.map-frame { position: relative; min-height: 470px; overflow: hidden; background: #d7d8d4; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: auto; }
.map-caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--white); background: rgba(0, 18, 39, 0.94); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24); pointer-events: none; }
.map-caption > div { display: grid; gap: 3px; }
.map-caption span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.map-caption strong { font-size: 13px; }
.map-caption a { flex: 0 0 auto; padding: 11px 13px; color: var(--white); background: var(--orange); font-size: 11px; font-weight: 800; pointer-events: auto; transition: background 160ms ease; }
.map-caption a:hover { background: var(--orange-dark); }
.map-shield { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; padding: 15px 18px; display: grid; gap: 4px; color: var(--white); background: rgba(0, 18, 39, 0.9); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); pointer-events: none; }
.map-shield span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.map-shield strong { font-size: 14px; }

/* Финальная форма */
.final-cta { background: var(--white); }
.final-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; padding: 58px 64px; color: var(--white); background: var(--navy-2); }
.final-card::before { content: ""; position: absolute; width: 370px; height: 370px; left: -180px; bottom: -220px; border: 80px solid rgba(245, 130, 32, 0.18); border-radius: 50%; }
.final-copy,
.final-form { position: relative; z-index: 1; }
.final-copy h2 { max-width: 660px; font-size: clamp(35px, 4vw, 54px); }
.final-copy > p:not(.section-kicker) { max-width: 620px; margin: 22px 0; color: rgba(255, 255, 255, 0.68); font-size: 15px; line-height: 1.65; }
.contact-line { display: flex; align-items: center; gap: 18px; margin-top: 29px; }
.contact-line span { color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.contact-line strong { font-size: 21px; font-weight: 800; }
.final-form { padding: 30px; color: var(--ink); background: var(--white); }

/* Подвал повторяет основной сайт ИнтехСервис */
.site-footer { padding: 62px 0 60px; color: var(--ink); background: var(--white); border-top: 1px solid #e0e0dd; }
.footer-grid { display: grid; grid-template-columns: 1.28fr 1.04fr 0.82fr 0.82fr 1fr; gap: 46px; align-items: start; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo img { display: block; width: 160px; height: 40px; }
.footer-contact > p { margin: 28px 0 8px; font-size: 16px; }
.footer-phone,
.footer-email { font-size: 23px; font-weight: 800; line-height: 1.22; }
.footer-contact .social-title { margin-top: 29px; font-size: 15px; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 66px; height: 66px; display: grid; place-items: center; background: #f4f4f4; border-radius: 10px; transition: background 160ms ease; }
.social-links a:hover { background: #ececec; }
.social-links img { display: block; max-width: 29px; max-height: 30px; opacity: 0.48; }
.copyright { margin-top: 28px; color: #696969; font-size: 14px; line-height: 1.55; }
.footer-column,
.footer-column > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column strong { margin-bottom: 2px; font-size: 19px; }
.footer-column a { color: #636363; font-size: 16px; line-height: 1.3; transition: color 150ms ease; }
.footer-column a:hover { color: var(--orange); }
.footer-double { gap: 42px; }

.academy-traffic-footer { padding: 34px 0; color: var(--white); background: #000d1d; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.academy-traffic-footer__inner { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 34px; align-items: center; }
.academy-traffic-footer__inner > div { display: grid; gap: 5px; }
.academy-traffic-footer__inner span { color: rgba(255, 255, 255, 0.55); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.academy-traffic-footer__inner strong,
.academy-traffic-footer__inner a { font-size: 14px; line-height: 1.4; }

.academy-toast {
  position: fixed;
  z-index: 10000;
  top: 104px;
  right: 24px;
  width: min(430px, calc(100vw - 32px));
  min-height: 64px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 19px;
  color: #234b2d;
  background: #eef9f0;
  border: 1px solid #cde7d3;
  border-left: 5px solid #46a85a;
  border-radius: 10px;
  box-shadow: 0 20px 55px rgba(0, 18, 39, 0.2);
  font-size: 14px;
  line-height: 1.45;
}
.academy-toast__icon { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--white); background: #46a85a; border-radius: 50%; font-size: 14px; font-weight: 800; line-height: 1; }
.academy-toast__message { flex: 1 1 auto; min-width: 0; display: block; padding-top: 2px; color: inherit; font-weight: 700; overflow-wrap: anywhere; }
.academy-toast.is-error { color: #6c2424; background: #fff0f0; border-color: #efcccc; border-left-color: #cf4141; }
.academy-toast.is-error .academy-toast__icon { background: #cf4141; }

@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 18px; font-size: 14px; }
  .header-phone { font-size: 14px; }
  .hero-grid { grid-template-columns: 1.05fr 0.63fr 0.82fr; gap: 18px; }
  .hero-form-card { padding: 27px 24px; }
  .category-rail { grid-template-columns: repeat(3, 1fr); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { gap: 28px; }
  .footer-phone,
  .footer-email { font-size: 19px; }
}

@media (max-width: 1000px) {
  .academy-traffic-nav,
  .academy-traffic-phone { display: none; }
  .academy-menu-button { display: block; }
  .desktop-nav,
  .header-phone,
  .header-icon,
  .max-link { display: none; }
  .brand { flex: 1; }
  .menu-button { display: block; }
  .mobile-nav {
    display: grid;
    padding: 18px 24px 24px;
    color: var(--white);
    background: rgba(0, 18, 39, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
  .hero-grid { padding-top: 126px; grid-template-columns: 1fr 0.8fr; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-visual { height: 460px; }
  .hero-form-card { align-self: stretch; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .academy-grid { grid-template-columns: 1fr; gap: 70px; }
  .academy-photo { max-width: 650px; }
  .employment-grid { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 45px; }
  .reviews-heading { grid-template-columns: 1fr; gap: 25px; }
  .review-score { width: fit-content; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 245px; }
  .location-grid { grid-template-columns: 1fr; gap: 38px; }
  .final-card { grid-template-columns: 1fr; gap: 35px; padding: 48px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 3; }
}

@media (max-width: 700px) {
  .academy-page .shell { width: min(calc(100% - 28px), 540px) !important; max-width: 540px !important; }
  .site-header,
  .header-inner { height: 70px; }
  .brand img { width: 159px; height: 40px; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; padding-top: 108px; padding-bottom: 42px; grid-template-columns: 1fr; gap: 24px; }
  .eyebrow { font-size: 10px; }
  .prototype-badge { margin-top: 20px; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 46px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { height: 310px; }
  .hero-visual img { object-position: 50% 58%; }
  .hero-form-card { padding: 27px 22px; }
  .hero-form-card h2 { max-width: 280px; font-size: 25px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 82px; padding: 17px 20px; border-right: 1px solid rgba(255, 255, 255, 0.24); }
  .section { padding: 68px 0; }
  .section-heading h2,
  .academy-copy h2 { font-size: 42px; }
  .section-heading > p { font-size: 14px; }
  .content-note { align-items: flex-start; flex-direction: column; gap: 5px; }
  .content-note strong { white-space: normal; }
  .category-rail-wrap::after { content: ""; position: absolute; z-index: 2; top: 31px; right: -14px; bottom: 14px; width: 42px; background: linear-gradient(90deg, rgba(244, 244, 241, 0), var(--paper)); pointer-events: none; }
  .swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: -3px 0 10px; color: #777772; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .swipe-hint i { color: var(--orange); font-size: 21px; font-style: normal; line-height: 1; animation: swipe-cue 1.5s ease-in-out infinite; }
  .category-rail { display: flex; overflow-x: auto; margin-right: -14px; padding: 0 42px 11px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--orange) #deded9; }
  .category-rail::-webkit-scrollbar { height: 4px; }
  .category-rail::-webkit-scrollbar-track { background: #deded9; }
  .category-rail::-webkit-scrollbar-thumb { background: var(--orange); }
  .category-card { flex: 0 0 min(78vw, 280px); min-height: 122px; scroll-snap-align: start; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 11px; }
  .catalog-search { width: 100%; }
  .results-count { padding-left: 2px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card h3,
  .course-subtitle { min-height: auto; }
  .course-content { padding: 20px 22px 18px; }
  .course-form-wrap { padding: 16px 18px 18px; }
  .lead-form--compact { grid-template-columns: 1fr; }
  .lead-form--compact .privacy-note { grid-column: auto; }
  .pagination { grid-template-columns: 1fr 1fr; gap: 10px; }
  .page-buttons { grid-column: 1 / -1; grid-row: 1; overflow-x: auto; justify-content: flex-start; }
  .pagination > button { grid-row: 2; }
  .catalog-help { align-items: flex-start; flex-direction: column; }
  .catalog-help a { width: 100%; text-align: center; }
  .academy-grid { gap: 57px; }
  .academy-photo { padding: 12px 12px 16px; }
  .academy-photo img { min-height: 300px; }
  .simulator-frame img { min-height: 0; }
  .simulator-frame--cockpit { width: 68%; margin: -18% 0 0 auto; border-width: 6px; }
  .simulator-frame--cockpit figcaption { font-size: 9px; }
  .photo-stamp { position: relative; right: auto; bottom: auto; width: fit-content; max-width: 82%; margin: -12px 0 0 auto; padding: 16px 18px; }
  .license-card { grid-template-columns: 78px minmax(0, 1fr); align-items: start; }
  .license-preview { width: 78px; height: 108px; }
  .license-status { grid-column: 1 / -1; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-grid > div { min-height: auto; }
  .reviews-heading h2,
  .location-copy h2 { font-size: 42px; }
  .review-score { width: 100%; min-width: 0; }
  .review-grid { display: flex; overflow-x: auto; margin-right: -14px; padding: 0 14px 12px 0; scroll-snap-type: x mandatory; }
  .review-card { flex: 0 0 min(84vw, 360px); min-height: 280px; scroll-snap-align: start; }
  .review-card blockquote { margin-top: 30px; font-size: 20px; }
  .review-checked { text-align: left; }
  .location-copy address { font-size: 19px; }
  .map-frame { min-height: 340px; }
  .map-caption { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; gap: 10px; }
  .map-caption a { text-align: center; }
  .final-card { width: calc(100% - 28px); padding: 35px 22px; }
  .final-copy h2 { font-size: 38px; }
  .contact-line { align-items: flex-start; flex-direction: column; gap: 7px; }
  .contact-line strong { font-size: 19px; }
  .final-form { padding: 23px; }
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .copyright { margin-top: 25px; }
  .academy-toast { top: 82px; right: 14px; width: calc(100vw - 28px); }
  .employment-copy,
  .employment-roles { width: 100%; max-width: 100%; }
  .employment-copy h2 { max-width: 100%; font-size: clamp(27px, 7.5vw, 32px); line-height: 1.08; letter-spacing: -0.025em; }
  .employment-phone strong { font-size: 18px; }
  .employment-roles { grid-template-columns: 1fr; }
  .employment-roles > div { min-height: 96px; grid-template-columns: 64px 30px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .employment-role-card img { width: 64px; height: 60px; }
  .employment-roles > div span { font-size: 19px; }
  .employment-roles > div strong { font-size: 14px; }
  .employment-roles > p { grid-column: auto; }
  .academy-traffic-footer__inner { grid-template-columns: 1fr; gap: 20px; }
}

@keyframes swipe-cue {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-hint i { animation: none; }
}

@media (max-width: 430px) {
  .employment-copy h2 { font-size: clamp(25px, 7vw, 28px); }
  .employment-roles > div { grid-template-columns: 58px 28px minmax(0, 1fr); gap: 9px; padding: 11px 10px; }
  .employment-role-card img { width: 58px; height: 56px; }
  .employment-roles > div span { font-size: 17px; }
  .employment-roles > div strong { font-size: 13px; }
  .simulator-frame--cockpit { width: 72%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact,
  .footer-column:last-child { grid-column: auto; }
  .social-links a { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .academy-page *,
  .academy-page *::before,
  .academy-page *::after { transition: none !important; }
}
