/* =========================================================
   ПОЖМАСТЕР — стили сайта
   Брейкпоинты: desktop ≥1200 · tablet 641–1199 · mobile ≤640
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0d0d;
  --ink: #0f0d0d;
  --text: #f4f3ef;
  --white: #fefefe;
  --muted: #8e8e96;
  --line: #2a2a30;
  --red: #e3261b;
  --red-dark: #7d150f;
  --orange: #ff4a17;
  --navy: #0a091c;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Bebas Neue", "Impact", sans-serif;

  --pad: 30px;
  --gap: 10px;
  --radius: 20px;
  --section: 110px;
  --header-top: 30px;
  --header-h: 74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 1199px) {
  :root { --pad: 24px; --section: 88px; --header-top: 20px; --header-h: 60px; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; --section: 64px; --header-top: 16px; --radius: 18px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.1;
  color: var(--text);
  background-color: var(--bg-2);
  background-image: linear-gradient(180deg, #0f0d0d 0%, #2b0d08 36.97%, #9e240a 79.3%, #ff5214 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(1380px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.main { padding-top: calc(var(--header-top) + var(--header-h) + 20px); }

.accent { color: var(--orange); }
.accent-red { color: var(--red); }

.show-m, .show-t { display: none !important; }
@media (max-width: 1199px) { .hide-t { display: none !important; } .show-t { display: revert !important; } }
@media (max-width: 640px) { .hide-m { display: none !important; } .show-m { display: revert !important; } }

/* ---------- typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.lead { font-size: 20px; line-height: 1.1; color: #fff; }
.lead--sm { font-size: 20px; letter-spacing: -0.03em; }
.muted { color: var(--muted); }

@media (max-width: 1199px) {
  .h2 { font-size: 40px; }
  .h3 { font-size: 26px; }
  .lead { font-size: 16px; }
}
@media (max-width: 640px) {
  .h2 { font-size: 32px; }
  .h3 { font-size: 22px; }
  .lead, .lead--sm { font-size: 14px; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn::after { /* блик */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn__icon { flex: none; transition: transform .35s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:hover .btn__icon--diag { transform: translate(2px, -2px); }

.btn--red { --btn-bg: var(--red); }
.btn--red:hover { box-shadow: 0 10px 30px -8px rgba(227, 38, 27, .75); }
.btn--outline { border: .5px solid #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--outline:hover .btn__icon { filter: invert(1); }
.btn--outline-dark { border: .5px solid var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--outline-dark .btn__icon { filter: invert(1); }
.btn--outline-dark:hover .btn__icon { filter: none; }
.btn--grad { background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.btn--grad:hover { box-shadow: 0 10px 30px -8px rgba(227, 38, 27, .7); }
.btn--block { width: 100%; }
.btn--primary {
  width: 100%;
  gap: 12px;
  padding: 18px 24px 18px 28px;
  font-size: 16px;
  font-weight: 500;
  background: var(--red);
  color: var(--text);
}
.btn--primary img { transition: transform .35s var(--ease-out); }
.btn--primary:hover { box-shadow: 0 14px 40px -10px rgba(227, 38, 27, .9); }
.btn--primary:hover img { transform: translateX(5px); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.4);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease-out), opacity .3s;
}
.icon-btn:hover { background: #fff; border-color: #fff; }
.icon-btn:hover img { filter: invert(1); }
.icon-btn:active { transform: scale(.92); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.icon-btn--prev img { transform: rotate(180deg); }

/* chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.3);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: #fff; }
.chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.chips--lg .chip { font-size: 16px; }
.chips--dark .chip { color: var(--ink); border-color: rgba(15,13,13,.3); }
.chips--dark .chip.is-active { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
  .chip, .chips--lg .chip { font-size: 16px; padding: 10px 14px; }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.tag--dark { background: var(--ink); color: #fff; }
.tag--light { background: #fff; color: #000; }
.tag--line { border: .5px solid currentColor; font-size: 14px; padding: 6px 12px; letter-spacing: 0; }

/* ---------- header ---------- */
.header {
  position: fixed;
  z-index: 50;
  top: var(--header-top);
  left: 0;
  right: 0;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.header.is-scrolled .header__bar { background: rgba(20,16,15,.72); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.header__nav { display: flex; gap: 5px; }
.nav-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.nav-link:hover { background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"] { background: rgba(255,255,255,.12); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange);
}
.header__logo { position: absolute; left: calc(50% - 13px); top: 50%; transform: translateY(-50%); transition: transform .4s var(--ease-out); }
.header__logo:hover { transform: translateY(-50%) scale(1.08) rotate(-3deg); }
.header__logo-full { display: none; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-family: var(--font-display); font-size: 14px; letter-spacing: -0.03em; white-space: nowrap; transition: color .3s; }
.header__phone:hover { color: var(--orange); }
.header__cta-short { display: none; }
.burger { display: none; }
.burger__lines { position: relative; width: 14px; height: 10px; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out); }
.burger__lines i:nth-child(1) { top: 0; }
.burger__lines i:nth-child(2) { top: 4.2px; }
.burger__lines i:nth-child(3) { top: 8.4px; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(1) { top: 4.2px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(3) { top: 4.2px; transform: rotate(-45deg); }
.burger:hover .burger__lines i { background: var(--ink); }

@media (max-width: 1360px) and (min-width: 1200px) {
  .header__phone { display: none; }
}
@media (max-width: 1199px) {
  .header__bar { padding: 12px 12px 12px 22px; }
  .header__nav, .header__search, .header__phone { display: none; }
  .header__logo { position: static; transform: none; }
  .header__logo:hover { transform: scale(1.03); }
  .header__logo-mark { display: none; }
  .header__logo-full { display: block; width: 175px; height: 32px; }
  .header__actions { gap: 8px; }
  .burger { display: inline-flex; }
}
@media (max-width: 640px) {
  .header__bar { padding: 8px 8px 8px 18px; }
  .header__logo-full { display: none; }
  .header__logo-mark { display: block; width: 25px; height: 34px; }
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
}

/* ---------- mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 40; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(6,5,5,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.menu.is-open .menu__backdrop { opacity: 1; }
.menu__panel {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: calc(var(--header-top) + var(--header-h) + 10px);
  max-height: calc(100dvh - var(--header-top) - var(--header-h) - 26px);
  overflow-y: auto;
  padding: 10px 20px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1312 0%, #2b0d08 100%);
  border: .5px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-14px) scale(.97);
  transition: opacity .45s var(--ease), transform .55s var(--ease-out);
}
.menu.is-open .menu__panel { opacity: 1; transform: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  border-bottom: .5px solid rgba(255,255,255,.12);
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  opacity: 0; transform: translateY(12px);
  transition: color .3s, opacity .5s var(--ease), transform .6s var(--ease-out);
}
.menu__link img { opacity: .5; transition: transform .3s var(--ease-out), opacity .3s; }
.menu__link:hover, .menu__link[aria-current="page"] { color: var(--orange); }
.menu__link:hover img { transform: translateX(4px); opacity: 1; }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: .16s; }
.menu__sub { display: flex; flex-direction: column; gap: 12px; padding: 24px 4px 8px; font-size: 15px; color: rgba(255,255,255,.75); }
.menu__sub a:hover { color: #fff; }
.menu__caption, .footer__caption { font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.menu__contacts { display: flex; flex-direction: column; gap: 10px; padding: 20px 4px 0; color: rgba(255,255,255,.8); }
.menu__phone { font-family: var(--font-display); font-size: 20px; color: #fff; }
.menu__contacts .btn { margin-top: 10px; }
@media (min-width: 1200px) { .menu { display: none; } }

/* ---------- search ---------- */
.search { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.search.is-open { visibility: visible; }
.search__backdrop { position: absolute; inset: 0; background: rgba(6,5,5,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.search.is-open .search__backdrop { opacity: 1; }
.search__box {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  margin-top: calc(var(--header-top) + var(--header-h) + 20px);
  opacity: 0; transform: translateY(-20px);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.search.is-open .search__box { opacity: 1; transform: none; }
.search__box > img { position: absolute; left: calc(var(--pad) + 26px); }
.search__input {
  flex: 1;
  height: 74px;
  padding: 0 24px 0 64px;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.25);
  background: rgba(20,16,15,.9);
  font-family: var(--font-display);
  font-size: 20px;
  outline: none;
}
.search__input::placeholder { color: rgba(255,255,255,.4); }
.close-x { position: relative; width: 16px; height: 16px; }
.close-x::before, .close-x::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.6px; background: currentColor; transform: rotate(45deg); }
.close-x::after { transform: rotate(-45deg); }
.icon-btn:hover .close-x { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.section--tight { padding-top: calc(var(--section) * .82); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.head-row__actions { display: flex; align-items: center; gap: 20px; }
.head-split { display: grid; grid-template-columns: minmax(0, 1fr) 569px; gap: 30px; align-items: end; margin-bottom: 30px; }
.slider-arrows { display: flex; gap: 10px; }
@media (max-width: 1199px) {
  .head-split { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .head-row { margin-bottom: 20px; }
  .head-split { margin-bottom: 20px; }
}

/* white card + spray texture */
.card-white { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); isolation: isolate; }
.spray { position: absolute; z-index: -1; pointer-events: none; container-type: size; }
.spray img {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(100cqh * var(--sw, 1.32));
  height: calc(100cqw * var(--sh, 1.2));
  max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg);
  animation: spray-drift 14s ease-in-out infinite alternate;
}
@keyframes spray-drift {
  from { transform: translate(-50%, -50%) rotate(-90deg) scale(1); }
  to   { transform: translate(-51.5%, -49%) rotate(-88deg) scale(1.04); }
}

/* ---------- hero ---------- */
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hero__col { display: grid; grid-template-rows: 595fr 195fr; gap: var(--gap); min-height: 800px; }
.hero__about { display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.spray--hero { inset: -4.71% -35.66% 0.03% -9.2%; --sw: 1.3212; --sh: 1.2016; }
.hero__about .tag { align-self: flex-start; }
.hero__content { max-width: 622px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bg);
}
.hero__text { margin-top: 30px; font-size: 16px; line-height: 1.1; letter-spacing: -0.02em; color: #000; }
.hero__partners {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(-15.9deg, rgba(23,1,1,.38) 16.7%, rgba(227,38,26,0) 70.8%), #ff4a17;
  overflow: hidden;
}
.hero__partners .tag { align-self: flex-start; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.partner {
  position: relative;
  display: block;
  height: 68px;
  border-radius: 10px;
  border: .5px solid #000;
  background: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.partner img { position: absolute; max-width: none; transition: transform .6s var(--ease-out); }
.partner:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.55); }
.partner:hover img { transform: scale(1.06); }

.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; background: #1a1312; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.progress { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; }
.progress__bar {
  position: relative;
  width: 20px; height: 3px;
  padding: 10px 0; /* бóльшая зона клика */
  background: none;
  transition: width .5s var(--ease-out);
}
.progress__bar::before, .progress__bar i {
  content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px;
}
.progress__bar::before { right: 0; background: rgba(255,255,255,.35); }
.progress__bar i { width: 0; background: #fff; }
.progress__bar.is-active { width: 64px; }
.progress__bar.is-active i { animation: progress-fill var(--slide-time, 6s) linear forwards; }
.progress__bar.is-done i { width: 100%; }
@keyframes progress-fill { from { width: 0; } to { width: 100%; } }
[data-hero-slider].is-paused .progress__bar.is-active i { animation-play-state: paused; }

@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__col { display: contents; }
  .hero__about { order: 1; min-height: 520px; }
  .hero__media { order: 2; aspect-ratio: 720 / 520; }
  .hero__partners { order: 3; gap: 30px; }
  .hero__text { margin-top: 24px; }
  .spray--hero { inset: -10% -20% -5% -10%; }
}
@media (max-width: 640px) {
  .hero__about { min-height: 470px; padding: 20px; }
  .hero__about .tag, .hero__partners .tag { font-size: 18px; }
  .hero__title { font-size: 28px; }
  .hero__text { font-size: 14px; margin-top: 20px; }
  .hero__media { aspect-ratio: 343 / 380; min-height: 0; }
  .partners { grid-template-columns: 1fr 1fr; gap: 8px; }
  .partner { height: 64px; }
  .spray--hero { inset: -10% -60% -5% -30%; }
}

/* ---------- why us ---------- */
.why__grid {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: 447fr 20fr 446fr 20fr 447fr;
  grid-template-rows: 214fr 20fr 214fr;
  aspect-ratio: 1380 / 448;
}
.why__union { position: absolute; inset: 0; width: 100%; height: 100%; }
.why__card { position: relative; overflow: hidden; color: var(--white); padding: 0 1.449cqw 0; }
.why__card--1 { grid-column: 1; grid-row: 1 / 4; }
.why__card--2 { grid-column: 3; grid-row: 1; }
.why__card--3 { grid-column: 3; grid-row: 3; }
.why__card--4 { grid-column: 5; grid-row: 1 / 4; }
.why__num {
  position: absolute;
  font-family: var(--font-num);
  line-height: .74;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 24.5%, rgba(208,60,40,.1) 100%), linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  transition: transform 1.2s var(--ease-out);
}
.why__card--1 .why__num, .why__card--4 .why__num { font-size: 39.86cqw; left: 17.75cqw; top: 2.03cqw; }
.why__card--4 .why__num { left: 14.6cqw; }
.why__card--2 .why__num, .why__card--3 .why__num { font-size: 16.67cqw; left: 22.6cqw; top: 1.6cqw; }
.why__card--3 .why__num { top: 1.85cqw; }
.why__title {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.739cqw;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.why__text { position: absolute; font-size: 1.449cqw; line-height: 1.1; letter-spacing: -0.03em; }
.why__card--1 .why__title, .why__card--4 .why__title { left: 1.449cqw; top: 23.4cqw; }
.why__card--1 .why__text, .why__card--4 .why__text { left: 1.449cqw; top: 26.23cqw; width: 26.6cqw; }
.why__card--2 .why__title { left: 1.52cqw; top: 4.35cqw; width: 16.7cqw; }
.why__card--2 .why__text { left: 1.52cqw; top: 9.28cqw; width: 24.3cqw; }
.why__card--3 .why__title { left: 1.52cqw; top: 4.35cqw; width: 16.7cqw; }
.why__card--3 .why__text { left: 1.52cqw; top: 9.13cqw; width: 28.6cqw; }
.why__card--4 .why__text { width: 26.6cqw; }
.why__grid.is-visible .why__num { transform: translateY(0); }
.why__grid .why__num { transform: translateY(8%); }

@media (max-width: 1199px) {
  .why__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 8px; container-type: normal; }
  .why__union { display: none; }
  .why__card {
    grid-column: auto !important; grid-row: auto !important;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
    min-height: 300px; padding: 20px;
    border-radius: var(--radius);
    background: var(--orange);
    transition: transform .5s var(--ease-out), box-shadow .5s;
  }
  .why__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(255,74,23,.8); }
  .why__card .why__num { font-size: 230px !important; left: auto !important; right: 20px; top: 18px !important; line-height: .74; }
  .why__title, .why__text { position: relative; left: auto !important; top: auto !important; width: auto !important; }
  .why__title { font-size: 24px; max-width: 300px; }
  .why__text { font-size: 16px; max-width: 360px; }
}
@media (max-width: 640px) {
  .why__grid { grid-template-columns: 1fr; gap: 10px; }
  .why__card { min-height: 240px; }
  .why__card .why__num { font-size: 210px !important; right: 24px; }
  .why__title { font-size: 20px; }
  .why__text { font-size: 14px; }
}

/* ---------- objects slider ---------- */
.objects .chips { margin-bottom: 20px; }
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slider__track.is-dragging * { pointer-events: none; }
.obj-card {
  flex: 0 0 calc((100% - 20px) / 3);
  scroll-snap-align: start;
  height: 300px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  transition: background-color .4s, opacity .4s, transform .5s var(--ease-out);
}
.obj-card.is-hidden { display: none; }
.obj-card__inner { position: relative; height: 100%; border-radius: 10px; overflow: hidden; isolation: isolate; }
.obj-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease-out); }
.obj-card__inner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 35%, transparent 65%, rgba(0,0,0,.35) 100%); }
.obj-card__name {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font-display); font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; color: #fff;
}
.obj-card__logo { position: absolute; left: 20px; bottom: 24px; height: 22px; width: auto; }
.obj-card__logo--round { width: 56px; height: 56px; bottom: 20px; }
.obj-card__go {
  position: absolute; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .4s, transform .5s var(--ease-out);
}
.obj-card:hover { background: rgba(255,255,255,.18); }
.obj-card:hover .obj-card__img { transform: scale(1.07); }
.obj-card:hover .obj-card__go { background: var(--orange); transform: rotate(45deg); }
.objects__mobile-actions { display: none; }
@media (max-width: 1199px) {
  .obj-card { flex-basis: calc((100% - 10px) / 2.15); }
}
@media (max-width: 640px) {
  .objects .head-row__actions { display: none; }
  .slider.container { padding-right: 0; }
  .obj-card { flex-basis: 300px; height: 240px; }
  .slider__track { scroll-padding-left: 0; padding-right: var(--pad); }
  .objects__mobile-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
  .objects__mobile-actions .btn { padding: 12px 16px; font-size: 14px; }
}

/* ---------- services ---------- */
.svc-list { position: relative; display: flex; flex-direction: column; gap: 10px; }
.svc {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px;
  border-radius: 5px;
  transition: background-color .3s var(--ease);
}
.svc__body { flex: 1; min-width: 0; transition: transform .3s var(--ease); }
.svc__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color .3s var(--ease);
}
.svc__text { margin-top: 10px; max-width: 773px; font-size: 16px; line-height: 1.1; letter-spacing: -0.03em; color: rgba(254,254,254,.61); }
.svc__thumb { display: none; }
.svc__arrow {
  position: relative; flex: none; width: 45px; height: 45px; border-radius: 50%;
  background: url("../assets/icons/svc-arrow.svg") center / 100% no-repeat;
  transition: transform .5s var(--ease-out);
}
.svc__arrow::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/icons/svc-arrow-active.svg") center / 100% no-repeat;
  opacity: 0; transform: rotate(-90deg) scale(.6);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.svc:hover, .svc.is-active { background: rgba(255,255,255,.11); }
.svc:hover .svc__title, .svc.is-active .svc__title { color: var(--orange); }
.svc:hover .svc__body { transform: translateX(8px); }
.svc:hover .svc__arrow, .svc.is-active .svc__arrow { background-size: 0; }
.svc:hover .svc__arrow::before, .svc.is-active .svc__arrow::before { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.svc-preview {
  position: absolute;
  z-index: 2;
  left: 67.15%;
  top: 0;
  width: 337px;
  height: 234px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, var(--py, 0px), 0) scale(.85) rotate(4deg);
  transition: opacity .35s var(--ease), transform .55s var(--ease-out);
}
.svc-preview.is-visible { opacity: 1; transform: translate3d(0, var(--py, 0px), 0) scale(1) rotate(0deg); }
.svc-preview__back { position: absolute; left: 0; top: 0; width: 313px; height: 206px; border-radius: 20px; background: var(--orange); transform: rotate(-1.05deg); }
.svc-preview__img { position: absolute; left: 14px; top: 12px; width: 313px; height: 206px; border-radius: 20px; object-fit: cover; transform: rotate(-5.27deg); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); background: #e9edf0; }

@media (max-width: 1199px) {
  .svc-preview { display: none; }
  .svc { align-items: flex-start; padding: 16px 10px; border-radius: 10px; }
  .svc__title { font-size: 24px; }
  .svc__thumb {
    display: block;
    width: 220px; height: 0;
    margin-top: 0;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: -6px 6px 0 var(--orange);
    opacity: 0;
    transition: height .45s var(--ease-out), opacity .35s, margin-top .45s var(--ease-out);
  }
  .svc:hover .svc__thumb { height: 140px; opacity: 1; margin-top: 16px; }
  .svc:hover .svc__body { transform: translateX(4px); }
}
@media (max-width: 640px) {
  .svc-list { gap: 4px; margin-bottom: 30px; }
  .svc__title { font-size: 18px; }
  .svc__text { font-size: 14px; line-height: 1.3; }
  .svc__arrow { width: 40px; height: 40px; }
  .svc:hover .svc__thumb { height: 120px; }
}

/* ---------- quick request ---------- */
.quick { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; min-height: 300px; padding: 57px 50px 30px 20px; }
.spray--quick { inset: -3.67% -25.04% -154% 35.8%; --sw: 1.2588; --sh: 1.1624; }
.quick__title { font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; max-width: 620px; }
.quick__text { margin-top: 24px; max-width: 509px; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; color: rgba(0,0,0,.52); }
.quick__form { position: relative; width: 432px; flex: none; margin-bottom: 30px; }
.pill-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 24px; border-radius: 999px; background: rgba(0,0,0,.72); }
.pill-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 14px; color: #fff; }
.pill-input input::placeholder { color: rgba(255,255,255,.6); }
.quick__note { margin: 10px 0 0 24px; font-size: 11px; font-weight: 300; color: rgba(0,0,0,.65); }
@media (max-width: 1199px) {
  .quick { flex-direction: column; align-items: stretch; padding: 30px 20px; }
  .quick__form { width: 100%; margin: 0; }
  .spray--quick { inset: 0 -20% -100% 30%; }
}
@media (max-width: 640px) {
  .quick { padding: 20px; gap: 24px; }
  .quick__title { font-size: 24px; }
  .quick__text { font-size: 16px; margin-top: 16px; }
  .pill-input { flex-direction: column; align-items: stretch; padding: 0; background: none; gap: 10px; }
  .pill-input input { padding: 16px 24px; border-radius: 999px; background: rgba(0,0,0,.72); font-size: 14px; }
  .pill-input .btn { padding: 15px; font-size: 14px; }
  .quick__note { margin-left: 0; }
  .spray--quick { inset: 30% -60% -60% 20%; }
}

/* ---------- how we work / accordion ---------- */
.how__grid { display: grid; grid-template-columns: minmax(0,1fr) 569px; gap: 30px; align-items: start; }
.how__head .lead { margin-top: 20px; max-width: 553px; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 10px 10px 10px 15px;
  border-radius: 10px;
  background: var(--white);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-align: left;
  transition: color .3s, transform .3s var(--ease-out);
}
.step__head:hover { transform: translateX(4px); }
.step__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy);
  transition: background-color .3s, transform .5s var(--ease-out);
}
.step__icon::before, .step__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.6px; margin: -.8px 0 0 -7.5px; border-radius: 2px; background: #fff; }
.step__icon::after { transform: rotate(90deg); }
.step.is-open .step__head { color: var(--orange); }
.step.is-open .step__icon { background: var(--orange); transform: rotate(135deg); }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out), margin .5s var(--ease-out); }
.step__body > p {
  overflow: hidden;
  min-height: 0;
  border-radius: 10px;
  background: var(--white);
  padding: 0 15px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--orange);
  opacity: 0;
  transition: opacity .4s, padding .5s var(--ease-out);
}
.step.is-open .step__body { grid-template-rows: 1fr; margin-top: 5px; }
.step.is-open .step__body > p { opacity: 1; padding: 10px 15px; }
@media (max-width: 1199px) {
  .how__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .step__head { font-size: 18px; padding: 8px 8px 8px 15px; min-height: 50px; }
  .step__body > p { font-size: 16px; }
}

