/* =========================================================
   Проставки БМВ — стили
   Белый фон, чёрные элементы, синие акценты #00559F.
   ========================================================= */

:root {
  --white: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #242424;
  --muted: #6b6b6b;
  --muted-2: #8f8f8f;
  --brand: #00559f;
  --brand-dark: #00457f;

  --metal-50: #f4f8fc;
  --metal-100: #e9f1f9;
  --metal-200: #d3e3f2;
  --metal-300: #a9c8e4;
  --metal-400: #6f9fcc;
  --metal-500: #00559f;
  --metal-600: #00478a;
  --metal-650: #003d75;
  --metal-700: #003060;
  --metal-800: #0b2a4a;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --line: #e3ebf3;
  --line-2: #cbd9e7;

  --grad-metal: linear-gradient(135deg, #003d75 0%, #00559f 46%, #3d86c6 72%, #00559f 100%);
  --grad-metal-soft: linear-gradient(135deg, #ffffff 0%, #eef5fb 44%, #d3e3f2 100%);
  --grad-metal-text: linear-gradient(100deg, #0b0b0b 0%, #00559f 24%, #1a1a1a 44%, #4a8fcf 62%, #00325f 80%, #00559f 100%);
  --grad-metal-light: linear-gradient(100deg, #f4f8fc 0%, #6f9fcc 24%, #e9f1f9 44%, #00559f 68%, #f4f8fc 100%);
  --grad-dark: linear-gradient(150deg, #00559f 0%, #00457f 50%, #003065 100%);

  --shadow-sm: 0 2px 12px rgba(11, 11, 11, 0.05);
  --shadow-md: 0 28px 60px -32px rgba(11, 11, 11, 0.32);
  --shadow-dark: 0 30px 70px -34px rgba(11, 11, 11, 0.65);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1260px;
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--metal-300);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--metal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 110px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Сетка и типографика ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(0, 85, 159, 0.2), transparent 70%),
    var(--bg-soft);
}

.section--dark {
  position: relative;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(0, 85, 159, 0.14), transparent 62%),
    radial-gradient(700px 400px at 4% 100%, rgba(0, 85, 159, 0.08), transparent 66%),
    var(--grad-dark);
  color: var(--white);
}

.section--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.55), transparent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metal-600);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--metal-500), var(--metal-300));
}

.eyebrow--light {
  color: var(--metal-400);
}

.eyebrow--light::before {
  background: linear-gradient(90deg, var(--metal-300), rgba(232, 232, 232, 0.1));
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head .lead {
  max-width: 680px;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
}

.section-head--split h2 {
  margin-bottom: 0;
}

.section-head__aside {
  max-width: 500px;
  padding-bottom: 4px;
}

.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.section--dark .lead,
.section--dark .section-head .lead {
  color: #b0b0b0;
}

.metal-text {
  color: var(--metal-600);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal-text {
    background: var(--grad-metal-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .section--dark .metal-text {
    background: var(--grad-metal-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon--xs {
  width: 14px;
  height: 14px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(180deg, #1a6cb0, #00559f);
  border-color: #00457f;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px -16px rgba(0, 85, 159, 0.8);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #2a7ac0, #00457f);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 32px -18px rgba(0, 85, 159, 0.85);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--metal-50);
  transform: translateY(-1px);
}

.btn--metal {
  background: var(--grad-metal);
  border-color: #00325f;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 26px -18px rgba(0, 85, 159, 0.6);
}

.btn--metal:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 32px -18px rgba(11, 11, 11, 0.5);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12.5px;
}

.section--dark .btn--ghost {
  background: transparent;
  border-color: rgba(232, 232, 232, 0.26);
  color: var(--white);
}

.section--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 232, 232, 0.6);
}

/* ---------- Верхняя полоса ---------- */

.topbar {
  position: relative;
  z-index: 110;
  background: var(--brand);
  color: #b0b0b0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.55), transparent);
  opacity: 0.55;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.topbar__note,
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__note {
  color: #c8c8c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.topbar__item {
  color: #a0a0a0;
}

a.topbar__item:hover {
  color: var(--white);
}

.topbar__item svg {
  color: var(--metal-400);
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px rgba(11, 11, 11, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  width: 44px;
  height: 44px;
  color: var(--ink);
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo__title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--metal-650);
}

.logo--footer {
  color: var(--white);
}

.logo--footer .logo__sub {
  color: var(--metal-400);
}

.logo--footer .logo__title {
  color: var(--white);
}

.logo--footer .logo__sub {
  color: var(--metal-400);
}

.logo--footer .logo__mark {
  color: var(--white);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: var(--metal-100);
  color: var(--ink);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, var(--metal-600), var(--metal-300));
}

.nav__link--cta {
  margin-left: 8px;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--white);
}

.nav__link--cta:hover {
  background: var(--ink-3);
  color: var(--white);
}

.nav__link--cta::after {
  display: none;
}

.nav__footer {
  display: none;
}

.nav__top {
  display: none;
}

.nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav__close:hover {
  border-color: var(--brand);
  background: var(--metal-50);
}

.nav__close svg {
  width: 18px;
  height: 18px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--grad-metal-soft);
  color: var(--ink);
  flex-shrink: 0;
}

.contact__icon svg {
  width: 17px;
  height: 17px;
}

.contact__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact__label {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal-650);
}

.contact__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}

