:root {
  --ink: #071018;
  --ink-soft: #0d1923;
  --panel: #12212d;
  --paper: #f2f5f7;
  --white: #ffffff;
  --steel: #aab8c2;
  --muted: #687985;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #6fc8f2;
  --blue-deep: #286f98;
  --signal: #ff7a1a;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.page-inner .site-header {
  background: rgba(7, 16, 24, 0.96);
  border-color: var(--line);
}

.header-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 178px;
}

.brand-logo {
  width: 64px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
}

.main-nav a {
  position: relative;
  padding-block: 31px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
}

.button-primary:hover {
  background: #ff994d;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-outline:hover {
  color: var(--ink);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--blue-deep);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.display {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(46px, 7.2vw, 112px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.display em {
  color: var(--blue);
  font-style: normal;
}

.section-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade,
.hero-grid,
.hero-video {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.93) 0%, rgba(7, 16, 24, 0.54) 55%, rgba(7, 16, 24, 0.32) 100%),
    linear-gradient(0deg, rgba(7, 16, 24, 0.94) 0%, transparent 48%);
}

.hero-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: clamp(60px, 8vw, 116px);
}

.hero-copy {
  max-width: 700px;
  margin: 30px 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
}

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(60px, 8vw, 116px);
  width: min(310px, 25vw);
  display: grid;
  gap: 15px;
  padding-left: 24px;
  border-left: 1px solid var(--signal);
}

.hero-meta strong {
  font-size: 28px;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.metrics {
  position: relative;
  z-index: 3;
  color: var(--white);
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 20px 26px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: clamp(22px, 2.35vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  white-space: nowrap;
}

.metric strong.metric-compact {
  font-size: clamp(20px, 2.1vw, 30px);
}

.metric span {
  display: block;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  padding-block: clamp(80px, 10vw, 150px);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(46px, 6vw, 84px);
}

.section-head > * {
  min-width: 0;
}

.section-head .lead {
  max-width: 480px;
}

.service-list {
  border-top: 1px solid rgba(7, 16, 24, 0.18);
}

.service-row {
  min-height: 176px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 0.8fr) 48px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(7, 16, 24, 0.18);
  transition: color 180ms ease, background 180ms ease;
}

.service-row:hover {
  color: var(--white);
  background: var(--blue-deep);
}

.service-number {
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
}

.news-list .service-row h3 {
  font-size: clamp(22px, 2.4vw, 34px);
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-row:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.arrow {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 530px;
  grid-column: span 7;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card:nth-child(3) {
  min-height: 440px;
}

.project-card:nth-child(4) {
  min-height: 440px;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 16, 24, 0.94), rgba(7, 16, 24, 0.05) 75%);
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card-content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 42px);
}

.project-card small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 620px;
  margin: 12px 0 8px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.project-card p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 720px;
  overflow: hidden;
}

.proof-image {
  min-width: 0;
  min-height: 520px;
  background:
    linear-gradient(rgba(7, 16, 24, 0.08), rgba(7, 16, 24, 0.36)),
    url("assets/upload/iblock/c3d/wsfs9s3mofohvnfpkzb13zyigg3fcefc.png") center / cover;
}

.proof-copy {
  display: grid;
  align-content: center;
  gap: 28px;
  min-width: 0;
  padding: clamp(50px, 7vw, 110px);
  color: var(--white);
  background: var(--blue-deep);
}

.proof-copy .section-title {
  font-size: clamp(32px, 4vw, 62px);
  overflow-wrap: anywhere;
}

.proof-list {
  display: grid;
  gap: 0;
  min-width: 0;
}

.proof-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  min-width: 0;
}

.proof-item span {
  min-width: 0;
}

.proof-item span:last-child {
  color: var(--blue);
  font-weight: 700;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.cta-band::before {
  content: "КХЭМ";
  position: absolute;
  right: -0.04em;
  bottom: -0.27em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(180px, 32vw, 520px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.cta-inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  align-content: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.page-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.52) 52%, rgba(7, 16, 24, 0.28) 100%);
}

.page-hero::after {
  display: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 56px;
}

.page-title {
  max-width: min(22ch, 100%);
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: manual;
  line-height: 1.1;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.breadcrumbs span {
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split > * {
  min-width: 0;
}

.split .section-title {
  max-width: 100%;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: manual;
}

.prose {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.prose > :first-child {
  margin-top: 0;
}

.prose strong {
  color: var(--ink);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(7, 16, 24, 0.14);
  border: 1px solid rgba(7, 16, 24, 0.14);
}

.fact {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
}

.fact strong {
  color: var(--blue-deep);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.fact span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.scope-block {
  min-width: 0;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.scope-card-wide {
  grid-column: 1 / -1;
  min-height: 280px;
}

.scope-split {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.scope-split-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #0b1520;
}

.scope-split-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scope-split .scope-list {
  margin: 0;
  height: 100%;
}

.scope-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #0b1520;
}

.scope-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.scope-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.15) 0%, rgba(7, 16, 24, 0.88) 100%);
}

.scope-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-content: end;
  min-height: 240px;
  padding: 22px;
  color: #f4f7fb;
}

