/* =========================================================
   СибЦА — дизайн-система 2026
   Светлый деловой минимализм: белый, холодный серый, графит, красный.
   Заголовки — IBM Plex Sans, текст — Inter.
   ========================================================= */

/* ---------- Reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --brand: #b91c1c;
  --brand-2: #c81e1e;
  --brand-hover: #991b1b;
  --brand-soft: #fef2f2;
  --brand-line: #fecaca;

  --ink: #0f172a;
  --ink-2: #1e293b;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --muted-3: #94a3b8;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-2: #f1f5f9;
  --white: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

  --container: 1200px;
  --header-h: 72px;

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "IBM Plex Sans", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); }
h4 { font-size: 1.02rem; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(185, 28, 28, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--bg { background: var(--white); }
.section--soft { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}
.section-head__text { max-width: 720px; }
.section-head p { color: var(--muted); margin: 12px 0 0; }
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-head__text { max-width: 760px; }

.section-note {
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 12.5px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.grad { color: var(--brand); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar__group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar__group--right { justify-content: flex-end; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  transition: color 0.18s;
}
.topbar__item svg { color: var(--brand); flex: 0 0 auto; }
a.topbar__item:hover { color: var(--brand); }
.topbar__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
  border-color: transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo__img { display: block; width: auto; height: 44px; }
.logo__full { display: block; width: auto; height: 44px; max-width: 220px; object-fit: contain; }
.logo__mark-img { display: block; width: 44px; height: 44px; flex: 0 0 auto; }
.logo__mark-svg { width: 40px; height: 40px; flex: 0 0 auto; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.08; gap: 0.5px; }
.logo__text strong {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo__text strong::first-letter { color: var(--brand); }
.logo__text small {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mobile-menu .logo__mark-img { width: 40px; height: 40px; }
.footer .logo__mark-img { width: 42px; height: 42px; }
.mobile-menu .logo__full { height: 40px; }
.footer .logo__full { height: 42px; }

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__item:last-child .dropdown { left: auto; right: 0; }
.chev { opacity: 0.55; transition: transform 0.18s; }
.nav__item:hover .chev { transform: rotate(180deg); opacity: 0.9; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 30;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-soft);
  color: var(--brand);
}
.dropdown__icon svg { width: 15px; height: 15px; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-right: 4px;
}
.header__phone span { font-size: 10.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.header__phone strong {
  font-family: var(--font-head);
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header__phone:hover strong { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.18s, opacity 0.18s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100%;
  padding: 20px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.mobile-menu a.m-link,
.mobile-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.mobile-menu a.m-link:hover,
.mobile-menu summary:hover { background: var(--bg-soft); color: var(--brand); }
.mobile-menu details > a {
  display: block;
  padding: 9px 12px 9px 24px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 8px;
}
.mobile-menu details > a:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-menu details[open] summary { color: var(--brand); }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.mobile-menu__contacts a:hover { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn svg { flex: 0 0 auto; }
.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.18);
}
.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 8px 20px rgba(153, 27, 27, 0.22);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.18s, color 0.18s;
}
.arrow-link:hover { gap: 10px; color: var(--brand-hover); }
.text-link { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--brand-hover); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 26px;
  background:
    radial-gradient(900px 420px at 82% 10%, rgba(185, 28, 28, 0.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
.hero__badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.hero h1 { margin-bottom: 18px; }
.hero__lead {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hero__stat span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--muted-2); }

.hero__visual { position: relative; min-height: 420px; }
.hv-orbit {
  position: absolute;
  inset: 8% 4%;
  border: 1px dashed rgba(185, 28, 28, 0.22);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hv-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle at 55% 45%, rgba(185, 28, 28, 0.12), transparent 65%);
  filter: blur(10px);
}
.hv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hv-main {
  position: absolute;
  top: 6%;
  left: 6%;
  right: 4%;
  padding: 22px;
  z-index: 2;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.hv-main:hover { box-shadow: var(--shadow-lg); }
.hv-main:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.hv-main__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.hv-main__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hv-main__brand i {
  display: grid;
  place-items: center;
  width: 30px; height: 24px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}
.hv-main__badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 600;
}
.hv-main__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}
.hv-main__sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.hv-price {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.hv-price span { font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--muted-2); }
.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 64px;
  margin-bottom: 16px;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
}
.hv-chart i {
  flex: 1;
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  opacity: 0.9;
}
.hv-chart i:nth-child(1) { height: 28%; opacity: 0.35; }
.hv-chart i:nth-child(2) { height: 44%; opacity: 0.45; }
.hv-chart i:nth-child(3) { height: 36%; opacity: 0.55; }
.hv-chart i:nth-child(4) { height: 62%; opacity: 0.65; }
.hv-chart i:nth-child(5) { height: 54%; opacity: 0.75; }
.hv-chart i:nth-child(6) { height: 78%; opacity: 0.85; }
.hv-chart i:nth-child(7) { height: 92%; }
.hv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 10.5px;
  color: var(--muted);
}
.hv-main__title,
.hv-main__sub,
.hv-price,
.hv-tags,
.hv-main__badge {
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.hv-main.is-switching .hv-main__title,
.hv-main.is-switching .hv-main__sub,
.hv-main.is-switching .hv-price,
.hv-main.is-switching .hv-tags,
.hv-main.is-switching .hv-main__badge {
  opacity: 0;
  transform: translateY(6px);
}
.hv-chart i { transition: height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.hv-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hv-float small { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 400; color: var(--muted-2); }
.hv-float--1 { top: -44px; right: 4%; }
.hv-float--2 { bottom: 2%; left: 6%; }
.hv-check {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
}
.hv-avatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

/* ---------- Trust ---------- */
/* 14px сверху компенсируют отрицательный отступ карточки,
   80px снизу — серая полоса под белой карточкой. */
