/* =========================================================
   БППИУ — вёрстка по макету заказчика
   ========================================================= */

:root {
  --color-yellow: #FFA800;
  --color-black: #000000;
  --color-dark: #101112;
  --color-white: #FEFEFE;
  --color-gray: #EBECEC;
  --color-text-gray: #6B6B6B;
  --color-muted: #9A9A9A;
  --font: "Golca", "Segoe UI", Arial, sans-serif;
  --container: 1440px;
  --page-gutter: clamp(1.5rem, 4.5vw, 3.75rem);
  --header-h: 78px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Golca";
  src:
    url("../fonts/Golca-Medium.woff2") format("woff2"),
    url("../fonts/Golca-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Пока есть только Golca Medium — жирность синтезируем явно */
.font-bold,
h1, h2, h3,
.eyebrow,
.btn,
.num,
.principles__title,
.stats__value,
.about__features h3,
.header__phones a {
  font-weight: 700;
  font-synthesis: weight;
  -webkit-text-stroke: 0.4px currentColor;
  paint-order: stroke fill;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
  position: relative;
}
main {
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, address { margin: 0; font-style: normal; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-yellow); color: #000; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 41px;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg {
  flex-shrink: 0;
  display: block;
}
.btn:hover { transform: translateY(-1px); }
.btn--yellow { background: var(--color-yellow); color: #000; }
.btn--yellow:hover { background: #FFBC33; color: #000; }
.btn--dark { background: var(--color-dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--color-yellow);
  color: #fff;
}
.btn--outline:hover {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: #000;
}
.btn--glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 168, 0, 0.95);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.btn--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-130%);
  animation: glass-shine 2.1s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.btn--glass:hover {
  background: rgba(255, 168, 0, 0.22);
  border-color: var(--color-yellow);
  color: #fff;
}
@keyframes glass-shine {
  0% { transform: translateX(-130%); }
  55% { transform: translateX(220%); }
  100% { transform: translateX(220%); }
}
.btn--outline-yellow {
  background: transparent;
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}
.btn--outline-yellow:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: var(--color-yellow);
}

.btn--header {
  min-height: 34px;
  padding: .4rem .85rem;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn--block { width: 100%; }
.btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.eyebrow {
  color: var(--color-yellow);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.services__title,
.projects__title,
.partners__title,
.reviews__title {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.testing__title {
  margin-bottom: clamp(0.75rem, 1.5vw, 1.125rem);
}
.stats__title {
  margin-bottom: clamp(1.275rem, 2.55vw, 1.9125rem);
}

.section { padding: clamp(4.25rem, 7vw, 6.5rem) 0; }

.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.section__head--light h2 { color: #fff; }
.section__line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--color-yellow);
}

.num {
  color: var(--color-yellow);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 11, 12, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  height: 52px;
  max-width: min(280px, 36vw);
  object-fit: contain;
}
.site-footer .logo img {
  height: 42px;
  max-width: 220px;
}

.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a {
  color: rgba(254,254,254,.82);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: var(--color-yellow); }
.nav__phones { display: none; }
.nav-backdrop {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  line-height: 1.2;
}

.header__phones a {
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.header__phones a:hover { color: var(--color-yellow); }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block; width: 22px; height: 2px;
  margin: 5px auto; background: #fff;
  transition: transform .25s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
/* Первый экран: меню (fixed) + обложка + преимущества = 100vh */
.first-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--color-dark);
  padding-top: var(--header-h);
}

.hero__bg { position: absolute; inset: 0; }
.hero__bg > img:first-child {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(16,17,18,.35) 0%, transparent 40%, rgba(16,17,18,.55) 100%);
}
.hero__mark {
  position: absolute;
  right: 38%;
  top: 50%;
  transform: translateY(-50%);
  width: min(43.2vw, 504px);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(255, 168, 0, 0.08));
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  padding-block: clamp(1rem, 2.5vh, 2.5rem) clamp(1rem, 2vh, 2rem);
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.65rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  max-width: none;
  white-space: normal;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-yellow);
  font-size: 1.18em;
  display: inline-block;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero__title--mobile { display: none; }
.hero__line {
  white-space: nowrap;
}

.hero__lead {
  max-width: 42rem;
  color: rgba(254,254,254,.88);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  margin-bottom: 2rem;
}
.hero__accent {
  color: var(--color-yellow);
  font-weight: 700;
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.35rem; }
.hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .95rem;
  transition: color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
  opacity: .92;
}
.hero__cta-link svg {
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.hero__cta-link:hover {
  color: var(--color-yellow);
  opacity: 1;
  transform: translateY(-1px);
}
.hero__cta-link:hover svg {
  transform: translateX(3px);
}

.hero__labels {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__rail {
  --rail-pad: 1.75rem;
  --rail-dot: 10px;
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding-left: var(--rail-pad);
}

.hero__rail::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-dot) / 2);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 168, 0, .55);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__rail span {
  position: relative;
  color: rgba(254,254,254,.9);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__rail span::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--rail-pad));
  top: 50%;
  width: var(--rail-dot);
  height: var(--rail-dot);
  border: 1px solid var(--color-yellow);
  border-radius: 50%;
  background: var(--color-dark);
  transform: translateY(-50%);
  box-sizing: border-box;
  z-index: 1;
}

/* Advantages */
.advantages {
  background: var(--color-gray);
  border-bottom: 1px solid rgba(0,0,0,.04);
  flex-shrink: 0;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: clamp(1.6rem, 3.2vh, 2.4rem);
}
.advantages__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 1.35rem;
}
.advantages__item:first-child { padding-left: 0; }
.advantages__item:last-child { padding-right: 0; }
.advantages__item + .advantages__item {
  border-left: 1px solid #c9caca;
}
.advantages__item img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.advantages__item strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: .28rem;
}
.advantages__item span {
  color: var(--color-text-gray);
  font-size: .88rem;
}

