/* ============ Expertiza · дизайн-система (снято 1:1 с эталона Figma) ============
   Заголовки: Philosopher Bold #242731 (H1 48 / H2 38 / H3 22 / small 16.5-17)
   Текст: Rubik Regular 16 #242731; лид 18-20 #3b3f4a; muted #6B7280
   Шапка: «Бюро» Rubik Medium 19 #ED1B2F; контакты Roboto 19 #32484D; подзаг Rubik Light 11
   Кнопки: Rubik Medium. Кейс/карточки r12-r15. Тинт #fff5f5.
============================================================================ */
:root {
  --red: #ED1B2F;
  --red-d: #c8142a;
  --ink: #242731;
  --body: #3b3f4a;
  --mute: #6B7280;
  --line: #E7E9EF;
  --bg: #F7F8FA;
  --pink: #FFF5F5;
  --srv: #3B3F4A;
  --tint: #FFF5F5;
  --teal: #32484D;
  --grey-b: #849EA4;
  --white: #fff;
  --wrap: 1200px;
  --shadow: 0 4px 16px rgba(20, 23, 31, .06);
  --shadow-lg: 0 14px 36px rgba(20, 23, 31, .12);
  --font-h: "Philosopher", Georgia, serif;
  /* заголовки */
  --font-b: "Rubik", "Segoe UI", system-ui, sans-serif;
  /* текст/UI */
  --font-r: "Roboto", system-ui, sans-serif;
  /* контакты в шапке */
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  color: var(--ink)
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px
}

.muted {
  color: var(--mute)
}

.red {
  color: var(--red)
}

/* ---------- Шапка (точные стили с узла Figma) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow)
}

.hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px
}

.logo__mark {
  flex: 0 0 40px
}

.logo__mark svg {
  width: 40px;
  height: 40px;
  display: block
}

.logo__head {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 19px;
  line-height: 23px;
  color: var(--red);
  display: block
}

.logo__sub {
  font-family: var(--font-b);
  font-weight: 300;
  font-size: 11px;
  line-height: 13px;
  color: var(--teal);
  display: block
}

.hdr-mail b {
  font-family: var(--font-r);
  font-weight: 400;
  font-size: 19px;
  color: var(--teal);
  display: block;
  line-height: 1.15
}

.hdr-mail small {
  font-family: var(--font-b);
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  color: var(--teal)
}

.hdr-phone {
  text-align: right
}

.hdr-phone .phone {
  font-family: var(--font-r);
  font-weight: 500;
  font-size: 19px;
  color: var(--red);
  display: block;
  line-height: 1.15
}

.hdr-phone .zvon {
  font-family: var(--font-b);
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  color: var(--red)
}

.hdr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 8px 0
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap
}

.nav-items a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink)
}

.nav-items a:hover {
  background: #f5f5f5
}

.nav-items a.active {
  background: var(--pink);
  color: var(--red)
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px
}

.nav-cta:hover {
  background: var(--red-d)
}

/* ---------- Мега-меню ---------- */
.has-mega {
  position: relative
}

.mega {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: min(1180px, 94vw);
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .16s;
  z-index: 60
}

.has-mega:hover .mega, .mega:hover {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mega-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px
}

.mega-col h4 {
  display: flex;
  gap: 6px;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--mute);
  text-transform: uppercase;
  line-height: 1.25;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line)
}

.mega-col h4 i {
  color: var(--red);
  font-style: normal;
  font-family: var(--font-h)
}

.mega-group {
  border-bottom: 1px solid #f2f3f5;
  padding: 6px 0
}

.mega-group:last-child {
  border-bottom: 0
}

.mega-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2px 0;
  border-bottom: 0
}

.mega-item:last-child {
  border-bottom: 0
}

/* дети скрыты, раскрываются по наведению на родителя; красный треугольник-индикатор */
.mcar {
  display: inline-block;
  margin-left: 7px;
  width: 0;
  height: 0;
  border-left: 5px solid var(--red);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  vertical-align: middle;
  transition: transform .15s
}

.mega-group.has-kids:hover .mcar {
  transform: rotate(90deg)
}

.mega-kids {
  display: none;
  flex-direction: column;
  gap: 1px;
  margin-top: 6px;
  padding-left: 2px
}

.mega-group.has-kids:hover .mega-kids {
  display: flex
}

.mega-kids a {
  font-size: 12px;
  line-height: 1.32;
  color: var(--mute);
  padding: 2px 0
}

.mega-kids a:hover {
  color: var(--red)
}

.mega-sit .sh {
  position: relative
}

.mega-sit__all {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap
}

.mega-item .nm {
  display: block;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink)
}

.mega-item:hover .nm {
  color: var(--red)
}

.mega-item .pr {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  white-space: nowrap
}

/* витрина вариантов: меню показано раскрытым */
.showcase .has-mega .mega {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  width: 100%;
  margin-top: 12px;
  box-shadow: var(--shadow)
}

.tag {
  display: inline-block;
  background: var(--pink);
  color: var(--red);
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle
}

.mega-sit {
  margin-top: 18px;
  background: var(--tint);
  border: 1px solid #ffdede;
  border-radius: 12px;
  padding: 16px 18px
}

.mega-sit .sh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px
}

.mega-sit .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red)
}

.mega-sit .sh b {
  font-size: 14px;
  font-family: var(--font-b);
  font-weight: 500
}

.mega-sit .sh span {
  font-size: 13px;
  color: var(--mute)
}

.mega-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.mega-chips a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--srv)
}

.mega-chips a:hover {
  border-color: var(--red);
  color: var(--red)
}

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

.mega-foot .l {
  display: flex;
  align-items: center;
  gap: 14px
}

.mega-foot .txt {
  font-weight: 500
}

.btn-red {
  background: var(--red);
  color: #fff;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  display: inline-block
}

.btn-red:hover {
  background: var(--red-d)
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px
}

.btn-ghost:hover {
  border-color: var(--red)
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #fff 0%, var(--tint) 100%);
  border-bottom: 1px solid var(--line)
}

.hero__in {
  padding: 48px 0 52px;
  max-width: 860px
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center
}

.hero__grid.no-img {
  display: block
}

.hero__grid .hero__in {
  max-width: none;
  padding: 48px 0
}

.hero__img {
  align-self: stretch;
  min-height: 360px;
  border-radius: 20px;
  background: #0e0f14 50%/cover no-repeat;
  box-shadow: 0 20px 54px rgba(20, 22, 29, .22);
  margin: 34px 0
}

.breadcrumb {
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--grey-b);
  margin-bottom: 18px
}

.breadcrumb a:hover {
  color: var(--red)
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px
}

.hero .lead {
  font-size: 20px;
  color: var(--body);
  max-width: 760px
}

.hero .cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

/* ---------- Секции ---------- */
.section {
  padding: 44px 0
}

.section h2 {
  font-size: 38px;
  margin-bottom: 10px
}

.section .sub {
  color: var(--mute);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 720px
}

.grid {
  display: grid;
  gap: 16px
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 15px
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--pink);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px
}

ul.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px
}

ul.bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--body);
  font-size: 16px
}

ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red)
}

.qa {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  margin-bottom: 12px
}

.qa .q {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px
}

.qa .a {
  color: var(--body);
  font-size: 15px
}

.num-list {
  counter-reset: n;
  display: grid;
  gap: 14px
}

.num-list .it {
  display: flex;
  gap: 14px
}

.num-list .it .n {
  counter-increment: n;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pink);
  color: var(--red);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center
}

.num-list .it .n::before {
  content: counter(n)
}

.num-list .it .q {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 17px
}

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

.price-note {
  background: var(--tint);
  border: 1px solid #ffdede;
  border-radius: 14px;
  padding: 22px 24px
}

.price-note .from {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 30px;
  color: var(--red)
}

.price-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
  background: #fff
}

.price-table th {
  text-align: left;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mute);
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg)
}

.price-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--body)
}

.price-table tbody tr:last-child td {
  border-bottom: 0
}

.price-table td:first-child {
  font-weight: 500;
  color: var(--ink)
}

.price-table .p {
  color: var(--red);
  font-weight: 500;
  white-space: nowrap
}

.price-table tbody tr:hover {
  background: var(--tint)
}

.expert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px
}

.expert .ph {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 12px;
  object-fit: cover;
  background: #eef0f4
}

.expert .ex-i {
  min-width: 0
}

.expert .nm {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15
}

.expert .sp {
  font-size: 13px;
  color: var(--red);
  margin-top: 3px
}

.expert .ex-role {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px
}

.expert .ex-role.is-lead {
  color: var(--red);
  font-weight: 600
}

.expert.is-lead {
  border-color: rgba(237, 27, 47, .35);
  box-shadow: 0 1px 0 rgba(237, 27, 47, .06)
}

.expert .ex-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px
}

.expert .ex-chips span {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--body)
}

.expert .ex-cv {
  display: inline-block;
  margin-top: 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--red)
}

.expert .ex-cv:hover {
  text-decoration: underline
}

/* досье дела + эксперты */
.dose-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start
}

.dose-meta {
  padding: 22px 24px
}

.dose-team {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.case-meta {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px
}

.case-meta th {
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 9px 14px 9px 0;
  white-space: nowrap;
  width: 1%
}

.case-meta td {
  vertical-align: top;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.case-meta tr:last-child td {
  border-bottom: 0
}

.case-no {
  font-size: 13px;
  color: var(--red);
  font-weight: 500
}

/* итоговая консультация */
.consult {
  background: linear-gradient(120deg, var(--ink), #33384a);
  color: #fff;
  border-radius: 18px;
  padding: 30px 34px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center
}

.consult h3 {
  color: #fff;
  font-size: 23px
}

.consult p {
  margin: 8px 0 0;
  color: #c7cbd6;
  font-size: 15px
}

.consult__l {
  flex: 1 1 420px;
  min-width: 0
}

.consult__field {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap
}

.consult__field input {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px
}

.consult__field input::placeholder {
  color: #aeb4c2
}

.consult__r {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.consult__cap {
  font-size: 12px;
  color: #aeb4c2;
  text-transform: uppercase;
  letter-spacing: .06em
}

/* мессенджер-кнопки 1:1 с Figma: белая пилюля, красный кант, чёрный текст, красная иконка справа */
.msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--red);
  color: #111;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap
}

.msg:hover {
  background: var(--pink)
}

.msg .msg-ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block
}

/* Что выбрать (3 колонки, красный акцент сверху) */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.choose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 14px 14px 16px 16px;
  padding: 24px
}

/* Полные карточки экспертов (как на услугах) */
.fexp-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.fexp {
  display: grid;
  grid-template-columns: 230px 1fr 264px;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px
}