.trust {
  position: relative;
  padding: 14px 0 80px;
  margin-top: -1px;
  background: var(--bg-soft);
}
.trust::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 26px;
  background: var(--bg-soft);
}
.trust::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: var(--bg-soft);
}
.trust > .container {
  position: relative;
  z-index: 1;
}
.trust__card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.trust__item:last-child { border-right: 0; }
.trust__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}
.trust__item strong { display: block; font-size: 13px; color: var(--ink); line-height: 1.3; }
.trust__item > div span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--muted-2); }

/* ---------- Product cards ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}
.product-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 132px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid var(--line);
}
.product-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.8;
}
.product-cover::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border: 22px solid rgba(185, 28, 28, 0.08);
  border-radius: 50%;
}
.cover__1c {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
}
.cover__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.cover__badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cover--slate { background: linear-gradient(135deg, #f8fafc, #e8eef5); }
.cover--navy { background: linear-gradient(135deg, #f4f7fb, #e6edf6); }
.cover--red { background: linear-gradient(135deg, #fff5f5, #fee2e2); }
.cover--teal { background: linear-gradient(135deg, #f3faf8, #e3f2ee); }
.cover--violet { background: linear-gradient(135deg, #f8f6fd, #ece7f8); }
.cover--amber { background: linear-gradient(135deg, #fffbf2, #fdf0d5); }

/* ---------- Заставки конфигураций ---------- */
.product-cover--art { min-height: 170px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.product-cover--art::before, .product-cover--art::after { content: none; }
.product-cover--art .cover__name { max-width: 58%; }
.cover-art--buh { background-image: url('../img/covers/buh.svg'); }
.cover-art--trade { background-image: url('../img/covers/trade.svg'); }
.cover-art--complex { background-image: url('../img/covers/complex.svg'); }
.cover-art--zup { background-image: url('../img/covers/zup.svg'); }
.cover-art--erp { background-image: url('../img/covers/erp.svg'); }
.cover-art--mus { background-image: url('../img/covers/mus.svg'); }
.cover-art--buh-basic { background-image: url('../img/covers/buh-basic.svg'); }
.cover-art--buh-korp { background-image: url('../img/covers/buh-korp.svg'); }
.cover-art--reporting { background-image: url('../img/covers/reporting.svg'); }
.cover-art--addons { background-image: url('../img/covers/addons.svg'); }
.cover-art--licenses { background-image: url('../img/covers/licenses.svg'); }
.cover-art--retail { background-image: url('../img/covers/retail.svg'); }
.cover-art--trade-basic { background-image: url('../img/covers/trade-basic.svg'); }
.cover-art--tsd { background-image: url('../img/covers/tsd.svg'); }
.cover-art--unf { background-image: url('../img/covers/unf.svg'); }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-body p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.product-price {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.product-card--all {
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: var(--bg-soft);
  border-style: dashed;
}
.product-card--all .plus {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
}
.product-card--all h3 { font-size: 1.05rem; }
.product-card--all p { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Category cards ---------- */
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow); }
.cat-card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.cat-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cat-card p { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-bottom: 16px; }
.cat-card .arrow-link { margin-top: auto; }

/* ---------- Service cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow); }
.service-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.service-icon svg { width: 21px; height: 21px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.service-card .check-list { margin-bottom: 18px; }
.service-card .arrow-link { margin-top: auto; }

/* ---------- Feature list ---------- */
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature { display: flex; align-items: flex-start; gap: 12px; }
.feature__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}
.feature__icon svg { width: 16px; height: 16px; }
.feature strong { display: block; font-size: 13.5px; color: var(--ink); }
.feature > div span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------- Quote card ---------- */
.quote-card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-card--photo { padding-top: 0; }
.quote-card__media {
  position: relative;
  height: 220px;
  margin: 0 -28px 24px;
  overflow: hidden;
  background:
    radial-gradient(400px 220px at 70% 20%, rgba(185, 28, 28, 0.12), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}
.quote-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.quote-card__media::after {
  content: "1С";
  position: absolute;
  right: 22px;
  bottom: 14px;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(185, 28, 28, 0.18);
}
.quote-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.quote-card__badge {
  position: static;
  display: inline-flex;
  margin-bottom: 14px;
  z-index: 2;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}
.quote-card--photo .quote-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  margin-bottom: 0;
}
.quote-card__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.quote-card__mark {
  position: absolute;
  top: 18px; right: 22px;
  z-index: 0;
  pointer-events: none;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-line);
}
.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
}
.quote-author { display: flex; align-items: center; gap: 10px; }
.quote-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.quote-author strong { display: block; font-size: 12.5px; color: var(--ink); }
.quote-author > div span { display: block; font-size: 11.5px; color: var(--muted-2); }
.quote-author .quote-avatar { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--brand); }