/* Principles — quote over photo */
.principles {
  background: #f4f4f4;
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
}
.principles__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
}
.principles__title {
  color: var(--color-yellow);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.principles__list { display: grid; gap: 1.35rem; }
.principles__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.principles__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.principles__list .num {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
}
.principles__list h3 {
  font-size: 1rem;
  margin-bottom: .3rem;
}
.principles__list p {
  color: var(--color-text-gray);
  font-size: .9rem;
  line-height: 1.45;
}

.principles__media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}
.principles__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.55) 28%,
    rgba(255, 255, 255, 0.18) 52%,
    transparent 72%
  );
  pointer-events: none;
}
.principles__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.principles__quote {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  right: auto;
  bottom: auto;
  z-index: 2;
  max-width: min(88%, 560px);
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: transparent;
  color: var(--color-dark);
  padding: 0;
  box-shadow: none;
}
.principles__quote-mark {
  flex-shrink: 0;
  display: block;
  width: 36px;
  height: 28px;
  color: var(--color-yellow);
  margin-top: .15rem;
}
.principles__quote-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.principles__quote p {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.principles__quote-mobile { display: none; }

/* About */
.about {
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-areas:
    "intro photo"
    "features photo";
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}
.about__intro {
  grid-area: intro;
  min-width: 0;
}
.about__intro h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0;
}
.about__intro .eyebrow {
  font-size: .78rem;
  margin-bottom: .7rem;
}
.about__title--mobile { display: none; }
.about__features {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-self: end;
}
.about__features article {
  padding: 0 1.15rem;
}
.about__features article:first-child {
  padding-left: 0;
}
.about__features article:last-child {
  padding-right: 0;
}
.about__features article + article {
  border-left: 1px solid #c9caca;
}
.about__features article img {
  width: 47px;
  height: 47px;
  display: block;
}
.about__features h3 {
  font-size: .95rem;
  margin: .65rem 0 .3rem;
}
.about__features p {
  color: var(--color-text-gray);
  font-size: .82rem;
  line-height: 1.4;
}
.about__photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  height: auto;
  align-self: stretch;
  margin: 0;
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .7s var(--ease);
}
.about__photo:hover img { transform: scale(1.03); }

/* Services */
.services {
  background: var(--color-dark);
  color: #fff;
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.service {
  position: relative;
  min-height: 460px;
  padding: 1.75rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-dark);
  transition: box-shadow .45s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg) center / cover no-repeat;
  transform: scale(1.001);
  transition: transform .85s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16,17,18,.94) 0%, rgba(16,17,18,.55) 45%, rgba(16,17,18,.9) 100%);
  transition: background .45s var(--ease), opacity .45s var(--ease);
  pointer-events: none;
}
.service > * {
  position: relative;
  z-index: 2;
}
.service .num {
  margin-bottom: 1.1rem;
  transition: color .35s var(--ease), transform .45s var(--ease);
}
.service h3 {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  max-width: 13ch;
  transition: transform .45s var(--ease), color .35s var(--ease);
}
.service ul {
  margin-top: auto;
  display: grid;
  gap: .5rem;
}
.service li {
  position: relative;
  padding-left: .85rem;
  color: rgba(254,254,254,.72);
  font-size: .88rem;
  line-height: 1.4;
  transition: color .35s var(--ease), transform .45s var(--ease);
}
.service li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 1px;
  background: var(--color-yellow);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.service:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 168, 0, .35);
}
.service:hover::before {
  transform: scale(1.08);
}
.service:hover::after {
  background: linear-gradient(180deg, rgba(16,17,18,.78) 0%, rgba(16,17,18,.38) 42%, rgba(16,17,18,.88) 100%);
}
.service:hover .num {
  color: var(--color-yellow);
  transform: translateY(-2px);
}
.service:hover h3 {
  transform: translateY(-2px);
}
.service:hover li {
  color: rgba(254,254,254,.92);
}
.service:hover li::before {
  width: 10px;
}

