/* ФИНЭКС premium — pure CSS (no build). Brand blues only. */
:root {
  --b50: #f3f7fb;
  --b100: #e4edf6;
  --b200: #c5d8eb;
  --b300: #8fb3d4;
  --b400: #4f86b8;
  --b500: #2a5f94;
  --b600: #1c4a7a;
  --b700: #143a62;
  --b800: #0f2d4d;
  --b900: #0b1f38;
  --b950: #061525;
  --surface: #f6f8fb;
  --ink: #0b1f38;
  --muted: #445566; /* контраст ≥4.5:1 на --surface / белом (a11y) */
  --white: #fff;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --shadow: 0 4px 20px rgb(11 31 56 / 0.06);
  --shadow-lg: 0 14px 40px rgb(11 31 56 / 0.12);
  --header-h: 4.5rem;
  /* Каркас: на всю ширину экрана, только боковые поля + вертикальный ритм */
  --shell: clamp(1rem, 3.5vw, 2rem);
  --section-y: clamp(3.25rem, 6vw, 5.5rem);
  --section-head-mb: clamp(1.5rem, 3vw, 2.5rem);
  --block-gap: clamp(1rem, 2vw, 1.5rem);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  antialiased: true;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--b500); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.shell {
  width: 100%;
  max-width: none; /* на всю ширину viewport, не «колонка» по центру */
  margin-inline: auto;
  padding-inline: var(--shell);
  box-sizing: border-box;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--b600);
  color: var(--white);
  box-shadow: 0 4px 14px rgb(11 31 56 / 0.15);
}
.btn-primary:hover { background: var(--b500); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgb(255 255 255 / 0.35);
  color: var(--white);
}
.btn-outline:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.6); }
/* Hero: белый фон, синий текст */
.btn-hero {
  background: #fff;
  color: var(--b600);
  border: 1px solid #fff;
  box-shadow: 0 6px 20px rgb(6 21 37 / 0.2);
}
.btn-hero:hover {
  background: var(--b50);
  color: var(--b700);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgb(6 21 37 / 0.28);
}
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
/* длинные CTA на узком экране — перенос, не вылезают */
@media (max-width: 479px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .btn-lg { padding: 0.85rem 1.1rem; font-size: 0.92rem; }
}

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: 0.3s ease;
  overflow: visible;
}
.header.is-scrolled {
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--b100);
  box-shadow: 0 4px 24px rgb(11 31 56 / 0.08);
  backdrop-filter: blur(10px);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Логотип на всю высоту шапки, по краям области лого */
.header__logo {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  flex-shrink: 1;
  min-width: 0;
  max-width: min(420px, 52vw);
}
.header__logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.header__nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.92);
  transition: 0.2s;
}
.header:not(.is-scrolled) .header__nav a:hover { background: rgb(255 255 255 / 0.1); }
.header.is-scrolled .header__nav a { color: var(--b800); }
.header.is-scrolled .header__nav a:hover { background: var(--b50); color: var(--b600); }

.header__right {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  /* иначе при сжатии flex номер ломается «столбиком» по символам */
  white-space: nowrap;
  flex-shrink: 0;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.header__right .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.header.is-scrolled .header__phone { color: var(--b800); }

/* Поиск услуг в шапке — только мобилка (см. max-width: 1023px) */
.header__search {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 14rem;
  margin-left: auto;
  margin-right: 0.35rem;
}
.header__search-input {
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.25;
}
.header__search-input::placeholder {
  color: rgb(255 255 255 / 0.72);
}
.header__search-input:focus {
  outline: none;
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.22);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.12);
}
.header.is-scrolled .header__search-input,
body.menu-open .header__search-input {
  border-color: var(--b200);
  background: var(--b50);
  color: var(--b900);
}
.header.is-scrolled .header__search-input::placeholder,
body.menu-open .header__search-input::placeholder {
  color: var(--muted);
}
.header.is-scrolled .header__search-input:focus,
body.menu-open .header__search-input:focus {
  border-color: var(--b500);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(42 95 148 / 0.15);
}

.burger {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
/* если поиск в шапке — он уже margin-left:auto, бургер рядом */
.header__search + .burger {
  margin-left: 0;
}
.header.is-scrolled .burger,
body.menu-open .burger {
  border-color: var(--b200);
  background: var(--white);
  color: var(--b800);
}
body.menu-open .header {
  background: rgb(255 255 255 / 0.98);
  border-bottom: 1px solid var(--b100);
  box-shadow: 0 4px 24px rgb(11 31 56 / 0.08);
}
body.menu-open .header:not(.is-scrolled) .header__logo img {
  /* лого читаемо на белом фоне меню */
  filter: none;
}
.burger span {
  position: absolute;
  left: 50%;
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 0.9rem; }
.burger span:nth-child(2) { top: 1.3rem; }
.burger span:nth-child(3) { top: 1.7rem; }
body.menu-open .burger span:nth-child(1) {
  top: 1.3rem;
  transform: translateX(-50%) rotate(45deg);
}
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) {
  top: 1.3rem;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  max-height: min(78vh, calc(100dvh - var(--header-h) - 0.5rem));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-top: 1px solid var(--b100);
  border-bottom: 1px solid var(--b100);
  box-shadow: 0 18px 40px rgb(11 31 56 / 0.16);
}
.mobile-menu.is-open { display: block; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0 1.15rem;
}
.mobile-menu a,
.mobile-menu button.mobile-menu__link {
  display: block;
  width: 100%;
  padding: 0.85rem 0.65rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--b800);
  background: none;
  border: 0;
}
.mobile-menu a:hover,
.mobile-menu a:active,
.mobile-menu button.mobile-menu__link:hover {
  background: var(--b50);
}
.mobile-menu a[href^="tel"] {
  color: var(--b600);
  font-variant-numeric: tabular-nums;
}
.mobile-menu .btn {
  margin-top: 0.65rem;
  width: 100%;
}

/* затемнение контента при открытом меню */
.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(6 21 37 / 0.45);
}
body.menu-open .menu-backdrop { display: block; }

@media (max-width: 1023px) {
  .header__inner {
    gap: 0.4rem;
  }
  .header__logo {
    max-width: min(200px, 52vw);
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  :root { --header-h: 5.5rem; }
  .header__nav, .header__right { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
  .menu-backdrop { display: none !important; }
  .header__logo { max-width: min(420px, 32vw); flex-shrink: 1; min-width: 0; }
  /* навигация может чуть ужаться, телефон и кнопка — нет */
  .header__nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .header__nav a {
    white-space: nowrap;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
  }
}
@media (min-width: 1200px) {
  .header__nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
  }
  .header__logo { max-width: min(480px, 36vw); }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  padding-top: calc(var(--header-h) + clamp(1.25rem, 3vw, 2rem));
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  color: var(--white);
  background: var(--b950);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 639px) {
  .hero {
    min-height: 0;
    padding-bottom: 2.25rem;
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__bg img {
  object-fit: cover;
  opacity: 0.88;
}
/* Лёгкое затемнение — фон читается, текст остаётся читаемым */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgb(6 21 37 / 0.35) 0%,
      rgb(11 31 56 / 0.42) 45%,
      rgb(6 21 37 / 0.55) 100%
    );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(11 31 56 / 0.35);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b100);
  margin-bottom: 1.25rem;
}
.hero__badge i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--b300);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(6 21 37 / 0.45);
}
.hero__lead {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgb(255 255 255 / 0.95);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgb(6 21 37 / 0.4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 40rem;
  margin: 3rem auto 0;
  padding-top: 0;
  border-top: none;
}
.hero__stats > div {
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(11 31 56 / 0.38);
  backdrop-filter: blur(8px);
  text-align: center;
}
.hero__stats strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}
.hero__stats span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--b100);
}

/* ── Sections — единый вертикальный ритм ── */
.section {
  padding-block: var(--section-y);
}
@media (min-width: 1024px) {
  .section { --section-y: clamp(4.5rem, 6.5vw, 6.5rem); }
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--section-head-mb);
  width: 100%;
}
.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b600); /* темнее b500 — лучший контраст на светлом фоне */
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--b900);
}
.section-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.section--dark { background: var(--b950); color: var(--white); }
.section--dark .section-kicker { color: var(--b200); }
.section--dark .section-head h2 { color: var(--white); }
.section--dark .section-lead { color: rgb(228 237 246 / 0.85); }
.section--white { background: var(--white); }