.fexp-l img {
  width: 230px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
  background: #eef0f4;
  display: block
}

.fexp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px
}

.fexp-badges span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--body)
}

.fexp-m .nm {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink)
}

.fexp-m .sp {
  color: var(--red);
  font-size: 13.5px;
  margin: 4px 0 14px
}

.fexp-lb {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 12px 0 8px
}

.fexp-ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px
}

.fexp-ul li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.4
}

.fexp-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red)
}

.fexp-r {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.fexp-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px
}

.fexp-stat b {
  font-family: var(--font-h);
  color: var(--red);
  font-size: 17px;
  margin-right: 6px
}

.fexp-stat span {
  font-size: 12.5px;
  color: var(--mute)
}

.fexp-r .btn-red {
  margin-top: 4px;
  text-align: center;
  font-size: 13.5px
}

/* FAQ аккордеон */
.faq {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff
}

.faq-i {
  border-bottom: 1px solid var(--line)
}

.faq-i:last-child {
  border-bottom: 0
}

.faq-i summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px
}

.faq-i summary::-webkit-details-marker {
  display: none
}

.faq-i summary::after {
  content: "+";
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  font-weight: 400
}

.faq-i[open] summary::after {
  content: "–"
}

.faq-a {
  padding: 0 22px 20px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.6
}

.choose-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 14px
}

.ch-row {
  margin-top: 12px
}

.ch-lb {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 3px
}

.ch-row p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5
}

/* Отзывы */
.rev-stats {
  display: flex;
  gap: 34px;
  margin-top: 16px;
  flex-wrap: wrap
}

.rev-stats b {
  font-family: var(--font-h);
  font-size: 30px;
  color: var(--red);
  display: block;
  line-height: 1
}

.rev-stats span {
  font-size: 13px;
  color: var(--mute)
}

.rev-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.rev-h b {
  font-family: var(--font-h);
  font-size: 16px;
  color: var(--ink);
  display: block
}

.rev-h span {
  font-size: 12.5px;
  color: var(--mute)
}

.rev-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.rev-meta span {
  background: var(--tint);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11.5px;
  color: var(--red)
}

.rev-task {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px
}

.rev-card p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.55
}

.rev-res {
  background: var(--soft);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--ink)
}

.rev-conf {
  font-size: 11.5px;
  color: var(--mute);
  margin-top: auto
}

/* Секции с картинкой (текст + фото) */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center
}

.split-r {
  grid-template-columns: .9fr 1.1fr
}

.sec-img {
  align-self: stretch;
  min-height: 340px;
  border-radius: 18px;
  background: #0e0f14 50%/cover no-repeat;
  box-shadow: 0 16px 44px rgba(20, 22, 29, .18)
}

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

/* Таймлайн (Наша история) */
.timeline {
  position: relative;
  padding-left: 26px;
  margin-top: 8px
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line)
}

.tl-i {
  position: relative;
  padding: 0 0 22px 22px
}

.tl-i::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red)
}

.tl-i:last-child {
  padding-bottom: 0
}

.tl-y {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--red);
  font-size: 17px;
  margin-bottom: 3px
}

.tl-t {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
  max-width: 760px
}

/* Карточки лицензий */
.lic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px
}

.lic-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px
}

.lic-h b {
  font-family: var(--font-h);
  font-size: 18px;
  color: var(--ink)
}

.lic-badge {
  background: var(--tint);
  color: var(--red);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 12px
}

.lic-t {
  width: 100%;
  border-collapse: collapse
}

.lic-t th {
  text-align: left;
  font-weight: 400;
  color: var(--mute);
  font-size: 12.5px;
  padding: 7px 14px 7px 0;
  white-space: nowrap;
  width: 1%;
  vertical-align: top
}

.lic-t td {
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.lic-t tr:last-child td {
  border-bottom: 0
}

/* Что вы получите */
.get-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px
}

.get-ic {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700
}

.get-card h3 {
  font-family: var(--font-h);
  font-size: 16.5px;
  color: var(--ink);
  margin-bottom: 5px
}

.get-card p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5
}

/* Заявка (встроенная форма) */
.appl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  background: linear-gradient(120deg, var(--ink), #33384a);
  border-radius: 20px;
  padding: 38px 40px;
  align-items: start
}

.appl-l h2 {
  color: #fff;
  font-size: 30px
}

.appl-l p {
  color: #c7cbd6;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6
}

.appl-msgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px
}

.appl-form {
  display: flex;
  flex-direction: column;
  gap: 11px
}

.appl-form input, .appl-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14px;
  font-family: inherit;
  background: #fff
}

.appl-agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #c7cbd6;
  font-size: 12.5px
}

.appl-agree a {
  color: #fff;
  text-decoration: underline
}

.appl-form .btn-red {
  margin-top: 4px
}

/* Частые ошибки */
.err-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px
}

.err-x {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700
}

.err-card p {
  font-size: 14px;
  color: var(--body)
}

/* CTA-трио */
.cta-trio {
  background: linear-gradient(120deg, var(--ink), #33384a);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap
}

.cta-trio h3 {
  color: #fff;
  font-size: 24px
}

.cta-trio p {
  color: #c7cbd6;
  margin-top: 8px;
  font-size: 15px;
  max-width: 520px
}

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

.cta-trio__b .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3)
}

/* карточки «Кому нужна» (иконка + заголовок + описание), 1:1 с Figma */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.aud-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px
}

.aud-ic {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px
}

.aud-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  margin-bottom: 8px
}

.aud-card p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chips a, .chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13.5px
}

.chips a:hover {
  border-color: var(--red);
  color: var(--red)
}

.cta-band {
  background: linear-gradient(120deg, var(--ink), #33384a);
  color: #fff;
  border-radius: 18px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.cta-band h3 {
  font-size: 26px;
  color: #fff
}

.cta-band p {
  margin: 6px 0 0;
  color: #c7cbd6;
  font-size: 15px
}


<style>.s01-wrap {
  padding: 0
}

.s01-stage {
  display: grid;
  grid-template-columns: 50px 345px 215px 550px 45px;
  grid-template-rows: 594px
}

.s01-photo {
  grid-column: 3/5;
  grid-row: 1;
  width: 100%;
  height: 594px;
  object-fit: cover;
  border-radius: 16px
}

.s01-card {
  grid-column: 2/4;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 50px;
  min-height: 494px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .8);
  border-radius: 32px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px
}

.s01-h1 {
  width: auto;
  font-size: 38px;
  line-height: 43px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  overflow-wrap: break-word
}

.s01-text {
  width: auto;
  height: auto;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 27px;
  color: #464749
}

.s01-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 495px;
  min-height: 60px;
  padding: 12px 16px;
  box-sizing: border-box;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-align: center
}

@media(max-width:1439px) {
  .s01-h1 {
    font-size: 34px;
    line-height: 39px
  }
}

.s01-btn:hover {
  background: var(--red-d)
}

@media(max-width:1199px) {
  .s01-wrap {
    padding: 0 24px
  }

  .s01-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto
  }

  .s01-photo {
    grid-column: 1;
    grid-row: 1;
    height: 420px
  }

  .s01-card {
    grid-column: 1;
    grid-row: 1;
    margin: 24px;
    min-height: 0;
    height: auto;
    padding: 24px
  }

  .s01-h1, .s01-text, .s01-btn {
    width: auto;
    max-width: 100%
  }

  .s01-h1 {
    font-size: 36px;
    line-height: 1.14
  }

  .s01-text {
    height: auto
  }
}

@media(max-width:1199px) {
  .s01-stage {
    grid-template-columns: minmax(0, 1fr)
  }

  .s01-photo, .s01-card {
    min-width: 0
  }

  .s01-btn {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 12px 16px
  }
}

@media(max-width:600px) {
  .s01-card {
    margin: 16px;
    padding: 20px
  }

  .s01-h1 {
    font-size: 28px;
    line-height: 1.15
  }

  .s01-btn {
    font-size: 17px
  }
}

.s02 {
  padding: 8px 0
}

.s02-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap
}

.s02-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 360px;
  min-height: 86px;
  padding: 16px 20px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: var(--ink)
}

.s02-card:hover {
  border-color: var(--red)
}

.s02-ic {
  flex: 0 0 auto;
  display: block
}

.s03 {
  padding: 4px 0
}

.s03-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1098px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px
}

.s03-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  line-height: 18px;
  color: var(--mute)
}

.s03-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red)
}

.s04-card {
  max-width: 1110px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ccd4e0;
  border-radius: 32px;
  padding: 65px 33px 34px;
  display: grid;
  grid-template-columns: 482px 1fr;
  gap: 30px
}

.s04-content {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.s04-h2 {
  font-size: 38px;
  line-height: 45px;
  margin: 0;
  max-width: 380px
}

.s04-content p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 27px;
  color: #464749
}

.s04-content p:first-of-type {
  margin-top: 4px
}

.s04-cloud {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px
}

.s04-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  padding: 10px 14px;
  white-space: nowrap
}

.s04-tag:hover {
  background: var(--red-d)
}

.s04-f17 {
  font-size: 17px
}

.s04-f20 {
  font-size: 20px
}

.s04-f24 {
  font-size: 24px;
  line-height: 28px;
  padding: 8px 14px
}

@media(max-width:1023px) {
  .s04-card {
    grid-template-columns: 1fr;
    padding: 32px 24px
  }

  .s04-h2 {
    max-width: none
  }

  .s04-tag {
    white-space: normal
  }
}

.s05 {
  padding: 32px 0 0
}

.s05-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  max-width: 100%;
  height: 60px;
  margin: 0 auto;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-align: center
}

.s05-btn:hover {
  background: var(--red-d)
}

.s06-in {
  max-width: 1110px;
  margin: 0 auto
}


.s06-h2 {
  font-size: 38px;
  line-height: 45px;
  margin: 0 0 32px
}

.s06-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px
}

.s06-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 148px;
  padding: 21px 16px;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 27.5px;
  color: var(--ink);
  text-decoration: none
}

.s06-card img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto
}

.s06-card:hover {
  border-color: var(--red);
  color: var(--red)
}

@media(max-width:1023px) {
  .s06-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
  }

  .s06-card {
    height: auto
  }
}

.s07 {
  background: #fff;
  padding: 32px 0
}

.s07 .wrap {
  padding: 0 45px
}

.s07-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start
}

.s07-img {
  flex: 0 0 540px;
  width: 540px;
  height: 475px;
  border-radius: 32px;
  overflow: hidden
}

