/* ДСУ-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("../fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../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;
  appearance: none;
  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: visible;
  min-height: 88vh;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.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) 32%, rgba(11, 22, 32, 0.42) 62%, rgba(11, 22, 32, 0.82) 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;
  transition: transform 280ms ease, background 200ms ease, box-shadow 200ms ease, padding 200ms ease;
}

.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: auto;
  height: 44px;
}

.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__head,
.nav__close,
.nav__chevron {
  display: none;
}

.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: transform 200ms ease, opacity 200ms ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(11, 22, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms 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: #fff;
}

.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);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

a.hero__card:hover {
  transform: translateY(-4px);
  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;
    position: relative;
    z-index: 60;
  }

  .nav-backdrop {
    display: block;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .hero__header,
  body.nav-open .page-header,
  body.nav-open .hero__header.is-stuck {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    pointer-events: none;
  }

  body.nav-open .page-header__logo,
  body.nav-open .hero__logo {
    visibility: hidden;
  }

  body.nav-open .burger {
    visibility: hidden;
    pointer-events: none;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 88vw);
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0 0 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0;
    border: 0;
    background: var(--brand-900);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 50;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 280ms ease, visibility 280ms ease;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0 24px;
  }

  .nav__head {
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 12px 8px;
    background: var(--brand-900);
  }

  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .nav__link {
    white-space: normal;
    padding: 12px 14px;
    font-size: 18px;
  }

  .nav__item--has-sub > .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .nav__chevron {
    display: block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 200ms ease;
    flex-shrink: 0;
  }

  .nav__item--has-sub.is-open > .nav__link .nav__chevron {
    transform: rotate(225deg);
  }

  .nav__sub {
    display: none;
    position: static;
    min-width: 0;
    padding: 4px 0 8px 12px;
    background: transparent;
    box-shadow: none;
  }

  .nav__item--has-sub:hover > .nav__sub,
  .nav__item--has-sub:focus-within > .nav__sub {
    display: none;
  }

  .nav__item--has-sub.is-open > .nav__sub {
    display: block;
  }

  .nav__sub::before {
    display: none;
  }

  .nav__sub-link,
  .hero .nav__sub-link,
  .page-header .nav__sub-link {
    color: var(--brand-300);
    white-space: normal;
  }

  .hero .nav__sub-link:hover,
  .hero .nav__sub-link.is-active,
  .page-header .nav__sub-link:hover,
  .page-header .nav__sub-link.is-active,
  .nav__sub-link:hover,
  .nav__sub-link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .page-header .nav {
    top: 0;
    left: auto;
    right: 0;
    background: var(--brand-900);
    box-shadow: none;
  }

  .page-header .nav__link {
    color: #fff;
  }

  .page-header .nav__link:hover,
  .page-header .nav__link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }
}

@media (max-width: 768px) {
  .hero-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
  }

  .hero {
    flex: 1;
    min-height: 0;
    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);
  transform: none;
  box-shadow: none;
  transition: none;
}

.service-card:hover {
  transform: none;
  box-shadow: none;
}

.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;
  text-decoration: none;
  color: inherit;
}

a.cap-card {
  cursor: pointer;
}

.cap-card:hover {
  box-shadow: var(--shadow-card);
}

a.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.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 {
  margin-inline: var(--pad-x);
  background: var(--bg-0);
}

.scroll-video__sticky {
  position: relative;
  height: min(86vh, 860px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--brand-900);
}

.scroll-video__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
}

.scroll-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 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%);
}

.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 (max-width: 767px) {
  .scroll-video {
    margin-inline: 20px;
  }

  .scroll-video__sticky {
    height: 72vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video__media {
    animation: none;
  }
}

/* ——— 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 {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}

.recognition__copy {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: break-word;
}

.recognition__item:not(:has(.recognition__year)) {
  grid-template-columns: minmax(0, 1fr);
}

.recognition__item:not(:has(.recognition__year)) .recognition__copy {
  grid-column: 1;
}

.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,
  .recognition__item:not(:has(.recognition__year)) {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 20px 0;
  }

  .recognition__year,
  .recognition__copy,
  .recognition__item:not(:has(.recognition__year)) .recognition__copy {
    grid-column: 1;
  }
}

/* ——— 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);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card[hidden] {
  display: none;
}

/* ——— Clients ——— */