.contact--header:hover .contact__icon {
  border-color: var(--metal-400);
  box-shadow: var(--shadow-sm);
}

.contact.is-revealed .contact__icon {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--white);
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--brand);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.is-open span {
  opacity: 0;
}

.burger.is-open::before {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.is-open::after {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  background:
    radial-gradient(760px 520px at 88% 16%, rgba(0, 85, 159, 0.18), transparent 68%),
    var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 11, 11, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(900px 620px at 76% 32%, #000 0%, transparent 78%);
  mask-image: radial-gradient(900px 620px at 76% 32%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 64px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--metal-700);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-metal);
  box-shadow: 0 0 0 3px rgba(0, 85, 159, 0.2);
}

.hero__title {
  margin: 22px 0 22px;
  font-size: clamp(3.1rem, 6vw, 5.25rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 570px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 30px;
  max-width: 560px;
  margin-top: 42px;
}

.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__facts span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.hero__visual {
  min-width: 0;
}

.blueprint {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 420px at 62% 28%, rgba(0, 85, 159, 0.12), transparent 66%),
    var(--grad-dark);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.blueprint::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.7), transparent);
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(232, 232, 232, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 232, 232, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.blueprint__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.blueprint__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.blueprint__title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.blueprint__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.blueprint__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--metal-200);
  box-shadow: 0 0 0 3px rgba(232, 232, 232, 0.12);
}

.blueprint__drawing {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 4px auto 2px;
}

.blueprint__spin {
  transform-origin: 260px 260px;
  animation: blueprint-spin 70s linear infinite;
}

@keyframes blueprint-spin {
  to {
    transform: rotate(360deg);
  }
}

.blueprint__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blueprint__chip {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #ffffff;
  white-space: nowrap;
}

.blueprint__chip--accent {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--metal-650);
}

.hero__caption svg {
  color: var(--metal-500);
}

/* ---------- Полоса преимуществ ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.trust__item:not(:first-child) {
  padding-left: 24px;
}

.trust__item:last-child {
  border-right: 0;
}

.trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--grad-metal-soft);
  color: var(--ink);
  flex-shrink: 0;
}

.trust__icon svg {
  width: 19px;
  height: 19px;
}

.trust__title {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
}

.trust__text {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- Каталог ---------- */

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-metal);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--metal-400);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--grad-metal-soft);
  color: var(--ink);
}

.card__icon svg {
  width: 21px;
  height: 21px;
}

.card__tag {
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal-650);
  white-space: nowrap;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 18px;
}

.card__title {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.card__text {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.card__points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 20px;
}

.card__points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--metal-700);
}

.card__points svg {
  width: 13px;
  height: 13px;
  color: var(--metal-500);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--metal-650);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* ---------- Модели ---------- */

.models__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.models__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 520px;
}

.models__search-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  color: var(--metal-650);
  pointer-events: none;
}

.models__search-icon svg {
  width: 17px;
  height: 17px;
}

.models__search-input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.models__search-input::placeholder {
  color: var(--metal-650);
  opacity: 1;
}

.models__search-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 11, 11, 0.06);
}

.models__search-clear {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--metal-600);
}

.models__search-clear:hover {
  background: var(--metal-100);
  color: var(--ink);
}