/* ---------- Media card (geometric) ---------- */
.media-card {
  position: relative;
  min-height: 240px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(500px 260px at 78% 18%, rgba(185, 28, 28, 0.12), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media-card::after {
  content: "1С:ПРЕДПРИЯТИЕ 8";
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.32);
  letter-spacing: 0.02em;
}
.media-card img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.media-card__label {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}
.media-card__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Panels ---------- */
.panel {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.panel--soft { background: var(--bg-soft); border-color: transparent; }
.panel h3 { font-size: 1rem; }

/* ---------- Events / tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.tab:hover { color: var(--ink); border-color: var(--line-strong); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}
.tab.is-active .tab__count { background: rgba(255, 255, 255, 0.22); color: #fff; }

.events-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.events-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.event-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow); }
.event-card.is-hidden,
.case-card.is-hidden { display: none; }
.event-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.event-date { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.event-cat {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.event-cat--news { background: var(--brand-soft); color: var(--brand); }
.event-cat--promo { background: #fff7ed; color: #c2410c; }
.event-card h3 { font-size: 0.98rem; line-height: 1.35; margin-bottom: 8px; }
.event-card p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }
.event-card .arrow-link { margin-top: auto; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.review-card__stars { display: flex; gap: 2px; margin-bottom: 14px; color: var(--brand); }
.review-card blockquote {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.review-card__author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card__avatar {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.review-card__author strong { display: block; font-size: 12.5px; color: var(--ink); }
.review-card__author > div span { display: block; font-size: 11px; color: var(--muted-2); }

/* ---------- Case cards ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.case-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow); }
.case-card__media {
  position: relative;
  height: 170px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(380px 200px at 72% 20%, rgba(185, 28, 28, 0.12), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid var(--line);
}
.case-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.case-card__media::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -60px;
  width: 180px; height: 180px;
  border: 26px solid rgba(185, 28, 28, 0.1);
  border-radius: 50%;
}
.case-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.case-card__top { display: flex; align-items: center; gap: 8px; padding: 16px 20px 0; }
.case-card__year {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.case-card h3 { padding: 10px 20px 0; font-size: 1.02rem; line-height: 1.35; margin-bottom: 8px; }
.case-card p { padding: 0 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 14px; }
.case-card .arrow-link { margin: 0 20px 20px; margin-top: auto; }
.case-card--cta {
  justify-content: center;
  padding: 24px;
  background: var(--bg-soft);
  border-style: dashed;
}
.case-card--cta h3 { padding: 0; }
.case-card--cta p { padding: 0; }

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.case-metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
}
.case-metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.case-metric span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }

/* ---------- Фото в кейсах и продуктах ---------- */
.case-photo { margin: 0 0 28px; }
.case-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.case-photo figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted-2);
}
.case-photo--small { max-width: 420px; }
.case-photo--small img { max-width: 100%; }
.case-photo--tiny { max-width: 320px; }
.case-photo--tiny img { max-width: 100%; }