.clients__head {
  margin-bottom: 40px;
}

.clients__head .h2 {
  margin-top: 16px;
}

.clients__stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.clients-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.clients-regions__card {
  padding: 32px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.clients-regions__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand-700);
}

.clients-regions__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.clients-regions__pill {
  padding: 10px 16px;
  background: var(--bg-0);
  border-radius: var(--r-pill);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.clients-block__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand-700);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 20px 18px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
  color: var(--ink-900);
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  .news__grid,
  .projects-grid,
  .clients__grid,
  .clients-regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .news__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .news__grid,
  .projects-grid,
  .clients__grid,
  .clients-regions {
    grid-template-columns: 1fr;
  }

  .clients__stack {
    gap: 40px;
  }

  .clients-regions__card {
    padding: 24px 20px;
  }
}

/* ——— 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.1;
    --careers-gap: 12px;
  }

  .careers__track .job-card {
    min-height: 220px;
    flex-basis: calc((100% - var(--careers-gap)) / 1.1);
  }
}

/* ——— 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: auto;
  height: 44px;
}

.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 ——— */

.page-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: auto;
  margin: 12px var(--pad-x) 0;
  padding: 10px 12px 10px 16px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: none;
  transition: transform 280ms ease, box-shadow 200ms ease;
}

.page-header.is-stuck {
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.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: auto;
  height: 44px;
}

.page-header__end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.page-header .nav {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-header .nav__link {
  color: var(--ink-900);
}

.page-header .nav__link:hover,
.page-header .nav__link.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-700);
}

.page-header .burger {
  background: rgba(255, 255, 255, 0.42);
}

.page-header .burger span {
  background: var(--ink-900);
}

.hero__header.is-stuck {
  position: fixed;
  top: 12px;
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 30;
  padding: 10px 12px 10px 16px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero__header.is-stuck .hero__logo {
  color: var(--ink-900);
}

.hero__header.is-stuck .nav {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__header.is-stuck .nav__link {
  color: var(--ink-900);
}

.hero__header.is-stuck .nav__link:hover,
.hero__header.is-stuck .nav__link.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-700);
}

.hero__header.is-stuck .burger {
  background: rgba(255, 255, 255, 0.42);
}

.hero__header.is-stuck .burger span {
  background: var(--ink-900);
}

.hero__header.is-stuck .btn--light {
  background: var(--brand-900);
  color: #fff;
  border-color: var(--brand-900);
}

.hero__header.is-hidden,
.page-header.is-hidden {
  transform: translateY(calc(-100% - 24px));
  pointer-events: none;
}

body.nav-open .hero__header.is-hidden,
body.nav-open .page-header.is-hidden {
  transform: none;
}

@media (max-width: 768px) {
  .page-header,
  .hero__header.is-stuck {
    top: 10px;
    padding: 8px 8px 8px 12px;
    border-radius: 20px;
  }

  .page-header {
    margin: 10px 12px 0;
  }

  .hero__header.is-stuck {
    left: 12px;
    right: 12px;
  }
}

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

@media (max-width: 1200px) {
  body.nav-open .hero__header,
  body.nav-open .page-header {
    z-index: 30;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .page-header .nav {
    top: 0;
    right: 0;
    left: auto;
    background: var(--brand-900);
    border: 0;
    box-shadow: none;
  }

  .page-header .nav__link {
    color: #fff;
  }

  .page-header .nav__link:hover,
  .page-header .nav__link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }

  .page-header .burger.is-open,
  .hero__header.is-stuck .burger.is-open {
    background: rgba(255, 255, 255, 0.16);
  }

  .page-header .burger.is-open span,
  .hero__header.is-stuck .burger.is-open span {
    background: #fff;
  }

  .hero__header.is-stuck .nav {
    background: var(--brand-900);
    border: 0;
  }

  .hero__header.is-stuck .nav__link {
    color: #fff;
  }

  .hero__header.is-stuck .nav__link:hover,
  .hero__header.is-stuck .nav__link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }
}