.models__search-clear[hidden] {
  display: none;
}

.models__search-clear svg {
  width: 15px;
  height: 15px;
}

.models__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--metal-650);
  white-space: nowrap;
}

.models__empty {
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  background: var(--metal-50);
  font-size: 13px;
  color: var(--muted);
}

.models__group {
  margin-top: 38px;
}

.models__group:first-of-type {
  margin-top: 0;
}

.models__group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.models__group-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.models__group-note {
  flex: 1;
  font-size: 11.5px;
  color: var(--muted);
}

.models__group-count {
  padding: 2px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--metal-650);
}

.models__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.model-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 74px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: transform 0.22s var(--ease), border-color 0.2s ease, background 0.2s ease, box-shadow 0.22s ease;
}

.model-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--metal-50);
  box-shadow: var(--shadow-sm);
}

.model-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--metal-650);
}

.model-card__icon svg {
  width: 20px;
  height: 20px;
}

.model-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.model-card__brand {
  overflow: hidden;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal-650);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-card__name {
  overflow: hidden;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-card__spec {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  color: var(--metal-650);
  white-space: nowrap;
}

.model-card__tag {
  align-self: start;
  padding: 2px 5px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--metal-650);
  white-space: nowrap;
}

.model-card--cta {
  border-style: dashed;
  background: var(--metal-50);
}

.model-card--cta .model-card__brand {
  color: var(--metal-600);
}

.model-card--cta .model-card__name {
  font-size: 12.5px;
}

.model-card[hidden],
.models__group[hidden] {
  display: none;
}

.models__note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--metal-50);
}

.models__note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--white);
  color: var(--metal-600);
  flex-shrink: 0;
}

.models__note-icon svg {
  width: 18px;
  height: 18px;
}

.models__note p {
  flex: 1;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.models__note strong {
  color: var(--ink);
}

.models__note .btn {
  flex-shrink: 0;
}

/* ---------- Технические данные ---------- */

.specs {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.specs__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.specs__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.specs__table thead th {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--metal-100);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  color: var(--metal-650);
}

.specs__table thead th:first-child {
  width: 27%;
}

.specs__table tbody th,
.specs__table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  text-align: left;
  vertical-align: top;
}

.specs__table tbody tr:last-child th,
.specs__table tbody tr:last-child td {
  border-bottom: 0;
}

.specs__table tbody th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--metal-650);
}

.specs__table tbody td {
  color: var(--ink-2);
}

.specs__table tbody td strong {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.specs__aside {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  background:
    radial-gradient(420px 240px at 86% 0%, rgba(0, 85, 159, 0.16), transparent 70%),
    var(--grad-dark);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.specs__aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 232, 232, 0.2);
  border-radius: 10px;
  background: rgba(232, 232, 232, 0.06);
  color: var(--metal-300);
}

.specs__aside-icon svg {
  width: 21px;
  height: 21px;
}

.specs__aside h3 {
  margin: 18px 0 16px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.specs__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.specs__list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(232, 232, 232, 0.1);
  font-size: 12px;
  line-height: 1.5;
  color: #c0c0c0;
}

.specs__list li span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--metal-500);
}

.specs__note {
  margin: 16px 0 22px;
  font-size: 11px;
  line-height: 1.55;
  color: #a0a0a0;
}

.specs__aside .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Изготовление ---------- */

.custom__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.custom__head h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.custom__lead {
  font-size: 15px;
  line-height: 1.7;
  color: #b0b0b0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  padding: 24px;
  border: 1px solid rgba(232, 232, 232, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 232, 232, 0.32);
  background: rgba(255, 255, 255, 0.035);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 232, 232, 0.18);
  border-radius: 10px;
  background: rgba(232, 232, 232, 0.05);
  color: var(--metal-300);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature__title {
  margin: 16px 0 7px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--white);
}

.feature__text {
  font-size: 12px;
  line-height: 1.62;
  color: #a8a8a8;
}

.custom__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.custom__hint {
  font-size: 11.5px;
  color: #a0a0a0;
}

