/* ДСУ-50 — Design System A «Steel Petrol» */

:root {
  --brand-900: #0E2A33;
  --brand-700: #16414F;
  --brand-500: #1F6072;
  --brand-300: #7BA6B0;
  --ink-900: #0B1620;
  --ink-600: #4A5860;
  --ink-400: #8A959C;
  --bg-0: #FFFFFF;
  --bg-50: #F4F6F6;
  --bg-100: #E8ECED;

  --r-pill: 999px;
  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  --shadow-card: 0 4px 24px rgba(14, 42, 51, 0.06);
  --shadow-float: 0 12px 40px rgba(14, 42, 51, 0.12);

  --pad-x: 40px;
  --container: 1360px;
  --container-wide: 1840px;

  --fs-hero: clamp(34px, 5vw, 72px);
  --fs-h2: clamp(28px, 3.4vw, 44px);
  --fs-h3: 24px;
  --fs-lead: clamp(17px, 1.4vw, 21px);
  --fs-eyebrow: 13px;
  --fs-stat: clamp(32px, 4vw, 52px);

  --font: "Manrope", Inter, system-ui, sans-serif;
  --font-display: "Gilroy", "Manrope", Inter, system-ui, sans-serif;
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/assets/fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.about__grid.container {
  max-width: var(--container);
}

.section {
  padding-block: clamp(56px, 8vw, 120px);
}

/* ——— Кнопки ——— */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 180ms ease;
}

.btn--light {
  background: var(--bg-0);
  color: var(--ink-900);
}

.btn--dark {
  background: var(--brand-900);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--bg-100);
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.btn__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: inherit;
  transition: transform 180ms ease;
}

.btn--light .btn__icon,
.btn--dark .btn__icon {
  background: none;
}

.btn--outline .btn__icon {
  display: none;
}

.btn:hover .btn__icon {
  transform: translate(3px, -3px);
}

/* ——— Eyebrow ——— */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-500);
}

.eyebrow--light {
  color: var(--brand-300);
}

/* ——— Статистика ——— */

.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 6px;
}

.stats-row {
  display: flex;
  gap: 40px;
}

.stats-row .stat + .stat {
  border-left: 1px solid var(--bg-100);
  padding-left: 40px;
}

/* ——— Картка ——— */

.card {
  background: var(--bg-0);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

/* ——— Типографіка ——— */

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-600);
}

/* ——— Hero ——— */

.hero-wrap {
  padding: var(--pad-x);
}

.hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 88vh;
  color: #fff;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 32, 0) 40%, rgba(11, 22, 32, 0.55) 100%);
}

.hero__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  gap: 16px;
}

.hero__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 6;
}

.hero__logo img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero__cta {
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 180ms ease;
}

.nav__link:hover,
.nav__link.is-active {
  background: rgba(255, 255, 255, 0.16);
}

.nav__item {
  position: relative;
}

.nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  list-style: none;
  background: var(--bg-0);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  z-index: 30;
}

.nav__sub::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  display: block;
}

.nav__sub-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--ink-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav__sub-link:hover,
.nav__sub-link.is-active {
  background: var(--bg-50);
  color: var(--brand-700);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  z-index: 6;
}

.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: 180ms ease;
}

.hero__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--pad-x);
  max-width: min(1080px, calc(100% - 340px));
  color: #fff;
}

.hero__content .h1 {
  margin: 0 0 20px;
}

@media (min-width: 769px) {
  .hero__line {
    display: block;
    white-space: nowrap;
  }

  .hero__lead-line {
    display: block;
  }
}

.hero__content .lead {
  max-width: 52em;
  color: var(--brand-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn--outline:hover {
  background: #fff;
  color: var(--ink-900);
  border-color: #fff;
}

.hero__card {
  position: absolute;
  right: var(--pad-x);
  bottom: var(--pad-x);
  z-index: 2;
  max-width: 280px;
  padding: 22px 24px;
  background: var(--bg-0);
  color: var(--ink-900);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}

.hero__card-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 8px;
}

.hero__card strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero__card p:last-child {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1200px) {
  .hero__cta,
  .page-header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 12px;
    border-radius: var(--r-lg);
    background: rgba(14, 42, 51, 0.96);
    flex-direction: column;
    align-items: stretch;
    z-index: 30;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    white-space: normal;
  }

  .nav__sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 4px 0 8px 12px;
    background: transparent;
    box-shadow: none;
  }

  .nav__sub::before {
    display: none;
  }

  .hero .nav__sub-link {
    color: #fff;
  }

  .hero .nav__sub-link:hover,
  .hero .nav__sub-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }

  .page-header .nav {
    top: calc(100% + 8px);
    left: var(--pad-x);
    right: var(--pad-x);
    background: var(--bg-0);
    box-shadow: var(--shadow-float);
  }

  .page-header .nav__sub-link {
    color: var(--ink-900);
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero__header {
    padding: 16px;
  }

  .hero__content {
    position: relative;
    padding: 120px 20px 36px;
    max-width: none;
  }

  .hero__card {
    display: none;
  }

  .hero__video {
    position: absolute;
    min-height: 100%;
  }
}