.s07-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.s07-inner {
  flex: 1 1 540px;
  min-width: 0;
  padding-top: 23px
}

.s07-title {
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0 0 20px
}

.s07-p {
  font-size: 16px;
  line-height: 1.7;
  color: #464749;
  margin: 0 0 20px
}

.s07-p:last-child {
  margin-bottom: 0
}

@media(max-width:1023px) {
  .s07 .wrap {
    padding: 0 24px
  }

  .s07-wrap {
    flex-direction: column;
    gap: 20px
  }

  .s07-img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 540/475
  }

  .s07-inner {
    padding-top: 0;
    flex-basis: auto
  }

  .s07-title {
    font-size: 30px;
    line-height: 1.2
  }
}

.s08 {
  background: #fff;
  padding: 0
}

.s08 .wrap {
  padding: 0 45px
}

.s08-inner {
  border: 1px solid #ccd4e0;
  padding: 20px 20px 20px
}

.s08-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 32px;
  line-height: 34px;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 760px
}

.s08-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.s08-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

.s08-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red)
}

.s09 {
  background: #fff;
  padding: 32px 0 0
}

.s09 .wrap {
  padding: 0 45px
}

.s09-title {
  font-size: 38px;
  line-height: 45px;
  text-align: center;
  color: var(--ink);
  margin: 0 0 32px
}

.s09-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.s09-item {
  position: relative;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  min-height: 84px;
  padding: 14px 24px 14px 66px;
  font-size: 16px;
  line-height: 27px;
  color: #464749;
  overflow: hidden
}

.s09-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  background: #f5f0ec
}

.s09-item--wide {
  grid-column: 1 / -1
}

@media(max-width:600px) {
  .s09-list {
    grid-template-columns: 1fr;
    gap: 14px
  }
}

.s10 {
  background: #fff;
  padding: 46px 0 0
}

.s10 .wrap {
  padding: 0 45px
}

.s10-wrap {
  display: flex;
  align-items: flex-start
}

.s10-img {
  flex: 0 0 730px;
  width: 730px;
  height: 607px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 48px 8px rgba(214, 170, 190, .28)
}

.s10-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.s10-inner {
  flex: 0 0 633px;
  width: 633px;
  margin-left: -253px;
  margin-top: 25px;
  position: relative;
  background: rgba(255, 255, 255, .8);
  border-radius: 16px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.s10-title {
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0
}

.s10-p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0
}

.s10-quote {
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  padding-left: 14px
}

.s10-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 2px;
  border-radius: 2px;
  background: var(--red)
}

@media(max-width:1023px) {
  .s10 .wrap {
    padding: 0 24px
  }

  .s10-wrap {
    flex-direction: column
  }

  .s10-img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 730/607
  }

  .s10-inner {
    flex: 0 0 auto;
    width: auto;
    margin: -40px 12px 0;
    padding: 20px
  }

  .s10-title {
    font-size: 30px;
    line-height: 1.2
  }
}

.s11 {
  background: #fff;
  padding: 24px 0
}

.s11-wrap {
  display: flex;
  justify-content: center
}

.s11-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  max-width: 100%;
  height: 60px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center
}

.s11-btn:hover {
  background: var(--red-d)
}

.s12 {
  background: #fff;
  padding: 0
}

.s12 .wrap {
  padding: 0 45px
}

.s12-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.s12-inner {
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 20px 20px 20px
}

.s12-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0 0 20px
}

.s12-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.s12-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

.s12-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red)
}

.s12-info {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 20px 20px;
  margin: 0;
  font-size: 16px;
  line-height: 16px;
  color: #000
}

.s12-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 4px
}

.s13-inner {
  max-width: 1110px;
  margin: 0 auto;
  background: #f5f5f5;
  border-radius: 32px;
  padding: 64px 10px 32px
}

.s13-title {
  font-size: 38px;
  line-height: 45px;
  text-align: center;
  color: var(--ink);
  margin: 0 0 32px
}

.s13-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  align-items: stretch
}

.s13-item {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.s13-head {
  display: flex;
  flex-direction: column;
  gap: 15.5px
}

.s13-ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block
}

.s13-h {
  font-size: 22px;
  line-height: 20px;
  color: var(--ink);
  margin: 0
}

.s13-p {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.7;
  color: #464749
}

@media(max-width:1023px) {
  .s13-list {
    flex-wrap: wrap
  }

  .s13-item {
    flex: 1 1 calc(50% - 10px)
  }
}

@media(max-width:600px) {
  .s13-inner {
    padding: 40px 12px 24px;
    border-radius: 20px
  }

  .s13-title {
    font-size: 30px;
    line-height: 1.15
  }

  .s13-item {
    flex: 1 1 100%
  }
}

.s14 {
  padding: 32px 0 0
}

.s14-inner {
  max-width: 1110px;
  margin: 0 auto
}

.s14-title {
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0 0 16px
}

.s14-lead {
  margin: 0 0 16px;
  max-width: 780px;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

.s14-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 8px
}

.s14-card {
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.s14-card--grad {
  background: linear-gradient(135deg, #ffffff 0%, #f3f5f8 100%)
}

.s14-h {
  font-size: 22px;
  line-height: 20px;
  color: var(--ink);
  margin: 0
}

.s14-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.s14-methods li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px 18px 16px;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 25px;
  color: var(--ink)
}

.s14-p {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

@media(max-width:900px) {
  .s14-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .s14-title {
    font-size: 30px;
    line-height: 1.15
  }

  .s14-methods {
    grid-template-columns: 1fr
  }

  .s14-card {
    padding: 18px;
    border-radius: 16px
  }
}

.s15 {
  padding: 37px 0
}

.s15-card {
  max-width: 1116px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(36, 39, 49, .06);
  padding: 40px 43px 40px 44px;
  display: flex;
  align-items: center;
  gap: 41px
}

.s15-l {
  flex: 1 1 595px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16.7px
}

.s15-kicker {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 12.1px;
  line-height: 14px;
  letter-spacing: .02em;
  color: var(--red)
}

.s15-title {
  font-size: 29.8px;
  line-height: 33px;
  color: var(--ink);
  margin: 0
}

.s15-desc {
  margin: 0;
  font-family: var(--font-b);
  font-size: 14.9px;
  line-height: 18px;
  color: var(--mute)
}

.s15-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  width: 100%
}

.s15-li {
  flex: 0 0 286px;
  max-width: 286px;
  display: flex;
  gap: 9.3px;
  font-family: var(--font-b);
  font-size: 13.95px;
  line-height: 17px;
  color: #3b404d
}

.s15-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 7px
}

.s15-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 11px;
  padding: 13px 23px 13px 22px;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 13.95px;
  line-height: 17px;
  text-decoration: none
}

.s15-btn:hover {
  background: var(--red-d)
}

.s15-r {
  flex: 0 0 391px;
  width: 391px;
  display: flex;
  flex-direction: column;
  gap: 13px
}

.s15-art {
  position: relative;
  width: 391px;
  height: 232px;
  overflow: hidden
}

.s15-art img {
  position: absolute;
  display: block
}

.s15-pdf {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  box-sizing: border-box;
  padding: 12px 12px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 11px;
  text-decoration: none;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 13px;
  line-height: 15px;
  color: var(--ink)
}

.s15-pdf:hover {
  border-color: var(--red)
}

.s15-badge {
  flex: 0 0 39px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 6.5px;
  font-weight: 500;
  font-size: 11.2px;
  line-height: 13px
}

@media(max-width:1023px) {
  .s15-card {
    flex-direction: column;
    align-items: stretch;
    padding: 28px
  }

  .s15-r {
    width: 100%;
    flex-basis: auto
  }

  .s15-art {
    width: 100%
  }
}

@media(max-width:600px) {
  .s15 {
    padding: 24px 0
  }

  .s15-card {
    padding: 20px;
    border-radius: 16px
  }

  .s15-li {
    flex-basis: 100%;
    max-width: none
  }

  .s15-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center
  }
}

.s16 {
  padding: 32px 0 0;
  overflow: hidden
}

.s16-inner {
  max-width: 1110px;
  margin: 0 auto
}

.s16-title {
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0 0 32px
}

.s16-list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 30px;
  counter-reset: s16
}

.s16-item {
  position: relative;
  display: flex;
  flex-direction: column
}

.s16-h {
  margin: 0;
  padding: 21px 0;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: var(--ink)
}

.s16-track {
  position: relative;
  display: block;
  height: 39px
}

.s16-track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  z-index: 2
}

.s16-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: -30px;
  top: 17px;
  height: 2px;
  border-radius: 2px;
  background: #849ea4;
  z-index: 1
}

.s16-item:nth-child(3) .s16-track::after {
  right: -2000px
}

.s16-item:nth-child(4) .s16-track::after {
  left: -2000px
}

.s16-item:nth-child(6) .s16-track::after {
  right: 0
}

.s16-p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #464749
}

@media(max-width:900px) {
  .s16-list {
    grid-template-columns: 1fr 1fr
  }

  .s16-item .s16-track::after {
    right: -30px;
    left: 0
  }

  .s16-item:nth-child(2n) .s16-track::after {
    right: -2000px
  }

  .s16-item:nth-child(2n+1) .s16-track::after {
    left: -2000px
  }

  .s16-item:nth-child(6) .s16-track::after {
    right: 0
  }
}

@media(max-width:600px) {
  .s16-title {
    font-size: 30px;
    line-height: 1.15
  }

  .s16-list {
    grid-template-columns: 1fr;
    row-gap: 16px
  }

  .s16-item .s16-track::after {
    left: 0;
    right: 0
  }
}

.s17 {
  padding: 32px 0 0;
  text-align: center
}

.s17-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  max-width: 100%;
  height: 60px;
  box-sizing: border-box;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-decoration: none
}

.s17-btn:hover {
  background: var(--red-d)
}

.s18 .wrap {
  padding: 0
}

.s18-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 40px 45px;
  min-height: 589px;
  box-sizing: border-box
}

.s18-img {
  position: absolute;
  right: 45px;
  top: 0;
  width: 540px;
  height: 589px;
  object-fit: cover;
  border-radius: 16px;
  display: block
}

.s18-card {
  position: relative;
  z-index: 1;
  width: 920px;
  max-width: 100%;
  min-height: 509px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 32px;
  overflow: hidden
}

.s18-title {
  font-size: 38px;
  line-height: 45px;
  color: var(--ink);
  margin: 0 0 32px
}

.s18-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px
}

.s18-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px
}

.s18-chk {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f0ec
}

.s18-chk::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid #e84c4c;
  border-bottom: 1.5px solid #e84c4c;
  transform: rotate(-45deg)
}