/* ---------- Порядок работы ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 28px 26px 0 0;
  border-right: 1px solid var(--line);
}

.step:not(:first-child) {
  padding-left: 26px;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-metal);
  box-shadow: 0 0 0 4px var(--white);
}

.step:not(:first-child)::before {
  left: 26px;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--metal-650);
}

.step__title {
  margin: 14px 0 7px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.step__text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- О компании ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.about__media {
  min-width: 0;
}

.about__panel {
  position: relative;
  padding: 24px;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 360px at 50% 22%, rgba(0, 85, 159, 0.16), transparent 68%),
    var(--grad-dark);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.about__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.65), transparent);
}

.about__panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about__panel-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--metal-500);
}

.about__panel-status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--metal-300);
}

.about__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 22px;
}

.about__logo {
  width: 178px;
  height: 178px;
  color: #ececec;
  opacity: 0.96;
}

.about__panel-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(232, 232, 232, 0.12);
  border-radius: 10px;
  background: rgba(232, 232, 232, 0.08);
  overflow: hidden;
}

.about__panel-facts div {
  padding: 12px 14px;
  background: rgba(11, 11, 11, 0.55);
}

.about__panel-facts dt {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal-500);
}

.about__panel-facts dd {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--metal-200);
}

.about__media-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--metal-650);
}

.about__panel-note {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(232, 232, 232, 0.12);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--metal-500);
}

.about__b2b {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.about__b2b-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--grad-metal-soft);
  color: var(--ink);
}

.about__b2b-icon svg {
  width: 18px;
  height: 18px;
}

.about__b2b-title {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
}

.about__b2b-text {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.about__content h2 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.about__text {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 26px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__stats dt {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.about__stats dd {
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--metal-600);
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 124px;
}

.faq__intro h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.faq__intro .btn {
  margin-top: 24px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--metal-700);
}

.faq__mark {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1.5px;
  background: var(--metal-600);
  transition: transform 0.25s ease;
}

.faq__mark::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__mark::after {
  transform: rotate(0);
}

.faq__a {
  padding: 0 34px 19px 0;
}

.faq__a p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Заявка ---------- */

.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.request__intro h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.request__lead {
  max-width: 480px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #b0b0b0;
}

.request__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 26px 0 30px;
}

.request__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: #c8c8c8;
}

.request__list svg {
  width: 15px;
  height: 15px;
  color: var(--metal-400);
}

.request__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.contact--light .contact__icon {
  border-color: rgba(232, 232, 232, 0.18);
  background: rgba(232, 232, 232, 0.06);
  color: var(--metal-200);
}

.contact--light .contact__label {
  color: var(--metal-500);
}

.contact--light .contact__value {
  color: var(--white);
}

.contact--light.is-revealed .contact__icon {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.contact--light:hover .contact__icon {
  border-color: rgba(232, 232, 232, 0.45);
}

.request__form-wrap {
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.75);
}

/* На белой карточке формы кнопка должна оставаться тёмной,
   даже если вся секция тёмная. */
.request__form-wrap .btn--ghost {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--ink);
}

.request__form-wrap .btn--ghost:hover {
  background: var(--metal-50);
  border-color: var(--brand);
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--metal-650);
}

.field__input {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__input::placeholder {
  color: var(--metal-650);
  opacity: 1;
}

.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 11, 11, 0.06);
}

.field__textarea {
  height: auto;
  min-height: 104px;
  padding: 12px 13px;
  line-height: 1.55;
  resize: vertical;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%236d7783' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field__phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__phone:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 11, 11, 0.06);
}

.field__prefix {
  padding: 0 11px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--metal-650);
}

.field__phone .field__input {
  height: 48px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.field__phone .field__input:focus {
  box-shadow: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 16px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex-shrink: 0;
}

.check a {
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
}

.check a:hover {
  border-color: var(--brand);
}

.form__submit {
  width: 100%;
}

.form__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.form__note {
  margin-top: 10px;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--metal-650);
}

.form__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #d8b4b0;
  border-radius: 7px;
  background: #fdf5f4;
  font-size: 11.5px;
  line-height: 1.5;
  color: #7d2b25;
}

.field.is-error .field__input,
.field.is-error .field__phone {
  border-color: #b65a51;
}

.form-success {
  padding: 34px 18px;
  text-align: center;
}

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  background: var(--grad-metal-soft);
  color: var(--ink);
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.form-success p {
  max-width: 360px;
  margin: 8px auto 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Контакты ---------- */

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--metal-400);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--grad-metal-soft);
  color: var(--ink);
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__label {
  display: block;
  margin-top: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal-650);
}