/* Testing */
.testing {
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
}
.testing__grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.testing__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testing__col {
  padding-top: 0;
}
.testing__col-head {
  display: contents;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.testing__toggle {
  display: none;
}
.testing__panel {
  display: contents;
}
.testing__col img {
  width: 48px;
  height: 48px;
  margin-bottom: .55rem;
  filter: brightness(0);
}
.testing__col h3 {
  font-size: 1rem;
  margin-bottom: .55rem;
  min-height: 0;
  line-height: 1.25;
}
.testing__col ul,
.testing__list { display: grid; gap: .28rem; }
.testing__col li {
  position: relative;
  padding-left: .85rem;
  color: var(--color-text-gray);
  font-size: .82rem;
  line-height: 1.3;
}
.testing__col li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-yellow);
}
.testing__title--mobile { display: none; }
.testing__photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}
.testing__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 28%,
    rgba(255, 255, 255, 0.28) 55%,
    transparent 78%
  );
  pointer-events: none;
}
.testing__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats */
.stats {
  background: var(--color-black);
  color: #fff;
  padding-top: clamp(1.806rem, 2.975vw, 2.7625rem);
  padding-bottom: clamp(1.806rem, 2.975vw, 2.7625rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
  border-left: 1px solid transparent;
}
.stats__item + .stats__item {
  border-left-color: #3a3a3a;
}
.stats__value {
  color: var(--color-yellow);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .45rem;
  width: 100%;
  text-align: center;
}
.stats__unit {
  font-size: 0.6667em;
  letter-spacing: 0;
  font-weight: 700;
}
.stats__label {
  color: var(--color-muted);
  font-size: .8rem;
  line-height: 1.35;
  width: 100%;
  text-align: center;
}

/* Projects */
.projects {
  background: #f7f7f7;
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
  overflow: hidden;
}
.projects__carousel {
  --projects-gap: 1rem;
  --projects-visible: 6;
  container-type: inline-size;
  container-name: projects;
  overflow: hidden;
  width: min(var(--container), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}
.projects__track {
  display: flex;
  gap: var(--projects-gap);
  width: max-content;
  will-change: transform;
}
.project {
  background: #fff;
  flex: 0 0 calc((100cqi - (var(--projects-visible) - 1) * var(--projects-gap)) / var(--projects-visible));
  min-width: 0;
  cursor: pointer;
  outline: none;
}
.project:focus-visible {
  box-shadow: 0 0 0 2px var(--color-yellow);
}
.project figure {
  position: relative;
  overflow: hidden;
  background: #ddd;
  border-radius: 2px;
  margin: 0;
}
.project img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
  border-radius: 2px;
}
.project:hover img { transform: scale(1.05); }
.project__count {
  position: absolute;
  right: .45rem;
  bottom: .45rem;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .35rem;
  display: inline-grid;
  place-items: center;
  background: rgba(16, 17, 18, .78);
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  border-radius: 2px;
  pointer-events: none;
}
.project__body { padding: 0.75rem 0.8rem 0.9rem; }
.project h3 {
  font-size: 0.88rem;
  line-height: 1.25;
  margin-bottom: .25rem;
}
.project__meta {
  color: var(--color-text-gray);
  font-size: .75rem;
  line-height: 1.3;
}

/* Partners */
.partners {
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
  overflow: hidden;
}
.partners__carousel {
  --partners-gap: 2.5rem;
  overflow: hidden;
  width: min(var(--container), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners__track {
  display: flex;
  align-items: center;
  gap: var(--partners-gap);
  width: max-content;
  animation: partners-marquee 35s linear infinite;
  will-change: transform;
}
.partners__carousel:hover .partners__track {
  animation-play-state: paused;
}
.partners__logo {
  --partner-h: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--partner-h);
  opacity: 0.62;
  filter: grayscale(1) contrast(1.05);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.partners__logo:hover {
  opacity: 0.95;
  filter: grayscale(0.35) contrast(1.05);
}
.partners__logo img {
  display: block;
  height: var(--partner-h);
  width: auto;
  max-width: min(220px, 28vw);
  max-height: var(--partner-h);
  object-fit: contain;
  object-position: center center;
  margin: 0;
  flex-shrink: 0;
}
.partners__logo--square img {
  width: var(--partner-h);
  height: var(--partner-h);
  max-width: var(--partner-h);
}

@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--partners-gap) / 2)); }
}

/* Reviews */
.reviews {
  background: #fff;
  padding-top: clamp(2.125rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2.125rem, 3.5vw, 3.25rem);
  overflow: hidden;
}
.reviews__carousel {
  --reviews-gap: .75rem;
  --reviews-visible: 5.4;
  container-type: inline-size;
  container-name: reviews;
  width: min(var(--container), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
  overflow: hidden;
}
.reviews__track {
  display: flex;
  gap: var(--reviews-gap);
  width: max-content;
  /* ~как партнёры по скорости: 35s на ~9 лого → ~86s на 22 отзыва, с запасом */
  animation: reviews-marquee 100s linear infinite;
  will-change: transform;
}
.reviews__carousel:hover .reviews__track {
  animation-play-state: paused;
}
.review-thumb {
  flex: 0 0 auto;
  width: calc((100cqi - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
  padding: 0;
  border: 1px solid rgba(16, 17, 18, .08);
  background: #f3f3f3;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.review-thumb:hover {
  border-color: var(--color-yellow);
  box-shadow: 0 6px 18px rgba(16, 17, 18, .12);
}
.review-thumb img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #fff;
  pointer-events: none;
}

@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--reviews-gap) / 2)); }
}

/* Bottom triad: docs | form | contacts — как на макете */
.bottom-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr;
  grid-template-areas:
    "docs form contacts"
    "footer footer contacts";
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16,17,18,.78) 0%, rgba(16,17,18,.72) 100%),
    url("../images/contacts-bg.jpg") center / cover no-repeat;
}
.bottom-band__docs { grid-area: docs; }
.bottom-band__form { grid-area: form; }
.bottom-band__contacts { grid-area: contacts; }
.bottom-band > .site-footer { grid-area: footer; }
.bottom-band__inner {
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.25rem, 2.5vw, 2rem);
  height: 100%;
}
.bottom-band h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.bottom-band__title {
  color: var(--color-yellow);
  font-size: .78rem;
  margin-bottom: 1.25rem;
}

.bottom-band__docs {
  background: transparent;
}
.bottom-band__contacts {
  background: transparent;
  min-height: 100%;
}
.documents__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .55rem;
  margin-bottom: 1.35rem;
}
.doc-thumb {
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  background: #111;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease);
}
.doc-thumb:hover {
  border-color: var(--color-yellow);
  transform: translateY(-2px);
}
.doc-thumb img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 41px;
  padding: .7rem 1.25rem;
  border: 1px solid var(--color-yellow);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.link-arrow__icon {
  color: var(--color-yellow);
  transition: color .25s var(--ease);
}
.link-arrow:hover {
  background: var(--color-yellow);
  color: #000;
  transform: translateY(-1px);
}
.link-arrow:hover .link-arrow__icon {
  color: #000;
}

.bottom-band__form {
  background: var(--color-yellow);
  color: #000;
}
.bottom-band__form .bottom-band__inner {
  padding-bottom: clamp(1.125rem, 2vw, 1.625rem);
}
.bottom-band__form .checkbox {
  margin-bottom: 0;
}
.bottom-band__form h2 {
  color: #000;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.25;
  margin-bottom: 1.15rem;
  font-weight: 800;
  -webkit-text-stroke: 0.55px currentColor;
  paint-order: stroke fill;
  font-synthesis: weight;
}