.s18-t {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

.s18-rh {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66px;
  height: 85px;
  pointer-events: none
}

.s18-rh img {
  position: absolute;
  display: block
}

@media(max-width:1100px) {
  .s18-inner {
    padding: 24px 24px
  }

  .s18-img {
    position: static;
    width: 100%;
    height: auto;
    max-height: 420px;
    margin-top: 16px
  }

  .s18-card {
    width: 100%;
    min-height: 0
  }
}

@media(max-width:600px) {
  .s18-title {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 20px
  }

  .s18-card {
    padding: 20px
  }

  .s18-item {
    align-items: flex-start
  }
}

.s19-cta {
  padding: 32px 0;
  background: #fff;
  text-align: center
}

.s19-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  max-width: 100%;
  height: 60px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2
}

.s19-btn:hover {
  background: var(--red-d)
}

.s20-prices {
  padding: 0;
  background: #fff
}

.s20-title {
  font-size: 38px;
  line-height: 45px;
  margin: 0 0 16px;
  color: var(--ink)
}

.s20-lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink)
}

.s20-link {
  color: var(--ink);
  text-decoration: none
}

.s20-link:hover {
  color: var(--red)
}

.s20-table {
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden
}

.s20-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 16px 15px;
  border-bottom: 1px solid #ccd4e0;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink)
}

.s20-row:last-child {
  border-bottom: 0
}

.s20-head {
  font-weight: 600
}

.s20-group {
  background: #f6f7fa;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 10px 16px
}

.s20-name {
  flex: 1 1 398px;
  min-width: 0
}

.s20-name a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #ccd4e0
}

.s20-name a:hover {
  color: var(--red);
  border-color: var(--red)
}

.s20-start {
  flex: 0 0 120px;
  color: var(--red);
  font-weight: 600
}

.s20-head .s20-start {
  color: var(--ink)
}

.s20-budget {
  flex: 0 0 172px;
  white-space: nowrap
}

.s20-note {
  flex: 0 0 326px;
  font-size: 14px;
  line-height: 20px;
  color: #464749;
  padding-top: 1px
}

.s20-head .s20-note {
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
  padding-top: 0
}

.s20-foot {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #464749
}

@media(max-width:900px) {
  .s20-row {
    flex-wrap: wrap
  }

  .s20-name {
    flex-basis: 100%
  }

  .s20-note {
    flex-basis: 100%
  }
}

.s21-offers {
  padding: 32px 0 0;
  background: #fff
}

.s21-title {
  font-size: 38px;
  line-height: 45px;
  margin: 0 0 32px;
  color: var(--ink)
}

.s21-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px
}

.s21-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 30px
}

.s21-label {
  margin: 0 0 16px
}

.s21-label span {
  display: inline-block;
  background: #ffeded;
  color: var(--red);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600
}

.s21-h3 {
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 8px;
  color: var(--ink)
}

.s21-text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #464749;
  flex: 1 1 auto
}

.s21-more {
  color: var(--red);
  font-size: 16px;
  line-height: 16px;
  font-weight: 700
}

.s21-more:hover {
  text-decoration: underline
}

@media(max-width:900px) {
  .s21-list {
    grid-template-columns: 1fr
  }
}

.s23-faq {
  padding: 0;
  background: #fff
}

.s23-inner {
  background: #f5f5f5;
  border-radius: 32px;
  padding: 67px 30px 30px
}

.s23-title {
  font-size: 38px;
  line-height: 45px;
  margin: 0 0 40px;
  color: var(--ink)
}

.s23-list {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.s23-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden
}

.s23-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 16px;
  cursor: pointer;
  list-style: none
}

.s23-q::-webkit-details-marker {
  display: none
}

.s23-h3 {
  font-size: 24px;
  line-height: 32px;
  margin: 0;
  color: var(--ink);
  font-weight: 700
}

.s23-ic {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffeded;
  display: flex;
  align-items: center;
  justify-content: center
}

.s23-ic svg {
  display: block;
  transition: transform .2s
}

.s23-item:not([open]) .s23-ic svg {
  transform: rotate(180deg)
}

.s23-a {
  border-top: 1px solid #ccd4e0;
  padding: 17px 16px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink)
}

.s23-a p {
  margin: 0
}

.s23-ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.s23-ul li {
  position: relative;
  padding-left: 11px;
  line-height: 24px
}

.s23-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink)
}

.s23-a p+.s23-ul {
  margin-top: 1px
}

@media(max-width:700px) {
  .s23-inner {
    padding: 32px 16px 16px;
    border-radius: 20px
  }

  .s23-h3 {
    font-size: 20px;
    line-height: 26px
  }
}

.s25 {
  padding: 0
}

.s25-wrap {
  padding: 0
}

.s25-head {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 28px
}

.s25-ico {
  flex: 0 0 159px;
  width: 159px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center
}

.s25-bubble {
  position: relative;
  width: 154px;
  height: 151px;
  border-radius: 28px;
  background: #fededc;
  display: block
}

.s25-bubble::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 25px;
  width: 102px;
  height: 101px;
  border-radius: 50%;
  background: #dc1d29
}

.s25-bubble::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 108px;
  width: 26px;
  height: 26px;
  background: #dc1d29;
  border-radius: 4px;
  transform: rotate(20deg) skewX(20deg)
}

.s25-q {
  position: absolute;
  left: 61px;
  top: 26px;
  width: 31px;
  height: 35px;
  z-index: 1
}

.s25-dot {
  position: absolute;
  left: 71px;
  top: 66px;
  width: 10px;
  height: 10px;
  z-index: 1
}

.s25-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.s25-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  line-height: 1.15;
  letter-spacing: .02em
}

.s25-h2 {
  font-size: 32px;
  line-height: 1.14
}

.s25-sub {
  margin: 0;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.22;
  max-width: 690px
}

.s25-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.s25-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: #3b404d;
  line-height: 1.2;
  white-space: nowrap
}

.s25-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block
}

.s25-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 0 24px;
  height: 58px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap
}

.s25-btn b {
  font-weight: 500;
  font-size: 24px;
  line-height: 1
}

.s25-btn:hover {
  background: var(--red-d)
}

.s25-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px
}

.s25-topic {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3b404d;
  line-height: 1.2;
  white-space: nowrap
}

.s25-topic:hover {
  border-color: var(--red);
  color: var(--red)
}

@media(max-width:900px) {
  .s25-head {
    flex-wrap: wrap
  }

  .s25-ico {
    flex-basis: 120px
  }

  .s25-bubble {
    transform: scale(.78);
    transform-origin: 0 0
  }
}

.s25-qicon {
  display: block;
  width: 159px;
  height: 158px;
  max-width: 100%
}

@media(max-width:1023px) {
  .s25-qicon {
    width: 120px;
    height: auto
  }
}

.s26 {
  padding: 0
}

.s26-wrap {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px
}

.s26-h2 {
  font-size: 38px;
  line-height: 1.14
}

.s26-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px
}

.s26-ht {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 731px
}

.s26-sub {
  margin: 0;
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.18
}

.s26-stats {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  flex: 0 0 auto
}

.s26-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center
}

.s26-stat b {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.14;
  color: var(--red)
}

.s26-stat span {
  font-size: 12px;
  line-height: 1.2;
  color: var(--mute);
  white-space: nowrap
}

.s26-stat--w {
  background: #fff;
  padding: 16px 22px 14px;
  align-self: flex-start
}

.s26-stat--w b {
  font-size: 26px
}

.s26-stat--w span {
  font-size: 12.5px
}

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

.s26-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.s26-rhead {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff4f4;
  padding: 18px 20px
}

.s26-ava {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #ffeded;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: var(--red)
}

.s26-who {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.s26-who b {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.1;
  color: var(--ink)
}

.s26-who span {
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--mute)
}

.s26-rate {
  flex: 0 0 86px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px
}

.s26-rate>span {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mute)
}

.s26-stars {
  display: flex;
  gap: 5px
}

.s26-stars img {
  width: 13px;
  height: 13px;
  display: block
}

.s26-rbody {
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto
}

.s26-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.s26-tag {
  display: inline-block;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: #3b404d;
  white-space: nowrap
}

.s26-tag--sm {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 11px
}

.s26-rtext {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.66;
  color: #3b404d;
  flex: 1 1 auto
}

.s26-result {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f7f8fa;
  border-radius: 10px;
  padding: 12px 14px
}

.s26-result i {
  flex: 0 0 3px;
  width: 3px;
  height: 30px;
  border-radius: 2px;
  background: var(--red)
}

.s26-result div {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.s26-result span {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--mute);
  letter-spacing: .04em
}

.s26-result b {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink)
}

.s26-proof {
  align-self: flex-start;
  display: inline-block;
  background: #ffeded;
  color: var(--red);
  border-radius: 14px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2
}

.s26-trust {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.s26-thead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px
}

.s26-tht {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 1007px
}

.s26-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  line-height: 1.15;
  letter-spacing: .02em
}

.s26-tsub {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.2
}

.s26-hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  width: 100%
}

.s26-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.s26-logo {
  width: 180px;
  height: 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto
}

.s26-logo img {
  width: 140px;
  height: 46px;
  object-fit: contain;
  display: block
}

.s26-note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.15;
  color: var(--mute)
}

.s26-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 6px
}

.s26-docs {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.s26-dhead {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 18px 26px 28px
}

.s26-dico {
  flex: 0 0 168px;
  width: 168px;
  height: 170px;
  position: relative
}

.s26-dico::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 156px;
  height: 156px;
  border-radius: 30px;
  background: #ffcfcd
}

.s26-dico::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 37px;
  width: 104px;
  height: 104px;
  border-radius: 12px;
  background: #fefefe
}

.s26-sheet {
  position: absolute;
  left: 52px;
  top: 37px;
  width: 75px;
  height: 84px;
  background: #fee6e4;
  border-radius: 0 0 6px 6px;
  z-index: 1;
  padding: 29px 0 0 7px;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.s26-sheet i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #ffcfcd
}

.s26-corner {
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 16px
}

.s26-seal, .s26-seal-in, .s26-seal-ok, .s26-seal-rib, .s26-seal-rib2 {
  position: absolute;
  z-index: 2;
  display: block
}

.s26-seal-rib {
  left: 91px;
  top: 112px;
  width: 35px;
  height: 23px
}

.s26-seal-rib2 {
  left: 85px;
  top: 115px;
  width: 20px;
  height: 20px
}

.s26-seal {
  left: 83px;
  top: 72px;
  width: 46px;
  height: 46px
}

.s26-seal-in {
  left: 88px;
  top: 77px;
  width: 36px;
  height: 36px
}