.contact-card__value {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.contact-card__value--action {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-card__value--action:hover {
  border-color: var(--brand);
}

.contact-card__note {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

.contacts__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contacts__requisites {
  font-size: 11.5px;
  color: var(--metal-650);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Подвал ---------- */

.footer {
  position: relative;
  padding: 62px 0 26px;
  background: var(--grad-dark);
  color: #a8a8a8;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.5), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 42px;
}

.footer__about {
  max-width: 360px;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.65;
  color: #a0a0a0;
}

.footer__legal {
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.6;
  color: #a8a8a8;
}

.footer__title {
  margin-bottom: 15px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__list a {
  font-size: 12px;
  color: #a8a8a8;
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: var(--white);
}

.footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #a8a8a8;
}

.footer__contact-line svg {
  margin-top: 2px;
  color: var(--metal-500);
}

.contact--footer {
  margin-top: 14px;
}

.contact--footer .contact__icon {
  width: 34px;
  height: 34px;
  border-color: rgba(232, 232, 232, 0.16);
  background: rgba(232, 232, 232, 0.05);
  color: var(--metal-300);
}

.contact--footer .contact__label {
  color: var(--metal-500);
}

.contact--footer .contact__value {
  color: var(--white);
  font-size: 11.5px;
}

.contact--footer:hover .contact__icon {
  border-color: rgba(232, 232, 232, 0.4);
}

.footer__disclaimer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 232, 232, 0.1);
  font-size: 9.5px;
  line-height: 1.6;
  color: #a0a0a0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  font-size: 10.5px;
  color: #a0a0a0;
}

.footer__docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer__docs a {
  border-bottom: 1px solid transparent;
}

.footer__docs a:hover {
  color: var(--white);
  border-color: var(--metal-600);
}

/* ---------- Cookie ---------- */

.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100vw - 40px));
  padding: 16px 18px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: var(--grad-dark);
  color: #c8c8c8;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

.cookie__text {
  flex: 1;
  font-size: 10.5px;
  line-height: 1.55;
}

.cookie__text strong {
  color: var(--white);
}

.cookie__text a {
  color: var(--metal-300);
  border-bottom: 1px solid rgba(232, 232, 232, 0.25);
}

.cookie__btn {
  flex-shrink: 0;
}

.cookie[hidden] {
  display: none;
}

/* ---------- Внутренние страницы ---------- */

.page-hero {
  position: relative;
  padding: 58px 0 54px;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(0, 85, 159, 0.22), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--metal-650);
}

.breadcrumbs a {
  color: var(--metal-650);
  border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.doc {
  max-width: 840px;
  padding: 52px 0 80px;
}

.doc p,
.doc li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.doc p {
  margin-bottom: 12px;
}

.doc ul,
.doc ol {
  margin: 0 0 16px 18px;
  list-style: disc;
}

.doc li {
  margin-bottom: 4px;
}

.doc h2 {
  margin: 32px 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.doc a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.doc a:hover {
  border-color: var(--brand);
}

.doc__note {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px !important;
  color: var(--metal-650) !important;
}

.error-page {
  padding: 96px 0 110px;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--metal-300);
}

.error-page h1 {
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
}

.error-page p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- Анимации ---------- */

.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}