/* ── Service cards ── */
.cat-block {
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: var(--block-gap);
  /* шапка + sticky-фильтр — заголовок не уезжает под них */
  scroll-margin-top: calc(var(--header-h) + 5.75rem);
}
.cat-block:last-child { margin-bottom: 0; }
@media (min-width: 640px) {
  .cat-block { padding: 1.75rem; margin-bottom: 2rem; }
}
#evaluation,
#expertise,
#corporate {
  scroll-margin-top: calc(var(--header-h) + 5.75rem);
}
.cat-block__head {
  scroll-margin-top: calc(var(--header-h) + 5.75rem);
}
@media (min-width: 1024px) {
  .cat-block { padding: 2.5rem; margin-bottom: 2.5rem; }
  .cat-block,
  #evaluation,
  #expertise,
  #corporate,
  .cat-block__head {
    scroll-margin-top: calc(var(--header-h) + 5.25rem);
  }
}

.cat-block__head {
  border-bottom: 1px solid var(--b100);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.cat-block__head h3 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--b900);
}
.cat-block__head p { margin: 0.5rem 0 0; color: var(--muted); }

.group-title {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b500);
}
.svc-group { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.svc-group:last-child { margin-bottom: 0; }
.svc-group.is-hidden,
.cat-block.is-hidden,
.svc-card.is-hidden,
.corp-card.is-hidden { display: none !important; }

/* Навигация / фильтр услуг */
.svc-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.35rem);
  z-index: 30;
  margin: 0 0 1.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--b100);
  background: rgb(255 255 255 / 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.svc-nav__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .svc-nav__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.svc-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.svc-nav__tab {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--b200);
  background: var(--white);
  color: var(--b800);
  font-size: 0.875rem;
  font-weight: 600;
  transition: 0.2s;
  white-space: nowrap;
}
.svc-nav__tab:hover {
  border-color: var(--b400);
  color: var(--b700);
}
.svc-nav__tab.is-active {
  background: var(--b600);
  border-color: var(--b600);
  color: #fff;
  box-shadow: 0 4px 12px rgb(11 31 56 / 0.15);
}
.svc-nav__search {
  width: 100%;
  min-width: 0;
  max-width: 22rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--b200);
  border-radius: 0.85rem;
  background: var(--b50);
  color: var(--b900);
  font-size: 0.9rem;
}
.svc-nav__search:focus {
  outline: none;
  border-color: var(--b500);
  box-shadow: 0 0 0 3px rgb(42 95 148 / 0.15);
  background: #fff;
}
@media (min-width: 900px) {
  .svc-nav__search { width: 16rem; flex-shrink: 0; }
}
.svc-nav__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--b100);
}
.svc-nav__sub[hidden] { display: none !important; }
.svc-nav__chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--b200);
  background: var(--b50);
  color: var(--b700);
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.2s;
}
.svc-nav__chip:hover { border-color: var(--b400); }
.svc-nav__chip.is-active {
  background: var(--b100);
  border-color: var(--b400);
  color: var(--b800);
}
.svc-nav__count { display: none !important; }

/* Сетка: 3 в ряд, на всю ширину блока */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  width: 100%;
}
@media (min-width: 720px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 13.5rem;
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--b100);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  color: inherit;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.svc-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b600);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.svc-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b50);
  color: var(--b600);
  margin-bottom: 1.05rem;
  font-size: 1.35rem;
  transition: 0.3s;
}
.svc-card:hover .svc-card__icon {
  background: var(--b600);
  color: var(--white);
}
.svc-card__name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--b900);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
  padding-right: 0.25rem;
}
.svc-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}
.svc-card__more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--b600);
}
.svc-card__price {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 0 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.corp-card .svc-card__price {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  width: fit-content;
  margin-bottom: 0.5rem;
}

/* Price modal */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.price-modal.is-open { display: flex; }
.price-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 21 37 / 0.55);
  backdrop-filter: blur(4px);
}
.price-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgb(6 21 37 / 0.35);
  padding: 1.5rem 1.5rem 1.25rem;
}
.price-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--b100);
  background: var(--b50);
  color: var(--b800);
  font-size: 1.25rem;
  line-height: 1;
}
.price-modal__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b500);
}
.price-modal__title {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.25rem;
  color: var(--b900);
}
.price-modal__from {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b700);
  font-size: 0.9rem;
  font-weight: 700;
}
.price-modal__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.price-table th,
.price-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--b100);
  text-align: left;
  vertical-align: top;
}
.price-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--b500);
}
.price-table td:last-child {
  font-weight: 700;
  color: var(--b700);
  white-space: nowrap;
  text-align: right;
}
.price-table tr.is-free td:last-child { color: #15803d; }
.price-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
body.modal-open { overflow: hidden; }

/* ── Price page ── */
.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  background: linear-gradient(180deg, var(--b900) 0%, var(--b800) 100%);
  color: var(--white);
}
.page-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-hero p {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: rgb(228 237 246 / 0.9);
  line-height: 1.6;
}
.page-hero .section-kicker { color: var(--b200); }

.price-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgb(246 248 251 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b100);
  padding: 1rem 0;
}
.price-toolbar__row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .price-toolbar__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.price-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.price-filter {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--b200);
  background: var(--white);
  color: var(--b800);
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}
.price-filter:hover {
  border-color: var(--b400);
  color: var(--b600);
}
.price-filter.is-active {
  background: var(--b600);
  border-color: var(--b600);
  color: var(--white);
}
.price-search {
  width: 100%;
  max-width: 280px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--b200);
  border-radius: 0.75rem;
  background: var(--white);
  font-size: 0.9rem;
}
.price-search:focus {
  outline: none;
  border-color: var(--b500);
  box-shadow: 0 0 0 3px rgb(42 95 148 / 0.15);
}
.price-count {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0 4rem;
}
.price-section {
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 5.5rem);
}
.price-section__head {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--b100);
}
.price-section__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: var(--b50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.price-section__group {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b500);
}
.price-section h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.price-section__desc {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.price-section__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.75rem;
}
.price-tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--b100);
  color: var(--b700);
  font-size: 0.7rem;
  font-weight: 600;
}
.price-section__table-wrap { padding: 0 1rem 0.5rem; }
@media (min-width: 640px) {
  .price-section__table-wrap { padding: 0 1.5rem 0.5rem; }
}
.price-table--page td:last-child,
.price-table .price-cost {
  font-weight: 700;
  color: var(--b700);
  text-align: right;
  white-space: nowrap;
}
.price-section__note {
  margin: 0.5rem 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--b50);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.price-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.5rem 1.5rem;
}
.price-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border-radius: 1.25rem;
  border: 1px dashed var(--b200);
}
.price-empty p { color: var(--muted); margin: 0 0 1rem; }

/* ── News ── */
.news-list-wrap {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}
.news-list__meta {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Пагинация новостей */
.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--b100);
}
.news-pagination[hidden] {
  display: none !important;
}
.news-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.news-pagination__btn,
.news-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--b200);
  background: var(--white);
  color: var(--b800);
  font-size: 0.88rem;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}
.news-pagination__num {
  min-width: 2.5rem;
  padding: 0.45rem 0.55rem;
}
.news-pagination__btn:hover:not(:disabled),
.news-pagination__num:hover:not(:disabled) {
  border-color: var(--b400);
  background: var(--b50);
  color: var(--b700);
}
.news-pagination__num.is-active,
.news-pagination__num[aria-current="page"] {
  background: var(--b700);
  border-color: var(--b700);
  color: #fff;
  cursor: default;
}
.news-pagination__btn:disabled,
.news-pagination__num:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.news-pagination__dots {
  padding: 0 0.2rem;
  color: var(--muted);
  font-weight: 700;
}
.news-pagination__info {
  width: 100%;
  margin: 0.15rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
@media (max-width: 479px) {
  .news-pagination__btn {
    flex: 1 1 auto;
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }
}

.news-card {
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.news-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--b800), var(--b600));
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.9;
}
.news-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--b500);
  letter-spacing: 0.04em;
}
.news-card__title {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.news-card__excerpt {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.news-card__more {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--b600);
}
.news-section-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.news-empty {
  color: var(--muted);
  padding: 1rem 0;
}
.news-article {
  max-width: 48rem;
  padding-bottom: 4rem;
}
.news-article__back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}
.news-article__back a { color: var(--b600); font-weight: 600; }
.news-article time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--b500);
}
.news-article h1 {
  margin: 0.5rem 0 1.25rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--b900);
  line-height: 1.2;
}
.news-article__img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  max-height: 380px;
  object-fit: cover;
}
.news-article__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}
.news-article__body p { margin: 0 0 1rem; }
.news-article__body h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.news-article__body h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.1rem;
  color: var(--b800);
}
.news-article__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.news-article__body li { margin-bottom: 0.35rem; }
.news-article__body a {
  color: var(--b600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-article__cta { margin-top: 2rem; }
.news-breadcrumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.news-breadcrumbs a { color: var(--b600); font-weight: 500; }
.news-crosslinks {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--b50);
  border: 1px solid var(--b100);
  border-radius: 0.85rem;
  font-size: 0.95rem;
}
.news-crosslinks p { margin: 0; }
.news-crosslinks a { color: var(--b700); font-weight: 600; }
.news-related {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--b100);
}
.news-related h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--b900);
}
.news-grid--related {
  margin-top: 0.5rem;
}