.s26-seal-ok {
  left: 96px;
  top: 87px;
  width: 21px;
  height: 16px;
  z-index: 3
}

.s26-dtxt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.s26-dh2 {
  font-size: 34px;
  line-height: 1.12
}

.s26-dsub {
  margin: 0;
  color: var(--mute);
  font-size: 15.8px;
  line-height: 1.2
}

.s26-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.s26-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12.3px;
  font-weight: 500;
  color: #3b404d;
  line-height: 1.2;
  white-space: nowrap
}

.s26-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block
}

.s26-dbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 0 4px 0 2px;
  height: 52px;
  font-size: 14.8px;
  font-weight: 500;
  white-space: nowrap
}

.s26-dbtn b {
  font-weight: 500;
  font-size: 20px;
  line-height: 1
}

.s26-dbtn:hover {
  background: var(--red-d)
}

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

.s26-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px 14px 24px;
  text-align: center
}

.s26-doc:hover {
  border-color: var(--red)
}

.s26-thumb {
  width: 79px;
  height: 103px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start
}

.s26-thumb i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--line)
}

.s26-thumb .s26-th-t {
  width: 59px;
  height: 9px;
  background: var(--red)
}

.s26-thumb b {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffeded;
  border: 1.4px solid var(--red);
  box-sizing: border-box
}

.s26-dname {
  font-size: 13.8px;
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink);
  min-height: 32px;
  display: flex;
  align-items: center
}

.s26-dl {
  color: var(--red);
  font-size: 13.8px;
  font-weight: 500;
  line-height: 1.16
}

.s26-dl b {
  font-weight: 500;
  margin-left: 2px
}

@media(max-width:1000px) {
  .s26-reviews {
    grid-template-columns: 1fr
  }

  .s26-dgrid {
    grid-template-columns: 1fr 1fr
  }

  .s26-head {
    flex-wrap: wrap
  }

  .s26-dhead {
    flex-wrap: wrap
  }
}

@media(max-width:600px) {
  .s26-dgrid {
    grid-template-columns: 1fr
  }

  .s26-wrap {
    padding: 0 24px
  }

  .s26-h2, .s26-dh2 {
    font-size: 30px
  }

  .s26-trust {
    padding: 20px
  }

  .s26-thead {
    flex-direction: column
  }
}

@media(max-width:760px) {
  .s26-stats {
    flex-wrap: wrap;
    flex: 1 1 100%;
    width: 100%
  }

  .s26-stat {
    flex: 1 1 calc(50% - 6px)
  }

  .s26-stat span {
    white-space: normal
  }
}

.s27 {
  padding: 0
}

.s27-wrap {
  padding: 0
}

.s27-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 26px
}

.s27-decor {
  position: absolute;
  left: 640px;
  top: -249px;
  width: 820px;
  height: 1356px;
  pointer-events: none;
  z-index: 0
}

.s27-decor path {
  vector-effect: non-scaling-stroke
}

.s27-card>:not(.s27-decor) {
  position: relative;
  z-index: 1
}

.s27-head {
  display: flex;
  align-items: flex-start;
  gap: 20px
}

.s27-ht {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.s27-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: .04em;
  line-height: 1.4
}

.s27-h2 {
  font-size: 32px;
  line-height: 1.4
}

.s27-sub {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.4
}

.s27-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 0 26px;
  height: 49px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 13, 15, .08)
}

.s27-all b {
  font-weight: 500;
  color: var(--red)
}

.s27-all:hover {
  border-color: var(--red)
}

.s27-viewport {
  overflow: hidden
}

.s27-track {
  display: flex;
  gap: 24px
}

.s27-case {
  flex: 0 0 330px;
  width: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(20, 23, 31, .06)
}

.s27-img {
  position: relative;
  display: block;
  height: 168px
}

.s27-img img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block
}

.s27-theme {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap
}

.s27-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 9px
}

.s27-top {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.s27-meta {
  display: flex;
  align-items: center;
  gap: 8px
}

.s27-type, .s27-year {
  display: inline-block;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap
}

.s27-type--court {
  background: var(--red);
  color: #fff
}

.s27-type--presud {
  background: var(--ink);
  color: #fff
}

.s27-type--review, .s27-type--consult {
  background: #fff;
  color: var(--red);
  border: 1.2px solid var(--red);
  padding: 5px 10px
}

.s27-year {
  background: #ffeded;
  color: var(--red);
  padding: 6px 10px
}

.s27-title {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700
}

.s27-obj {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mute)
}

.s27-problem {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--body)
}

.s27-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 24px
}

.s27-more b {
  font-weight: 500
}

.s27-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px
}

.s27-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(26, 13, 15, .12);
  padding: 0
}

.s27-arrow--on {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

.s27-dots {
  display: flex;
  align-items: center;
  gap: 8px
}

.s27-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6d9e0
}

.s27-dots i.is-on {
  width: 24px;
  background: var(--red)
}

.s27-foot {
  display: flex;
  justify-content: center
}

.s27-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 11px;
  padding: 0 26px;
  height: 49px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 16px rgba(26, 13, 15, .12)
}

.s27-btn b {
  font-weight: 500
}

.s27-btn:hover {
  background: var(--red-d)
}

@media(max-width:900px) {
  .s27-card {
    padding: 24px;
    border-radius: 16px
  }

  .s27-head {
    flex-direction: column
  }

  .s27-viewport {
    overflow-x: auto
  }

  .s27-case {
    flex-basis: 290px;
    width: 290px
  }

  .s27-nav {
    display: none
  }
}

@media(max-width:600px) {
  .s27-case {
    flex: 0 0 100%;
    width: 100%
  }

  .s27-track {
    gap: 16px
  }
}

.s28 {
  padding: 32px 0 0
}

.s28-wrap {
  padding: 0 45px
}

.s28-h2 {
  font-size: 38px;
  line-height: 1.18;
  margin: 0 0 16px
}

.s28-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px
}

.s28-card {
  display: flex;
  flex-direction: column
}

.s28-pic {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 11px
}

.s28-pic img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block
}

.s28-title {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px
}

.s28-title:hover {
  color: var(--red)
}

.s28-text {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  color: #858a8f
}

.s28-date {
  font-family: var(--font-r);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  color: #2e3a4c
}

@media(max-width:900px) {
  .s28-list {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .s28-list {
    grid-template-columns: 1fr
  }

  .s28-wrap {
    padding: 0 24px
  }

  .s28-h2 {
    font-size: 30px
  }
}


.s29 {
  padding: 32px 0 24px
}

.s29-wrap {
  padding: 0 45px;
  display: flex;
  align-items: flex-start;
  position: relative
}

.s29-photo {
  margin: 0;
  flex: 0 0 730px;
  width: 730px;
  max-width: 100%;
  position: relative
}

.s29-photo img {
  width: 730px;
  max-width: 100%;
  height: 656px;
  object-fit: cover;
  border-radius: 16px;
  display: block
}

.s29-cap {
  margin: 132px 0 0;
  font-size: 16px;
  line-height: 1.25;
  color: #7b82a4
}

.s29-panel {
  flex: 0 0 540px;
  width: 540px;
  margin-left: -160px;
  margin-top: 21px;
  background: rgba(255, 255, 255, .8);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(2px)
}

.s29-h2 {
  font-size: 38px;
  line-height: 1.18;
  margin: 0 0 7px
}

.s29-sub {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.75;
  color: #000
}

.s29-form {
  display: flex;
  flex-direction: column
}

.s29-field {
  position: relative;
  display: block;
  margin-bottom: 22px
}

.s29-fico {
  position: absolute;
  left: 11px;
  top: 9px;
  width: 40px;
  height: 40px;
  pointer-events: none
}

.s29-field input, .s29-field textarea {
  display: block;
  width: 100%;
  height: 58px;
  border: 1px solid #ccd4e0;
  background: #f6faff;
  border-radius: 8px;
  padding: 0 10px 0 60px;
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--ink);
  outline: none
}

.s29-field input::placeholder, .s29-field textarea::placeholder {
  color: #849ea4
}

.s29-field input:focus, .s29-field textarea:focus {
  border-color: var(--red)
}

.s29-field--area {
  margin-bottom: 21px
}

.s29-field--area textarea {
  height: 98px;
  padding: 21px 10px 10px 60px;
  resize: none;
  line-height: 1.2
}

.s29-field--area .s29-fico {
  left: 9px
}

.s29-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  color: #000;
  cursor: pointer;
  margin-bottom: 20px
}

.s29-privacy input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.s29-box {
  width: 24px;
  height: 24px;
  border: 1px solid #ccd4e0;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px
}

.s29-box img {
  width: 24px;
  height: 24px;
  opacity: 0
}

.s29-privacy input:checked+.s29-box {
  background: var(--red);
  border-color: var(--red)
}

.s29-privacy input:checked+.s29-box img {
  opacity: 1
}

.s29-privacy a {
  color: var(--red)
}

.s29-submit {
  display: block;
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer
}

.s29-submit:hover {
  background: var(--red-d)
}

.s29-recaptcha {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--font-r);
  font-size: 12px;
  line-height: 1.33;
  color: #898989;
  padding: 0 40px
}

.s29-recaptcha a {
  color: var(--red)
}

.s29-msgs {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: nowrap
}

.s29-msg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  padding: 0 15px 0 19px;
  border: 1px solid var(--red);
  border-radius: 100px;
  background: #fff;
  color: #000;
  font-family: var(--font-r);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap
}

.s29-msg:hover {
  background: #fff5f5
}

@media(max-width:1100px) {
  .s29-wrap {
    flex-direction: column;
    padding: 0 24px
  }

  .s29-photo {
    flex-basis: auto;
    width: 100%
  }

  .s29-photo img {
    width: 100%;
    height: auto
  }

  .s29-cap {
    margin-top: 12px
  }

  .s29-panel {
    flex-basis: auto;
    width: 100%;
    margin: 16px 0 0;
    background: #fff;
    border: 1px solid var(--line)
  }

  .s29-msgs {
    flex-wrap: wrap
  }
}

/* Зазоры между секциями главной по кадру Figma 303:547 (32px между кадрами + внутренние отступы). Замер 02.09, см. память. */
.main-page > .page__main > section:nth-of-type(2) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(3) {
  margin-top: 35px
}

.main-page > .page__main > section:nth-of-type(4) {
  margin-top: 33px
}

.main-page > .page__main > section:nth-of-type(5) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(6) {
  margin-top: 42px
}

.main-page > .page__main > section:nth-of-type(7) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(8) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(9) {
  margin-top: 41px
}