body.nav-open {
  overflow: hidden;
}

/* ——— About ——— */

.about.section {
  padding-top: calc(clamp(56px, 8vw, 120px) - var(--pad-x));
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}

.about__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.about__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding-block: 4px;
}

.about__copy .lead {
  margin: 28px 0 0;
  max-width: 34em;
  color: var(--brand-700);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
}

.about .stats-row {
  gap: clamp(28px, 4vw, 56px);
  margin-top: 48px;
}

.about .stats-row .stat + .stat {
  border-left: 0;
  padding-left: 0;
}

.about .stat {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
}

.about .stat__value {
  color: var(--brand-700);
  font-weight: 600;
}

.about .stat__label {
  max-width: 14em;
  line-height: 1.35;
  color: var(--ink-600);
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__media img {
    aspect-ratio: 4 / 5;
  }

  .about__body {
    display: block;
  }

  .about .stats-row {
    margin-top: 32px;
    gap: 20px;
  }

  .about .stat {
    max-width: none;
  }

  .about .stat__value {
    font-size: clamp(24px, 7vw, 32px);
  }
}

/* ——— Services ——— */

.services {
  margin-inline: var(--pad-x);
  background: var(--brand-900);
  border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 88px) var(--pad-x);
}

.services .container {
  padding-inline: 0;
}

.services__head {
  margin-bottom: 48px;
}

.services__head .h2 {
  margin-top: 16px;
  color: #fff;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  background: var(--brand-700);
}

.service-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, var(--brand-900) 100%);
  opacity: 0.88;
  pointer-events: none;
}

.service-card__body {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}

.service-card .h3 {
  margin: 0 0 10px;
  color: #fff;
}

.service-card p {
  margin: 0;
  color: var(--brand-300);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .services {
    padding: 48px 28px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services {
    padding: 40px 20px;
  }

  .services__head {
    margin-bottom: 28px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }
}

/* ——— Capabilities ——— */

.caps__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.caps__head .lead {
  margin-top: 16px;
}

.caps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
  padding: 32px 28px;
  background: var(--bg-50);
  box-shadow: none;
}

.cap-card:hover {
  box-shadow: var(--shadow-card);
}

.cap-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--bg-0);
  color: var(--brand-500);
}

.cap-card .h3 {
  margin: 0 0 12px;
}

.cap-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .caps__head {
    margin-bottom: 32px;
  }
}

/* ——— Scroll video ——— */

.scroll-video {
  --sv-inset: var(--pad-x);
  --sv-radius: var(--r-xl);
  height: 500vh;
  background: var(--bg-0);
}

.scroll-video__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background: transparent;
}

.scroll-video__frame {
  position: absolute;
  inset: var(--sv-inset);
  overflow: hidden;
  border-radius: var(--sv-radius);
  background: var(--bg-0);
}

.scroll-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transform-origin: center;
}

.scroll-video__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 5vw, 56px) var(--pad-x);
  background: linear-gradient(180deg, transparent 0%, rgba(14, 42, 51, 0.62) 100%);
  opacity: var(--sv-copy, 0);
  pointer-events: none;
}

.scroll-video__copy .h2 {
  margin-top: 16px;
  max-width: 14ch;
  color: #fff;
}

.scroll-video__copy .lead {
  margin-top: 14px;
  max-width: 34em;
  color: var(--brand-300);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video {
    height: auto;
    margin-inline: var(--pad-x);
    margin-bottom: var(--pad-x);
  }

  .scroll-video__sticky {
    position: relative;
    height: 72vh;
    border-radius: var(--r-xl);
    overflow: hidden;
  }

  .scroll-video__frame {
    inset: 0;
    border-radius: 0;
  }

  .scroll-video__copy {
    opacity: 1;
  }
}