/* ---------- map ---------- */
.where .chips { margin: 30px 0 20px; }
.map {
  position: relative;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1716;
}
.map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.17) .5px, transparent .5px),
    linear-gradient(0deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0, 0 39.75px;
  animation: map-pan 40s linear infinite;
}
@keyframes map-pan { to { background-position: 80px 0, 0 119.75px; } }
.map__pin { position: absolute; left: 72.4%; top: 270px; width: 20px; height: 20px; }
.map__ring { position: absolute; left: 50%; top: 50%; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; background: rgba(255,74,23,.18); animation: pulse 3.2s var(--ease) infinite; }
.map__ring--2 { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(.15); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.map__pin img { position: relative; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.map__card {
  position: absolute; left: 32px; top: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  width: 360px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: .5px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.map__label { font-family: var(--font-display); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.map__address { font-family: var(--font-display); font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; text-transform: uppercase; }
.map__contacts { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.map__contacts a:hover { color: #fff; }
.map__credit { position: absolute; right: 18px; bottom: 21px; font-size: 12px; color: rgba(255,255,255,.35); }
@media (max-width: 640px) {
  .where .chips { margin: 20px 0; }
  .map { height: 480px; }
  .map__card { left: 16px; right: 16px; top: 16px; width: auto; }
  .map__address { font-size: 18px; }
  .map__pin { left: calc(50% - 10px); top: auto; bottom: 115px; }
}

/* ---------- CTA + form ---------- */
.section--cta { padding-top: var(--section); padding-bottom: 30px; }
.cta { display: flex; justify-content: space-between; gap: 30px; min-height: 416px; padding: 20px; }
.spray--cta { inset: 24.28% 19.99% -63.7% 13.04%; --sw: 1.3448; --sh: 1.2164; }
.cta__info { display: flex; flex-direction: column; max-width: 719px; }
.cta__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.cta__text { margin-top: 24px; max-width: 670px; font-size: 16px; line-height: 1.1; }
.cta__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 30px; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; text-transform: uppercase; }
.cta__contacts a { width: fit-content; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease-out), color .3s; }
.cta__contacts a:hover { color: var(--orange); background-size: 100% 2px; }

.form {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  flex: none;
  width: 560px;
  padding: 20px;
  border-radius: 24px;
  background: #000;
  color: var(--text);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #434343;
  background: rgba(38,38,38,.64);
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  outline: none;
  resize: none;
  appearance: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field select { cursor: pointer; color: rgba(255,255,255,.75); }
.field--select::after { content: "▾"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 12px; color: rgba(255,255,255,.5); pointer-events: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.37); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5a5a5a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: rgba(38,38,38,.9); box-shadow: 0 0 0 4px rgba(255,74,23,.15); }
.field.is-invalid input { border-color: var(--red); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.upload {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.upload:hover { border-color: var(--orange); background: rgba(255,74,23,.06); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__title { font-size: 14px; font-weight: 500; color: var(--text); }
.upload__hint { font-size: 12px; color: var(--muted); }
.form__note { font-size: 12px; color: var(--muted); }
.form__success {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 20px;
  border-radius: inherit;
  background: inherit;
  opacity: 0; visibility: hidden; transform: scale(.98);
  transition: opacity .4s, transform .5s var(--ease-out), visibility .4s;
}
.form__success strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; text-transform: uppercase; color: var(--orange); }
.is-sent .form__success { opacity: 1; visibility: visible; transform: none; }
.quick__form .form__success { background: #fff; color: var(--ink); border-radius: 30px; }

@media (max-width: 1199px) {
  .cta { flex-direction: column; padding: 20px; }
  .form { width: 100%; }
  .cta__contacts { margin-top: 30px; padding-top: 0; }
  .spray--cta { inset: 10% -30% -30% 10%; }
}
@media (max-width: 640px) {
  .cta { padding: 16px; gap: 24px; }
  .cta__title { font-size: 24px; }
  .cta__text { font-size: 14px; margin-top: 16px; }
  .cta__contacts { font-size: 16px; margin-top: 20px; }
  .form { padding: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .upload { flex-wrap: wrap; row-gap: 4px; }
  .upload__hint { flex-basis: 100%; }
}

/* ---------- footer ---------- */
.footer { margin-top: 30px; border-radius: 20px 20px 0 0; background: var(--bg); }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 40px 80px; }
.footer__top { display: flex; gap: 64px; }
.footer__about { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.footer__about p { max-width: 340px; font-size: 16px; line-height: 1.1; color: var(--muted); }
.footer__logo { width: fit-content; transition: opacity .3s; }
.footer__logo:hover { opacity: .8; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 220px; font-size: 14px; }
.footer__col a { color: var(--text); transition: color .3s, transform .3s var(--ease-out); }
.footer__col a:hover { color: var(--orange); transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 1199px) {
  .footer__inner { padding: 40px var(--pad); }
  .footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__col { width: auto; }
}
@media (max-width: 640px) {
  .footer__inner { padding: 40px var(--pad) 30px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__about p { font-size: 16px; }
  .footer__col { gap: 16px; }
  .footer__bottom { flex-direction: column; gap: 4px; margin-top: 30px; }
}

/* ---------- reveal animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.page-enter .hero__about, .page-enter .hero__media, .page-enter .hero__partners { animation: rise 1s var(--ease-out) both; }
.page-enter .hero__media { animation-delay: .12s; }
.page-enter .hero__partners { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Внутренние страницы: общие компоненты
   ========================================================= */
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
@media (max-width: 1199px) { .h1 { font-size: 40px; } }
@media (max-width: 640px) { .h1 { font-size: 30px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
@media (max-width: 640px) { .crumbs { font-size: 12px; } }

.page-head { padding-top: 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 569px; gap: 30px; align-items: end; margin: 54px 0 40px; }
.page-head__aside { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.1; color: rgba(255,255,255,.75); }
.page-head .chips { margin-bottom: 0; }
@media (max-width: 1199px) {
  .page-head__grid { grid-template-columns: 1fr; gap: 20px; margin: 30px 0; }
}
@media (max-width: 640px) {
  .page-head__grid { margin: 24px 0; }
  .page-head__aside { font-size: 14px; }
}

.search-field { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(126,126,126,.28); border: .5px solid transparent; transition: border-color .3s, background-color .3s; }
.search-field:focus-within { border-color: rgba(255,74,23,.7); background: rgba(126,126,126,.36); }
.search-field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 14px; color: #fff; }
.search-field input::placeholder { color: rgba(255,255,255,.55); }
.search-field__go { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); transition: transform .3s var(--ease-out), box-shadow .3s; }
.search-field__go:hover { transform: scale(1.06); box-shadow: 0 8px 20px -6px rgba(227,38,27,.8); }

.head-split--center { align-items: center; }
.lead--muted { font-size: 16px; color: rgba(255,255,255,.75); }
.head-row--stack-m { flex-wrap: wrap; }
@media (max-width: 640px) {
  .lead--muted { font-size: 14px; }
  .head-row--stack-m { flex-direction: column; align-items: flex-start; }
}

/* active nav (по макету — обводка + стрелка) */
.nav-link[aria-current="page"] { display: inline-flex; align-items: center; gap: 6px; background: none; box-shadow: inset 0 0 0 .5px #fff; }
.nav-link[aria-current="page"]::after {
  position: static; width: 18px; height: 18px; margin: 0; border-radius: 0;
  background: url("../assets/icons/arrow.svg") center / 18px no-repeat;
}

.round-arrow {
  flex: none; width: 45px; height: 45px; border-radius: 50%;
  background: var(--ink) url("../assets/icons/arrow.svg") center / 18px no-repeat;
  transition: transform .5s var(--ease-out), background-color .3s;
}

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  height: 440px; padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--bg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.cat-card.is-hidden, .cat-card.is-filtered { display: none; }
.cat-card__top { display: flex; align-items: center; justify-content: space-between; }
.cat-card__count { padding: 8px 14px; border-radius: 999px; background: var(--ink); font-size: 14px; color: #fff; }
.cat-card__img { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cat-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cat-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.cat-card__text { font-size: 15px; line-height: 1.1; letter-spacing: -0.04em; color: rgba(0,0,0,.6); }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(255,74,23,.55); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card:hover .round-arrow { background-color: var(--orange); transform: rotate(-45deg); }
.cat-grid__empty { display: none; grid-column: 1 / -1; padding: 40px 0; font-size: 18px; color: rgba(255,255,255,.7); }
.cat-grid__empty a { color: var(--orange); text-decoration: underline; }
.cat-grid:not(:has(.cat-card:not(.is-hidden):not(.is-filtered))) .cat-grid__empty { display: block; }
@media (max-width: 1199px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-card { height: 470px; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card { height: 440px; }
  .cat-card__title { font-size: 18px; }
  .cat-card__text { font-size: 14px; }
}

/* limits */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.limit { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.12); }
.limit__title { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; text-transform: uppercase; }
.limit__sub { font-size: 15px; line-height: 1.25; color: rgba(255,255,255,.65); }
.limit__values { display: flex; gap: 10px; }
.limit__val {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: .5px solid rgba(255,255,255,.18);
  transition: background-color .3s, transform .4s var(--ease-out), border-color .3s;
}
.limit__val b { font-family: var(--font-num); font-weight: 400; font-size: 40px; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.limit__val span { font-size: 12px; color: rgba(255,255,255,.8); white-space: nowrap; }
.limit__val:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.5); }
.limit__val.is-active { background: var(--orange); }
@media (max-width: 1199px) {
  .limits { grid-template-columns: 1fr; }
  .limit { padding: 20px; }
}
@media (max-width: 640px) {
  .limit__title { font-size: 18px; }
  .limit__sub { font-size: 14px; }
  .limit__values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .limit__values:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
  .limit__val { padding: 12px; }
  .limit__val b { font-size: 26px; }
  .limit__val span { font-size: 10px; }
}

/* materials */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; min-height: 407px; padding: 20px; border-radius: var(--radius); background: #fff; color: var(--bg); transition: transform .5s var(--ease-out), box-shadow .5s; }
.mat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.mat-card__img { position: relative; width: 100%; height: 170px; border-radius: 12px; overflow: hidden; }
.mat-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.mat-card:hover .mat-card__img img { transform: scale(1.06) rotate(-1deg); }
.badge { padding: 5px 10px; border-radius: 999px; background: var(--ink); font-family: var(--font-display); font-size: 11px; text-transform: uppercase; color: #fff; }
.badge--orange { background: var(--orange); }
.badge--light { background: rgba(255,255,255,.12); }
.mat-card__title { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.mat-card__text { font-size: 14px; line-height: 1.3; letter-spacing: -0.04em; color: rgba(0,0,0,.6); }
.mat-card__spec { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--orange); }
@media (max-width: 1199px) { .mat-grid { grid-template-columns: 1fr 1fr; } .mat-card { min-height: 0; } }
@media (max-width: 640px) { .mat-grid { grid-template-columns: 1fr; } }

/* brand logos */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.brand { position: relative; height: 110px; border-radius: 14px; background: #fff; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: grayscale(.2); transition: transform .6s var(--ease-out), filter .4s; }
.brand:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.brand:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 1199px) { .brands { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 640px) { .brand { height: 82px; } }

/* ---------- product hero (каталог / система) ---------- */
.phero { display: grid; grid-template-columns: 685fr 685fr; gap: 10px; margin-top: 30px; }
.phero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 560px; padding: 20px; animation: rise 1s var(--ease-out) both; }
.phero__text .tag { align-self: flex-start; }
.phero__body { display: flex; flex-direction: column; gap: 20px; max-width: 637px; }
.phero__title { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--bg); }
.phero__lead { font-size: 16px; line-height: 1.2; color: #000; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.phero__media { position: relative; display: flex; align-items: flex-end; padding: 20px; border-radius: var(--radius); overflow: hidden; min-height: 400px; animation: rise 1s .12s var(--ease-out) both; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease-out); }
.phero__media:hover .phero__img { transform: scale(1.04); }
.phero__tags { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-dark { padding: 8px 14px; border-radius: 999px; background: rgba(15,13,13,.85); font-family: var(--font-display); font-size: 14px; text-transform: uppercase; color: #fff; transition: background-color .3s, transform .3s var(--ease-out); }
a.tag-dark:hover { background: var(--orange); transform: translateY(-2px); }
@media (max-width: 1199px) {
  .phero { grid-template-columns: 1fr; }
  .phero__text { min-height: 480px; }
  .phero__media { aspect-ratio: 720 / 560; min-height: 0; }
}
@media (max-width: 640px) {
  .phero__text { min-height: 440px; }
  .phero__title { font-size: 26px; }
  .phero__lead { font-size: 14px; }
  .phero__actions .btn { width: 100%; }
  .phero__media { aspect-ratio: 343 / 400; }
}

/* functions */
.funcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.func { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 224px; padding: 24px; border-radius: var(--radius); background: var(--orange); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.func:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(255,74,23,.9); }
.func__num { font-family: var(--font-num); font-size: 110px; line-height: .8; letter-spacing: -0.07em; color: rgba(255,255,255,.18); transition: color .4s, transform .6s var(--ease-out); }
.func:hover .func__num { color: rgba(255,255,255,.4); transform: translateX(6px); }
.func__title { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; }
@media (max-width: 1199px) { .funcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .funcs { grid-template-columns: 1fr; } .func { min-height: 200px; } .func__title { font-size: 16px; } }

/* system cards */
.head-row--stack-t { flex-wrap: wrap; }
@media (max-width: 1199px) { .head-row--stack-t { flex-direction: column; align-items: flex-start; } }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 10px; }
.sys-card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--radius); background: rgba(255,255,255,.1); transition: background-color .4s, transform .5s var(--ease-out); }
.sys-card.is-hidden { display: none; }
.sys-card__media { position: relative; height: 250px; border-radius: 14px; background: #e9edf0; overflow: hidden; }
.sys-card__media img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; transition: transform .9s var(--ease-out); }
.sys-card__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--orange); font-family: var(--font-display); font-weight: 500; font-size: 13px; text-transform: uppercase; }
.sys-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.sys-card__title { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.sys-card__text { font-size: 14px; line-height: 1.3; letter-spacing: -0.04em; color: rgba(255,255,255,.7); }
.specs { margin: 0; font-size: 14px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.specs dt { color: rgba(255,255,255,.6); letter-spacing: -0.03em; }
.specs dd { margin: 0; font-weight: 500; text-align: right; }
.sys-card__more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; text-transform: uppercase; }
.sys-card__go { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16) url("../assets/icons/arrow-ur.svg") center / 24px no-repeat; transition: background-color .3s, transform .5s var(--ease-out); }
.sys-card:hover { background: rgba(255,255,255,.16); transform: translateY(-6px); }
.sys-card:hover .sys-card__media img { transform: scale(1.05); }
.sys-card:hover .sys-card__go { background-color: var(--orange); transform: rotate(45deg); }
@media (max-width: 1199px) { .sys-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 640px) {
  .sys-grid { grid-template-columns: 1fr; }
  .sys-card__media { height: 250px; }
  .sys-card__body { padding-top: 18px; }
  .sys-card__title { font-size: 18px; }
  .sys-card__more { font-size: 14px; }
}

/* table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.table { min-width: 900px; color: var(--ink); font-size: 14px; }
.table th, .table td { padding: 17px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,.08); }
.table thead th { padding: 18px 24px; background: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); white-space: nowrap; }
.table tbody th { font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: uppercase; white-space: nowrap; }
.table tbody tr { transition: background-color .3s; }
.table tbody tr:hover { background: rgba(255,74,23,.06); }
.table tbody tr.is-hl { background: rgba(255,74,23,.1); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table a:hover { color: var(--orange); }
.note { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 640px) { .table { min-width: 760px; } .table th, .table td { padding: 14px 16px; } }

/* scope: steps + materials */
.scope { display: grid; grid-template-columns: 801fr 569fr; gap: 10px; align-items: start; }
.scope__steps { counter-reset: none; padding: 10px 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.18); }
.scope__steps li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: .5px solid rgba(255,255,255,.14); font-size: 16px; transition: transform .35s var(--ease-out), color .3s; }
.scope__steps li:last-child { border-bottom: 0; }
.scope__steps li span { font-family: var(--font-display); font-size: 13px; color: var(--orange); }
.scope__steps li:hover { transform: translateX(6px); color: #fff; }
.scope__mats { display: flex; flex-direction: column; gap: 10px; }
.mini-mat { display: flex; align-items: center; gap: 16px; padding: 10px; border-radius: 14px; background: #fff; color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .4s; }
.mini-mat:hover { transform: translateX(-6px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }
.mini-mat__img { position: relative; flex: none; width: 112px; height: 80px; border-radius: 10px; background: #eef1f3; overflow: hidden; }
.mini-mat__img img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.mini-mat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; text-transform: uppercase; }
.mini-mat small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.2; color: rgba(0,0,0,.6); }
@media (max-width: 1199px) { .scope { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .scope__steps li { font-size: 14px; } .mini-mat__img { width: 90px; height: 70px; } .mini-mat b { font-size: 13px; } }

/* docs */
.docs { display: grid; grid-template-columns: 452px minmax(0, 1fr); gap: 11px; align-items: start; }
.norms { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.norms__title { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.norms ul { display: flex; flex-direction: column; gap: 20px; }
.norms li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.85); }
.norms li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: url("../assets/icons/check.svg") center / contain no-repeat; }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: .5px solid rgba(255,255,255,.12); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.doc:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: translateX(4px); }
.doc__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,74,23,.14) url("../assets/icons/doc.svg") center / 24px no-repeat; }
.doc__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.doc__text b { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.doc__text small { font-size: 13px; color: var(--muted); }
.doc__size { flex: none; padding: 6px 12px; border-radius: 999px; border: .5px solid rgba(255,255,255,.3); font-family: var(--font-display); font-size: 11px; text-transform: uppercase; white-space: nowrap; }
.doc__dl { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red) url("../assets/icons/download.svg") center / 20px no-repeat; transition: transform .4s var(--ease-out), box-shadow .3s; }
.doc:hover .doc__dl { transform: translateY(2px); box-shadow: 0 10px 20px -8px rgba(227,38,27,.9); }
@media (max-width: 1199px) { .docs { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .doc { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 14px 10px; padding: 16px; }
  .doc__icon { grid-row: 1; }
  .doc__size { grid-column: 3; grid-row: 1; justify-self: end; }
  .doc__dl { grid-column: 4; grid-row: 1; }
  .doc__text { grid-column: 1 / -1; grid-row: 2; }
  .doc__text b { font-size: 16px; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 569px; gap: 30px; align-items: start; }
.faq-wrap__head .lead { margin-top: 20px; max-width: 520px; }
.steps--faq .step__head { font-size: 20px; }
.steps--faq .step__body > p { font-size: 18px; }
@media (max-width: 1199px) { .faq-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .steps--faq .step__head { font-size: 16px; } .steps--faq .step__body > p { font-size: 15px; } }

/* ---------- walls page ---------- */
.phero--tall .phero__text { min-height: 600px; padding: 24px 24px 28px; }
.lead--xs { font-size: 14px; }
.principle { display: grid; grid-template-columns: 400fr 400fr 560fr; gap: 10px; }
.wall-type { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 365px; padding: 28px; border-radius: var(--radius); background: var(--orange); transition: transform .5s var(--ease-out), box-shadow .5s; }
.wall-type:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(255,74,23,.9); }
.wall-type__rei { font-family: var(--font-num); font-size: 120px; line-height: .8; color: rgba(255,255,255,.9); white-space: nowrap; }
.wall-type__title { margin-bottom: 10px; font-family: var(--font-display); font-weight: 500; font-size: 20px; text-transform: uppercase; }
.wall-type p { font-size: 16px; line-height: 1.25; }
.rules { padding: 10px 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.rules li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; line-height: 1.25; }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; background: url("../assets/icons/check.svg") center / contain no-repeat; }
@media (max-width: 1199px) { .principle { grid-template-columns: 1fr 1fr; } .rules { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .principle { grid-template-columns: 1fr; }
  .wall-type { min-height: 280px; padding: 20px; }
  .wall-type__rei { font-size: 96px; }
  .rules { padding: 6px 16px; }
  .rules li { font-size: 14px; }
}

.sys-grid--walls { gap: 22px 22px; }
.sys-grid--walls .sys-card__media img { inset: 6px; height: calc(100% - 12px); }
.custom-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 555px; padding: 28px; border-radius: var(--radius); background: var(--orange); }
.custom-card__title { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.custom-card p { margin-top: auto; font-size: 16px; line-height: 1.25; max-width: 340px; }
.custom-card .btn { margin-top: auto; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { box-shadow: 0 10px 24px -8px rgba(0,0,0,.7); }
@media (max-width: 640px) { .custom-card { min-height: 320px; } .custom-card__title { font-size: 22px; } }

.sub-lead { margin: 20px 0 30px; }
.tables-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.table--compact { min-width: 0; }
.table--compact th, .table--compact td { padding: 14px 16px; }
@media (max-width: 1199px) { .tables-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .table--compact { min-width: 480px; } }

.norm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 20px; }
.norm-chips span { padding: 8px 14px; border-radius: 999px; border: .5px solid rgba(255,255,255,.3); font-size: 13px; transition: background-color .3s, border-color .3s; }
.norm-chips span:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- product (system) page ---------- */
.page-head--tight .crumbs { margin-bottom: 30px; }
.section--first { padding-top: 90px; }
.product { display: grid; grid-template-columns: 800fr 570fr; gap: 10px; align-items: stretch; }
.gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gallery__main { position: relative; height: 470px; border-radius: var(--radius); background: #e7edf1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.gallery__main:hover img { transform: scale(1.04); }
.gallery__badge { position: absolute; left: 20px; top: 20px; padding: 8px 14px; border-radius: 999px; background: var(--ink); font-size: 13px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__thumb { height: 120px; padding: 0; border: 2px solid transparent; border-radius: 14px; background: #e7edf1; overflow: hidden; cursor: pointer; transition: border-color .3s, transform .4s var(--ease-out); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.gallery__thumb:hover { transform: translateY(-3px); }
.gallery__thumb:hover img { transform: scale(1.06); }
.gallery__thumb.is-active { border-color: var(--orange); }
.product__info { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.1); min-width: 0; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-family: var(--font-display); font-size: 12px; text-transform: uppercase; }
.pill--accent { background: var(--orange); }
.product__title { font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.product__text { font-size: 16px; line-height: 1.3; color: rgba(255,255,255,.8); }
.kspecs { width: 100%; margin: 0; }
.kspecs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 16px; }
.kspecs dt { color: rgba(255,255,255,.6); }
.kspecs dd { margin: 0; font-weight: 500; text-align: right; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product__actions .btn { padding: 10px 16px; font-size: 14px; }
.product__note { max-width: 480px; font-size: 12px; color: rgba(255,255,255,.5); }

.chips--scroll { margin-bottom: 36px; }
.tab-body { animation: none; }
.tab-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; text-transform: uppercase; }
.spec-split { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 10px; align-items: stretch; }
.params { padding: 24px 28px 12px; }
.params dl { margin: 4px 0 0; }
.params dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.1); font-size: 16px; }
.params dl div:last-child { border-bottom: 0; }
.params dt { color: rgba(0,0,0,.55); }
.params dd { margin: 0; font-weight: 500; text-align: right; color: #0a0a0b; }
.layers { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.1); }
.layer { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(255,74,23,.32); transition: transform .4s var(--ease-out), background-color .3s; }
.layer:hover { transform: translateX(6px); background: rgba(255,74,23,.45); }
.layer--soft { background: rgba(255,74,23,.22); }
.layer--frame { background: rgba(255,255,255,.06); }
.layer--frame:hover { background: rgba(255,255,255,.12); }
.layer__k { flex: none; font-family: var(--font-display); font-size: 12px; color: var(--orange); text-transform: uppercase; }
.layer__v { flex: 1; min-width: 0; font-size: 15px; }
.layer__n { flex: none; font-family: var(--font-num); font-weight: 400; font-size: 28px; line-height: 1; }
.layers__total { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 8px 4px 0; font-size: 15px; color: rgba(255,255,255,.7); }
.layers__total b { font-family: var(--font-num); font-weight: 400; font-size: 44px; line-height: 1; color: var(--orange); white-space: nowrap; }
.layers__note { font-size: 13px; color: rgba(255,255,255,.55); }

.about-sys { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 10px; }
.about-sys__text { display: flex; flex-direction: column; gap: 16px; padding: 28px; font-size: 16px; line-height: 1.4; color: rgba(0,0,0,.7); }
.about-sys__text .tab-title { color: #0a0a0b; }
.about-sys__steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.about-sys__steps li { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 16px; line-height: 1.25; transition: transform .4s var(--ease-out), background-color .3s; }
.about-sys__steps li:hover { transform: translateX(6px); background: rgba(255,255,255,.14); }
.about-sys__steps b { font-family: var(--font-num); font-weight: 400; font-size: 36px; line-height: 1; color: var(--orange); }

.layer-viz { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 10px; }
.layer-viz__stack { position: relative; display: flex; align-items: stretch; gap: 6px; min-height: 320px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.layer-viz__stack span { flex: calc(var(--t, 10) * 1) 0 0; border-radius: 10px; background: linear-gradient(180deg, #ff7a4d, var(--orange)); animation: layerIn .9s var(--ease-out) both; }
.layer-viz__stack span:nth-child(2) { animation-delay: .1s; }
.layer-viz__stack span:nth-child(3) { animation-delay: .2s; }
.layer-viz__stack .is-thin { background: linear-gradient(180deg, #ffa07f, #ff7a4d); }
.layer-viz__stack .is-frame { flex: 10 0 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 22px), rgba(255,255,255,.05); animation-delay: .3s; }
@keyframes layerIn { from { transform: scaleY(0); transform-origin: bottom; } to { transform: none; } }
.layer-viz__list { display: flex; flex-direction: column; gap: 10px; }
.obj-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.obj-row .obj-card { flex: none; }
.sys-grid--3 { gap: 10px; }

@media (max-width: 1199px) {
  .product, .spec-split, .about-sys, .layer-viz { grid-template-columns: 1fr; }
  .gallery__main { height: 420px; }
  .section--first { padding-top: 64px; }
  .obj-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gallery__main { height: 400px; }
  .gallery__main img { object-position: center; }
  .gallery__thumbs { gap: 8px; }
  .gallery__thumb { height: 100px; }
  .product__info { padding: 24px; gap: 18px; }
  .product__title { font-size: 24px; }
  .product__text { font-size: 14px; }
  .kspecs div { font-size: 14px; flex-wrap: wrap; }
  .product__actions { flex-direction: column; align-items: flex-start; }
  .chips--scroll { margin-bottom: 24px; }
  .params { padding: 20px 20px 8px; }
  .params dl div { font-size: 14px; }
  .layers { padding: 20px; }
  .layer__v { font-size: 13px; }
  .layer__k { font-size: 11px; }
  .layer__n { font-size: 22px; }
  .layers__total b { font-size: 34px; }
  .tab-title { font-size: 18px; }
  .obj-row { grid-template-columns: 1fr; }
  .layer-viz__stack { min-height: 200px; }
}
.layer-viz__stack span { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 12px; overflow: hidden; }
.layer-viz__stack i { font-style: normal; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .85; }
.layer-viz__stack b { font-family: var(--font-num); font-weight: 400; font-size: 34px; line-height: 1; }
@media (max-width: 640px) { .layer-viz__stack { padding: 16px; } .layer-viz__stack span { padding: 10px 6px; } .layer-viz__stack b { font-size: 20px; } }

/* ---------- objects page ---------- */
.page-head__grid--objects { margin-bottom: 24px; }
.section--case { padding-top: 40px; }
.case { display: grid; grid-template-columns: 800fr 570fr; gap: 10px; }
.case__photo { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease-out); }
.case__photo:hover .case__img { transform: scale(1.04); }
.case__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 60%, rgba(0,0,0,.45)); }
.case__tags { position: absolute; left: 20px; top: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.case__tags span { padding: 8px 14px; border-radius: 999px; background: var(--ink); font-size: 13px; }
.case__logo { position: absolute; left: 24px; bottom: 30px; width: auto; height: 48px; max-width: 60%; }
.case__logo.is-round { width: 96px; height: 96px; }
.case__info { display: flex; flex-direction: column; padding: 0 20px 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.1); }
.case__row { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.case__k { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; color: var(--orange); }
.case__v { font-size: 20px; line-height: 1.25; }
.case.is-switching .case__img, .case.is-switching .case__info > *, .case.is-switching .case__tags, .case.is-switching .case__logo { opacity: 0; transform: translateY(10px); }
.case__img, .case__info > *, .case__tags, .case__logo { transition: opacity .35s ease, transform .6s var(--ease-out); }
.case__photo:hover .case__img { transform: scale(1.04); }
.objects-count { font-size: 14px; color: rgba(255,255,255,.6); }
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.obj-grid .obj-card { height: 300px; }
.obj-card.is-current { box-shadow: inset 0 0 0 1.5px var(--orange); }
.obj-grid:not(:has(.obj-card:not(.is-hidden))) .cat-grid__empty { display: block; }
@media (max-width: 1199px) {
  .case { grid-template-columns: 1fr; }
  .case__photo { min-height: 460px; }
  .obj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section--case { padding-top: 24px; }
  .case__photo { min-height: 340px; }
  .case__logo { height: 32px; bottom: 20px; left: 20px; }
  .case__logo.is-round { width: 64px; height: 64px; }
  .case__tags span { font-size: 12px; padding: 6px 12px; }
  .case__v { font-size: 16px; }
  .case__info { padding: 0 16px 8px; }
  .case__row:last-child { border-bottom: 0; }
  .obj-grid { grid-template-columns: 1fr; }
  .obj-grid .obj-card { height: 260px; }
}

/* ---------- clients page ---------- */
.page-head__grid--clients { margin: 24px 0 30px; }
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hub__tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 266px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; }
.hub__tile::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,74,23,.45), transparent 65%); opacity: 0; transform: scale(.6); transition: opacity .6s, transform .8s var(--ease-out); z-index: -1; }
.hub__tile:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.hub__tile:hover::before { opacity: 1; transform: none; }
.hub__num { font-family: var(--font-num); font-size: 64px; line-height: .9; color: var(--orange); transition: transform .5s var(--ease-out); }
.hub__tile:hover .hub__num { transform: translateX(6px); }
.hub__tile .round-arrow { position: absolute; right: 20px; top: 20px; }
.hub__tile:hover .round-arrow { background-color: var(--orange); transform: rotate(45deg); }
.hub__body { display: flex; flex-direction: column; gap: 10px; }
.hub__body b { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.hub__body small { font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.7); }
.albums { display: grid; grid-template-columns: 336fr 336fr 684fr; gap: 10px; align-items: start; margin-top: 70px; }
.album { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: #fff; color: #0a0a0b; transition: transform .5s var(--ease-out), box-shadow .5s; }
.album:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.album__img { position: relative; height: 380px; border-radius: 12px; background: #d6e8f2; overflow: hidden; }
.album__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease-out); }
.album__img--cover img { object-fit: cover; object-position: center 70%; }
.album:hover .album__img img { transform: scale(1.06); }
.album b { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.2; text-transform: uppercase; }
.album small { font-size: 14px; color: rgba(0,0,0,.55); }
.norms-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq-wrap__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq-wrap__actions .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 1199px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .albums { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .albums__docs { grid-column: 1 / -1; }
  .album__img { height: 320px; }
}
@media (max-width: 640px) {
  .hub { grid-template-columns: 1fr; }
  .hub__tile { min-height: 200px; }
  .hub__num { font-size: 52px; }
  .hub__body b { font-size: 18px; }
  .albums { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
  .album { padding: 10px; }
  .album__img { height: 180px; }
  .album b { font-size: 12px; }
  .album small { font-size: 12px; }
  .norms-2 { grid-template-columns: 1fr; }
}
.round-arrow--sm { width: 44px; height: 44px; background: rgba(255,255,255,.16) url("../assets/icons/arrow-ur.svg") center / 24px no-repeat; }

/* ---------- about page ---------- */
.ahero { display: grid; grid-template-columns: 685fr 685fr; gap: 10px; margin-top: 30px; }
.ahero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 620px; padding: 24px 24px 28px; }
.ahero__label { align-self: flex-start; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 20px; line-height: 1.1; letter-spacing: -0.06em; }
.ahero__body { display: flex; flex-direction: column; gap: 20px; }
.ahero__title { max-width: 640px; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; color: #0a0a0b; }
.ahero__title span { color: var(--red); }
.ahero__body p { max-width: 640px; font-size: 16px; line-height: 1.25; color: #000; }
.ahero__photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.ahero__photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 62% center; }
.clients3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.client-type { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.14); transition: transform .5s var(--ease-out), background-color .4s; }
.client-type:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.client-type h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-transform: uppercase; }
.client-type p { font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.7); }
.wide-obj { position: relative; display: block; height: 360px; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.wide-obj__img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.wide-obj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 35%, transparent 65%, rgba(0,0,0,.35)); }
.wide-obj .obj-card__name { left: 20px; top: 20px; }
.wide-obj:hover .obj-card__go { background: var(--orange); transform: rotate(45deg); }
.reqs { display: grid; grid-template-columns: minmax(0, 1fr) 800px; gap: 30px; align-items: start; }
.reqs__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.reqs__head .btn { padding: 10px 16px; font-size: 14px; }
.reqs__table { margin: 0; padding: 4px 20px; }
.reqs__table div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.1); font-size: 16px; }
.reqs__table div:last-child { border-bottom: 0; }
.reqs__table dt { color: rgba(0,0,0,.55); }
.reqs__table dd { margin: 0; text-align: right; color: #0a0a0b; }
.reqs__table a:hover { color: var(--red); }
[data-copy] { position: relative; cursor: copy; transition: color .3s; }
[data-copy]:hover { color: var(--red); }
[data-copy].is-copied::after { content: "Скопировано"; position: absolute; right: 0; bottom: calc(100% + 6px); padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; animation: copied 1.4s var(--ease-out) forwards; }
@keyframes copied { 0% { opacity: 0; transform: translateY(6px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 1199px) {
  .ahero { grid-template-columns: 1fr; }
  .ahero__text { min-height: 460px; }
  .ahero__photo { height: 420px; }
  .clients3 { grid-template-columns: 1fr 1fr; }
  .clients3 .client-type:last-child { grid-column: 1 / -1; }
  .reqs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ahero { margin-top: 20px; }
  .ahero__text { min-height: 420px; padding: 20px; }
  .ahero__label { font-size: 16px; padding: 8px 16px; }
  .ahero__title { font-size: 22px; }
  .ahero__body p { font-size: 14px; }
  .ahero__photo { height: 300px; }
  .clients3 { grid-template-columns: 1fr; }
  .client-type { padding: 20px; }
  .client-type h3 { font-size: 17px; }
  .wide-obj { height: 240px; }
  .reqs__table { padding: 4px 16px; }
  .reqs__table div { flex-direction: column; gap: 4px; font-size: 14px; }
  .reqs__table dd { text-align: left; }
}
@media (max-width: 640px) { .h2--long { font-size: 27px; } }
@media (max-width: 380px) { .h2--long { font-size: 24px; } }
@media (max-width: 1199px) { .ahero__photo img { object-position: 72% center; } }

/* ==========================================================================
   Figma fidelity pass — desktop measurements from the layouts
   ========================================================================== */
/* global rhythm: CTA → footer 30px, footer 338px */
.section--cta { padding-bottom: 0; }
.footer__inner { padding-top: 45px; padding-bottom: 46px; }

/* services list: title trimmed to cap height like in Figma (row = 90px) */
.svc__title { text-box: trim-both cap alphabetic; }

/* specs / cards */
.specs { line-height: normal; }
.sys-card__title { letter-spacing: -0.03em; }
.func { gap: 0; }

/* tables */
.table { font-size: 15px; line-height: 1.25; }
.table th, .table td { padding: 18px 24px; }
.table thead th { font-size: 12px; letter-spacing: 0; }
.table tbody th { font-size: 14px; font-weight: 500; }
.table--compact th, .table--compact td { padding: 17px 16px; font-size: 14px; }
.table--cmp thead th:nth-child(1) { width: 288px; }
.table--cmp thead th:nth-child(2) { width: 178px; }
.table--cmp thead th:nth-child(3) { width: 238px; }
.table--cmp thead th:nth-child(4) { width: 128px; }
.table--cmp thead th:nth-child(5) { width: 138px; }
.table--cmp td { white-space: normal; }

/* "что входит в работу" */
.scope__steps { padding: 8px 24px; }
.scope__steps li { align-items: center; gap: 16px; font-size: 18px; letter-spacing: -0.02em; }
.scope__steps li span { font-size: 14px; }
.mini-mat__img { height: 88px; }

/* docs */
.doc { padding: 18px 18px 18px 20px; gap: 18px; }
.doc-list--loose { gap: 20px; }

/* system page */
.section--first { padding-top: var(--section); }
.layer__n { line-height: normal; }
.layers__total b { line-height: normal; }

@media (min-width: 1200px) {
  /* page heads with h1 */
  .page-head__grid { margin-top: 22px; }
  .page-head__grid--top { align-items: start; grid-template-columns: minmax(0, 1fr) 640px; margin: 32px 0 30px; }
  .page-head__grid--top .page-head__aside { line-height: 1.2; }
  .page-head__grid--clients { margin: 22px 0 30px; }
  .section--dirs .head-split { margin-bottom: 40px; }
  .brands { margin-top: 30px; }

  /* home: map → CTA is 20px */
  .where + .section--cta { padding-top: 20px; }

  /* walls */
  .section--after-hero { padding-top: 146px; }
  .head-split--wide { grid-template-columns: minmax(0, 1fr) 460px; }

  /* objects */
  .section--case .head-row { margin-bottom: 20px; }

  /* clients */
  .albums { margin-top: 110px; }

  /* about */
  .ahero { margin-top: 22px; }
  .client-type { padding: 28px; }
  .reqs__head p { max-width: 410px; }
  .reqs__table div { padding: 18px 0; }
}
.sys-card__title { letter-spacing: -0.035em; }
.table--cmp th, .table--cmp td { padding-left: 0; padding-right: 0; }
.table--cmp tr > :first-child { padding-left: 24px; }
.table--cmp tr > :last-child { padding-right: 24px; }
.table--cmp thead th:nth-child(1) { width: 312px; }
@media (min-width: 1200px) { .funcs { margin-top: 21px; } }
.table--cmp { table-layout: fixed; }
.table--cmp thead th:nth-child(1) { width: 300px; }
.table--cmp thead th:nth-child(2) { width: 205px; }
.table--cmp thead th:nth-child(3) { width: 238px; }
.table--cmp thead th:nth-child(4) { width: 120px; }
.table--cmp thead th:nth-child(5) { width: 130px; }
.table--cmp tbody th { white-space: normal; }
@media (min-width: 1200px) {
  .funcs { margin-top: 51px; }
  .layers { min-height: 530px; }
  .page-head:has(.hub) + .section { padding-top: 119px; }
  .section--p122 { padding-top: 122px; }
}

/* ---------- Figma fidelity: tablet & mobile rhythm ---------- */
@media (max-width: 1199px) {
  :root { --section: 56px; }
  .page--index { --section: 80px; }
  .h1, .h2 { font-size: 40px; line-height: 1; letter-spacing: -0.026em; }
  .head-split { gap: 24px; margin-bottom: 24px; }
  .head-row { margin-bottom: 24px; }
  .page-head__grid { gap: 24px; margin: 24px 0; }
  .page-head__aside { gap: 24px; font-size: 16px; line-height: 1.2; color: rgba(255,255,255,.85); }
  .lead--muted { color: rgba(255,255,255,.9); }
}
@media (max-width: 640px) {
  :root { --section: 44px; }
  .page--index { --section: 64px; }
  .h1, .h2 { font-size: 30px; line-height: 1; letter-spacing: -0.035em; }
  .h2--long { font-size: 27px; }
  .head-split { gap: 20px; margin-bottom: 20px; }
  .head-row { margin-bottom: 20px; }
  .page-head__grid { gap: 20px; margin: 20px 0; }
  .page-head__aside { gap: 20px; font-size: 16px; }
  .lead, .lead--sm, .lead--muted { font-size: 16px; }
  .crumbs { font-size: 14px; }
}
@media (max-width: 1199px) {
  .cat-grid { gap: 20px; }
  .cat-card { height: 440px; }
  .mat-grid { gap: 10px; }
  .mat-card { min-height: 407px; }
  .brands { gap: 16px; }
  .brand { height: 117px; }
}
@media (max-width: 640px) {
  .chip, .chips--lg .chip { font-size: 14px; padding: 8px 14px; }
  .mat-grid { gap: 16px; }
  .brands { gap: 10px; }
  .brand { height: 69px; }
}
@media (max-width: 1199px) {
  .cta__title { font-size: 34px; }
  .cat-card__title { font-size: 19px; }
  .cat-card__img { flex: none; height: 224px; }
}
@media (max-width: 640px) {
  .cta__title { font-size: 24px; }
  .cat-card__title { font-size: 19px; }
}
@media (max-width: 1199px) {
  .limits { gap: 24px; }
  .limit { min-height: 226px; }
}
@media (max-width: 640px) {
  .main { padding-top: calc(var(--header-top) + var(--header-h) + 14px); }
  .limits { gap: 20px; }
  .limit { min-height: 310px; }
}

/* tablet/mobile fidelity — product pages */
.table--cmp, .table--wide { min-width: 1370px; }
@media (max-width: 1199px) {
  .phero { grid-template-columns: 1fr 1fr; }
  .phero__text, .phero--tall .phero__text { min-height: 560px; padding: 20px; }
  .phero--tall .phero__text { min-height: 600px; }
  .phero__text .tag { align-self: stretch; font-size: 16px; }
  .phero__title { font-size: 22px; letter-spacing: -0.036em; }
  .phero__lead { font-size: 16px; }
  .phero__actions { row-gap: 8px; }
  .phero__media { aspect-ratio: auto; min-height: 0; }
  .func { min-height: 0; gap: 40px; }
  .func__num { font-size: 30px; letter-spacing: -0.07em; }
  .func__title { font-size: 16px; }
}
@media (max-width: 640px) {
  .phero { grid-template-columns: 1fr; }
  .phero__media { aspect-ratio: 343 / 400; }
}
@media (max-width: 1199px) { .func { gap: 18px; } }
@media (max-width: 1199px) {
  /* clients hub: 2×3 compact tiles */
  .hub__tile { min-height: 173px; gap: 20px; }
  .hub__num { font-size: 30px; line-height: .8; }
  .hub__body b { font-size: 18px; }
  /* about hero: two columns, 620px */
  .ahero { grid-template-columns: 1fr 1fr; }
  .ahero__text { min-height: 620px; padding: 24px 24px 28px; }
  .ahero__title { font-size: 22px; }
  .ahero__photo { height: auto; }
  .wide-obj { height: 216px; }
}
@media (max-width: 640px) {
  .ahero { grid-template-columns: 1fr; }
  .ahero__photo { height: 300px; }
}
/* system page — gallery keeps desktop proportions on tablet/mobile (Figma) */
@media (max-width: 1199px) {
  .product { row-gap: 16px; }
  .gallery__main { height: 470px; }
}
@media (max-width: 640px) {
  .gallery__thumbs { gap: 10px; }
  .gallery__thumb { height: 120px; }
  .product__info { padding: 28px; }
}
@media (max-width: 640px) {
  .funcs { gap: 16px; }
  .func { min-height: 224px; }
}