.main-page > .page__main > section:nth-of-type(10) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(11) {
  margin-top: 8px
}

.main-page > .page__main > section:nth-of-type(12) {
  margin-top: 8px
}

.main-page > .page__main > section:nth-of-type(13) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(14) {
  margin-top: 42px
}

.main-page > .page__main > section:nth-of-type(15) {
  margin-top: -5px
}

.main-page > .page__main > section:nth-of-type(16) {
  margin-top: 4px
}

.main-page > .page__main > section:nth-of-type(17) {
  margin-top: 39px
}

.main-page > .page__main > section:nth-of-type(18) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(19) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(20) {
  margin-top: 9px
}

.main-page > .page__main > section:nth-of-type(21) {
  margin-top: 42px
}

.main-page > .page__main > section:nth-of-type(22) {
  margin-top: -12px
}

.main-page > .page__main > section:nth-of-type(23) {
  margin-top: -12px
}

.main-page > .page__main > section:nth-of-type(24) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(25) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(26) {
  margin-top: 40px
}

.main-page > .page__main > section:nth-of-type(27) {
  margin-top: 32px
}

.main-page > .page__main > section:nth-of-type(28) {
  margin-top: 42px
}

.main-page > .page__main > section:nth-of-type(29) {
  margin-top: 33px
}

@media(max-width:1023px) {
  .main-page > .page__main > section:nth-of-type(n) {
    margin-top: 0
  }
}

</style>

/* ---------- Маркетинговая главная ---------- */
.mhero {
  background: linear-gradient(135deg, #fff, var(--tint));
  border-bottom: 1px solid var(--line)
}

.mhero__in {
  padding: 64px 0 58px;
  max-width: 900px
}

.mhero h1 {
  font-size: 52px;
  margin-bottom: 18px
}

.mhero .lead {
  font-size: 20px;
  color: var(--body);
  max-width: 780px
}

.mhero .cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.mhero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px
}

.mhero__stats b {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 30px;
  color: var(--red);
  display: block;
  line-height: 1
}

.mhero__stats span {
  font-size: 13px;
  color: var(--mute)
}

.hub-links {
  display: grid;
  gap: 8px
}

.hub-links a {
  font-size: 14px;
  color: var(--body);
  padding-left: 15px;
  position: relative
}

.hub-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 11px
}

.hub-links a:hover {
  color: var(--red)
}

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

.hh2 h2 {
  font-size: 32px
}

.hh2 a {
  font-size: 14px;
  font-weight: 500
}

/* ---------- Оглавление (карта) ---------- */
.home-hero {
  background: linear-gradient(135deg, #fff, var(--tint));
  border-bottom: 1px solid var(--line);
  padding: 56px 0
}

.home-hero h1 {
  font-size: 48px;
  max-width: 860px
}

.home-hero p {
  font-size: 20px;
  color: var(--body);
  max-width: 720px;
  margin-top: 14px
}

.stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 120px
}

.stat b {
  font-family: var(--font-h);
  font-size: 28px;
  color: var(--red);
  display: block;
  line-height: 1
}

.stat span {
  font-size: 13px;
  color: var(--mute)
}

.toc-sec {
  padding: 38px 0;
  border-bottom: 1px solid var(--line)
}

.toc-sec .hh {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px
}

.toc-sec .hh h2 {
  font-size: 32px
}

.toc-sec .hh .cnt {
  font-size: 13px;
  color: var(--mute)
}

.hub {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column
}

.hub .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px
}

.hub h3 {
  font-size: 19px
}

.hub h3 a:hover {
  color: var(--red)
}

.hub .price {
  font-family: var(--font-b);
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  white-space: nowrap
}

.hub .kids {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 7px
}

.hub .kids a {
  font-size: 14px;
  color: var(--body);
  padding-left: 14px;
  position: relative
}

.hub .kids a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 11px
}

.hub .kids a:hover {
  color: var(--red)
}

.hub .kids a.pending {
  color: var(--mute)
}

.hub .kids a.pending::before {
  content: "○";
  color: var(--mute)
}

.list-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.list-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px
}

.list-links a:hover {
  border-color: var(--red);
  color: var(--red)
}

.list-links a .badge {
  font-size: 10.5px;
  color: var(--mute);
  display: block;
  margin-top: 3px
}

.cases-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line)
}

.segs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.seg {
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--srv);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: .12s
}

.seg:hover {
  border-color: var(--red)
}

.seg.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

.selects {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.selects select {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer
}

.selects .cnt {
  font-size: 13.5px;
  color: var(--mute)
}

.selects .cnt b {
  color: var(--ink)
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.case-card .ph {
  height: 130px;
  background: #e9ecf1 center/cover
}

.case-card .bd {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.case-card .b-type {
  align-self: flex-start;
  font-family: var(--font-b);
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 14px
}

.b-court {
  background: var(--pink);
  color: var(--red)
}

.b-presud {
  background: #eef0f4;
  color: var(--ink)
}

.b-review {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--mute)
}

.case-card h3 {
  font-size: 16px;
  line-height: 1.25
}

.case-card .more {
  margin-top: auto;
  font-family: var(--font-b);
  font-size: 13px;
  color: var(--red);
  font-weight: 500
}

.pending-tag {
  font-family: var(--font-b);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--mute);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 6px;
  white-space: nowrap
}

/* ---------- Футер ---------- */
.site-footer {
  background: var(--ink);
  color: #c7cbd6;
  padding: 44px 0 30px;
  margin-top: 40px
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px
}

.site-footer .logo__head {
  color: #fff
}

.site-footer .logo__sub {
  color: #9aa0af
}

.site-footer a {
  color: #c7cbd6;
  font-size: 14px;
  display: block;
  padding: 4px 0
}

.site-footer a:hover {
  color: #fff
}

.site-footer p {
  font-size: 14px
}

.site-footer .fnote {
  border-top: 1px solid #3a3f4d;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #8b90a0
}

@media(max-width:980px) {
  .mega-cols {
    grid-template-columns: repeat(3, 1fr)
  }

  .grid-3, .grid-4, .steps, .list-links, .site-footer .cols {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero h1, .home-hero h1 {
    font-size: 34px
  }

  .section h2 {
    font-size: 30px
  }

  .hero .lead, .home-hero p {
    font-size: 18px
  }

  .dose-grid {
    grid-template-columns: 1fr
  }

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

  .hero__img {
    min-height: 240px;
    margin: 0 0 8px;
    order: -1
  }

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

  .cta-trio {
    flex-direction: column;
    align-items: stretch
  }

  .fexp {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .fexp-l img {
    width: 100%;
    height: 280px
  }

  .fexp-ul {
    grid-template-columns: 1fr
  }

  .appl {
    grid-template-columns: 1fr
  }

  .split, .split-r {
    grid-template-columns: 1fr
  }

  .sec-img {
    min-height: 220px;
    order: -1
  }

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

@media(max-width:640px) {
  .grid-2, .grid-3, .grid-4, .steps, .list-links, .mega-cols, .site-footer .cols, .team-grid {
    grid-template-columns: 1fr
  }

  .hdr-mail {
    display: none
  }

  .consult {
    flex-direction: column;
    align-items: stretch
  }

  .consult__r {
    flex-direction: row;
    flex-wrap: wrap
  }

  .consult .msg {
    flex: 1 1 auto
  }
}

/* ---- blog article: подразделы, нумерация, врезка ---- */
.art-sub {
  margin: 6px 0 16px
}

.art-sub h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--srv);
  margin: 0 0 8px
}

.art-sub p {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--body)
}

ol.bullets.num {
  list-style: decimal;
  padding-left: 22px
}

ol.bullets.num li {
  margin: 0 0 8px;
  padding-left: 4px
}

ol.bullets.num li::marker {
  color: var(--red);
  font-weight: 600
}

.art-note {
  border-left: 3px solid var(--red);
  background: var(--pink);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 6px 0 16px
}

.art-note p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--body)
}

.art-note p:last-child {
  margin: 0
}

/* ---- светлая форма заявки (1:1 с Figma «главная финал», узел 303:1254) ---- */
.appl2 {
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px 40px
}

.appl2-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 34px;
  color: var(--ink);
  margin: 0
}

.appl2-sub {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 10px 0 0
}

.appl2-text {
  font-size: 16px;
  color: var(--ink);
  margin: 14px 0 0;
  max-width: 920px
}

.appl2-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

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

.fld {
  position: relative;
  display: block
}

.fld .fic {
  position: absolute;
  left: 15px;
  top: 18px;
  width: 22px;
  height: 22px
}

.fld input, .fld textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 16px 16px 16px 50px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit
}

.fld textarea {
  min-height: 88px;
  resize: vertical;
  padding-top: 16px
}

.fld input::placeholder, .fld textarea::placeholder {
  color: #849ea4
}

.appl2-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px
}

.appl2-agree {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #000
}

.appl2-agree a {
  color: var(--red)
}

.appl2-submit {
  min-width: 190px;
  padding: 14px 28px;
  font-size: 18px
}

.appl2-msgs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 6px
}

.appl2-recaptcha {
  font-size: 12px;
  color: #898989;
  margin: 6px 0 0
}

.appl2-recaptcha a {
  color: var(--red)
}

@media(max-width:760px) {
  .appl2 {
    padding: 26px 20px
  }

  .appl2-row {
    grid-template-columns: 1fr
  }

  .appl2-msgs {
    flex-wrap: wrap
  }

  .appl2-title {
    font-size: 26px
  }
}

/* ---- страница «Все услуги»: карточки родитель → под-родители ---- */
.allsvc-cat {
  margin-bottom: 34px
}

.allsvc-cat__t {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line)
}

.allsvc-cat__t i {
  font-style: normal;
  font-family: var(--font-h);
  color: var(--red);
  font-size: 23px
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column
}

.svc-card:hover {
  border-color: #ffd0d5;
  box-shadow: var(--shadow)
}

.svc-card__h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line)
}

.svc-card__h .nm {
  flex: 1
}

.svc-card__h .pr {
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  white-space: nowrap
}

.svc-card__h .go {
  color: var(--red);
  font-weight: 700
}

.svc-card__h:hover .nm {
  color: var(--red)
}

.svc-card__kids {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 11px
}

.svc-card__kids a {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--body);
  padding: 3px 0;
  position: relative;
  padding-left: 14px
}

.svc-card__kids a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7dbe3
}

.svc-card__kids a:hover {
  color: var(--red)
}

.svc-card__kids a:hover::before {
  background: var(--red)
}

.svc-card__none {
  margin-top: 11px;
  font-size: 13px;
  color: var(--mute)
}

