/* ============================================
   StomUp — стили лендинга
   ============================================ */

:root {
  /* Палитра: тёплый белый + тёмно-синий + мята.
     Мята (--mint) — только фоны, рамки, иконки и маркеры; как цвет текста на светлом фоне не используется. */
  --navy: #1B2A41;
  --navy-light: #2A3B56;
  --mint: #5CE1C6;
  --mint-hover: #48D4B8;
  --mint-soft: #DDF6F0;
  --text: #1B2A41;
  --text-muted: #5A6577;
  --border: #E2DED6;
  --bg: #F0EEE9;
  --bg-alt: #E8E5DE;
  --card: #FFFFFF;
  --danger: #C8423D;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27, 42, 65, .04), 0 8px 24px rgba(27, 42, 65, .07);
  --shadow-lg: 0 2px 4px rgba(27, 42, 65, .04), 0 20px 48px rgba(27, 42, 65, .12);

  --container: 1160px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.hl {
  background: linear-gradient(transparent 60%, var(--mint) 60%, var(--mint) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
}

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

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--mint); color: var(--navy); box-shadow: 0 6px 16px rgba(92, 225, 198, .30); }
.btn--primary:hover { background: var(--mint-hover); }
.btn--secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px; height: 4px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--mint);
}

/* ---------- Логотип ---------- */
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--text); }
.logo__name { display: flex; align-items: center; gap: 2px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.logo__up { padding: 1px 7px 3px; border-radius: 8px; background: var(--mint); color: var(--navy); }
.logo__tagline { margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); letter-spacing: .01em; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 238, 233, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { color: var(--text); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn):hover { color: var(--navy-light); box-shadow: inset 0 -3px 0 var(--mint); }
.nav__cta { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 11px;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-alt); }
.section__title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 44px; max-width: 760px; }
.lead { font-size: 18px; color: var(--text-muted); }

/* ---------- 1. Первый экран ---------- */
.hero-cards {
  padding: 64px 0 72px;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(92, 225, 198, .22) 0%, rgba(92, 225, 198, 0) 70%),
    var(--bg);
}
.hero-cards__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-cards h1 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.03em; }
.hero-cards__lead { font-size: 18px; color: var(--text-muted); }
.hero-cards__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.adv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.adv__card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.adv__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.adv__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--navy);
}
.adv__icon svg { width: 22px; height: 22px; }
.adv__card h3 { font-size: 18px; margin-bottom: 8px; }
.adv__card p { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.adv__card--dark { background: var(--navy); border-color: var(--navy); }
.adv__card--dark h3 { color: #fff; }
.adv__card--dark p { color: rgba(255, 255, 255, .72); }
.adv__card--dark .adv__icon { background: var(--mint); }

/* ---------- 2. Боли ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card {
  padding: 28px 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pain-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--mint);
  font-weight: 800;
}
.pain-card p { font-weight: 600; }

/* ---------- 3. Почему мы ---------- */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why-card {
  grid-column: span 2;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-card:nth-child(4) { grid-column: span 3; }
.why-card:nth-child(5) { grid-column: span 3; }
.why-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--mint);
  margin-bottom: 20px;
}
.why-card__icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); }
.why-card--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.why-card--dark p { color: rgba(255, 255, 255, .78); }
.why-card--dark .why-card__icon { background: var(--mint); color: var(--navy); }

/* ---------- 4. Услуги ---------- */
.group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px;
  margin: 8px 0 20px;
}
.price-grid + .group-title { margin-top: 56px; }
.group-title__num {
  font-size: 13px;
  color: var(--navy);
  background: var(--mint);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0;
}
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-grid--3 { grid-template-columns: repeat(3, 1fr); }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.price-card h4 { font-size: 19px; margin-bottom: 12px; }
.price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 16px; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 700; color: var(--text-muted); }
.price .per { font-size: 16px; font-weight: 700; color: var(--text-muted); }
.price-card p { font-size: 15.5px; color: var(--text-muted); }
.price-card p + p { margin-top: 10px; }
.price-card__note {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 14px !important;
}
.price-card .btn { margin-top: auto; }
.price-card > p:last-of-type { margin-bottom: 24px; }
.price-card--featured {
  border: 2px solid var(--mint);
  box-shadow: 0 12px 32px rgba(27, 42, 65, .12);
}
.badge {
  position: absolute; top: -13px; left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}

/* ---------- 5. Как работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: none; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 24px; left: 24px;
  right: calc((100% - 80px) / 5 - 24px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step__num {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-size: 18px; font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- 6. Кейс ---------- */