/* ── About company page ── */
.about-hero {
  position: relative;
  min-height: min(70vh, 560px);
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--b950);
}
.about-hero__bg {
  position: absolute;
  inset: 0;
}
.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.about-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgb(6 21 37 / 0.92) 0%,
    rgb(11 31 56 / 0.75) 55%,
    rgb(11 31 56 / 0.45) 100%
  );
}
.about-hero__content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.about-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.about-hero__lead {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.92);
}
.about-hero__slogan {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--b200);
}

.about-stats-wrap { padding-top: 0; margin-top: -2rem; position: relative; z-index: 2; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}
@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem;
  }
}
.about-stat {
  text-align: center;
  padding: 0.5rem;
}
.about-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--b800);
  letter-spacing: -0.02em;
}
.about-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.about-story {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .about-story { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}
.about-story h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--b900);
  letter-spacing: -0.02em;
}
.about-story__lead {
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--b800);
}
.about-story__text > p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.about-subh {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b500);
}
.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--b800);
  line-height: 1.45;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--b500);
}
.about-story__media {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--b100);
  box-shadow: var(--shadow-lg);
  background: var(--b50);
}
.about-story__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.about-story__media figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--white);
}

/* About story photo collage */
.about-gallery {
  display: grid;
  gap: 0.65rem;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.about-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--b100);
  background: var(--b50);
}
.about-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.about-gallery__main:hover img { transform: scale(1.03); }
.about-gallery__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 0.92);
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgb(11 31 56 / 0.15);
}
.about-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.about-gallery__thumbs button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--b100);
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--b50);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}
.about-gallery__thumbs button:hover {
  transform: translateY(-2px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.about-gallery__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}
.about-gallery__caption {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* About photo gallery section */
.about-photos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .about-photos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .about-photos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
.about-photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--b100);
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  text-align: left;
  transition: 0.3s ease;
}
.about-photo:hover {
  transform: translateY(-4px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.about-photo span {
  display: block;
  padding: 0.7rem 0.9rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--b800);
  background: var(--white);
}

@media (max-width: 899px) {
  .about-photos-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    overflow-x: auto;
    gap: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .about-photos-grid::-webkit-scrollbar { display: none; }
  .about-photos-grid > .about-photo {
    flex: 0 0 78%;
    max-width: 20rem;
    scroll-snap-align: start;
  }
  .about-gallery__thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }
  .about-gallery__thumbs::-webkit-scrollbar { display: none; }
  .about-gallery__thumbs button {
    flex: 0 0 28%;
    min-width: 4.5rem;
    scroll-snap-align: start;
  }
}

.about-principles {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .about-principles { grid-template-columns: repeat(3, 1fr); }
}
.about-principle {
  background: var(--surface);
  border: 1px solid var(--b100);
  border-radius: 1.15rem;
  padding: 1.5rem;
  transition: 0.25s;
}
.about-principle:hover {
  border-color: var(--b300);
  box-shadow: var(--shadow);
  background: var(--white);
}
.about-principle__num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--b500);
  margin-bottom: 0.75rem;
}
.about-principle h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--b900);
}
.about-principle p {
  margin: 0.65rem 0 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .about-steps { grid-template-columns: repeat(2, 1fr); }
}
.about-steps li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.about-steps__n {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--b600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.about-steps h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--b900);
}
.about-steps p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.docs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
}
.doc-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s;
  color: inherit;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}
.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.doc-card__img {
  aspect-ratio: 4/3;
  background: var(--b50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.doc-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.doc-card__meta {
  padding: 1rem 1.15rem 1.2rem;
  border-top: 1px solid var(--b100);
}
.doc-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b500);
  margin-bottom: 0.35rem;
}
.doc-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--b900);
  font-weight: 600;
}

.doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.doc-lightbox[hidden] { display: none !important; }
.doc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 21 37 / 0.72);
  backdrop-filter: blur(4px);
}
.doc-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  text-align: center;
}
.doc-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--b100);
  background: var(--b50);
  font-size: 1.25rem;
  color: var(--b800);
}
.doc-lightbox__title {
  margin: 0 2rem 0.75rem 0;
  text-align: left;
  font-weight: 600;
  color: var(--b900);
}
.doc-lightbox__panel img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--b50);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.about-legal {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .about-legal { grid-template-columns: repeat(3, 1fr); }
}
.about-legal__card {
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1.15rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.about-legal__card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--b900);
}
.about-legal__card > p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-legal__card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--b800);
  font-size: 0.9rem;
  line-height: 1.55;
}
.about-legal__card--contacts a {
  color: var(--b600);
  font-weight: 600;
}

/* Inner pages: header always solid */
.header.header--solid,
.header.is-scrolled {
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--b100);
  box-shadow: 0 4px 24px rgb(11 31 56 / 0.08);
  backdrop-filter: blur(10px);
}
.header.header--solid .header__nav a,
.header.header--solid .header__phone {
  color: var(--b800);
}
.header.header--solid .header__nav a:hover {
  background: var(--b50);
  color: var(--b600);
}
.header.header--solid .burger {
  border-color: var(--b200);
  background: var(--white);
  color: var(--b800);
}

/* Corporate dark */
.cat-block--corp {
  background: linear-gradient(135deg, var(--b900), var(--b800) 50%, var(--b700));
  border-color: rgb(20 58 98 / 0.4);
  color: var(--white);
  margin-bottom: 0;
}
.cat-block--corp .cat-block__head { border-color: rgb(255 255 255 / 0.1); }
.cat-block--corp .cat-block__head h3 { color: var(--white); }
.cat-block--corp .cat-block__head p { color: rgb(228 237 246 / 0.85); }
.cat-block--corp .section-kicker { color: var(--b300); }
.corp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  width: 100%;
}
@media (min-width: 720px) { .corp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .corp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.corp-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 1.5rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  color: var(--white);
  transition: 0.3s;
  height: 100%;
  min-height: 11rem;
  min-width: 0;
}
.corp-card:hover {
  transform: translateY(-4px);
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.1);
}
.corp-card strong {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.corp-card span { font-size: 0.875rem; color: rgb(228 237 246 / 0.75); flex: 1; }
.corp-card em {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--b200);
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .adv-grid { grid-template-columns: repeat(4, 1fr); } }
.adv-card {
  background: var(--surface);
  border: 1px solid var(--b100);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: 0.3s;
}
.adv-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--b200);
  box-shadow: var(--shadow-lg);
}
.adv-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b600);
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgb(11 31 56 / 0.2);
}
.adv-card h3 { margin: 0; font-size: 1.1rem; color: var(--b900); }
.adv-card p { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* Work scheme — 2 колонки, фото без crop, таймлайн не сжимается */
.scheme-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .scheme-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.scheme-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35);
}
@media (min-width: 1024px) {
  .scheme-photo { height: 100%; }
}
.scheme-photo__frame {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(6 21 37 / 0.35);
  line-height: 0;
}
@media (min-width: 1024px) {
  .scheme-photo__frame {
    flex: 1 1 auto;
    min-height: 0;
  }
}
.scheme-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 638 / 545;
  object-fit: contain;
  object-position: center;
}
.scheme-photo figcaption {
  flex-shrink: 0;
  margin: 0;
  padding: 1.15rem 1.35rem 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
}
.scheme-photo figcaption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.scheme-photo figcaption span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--b200);
}

/* Правая колонка — ровная панель, шаги не «сплющиваются» */
.scheme-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  border-radius: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
  padding: 1.1rem 1rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .scheme-panel { padding: 1.35rem 1.25rem; }
}
@media (min-width: 1024px) {
  .scheme-panel {
    height: 100%;
    min-height: 100%;
  }
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  height: auto;
  gap: 0.7rem;
}
@media (min-width: 1024px) {
  .timeline {
    justify-content: space-between;
    height: 100%;
    gap: 0.55rem;
  }
}
.timeline li {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  flex: 0 0 auto; /* не сжимать шаги — фикс «ошибки» layout */
  min-height: 0;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  .timeline li {
    flex: 1 1 auto;
  }
}
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.55rem;
  bottom: -0.45rem;
  width: 1px;
  background: linear-gradient(var(--b400), rgb(20 58 98 / 0.25));
  pointer-events: none;
}
.timeline__num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 0 3px rgb(11 31 56 / 0.9), 0 6px 14px rgb(0 0 0 / 0.28);
}
.timeline__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  transition: 0.25s;
}
.timeline__body:hover {
  border-color: rgb(79 134 184 / 0.35);
  background: rgb(255 255 255 / 0.1);
}
.timeline__body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}
.timeline__body p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgb(228 237 246 / 0.8);
}
.timeline__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  white-space: normal;
  max-width: 100%;
}