/* ---- «Все услуги», вариант 2: родитель-строка + дети-капсулы ---- */
.svc-rows {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.svc-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.svc-row:hover {
  border-color: #ffd0d5;
  box-shadow: var(--shadow)
}

.svc-row__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink)
}

.svc-row__bar .nm {
  flex: 1
}

.svc-row__bar .pr {
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
  white-space: nowrap
}

.svc-row__bar .go {
  color: var(--red);
  font-weight: 700
}

.svc-row__bar:hover .nm {
  color: var(--red)
}

.svc-row__kids {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.svc-row__kids a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.25
}

.svc-row__kids a:hover {
  border-color: var(--red);
  color: var(--red)
}

.svc-row__none {
  font-size: 13px;
  color: var(--mute)
}

/* иконка категории */
.allsvc-cat__t .cat-ic {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center
}

.allsvc-cat__t .cat-ic svg {
  width: 22px;
  height: 22px;
  display: block
}

/* ---- главная: блоки, перенесённые из Figma «главная финал» ---- */
.hp {
  font-size: 16px;
  color: var(--body);
  margin: 0 0 14px;
  max-width: 900px
}

.trust-line {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px
}

.trust-row span {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--srv)
}

.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red)
}

.ctabar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--ink), #33384a);
  border-radius: 14px;
  padding: 18px 26px
}

.ctabar span {
  color: #fff;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 22px
}

.step-c {
  display: flex;
  flex-direction: column;
  position: relative
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--pink);
  color: var(--red);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 16px
}

.offer-c {
  display: flex;
  flex-direction: column
}

.offer-c .eyebrow {
  margin-bottom: 10px
}

.statrow {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px
}

.stat-c {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 170px
}

.stat-c b {
  display: block;
  font-family: var(--font-h);
  font-size: 22px;
  color: var(--red);
  line-height: 1.2
}

.stat-c span {
  display: block;
  font-size: 13px;
  color: var(--mute);
  margin-top: 3px
}

.rev-who {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line)
}

.rev-who b {
  display: block;
  font-size: 14px;
  font-weight: 600
}

.rev-who span {
  display: block;
  font-size: 12.5px;
  color: var(--mute)
}

.art-c {
  display: flex;
  flex-direction: column
}

@media(max-width:760px) {
  .ctabar {
    flex-direction: column;
    align-items: flex-start
  }

  .ctabar span {
    font-size: 19px
  }

  .statrow {
    gap: 10px
  }

  .stat-c {
    min-width: 140px;
    padding: 12px 14px
  }
}

/* ---- главная: блоки 1:1 с Figma (значения сняты с узлов) ---- */
.mhero__grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 34px;
  align-items: center
}

.mhero__card {
  background: #fff;
  border-radius: 32px;
  padding: 38px 40px;
  box-shadow: var(--shadow)
}

.mhero__card h1 {
  font-size: 42px;
  margin: 6px 0 14px
}

.mhero__card .lead {
  font-size: 16px;
  color: var(--body);
  margin: 0 0 22px
}

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

.mhero__img {
  min-height: 420px;
  border-radius: 16px;
  background: #eee 50%/cover no-repeat
}

/* карточки-офферы под героем (Figma: 360x86, r14, кант #e7e9ef, иконка 48, текст 16 Medium) */
.offercards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.offercard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e7e9ef;
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink)
}

.offercard:hover {
  border-color: var(--red)
}

.offercard__ic {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain
}

/* семантика: белая карточка, текст слева + красные капсулы справа */
.semcard {
  display: grid;
  grid-template-columns: 482px 1fr;
  gap: 46px;
  background: #fff;
  border-radius: 24px;
  padding: 38px 40px;
  align-items: start;
  box-shadow: var(--shadow)
}

.semcard__l h2 {
  font-size: 32px;
  margin-bottom: 14px
}

.semcard__r {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start
}

.tag-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25
}

.tag-red:hover {
  background: var(--red-d)
}

/* «Виды экспертиз»: карточки с иконками (Figma: 255x148, r8, кант #ccd4e0, иконка 36, текст 16) */
.vargrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px
}

.varcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
  border: 1px solid #ccd4e0;
  border-radius: 8px;
  padding: 22px 20px;
  min-height: 148px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35
}

.varcard:hover {
  border-color: var(--red);
  color: var(--red)
}

.varcard__ic {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain
}

@media(max-width:980px) {
  .mhero__grid {
    grid-template-columns: 1fr
  }

  .mhero__img {
    min-height: 280px
  }

  .semcard {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px
  }

  .vargrid {
    grid-template-columns: repeat(2, 1fr)
  }

  .offercards {
    grid-template-columns: 1fr
  }
}

/* ---- hero = Figma section.promo (снято 02.09, кадры NEW/ТЗ-16) ---- */
.hero {
  background: #fff;
  border-bottom: 0
}

.hero .breadcrumb {
  padding: 14px 0 0;
  margin: 0;
  font: 12px/16px Arial, Helvetica, sans-serif;
  color: #849ea4
}

.hero .breadcrumb a {
  color: #849ea4
}

.hero .promo {
  position: relative;
  height: 500px;
  margin: 14px 0 0;
  overflow: hidden
}

@media(min-width:1248px) {
  .hero .promo {
    margin-left: -24px;
    margin-right: -24px
  }

  .hero .breadcrumb {
    margin: 0 -24px
  }
}

.promo__img {
  position: absolute;
  top: 0;
  right: 45px;
  width: 806px;
  height: 100%;
  background: #0e0f14 50%/cover no-repeat
}

.promo__inner {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 715px;
  box-sizing: border-box;
  padding: 20px 40px;
  background: rgba(255, 255, 255, .8);
  border-radius: 32px;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  gap: 15px
}

.promo__inner h1 {
  font-size: 48px;
  line-height: 53px;
  margin: 0;
  max-width: 635px
}

.promo__inner .lead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 27px;
  color: #464749;
  margin: 0 0 25px;
  max-width: 635px
}

.promo__inner .cta {
  margin: 0;
  display: flex
}

.promo__inner .btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 328px;
  height: 60px;
  box-sizing: border-box;
  padding: 18px 42px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  border-radius: 8px
}

.hero--plain .promo {
  height: auto;
  overflow: visible;
  margin: 0
}

.hero--plain .promo__inner {
  position: static;
  transform: none;
  width: auto;
  max-width: 860px;
  padding: 40px 0 48px;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none
}

@media(max-width:1023px) {
  .hero .promo {
    height: auto;
    overflow: visible
  }

  .promo__img {
    position: relative;
    right: auto;
    width: 100%;
    height: 260px
  }

  .promo__inner {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: -60px 16px 0;
    padding: 20px 24px
  }

  .promo__inner h1 {
    font-size: 32px;
    line-height: 1.15
  }

  .promo__inner .lead {
    margin-bottom: 12px
  }

  .promo__inner .btn-red {
    min-width: 0;
    width: 100%
  }
}

@media(max-width:600px) {
  .choose-grid {
    grid-template-columns: 1fr
  }
}

/* ---- карточки документов и образцов ---- */
.doc-card {
  display: flex;
  flex-direction: column
}

.doc-card p {
  flex: 1 1 auto
}

.doc-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none
}

.doc-dl:hover {
  border-color: var(--red)
}

.doc-dl b {
  background: var(--red);
  color: #fff;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em
}

.doc-dl--ask {
  color: var(--red);
  border-color: #f3ced3
}

.doc-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mute)
}

/* фильтр кейсов на телефоне: селекты не шире экрана */
.selects select {
  max-width: 100%;
  min-width: 0
}

@media(max-width:600px) {
  .selects select {
    flex: 1 1 100%;
    width: 100%
  }

  .selects .cnt {
    flex: 1 1 100%
  }
}

/* телефон: читаемые ярлыки и кнопки под палец */
@media(max-width:700px) {
  .logo__sub, .eyebrow, .price-table th, .expert .ex-role, .expert .ex-chips span, .case-meta th, .fexp-badges span, .fexp-lb, .ch-lb, .rev-meta span, .rev-conf, .list-links a .badge, .case-card .b-type, .pending-tag, .doc-dl b, .tag, .s15-badge, .s28-date, .s26-tag, .mega-col h4, .s26-stat span, .s26-eyebrow, th {
    font-size: 12px
  }

  .chips a, .chips span, .seg, .s25-topic {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px
  }

  .zvon {
    display: inline-block;
    padding: 6px 0
  }
}

/* телефон: ссылки под палец, 36 px */
@media(max-width:700px) {
  footer a {
    padding: 7px 0
  }

  .hub .kids a, .mega-kids a, .list-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center
  }

  .svc-row__bar {
    min-height: 36px
  }

  a.red, .case-card a.red {
    display: inline-block;
    padding: 7px 0
  }

  p.muted[style*="11.5px"], .muted[style*="11px"] {
    font-size: 12px !important
  }
}

/* телефон: добивка специфичности */
@media(max-width:700px) {
  .site-footer a {
    padding: 7px 0
  }

  .hub-links a, .hub .kids a {
    min-height: 36px;
    display: inline-flex;
    align-items: center
  }

  body b.s15-badge, body time.s28-date, body span.s26-tag, body .s26-stat span, body .s26-eyebrow, body .s27-tag, body .s27-meta span {
    font-size: 12px
  }

  body a.s27-more, body a.s21-more, body a.s20-link, body .s25-topic {
    display: inline-flex;
    align-items: center;
    min-height: 36px
  }
}

@media(max-width:700px) {
  .svc-row__kids a, .mega-chips a {
    min-height: 36px;
    display: inline-flex;
    align-items: center
  }
}

/* ---- эксперты: карточка s24 (главная, страница экспертов, услуги) ---- */
.s24-experts {
  padding: 0;
  background: #fff;
  color: var(--ink)
}

.s24-experts>.wrap {
  padding: 0
}

@media(max-width:1000px) {
  .s24-experts>.wrap {
    padding: 0 16px
  }
}

.s24-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 30px 29px 28px
}

.s24-pic {
  flex: 0 0 174px;
  height: 174px;
  display: flex;
  align-items: center;
  justify-content: center
}

.s24-pic img {
  width: 137px;
  height: 137px;
  border-radius: 19px;
  object-fit: cover
}

.s24-headbody {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 3px
}

.s24-over {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--red)
}

.s24-titlerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 9px
}

.s24-title {
  font-size: 34px;
  line-height: 42px;
  margin: 0
}

.s24-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap
}

.s24-all span {
  color: var(--red)
}

.s24-all:hover {
  border-color: var(--red)
}

.s24-desc {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 19px;
  color: var(--mute)
}

