@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #071827;
  --ink-2: #0d2436;
  --slate: #526574;
  --muted: #798b98;
  --line: #d9e1e6;
  --paper: #ffffff;
  --paper-2: #f3f6f8;
  --orange: #f3922b;
  --orange-dark: #cc6714;
  --max: 1220px;
  --shadow: 0 20px 60px rgba(5, 19, 31, 0.11);
  --ink-gradient: linear-gradient(125deg, #071827 0%, #102c43 42%, #071827 100%);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html:lang(ru) body,
html:lang(kk) body {
  font-family: Arial, "Segoe UI", sans-serif;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  /* высоту считаем по пропорции: в разметке у картинок проставлены
     размеры, и без этой строки высота бралась бы из атрибута */
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  color: inherit;
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-shadow: 0 2px 10px rgba(5, 19, 31, 0.16);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 3px 10px rgba(243, 146, 43, 0.3);
}
.section {
  padding: 100px 0;
}
.section-muted {
  background: var(--paper-2);
}
.section-dark {
  color: white;
  background: var(--ink-gradient);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head p {
  max-width: 620px;
  margin: 0 0 8px;
  color: var(--slate);
}
/* Юридическое название компании держим одной строкой:
   кегль подбирается под ширину колонки, а не под ширину экрана. */
.section-head h2.legal-name {
  white-space: nowrap;
  font-size: clamp(1.1rem, 6.9vw, 4.2rem);
}
@media (min-width: 1021px) {
  /* выше этой ширины шапка раздела в две колонки — места меньше */
  .section-head h2.legal-name {
    font-size: min(3.4vw, 3.1rem);
  }
}
.section-dark .section-head p {
  color: #b8c4cc;
}
.section-title-shadow {
  text-shadow: 0 4px 18px rgba(5, 19, 31, 0.18);
}
.section-dark .section-title-shadow {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}
html:lang(ru) .category-card h3,
html:lang(kk) .category-card h3,
html:lang(ru) .process-step strong,
html:lang(kk) .process-step strong {
  font-family: Arial, "Segoe UI", sans-serif;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  max-width: 980px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}
.muted {
  color: var(--slate);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topbar {
  background: #04111c;
  color: #bfcbd3;
  font-size: 0.84rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.topbar a:hover {
  color: white;
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8b9aa5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.lang-btn .lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.lang-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn.is-active {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(217, 225, 230, 0.8);
  transition: box-shadow 0.2s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(5, 19, 31, 0.09);
}
.nav-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 225px;
}
.brand-logo {
  display: block;
  width: 225px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(5, 19, 31, 0.12);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: right 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: white;
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(5, 19, 31, 0.16);
}
.header-cta:hover {
  background: var(--orange-dark);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  background: var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: white;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 17, 28, 0.98) 0%,
      rgba(4, 17, 28, 0.9) 36%,
      rgba(4, 17, 28, 0.34) 69%,
      rgba(4, 17, 28, 0.12) 100%
    ),
    url("../images/hero-industrial.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--orange) 0 28%, transparent 28%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 0 110px;
}
.hero-kicker {
  margin-bottom: 22px;
  color: #ffb15e;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero p {
  max-width: 680px;
  margin-bottom: 34px;
  color: #d3dde4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: #071827;
  background: var(--orange);
}
.button-primary:hover {
  background: #ffab53;
}
.button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(5, 19, 31, 0.2);
}
.button-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}
.button-dark {
  color: white;
  background: var(--ink);
}
.button-dark:hover {
  background: var(--orange-dark);
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: white;
  box-shadow: var(--shadow);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child {
  border-right: 0;
}
.proof-item span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(243, 146, 43, 0.25);
  font-size: 1.08rem;
  font-weight: 900;
}
.proof-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.about-section {
  position: relative;
  padding-bottom: 132px;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 92px;
  align-items: center;
}
.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 430px;
  padding: 12px 34px 28px;
}
.about-mark {
  width: min(100%, 255px);
  height: auto;
  filter: drop-shadow(0 22px 25px rgba(5, 19, 31, 0.18));
}
.about-wordmark {
  width: min(100%, 215px);
  margin-top: -4px;
  filter: drop-shadow(0 9px 14px rgba(5, 19, 31, 0.13));
}
.about-brand span {
  display: block;
  margin-top: 13px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-shadow: 0 3px 10px rgba(5, 19, 31, 0.12);
  text-transform: uppercase;
}
.about-copy .eyebrow {
  margin-bottom: 28px;
  font-size: 0.9rem;
}
.about-copy p {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.82;
}
.about-copy p + p {
  margin-top: 24px;
}