/* mobile scheme: стек, естественная высота */
@media (max-width: 1023px) {
  .scheme-photo,
  .scheme-panel {
    height: auto !important;
    min-height: 0 !important;
  }
  .scheme-photo__frame {
    flex: 0 0 auto !important;
  }
  .timeline {
    height: auto !important;
    justify-content: flex-start !important;
  }
  .timeline li {
    flex: 0 0 auto !important;
  }
}

/* Goals */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .goals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .goals-grid { grid-template-columns: repeat(4, 1fr); } }
.goal-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--b100);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.goal-card:hover {
  transform: translateY(-4px);
  border-color: var(--b300);
  box-shadow: var(--shadow-lg);
}
.goal-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--b50);
  color: var(--b600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.goal-card h3 { margin: 0; font-size: 1rem; color: var(--b900); }
.goal-card p { margin: 0.4rem 0 0; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* FAQ — как у остальных секций: на всю ширину shell */
#faq .section-head {
  max-width: none;
  width: 100%;
}
.faq-list {
  width: 100%;
  border: 1px solid var(--b100);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faq-item + .faq-item { border-top: 1px solid var(--b100); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--b900);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  letter-spacing: -0.01em;
  transition: 0.2s;
}
@media (min-width: 768px) {
  .faq-btn { padding: 1.45rem 1.75rem; }
}
.faq-btn:hover { background: var(--b50); }
.faq-toggle {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--b200);
  background: var(--b50);
  color: var(--b600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: 0.25s;
}
.faq-item.is-open .faq-toggle {
  background: var(--b600);
  border-color: var(--b600);
  color: var(--white);
}
.faq-panel {
  display: none;
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: none;
}
@media (min-width: 768px) {
  .faq-panel { padding: 0 1.75rem 1.5rem; font-size: 1rem; }
}
.faq-item.is-open .faq-panel { display: block; }
.faq-item.is-open .faq-btn { background: var(--b50); }

/* Consult block (CTA → popup) */
.consult {
  position: relative;
  overflow: hidden;
  background: var(--b900);
  color: var(--white);
  padding-block: var(--section-y);
}
@media (min-width: 1024px) {
  .consult { --section-y: clamp(4.5rem, 6.5vw, 6.5rem); }
}
.consult-panel {
  display: grid;
  border-radius: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .consult-panel { grid-template-columns: 1fr 1fr; }
}
.consult-info { padding: 1.35rem 1.25rem; }
@media (min-width: 640px) { .consult-info { padding: 1.75rem; } }
@media (min-width: 1024px) { .consult-info { padding: 3rem; } }
.consult-info h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.consult-info > p { color: rgb(228 237 246 / 0.85); margin: 1rem 0 0; }
.consult-benefits {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.consult-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.consult-benefits i {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--b500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}
.consult-note { margin-top: 2rem; font-size: 0.875rem; color: var(--b200); }

.consult-form-wrap {
  background: var(--white);
  color: var(--b900);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .consult-form-wrap { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .consult-form-wrap { padding: 2.5rem; border-radius: 0 1.5rem 1.5rem 0; }
}
.consult-form-wrap h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--b900);
}
.consult-form-wrap > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.consult-form-wrap .form-legal {
  text-align: left;
  margin: 0;
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--b800);
}
.field .req { color: #b91c1c; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--b200);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--b900);
  transition: 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--b500);
  box-shadow: 0 0 0 3px rgb(42 95 148 / 0.15);
}
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
  line-height: 1.45;
}
.consent input { margin-top: 0.2rem; accent-color: var(--b600); flex-shrink: 0; }
.consent a { color: var(--b600); text-decoration: underline; text-underline-offset: 2px; }
.form-status {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-status.is-ok { display: block; background: var(--b50); color: var(--b700); }
.form-status.is-err { display: block; background: #fef2f2; color: #b91c1c; }
/* на успехе и при модалке — без лишних полос внизу экрана */
.lead-popup.is-success .form-status,
.lead-popup.is-success .lead-form__actions {
  display: none !important;
}
body.modal-open .sticky-cta {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.modal-open .cookie-bar {
  display: none !important;
}
@media (max-width: 899px) {
  .lead-popup .form-status {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding: 0.55rem 0.7rem;
  }
  .lead-popup.is-success .lead-success {
    min-height: min(70vh, 28rem);
    justify-content: center;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Экран «Спасибо, заявка принята» */
.lead-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.35rem 1.5rem;
  gap: 0.35rem;
}
.lead-popup.is-success .lead-success {
  display: flex;
}
.lead-popup.is-success .lead-form,
.lead-popup.is-success .lead-popup__head {
  display: none !important;
}
.lead-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 0 0.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--b500), var(--b700));
  box-shadow: 0 8px 24px rgb(11 31 56 / 0.22);
}
.lead-success__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b500);
}
.lead-success__title {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--b900);
  line-height: 1.2;
}
.lead-success__text {
  margin: 0 0 1.35rem;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.lead-popup.is-theme-dark .lead-success__kicker { color: var(--b300); }
.lead-popup.is-theme-dark .lead-success__title { color: #fff; }
.lead-popup.is-theme-dark .lead-success__text { color: rgb(228 237 246 / 0.85); }
.lead-popup.is-theme-brand .lead-success__kicker { color: var(--b200); }
.lead-popup.is-theme-brand .lead-success__title { color: #fff; }
.lead-popup.is-theme-brand .lead-success__text { color: rgb(228 237 246 / 0.88); }
.lead-popup.is-theme-dark .lead-success__icon,
.lead-popup.is-theme-brand .lead-success__icon {
  background: linear-gradient(145deg, rgb(255 255 255 / 0.25), rgb(255 255 255 / 0.08));
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}
.form-legal {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Lead popup (все формы) ── */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* top/left/width/height на мобилке выставляет visualViewport JS */
}
.lead-popup.is-open { display: flex; }
.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 21 37 / 0.55);
  backdrop-filter: blur(4px);
}
.lead-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: none;
  overflow: visible;
  border-radius: 1.25rem;
  padding: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.lead-popup__head {
  position: relative;
  flex-shrink: 0;
  padding: 1.1rem 1.2rem 0.65rem;
  z-index: 2;
}
.lead-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.lead-form__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding: 0 1.2rem;
}
.lead-form__actions {
  flex-shrink: 0;
  padding: 0.65rem 1.2rem 1.1rem;
}
.lead-popup .field { margin-bottom: 0.7rem; }
.lead-popup .field textarea { min-height: 3.5rem; max-height: 3.5rem; resize: none; }
.lead-popup .consent { margin: 0.35rem 0 0.75rem; font-size: 0.74rem; }
/* короткая версия согласия — только мобилка */
.lead-popup .consent--short { display: none; }
.lead-popup .form-legal { margin-top: 0.5rem; font-size: 0.68rem; }
.lead-popup__hint { margin: 0.15rem 0 0.75rem; font-size: 0.82rem; }
.lead-popup__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  transition: 0.2s;
}
.lead-popup__close:hover { background: var(--b50); color: var(--b900); }
.lead-popup__collapse {
  display: none;
  margin-top: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid var(--b200);
  background: transparent;
  color: var(--b600);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}
