:root {
  --ink: #14171c;
  --muted: #5c6470;
  --paper: #eceae6;
  --white: #f7f6f3;
  --line: rgba(20, 23, 28, 0.08);
  --accent: #c45c1a;
  --steel: #243445;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Golos Text", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-btn span,
  .mobile-nav,
  .btn {
    transition: none;
  }
  .to-top {
    transition: none;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(20, 23, 28, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  overflow: visible;
}
.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.nav > a,
.nav-drop > a {
  text-decoration: none;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 650;
}
.nav > a.is-active, .nav > a:hover,
.nav-drop > a.is-active, .nav-drop:hover > a { color: #fff; }
.nav-drop { position: relative; }
.nav-drop > a.has-sub::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.nav-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 320px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 60;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-menu-inner {
  background: #1b2028;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.nav-menu a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: normal;
  line-height: 1.35;
}
.nav-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-sub { padding-left: 16px !important; font-size: 14px; color: rgba(255,255,255,.7) !important; }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-search {
  position: relative;
  width: 220px;
  flex-shrink: 0;
  overflow-anchor: none;
}
.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 4px;
  padding: 0 68px 0 14px;
  outline: none;
  appearance: none;
  scroll-margin: 0;
  scroll-padding: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
}
.header-search input[type="search"]::-webkit-search-decoration,
.header-search input[type="search"]::-webkit-search-cancel-button,
.header-search input[type="search"]::-webkit-search-results-button,
.header-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.header-search input::-ms-clear { display: none; width: 0; height: 0; }
.header-search input::placeholder {
  color: rgba(255,255,255,.42);
  font-size: 13px;
  font-weight: 650;
}
.header-search input:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
}
.header-search-go,
.header-search-clear {
  position: absolute;
  top: 0;
  height: 40px;
  border: 0;
  background: none;
  color: rgba(255,255,255,.55);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
  padding: 0;
}
.header-search-go {
  right: 2px;
  width: 40px;
  color: rgba(255,255,255,.8);
}
.header-search-clear {
  right: 34px;
  width: 28px;
}
.header-search-clear[hidden] { display: none; }
.header-search-go:hover,
.header-search-clear:hover { color: #fff; }
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, 92vw);
  max-height: min(70vh, 440px);
  overflow: auto;
  background: #1b2028;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  z-index: 80;
  padding: 6px 0;
}
.search-suggest a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
}
.search-suggest a:hover,
.search-suggest a.is-active {
  background: rgba(255,255,255,.06);
}
.search-suggest img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #eceae6;
  border-radius: 4px;
}
.search-suggest .search-suggest-txt {
  min-width: 0;
}
.search-suggest b {
  display: block;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.search-suggest small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  font-weight: 650;
}
.search-suggest .search-suggest-empty {
  padding: 12px 14px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.search-suggest-hint {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px 14px;
}
.search-suggest-hint-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.search-suggest-hint b {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.search-suggest-hint small {
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.search-dirs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.search-dir {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  box-shadow: 0 1px 0 var(--line);
}
.search-dir:hover { color: var(--accent); }
.search-page-card { min-height: 140px; }
.search-pager { margin-top: 28px; }
.search-pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.search-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 0 var(--line);
}
.search-pager a.page-numbers:hover {
  color: var(--accent);
}
.search-pager .page-numbers.current {
  background: var(--steel);
  color: #fff;
  box-shadow: none;
}
.search-pager .page-numbers.dots {
  background: none;
  box-shadow: none;
  min-width: 0;
  padding: 0 4px;
}
.error-search.header-search {
  width: min(480px, 100%);
}
.error-search input {
  height: 48px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  font-size: 15px;
}
.error-search input::placeholder {
  color: var(--muted);
  font-size: 14px;
}
.error-search input:focus {
  border-color: var(--accent);
  background: #fff;
}
.error-search .header-search-go,
.error-search .header-search-clear {
  height: 48px;
  color: var(--muted);
}
.error-search .header-search-go:hover,
.error-search .header-search-clear:hover {
  color: var(--ink);
}
.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
}
.header-phones .phone-link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: left;
}
.header-phones .phone-link:hover {
  color: #f0b27a;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 4px;
  padding: 13px 20px;
  font: 700 14px/1 var(--font);
  letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover,
.btn-accent:focus-visible { background: #a84c14; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #f0b27a;
  border-color: #f0b27a;
}
.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn-ghost.dark:hover,
.btn-ghost.dark:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.menu-btn {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .28s ease, top .28s ease, opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-btn.is-open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,14,18,.88) 0%, rgba(12,14,18,.55) 46%, rgba(12,14,18,.18) 100%),
    linear-gradient(to top, rgba(12,14,18,.55), transparent 42%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 64px 0 56px;
  max-width: 640px;
}
.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f0b27a;
  margin-bottom: 14px;
}
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; }
.lead { font-size: 18px; color: rgba(255,255,255,.82); max-width: 42ch; margin: 0; }
.hero-actions { display: flex; gap: 10px; margin: 28px 0 20px; flex-wrap: wrap; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 650;
}
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,14,18,.82), rgba(12,14,18,.35));
}
.page-hero .wrap { position: relative; z-index: 1; padding: 56px 0 36px; }
.page-hero h1 { max-width: 22ch; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 48ch; }