.direction-section {
  position: relative;
  padding-top: 172px;
  background: linear-gradient(180deg, #fff 0%, #0c2234 110px, var(--ink) 22%, #061521 100%);
  overflow: hidden;
}
.direction-section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 132px;
  background:
    radial-gradient(ellipse at 12% 0%, #fff 0 35%, rgba(255, 255, 255, 0.72) 48%, transparent 70%),
    radial-gradient(ellipse at 55% 0%, #fff 0 26%, rgba(255, 255, 255, 0.55) 49%, transparent 73%),
    radial-gradient(ellipse at 92% 0%, #fff 0 34%, rgba(255, 255, 255, 0.68) 50%, transparent 73%);
  filter: blur(13px);
  transform: translateY(-54%);
  pointer-events: none;
}
.direction-section .container {
  position: relative;
  z-index: 1;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
}
.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 34, 52, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.category-card:hover {
  z-index: 2;
  background: #102f47;
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.category-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 0.45s ease;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}
.category-card h3 {
  color: white;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}
.category-card p {
  margin-bottom: 24px;
  color: #aebbc4;
}
.category-link {
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-section {
  position: relative;
  padding: 146px 0 92px;
  background: white;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brand-section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 130px;
  background: linear-gradient(180deg, #061521 0%, #0d2436 30%, #d9e1e6 70%, #fff 100%);
}
.brand-section .container {
  position: relative;
  z-index: 1;
}
.brand-section-head {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}
.brand-section-head h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
}
.brand-note {
  margin: 0 0 7px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  color: var(--slate);
  background: #f5f7f9;
  box-shadow: 0 12px 30px rgba(5, 19, 31, 0.08);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.brand-tile {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-rows: 96px auto;
  place-items: center;
  min-width: 0;
  min-height: 160px;
  margin: 0;
  padding: 22px 18px 16px;
  border: 1px solid #e5eaee;
  background: white;
  box-shadow: 0 13px 34px rgba(5, 19, 31, 0.08);
  cursor: zoom-in;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.brand-tile:hover,
.brand-tile:focus-within {
  z-index: 3;
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 24px 48px rgba(5, 19, 31, 0.18);
}
.brand-tile > a {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: 96px auto;
  place-items: center;
  width: 100%;
}
.brand-tile img {
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 7px 10px rgba(5, 19, 31, 0.1));
  transform: scale(1);
  transition: transform 0.35s ease;
  will-change: transform;
}
.brand-tile:hover img,
.brand-tile:focus-within img,
.brand-tile:active img {
  transform: scale(1.12);
}
.brand-tile:active {
  z-index: 3;
  border-color: var(--orange);
  box-shadow: 0 24px 48px rgba(5, 19, 31, 0.18);
}
.brand-tile figcaption {
  align-self: end;
  max-width: 100%;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 14px 34px rgba(5, 19, 31, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(5, 19, 31, 0.12);
}
.service-card .service-no {
  display: block;
  margin-bottom: 52px;
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 3px 10px rgba(204, 103, 20, 0.2);
}
.service-card h3 {
  text-shadow: 0 3px 12px rgba(5, 19, 31, 0.1);
}
.service-card p {
  margin-bottom: 0;
  color: var(--slate);
}

.process-section {
  position: relative;
  background: linear-gradient(125deg, #071827 0%, #102c43 42%, #071827 100%);
  overflow: hidden;
}
.process-section::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background:
    radial-gradient(circle at 35% 42%, rgba(65, 150, 214, 0.22), transparent 34%),
    radial-gradient(circle at 70% 55%, rgba(243, 146, 43, 0.1), transparent 28%);
  animation: processGlow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.process-section .container {
  position: relative;
  z-index: 1;
}
@keyframes processGlow {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
}
.process-step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(11px);
  transition:
    opacity 0.5s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-ready .process-step {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
}
.motion-ready .process.is-visible .process-step {
  opacity: 1;
  transform: none;
}
.process.is-visible .process-step:nth-child(1) {
  transition-delay: 0.08s;
}
.process.is-visible .process-step:nth-child(2) {
  transition-delay: 0.22s;
}
.process.is-visible .process-step:nth-child(3) {
  transition-delay: 0.36s;
}
.process.is-visible .process-step:nth-child(4) {
  transition-delay: 0.5s;
}
.process.is-visible .process-step:nth-child(5) {
  transition-delay: 0.64s;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -25px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  filter: drop-shadow(0 3px 7px rgba(243, 146, 43, 0.35));
}
.process-step strong {
  display: block;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 0.97rem;
  line-height: 1.5;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: center;
  padding: 58px 60px;
  color: white;
  background: linear-gradient(125deg, #071827 0%, #123853 58%, #071827 100%);
  box-shadow: 0 28px 70px rgba(5, 19, 31, 0.18);
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -80% 35% -80% -20%;
  background: radial-gradient(circle, rgba(76, 164, 228, 0.22), transparent 60%);
}
.cta-panel::after {
  content: "BSS";
  position: absolute;
  right: -10px;
  bottom: -70px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 15rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.cta-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}
.cta-panel .cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero {
  padding: 100px 0 74px;
  color: white;
  background: var(--ink-gradient);
  border-bottom: 7px solid var(--orange);
}
.page-hero h1 {
  max-width: 1100px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 6rem);
}
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #b9c6ce;
  font-size: 1.1rem;
}
.breadcrumbs {
  margin-bottom: 32px;
  color: #8ba0ae;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-jump {
  position: sticky;
  top: 84px;
  z-index: 30;
  display: flex;
  gap: 8px;
  margin: -18px 0 34px;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 32px rgba(5, 19, 31, 0.08);
  scrollbar-width: thin;
}
.catalog-jump a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: white;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}
.catalog-jump a:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}
.catalog-list {
  display: grid;
  gap: 28px;
}
.catalog-list-visual {
  background: transparent;
  border: 0;
}
.catalog-item {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) 1.22fr;
  min-height: 440px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 16px 45px rgba(5, 19, 31, 0.07);
  scroll-margin-top: 155px;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.catalog-item:hover,
.catalog-item:target {
  border-color: #9eb0bc;
  box-shadow: var(--shadow);
}
.catalog-item:target {
  outline: 4px solid rgba(243, 146, 43, 0.34);
}
.catalog-media {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #e9eef1;
}
.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.catalog-item:hover .catalog-media img {
  transform: scale(1.025);
}
.catalog-media span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(5, 19, 31, 0.18);
}
.catalog-content {
  display: flex;
  flex-direction: column;
  padding: 42px 46px;
}
.catalog-title > span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.catalog-item h2 {
  margin: 0 0 25px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  text-transform: none;
}
.catalog-item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--slate);
}
.catalog-item li + li {
  margin-top: 5px;
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 30px;
}
.catalog-actions .button {
  min-height: 48px;
}
.catalog-pdf {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}
.catalog-pdf:hover {
  color: var(--orange-dark);
}
.catalog-note {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid var(--orange);
  background: var(--paper-2);
  color: var(--slate);
  font-size: 0.92rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.document-grid-compact {
  grid-template-columns: repeat(3, 1fr);
}
.document-card {
  position: relative;
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.document-card:hover {
  transform: translateY(-4px);
  border-color: #bcc9d1;
  box-shadow: var(--shadow);
}
.document-type {
  display: block;
  margin-bottom: 45px;
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.document-card h3 {
  font-size: 1.55rem;
}
.document-card p {
  color: var(--slate);
}
.document-action {
  position: absolute;
  left: 32px;
  bottom: 28px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 900;
}
.document-action::after {
  content: " ↗";
  color: var(--orange-dark);
}
.document-card-multi {
  display: block;
}
.document-actions-row {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: flex;
  gap: 18px;
}
.document-actions-row a {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 900;
}
.document-actions-row a::after {
  content: " ↗";
  color: var(--orange-dark);
}
.document-actions-row a:hover {
  color: var(--orange-dark);
}
.archive-head {
  margin: 82px 0 34px;
}
.archive-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}
.document-warning {
  border-top: 5px solid #c7543a;
}
.document-warning .document-type {
  color: #a53d29;
}
.document-card-preview {
  min-height: 440px;
  padding: 0;
  overflow: hidden;
}
.document-card-preview > img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #e9eef1;
}
.document-card-preview > div {
  padding: 26px 28px 78px;
}
.document-card-preview .document-type {
  margin-bottom: 18px;
}
.document-card-preview .document-action {
  left: 28px;
}

.documents-head {
  grid-template-columns: 1fr;
}
.documents-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.certificate-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 15px 38px rgba(5, 19, 31, 0.09);
  text-align: left;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.certificate-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.certificate-preview {
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e7edf1;
}
.certificate-preview img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  object-position: top center;
}
.certificate-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 24px 25px;
}
.certificate-copy > span {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.certificate-copy h3 {
  margin-top: 24px;
  font-size: 1.45rem;
}
.certificate-copy strong {
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
  font-size: 0.8rem;
  align-self: flex-start;
}
.text-link {
  display: inline-block;
  margin-top: 34px;
  padding: 13px 18px;
  border-left: 3px solid var(--orange);
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 28px rgba(5, 19, 31, 0.1);
  font-weight: 900;
}
.text-link:hover {
  color: var(--orange-dark);
}

.solution-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.solution-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 28px;
  background: white;
}
.solution-row span {
  color: var(--orange-dark);
  font-weight: 900;
}
.solution-row h3 {
  margin-bottom: 7px;
}
.solution-row p {
  margin: 0;
  color: var(--slate);
}
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.projects-support {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.projects-support > .container {
  position: relative;
  z-index: 1;
}
.partner-inline {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 56px;
  align-items: center;
  margin: 32px 0 40px;
}
.partner-tile-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  flex: none;
  padding: 26px;
  background: white;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.38);
}
.partner-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-tile-caption {
  color: #9db0bd;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.partner-copy p {
  margin: 0 0 14px;
  color: #dbe4ea;
}
.partner-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.partner-copy li {
  position: relative;
  padding-left: 22px;
  color: #c7d2d9;
  font-size: 0.95rem;
  line-height: 1.5;
}
.partner-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--orange);
}
.partner-copy li.li-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}
.partner-copy li.li-icon::before {
  content: none;
}
.partner-copy li.li-icon svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--orange);
}
.partner-field-strip {
  position: absolute;
  z-index: 0;
  inset: -28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(22px, 4.2vw, 58px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.3) 44%,
    rgba(0, 0, 0, 0.78) 62%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.3) 44%,
    rgba(0, 0, 0, 0.78) 62%,
    rgba(0, 0, 0, 1) 100%
  );
}
.partner-field-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}
.partner-field-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 39, 0.62);
  pointer-events: none;
}
.partner-field-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: grayscale(0.1) saturate(0.82) contrast(0.98);
  transition:
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.45s ease;
}
.partner-field-strip figure:hover img,
.partner-field-strip figure:focus-within img {
  opacity: 0.56;
  filter: grayscale(0) saturate(0.98) contrast(1.02);
  transform: scale(1.03);
}
.projects-support .section-head,
.partner-inline {
  position: relative;
  z-index: 2;
}
.projects-support .section-head {
  display: block;
  margin-bottom: 26px;
}
.projects-support .section-head h2,
.projects-support .section-head p,
.partner-copy p,
.partner-copy li,
.partner-tile-caption {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.partner-tile {
  position: relative;
  z-index: 3;
}
@media (max-width: 700px) {
  .partner-field-strip {
    inset: -14px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: clamp(14px, 3.4vw, 32px);
    -webkit-mask-image: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.3) 36%,
      rgba(0, 0, 0, 0.78) 54%,
      rgba(0, 0, 0, 1) 100%
    );
    mask-image: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0.3) 36%,
      rgba(0, 0, 0, 0.78) 54%,
      rgba(0, 0, 0, 1) 100%
    );
  }
  .partner-field-strip figure::after {
    background: rgba(7, 24, 39, 0.64);
  }
  .partner-field-strip img {
    opacity: 0.38;
  }
  .projects-support .section-head,
  .partner-inline {
    padding: 0;
  }
  .partner-inline {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
  }
  .partner-tile-wrap {
    align-items: center;
  }
  .partner-copy {
    width: 100%;
  }
}
.deliverable {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  min-height: 270px;
  padding: 36px;
  border: 1px solid var(--line);
  background: white;
}
.contact-card.contact-primary {
  color: white;
  background: var(--ink-gradient);
  border-color: var(--ink);
}
.contact-card.contact-map {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 270px;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.contact-label-sub {
  margin-top: 28px;
  margin-bottom: 10px;
}
.contact-office {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.contact-label {
  display: block;
  margin-bottom: 32px;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-primary .contact-label {
  color: var(--orange);
}
.contact-value {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}
.contact-card p {
  color: var(--slate);
}
.contact-primary p {
  color: #b7c4cc;
}
.contact-card a:hover {
  color: var(--orange-dark);
}
.contact-primary a:hover {
  color: var(--orange);
}

.contact-rail {
  position: fixed;
  right: 16px;
  top: 56%;
  z-index: 210;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateX(calc(100% + 30px));
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.contact-rail.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.contact-rail-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 174px;
  min-height: 58px;
  padding: 7px 14px 7px 7px;
  color: white;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 12px 28px rgba(5, 19, 31, 0.22);
  font-size: 0.87rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}
.contact-rail-link:hover {
  transform: translateX(-7px);
}
.contact-rail-whatsapp {
  background: #159447;
}
.contact-rail-telegram {
  background: #229ed9;
}
.contact-rail-icon {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: transparent;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.contact-rail-whatsapp .contact-rail-icon {
  background-image: url("../images/social/whatsapp.png?v=20260917-2");
}
.contact-rail-telegram .contact-rail-icon {
  background-image: url("../images/social/telegram.png?v=20260917-2");
}

.site-footer {
  padding: 68px 0 28px;
  color: #aab9c3;
  background: var(--ink-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 60px;
  padding-bottom: 46px;
}
.footer-company {
  max-width: 450px;
}
.footer-logo {
  width: min(100%, 215px);
  margin-bottom: 17px;
  filter: url("#footerLogoFilter") drop-shadow(0 9px 18px rgba(0, 0, 0, 0.28));
}
.footer-legal-name {
  color: white;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.footer-brand {
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.site-footer h3 {
  margin-bottom: 20px;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}
.site-footer p {
  max-width: 460px;
}
.footer-links {
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
}
.footer-links a:hover {
  color: white;
}
.footer-socials {
  display: flex;
  gap: 11px;
  margin-top: 24px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.footer-socials a:hover {
  transform: translateY(-4px);
}
.footer-socials img {
  width: 39px;
  height: 39px;
  object-fit: cover;
  border-radius: 50%;
}
.footer-socials svg {
  width: 39px;
  height: 39px;
  fill: #1877f2;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid #243544;
  font-size: 0.78rem;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.modal-shell.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 12, 20, 0.78);
  backdrop-filter: blur(7px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 38px;
  background: white;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-shell.is-open .modal-panel {
  transform: none;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--ink);
  background: #eef2f5;
  font-size: 1.55rem;
  cursor: pointer;
}
.request-modal h2,
.document-modal h2 {
  margin: 0 50px 24px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field-full {
  grid-column: 1/-1;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 800;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd6dd;
  background: #f8fafb;
  outline: 0;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 3px rgba(243, 146, 43, 0.16);
}
.request-form-actions {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.request-form-actions .button {
  cursor: pointer;
}
.request-form-note {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.request-form-status {
  grid-column: 1/-1;
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}
.request-form-status[data-state="success"] {
  color: #21733d;
}
.request-form-status[data-state="error"] {
  color: #a53d29;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.request-form button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.document-modal .modal-panel {
  width: min(100%, 560px);
  padding: 24px 26px 20px;
}
.document-modal .modal-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.document-modal img {
  /* сертификаты вертикальные: пусть картинка сама берёт свою ширину,
     иначе по бокам остаются серые поля */
  width: auto;
  max-width: 100%;
  max-height: 58vh;
  margin-inline: auto;
  background: #edf1f4;
}
.document-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  /* верхнюю панель оставляем ради переключателя языков, контакты прячем */
  .topbar-contacts {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    min-height: 34px;
  }
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav.is-open {
    position: fixed;
    inset: 84px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 34px 20px;
    color: white;
    background: var(--ink);
  }
  .main-nav.is-open a {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid #314453;
    font-size: 1.05rem;
  }
  .section-head,
  .about-grid,
  .solution-split,
  .cta-panel,
  .brand-section-head,
  .partner-inline {
    grid-template-columns: 1fr;
  }
  .about-brand {
    max-width: 520px;
    margin-inline: auto;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .catalog-item {
    grid-template-columns: minmax(280px, 0.7fr) 1.3fr;
  }
  .catalog-media {
    min-height: 420px;
  }
  .catalog-content {
    padding: 36px;
  }
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .certificate-grid {
    grid-template-columns: 1fr;
  }
  .certificate-card {
    min-height: 500px;
  }
  .certificate-preview {
    height: 230px;
    min-height: 0;
  }
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .nav-row {
    gap: 20px;
  }
  .brand {
    min-width: 190px;
  }
  .brand-logo {
    width: 190px;
  }
  .main-nav {
    gap: 18px;
  }
  .header-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 72px 0;
  }
  .nav-row {
    min-height: 74px;
  }
  .brand {
    min-width: auto;
  }
  .brand-logo {
    width: 176px;
  }
  .main-nav.is-open {
    inset: 74px 0 0;
  }
  .hero {
    min-height: 680px;
    background-position: 63% center;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 17, 28, 0.18);
  }
  .hero-content {
    padding: 75px 0 100px;
  }
  h1 {
    font-size: clamp(2.85rem, 14vw, 4.5rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-actions,
  .button {
    width: 100%;
  }
  .proof-grid,
  .category-grid,
  .service-grid,
  .contact-grid,
  .document-grid,
  .document-grid-compact,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .proof-item {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-section {
    padding-bottom: 110px;
  }
  .about-brand {
    padding-inline: 10px;
  }
  .about-mark {
    width: min(78vw, 280px);
  }
  .about-wordmark {
    width: min(65vw, 240px);
  }
  .about-brand span {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }
  .direction-section {
    padding-top: 142px;
  }
  .category-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .category-card img {
    height: 220px;
    min-height: 220px;
  }
  .category-body {
    min-height: 230px;
    padding: 26px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .process-step {
    min-height: 128px;
  }
  .cta-panel {
    padding: 38px 26px;
  }
  .page-hero {
    padding: 72px 0 58px;
  }
  .catalog-jump {
    top: 74px;
    margin-inline: -14px;
  }
  .catalog-item {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .catalog-media {
    min-height: 250px;
    height: 250px;
  }
  .catalog-media span {
    top: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
    font-size: 0.86rem;
  }
  .catalog-content {
    padding: 28px 24px 30px;
  }
  .catalog-actions {
    align-items: stretch;
  }
  .catalog-actions .button {
    width: 100%;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-tile {
    grid-template-rows: 58px auto;
    min-height: 112px;
    padding: 15px 10px 12px;
  }
  .brand-tile > a {
    grid-template-rows: 58px auto;
  }
  .brand-tile img {
    max-width: 120px;
    max-height: 50px;
  }
  .brand-tile figcaption {
    font-size: 0.68rem;
  }
  .certificate-card {
    min-height: 480px;
  }
  .certificate-preview {
    height: 350px;
    min-height: 0;
  }
  .certificate-copy {
    padding: 22px 18px;
  }
  .document-card-preview {
    min-height: 590px;
  }
  .contact-rail {
    right: 10px;
    top: auto;
    bottom: 12px;
    grid-template-columns: repeat(2, auto);
    transform: translateY(calc(100% + 30px));
  }
  .contact-rail-link {
    width: 58px;
    padding: 7px;
    border-radius: 50%;
    overflow: hidden;
  }
  .contact-rail-link > span:last-child {
    display: none;
  }
  .contact-rail-link:hover {
    transform: translateY(-4px);
  }
  .deliverables {
    grid-template-columns: 1fr;
  }
  .partner-field-strip {
    inset: -24px -14px;
  }
  .partner-field-strip figure:nth-child(1) {
    top: 24%;
    width: 44%;
    height: 16%;
  }
  .partner-field-strip figure:nth-child(2) {
    top: 43%;
    width: 42%;
    height: 16%;
  }
  .partner-field-strip figure:nth-child(3) {
    bottom: 20%;
    width: 44%;
    height: 16%;
  }
  .partner-field-strip figure:nth-child(4) {
    bottom: 2%;
    width: 42%;
    height: 16%;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .request-form {
    grid-template-columns: 1fr;
  }
  .form-field-full,
  .request-form-actions,
  .request-form-note {
    grid-column: 1;
  }
  .modal-panel {
    padding: 31px 22px 24px;
  }
  .document-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

/* ---- Бегущие ряды логотипов (эксперимент; откат - убрать этот блок и подключение brand-marquee.js) ---- */
.brand-marquee {
  display: grid;
  gap: 16px;
}
.brand-marquee-row {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.brand-marquee-row.is-dragging {
  cursor: grabbing;
}
.brand-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.brand-marquee-track .brand-tile {
  flex: 0 0 auto;
  width: 230px;
  margin: 0;
}
.brand-marquee-track .brand-tile img {
  pointer-events: none;
}
@media (max-width: 700px) {
  .brand-marquee-track .brand-tile {
    width: 180px;
  }
}

/* Подпись разработчика в футере */
.footer-dev {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-dev-phone {
  color: #aab9c3;
  font-weight: 700;
}
.footer-dev-phone:hover {
  color: white;
}
@media (max-width: 700px) {
  .footer-dev {
    align-items: flex-start;
  }
}

/* ---- Блок партнёров (EPC / инжиниринг / автоматизация) ---- */
.partners-strip {
  margin-bottom: 34px;
  padding: 26px 30px 30px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 13px 34px rgba(5, 19, 31, 0.08);
}
.partners-strip-label {
  margin-bottom: 22px;
  color: var(--orange-dark);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
}
.partners-strip-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 64px;
}
.partner-logo {
  display: grid;
  place-items: center;
  gap: 10px;
  transition: transform 0.25s ease;
}
.partner-logo img {
  width: 240px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(5, 19, 31, 0.12));
}
.partner-logo span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.partner-logo:hover {
  transform: translateY(-4px);
}
.partner-logo:hover span {
  color: var(--orange-dark);
}
@media (max-width: 700px) {
  .partners-strip {
    padding: 22px 16px 24px;
  }
  .partners-strip-logos {
    gap: 30px;
  }
  .partner-logo img {
    width: 170px;
    height: 78px;
  }
}