/* ——— Recognition ——— */

.recognition__inner {
  width: 70%;
  margin: 0 auto;
}

.recognition__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
}

.recognition__head .lead {
  max-width: 42em;
}

.recognition__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bg-100);
}

.recognition__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--bg-100);
}

.recognition__year {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}

.recognition__copy .h3 {
  margin: 0 0 8px;
}

.recognition__copy p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .recognition__inner {
    width: 100%;
  }

  .recognition__head {
    margin-bottom: 32px;
  }

  .recognition__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
}

/* ——— News ——— */

.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.news__head .h2 {
  margin-top: 16px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.news-card__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-50);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
}

.news-card__date {
  display: block;
  color: var(--ink-400);
  font-size: 13px;
  margin-bottom: 12px;
}

.news-card .h3 {
  margin-bottom: 10px;
}

.news-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

.news-card__more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-500);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.news-card__more:hover {
  color: var(--brand-700);
}

@media (max-width: 767px) {
  .news__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Careers ——— */

.careers {
  --careers-gap: 20px;
  --careers-show: 3.5;
  margin: 0 var(--pad-x) var(--pad-x);
  padding: var(--pad-x) 0;
  overflow: hidden;
  background: var(--bg-50);
  border-radius: var(--r-xl);
}

.careers__head {
  padding-inline: var(--pad-x);
}

.careers .h2 {
  margin-top: 16px;
}

.careers .lead {
  margin-top: 16px;
  max-width: 40rem;
}

.careers__slider {
  margin-top: calc(var(--pad-x) - 12px);
}

.careers__track {
  display: flex;
  gap: var(--careers-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  padding: 12px 0 28px var(--pad-x);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.careers__track::-webkit-scrollbar {
  display: none;
}

.careers__track .job-card {
  flex: 0 0 calc((100% - (var(--careers-show) - 0.5) * var(--careers-gap)) / var(--careers-show));
  min-width: 0;
  min-height: 240px;
  scroll-snap-align: start;
}

.careers__track .job-card:hover {
  transform: none;
}

.careers__controls {
  display: flex;
  gap: 8px;
  padding-inline: var(--pad-x);
  margin-top: 8px;
}

.careers__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  cursor: pointer;
}

.careers__arrow:hover {
  background: var(--brand-700);
}

.careers__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.job-card {
  display: flex;
  flex-direction: column;
}

.job-card[hidden] {
  display: none;
}

.job-card .h3 {
  margin-bottom: 10px;
}

.job-card__salary {
  color: var(--brand-700);
  font-weight: 700;
  margin-bottom: 10px;
}

.job-card__salary.is-muted {
  color: var(--ink-400);
  font-weight: 500;
}

.jobs-grid .job-card__meta {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.jobs-grid .job-card__meta span {
  font-weight: 600;
  color: var(--ink-900);
}

.jobs-grid .job-card .btn {
  margin-top: auto;
}

.job-card__req {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.job-card .btn {
  margin-top: auto;
  align-self: flex-start;
  border-color: var(--bg-100);
}

.careers__more {
  display: flex;
  justify-content: center;
  margin-top: var(--pad-x);
}

@media (max-width: 1100px) {
  .careers {
    --careers-show: 2.5;
  }
}

@media (max-width: 767px) {
  .careers {
    --careers-show: 1.5;
    --careers-gap: 12px;
  }

  .careers__track .job-card {
    min-height: 220px;
  }
}

/* ——— Footer ——— */

.footer {
  margin: 0 var(--pad-x) var(--pad-x);
  padding: 64px 32px 32px;
  background: var(--brand-900);
  color: #fff;
  border-radius: var(--r-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.footer__logo img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer__slogan {
  margin-top: 16px;
  max-width: 22ch;
  color: var(--brand-300);
  font-size: 15px;
  line-height: 1.5;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__col h3 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
}

.footer__col ul {
  list-style: none;
}

.footer__col li + li {
  margin-top: 8px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.footer__col a:hover,
.footer__col a.is-active {
  color: #fff;
}

.footer__col p {
  color: var(--brand-300);
  font-size: 15px;
  line-height: 1.5;
}

.footer__col p + p {
  margin-top: 8px;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--brand-300);
  font-size: 14px;
}

@media (max-width: 1023px) {
  .footer {
    padding: 48px 24px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 40px 20px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Inner pages ——— */

body.page .container {
  max-width: var(--container);
}

.page-header {
  position: relative;
  z-index: 20;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--pad-x);
  background: var(--bg-0);
  border-bottom: 1px solid var(--bg-100);
}

.page-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 6;
}

.page-header__logo img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.page-header__end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.page-header .nav {
  background: var(--bg-50);
  border: 1px solid var(--bg-100);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-header .nav__link {
  color: var(--ink-900);
}

.page-header .nav__link:hover,
.page-header .nav__link.is-active {
  background: var(--bg-0);
  color: var(--brand-700);
}

.page-header .burger {
  background: var(--bg-50);
}

.page-header .burger span {
  background: var(--ink-900);
}

.page-hero {
  padding: 64px 0 32px;
}

.page-hero .h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 4vw, 52px);
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 20px;
}

.crumbs {
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-400);
}

.crumbs a {
  color: var(--ink-400);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand-500);
}

.page-main {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.page-block + .page-block {
  margin-top: 64px;
}

.page-block .h2 {
  margin-bottom: 28px;
}

.page-note {
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--bg-50);
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.45;
}

.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-600);
}

.prose a {
  color: var(--brand-500);
}

.prose p + p {
  margin-top: 16px;
}

button.btn {
  appearance: none;
  font-family: var(--font-display);
}

.card > p {
  margin-top: 12px;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.55;
}

.page-list {
  max-width: 760px;
  padding-left: 1.2em;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.6;
}

.page-list li + li {
  margin-top: 10px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--bg-50);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.45;
}