.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;
}

#vyrobnychi-bazy,
#park-tehniky {
  scroll-margin-top: 120px;
}

.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;
}

.history-chart {
  --chart-p: 0;
  position: relative;
}

.history-chart__axis {
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
  color: var(--ink-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-chart__frame {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: minmax(168px, auto) 88px minmax(168px, auto);
  column-gap: 12px;
}

.history-chart__list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-chart__spine {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  height: 2px;
  background: var(--bg-100);
  pointer-events: none;
}

.history-chart__spine span {
  display: block;
  width: calc(var(--chart-p) * 100%);
  height: 100%;
  background: var(--brand-500);
  border-radius: inherit;
}

.history-chart__item {
  display: contents;
}

.history-chart__card,
.history-chart__node {
  grid-column: var(--col);
}

.history-chart__item:nth-child(odd) .history-chart__card {
  grid-row: 1;
  align-self: end;
}

.history-chart__item:nth-child(even) .history-chart__card {
  grid-row: 3;
  align-self: start;
}

.history-chart__node {
  grid-row: 2;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.history-chart__card {
  padding: 18px 16px 20px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease, box-shadow 180ms ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.history-chart__item.is-on .history-chart__card {
  opacity: 1;
  transform: none;
}

.history-chart__card:hover {
  box-shadow: var(--shadow-float);
}

.history-chart__card .h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.history-chart__card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.45;
}

.history-chart__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bg-100);
  box-shadow: 0 0 0 6px var(--bg-0);
  transform: scale(0.7);
  transition: transform 400ms ease, border-color 400ms ease, background 400ms ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.history-chart__item.is-on .history-chart__dot {
  transform: scale(1);
  background: var(--brand-500);
  border-color: var(--brand-500);
}

.history-chart__year {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color 400ms ease;
}

.history-chart__item.is-on .history-chart__year {
  color: var(--brand-700);
}

@media (prefers-reduced-motion: reduce) {
  .history-chart {
    --chart-p: 1;
  }

  .history-chart__card,
  .history-chart__dot,
  .history-chart__year {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html:not(.js) .history-chart {
  --chart-p: 1;
}

html:not(.js) .history-chart__card {
  opacity: 1;
  transform: none;
}

html:not(.js) .history-chart__dot {
  transform: none;
  background: var(--brand-500);
  border-color: var(--brand-500);
}

html:not(.js) .history-chart__year {
  color: var(--brand-700);
}

.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 .h3 {
  margin: 0 0 12px;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 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);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1280px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg-0);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: 180ms ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.cert-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--bg-50);
  padding: 12px;
}

.cert-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
}

.cert-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.cert-card__text,
.cert-card__meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-600);
}

.cert-card__meta {
  color: var(--ink-400);
}

.cert-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(720px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--bg-0);
  box-shadow: var(--shadow-float);
}

.cert-dialog[open] {
  display: flex;
  flex-direction: column;
}

.cert-dialog::backdrop {
  background: rgba(11, 22, 32, 0.55);
}

.cert-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 96px);
  object-fit: contain;
  background: var(--bg-50);
  border-radius: var(--r-md);
}

.cert-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.apply-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  padding: 28px 24px 24px;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--bg-0);
  box-shadow: var(--shadow-float);
}

.apply-dialog[open] {
  display: flex;
  flex-direction: column;
}

.apply-dialog::backdrop {
  background: rgba(11, 22, 32, 0.55);
}

.apply-dialog .h2 {
  margin: 0 40px 20px 0;
}

.apply-dialog__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: none;
  overflow: hidden;
}

.apply-dialog .form-grid {
  overflow: auto;
  flex: 1 1 auto;
  padding-right: 4px;
}

.apply-dialog__foot {
  flex-shrink: 0;
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bg-100);
  background: var(--bg-0);
}

.apply-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.apply-dialog .form-row textarea {
  min-height: 96px;
}

html.apply-open,
html.apply-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.apply-open body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.bases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.base-card {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
}

.base-card .h3 {
  margin-bottom: 8px;
}

.base-card__place {
  margin: 0;
  color: var(--ink-400);
  font-size: 14px;
}