.crumbs {
  margin: 0 0 16px;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.crumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.crumbs li:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .35;
  flex-shrink: 0;
}
.crumbs a {
  text-decoration: none;
  color: inherit;
  opacity: .7;
  white-space: nowrap;
}
.crumbs a:hover {
  opacity: 1;
  color: var(--accent);
}
.crumbs span[aria-current="page"] {
  color: inherit;
  opacity: .95;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52ch, 70vw);
}
.page-hero .crumbs {
  color: #fff;
  margin: 0 0 18px;
}
.page-hero .crumbs a:hover {
  color: #f0b27a;
}
.section .crumbs,
.prose .crumbs {
  color: var(--muted);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section .crumbs span[aria-current="page"],
.prose .crumbs span[aria-current="page"] {
  color: var(--ink);
  opacity: 1;
  font-weight: 700;
}

.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section h2 { font-size: clamp(26px, 3vw, 36px); }
.muted { color: var(--muted); }

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,14,18,.86) 0%, rgba(12,14,18,.15) 55%);
}
.tile-body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}
.tile h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.2; }
.tile p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20,23,28,.1);
}
.card-photo {
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  background: #fff;
  padding: 16px;
  display: grid;
  place-items: center;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}
.card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card .code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
}
.card h3 { font-size: 15px; margin: 4px 0 6px; line-height: 1.25; }
.card p {
  margin: 0;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.chip {
  font-size: 11px;
  font-weight: 750;
  background: #ece7df;
  border-radius: 3px;
  padding: 4px 8px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.catalog-layout .grid-cards {
  grid-template-columns: repeat(3, 1fr);
}
.catalog-nav {
  position: sticky;
  top: 92px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 110px);
  box-shadow: 0 1px 0 var(--line);
  scrollbar-width: thin;
  scrollbar-color: #c9bfb2 transparent;
}
.catalog-nav::-webkit-scrollbar {
  width: 6px;
}
.catalog-nav::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}
.catalog-nav::-webkit-scrollbar-thumb {
  background: #c9bfb2;
  border-radius: 8px;
}
.catalog-nav::-webkit-scrollbar-thumb:hover {
  background: #b5a898;
}
.catalog-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
}
.catalog-nav-head span {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.catalog-nav-head small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.catalog-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 10px 12px 8px;
}
.catalog-nav a.catalog-nav-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  border-left: 2px solid transparent;
  margin-bottom: 4px;
}
.catalog-nav a.catalog-nav-all em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.catalog-nav a.catalog-nav-all:hover,
.catalog-nav a.catalog-nav-all.is-on {
  background: #ece7df;
}
.catalog-nav a.catalog-nav-all.is-on { border-left-color: var(--accent); }
.catalog-nav-group { margin-bottom: 2px; width: 100%; }
.catalog-nav-row {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.catalog-nav-row > a {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding: 11px 10px 11px 12px;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  border-left: 2px solid transparent;
  min-width: 0;
}
.catalog-nav-row > a span {
  display: block;
  white-space: normal;
}
.catalog-nav-row > a.is-on,
.catalog-nav-row > a:hover {
  background: #ece7df;
}
.catalog-nav-row > a.is-on { border-left-color: var(--accent); }
.catalog-nav-toggle {
  flex: 0 0 36px;
  width: 36px;
  border: 0;
  background: transparent;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  position: relative;
  color: var(--muted);
}
.catalog-nav-toggle:hover { background: #ece7df; color: var(--ink); }
.catalog-nav-toggle::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border: 5px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  transition: transform .15s ease;
}
.catalog-nav-group.is-open .catalog-nav-toggle::before {
  transform: translateY(-2px) rotate(180deg);
}
.catalog-nav-sub {
  padding: 2px 0 8px 12px;
}
.catalog-nav-sub a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 7px 10px;
  border-radius: 4px;
}
.catalog-nav-sub a:hover { color: var(--ink); background: #ece7df; }
.catalog-nav-sub a.is-on {
  color: var(--accent);
  background: #ece7df;
}
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  padding: 8px 12px;
  font: 700 13px var(--font);
  cursor: pointer;
  color: var(--muted);
}
.filter-btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.service-hero-img,
.product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.product-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.product-media {
  background: var(--white);
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 1px 0 var(--line);
}
.product-main .code {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 13px;
}
.product-main h1 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px;
}
.product-copy p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 14px;
}
.service-layout {
  display: grid;
  grid-template-columns: 1.45fr .7fr;
  gap: 28px;
  align-items: start;
}
.prose p { color: var(--muted); font-size: 17px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; }
.side-box {
  background: var(--steel);
  color: #fff;
  border-radius: 6px;
  padding: 24px;
  position: sticky;
  top: 92px;
}
.side-box p { color: rgba(255,255,255,.72); }
.side-box .btn { width: 100%; margin-top: 10px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.form { display: grid; gap: 10px; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 12px 14px;
}
.form textarea { min-height: 110px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }
.note a { color: var(--accent); }
.legal-page { max-width: 72ch; }
.legal-page h2 { font-size: 22px; margin-top: 28px; }
.legal-page ul { color: var(--muted); padding-left: 20px; }
.legal-page a { color: var(--accent); }
.ok { color: #0f766e; font-weight: 700; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
}
.map-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 16px;
}