.check-list__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--brand-500);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 32px 28px;
}

.partner-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
}

.partner-card .h3 {
  margin-bottom: 10px;
}

.partner-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 160px 24px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  padding-bottom: 40px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child .timeline__mark {
  height: 18px;
  min-height: 18px;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-700);
  padding-top: 2px;
}

.timeline__mark {
  position: relative;
  justify-self: center;
  width: 1px;
  min-height: 100%;
  align-self: stretch;
  background: var(--bg-100);
}

.timeline__mark::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-700);
  transform: translateX(-50%);
}

.timeline__body .h3 {
  margin-bottom: 8px;
}

.timeline__body p {
  max-width: 40em;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.55;
}

.history-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.history-media img,
.history-media__thumbs img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.history-media__hero,
.history-media__side {
  aspect-ratio: 4 / 5;
  min-height: 280px;
}

.history-media__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.history-media__thumbs img {
  aspect-ratio: 4 / 3;
  background: var(--bg-50);
}

.history-thesis {
  max-width: 920px;
  padding: 32px 36px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.history-thesis .lead {
  margin: 0;
  color: var(--brand-700);
}

.principles-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 36px 32px;
}

.principle-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
}

.principle-card .h3 {
  margin-bottom: 12px;
}

.principles-goal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 16px;
}

.principles-goal__copy .h2 {
  margin-bottom: 20px;
}

.principles-goal__copy .lead {
  max-width: 34em;
  color: var(--brand-700);
}

.principles-lists {
  display: grid;
  gap: 32px;
}

.principles-lists .h3 {
  margin-bottom: 16px;
}

.dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dot-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.55;
}