.lead-form { display: grid; gap: .75rem; position: relative; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: .8rem .95rem;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  font-size: .85rem;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  font-size: .8rem;
  color: #8a8a8a;
  opacity: 1;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #000;
  outline-offset: 0;
}
.form-row input.is-invalid,
.form-row textarea.is-invalid { outline: 2px solid #b00020; }

.file-field {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: .45rem .9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.file-field:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.file-field:focus-within {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.file-field:focus-within .file-field__icon {
  color: #fff;
}
.file-field.is-invalid {
  border-color: #7a0010;
  color: #7a0010;
}
.file-field.is-invalid .file-field__icon {
  color: #7a0010;
}
.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.file-field__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #fff;
  transition: color .2s var(--ease);
}
.file-field:hover .file-field__icon {
  color: #fff;
}
.file-field__name {
  min-width: 0;
  max-width: 100%;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-field__name.is-filled {
  color: #fff;
}
.file-field.is-filled .file-field__icon {
  color: #fff;
}

.form-row--captcha input {
  width: 100%;
  min-height: 48px;
  padding: .8rem .95rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font-size: .85rem;
}
.form-row--captcha input::placeholder {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}
.form-row--captcha input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.form-row--captcha input.is-invalid {
  border-color: #7a0010;
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__submit {
  background: #000;
  color: #fff;
  gap: .55rem;
}
.lead-form__submit svg {
  color: var(--color-yellow);
}
.lead-form__submit:hover {
  background: #111;
  color: #fff;
}

.checkbox {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(0,0,0,.75);
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  margin-top: .15rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid #000;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.checkbox input::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}
.checkbox input:checked {
  background: #000;
  border-color: #000;
}
.checkbox input:checked::after {
  opacity: 1;
}
.checkbox input:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.checkbox a { text-decoration: underline; color: #000; }
.checkbox.is-invalid { color: #7a0010; }
.checkbox.is-invalid input {
  border-color: #7a0010;
}

.form-status { font-size: .9rem; font-weight: 700; }
.form-status.is-success { color: #0a5c2a; }
.form-status.is-error { color: #7a0010; }

.contacts__company {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
}
.contacts__address {
  margin: 0 0 1.15rem;
  color: rgba(254,254,254,.9);
  font-size: .88rem;
  line-height: 1.45;
}
.contacts__label {
  display: block;
  color: var(--color-muted);
  font-weight: 400;
  font-size: .78rem;
  margin-bottom: .2rem;
}
.contacts__links {
  display: grid;
  gap: .45rem;
  margin-bottom: 1.25rem;
}
.contacts__links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(254,254,254,.92);
  font-weight: 600;
  font-size: .95rem;
}
.contacts__links a img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.contacts__links a:hover { color: var(--color-yellow); }
.contacts__requisites {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.1rem;
  color: var(--color-muted);
  font-size: .8rem;
  line-height: 1.45;
  display: grid;
  gap: .3rem;
}
.contacts__requisites p { margin: 0; }

.ui-sign {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ui-sign a {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.ui-sign a:hover {
  color: var(--color-yellow);
}

/* Footer */
.site-footer {
  background: rgba(10, 10, 10, .92);
  color: #fff;
  padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
}
.footer__brand .logo img {
  width: min(180px, 100%);
  height: auto;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.1rem;
}
.footer__nav a {
  color: rgba(254,254,254,.75);
  font-size: .82rem;
}
.footer__nav a:hover { color: var(--color-yellow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--color-muted);
  font-size: .78rem;
}

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 1.25rem;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
}
.modal__dialog {
  position: relative; z-index: 1;
  width: min(100%, 640px);
  max-height: 90vh; overflow: auto;
  background: var(--color-dark);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1rem;
}
.modal__close {
  position: absolute; top: .4rem; right: .6rem;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  color: #fff; font-size: 2rem; cursor: pointer;
}
.modal__dialog img { width: 100%; }

.modal--vacancies {
  padding: 1rem;
  align-items: start;
  overflow-y: auto;
}
.modal--vacancies .modal__dialog,
.vacancies-modal {
  width: min(100%, 560px);
  max-height: none;
  margin: min(8vh, 3rem) auto;
  padding: 0;
  overflow: hidden;
  background: #101112;
  border: 1px solid rgba(255,255,255,.1);
}
.vacancies-modal__close {
  color: #fff;
  z-index: 2;
  top: .65rem;
  right: .75rem;
}
.vacancies-modal__intro {
  padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.5rem, 4.5vw, 2.25rem) 1.5rem;
  color: #fff;
}
.vacancies-modal__intro h2 {
  margin: 0 0 1rem;
  padding-right: 2.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.vacancies-modal__intro p {
  margin: 0 0 .85rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.5;
}
.vacancies-modal__intro p:last-child {
  margin-bottom: 0;
}
.vacancies-modal__form {
  background: var(--color-yellow);
  color: #000;
  padding: clamp(1.35rem, 3.5vw, 1.75rem) clamp(1.5rem, 4.5vw, 2.25rem) clamp(1.5rem, 3.5vw, 1.85rem);
}
.vacancies-modal__form .checkbox a { color: #000; }
.vacancies-modal__form .file-field {
  border-color: rgba(0,0,0,.35);
  color: #000;
}
.vacancies-modal__form .file-field:hover,
.vacancies-modal__form .file-field:focus-within {
  border-color: #000;
  background: rgba(0,0,0,.06);
  color: #000;
}
.vacancies-modal__form .file-field__icon,
.vacancies-modal__form .file-field:focus-within .file-field__icon {
  color: #000;
}
.vacancies-modal__form .file-field__name {
  color: inherit;
}
.vacancies-modal__form .form-row--captcha input {
  border: 1px solid rgba(0,0,0,.35);
  background: transparent;
  color: #000;
}
.vacancies-modal__form .form-row--captcha input::placeholder {
  color: rgba(0,0,0,.55);
  opacity: 1;
}
.vacancies-modal__form .form-row--captcha input:focus {
  outline: none;
  border-color: #000;
  background: rgba(0,0,0,.06);
  color: #000;
}
.vacancies-modal__form .form-row--captcha input.is-invalid {
  border-color: #7a0010;
  color: #7a0010;
}

/* ---------- Vacancies page ---------- */
.page-vacancies {
  background: var(--color-gray);
}
.vacancy-page {
  padding-top: 0;
  background: transparent;
}
.vacancy-page__hero {
  padding: calc(var(--header-h) + clamp(1.5rem, 3.5vw, 2.5rem)) 0 clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(255,168,0,.14), transparent 55%),
    #101112;
}
.vacancy-page__hero .eyebrow {
  color: var(--color-yellow);
  margin-bottom: .75rem;
}
.vacancy-page__hero h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.vacancy-page__lead {
  margin: 0;
  max-width: none;
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.5;
  white-space: nowrap;
}
.vacancy-page__body {
  background: var(--color-gray);
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.vacancy-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}
.vacancy-card,
.vacancy-apply {
  min-width: 0;
  max-width: 100%;
}
.vacancy-card {
  background: #fff;
  border: 1px solid rgba(16,17,18,.08);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.vacancy-card__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(16,17,18,.08);
}
.vacancy-card__head h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.vacancy-card__salary {
  margin: 0 0 .25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
}
.vacancy-card__place {
  margin: 0;
  color: var(--color-text-gray);
}
.vacancy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.vacancy-meta dt {
  margin: 0 0 .2rem;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.vacancy-meta dd {
  margin: 0;
  color: var(--color-dark);
  font-size: .95rem;
  line-height: 1.35;
}
.vacancy-block {
  margin-bottom: 1.5rem;
}
.vacancy-block h3 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.vacancy-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vacancy-block li {
  position: relative;
  padding: .35rem 0 .35rem 1.1rem;
  color: var(--color-text-gray);
  line-height: 1.45;
}
.vacancy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--color-yellow);
  transform: translateY(-50%);
}
.vacancy-block li strong {
  color: var(--color-dark);
  font-weight: 700;
}
.vacancy-block--place p {
  margin: 0;
  color: var(--color-text-gray);
}
.vacancy-card__cta {
  margin-top: .5rem;
  display: inline-flex;
}
.vacancy-apply {
  position: sticky;
  top: calc(var(--header-h, 72px) + 1rem);
  background: #101112;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.vacancy-apply__intro {
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) 1.15rem;
  color: #fff;
}
.vacancy-apply__intro h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
}
.vacancy-apply__intro p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  line-height: 1.45;
}
.vacancy-apply__form {
  background: var(--color-yellow);
  color: #000;
  padding: clamp(1.25rem, 3vw, 1.6rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.35rem, 3vw, 1.75rem);
}
.vacancy-apply__form .checkbox a { color: #000; }
.vacancy-apply__form .file-field {
  border-color: rgba(0,0,0,.35);
  color: #000;
}
.vacancy-apply__form .file-field:hover,
.vacancy-apply__form .file-field:focus-within {
  border-color: #000;
  background: rgba(0,0,0,.06);
  color: #000;
}
.vacancy-apply__form .file-field__icon,
.vacancy-apply__form .file-field:focus-within .file-field__icon {
  color: #000;
}
.vacancy-apply__form .file-field__name { color: inherit; }
.vacancy-apply__form .form-row--captcha input {
  border: 1px solid rgba(0,0,0,.35);
  background: transparent;
  color: #000;
}
.vacancy-apply__form .form-row--captcha input::placeholder {
  color: rgba(0,0,0,.55);
  opacity: 1;
}
.vacancy-apply__form .form-row--captcha input:focus {
  outline: none;
  border-color: #000;
  background: rgba(0,0,0,.06);
  color: #000;
}
.vacancy-apply__form .form-row--captcha input.is-invalid {
  border-color: #7a0010;
  color: #7a0010;
}
.vacancy-apply__form .form-row--split {
  grid-template-columns: 1fr;
}
.vacancy-footer {
  margin: 0;
  border-top: 0;
  background: #0a0a0a;
  padding: 1.5rem 0 0;
}
.vacancy-footer .footer__grid,
.vacancy-footer .footer__bottom {
  padding-left: 0;
  padding-right: 0;
}
.vacancy-footer .footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0 1.25rem;
  align-items: flex-end;
}
.vacancy-footer .footer__legal {
  display: grid;
  gap: .35rem;
}
.vacancy-footer .footer__legal p {
  margin: 0;
}
.vacancy-footer .footer__legal a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.vacancy-footer .footer__legal a:hover {
  color: var(--color-yellow);
}
.vacancy-footer .ui-sign {
  margin-top: 0;
  padding: 0;
  border-top: 0;
  text-align: right;
}

@media (max-width: 960px) {
  .vacancy-page__layout {
    grid-template-columns: 1fr;
  }
  .vacancy-page__lead {
    white-space: normal;
  }
  .vacancy-apply {
    position: static;
  }
  .vacancy-meta {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .vacancy-card__cta {
    display: none;
  }
}

@media (min-width: 1100px) {
  .vacancy-apply__form .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.modal--project .modal__dialog {
  width: min(100%, 920px);
  padding: 0;
  background: #101112;
  overflow: hidden;
}
.project-modal__stage {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 10;
  max-height: min(68vh, 620px);
}
.project-modal__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.project-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 2px;
  background: rgba(16, 17, 18, .72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.project-modal__nav:hover { background: rgba(255, 168, 0, .92); color: #101112; }
.project-modal__nav--prev { left: .65rem; }
.project-modal__nav--next { right: .65rem; }
.project-modal__nav[hidden] { display: none; }
.project-modal__thumbs {
  display: flex;
  gap: .4rem;
  padding: .65rem .85rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.project-modal__thumbs[hidden] { display: none; }
.project-modal__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}
.project-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-modal__thumb.is-active {
  border-color: var(--color-yellow);
}
.project-modal__caption {
  padding: .85rem 1rem 1.05rem;
  color: #fff;
}
.project-modal__counter {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  margin: 0 0 .35rem;
}
.project-modal__caption h3 {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 .25rem;
}
.project-modal__meta {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.35;
}
.project-modal__meta:empty { display: none; }
.modal--project .modal__close {
  z-index: 3;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

@media (max-width: 700px) {
  .project-modal__stage {
    aspect-ratio: 4 / 3;
    max-height: 52vh;
  }
  .project-modal__nav {
    width: 36px;
    height: 36px;
  }
  .project-modal__thumb {
    width: 56px;
    height: 40px;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .project img, .about__photo img, .btn,
  .service::before, .service::after, .service .num, .service h3, .service li, .service li::before,
  .nav, .nav-backdrop, .btn--glass::before {
    transition: none !important; animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .service:hover::before { transform: none; }
  .partners__track { animation: none !important; }
  .reviews__track { animation: none !important; }
}

/* Responsive */
@media (max-width: 1180px) {
  .site-header {
    z-index: 130;
  }
  .burger {
    display: inline-block;
    position: relative;
    z-index: 140;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 82vw);
    z-index: 125;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-h) + 1.75rem) 1.5rem 2rem;
    background: #101112;
    border-right: 1px solid rgba(255, 168, 0, 0.28);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translate3d(-100%, 0, 0);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }
  .nav.is-open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  .nav > a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .85rem;
    letter-spacing: .12em;
    white-space: normal;
  }
  .nav > a:last-of-type {
    border-bottom: 0;
  }
  .nav__phones {
    display: grid;
    gap: .55rem;
    margin-top: auto;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 168, 0, 0.25);
  }
  .nav__phones a {
    color: var(--color-yellow);
    font-size: .95rem;
    letter-spacing: .02em;
    text-transform: none;
    white-space: nowrap;
  }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stats__item + .stats__item { border-left-color: #3a3a3a; }
  .stats__item:nth-child(4n + 1) { border-left-color: transparent; }
  .projects__carousel { --projects-visible: 4; }
  .reviews__carousel { --reviews-visible: 4.2; }
  .documents__thumbs { grid-template-columns: repeat(5, 1fr); max-width: 520px; }
}

@media (max-width: 900px) {
  :root {
    --header-h: 78px;
    --page-gutter: 1.25rem;
  }

  .header__phones { display: none; }
  .site-header {
    padding-top: max(0.55rem, env(safe-area-inset-top));
  }
  .header__inner {
    gap: .75rem;
    min-height: 58px;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.55rem;
  }
  .logo {
    margin-right: auto;
    padding-top: 0.15rem;
  }
  .logo img {
    height: 40px;
    max-width: min(180px, 48vw);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.5rem 1.75rem;
  }
  .hero__labels { display: none; }
  .hero__mark {
    left: auto;
    right: -12%;
    top: 48%;
    transform: translateY(-50%);
    width: min(105vw, 550px);
    opacity: 0.14;
  }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.62) 100%),
      linear-gradient(180deg, rgba(16,17,18,.55) 0%, rgba(16,17,18,.28) 45%, rgba(16,17,18,.7) 100%);
  }
  .hero .eyebrow,
  .hero h1,
  .hero__lead {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 4px 18px rgba(0, 0, 0, .35);
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
    margin-bottom: 1rem;
    line-height: 1.15;
  }
  .hero__title--desktop { display: none; }
  .hero__title--mobile { display: block; }
  .hero h1 em {
    font-size: 1em;
    letter-spacing: inherit;
  }
  .hero__line { white-space: normal; }
  .hero__lead-break { display: block; }
  .hero__lead .hero__accent {
    display: inline;
  }
  .hero__lead {
    font-size: .95rem;
    margin-bottom: 1.35rem;
    line-height: 1.35;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
  }
  .hero__cta .btn {
    width: 100%;
    flex: none;
    padding: .75rem 1.1rem;
    font-size: .88rem;
    letter-spacing: .02em;
    gap: .45rem;
  }
  .hero__cta-link {
    width: auto;
    align-self: flex-start;
    font-size: .9rem;
    padding: .15rem 0;
  }
  .hero__cta-link svg {
    width: 16px;
    height: 16px;
  }

  .advantages__grid {
    grid-template-columns: 1fr 1fr;
  }
  .advantages__item {
    padding: 0.85rem 1rem;
  }
  .advantages__item:first-child,
  .advantages__item:last-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .advantages__item + .advantages__item {
    border-left: 0;
  }
  .advantages__item:nth-child(even) {
    border-left: 1px solid #c9caca;
  }
  .advantages__item:nth-child(n + 3) {
    border-top: 1px solid #c9caca;
  }
  .advantages__item img {
    width: 40px;
    height: 40px;
  }
  .advantages__item strong { font-size: .95rem; line-height: 1.15; margin-bottom: .28rem; }
  .advantages__item span { font-size: .8rem; line-height: 1.15; display: block; }
  .advantages__item > div {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
  }

  .principles__grid,
  .about__grid,
  .testing__grid {
    grid-template-columns: 1fr;
  }
  .principles {
    padding-top: 0;
    overflow-x: clip;
  }
  .principles__grid {
    gap: 1.5rem;
  }
  .principles__media {
    order: -1;
    width: calc(100% + 2 * var(--page-gutter));
    max-width: none;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .principles__media::before {
    display: none;
  }
  .principles__media > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100px;
    object-fit: cover;
    object-position: center 35%;
    flex-shrink: 0;
    display: block;
    margin: 0;
  }
  .principles__quote {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.65rem var(--page-gutter) 0;
    gap: .5rem;
    background: none;
  }
  .principles__quote p {
    font-size: .86rem;
    line-height: 1.35;
    margin: 0;
  }
  .principles__quote-desktop { display: none; }
  .principles__quote-mobile { display: inline; }
  .principles__quote-mark {
    width: 28px;
    height: 22px;
  }
  .principles__title {
    margin-top: .35rem;
    margin-bottom: 1.15rem;
  }
  .principles__list {
    gap: 1.1rem;
  }
  .principles__list li {
    padding-bottom: 1rem;
  }
  .testing__photo {
    width: calc(100% + 2 * var(--page-gutter));
    max-width: none;
    margin: 0 calc(-1 * var(--page-gutter));
    min-height: 0;
    aspect-ratio: 2 / 1;
    height: auto;
  }
  .testing__photo::before {
    display: none;
  }
  .testing__grid {
    gap: 1rem;
  }
  .testing {
    padding-bottom: 0;
  }
  .testing .container {
    padding-bottom: 0;
  }
  .about__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "photo"
      "features";
    gap: 1.15rem;
  }
  .about__title--desktop { display: none; }
  .about__title--mobile { display: block; }
  .about__intro h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    margin-bottom: 0;
  }
  .about__features {
    grid-template-columns: 1fr;
  }
  .about__features article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem 0.9rem;
    align-items: start;
    padding: 0.95rem 0;
  }
  .about__features article + article {
    border-left: 0;
    border-top: 1px solid #c9caca;
  }
  .about__features article img {
    width: 40px;
    height: 40px;
    margin-top: .1rem;
  }
  .about__features h3 {
    margin: 0 0 .25rem;
    font-size: .92rem;
    line-height: 1.25;
  }
  .about__features p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.35;
  }
  .about__photo {
    width: calc(100% + 2 * var(--page-gutter));
    max-width: none;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    min-height: 0;
    height: auto;
    aspect-ratio: 2.1 / 1;
  }
  .about__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .testing__title--desktop { display: none; }
  .testing__title--mobile { display: inline; }
  .testing__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .testing__col {
    display: block;
    border-bottom: 1px solid #e4e4e4;
  }
  .testing__col:last-child {
    border-bottom: 0;
  }
  .testing__col-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .95rem 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .testing__col-head img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .testing__col-head h3 {
    min-height: 0;
    margin: 0;
    font-size: .95rem;
    line-height: 1.25;
    flex: 1 1 auto;
  }
  .testing__toggle {
    display: block;
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-left: .35rem;
  }
  .testing__toggle::before,
  .testing__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1a1a1a;
    border-radius: 1px;
    transition: transform .28s var(--ease), opacity .2s ease;
  }
  .testing__toggle::before {
    width: 14px;
    height: 1.5px;
    transform: translate(-50%, -50%);
  }
  .testing__toggle::after {
    width: 1.5px;
    height: 14px;
    transform: translate(-50%, -50%);
  }
  .testing__col.is-open .testing__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }
  .testing__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
  }
  .testing__panel > .testing__list {
    overflow: hidden;
    min-height: 0;
  }
  .testing__col.is-open .testing__panel {
    grid-template-rows: 1fr;
  }
  .testing__col ul,
  .testing__list {
    margin: 0;
    width: 100%;
    padding-bottom: 0;
  }
  .testing__col.is-open .testing__list {
    padding-bottom: .85rem;
  }
  .testing__cols { gap: 0; }
  .about,
  .testing,
  .bottom-band {
    overflow-x: clip;
  }

  .projects__carousel { --projects-visible: 2.2; }
  .project h3 { font-size: .9rem; }
  .project__meta { font-size: .78rem; }
  .reviews__carousel { --reviews-visible: 2.4; }

  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__item {
    padding: 0 .5rem .85rem;
  }
  .stats__item:nth-child(3n + 1) { border-left-color: transparent; }
  .stats__item:not(:nth-child(3n + 1)) { border-left-color: #3a3a3a; }
  .stats__item:nth-child(n + 4) {
    border-top: 1px solid #3a3a3a;
    padding-top: .85rem;
  }
  .stats__item:nth-child(7) {
    grid-column: 1 / -1;
    border-left-color: transparent;
    justify-self: center;
    width: 100%;
    max-width: 13rem;
  }
  .stats__value { font-size: clamp(1.25rem, 4vw, 1.7rem); }
  .stats__label { font-size: .72rem; }

  .partners__carousel {
    --partners-gap: 1.5rem;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .bottom-band {
    grid-template-columns: 1fr;
    grid-template-areas:
      "docs"
      "form"
      "contacts"
      "footer";
    /* На мобилке общий cover почти не виден в контактах — фон ставим точечно */
    background: #101112;
  }
  .bottom-band__docs {
    background: #101112;
  }
  .bottom-band__contacts {
    background:
      linear-gradient(180deg, rgba(16, 17, 18, .42) 0%, rgba(16, 17, 18, .55) 100%),
      url("../images/contacts-bg.jpg") center / cover no-repeat;
    background-color: #151617;
  }
  .bottom-band > .site-footer {
    background: #101112;
  }
  .bottom-band__inner {
    padding: 1.75rem var(--page-gutter);
  }
  .bottom-band__form .bottom-band__inner {
    padding-bottom: 2.75rem;
  }
  .bottom-band__contacts .bottom-band__inner {
    padding-top: 2.25rem;
  }
  .documents__thumbs {
    display: flex;
    gap: .55rem;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
    padding-bottom: .15rem;
  }
  .documents__thumbs::-webkit-scrollbar {
    display: none;
  }
  .doc-thumb {
    flex: 0 0 38%;
    max-width: 140px;
    scroll-snap-align: start;
  }
  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__nav {
    gap: .65rem .9rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero h1 {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  }
  .hero__lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .hero__rail {
    gap: 1.1rem;
  }
  .advantages__item img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 1.25rem;
  }

  .container,
  .hero__grid,
  .projects__carousel,
  .partners__carousel {
    width: min(100% - (var(--page-gutter) * 2), var(--container));
  }

  .first-screen {
    min-height: auto;
  }
  .hero {
    min-height: min(64dvh, 520px);
  }
  .hero__grid { padding-block: 1rem 1.1rem; }
  .hero__mark {
    display: block;
    left: auto;
    right: -18%;
    top: 46%;
    transform: translateY(-50%);
    width: min(120vw, 450px);
    opacity: 0.14;
  }
  .hero h1 {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
    margin-bottom: .85rem;
  }
  .hero h1 em {
    font-size: 1em;
  }
  .hero__lead {
    margin-bottom: 1.1rem;
  }
  .btn {
    min-height: 44px;
    padding: .75rem 1.1rem;
    font-size: .92rem;
  }

  .advantages__grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 0.7rem;
  }
  .advantages__item {
    padding: 0.6rem 0.55rem;
    align-items: center;
    flex-direction: row;
    gap: .55rem;
  }
  .advantages__item:first-child,
  .advantages__item:last-child {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .advantages__item + .advantages__item {
    border-left: 0;
  }
  .advantages__item:nth-child(even) {
    border-left: 1px solid #c9caca;
  }
  .advantages__item:nth-child(n + 3) {
    border-top: 1px solid #c9caca;
  }
  .advantages__item img {
    width: 32px;
    height: 32px;
  }
  .advantages__item strong {
    font-size: .78rem;
    line-height: 1.15;
    margin-bottom: .22rem;
  }
  .advantages__item span {
    font-size: .68rem;
    line-height: 1.15;
    display: block;
  }
  .advantages__item > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    line-height: 1.15;
  }

  .section,
  .about,
  .services,
  .stats,
  .projects,
  .partners {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .principles {
    padding-top: 0;
    padding-bottom: 1.75rem;
  }
  .testing {
    padding-top: 1.75rem;
    padding-bottom: 0;
  }
  .services__title,
  .projects__title,
  .partners__title,
  .reviews__title,
  .testing__title,
  .stats__title {
    margin-bottom: 1.1rem;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .service {
    min-height: 280px;
    padding: 1rem .75rem .9rem;
  }
  .service .num {
    margin-bottom: .55rem;
    font-size: 1.55rem;
  }
  .service h3 {
    font-size: .88rem;
    line-height: 1.2;
    margin-bottom: .7rem;
    max-width: none;
  }
  .service ul {
    gap: .28rem;
  }
  .service li {
    font-size: .7rem;
    line-height: 1.3;
    padding-left: .7rem;
  }
  .service li::before {
    top: .45em;
  }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item {
    padding: .65rem .4rem;
  }
  .stats__item:nth-child(2n + 1) { border-left-color: transparent; }
  .stats__item:not(:nth-child(2n + 1)) { border-left-color: #3a3a3a; }
  .stats__item:nth-child(n + 3) {
    border-top: 1px solid #3a3a3a;
    padding-top: .85rem;
  }
  .stats__item:nth-child(7) {
    grid-column: 1 / -1;
    border-left-color: transparent;
    justify-self: center;
    width: 100%;
    max-width: 12.5rem;
    padding-top: .95rem;
  }

  .projects__carousel {
    --projects-visible: 1.35;
    --projects-gap: .75rem;
  }
  .project__body { padding: .65rem .55rem .75rem; }
  .reviews__carousel {
    --reviews-visible: 1.55;
    --reviews-gap: .6rem;
  }

  .partners__logo {
    --partner-h: 32px;
  }
  .partners__logo img {
    max-width: 150px;
  }
  .partners__logo--square img {
    max-width: var(--partner-h);
  }

  .form-row--split { grid-template-columns: 1fr; }
  .documents__thumbs {
    gap: .5rem;
  }
  .doc-thumb {
    flex: 0 0 42%;
    max-width: 132px;
  }
  .link-arrow {
    width: 100%;
  }
  .lead-form__submit {
    width: 100%;
  }
  .contacts__company { font-size: .9rem; }
  .contacts__links a { font-size: .9rem; }
  .contacts__requisites { font-size: .75rem; }

  .site-footer {
    padding: 1.25rem var(--page-gutter) 0;
  }
  .site-footer .logo img {
    height: 36px;
    max-width: 180px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.05rem;
  }
  .hero h1 em {
    font-size: 1em;
  }
  .hero {
    min-height: min(60dvh, 480px);
  }
  .stats__item:nth-child(7) {
    max-width: 11rem;
  }
  .projects__carousel { --projects-visible: 1.15; }
  .reviews__carousel { --reviews-visible: 1.35; }
  .doc-thumb {
    flex: 0 0 48%;
    max-width: 120px;
  }
}

body.menu-open { overflow: hidden; }

/* ---------- Content lock (согласование с заказчиком) ---------- */
html.is-content-locked,
html.is-content-locked body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
html.is-content-locked input,
html.is-content-locked textarea,
html.is-content-locked select,
html.is-content-locked [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
html.is-content-locked img,
html.is-content-locked picture,
html.is-content-locked video,
html.is-content-locked canvas,
html.is-content-locked svg {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
html.is-content-locked ::selection {
  background: transparent;
  color: inherit;
}
html.is-content-locked input::selection,
html.is-content-locked textarea::selection {
  background: rgba(255, 168, 0, 0.35);
  color: inherit;
}