.lead-popup__collapse:hover {
  background: var(--b50);
  border-color: var(--b300);
}
.lead-popup__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b500);
}
.lead-popup__title {
  margin: 0;
  padding-right: 2rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--b900);
  line-height: 1.25;
}
.lead-popup__hint {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Мобильный ФОС: клавиатура не прячет заголовок и кнопку отправки */
@media (max-width: 899px) {
  .lead-popup {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .lead-popup.is-open {
    display: flex;
  }
  .lead-popup__dialog {
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
  }
  .lead-popup__head {
    flex-shrink: 0;
    padding: 0.75rem 0.95rem 0.5rem;
    border-bottom: 1px solid rgb(11 31 56 / 0.08);
    background: inherit;
  }
  .lead-popup__title {
    font-size: 1.05rem;
    padding-right: 2.1rem;
  }
  .lead-popup__kicker {
    margin-bottom: 0.2rem;
    font-size: 0.62rem;
  }
  .lead-popup__collapse {
    display: inline-flex;
    align-items: center;
  }
  .lead-popup__close {
    top: 0.45rem;
    right: 0.45rem;
  }
  .lead-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .lead-form__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.55rem 0.95rem 0.35rem;
  }
  .lead-form__actions {
    flex-shrink: 0;
    padding: 0.5rem 0.95rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgb(11 31 56 / 0.08);
    background: inherit;
  }
  .lead-popup .field { margin-bottom: 0.5rem; }
  .lead-popup .field label { font-size: 0.82rem; }
  .lead-popup .field input,
  .lead-popup .field textarea {
    padding: 0.65rem 0.85rem;
    font-size: 16px; /* без авто-зума iOS */
  }
  .lead-popup .field textarea {
    min-height: 2.6rem;
    max-height: 2.6rem;
  }
  .lead-popup__hint {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }
  /* полная надпись согласия скрыта, короткая — компактная */
  .lead-popup .consent--full { display: none !important; }
  .lead-popup .consent--short {
    display: flex !important;
    gap: 0.5rem;
    margin: 0.2rem 0 0.45rem;
    font-size: 0.68rem;
    line-height: 1.35;
    align-items: flex-start;
  }
  .lead-popup .consent--short input {
    margin-top: 0.1rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
  }
  .lead-popup .form-legal {
    display: none;
  }
  .lead-form__submit {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .lead-popup .form-status {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }
}

/* Hero / первый экран — белый фон */
.lead-popup.is-theme-white .lead-popup__dialog {
  background: #fff;
  border: 1px solid var(--b100);
  color: var(--b900);
}
.lead-popup.is-theme-white .lead-popup__kicker { color: var(--b600); }
.lead-popup.is-theme-white .lead-popup__title { color: var(--b900); }

/* Обычные светлые блоки */
.lead-popup.is-theme-light .lead-popup__dialog {
  background: var(--b50);
  border: 1px solid var(--b200);
  color: var(--b900);
}
.lead-popup.is-theme-light .lead-popup__kicker { color: var(--b500); }

/* Тёмные секции (схема, консультация) */
.lead-popup.is-theme-dark .lead-popup__dialog {
  background: linear-gradient(165deg, #0f2d4d 0%, #0b1f38 100%);
  border: 1px solid rgb(255 255 255 / 0.12);
  color: #fff;
}
.lead-popup.is-theme-dark .lead-popup__kicker { color: var(--b300); }
.lead-popup.is-theme-dark .lead-popup__title { color: #fff; }
.lead-popup.is-theme-dark .lead-popup__hint { color: rgb(228 237 246 / 0.8); }
.lead-popup.is-theme-dark .lead-popup__close { color: var(--b200); }
.lead-popup.is-theme-dark .lead-popup__close:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.lead-popup.is-theme-dark .field label { color: var(--b100); }
.lead-popup.is-theme-dark .field input,
.lead-popup.is-theme-dark .field textarea {
  background: rgb(255 255 255 / 0.96);
  border-color: transparent;
  color: var(--b900);
}
.lead-popup.is-theme-dark .consent { color: rgb(228 237 246 / 0.8); }
.lead-popup.is-theme-dark .consent a { color: var(--b200); }
.lead-popup.is-theme-dark .form-legal { color: rgb(228 237 246 / 0.55); }
.lead-popup.is-theme-dark .form-status.is-ok { background: rgb(255 255 255 / 0.12); color: #dce9f6; }
.lead-popup.is-theme-dark .form-status.is-err { background: rgb(254 242 242 / 0.95); color: #b91c1c; }
.lead-popup.is-theme-dark .lead-popup__head,
.lead-popup.is-theme-dark .lead-form__actions {
  border-color: rgb(255 255 255 / 0.12);
}
.lead-popup.is-theme-dark .lead-popup__collapse {
  border-color: rgb(255 255 255 / 0.22);
  color: var(--b200);
}
.lead-popup.is-theme-dark .lead-popup__collapse:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

/* Корпоративный блок */
.lead-popup.is-theme-brand .lead-popup__dialog {
  background: linear-gradient(160deg, #143a62 0%, #1c4a7a 55%, #2a5f94 100%);
  border: 1px solid rgb(255 255 255 / 0.15);
  color: #fff;
}
.lead-popup.is-theme-brand .lead-popup__kicker { color: var(--b200); }
.lead-popup.is-theme-brand .lead-popup__title { color: #fff; }
.lead-popup.is-theme-brand .lead-popup__hint { color: rgb(228 237 246 / 0.85); }
.lead-popup.is-theme-brand .lead-popup__close { color: var(--b100); }
.lead-popup.is-theme-brand .lead-popup__close:hover { background: rgb(255 255 255 / 0.12); color: #fff; }
.lead-popup.is-theme-brand .field label { color: var(--b50); }
.lead-popup.is-theme-brand .field input,
.lead-popup.is-theme-brand .field textarea {
  background: #fff;
  border-color: transparent;
  color: var(--b900);
}
.lead-popup.is-theme-brand .consent { color: rgb(228 237 246 / 0.85); }
.lead-popup.is-theme-brand .consent a { color: #fff; }
.lead-popup.is-theme-brand .form-legal { color: rgb(228 237 246 / 0.55); }
.lead-popup.is-theme-brand .lead-popup__head,
.lead-popup.is-theme-brand .lead-form__actions {
  border-color: rgb(255 255 255 / 0.14);
}
.lead-popup.is-theme-brand .lead-popup__collapse {
  border-color: rgb(255 255 255 / 0.28);
  color: #fff;
}
.lead-popup.is-theme-brand .lead-popup__collapse:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.4);
}

/* Lead strips / mid-page CTAs */
.lead-strip {
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
}
.lead-strip__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: space-between;
  padding: 1.2rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid var(--b200);
  background: var(--white);
  box-shadow: var(--shadow);
}
.lead-strip__inner .btn {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .lead-strip__inner {
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 2rem;
  }
  .lead-strip__inner .btn { width: auto; }
}
.lead-strip__inner h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.lead-strip__inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.5;
}
.lead-strip--dark .lead-strip__inner {
  background: var(--b900);
  border-color: rgb(255 255 255 / 0.1);
}
.lead-strip--dark h3 { color: #fff; }
.lead-strip--dark p { color: var(--b200); }
.lead-strip--brand .lead-strip__inner {
  background: linear-gradient(120deg, var(--b700), var(--b500));
  border-color: transparent;
}
.lead-strip--brand h3 { color: #fff; }
.lead-strip--brand p { color: rgb(255 255 255 / 0.88); }

/* Sticky mobile bottom bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgb(255 255 255 / 0.98);
  border-top: 1px solid var(--b100);
  box-shadow: 0 -8px 28px rgb(11 31 56 / 0.12);
  backdrop-filter: blur(10px);
}
.sticky-cta__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--b700);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
}
.sticky-cta__phone small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.sticky-cta .btn {
  flex-shrink: 0;
  padding: 0.7rem 0.95rem;
  font-size: 0.82rem;
}
.sticky-cta span.sticky-cta__hint {
  display: none;
}
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
/* белая полоса после футера: отступ под sticky-bar — внутри футера, не у body */
body.has-sticky-cta { padding-bottom: 0; }
@media (max-width: 899px) {
  body.has-sticky-cta .footer {
    padding-bottom: calc(2rem + 5.25rem + env(safe-area-inset-bottom, 0px));
  }
}
/* чуть больше места снизу, если юр. строка + sticky */
@media (max-width: 899px) {
  body.has-sticky-cta .footer-legal {
    padding-bottom: 0.15rem;
  }
}

/* ── Mobile swipe carousels (peek next + dots) ── */
.swipe-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0.15rem;
  min-height: 0.75rem;
}
.swipe-dots.is-active { display: flex; }
.swipe-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--b200);
  transition: 0.2s ease;
  cursor: pointer;
}
.swipe-dot.is-active {
  width: 1.15rem;
  background: var(--b600);
}
.cat-block--corp .swipe-dot { background: rgb(255 255 255 / 0.28); }
.cat-block--corp .swipe-dot.is-active { background: #fff; }
.section--dark .swipe-dot { background: rgb(255 255 255 / 0.28); }
.section--dark .swipe-dot.is-active { background: #fff; }

@media (max-width: 899px) {
  .svc-grid,
  .corp-grid,
  .adv-grid,
  .goals-grid,
  .news-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: stretch; /* одинаковая высота карточек */
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-bottom: 0.25rem;
  }
  .svc-grid::-webkit-scrollbar,
  .corp-grid::-webkit-scrollbar,
  .adv-grid::-webkit-scrollbar,
  .goals-grid::-webkit-scrollbar,
  .news-grid::-webkit-scrollbar {
    display: none;
  }
  .svc-grid > .svc-card,
  .corp-grid > .corp-card,
  .adv-grid > .adv-card,
  .goals-grid > .goal-card,
  .news-grid > * {
    flex: 0 0 82%;
    width: 82%;
    max-width: 22rem;
    min-width: 0;
    height: auto !important; /* height:100% ломает equal-height во flex-swipe */
    min-height: 0;
    align-self: stretch;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .svc-grid > .svc-card {
    min-height: 14.5rem;
  }
  .corp-grid > .corp-card {
    min-height: 11.5rem;
  }
  .adv-grid > .adv-card {
    min-height: 12rem;
  }
  .goals-grid > .goal-card {
    min-height: 9.5rem;
  }
  .news-grid > * {
    min-height: 100%;
  }
  .news-grid .news-card,
  .news-grid .news-card__link {
    height: 100%;
    min-height: 100%;
  }
  .svc-card__text,
  .corp-card span,
  .adv-card p,
  .goal-card p,
  .news-card__excerpt {
    flex: 1 1 auto;
  }
  .svc-card__more,
  .corp-card em,
  .goal-card__cta,
  .news-card__more {
    margin-top: auto;
  }
  /* скрытые фильтром карточки не занимают место в свайпе */
  .svc-grid > .is-hidden,
  .corp-grid > .is-hidden {
    display: none !important;
  }
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 32rem;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--b200);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (min-width: 640px) {
  .cookie-bar {
    left: 1.25rem;
    right: auto;
    bottom: 1.25rem;
    margin: 0;
  }
}
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--b600); text-decoration: underline; }
body.has-sticky-cta .cookie-bar { bottom: 5rem; }

/* Privacy page */
.privacy-doc {
  max-width: 48rem;
  padding-bottom: 4rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--b800);
}
.privacy-doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--b900);
}
.privacy-doc ul { padding-left: 1.25rem; }
.privacy-doc li { margin-bottom: 0.4rem; }
.privacy-doc a { color: var(--b600); text-decoration: underline; text-underline-offset: 2px; }

/* Goal cards clickable */
.goal-card[data-consult],
.goal-card[data-lead] {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: 0.25s ease;
}
.goal-card[data-consult]:hover,
.goal-card[data-lead]:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.goal-card__cta {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--b600);
}

/* Footer */
.footer {
  background: var(--b950);
  color: var(--b100);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } }
.footer img { height: 3.5rem; width: auto; object-fit: contain; object-position: left; }
.footer p { margin: 1rem 0 0; font-size: 0.875rem; color: var(--b200); line-height: 1.55; max-width: 18rem; }
.footer h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; font-size: 0.875rem; color: var(--b200); line-height: 1.5; }
.footer a:hover { color: var(--white); }
.footer .phone-link { color: var(--white); font-weight: 600; }
.footer-phone-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b300);
  margin-bottom: 0.15rem;
}

/* Мессенджеры: Telegram + MAX */
.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.footer-messengers--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.footer-msg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.06);
  color: #fff !important;
  text-decoration: none !important;
  transition: 0.2s ease;
}
.footer-msg span {
  font-weight: 500;
  opacity: 0.85;
  font-size: 0.78rem;
}
.footer-msg:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.28);
  color: #fff !important;
}
.footer-msg--tg {
  border-color: rgb(42 171 238 / 0.45);
  background: rgb(42 171 238 / 0.14);
}
.footer-msg--tg:hover {
  background: rgb(42 171 238 / 0.28);
  border-color: rgb(42 171 238 / 0.7);
}
.footer-msg--max {
  border-color: rgb(124 92 255 / 0.45);
  background: rgb(124 92 255 / 0.14);
}
.footer-msg--max:hover {
  background: rgb(124 92 255 / 0.28);
  border-color: rgb(124 92 255 / 0.7);
}

.consult-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}
.consult-messengers .footer-msg {
  font-size: 0.8rem;
}
.footer-addresses {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-addresses li {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--b200);
  line-height: 1.5;
}
.footer-addresses li:last-child { margin-bottom: 0; }

/* Реквизиты — аккордеон */
.footer-acc {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.footer-acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  user-select: none;
}
.footer-acc > summary::-webkit-details-marker { display: none; }
.footer-acc > summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  color: var(--b200);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}
.footer-acc[open] > summary::after { content: "−"; }
.footer-acc__body {
  padding: 0.35rem 0 0.85rem;
}
.footer-acc__body p {
  margin: 0;
  max-width: none;
  font-size: 0.8rem;
  color: var(--b200);
  line-height: 1.65;
}
.footer-acc__body strong {
  color: #fff;
  font-weight: 600;
}
.footer-acc__body a {
  color: var(--b100);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-requisites__note {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--b300);
  font-size: 0.75rem;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.75rem;
  color: var(--b300);
  line-height: 1.5;
}
.footer-bottom a {
  color: var(--b200);
  text-decoration: none;
}
.footer-bottom a:hover { color: #fff; }
.footer-landline {
  font-weight: 600;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.footer-bottom__sep {
  margin: 0 0.4rem;
  opacity: 0.6;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Юридические ссылки — строка внизу футера */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.72rem;
  line-height: 1.4;
}
.footer-legal a {
  color: var(--b300);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.footer-legal a:hover { color: #fff; }
@media (min-width: 640px) {
  .footer-legal {
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
  }
}

/* Логотип разработчика ACR */
.footer-dev {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex;
  justify-content: flex-end;
}
.footer-dev__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-dev__link:hover { opacity: 1; }
.footer-dev__label {
  font-size: 0.68rem;
  color: var(--b300);
  letter-spacing: 0.04em;
}
.footer-dev__link img {
  height: 1.65rem;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* О компании: одно фото + баннер под преимуществами */
.about-gallery--single .about-gallery__thumbs { display: none !important; }
.about-gallery--single .about-gallery__caption { display: none; }
.about-banner {
  margin: 2.5rem 0 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--b100);
  box-shadow: var(--shadow);
  background: var(--b50);
}
.about-banner__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.about-banner img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   Conversion 2026: multi-step · bento · sticky glass · exit
   ═══════════════════════════════════════════════════════════ */
:root {
  --gold: #c9a227;
  --gold-dark: #9a7b1a;
  --gold-light: #e0c15a;
  --gold-soft: #c9a227;
  --glass-bg: rgb(255 255 255 / 0.72);
  --glass-border: rgb(255 255 255 / 0.55);
  --glass-blur: 16px;
}

/* CTA gold gradient button */
.btn-cta-gold {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #8f6f14 0%, #c9a227 42%, #e0c15a 100%);
  color: #0b1f38;
  border: none;
  box-shadow: 0 6px 20px rgb(201 162 39 / 0.38);
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  /* пульсация + «дыхание» свечения — привлекает внимание к CTA консультации */
  animation: cta-gold-pulse 2.4s ease-in-out infinite;
}
.btn-cta-gold::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  box-shadow: 0 0 0 0 rgb(224 193 90 / 0.55);
  animation: cta-gold-ring 2.4s ease-out infinite;
}
.btn-cta-gold:hover {
  animation-play-state: paused;
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 10px 28px rgb(201 162 39 / 0.55), 0 0 24px rgb(224 193 90 / 0.45);
  filter: brightness(1.06);
  color: #061525;
}
.btn-cta-gold:hover::after {
  animation-play-state: paused;
  opacity: 0;
}
.btn-cta-gold:focus-visible {
  animation-play-state: paused;
}
.btn-cta-gold:active {
  transform: scale(0.98);
  animation-play-state: paused;
}
.btn-cta-gold:disabled {
  opacity: 0.65;
  transform: none;
  filter: none;
  cursor: not-allowed;
  animation: none;
}
.btn-cta-gold:disabled::after {
  animation: none;
  opacity: 0;
}

@keyframes cta-gold-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 18px rgb(201 162 39 / 0.32),
      0 0 0 0 rgb(224 193 90 / 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 10px 28px rgb(201 162 39 / 0.55),
      0 0 22px rgb(224 193 90 / 0.5);
    filter: brightness(1.07);
  }
}
@keyframes cta-gold-ring {
  0% {
    box-shadow: 0 0 0 0 rgb(224 193 90 / 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 12px rgb(224 193 90 / 0);
    opacity: 0.35;
  }
  100% {
    box-shadow: 0 0 0 14px rgb(224 193 90 / 0);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta-gold,
  .btn-cta-gold::after {
    animation: none !important;
  }
}

/* ── Hero promo layout + kinetic type ── */
.hero--promo .hero__bg::after {
  background:
    linear-gradient(
      115deg,
      rgb(6 21 37 / 0.55) 0%,
      rgb(11 31 56 / 0.48) 50%,
      rgb(6 21 37 / 0.62) 100%
    );
}
.hero__layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
  text-align: center;
}
/* shell уже задаёт max-width — не дублируем 72rem */
@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
    justify-items: stretch;
  }
  .hero--promo .hero__content {
    align-items: flex-start;
    margin-inline: 0;
    max-width: none;
  }
  .hero--promo .hero__actions { justify-content: flex-start; }
  .hero--promo .hero__stats { margin-inline: 0; margin-top: 2.25rem; }
}
@media (max-width: 1023px) {
  .hero--promo .hero__content { width: 100%; max-width: none; }
  .hero--promo .hero__lead { margin-top: 1rem; }
  .hero--promo .hero__stats {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  .hero--promo .hero__stats > div { padding: 0.75rem 0.5rem; }
  .hero--promo .hero__stats strong { font-size: 1.05rem; }
  .hero--promo .hero__stats span { font-size: 0.72rem; }
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .hero__trust { justify-content: flex-start; }
}
.hero__trust li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.95);
}