.scope-copy strong {
  color: #7eb6ff;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.scope-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.scope-copy p {
  margin: 0;
  max-width: 36ch;
  color: rgba(244, 247, 251, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.scope-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(7, 16, 24, 0.14);
}

.scope-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: var(--paper);
  border-bottom: 1px solid rgba(7, 16, 24, 0.1);
}

.scope-row:last-child {
  border-bottom: 0;
}

.scope-row strong {
  color: var(--blue-deep);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.scope-row h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.scope-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.timeline {
  border-top: 1px solid rgba(7, 16, 24, 0.2);
}

.timeline-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(7, 16, 24, 0.2);
}

.timeline-row strong {
  color: var(--signal);
  font-size: 30px;
}

.timeline-row p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(7, 16, 24, 0.18);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-card {
  min-height: 440px;
  display: grid;
  grid-template-rows: 250px 1fr;
  background: var(--white);
  border: 1px solid rgba(7, 16, 24, 0.1);
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-copy {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 25px;
}

.catalog-card small {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 8px 0 0;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.document-list {
  display: grid;
  gap: 1px;
  background: rgba(7, 16, 24, 0.14);
  border: 1px solid rgba(7, 16, 24, 0.14);
}

.document {
  min-height: 110px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: var(--white);
}

.document-type {
  color: var(--signal);
  font-size: 11px;
  font-weight: 800;
}

.document strong {
  font-size: 17px;
}

.vacancy-list {
  border-top: 1px solid rgba(7, 16, 24, 0.18);
}

.vacancy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(7, 16, 24, 0.18);
}

.vacancy h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.vacancy p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-card {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  color: var(--white);
  background: var(--ink-soft);
}

.contact-card h3 {
  margin: 0;
  font-size: 24px;
}

.contact-card address {
  color: var(--steel);
  font-style: normal;
  line-height: 1.6;
}

.contact-links {
  display: grid;
  gap: 8px;
  color: var(--blue);
}

.contact-links a {
  min-height: 36px;
  display: flex;
  align-items: center;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(7, 16, 24, 0.3);
  border-radius: 0;
  outline: 0;
  background: transparent;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue-deep);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--blue-deep);
}

.site-footer {
  color: var(--white);
  background: #050b10;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
  gap: 50px;
  padding-block: 72px;
}

.footer-heading {
  margin: 0 0 18px;
  color: var(--steel);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contacts {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.footer-nav a,
.footer-contacts a {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--blue);
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.byline {
  margin: 0;
  opacity: 0.4;
}

.byline a {
  color: var(--white);
}

/* visible until JS marks ready — avoids blank sections if script fails */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .split,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1120px) {
  .main-nav,
  .header-phone,
  .header-actions .button {
    display: none;
  }

  .header-row {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.is-open {
    position: fixed;
    inset: 84px 0 0;
    height: calc(100dvh - 84px);
    overflow-y: auto;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 24px var(--gutter);
    background: var(--ink);
  }

  .main-nav.is-open a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: 70px;
  }

  .brand-copy {
    font-size: 8px;
  }

  .brand-logo {
    width: 54px;
    height: 32px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav.is-open {
    top: 70px;
    height: calc(100dvh - 70px);
  }

  .hero-content {
    padding-top: 124px;
  }

  .hero-copy {
    max-width: 90%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metrics-grid,
  .catalog-grid,
  .contact-grid,
  .fact-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .scope-split {
    grid-template-columns: 1fr;
  }

  .scope-split-photo {
    min-height: 260px;
  }

  .metric,
  .metric:nth-child(2) {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .service-row {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    min-height: 150px;
    gap: 15px;
  }

  .service-row p {
    display: none;
  }

  .news-list .service-row {
    grid-template-columns: 80px minmax(0, 1fr) 42px;
  }

  .news-list .service-number {
    font-size: 10px;
  }

  .news-list .service-row h3 {
    font-size: 20px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    min-height: 430px;
    grid-column: auto;
  }

  .proof,
  .split,
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-copy {
    min-height: 520px;
  }

  .page-hero {
    min-height: 560px;
  }

  .page-hero-content {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .page-title {
    font-size: clamp(32px, 8.2vw, 44px);
    letter-spacing: 0;
    overflow-wrap: anywhere;
    hyphens: manual;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-card {
    min-height: 420px;
  }

  .document {
    grid-template-columns: 52px 1fr;
  }

  .document .arrow {
    display: none;
  }

  .vacancy {
    grid-template-columns: 1fr;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .field-wide,
  .consent {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav a,
  .footer-contacts a {
    min-height: 44px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