.case { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.case__info { display: flex; flex-direction: column; gap: 20px; }
.case__block {
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.case__block h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 10px; }
.case__result { background: var(--mint-soft); border-color: var(--mint-soft); }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%231B2A41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.placeholder-text { color: var(--text-muted); font-style: italic; }

.case__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shot { margin: 0; }
.shot figcaption {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.shot--before figcaption { background: #DCD8CF; color: var(--navy); }
.shot--after figcaption { background: var(--mint); color: var(--navy); }
.shot img, .shot-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.shot-placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  text-align: center;
  background: repeating-linear-gradient(45deg, #fff 0 12px, #F5F3EE 12px 24px);
  color: var(--text-muted);
  font-weight: 600; font-size: 14px;
}
.shot--before .shot-placeholder, .shot--before img { filter: grayscale(.4); opacity: .85; }

/* ---------- 7. Отчёт ---------- */
.report-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.report-section .section__title { margin-bottom: 20px; }
.report-section .lead { margin-bottom: 32px; }

.report {
  padding: 28px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.report__title { font-size: 20px; font-weight: 800; }
.report__sub { font-size: 14px; color: var(--text-muted); }
.report__tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.report__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.kpi { padding: 18px; border-radius: 14px; background: var(--mint-soft); display: flex; flex-direction: column; }
.kpi__label { font-size: 13px; color: var(--text-muted); font-weight: 600; line-height: 1.3; }
.kpi__value { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-top: 6px; }
.report__label { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.report__channels { margin-bottom: 24px; }
.channel { display: grid; grid-template-columns: 76px 1fr 28px; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14px; }
.channel__name { font-weight: 600; }
.channel__bar { height: 10px; border-radius: 999px; background: #ECE9E3; overflow: hidden; }
.channel__bar i { display: block; height: 100%; border-radius: inherit; background: var(--mint); transform-origin: left; }
.channel__val { font-weight: 800; text-align: right; }
.report__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.report__list li { position: relative; padding-left: 26px; font-size: 14px; margin-bottom: 8px; line-height: 1.4; }
.report__list li::before {
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-size: 11px; font-weight: 800; line-height: 1;
}
.report__list--done li::before { content: "✓"; }
.report__list--plan li::before { content: "→"; }

/* ---------- 8. Команда ---------- */
.team { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.team .section__title { margin-bottom: 20px; }
.team__text p { font-size: 18px; color: var(--text-muted); }
.team__photo img, .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  background: linear-gradient(160deg, var(--mint-soft), var(--card));
  border: 2px dashed var(--mint);
  color: var(--navy);
  font-weight: 700;
}
.team__sign { display: flex; flex-direction: column; margin-top: 28px; padding-left: 16px; border-left: 4px solid var(--mint); }
.team__sign strong { font-size: 19px; }
.team__sign span { color: var(--text-muted); }

/* ---------- 9. FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq__item summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231B2A41' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 14px; }
.faq__answer { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- 10. Форма ---------- */
.cta {
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(92, 225, 198, .18), transparent 70%),
    var(--navy);
  color: #fff;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta__text h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta__text p { margin-top: 16px; font-size: 19px; color: rgba(255, 255, 255, .8); }

.form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  background: var(--card);
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 700; }
.field__label em { font-style: normal; font-weight: 500; color: var(--text-muted); }
.field input {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 16px;
  color: var(--text);
  background: #F7F6F2;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: #9AA1AC; }
.field input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px var(--mint-soft); }
.field.is-invalid input { border-color: var(--danger); }

.checkbox { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-muted); cursor: pointer; line-height: 1.45; }
.checkbox input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.checkbox__box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #F7F6F2;
  transition: background .2s, border-color .2s;
}
.checkbox input:checked + .checkbox__box {
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231B2A41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--mint);
}
.checkbox input:focus-visible + .checkbox__box { box-shadow: 0 0 0 4px var(--mint-soft); }
.checkbox.is-invalid .checkbox__box { border-color: var(--danger); }
.checkbox a { text-decoration: underline; }

.form__status { font-size: 15px; font-weight: 600; text-align: center; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--navy); }
.form__status.is-error { color: var(--danger); }

/* ---------- Подвал ---------- */
.footer { padding: 64px 0 32px; background: var(--navy); color: #C3CAD6; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.logo--footer .logo__name { color: #fff; }
.logo--footer .logo__tagline { color: #8D98AB; }
.footer__legal { margin-top: 20px; color: #8D98AB; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--mint); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__title { color: #fff; font-weight: 800; margin-bottom: 4px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2E3F5A; font-size: 14px; color: #8D98AB; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   Адаптив
   ============================================ */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header__cta { display: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid--3 .price-card--featured { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .report-section, .case { grid-template-columns: 1fr; }
  .team { grid-template-columns: 280px 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section__title { margin-bottom: 32px; }

  .burger { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(27, 42, 65, .10);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav__cta { display: flex; margin-top: 16px; }

  .hero-cards { padding: 40px 0 64px; }
  .hero-cards__top { grid-template-columns: 1fr; gap: 20px; }
  .adv { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card, .why-card:nth-child(4) { grid-column: span 1; }
  .why-card:nth-child(5) { grid-column: span 2; }

  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .team { grid-template-columns: 1fr; }
  .team__photo { max-width: 320px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .logo__name { font-size: 23px; }
  .logo__tagline { font-size: 10.5px; }

  .hero-cards__lead { font-size: 17px; }
  .hero-cards__buttons { flex-direction: column; }
  .hero-cards__buttons .btn { width: 100%; }
  .adv { grid-template-columns: 1fr; }

  .pain-grid, .why-grid, .price-grid, .price-grid--3 { grid-template-columns: 1fr; }
  .why-card, .why-card:nth-child(4), .why-card:nth-child(5),
  .price-grid--3 .price-card--featured { grid-column: auto; }
  .pain-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
  .pain-card__icon { margin-bottom: 0; flex-shrink: 0; }
  .why-card { padding: 24px 20px; }
  .price-grid--3 { margin-top: 12px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 28px; }
  .step::before {
    content: ""; position: absolute;
    left: 23px; top: 48px; bottom: 0;
    width: 2px;
    background: var(--mint);
  }
  .step:last-child::before { display: none; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step h3 { padding-top: 12px; }

  .case__compare { gap: 10px; }
  .report { padding: 20px; }
  .report__kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 14px; }
  .kpi__value { font-size: 26px; }
  .report__cols { grid-template-columns: 1fr; }

  .faq__item summary { font-size: 16px; padding: 18px 56px 18px 18px; }
  .faq__item summary::after { right: 16px; }
  .faq__answer { padding: 0 18px 18px; }

  .form { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
}