/* ---------- Filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 30px;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.filter-group label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.filter-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.filter-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1); }
.filter-reset {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.filter-reset:hover { border-color: var(--brand); color: var(--brand); }
.filter-empty {
  display: none;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}
.filter-empty.is-visible { display: block; }

/* ---------- Comparison table ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.price-table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.price-table th,
.comparison-table th {
  padding: 13px 16px;
  text-align: left;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.price-table td,
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.price-table tr:last-child td,
.comparison-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover,
.comparison-table tbody tr:hover { background: #fcfdfe; }
.price-table td strong,
.comparison-table td strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table .yes { color: var(--brand); font-weight: 700; }
.comparison-table .no { color: var(--muted-3); }
.comparison-table .price-row-cell { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Price list ---------- */
.price-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.price-row:last-child { border-bottom: 0; }
a.price-row:hover { background: var(--brand-soft); }
.price-row__title { font-size: 13.5px; color: var(--ink-2); }
.price-row__price {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-row__price small { font-family: var(--font-body); font-size: 10.5px; font-weight: 400; color: var(--muted-2); }
.price-row__note { display: block; font-size: 11px; color: var(--muted-2); }

/* ---------- Calculator ---------- */
.calc {
  margin: 28px 0;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.calc__head { margin-bottom: 18px; }
.calc__head h3 { margin-bottom: 4px; }
.calc__head p { font-size: 12.5px; color: var(--muted); margin: 0; }
.calc__grid { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 14px; margin-bottom: 18px; }
.calc__result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.calc__result span { font-size: 12px; color: var(--muted); }
.calc__result strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.calc__result small { flex-basis: 100%; font-size: 11px; color: var(--muted-2); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.pricing-card--featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pricing-card__label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pricing-card__price {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 10px 0 4px;
}
.pricing-card__price small { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--muted-2); }
.pricing-card__desc { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pricing-card .check-list { margin-bottom: 20px; }
.pricing-card .btn { margin-top: auto; }

/* ---------- Composition ---------- */
.composition {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.composition__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.composition label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.composition label:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.composition input { accent-color: var(--brand); margin-top: 2px; }
.composition__result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.composition__result span { font-size: 12px; color: var(--muted); }
.composition__result strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--brand); font-variant-numeric: tabular-nums; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.stat--accent { background: var(--brand-soft); border-color: var(--brand-line); }
.stat--accent strong { color: var(--brand); }
.stat--accent span { color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 127px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline__item { display: grid; grid-template-columns: 96px 1fr; gap: 32px; padding: 18px 0; }
.timeline__year {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.timeline__body { position: relative; padding-left: 24px; }
.timeline__body::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline__body h3 { font-size: 1rem; margin-bottom: 4px; }
.timeline__body p { font-size: 12.5px; color: var(--muted); margin: 0; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Clients ---------- */
.clients { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.clients__label {
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.client-chip span { color: var(--brand); font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(640px 300px at 92% 0%, rgba(185, 28, 28, 0.10), transparent 65%),
    radial-gradient(520px 320px at 0% 100%, rgba(59, 130, 246, 0.07), transparent 60%),
    linear-gradient(135deg, #fff8f7 0%, #f8faff 52%, #f1f6ff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(680px 420px at 22% 42%, #000, transparent 76%);
  mask-image: radial-gradient(680px 420px at 22% 42%, #000, transparent 76%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
}
.cta__inner--simple { grid-template-columns: 1.4fr 0.6fr; align-items: center; }
.cta h2 { color: var(--ink); }
.cta p { color: var(--muted); }
.cta .eyebrow { color: var(--brand); }
.cta .eyebrow::before { background: var(--brand); }
.cta .btn--light {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.18);
}
.cta .btn--light:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 8px 20px rgba(153, 27, 27, 0.22);
}
.cta .btn--outline-light {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.cta .btn--outline-light:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.cta__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.cta__contact:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.cta__contact small { display: block; font-size: 10px; font-weight: 400; color: var(--muted-2); }
.cta__contact:hover small { color: var(--brand); }
.cta__contact svg { color: var(--brand); }
.cta .form-card { border-color: #fff; box-shadow: 0 22px 50px rgba(15, 23, 42, 0.10); }

/* ---------- Forms ---------- */
.form-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.form-card > p { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.form-body { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-3); }
.field input[type="checkbox"],
.field input[type="radio"] { width: auto; flex: 0 0 auto; accent-color: var(--brand); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.field textarea { min-height: 92px; resize: vertical; }
.form-note { margin: 0; font-size: 10.5px; line-height: 1.45; color: var(--muted-2); }
.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }
.form-success {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12.5px;
}
.form-success svg { flex: 0 0 auto; margin-top: 1px; }
.form-card.is-sent .form-body { display: none; }
.form-card.is-sent .form-success { display: flex; }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.85fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer__brand { max-width: 340px; }
.footer__abbr {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.footer__name {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__about { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 12.5px; color: var(--muted); transition: color 0.15s; }
.footer__links a:hover { color: var(--brand); }
.footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__contact { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.45; }
.footer__contact svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand); }
.footer__contact a:hover { color: var(--brand); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a:hover { color: var(--brand); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(185, 28, 28, 0.07), transparent 65%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  pointer-events: none;
}
.page-hero--compact { padding: 48px 0 40px; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 900px; margin-bottom: 14px; }
.page-hero .lead { max-width: 760px; margin-bottom: 22px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero__meta { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { color: var(--muted-3); }

/* ---------- Doc layout / sidebar ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.doc-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.aside-card__title {
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.aside-card--accent { background: var(--brand-soft); border-color: var(--brand-line); }
.aside-card--accent .aside-card__title { color: var(--brand); }
.aside-card__text { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 14px; }
.aside-card__phone {
  display: block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.aside-card__phone:hover { color: var(--brand); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: block;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.side-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side-nav__back { margin-bottom: 6px; color: var(--ink) !important; font-weight: 600; }

/* ---------- Rich content ---------- */
.rich { max-width: 820px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.rich > *:first-child { margin-top: 0; }
.rich h2 { margin: 32px 0 12px; font-size: 1.45rem; }
.rich h3 { margin: 26px 0 10px; font-size: 1.1rem; }
.rich h4 { margin: 20px 0 8px; font-size: 1rem; }
.rich p { margin-bottom: 14px; }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--brand-hover); }
.rich ul, .rich ol { margin: 0 0 16px; padding-left: 20px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin-bottom: 7px; }
.rich li::marker { color: var(--brand); }
.rich .rich-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rich .rich-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.rich .rich-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.65;
}
.rich blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
}
.rich img { border-radius: 10px; margin: 16px 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.rich th, .rich td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rich th { background: var(--bg-soft); font-weight: 600; }
.rich th:first-child, .rich td:first-child { padding-left: 20px; }
.rich th:last-child, .rich td:last-child { padding-right: 20px; }
.rich tr:last-child td { border-bottom: 0; }
.rich tbody tr:hover { background: #FBFCFD; }
.rich-intro { font-size: 1.02rem; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.rich-address { font-style: normal; }
.table-wrap { margin: 18px 0; }
.rich .rich-table { margin: 0; min-width: 520px; }

/* ---------- News list ---------- */
.news-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.news-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.news-row:last-child { border-bottom: 0; }
.news-row:hover { background: var(--brand-soft); }
.news-row__thumb {
  flex: 0 0 auto;
  width: 54px; height: 42px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
}
.news-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row__body { display: flex; flex-direction: column; gap: 2px; }
.news-row__date { font-size: 10.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.news-row__title { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.news-row:hover .news-row__title { color: var(--brand); }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.contact-card small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted-2); }
.contact-card a:hover { color: var(--brand); }

.map {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(300px 200px at 60% 40%, rgba(185, 28, 28, 0.08), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}
.map--yandex { min-height: 480px; background: #eef2f7; }
.map--yandex iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map--yandex .map__canvas {
  position: absolute;
  inset: 0;
}
.map--yandex .map__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(320px 200px at 60% 40%, rgba(185, 28, 28, 0.08), transparent 70%),
    linear-gradient(135deg, #f8fafc, #eef2f7);
}
.map--yandex .map__fallback strong {
  font-size: 14px;
  color: var(--ink);
}
.map--yandex .map__fallback a {
  font-size: 13px;
  color: var(--brand);
  text-decoration: underline;
}
.map--yandex.is-ready .map__fallback {
  display: none;
}
.map__caption {
  margin: 10px 0 0;
  font-size: 12.5px;
}
.map__caption a {
  color: var(--brand);
}
.map__road {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 48%, rgba(15, 23, 42, 0.08) 48%, rgba(15, 23, 42, 0.08) 52%, transparent 52%),
    linear-gradient(0deg, transparent 46%, rgba(15, 23, 42, 0.06) 46%, rgba(15, 23, 42, 0.06) 50%, transparent 50%),
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 38px 38px, 38px 38px;
}
.map__pin {
  position: absolute;
  top: 42%;
  left: 54%;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35);
}
.map__pin svg { transform: rotate(45deg); }
.map__pulse {
  position: absolute;
  top: 40%;
  left: 51%;
  width: 90px; height: 90px;
  border: 1px solid rgba(185, 28, 28, 0.25);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.map__card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 300px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.map__card strong { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 4px; }
.map__card p { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.map__credit { position: absolute; right: 12px; bottom: 10px; font-size: 9.5px; color: var(--muted-3); }

/* ---------- Partners ---------- */
.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.partner-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #f59e0b);
  opacity: 0;
  transition: opacity 0.2s;
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--brand-line); box-shadow: var(--shadow); }
.partner-card:hover::before { opacity: 1; }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.partner-card:hover .partner-logo img { transform: scale(1.04); }
.partner-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.partner-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.partner-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.partner-card p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 18px; }
.partner-card .arrow-link { margin-top: auto; }

/* ---------- Check list ---------- */
.check-list { display: flex; flex-direction: column; gap: 7px; }
.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .map__pulse { animation: none; }
}

/* ---------- Prose (legacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 28px; }
.prose p { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header__phone { display: none; }
  .nav__link { padding: 9px 9px; font-size: 13.5px; }
  .hero__inner { gap: 36px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { max-width: 760px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .trust__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-aside { position: static; }
  .cta__inner { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
  .cta__inner--simple { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .events-grid, .events-grid--2 { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stat-row, .stat-row--3 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 52px 0 26px; }
  .hero__stats { grid-template-columns: 1fr; gap: 12px; }
  .hero__stat { display: flex; align-items: baseline; gap: 10px; }
  .hero__stat strong { font-size: 1.15rem; }
  .hero__actions .btn { width: 100%; }
  .topbar__group--right { display: none; }
  .topbar__inner { justify-content: center; }
  .page-hero { padding: 44px 0 36px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .composition__grid { grid-template-columns: 1fr; }
  .timeline::before { left: 65px; }
  .timeline__item { grid-template-columns: 44px 1fr; gap: 22px; }
  .timeline__year { font-size: 0.95rem; }
  .filter-bar { align-items: stretch; }
  .filter-group { min-width: 100%; }
  .filter-reset { width: 100%; }
  .trust__card { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price-row__price { font-size: 13.5px; }
  .cta__inner { padding: 24px; }
  .cta__contacts { flex-direction: column; }
  .cta__contact { width: 100%; }
  .doc-layout { gap: 28px; }
  .rich { font-size: 14px; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .header__actions .btn { display: none; }
  .hero h1 { font-size: 2rem; }
  .stat-row, .stat-row--3 { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 6px; }
}