.js [data-animate].is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .hero__grid {
    gap: 42px;
  }

  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .models__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__grid {
    gap: 36px;
  }

  .faq__grid {
    gap: 44px;
  }

  .request__grid {
    gap: 36px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .header__inner {
    min-height: 74px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 130;
    display: none;
    flex-direction: column;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 18px 24px 26px;
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -40px rgba(11, 11, 11, 0.5);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    display: flex;
    transform: none;
    animation: nav-in 0.32s var(--ease);
  }

  .nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .logo--drawer .logo__mark {
    width: 38px;
    height: 38px;
  }

  @keyframes nav-in {
    from {
      transform: translateX(100%);
    }
    to {
      transform: none;
    }
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .nav__link {
    padding: 13px 12px;
    font-size: 15px;
  }

  .nav__link.is-active::after {
    left: 12px;
    right: auto;
    bottom: 8px;
    width: 22px;
  }

  .nav__link--cta {
    margin: 12px 0 0;
    justify-content: center;
    padding: 13px 16px;
    font-size: 14px;
  }

  .nav__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .contact--drawer .contact__value {
    font-size: 12.5px;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 82px 0;
  }

  .faq__intro {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 62px 0 74px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    max-width: 620px;
  }

  .hero__title {
    font-size: clamp(3rem, 9vw, 4.6rem);
  }

  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__item:nth-child(2) {
    border-right: 0;
  }

  .trust__item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .trust__item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .models__toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .models__search {
    width: 100%;
    max-width: none;
  }

  .models__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .custom__head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }

  .step:nth-child(4) {
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }

  .step:nth-child(3)::before {
    left: 0;
  }

  .step:nth-child(4)::before {
    top: 23px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 620px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .request__grid {
    grid-template-columns: 1fr;
  }

  .contacts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .topbar__inner {
    min-height: 40px;
  }

  .topbar__note {
    max-width: 56%;
    font-size: 10px;
  }

  .topbar__links {
    gap: 12px;
  }

  .topbar__item:not(.topbar__mail) {
    display: none;
  }

  .header__inner {
    gap: 16px;
  }

  .nav {
    width: 100%;
    border-left: 0;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
  }

  .logo__title {
    font-size: 12.5px;
    letter-spacing: 0.13em;
  }

  .logo__sub {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .contact--header .contact__body {
    display: none;
  }

  .contact--header .contact__icon {
    width: 42px;
    height: 42px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions .btn {
    flex: 1;
  }

  .hero__facts {
    gap: 13px 18px;
  }

  .blueprint {
    padding: 18px;
  }

  .blueprint__title {
    font-size: 15px;
  }

  .catalog__grid,
  .features {
    grid-template-columns: 1fr;
  }

  .models__grid {
    grid-template-columns: 1fr;
  }

  .models__group-head {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
  }

  .models__group-title {
    flex: 1 1 auto;
    font-size: 12.5px;
  }

  .models__group-note {
    order: 3;
    flex: 1 0 100%;
    font-size: 11px;
  }

  .models__group-count {
    order: 2;
  }

  .specs__table {
    min-width: 0;
  }

  .specs__table thead th,
  .specs__table tbody th,
  .specs__table tbody td {
    padding: 10px 11px;
    font-size: 10.5px;
  }

  .specs__table thead th {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .specs__table thead th:first-child {
    width: 34%;
  }

  .specs__table tbody th {
    font-size: 9px;
  }

  .specs__table tbody td strong {
    font-size: 11px;
  }

  .model-card {
    min-height: 70px;
  }

  .models__note {
    flex-direction: column;
    align-items: flex-start;
  }

  .models__note .btn {
    width: 100%;
  }

  .custom__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step:not(:first-child) {
    padding: 24px 0 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }

  .step:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .step::before,
  .step:not(:first-child)::before {
    top: -3px;
    left: 0;
  }

  .step:first-child::before {
    top: 0;
  }

  .about__stats {
    gap: 14px 20px;
  }

  .request__form-wrap {
    padding: 20px;
  }

  .form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contacts__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cookie {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie__btn {
    width: 100%;
  }

  .doc {
    padding: 36px 0 60px;
  }
}

@media (max-width: 480px) {
  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links {
    gap: 0;
  }

  .hero__title {
    font-size: 2.85rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .blueprint__status {
    display: none;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .trust__item,
  .trust__item:not(:first-child) {
    padding: 15px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .trust__item:first-child {
    border-top: 0;
  }

  .about__panel-facts {
    grid-template-columns: 1fr;
  }

  .request__contacts {
    flex-direction: column;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* Текст на тёмных синих блоках — белый (форма заявки остаётся на белой карточке). */
.about__panel,
.about__panel *,
.blueprint,
.blueprint *,
.custom__head h2,
.custom__lead,
.custom__hint,
.feature__title,
.feature__text,
.request__intro h2,
.request__lead,
.request__list li,
.request__contacts .contact__label,
.request__contacts .contact__value {
  color: #ffffff !important;
}

/* Подвал на тёмном фоне — белый текст и ссылки. */
.footer,
.footer * {
  color: #ffffff !important;
}
.footer a:hover {
  color: #cfe2f3 !important;
}

/* Верхняя полоса и блок параметров — на синем фоне, текст белый. */
.topbar,
.topbar *,
.specs__aside,
.specs__aside * {
  color: #ffffff !important;
}