.base-card__capacity {
  margin: 12px 0 6px;
  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;
}

.fleet-lead {
  max-width: 40em;
  margin-bottom: 32px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 24px 16px 20px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.fleet-card__qty {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-700);
}

.fleet-card__name {
  margin: 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.35;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
  margin-top: 28px;
}

.infra-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.infra-card__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--brand-500);
}

.infra-card p {
  margin: 0;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.staff-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.staff-intro {
  padding: 64px 0;
}

.staff-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "media crumbs"
    "media copy"
    "media awards";
  gap: 8px  clamp(40px, 6vw, 80px);
  align-items: start;
  max-width: var(--container);
}

.staff-intro__crumbs {
  grid-area: crumbs;
  margin-bottom: 12px;
}

.staff-intro__media {
  grid-area: media;
  overflow: hidden;
  border-radius: var(--r-lg);
  align-self: stretch;
}

.staff-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 18%;
}

.staff-intro__copy {
  grid-area: copy;
}

.staff-intro .h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
}

.staff-intro .lead {
  margin-top: 20px;
  max-width: 34em;
  color: var(--brand-700);
}

.staff-intro__awards {
  grid-area: awards;
  padding-top: 24px;
}

.staff-intro__awards .h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.staff-intro__cards {
  display: grid;
  gap: 12px;
}

.staff-intro__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.staff-intro__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-500);
}

.staff-intro__card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
}

.staff-split__media {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.staff-split__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.quality-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.quality-split .staff-split__media img {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.quality-lab__grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(18rem, 28rem);
  justify-content: center;
  justify-items: start;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.quality-lab__media {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #0f1720;
}

.quality-lab__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0f1720;
}

.quality-lab__copy .h2 {
  margin-bottom: 16px;
}

.quality-lab__copy .lead {
  margin: 0;
  max-width: 34em;
}

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

.edu-card {
  padding: 28px 24px;
  background: var(--bg-50);
  border-radius: var(--r-lg);
}

.edu-card__logo {
  display: grid;
  place-items: center;
  height: 88px;
  margin-bottom: 16px;
}

.edu-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.edu-card .h3 {
  margin-bottom: 10px;
}

.edu-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.45;
}

.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;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--bg-50);
  font-size: 14px;
  color: var(--ink-900);
  line-height: 1.4;
  font-weight: 500;
}

.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);
}

.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,
  .edu-grid,
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1199px) {
  .history-chart__axis {
    display: none;
  }

  .history-chart__frame {
    display: block;
  }

  .history-chart__spine {
    display: none;
  }

  .history-chart__list {
    display: flex;
    flex-direction: column;
  }

  .history-chart__item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 16px;
    padding-bottom: 28px;
  }

  .history-chart__item:last-child {
    padding-bottom: 0;
  }

  .history-chart__node {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .history-chart__card,
  .history-chart__item:nth-child(odd) .history-chart__card,
  .history-chart__item:nth-child(even) .history-chart__card {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .history-chart__year {
    font-size: 16px;
    white-space: normal;
  }

  .history-chart__card .h3 {
    font-size: 20px;
  }

  .history-chart__card p {
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  .jobs-grid,
  .awards-gallery,
  .certs-grid {
    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,
  .edu-grid,
  .infra-grid {
    grid-template-columns: 1fr;
  }

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

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

  .value-card {
    min-height: 200px;
  }

  .staff-stats,
  .staff-social {
    grid-template-columns: 1fr;
  }

  .staff-split,
  .quality-lab__grid {
    grid-template-columns: 1fr;
  }

  .quality-lab__copy {
    order: 1;
  }

  .quality-lab__media {
    order: 2;
    max-width: 360px;
    justify-self: center;
  }

  .staff-intro {
    padding: 40px 0 56px;
  }

  .staff-intro__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "crumbs"
      "copy"
      "media"
      "awards";
    gap: 24px;
  }

  .staff-intro__crumbs {
    margin-bottom: 0;
  }

  .staff-intro__media img {
    aspect-ratio: 4 / 5;
  }

  .staff-intro__awards {
    padding-top: 0;
  }

  .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;
  }

  .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;
  }

  .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;
  }
}