.dot-list li + li {
  margin-top: 12px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.cards-3,
.cards-2 {
  display: grid;
  gap: 20px;
}

.cards-3,
.cards-2,
.values-grid,
.jobs-grid,
.awards-gallery,
.docs-grid,
.accred-grid,
.contacts-grid,
.bases-grid,
.principles-cards,
.partners-grid,
.staff-stats,
.staff-social {
  min-width: 0;
}

.cards-3 > *,
.cards-2 > *,
.values-grid > *,
.jobs-grid > *,
.awards-gallery > *,
.docs-grid > *,
.accred-grid > *,
.contacts-grid > *,
.bases-grid > *,
.principles-cards > *,
.partners-grid > *,
.staff-stats > *,
.staff-social > * {
  min-width: 0;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.values-grid,
.jobs-grid,
.awards-gallery,
.docs-grid {
  display: grid;
  gap: 20px;
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px 28px 32px;
  overflow: hidden;
  background: var(--bg-50);
  border: 1px solid var(--bg-100);
  box-shadow: none;
}

.value-card:hover {
  box-shadow: var(--shadow-card);
}

.value-card__num {
  align-self: flex-end;
  color: var(--ink-400);
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
  opacity: 0.45;
}

.value-card__body {
  margin-top: auto;
}

.value-card__mark {
  display: block;
  width: 6px;
  height: 6px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-500);
}

.value-card .h3 {
  margin: 0 0 12px;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.staff-stats .stat + .stat {
  border-left: 1px solid var(--bg-100);
  padding-left: 20px;
}

.staff-awards {
  max-width: 860px;
  padding: 28px 32px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.staff-social {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-social__item {
  padding: 28px 24px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.staff-social__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
}

.staff-social__item .h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.staff-social__item p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

.staff-edu {
  max-width: 760px;
}

.jobs-grid {
  grid-template-columns: repeat(3, 1fr);
}

.awards-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.docs-grid {
  grid-template-columns: repeat(2, 1fr);
}

.award-photo {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.award-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-50);
}

.award-photo__body {
  padding: 24px;
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.accred-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 32px 28px;
}

.accred-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
}

.accred-card .h3 {
  margin-bottom: 10px;
}

.accred-card__meta,
.accred-card__scope {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

.accred-card__scope {
  margin-top: 8px;
}

.accred-card__num {
  margin: auto 0 0;
  padding-top: 20px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-700);
}

.bases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.base-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 28px;
}

.base-card .h3 {
  margin-bottom: 8px;
}

.base-card__place {
  margin: 0 0 auto;
  color: var(--ink-400);
  font-size: 14px;
}

.base-card__capacity {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-700);
}

.base-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.45;
}

.base-card__country {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.fleet-accordion {
  width: 100%;
}

.fleet-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 8px;
}

.fleet-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--bg-100);
}

.fleet-list__name {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.45;
}

.fleet-list__qty {
  flex-shrink: 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-700);
  white-space: nowrap;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  border-radius: var(--r-lg);
  background: var(--bg-50);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion details[open] summary {
  color: var(--brand-700);
}

.accordion details p,
.accordion details .doc-list {
  padding: 0 24px 20px;
}

.accordion details p {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.55;
}

.doc-rows {
  display: grid;
}

.doc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-100);
}

.doc-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-900);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.doc-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.doc-row__date {
  margin: 4px 0 0;
  color: var(--ink-400);
  font-size: 13px;
}

.doc-row__dl {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid var(--bg-100);
  border-radius: var(--r-pill);
  color: var(--ink-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.doc-row__dl:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}

.inv-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.inv-tabs__btn {
  padding: 10px 16px;
  border: 1px solid var(--bg-100);
  border-radius: var(--r-pill);
  background: var(--bg-0);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.inv-tabs__btn.is-active {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: #fff;
}

.inv-panel {
  background: transparent;
  border-radius: 0;
}

.inv-panel__summary {
  display: none;
}

@media (min-width: 769px) {
  .inv-panel:not(.is-open) {
    display: none;
  }
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bg-100);
}

.doc-list li + li {
  border-top: 1px solid var(--bg-100);
}

.doc-list__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 500;
}

.doc-list__link:hover {
  color: var(--brand-500);
}

.doc-list__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-900);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-form .btn {
  justify-self: start;
  width: fit-content;
}

.page-main .stats-row {
  flex-wrap: wrap;
}

.page-main .stat__value {
  color: var(--brand-700);
}

.page-form,
.review-list {
  position: relative;
  max-width: 640px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-600);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--bg-100);
  border-radius: var(--r-md);
  background: var(--bg-0);
  color: var(--ink-900);
  font: inherit;
  font-size: 16px;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.4;
}

.form-check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-700);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success,
.form-error {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--bg-50);
  font-weight: 500;
}

.form-success {
  color: var(--brand-700);
}

.form-error {
  margin-bottom: 16px;
  color: var(--ink-900);
}

.jobs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.jobs-filter button {
  padding: 10px 16px;
  border: 1px solid var(--bg-100);
  border-radius: var(--r-pill);
  background: var(--bg-0);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.jobs-filter button.is-active {
  background: var(--brand-900);
  color: #fff;
  border-color: var(--brand-900);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contacts-info .h2 {
  margin-bottom: 24px;
}

.contacts-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-facts li {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--bg-100);
}

.contacts-facts li:last-child {
  border-bottom: 1px solid var(--bg-100);
}

.contacts-facts span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.contacts-facts p {
  margin: 0;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.5;
}

.contacts-facts a {
  color: var(--brand-500);
  text-decoration: none;
}

.contacts-facts a:hover {
  color: var(--brand-700);
}

.contacts-facts small {
  display: block;
  margin-top: 4px;
  color: var(--ink-400);
  font-size: 13px;
}

.contacts-key {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contacts-key .h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.contacts-key p {
  margin: 0;
  color: var(--brand-700);
  font-weight: 600;
}

.contacts-map {
  width: 100%;
  min-height: 100%;
  height: 480px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--bg-50);
}

.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 920px;
  border-top: 1px solid var(--bg-100);
}