.hero__offer {
  width: 100%;
  max-width: 28rem;
  padding: 2.35rem 2rem 2.15rem;
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgb(6 21 37 / 0.28);
  text-align: center;
}
@media (min-width: 1024px) {
  .hero__offer {
    max-width: min(30rem, 100%);
    padding: 2.6rem 2.25rem 2.35rem;
  }
}
@media (max-width: 1023px) {
  .hero__offer { max-width: 28rem; }
}
@media (max-width: 479px) {
  .hero__offer {
    max-width: none;
    padding: 1.75rem 1.35rem 1.6rem;
  }
  .hero__kinetic-pct { font-size: 1.35rem; }
}
.hero__kinetic {
  margin-bottom: 1.15rem;
}
.hero__kinetic-pct {
  display: block;
  font-size: clamp(1.55rem, 3.6vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  animation: hero-kinetic-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform;
}
.hero__kinetic-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
  letter-spacing: 0.02em;
  animation: hero-kinetic-in 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Highlight «бесплатно / бесплатная / бесплатную» */
.hl-free {
  color: var(--gold-light, #e0c15a);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 0 24px rgb(201 162 39 / 0.35);
  white-space: nowrap;
}
.hero__offer .hl-free,
.hero__kinetic .hl-free {
  background: linear-gradient(135deg, #f0e0a0 0%, #e0c15a 40%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 10px rgb(201 162 39 / 0.45));
}
.section--bento .section-head .hl-free,
.bento__card--consult .hl-free,
.bento__form-hint .hl-free {
  color: var(--gold-dark, #9a7b1a);
  text-shadow: none;
}
.bento__card--discount .hl-free {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--gold-light, #e0c15a);
  text-shadow: none;
  filter: none;
}
.bento__discount-title {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}
.sticky-glass .hl-free {
  color: var(--gold-dark, #9a7b1a);
  text-shadow: none;
}
.hero__offer-actions {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.hero__offer-actions .btn {
  min-height: 3.15rem;
  padding-block: 0.95rem;
}
.hero__offer-actions .btn-outline {
  border-color: rgb(255 255 255 / 0.45);
  color: #fff;
}
.hero__offer-actions .btn-outline:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.75);
}
.hero__offer-note {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.95);
}
@keyframes hero-kinetic-in {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__kinetic-pct,
  .hero__kinetic-sub { animation: none; }
}

/* ── Multi-step conversational form ── */
.ms-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}
.ms-overlay.is-open { display: flex; }
.ms-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 21 37 / 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ms-card {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 1.15rem 1.35rem 1.4rem;
  border-radius: 1.35rem;
  background: rgb(255 255 255 / 0.82);
  border: 1px solid rgb(255 255 255 / 0.65);
  box-shadow: 0 24px 64px rgb(6 21 37 / 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: ms-card-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ms-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ms-card__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  background: rgb(255 255 255 / 0.92);
  border: 1px solid var(--b100);
  box-shadow: 0 2px 8px rgb(11 31 56 / 0.08);
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ms-card__close:hover { background: var(--b50); color: var(--b900); }
.ms-card__title {
  margin: 0.15rem 0 1rem;
  padding-right: 0;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--b900);
}
.ms-card__title .hl-free,
.ms-success__text .hl-free,
.exit-modal__title .hl-free,
.exit-modal__sub .hl-free,
.exit-success h3 .hl-free {
  color: var(--gold-dark, #9a7b1a);
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
}
/* Схема работ — золотое выделение «бесплатная» на тёмном фоне */
.section--dark .timeline .hl-free,
.section--dark .timeline__body .hl-free {
  background: linear-gradient(135deg, #f0e0a0 0%, #e0c15a 45%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 8px rgb(201 162 39 / 0.35));
}
@media (min-width: 640px) {
  .ms-card__title { font-size: clamp(1.6rem, 3vw, 2.15rem); }
}

.ms-progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  /* место под крестик справа — линия не наезжает на × */
  padding-right: 3rem;
  margin: 0.15rem 0 1rem;
  min-height: 2.35rem;
  position: relative;
  box-sizing: border-box;
}
.ms-progress__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--b200);
  transition: 0.25s;
  flex-shrink: 0;
}
.ms-progress__dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(201 162 39 / 0.18);
  transform: scale(1.15);
}
.ms-progress__dot.is-done { background: var(--gold-light); }
.ms-progress__bar {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  height: 3px;
  background: var(--b100);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.15rem;
  margin-right: 0.15rem;
}
.ms-progress__bar i {
  display: block;
  height: 100%;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.35s ease;
  border-radius: inherit;
}

.ms-step__q {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b800);
}
.ms-step__q .opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9em;
}
.ms-step__hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
  font-weight: 600;
}

/* Экран 1 — «При консультации вы получите» */
.ms-benefits {
  margin: 0 0 1.15rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: var(--b50);
  border: 1px solid var(--b100);
}
.ms-benefits__title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.ms-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ms-benefits__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--b700);
  font-weight: 500;
  border-bottom: 1px solid rgb(11 31 56 / 0.06);
}
.ms-benefits__list li:last-child { border-bottom: none; }
.ms-benefits__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--gold-dark, #9a7b1a);
  font-weight: 700;
}
.ms-nav--single {
  margin-top: 1rem;
}
.ms-nav--single .btn { width: 100%; }
@media (max-width: 479px) {
  .ms-benefits { padding: 0.8rem 0.85rem; }
  .ms-benefits__list li { font-size: 0.78rem; }
  .ms-cats { gap: 0.5rem; }
  .ms-cat { min-height: 4.75rem; padding: 0.65rem 0.4rem; }
}
.ms-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 400px) {
  .ms-cats { grid-template-columns: repeat(3, 1fr); }
}
.ms-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 5.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 1rem;
  border: 1.5px solid var(--b100);
  background: rgb(255 255 255 / 0.75);
  transition: 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.ms-cat:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(201 162 39 / 0.12);
}
.ms-cat.is-selected {
  border-color: var(--gold);
  background: rgb(201 162 39 / 0.08);
  box-shadow: 0 0 0 3px rgb(201 162 39 / 0.15);
}
.ms-cat__icon { font-size: 1.55rem; line-height: 1; }
.ms-cat__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--b800);
  text-align: center;
}

.ms-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
  align-items: center;
}
.ms-nav .btn-cta-gold { flex: 1; }
.ms-btn-back {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--b200);
  border-radius: var(--radius-sm);
  color: var(--b700);
  font-weight: 600;
  background: rgb(255 255 255 / 0.6);
}
.ms-btn-back:hover { background: var(--b50); }
.ms-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.75rem 0 0;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.45;
}
.ms-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--gold);
}
.ms-consent a { color: var(--b600); text-decoration: underline; }