.s24-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.s24-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 25px;
  padding: 0 11px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 15px;
  font-weight: 500;
  color: #3b404d;
  white-space: nowrap
}

.s24-chip--dot {
  height: 27px
}

.s24-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red)
}

.s24-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px
}

.s24-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px
}

.s24-left {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.s24-photo {
  width: 230px;
  height: 270px;
  border-radius: 14px;
  object-fit: cover
}

.s24-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.s24-mid {
  flex: 1 1 auto;
  min-width: 0
}

.s24-name {
  font-size: 22px;
  line-height: 25px;
  margin: 0 0 12px
}

.s24-spec {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--red)
}

.s24-lbl {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--mute)
}

.s24-ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 8px
}

.s24-ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 17px;
  color: #3b404d
}

.s24-ul li i {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin: 7px 1px 0 1px
}

.s24-ul li span {
  padding-top: 1px
}

.s24-right {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.s24-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 49px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px
}

.s24-stat b {
  font-family: var(--font-h);
  font-size: 22px;
  line-height: 25px;
  font-weight: 700;
  color: var(--red)
}

.s24-stat span {
  font-size: 13px;
  line-height: 15px;
  color: var(--mute)
}

.s24-cv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center
}

.s24-cv:hover {
  background: var(--red-d)
}

.s24-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 15px;
  color: var(--mute);
  text-align: center
}

.s24-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 0
}

.s24-pg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink)
}

.s24-pg.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-size: 15px
}

.s24-pg:hover {
  border-color: var(--red)
}

@media(max-width:1000px) {
  .s24-card {
    flex-wrap: wrap
  }

  .s24-right {
    flex-basis: 100%
  }

  .s24-mid {
    flex-basis: calc(100% - 262px)
  }
}

@media(max-width:700px) {
  .s24-head {
    flex-direction: column
  }

  .s24-card {
    flex-direction: column
  }

  .s24-left, .s24-mid {
    flex-basis: auto
  }

  .s24-titlerow {
    flex-wrap: wrap
  }

  .s24-ul {
    grid-template-columns: 1fr
  }
}

.s24-cases {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.s24-cases .s24-lbl {
  margin-bottom: 4px
}

.s24-cases a {
  display: block;
  font-size: 13.5px;
  line-height: 17px;
  color: var(--ink);
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px
}

.s24-cases a:hover {
  border-color: var(--red);
  color: var(--red)
}

.s24-plain {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute)
}

.s24-card[hidden] {
  display: none
}

.s24-page .s24-cards {
  margin-top: 0
}

.s24-page .s24-card {
  scroll-margin-top: 90px
}

@media(max-width:700px) {
  .s24-pg {
    width: 40px;
    height: 40px
  }
}

/* ---- подвал с реквизитами (по образцу действующего сайта) ---- */
.site-footer .ft-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start
}

.site-footer .ft-about {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #c7cbd6
}

.site-footer .ft-legal {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #aab0bf
}

.site-footer .ft-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px
}

.site-footer .ft-c b {
  display: block;
  color: #fff;
  font-weight: 600
}

.site-footer .ft-c a {
  display: inline;
  padding: 0;
  color: #fff
}

.site-footer .ft-c small {
  display: block;
  font-size: 12.5px;
  color: #9aa0af;
  margin-top: 2px
}

.site-footer .ft-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #3a3f4d
}

.site-footer .ft-links {
  display: grid;
  gap: 2px 24px
}

.site-footer .ft-links--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.site-footer .ft-links--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.site-footer .ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px
}

.site-footer .ft-msgs {
  display: flex;
  gap: 24px
}

.site-footer .ft-msgs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  padding: 6px 0
}

.site-footer .ft-cta {
  padding: 14px 34px
}

.site-footer .fnote a {
  display: inline;
  padding: 0;
  color: #c7cbd6;
  text-decoration: underline
}

@media(max-width:900px) {
  .site-footer .ft-top, .site-footer .ft-cols {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .site-footer .ft-links--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:600px) {
  .site-footer .ft-links--3, .site-footer .ft-links--2 {
    grid-template-columns: 1fr
  }

  .site-footer .ft-bottom {
    flex-direction: column;
    align-items: flex-start
  }
}

/* ---- цены: звёздочка и сноска ---- */
.pstar {
  font-size: .72em;
  color: var(--red);
  margin-left: 1px;
  line-height: 0
}

.price-foot {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute)
}

/* ---- реквизиты на «О компании» ---- */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 20px
}

.req-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px
}

.req-k {
  font-size: 12.5px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: .04em
}

.req-v {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word
}

.req-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px
}

@media(max-width:700px) {
  .req-grid {
    grid-template-columns: 1fr
  }
}

/* ---- мобильные мелочи 04.09: звёздочка не мельче 12px, ссылки подвала не ниже 36px ---- */
.pstar {
  font-size: 12px
}

.site-footer .ft-c a {
  display: inline-block;
  padding: 8px 0;
  margin: -8px 0
}

.site-footer .fnote a {
  display: inline-block;
  padding: 9px 0;
  margin: -9px 0
}

.s20-name a {
  display: inline-block;
  padding: 8px 0;
  margin: -8px 0
}

.site-footer .ft-msgs {
  flex-wrap: wrap
}

/* ---- иконки карточек из макета (что выбрать, материалы, факторы цены) ---- */
.ic-card {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

.ic-card__ic {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain
}

.ic-card__txt {
  min-width: 0
}

.ic-card__txt h3 {
  margin-top: 0
}

.choose-card .ic-card__ic {
  display: block;
  margin-bottom: 12px
}

@media(max-width:600px) {
  .ic-card {
    gap: 12px
  }

  .ic-card__ic {
    width: 48px;
    height: 48px;
    flex-basis: 48px
  }
}

/* ---- блоки по макету (замеры из Figma, кадр ТЗ-16) ---- */
/* вопросы эксперту: фото 430 слева + аккордеон карточек r12 с рамкой #e7e9ef */
.qa-split {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 36px;
  align-items: start
}

.qa-photo {
  height: 100%;
  min-height: 520px;
  border-radius: 18px;
  background-size: cover;
  background-position: center
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.qa-item {
  border: 1px solid #e7e9ef;
  border-radius: 12px;
  background: #fff;
  overflow: hidden
}

.qa-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 14px 20px;
  cursor: pointer;
  list-style: none
}

.qa-item summary::-webkit-details-marker {
  display: none
}

.qa-n {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 500;
  color: var(--mute);
  min-width: 14px
}

.qa-q {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink)
}

.qa-ar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint);
  position: relative
}

.qa-ar::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg)
}

.qa-item[open] .qa-ar::before {
  transform: rotate(135deg);
  top: 7px
}

.qa-a {
  border-top: 1px solid #e7e9ef;
  padding: 14px 20px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute)
}

@media(max-width:900px) {
  .qa-split {
    grid-template-columns: 1fr
  }

  .qa-photo {
    min-height: 260px
  }
}

/* что вы получите: широкие карточки в столбик, бежевая полоса слева */
.solve-list {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.solve-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7e9ef;
  border-radius: 14px;
  padding: 20px 24px 20px 30px;
  overflow: hidden
}

.solve-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #efe7e0
}

.solve-card h3 {
  margin: 0 0 6px;
  font-size: 17px
}

.solve-card p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55
}

/* почему обращаются к нам: две колонки карточек с разделителем */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px
}

.why-card {
  background: #fff;
  border: 1px solid #e7e9ef;
  border-radius: 12px;
  padding: 18px 22px
}

.why-card h3 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7e9ef;
  font-size: 16px
}

.why-card p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55
}

@media(max-width:700px) {
  .why-grid {
    grid-template-columns: 1fr
  }
}

.why-card h3, .card h3 {
  display: flex;
  align-items: center;
  gap: 10px
}

.why-card h3 img, .card h3 img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px
}

/* ---- мобильная шапка 04.09: меню за кнопкой, а не во всю ширину ---- */
.hdr-burger, .hdr-call {
  display: none
}

@media(max-width:900px) {
  .hdr-top {
    gap: 10px;
    padding: 10px 0
  }

  .hdr-phone {
    display: none
  }

  .logo__sub {
    font-size: 10px;
    line-height: 1.25;
    max-width: 190px
  }

  .hdr-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-left: auto;
    border-radius: 10px;
    background: var(--pink);
    color: var(--red)
  }

  .hdr-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: var(--pink);
    cursor: pointer
  }

  .hdr-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    transition: transform .2s, opacity .2s
  }

  .site-header.is-open .hdr-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .site-header.is-open .hdr-burger span:nth-child(2) {
    opacity: 0
  }

  .site-header.is-open .hdr-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

  /* панель меню: скрыта, разворачивается по кнопке */
  .hdr-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 16px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto
  }

  .site-header.is-open .hdr-nav {
    display: flex
  }

  .nav-items {
    flex-direction: column;
    align-items: stretch;
    gap: 2px
  }

  .nav-items a {
    padding: 13px 12px;
    font-size: 16px;
    min-height: 46px
  }

  .nav-cta {
    text-align: center;
    padding: 14px 18px;
    font-size: 16px
  }

  /* мега-меню внутри панели: обычным списком, без наведения и абсолютного положения */
  .has-mega .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 4px 0 8px;
    box-shadow: none;
    border-radius: 0
  }

  .has-mega>a>span {
    display: none
  }

  body.nav-open {
    overflow: hidden
  }
}

/* капсулы и кнопки на телефоне не раздуваются на весь экран */
@media(max-width:700px) {
  .mega-chips a, .chips a, .chip {
    font-size: 14px;
    line-height: 1.3;
    padding: 9px 14px
  }

  .btn-ghost, .mega-sit__all {
    max-width: 100%;
    white-space: normal
  }

  .price-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }

  .price-table {
    min-width: 560px
  }
}

@media(max-width:900px) {

  /* мега-меню внутри панели раскрывается по нажатию на «Услуги», а не вываливается сразу */
  .has-mega .mega {
    display: none
  }

  .has-mega.is-sub .mega {
    display: block
  }

  .has-mega>a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 12px
  }

  .has-mega.is-sub>a::after {
    content: '▴'
  }

  .has-mega>a {
    display: flex;
    justify-content: space-between;
    align-items: center
  }
}

@media(max-width:900px) {
  .logo__sub {
    font-size: 12px
  }

  .s24-cases a, .case-card a, .crumbs a, .breadcrumb a {
    min-height: 36px;
    display: inline-flex;
    align-items: center
  }

  .s29-recaptcha a, .fnote a {
    display: inline-block;
    padding: 9px 0;
    margin: -9px 0
  }
}