.dept-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-100);
}

.dept-list__name {
  min-width: 0;
  color: var(--ink-900);
  font-size: 16px;
}

.dept-list__phone {
  flex-shrink: 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-700);
  white-space: nowrap;
}

.review-card {
  margin-bottom: 16px;
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink-400);
}

.review-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.55;
}

.form-counter {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-400);
}

.captcha-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
}

.captcha-img {
  display: block;
  width: 160px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--bg-50);
}

.captcha-refresh {
  padding: 10px 14px;
  border: 1px solid var(--bg-100);
  border-radius: var(--r-pill);
  background: var(--bg-0);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .principles-goal {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 0;
  }

  .staff-stats,
  .staff-social {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-stats .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 1400px) {
  .cards-3,
  .values-grid,
  .jobs-grid,
  .awards-gallery,
  .bases-grid,
  .principles-cards,
  .partners-grid,
  .caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .jobs-grid,
  .awards-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0 24px;
  }

  .cards-3,
  .cards-2,
  .values-grid,
  .jobs-grid,
  .awards-gallery,
  .docs-grid,
  .accred-grid,
  .contacts-grid,
  .principles-cards,
  .principles-goal,
  .partners-grid,
  .bases-grid,
  .caps__grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 200px;
  }

  .staff-stats,
  .staff-social {
    grid-template-columns: 1fr;
  }

  .staff-stats .stat + .stat,
  .staff-stats .stat:nth-child(odd) + .stat {
    border-left: 0;
    padding-left: 0;
  }

  .doc-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .doc-row__dl {
    grid-column: 2;
    justify-self: start;
  }

  .inv-tabs__nav {
    display: none;
  }

  .inv-panel {
    display: block;
    margin-bottom: 12px;
    background: var(--bg-50);
    border-radius: var(--r-lg);
    overflow: hidden;
  }

  .inv-panel__summary {
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
  }

  .inv-panel__summary::-webkit-details-marker {
    display: none;
  }

  .inv-panel[open] .inv-panel__summary {
    color: var(--brand-700);
  }

  .inv-panel .doc-rows {
    padding: 0 20px 8px;
  }

  .timeline li {
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-areas:
      "mark year"
      "mark body";
    column-gap: 16px;
    padding-bottom: 32px;
  }

  .timeline__mark {
    grid-area: mark;
  }

  .timeline__year {
    grid-area: year;
    margin-bottom: 10px;
    font-size: 32px;
  }

  .timeline__body {
    grid-area: body;
  }

  .history-media {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .history-media__hero,
  .history-media__side {
    min-height: 0;
  }

  .history-media__thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .history-thesis {
    padding: 24px 20px;
  }

  .page-main .stats-row .stat + .stat {
    padding-left: 16px;
  }
}

@media (max-width: 360px) {
  :root {
    --pad-x: 16px;
    --fs-h3: 20px;
  }

  .page-hero .h1 {
    font-size: 32px;
  }

  .page-main .stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .page-main .stats-row .stat + .stat {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--bg-100);
    padding-top: 16px;
  }

  .history-media,
  .history-media__thumbs {
    grid-template-columns: 1fr;
  }

  .dept-list li {
    flex-direction: column;
    gap: 6px;
  }

  .dept-list__phone {
    white-space: normal;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-img {
    width: 100%;
    max-width: 220px;
  }

  .contacts-map {
    height: 280px;
  }

  .doc-row {
    grid-template-columns: 1fr;
  }

  .doc-row__dl {
    grid-column: 1;
  }

  .page-form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ——— Scroll-in ——— */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
  transition-delay: calc(var(--reveal, 0) * 70ms);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

html.js .card[data-reveal].is-in {
  transition: opacity 480ms ease, transform 180ms ease, box-shadow 180ms ease;
  transition-delay: 0ms;
}

html.js .card[data-reveal].is-in:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal].is-in,
  html.js .card[data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