.ms-success {
  text-align: center;
  padding: 1rem 0.5rem 0.25rem;
}
.ms-success__check {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
}
.ms-success__check svg {
  width: 100%;
  height: 100%;
}
.ms-success__check circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: ms-circle 0.55s ease forwards;
}
.ms-success__check path {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: ms-check 0.35s 0.4s ease forwards;
}
@keyframes ms-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes ms-check {
  to { stroke-dashoffset: 0; }
}
.ms-success__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.ms-success__title {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.ms-success__text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 899px) {
  .ms-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .ms-card {
    width: 100%;
    max-height: 94vh;
    border-radius: 1.25rem 1.25rem 0 0;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

/* ── Bento special offer ── */
.section--bento {
  background: linear-gradient(180deg, var(--b50) 0%, var(--surface) 100%);
}
.bento {
  display: grid;
  gap: var(--block-gap);
  grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(7rem, auto);
  }
  .bento__card--discount { grid-column: 1 / -1; }
  .bento__card--consult { grid-column: 1 / -1; }
  .bento__card--form { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .bento__card {
    padding: 1.15rem 1.05rem;
  }
  .bento__card--discount { min-height: 0; }
  .bento__list li {
    font-size: 0.84rem;
    padding: 0.35rem 0 0.35rem 1.3rem;
  }
}
@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
  .bento__card--discount {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }
  .bento__card--consult {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
  }
  /* 2 мини-карточки: банки/суды + вся Россия */
  .bento__card--mini:nth-of-type(3) { grid-column: 4 / 6; grid-row: 2; }
  .bento__card--mini:nth-of-type(4) { grid-column: 6 / 7; grid-row: 2; }
  .bento__card--form {
    grid-column: 1 / 7;
    grid-row: 3;
  }
}
@media (min-width: 1100px) {
  .bento__card--discount { grid-column: 1 / 4; grid-row: 1 / 3; }
  .bento__card--consult { grid-column: 4 / 6; grid-row: 1 / 2; }
  .bento__card--form { grid-column: 6 / 7; grid-row: 1 / 3; }
  .bento__card--mini:nth-of-type(3) { grid-column: 4 / 5; grid-row: 2; }
  .bento__card--mini:nth-of-type(4) { grid-column: 5 / 6; grid-row: 2; }
}

.bento__card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--b100);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgb(201 162 39 / 0.35);
}
.bento__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b900);
  letter-spacing: -0.02em;
}
.bento__card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.bento__card--discount {
  background: var(--b800);
  border-color: var(--b800);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 14rem;
}
.bento__card--discount:hover {
  border-color: var(--b700);
  background: var(--b700);
  box-shadow: var(--shadow-lg);
}
.bento__card--discount .bento__text {
  color: rgb(255 255 255 / 0.85);
  margin-bottom: 1.1rem;
}
.bento__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light, #e0c15a);
}
.bento__discount-title {
  margin: 0 !important;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.15 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #fff !important;
}
.bento__discount-sub {
  margin: 0.25rem 0 0.85rem !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  color: rgb(255 255 255 / 0.9) !important;
}
.bento__discount-mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gold-light, #e0c15a);
  opacity: 0.9;
}
.bento__card--discount .hl-free {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--gold-light, #e0c15a) !important;
  filter: none !important;
  text-shadow: none !important;
}
.bento__card--consult h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}
.bento__list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}
.bento__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.88rem;
  color: var(--b700);
  font-weight: 500;
  line-height: 1.4;
  border-bottom: 1px solid var(--b50);
}
.bento__list li:last-child { border-bottom: none; }
.bento__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--gold);
  font-weight: 700;
}
.bento__icon {
  display: inline-flex;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.bento__card--form {
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bento__form-hint {
  margin-bottom: 0.85rem !important;
}
.bento-form .field { margin-bottom: 0.55rem; }
.bento-form .field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--b200);
  background: #fff;
}
.bento-form .field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(201 162 39 / 0.15);
}
.bento-form__consent {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.bento-form__consent input {
  margin-top: 0.1rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.bento-form__consent a { color: var(--b600); text-decoration: underline; }
.bento-form .form-status { margin-top: 0.65rem; }

/* ── Sticky Liquid Glass bar ── */
.sticky-glass {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-glass.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-glass__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.65);
  box-shadow: 0 12px 40px rgb(11 31 56 / 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.sticky-glass__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sticky-glass__text strong {
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  font-weight: 750;
  color: var(--b900);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sticky-glass__sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}
.sticky-glass__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.sticky-glass__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: var(--b50);
  border: 1px solid var(--b100);
  color: var(--b700);
  transition: 0.2s;
}
.sticky-glass__phone:hover {
  background: var(--b100);
  color: var(--gold-dark);
}
.sticky-glass__btn {
  padding: 0.7rem 0.95rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.sticky-glass__collapse {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--b50);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  display: none;
}
@media (max-width: 899px) {
  .sticky-glass__collapse { display: inline-flex; align-items: center; justify-content: center; }
  .sticky-glass__sub { display: none; }
  .sticky-glass.is-collapsed .sticky-glass__inner { display: none; }
  .sticky-glass.is-collapsed {
    left: auto;
    right: 0.75rem;
    width: auto;
  }
}
.sticky-glass__expand {
  display: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f6f14, #c9a227 50%, #e0c15a);
  color: #0b1f38;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgb(201 162 39 / 0.35);
  border: 1px solid rgb(255 255 255 / 0.25);
  animation: cta-gold-pulse 2.4s ease-in-out infinite;
}
.sticky-glass.is-collapsed .sticky-glass__expand { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  .sticky-glass__expand { animation: none !important; }
}
@media (min-width: 900px) {
  .sticky-glass {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    max-width: 26rem;
  }
  .sticky-glass__inner {
    padding: 0.85rem 1rem;
  }
  .sticky-glass__text strong { font-size: 0.95rem; }
}

body.modal-open .sticky-glass,
body.modal-open .sticky-cta {
  opacity: 0 !important;
  pointer-events: none !important;
}
/* отступ снизу под sticky-glass (мобилка и десктоп) */
body.has-sticky-glass .footer {
  padding-bottom: calc(2rem + 5.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body.has-sticky-glass .footer {
    padding-bottom: 3rem;
  }
}
body.has-sticky-glass .cookie-bar {
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body.has-sticky-glass .cookie-bar { bottom: 1rem; }
}

/* ── Layout rhythm + mobile frame ── */
@media (max-width: 899px) {
  /* sticky-glass: не ломает кнопки, текст обрезается */
  .sticky-glass {
    left: 0.5rem;
    right: 0.5rem;
    bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }
  .sticky-glass__inner {
    gap: 0.45rem;
    padding: 0.55rem 0.6rem;
  }
  .sticky-glass__text strong {
    font-size: 0.72rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sticky-glass__btn {
    padding: 0.6rem 0.7rem;
    font-size: 0.75rem;
  }
  .sticky-glass__phone {
    width: 2.35rem;
    height: 2.35rem;
  }

  /* схема работ — фото и шаги с ровным зазором */
  .scheme-grid { gap: 1rem; }
  .scheme-photo figcaption { padding: 1rem 1.1rem; }
  .timeline { gap: 0; }

  /* FAQ / lead strip на мобиле */
  .faq-btn { padding: 1.1rem 1.15rem; font-size: 0.92rem; }
  .faq-panel { padding: 0 1.15rem 1.15rem; font-size: 0.9rem; }

  /* consult panel */
  .consult-panel { border-radius: 1.15rem; }
}

@media (max-width: 479px) {
  :root {
    --shell: 0.9rem;
  }
  .hero__badge {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.7rem;
  }
  .section-head h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }
  .section-lead {
    font-size: 0.95rem;
  }
  .bento__discount-title {
    font-size: 1.35rem !important;
  }
  .bento__discount-sub {
    font-size: 0.95rem !important;
  }
}

/* ── Exit-intent modal ── */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-modal.is-open { display: flex; }
.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 21 37 / 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.exit-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.5rem 1.4rem;
  border-radius: 1.35rem;
  background: rgb(255 255 255 / 0.88);
  border: 1px solid rgb(255 255 255 / 0.7);
  box-shadow: 0 28px 70px rgb(6 21 37 / 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: ms-card-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh;
  overflow: auto;
}
.exit-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.35rem;
  color: var(--muted);
  background: rgb(255 255 255 / 0.55);
}
.exit-modal__close:hover { background: var(--b50); color: var(--b900); }
.exit-modal__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.exit-modal__title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--b900);
  padding-right: 1.5rem;
}
.exit-modal__sub {
  margin: 0.65rem 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.exit-modal__personal {
  margin: 0 0 0.85rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(201 162 39 / 0.1);
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.exit-form .field { margin-bottom: 0.55rem; }
.exit-form .field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--b200);
  background: #fff;
}
.exit-form .field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(201 162 39 / 0.15);
}
.exit-form .consent {
  display: flex;
  gap: 0.45rem;
  margin: 0.55rem 0 0.9rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.exit-form .consent input {
  margin-top: 0.1rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.exit-form .consent a { color: var(--b600); text-decoration: underline; }
.exit-modal__legal {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
}
.exit-success {
  text-align: center;
  padding: 0.5rem 0;
}
.exit-success h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  color: var(--b900);
}
.exit-success p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* multi-step fields inside glass card */
.ms-card .field { margin-bottom: 0.7rem; }
.ms-card .field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--b800);
}
.ms-card .field .req { color: #dc2626; }
.ms-card .field input,
.ms-card .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--b200);
  background: rgb(255 255 255 / 0.9);
  color: var(--b900);
}
.ms-card .field input:focus,
.ms-card .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(201 162 39 / 0.15);
}
.ms-card .form-status {
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
}
.ms-card .form-status.is-err {
  background: #fef2f2;
  color: #b91c1c;
}
.ms-card .form-status.is-ok {
  background: #ecfdf5;
  color: #047857;
}


/* Блок текста согласия (страница consent.html) */
.consent-block {
  margin: 1rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--b200);
  background: var(--b50);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--b800);
}
.consent-block p:first-child { margin-top: 0; }
.consent-block p:last-child { margin-bottom: 0; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

body.menu-open { overflow: hidden; }