.site-footer {
  background: #14171c;
  color: rgba(255,255,255,.68);
  padding: 44px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.site-footer a { color: #fff; text-decoration: none; }
.legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; font-size: 12px; }

.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background .2s ease, opacity .2s ease, visibility .2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.to-top:hover,
.to-top:focus-visible {
  background: #a84c14;
}

.mobile-nav {
  display: block;
  max-height: 0;
  overflow: hidden;
  background: #1b2028;
  padding: 0 20px;
  opacity: 0;
  visibility: hidden;
  transition: max-height .35s ease, opacity .22s ease, visibility .35s, padding .35s ease;
}
.mobile-nav.is-open {
  max-height: min(80vh, 560px);
  opacity: 1;
  visibility: visible;
  padding: 8px 20px 18px;
}
.mobile-nav.is-open.is-scrollable {
  overflow-y: auto;
}
.mobile-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 650;
}

.section-tight { padding: 28px 0 0; }
.feat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.feat-row article {
  background: var(--white);
  border-radius: 6px;
  padding: 18px 18px 16px;
}
.feat-row strong { display: block; font-size: 15px; margin-bottom: 6px; }
.feat-row span { font-size: 13px; color: var(--muted); }

.plus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plus-card {
  background: var(--white);
  border-radius: 6px;
  padding: 22px 22px 20px;
}
.plus-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.plus-card h3 { font-size: 20px; margin-bottom: 8px; }
.plus-card p { margin: 0; font-size: 15px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: 6px;
  padding: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.step h3 { font-size: 18px; }
.step p { margin: 0; font-size: 14px; }

.cta-band {
  background: var(--steel);
  color: #fff;
  border-radius: 6px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); max-width: 52ch; }
.cta-band .btn { flex-shrink: 0; }

@media (max-width: 1100px) {
  .product-page {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .product-page .side-box {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 8px;
  }
  .header-phones .phone-link { font-size: 12px; }
  .site-header .header-search {
    width: 40px;
    flex: none;
  }
  .site-header .header-search input,
  .site-header .header-search .header-search-clear {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .site-header .header-search input,
  .site-header .header-search input::placeholder {
    font-size: 16px;
  }
  .site-header .header-search .header-search-go {
    position: static;
    width: 40px;
    height: 40px;
  }
  .site-header .header-search.is-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    z-index: 70;
    display: flex;
    align-items: center;
    background: #1a1e24;
  }
  .site-header .header-search.is-open input {
    position: static;
    width: 100%;
    height: 40px;
    opacity: 1;
    pointer-events: auto;
    padding-right: 68px;
  }
  .site-header .header-search.is-open .header-search-clear:not([hidden]) {
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 40px;
    opacity: 1;
    pointer-events: auto;
  }
  .site-header .header-search.is-open .header-search-go {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .site-header .header-search.is-open .search-suggest {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #1a1e24;
  }
}

@media (max-width: 900px) {
  .error-search.header-search {
    width: 100%;
    flex: none;
  }
  .cats, .service-layout, .product-page, .contact-grid, .footer-grid, .about-grid, .plus-grid, .steps, .feat-row, .catalog-layout {
    grid-template-columns: 1fr;
  }
  .grid-cards,
  .catalog-layout .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-nav {
    position: static;
    max-height: none;
  }
  .catalog-nav nav {
    max-height: none;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: start; }
  .hero { min-height: 88vh; }
  .about-grid img { height: 240px; }
  .product-media { max-width: 280px; }
}

@media (max-width: 560px) {
  .grid-cards,
  .catalog-layout .grid-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-cta .btn {
    padding: 13px 12px;
  }
}

@media (max-width: 520px) {
  .header-cta .btn { display: none; }
}
