/* ============================================================
   minkevich.ru — стили по визуальному брифу v1
   Палитра: молочный фон, чернильно-синий, кобальт, терракота
   ============================================================ */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/onest-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F6F3ED;
  --white: #FFFFFF;
  --ink: #171A20;
  --navy: #13263D;
  --cobalt: #3563E9;
  --cobalt-dark: #2A50C4;
  --sky: #E2EAF4;
  --terra: #C77855;
  --gray: #657080;
  --line: rgba(19, 38, 61, 0.14);
  --line-light: rgba(226, 234, 244, 0.22);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1240px;
  --shadow: 0 2px 6px rgba(19, 38, 61, 0.05), 0 18px 44px rgba(19, 38, 61, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-dark); }

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

section { padding: 120px 0; }

/* --- типографика --- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: 68px; font-weight: 800; }
h2 { font-size: 46px; font-weight: 750; margin-bottom: 24px; }
h3 { font-size: 27px; font-weight: 650; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 20px;
}
.kicker::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
}
.kicker--terra { color: var(--terra); }
.kicker--terra::before { background: var(--terra); }

.lead { font-size: 21px; color: var(--gray); max-width: 640px; }

.muted { color: var(--gray); }
.small { font-size: 15px; }

/* --- кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  background: var(--cobalt);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--cobalt-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, .faq summary:focus-visible {
  outline: 3px solid rgba(53, 99, 233, 0.45);
  outline-offset: 2px;
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: rgba(19,38,61,.05); color: var(--navy); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
}
.arrow-link .arr { transition: transform .2s ease; }
.arrow-link:hover .arr { transform: translateX(4px); }

/* ============ шапка ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  font-size: 19px;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo b { color: var(--cobalt); }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 16px;
  font-weight: 550;
  color: var(--navy);
}
.nav a:hover { color: var(--cobalt); }
.header .btn { height: 44px; padding: 0 20px; font-size: 15px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ hero ============ */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin: 0 0 24px; max-width: 640px; }
.hero .lead { margin-bottom: 36px; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__note { font-size: 15px; color: var(--gray); max-width: 430px; }
.hero__tagline {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  max-width: 480px;
}
.hero__tagline .dot { color: var(--terra); }

.hero__photo { position: relative; }
.hero__photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #1D3A63 0%, #13263D 100%);
  box-shadow: var(--shadow);
}
.hero__photo-frame img { width: 100%; height: auto; }
.hero__photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(226,234,244,.12), inset 0 -60px 80px rgba(15,31,51,.35);
  border-radius: inherit;
  pointer-events: none;
}
.hero__nodes {
  position: absolute;
  z-index: -1;
  right: -70px; top: -60px;
  width: 460px;
  opacity: .5;
}

/* ============ полоса доверия ============ */
.trust { padding: 0 0 96px; }
.trust__in {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust__num { font-size: 56px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.trust__num i { font-style: normal; color: var(--cobalt); }
.trust__label { margin-top: 10px; font-size: 16px; color: var(--gray); max-width: 220px; }
.trust__brands {
  margin-top: 44px;
  display: flex;
  align-items: baseline;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 16px;
}
.trust__brands .cap { color: var(--gray); font-size: 15px; }
.trust__brands span { font-weight: 600; color: var(--navy); }
.trust__brands .sep { color: var(--terra); font-weight: 400; }

/* ============ почему вебинара мало ============ */
.why { background: var(--white); }
.why__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
.why__sticky { position: sticky; top: 120px; }
.why__sticky p { margin-top: 20px; color: var(--gray); font-size: 19px; max-width: 440px; }
.why__list { list-style: none; }
.why__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  align-items: baseline;
}
.why__list li:first-child { border-top: 1px solid var(--line); }
.why__list .idx {
  font-size: 15px;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: 0.04em;
}
.why__after { margin-top: 28px; font-weight: 600; color: var(--navy); font-size: 20px; }

/* ============ схема: одна компания — разные задачи ============ */
.structure { background: var(--navy); color: #fff; }
.structure .kicker { color: #9FB6DD; }
.structure .kicker::before { background: var(--terra); }
.structure h2 { color: #fff; max-width: 720px; }
.structure__intro { color: #B9C6DA; max-width: 680px; font-size: 20px; margin-bottom: 64px; }
.structure__scheme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.scheme-step { position: relative; padding: 36px 40px 0 0; }
.scheme-step__track {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 26px;
}
.scheme-step__node {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 6px rgba(53, 99, 233, 0.22);
  flex: none;
}
.scheme-step:nth-child(2) .scheme-step__node { background: #6E8FF0; }
.scheme-step:nth-child(3) .scheme-step__node { background: var(--terra); box-shadow: 0 0 0 6px rgba(199, 120, 85, 0.22); }
.scheme-step__line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(226,234,244,.5), rgba(226,234,244,.08));
}
.scheme-step:last-child .scheme-step__line { background: none; }
.scheme-step .num {
  font-size: 15px;
  font-weight: 700;
  color: #9FB6DD;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 10px;
}
.scheme-step h3 { color: #fff; margin-bottom: 12px; font-size: 24px; }
.scheme-step p { color: #B9C6DA; font-size: 17px; max-width: 330px; }
.structure__footnote {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  color: #B9C6DA;
  font-size: 18px;
  max-width: 760px;
}

/* ============ для каких задач ============ */
.tracks__head { max-width: 720px; margin-bottom: 48px; }
.tracks__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.tracks__tab {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 20px;
  cursor: pointer;
  transition: all .2s ease;
}
.tracks__tab:hover { border-color: var(--cobalt); color: var(--cobalt); }
.tracks__tab.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}
.tracks__panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.tracks__panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.tracks__panel h3 { grid-column: 1 / -1; margin-bottom: 10px; }
.tracks__item {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid rgba(19,38,61,.08);
  font-size: 18px;
}
.tracks__item::before {
  content: '';
  position: absolute;
  left: 2px; top: 22px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--cobalt);
}
.tracks__note { margin-top: 28px; color: var(--gray); font-size: 16px; max-width: 700px; }

/* ============ метод ============ */
.method { background: var(--white); }
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.method__side { position: sticky; top: 120px; align-self: start; }
.method__side .quote {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--sky);
  border-radius: var(--radius);
  font-size: 19px;
  font-weight: 550;
  color: var(--navy);
  position: relative;
}
.method__side .quote::before {
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--terra);
  border-radius: 2px;
}
.steps { list-style: none; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 17px; top: 20px; bottom: 40px;
  width: 2px;
  background: var(--line);
}
.steps__fill {
  position: absolute;
  left: 17px; top: 20px;
  width: 2px;
  height: 0;
  background: var(--cobalt);
  transition: height .4s ease;
}
.steps li {
  position: relative;
  padding: 0 0 44px 64px;
}
.steps li:last-child { padding-bottom: 0; }
.steps .pt {
  position: absolute;
  left: 8px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cobalt);
  z-index: 1;
}
.steps li:nth-child(5) .pt { border-color: var(--terra); }
.steps h3 { margin-bottom: 10px; font-size: 24px; }
.steps p { color: var(--gray); font-size: 18px; max-width: 560px; }

/* ============ примеры программ ============ */
.cases__head { max-width: 760px; margin-bottom: 20px; }
.cases__disclaimer {
  font-size: 16px;
  color: var(--gray);
  max-width: 760px;
  margin-bottom: 48px;
}
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.case-card__num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--cobalt);
  letter-spacing: -0.02em;
}
.case-card__num small { font-size: 16px; font-weight: 550; color: var(--gray); display: block; margin-top: 8px; letter-spacing: 0; }
.case-card h3 { margin: 24px 0 14px; font-size: 22px; }
.case-card p { font-size: 16.5px; color: var(--gray); flex: 1; }
.case-card__arch {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(19,38,61,.1);
  font-size: 15.5px;
  font-weight: 650;
  color: var(--navy);
}
.case-card__arch b { color: var(--terra); font-weight: 650; }

/* ============ что получает компания ============ */
.deliver { background: var(--white); }
.deliver__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.deliver__col {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.deliver__col--main { background: var(--sky); border-color: transparent; }
.deliver__col h3 { margin-bottom: 22px; }
.deliver__col ul { list-style: none; }
.deliver__col li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 17.5px;
}
.deliver__col li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--cobalt);
  border-bottom: 2.5px solid var(--cobalt);
  transform: rotate(-45deg) translateY(-2px);
}
.deliver__col--extra li::before { border-color: var(--terra); }
.deliver__result {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 40px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
}
.deliver__result b { color: #A9C2EE; font-weight: 650; }

/* ============ форматы ============ */
.formats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.format-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.format-card--accent { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.format-card .tag {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: var(--sky);
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 18px;
}
.format-card--accent .tag { background: var(--cobalt); color: #fff; }
.format-card h3 { margin-bottom: 12px; font-size: 23px; }
.format-card p { color: var(--gray); font-size: 17px; }
.format-card .meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(19,38,61,.1);
  font-size: 16px;
  font-weight: 650;
  color: var(--navy);
}
.formats__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 36px;
}
.formats__price .p { font-size: 19px; }
.formats__price .p b { font-size: 24px; color: var(--navy); }
.formats__price .p .muted { display: block; font-size: 16px; margin-top: 4px; }

/* ============ отзывы (временный блок) ============ */
.reviews { padding-top: 0; }
.reviews__box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 56px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.reviews__mark {
  font-size: 88px;
  line-height: .6;
  font-weight: 800;
  color: var(--terra);
  padding-top: 30px;
}
.reviews__box p { font-size: 20px; max-width: 760px; }
.reviews__box .small { margin-top: 14px; color: var(--gray); }

/* ============ обо мне ============ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.about__photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: var(--sky);
}
.about__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(226,234,244,0) 70%, rgba(19,38,61,0.06) 100%);
}
.about__text p { margin-bottom: 18px; font-size: 19px; }
.about__text .accent { font-weight: 600; color: var(--navy); }
.about__facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.about__facts div {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 17px;
  border-bottom: 1px solid rgba(19,38,61,.08);
}
.about__facts div::before {
  content: '';
  position: absolute;
  left: 2px; top: 20px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terra);
}

/* ============ принципы ============ */
.principles { background: var(--navy); color: #fff; }
.principles h2 { color: #fff; max-width: 700px; }
.principles .kicker { color: #9FB6DD; }
.principles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  margin-top: 48px;
}
.principle {
  padding: 32px 0;
  border-top: 1px solid var(--line-light);
}
.principle .num { font-size: 15px; font-weight: 700; color: var(--terra); letter-spacing: .08em; }
.principle h3 { color: #fff; margin: 12px 0 10px; font-size: 23px; }
.principle p { color: #B9C6DA; font-size: 17.5px; }
.principles__quote {
  margin-top: 56px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line-light);
  font-size: 27px;
  font-weight: 550;
  line-height: 1.35;
  max-width: 860px;
  color: #E9EFF8;
}
.principles__quote .q { color: var(--terra); }

/* ============ стратегическое сопровождение ============ */
.caio {
  background: linear-gradient(180deg, #0F1F33 0%, #13263D 100%);
  color: #fff;
  border-top: 1px solid rgba(199,120,85,.45);
}
.caio__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.caio .kicker { color: var(--terra); }
.caio .kicker::before { background: var(--terra); }
.caio h2 { color: #fff; }
.caio__grid > div > p { color: #B9C6DA; font-size: 19px; margin-bottom: 18px; }
.caio ul { list-style: none; margin: 8px 0 0; }
.caio li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line-light);
  color: #DCE5F1;
  font-size: 17.5px;
}
.caio li::before {
  content: '';
  position: absolute;
  left: 2px; top: 24px;
  width: 8px; height: 1.5px;
  background: var(--terra);
}
.caio__note { margin-top: 28px; color: #93A5BE; font-size: 16px; }
.caio__note b { color: #DCE5F1; font-weight: 650; }
.caio .arrow-link { color: #A9C2EE; margin-top: 24px; }
.caio .arrow-link:hover { color: #fff; }

/* ============ FAQ ============ */
.faq__grid { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.faq summary .ic::before, .faq summary .ic::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.8px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}
.faq summary .ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq details[open] summary .ic { background: var(--cobalt); border-color: var(--cobalt); }
.faq details[open] summary .ic::before, .faq details[open] summary .ic::after { background: #fff; }
.faq details[open] summary .ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details > div { padding: 0 60px 26px 4px; color: var(--gray); font-size: 18px; max-width: 760px; }

/* ============ финальный CTA + форма ============ */
.cta { background: var(--white); }
.cta__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.cta__text p { font-size: 20px; color: var(--gray); margin: 4px 0 28px; max-width: 460px; }
.cta__alt { margin-top: 20px; font-size: 17px; color: var(--gray); }
.cta__alt a { font-weight: 600; }

.form {
  background: var(--bg);
  border-radius: 20px;
  padding: 44px 48px;
  border: 1.5px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__field { margin-bottom: 18px; }
.form__field--full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form label .req { color: var(--terra); }
.form input[type="text"], .form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .2s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(53,99,233,.14);
}
.form textarea { min-height: 96px; resize: vertical; }
.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--gray);
  margin: 6px 0 22px;
}
.form__consent input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--cobalt);
  flex: none;
}
.form .btn { width: 100%; }
.form__under { margin-top: 14px; font-size: 14.5px; color: var(--gray); text-align: center; }
.form__msg {
  display: none;
  margin-top: 16px;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 16px;
}
.form__msg.ok { display: block; background: #E5F2E4; color: #23531F; }
.form__msg.err { display: block; background: #F7E7E2; color: #8C3B21; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============ подвал ============ */
.footer {
  background: var(--navy);
  color: #B9C6DA;
  padding: 56px 0 40px;
  font-size: 16px;
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer .logo { color: #fff; }
.footer__tag { margin-top: 10px; max-width: 320px; }
.footer__col p { margin-bottom: 8px; }
.footer a { color: #DCE5F1; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-direction: column; gap: 8px; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: #93A5BE;
}

/* ============ появление при прокрутке ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .steps__fill { transition: none; }
}

/* ============ страница политики ============ */
.legal { max-width: 800px; margin: 0 auto; padding: 72px 32px 120px; }
.legal h1 { font-size: 42px; margin-bottom: 12px; }
.legal .date { color: var(--gray); margin-bottom: 40px; }
.legal h2 { font-size: 27px; margin: 40px 0 14px; }
.legal p, .legal li { font-size: 17.5px; margin-bottom: 12px; }
.legal ul { padding-left: 24px; margin-bottom: 16px; }
.legal .back { display: inline-block; margin-bottom: 40px; font-weight: 600; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1100px) {
  h1 { font-size: 52px; }
  h2 { font-size: 38px; }
  section { padding: 96px 0; }
  .hero__grid { gap: 44px; }
  .why__grid, .method__grid { gap: 48px; }
  .cases__grid, .formats__grid { grid-template-columns: 1fr 1fr; }
  .tracks__panel.active { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  h3 { font-size: 22px; }
  section { padding: 64px 0; }
  .container { padding: 0 22px; }

  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 18px; border-bottom: 1px solid rgba(19,38,61,.07); }
  .burger { display: flex; }
  .header .btn { display: none; }

  .hero { padding: 48px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .hero__photo { order: -1; max-width: 320px; }
  .hero__nodes { display: none; }
  .hero__tagline { margin-top: 32px; }

  .trust { padding-bottom: 56px; }
  .trust__in { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .trust__num { font-size: 42px; }

  .why__grid { grid-template-columns: 1fr; gap: 32px; }
  .why__sticky { position: static; }

  .structure__scheme { grid-template-columns: 1fr; }
  .scheme-step { padding: 0 0 36px 40px; }
  .scheme-step__track {
    position: absolute;
    left: 0; top: 6px; bottom: 0;
    width: 16px;
    flex-direction: column;
    margin: 0;
  }
  .scheme-step__line { width: 1.5px; height: auto; flex: 1; background: linear-gradient(180deg, rgba(226,234,244,.5), rgba(226,234,244,.08)); margin-top: 8px; }
  .scheme-step:last-child { padding-bottom: 0; }

  .tracks__panel { padding: 28px 24px; }
  .method__grid { grid-template-columns: 1fr; }
  .method__side { position: static; }
  .steps li { padding-left: 52px; }

  .cases__grid, .formats__grid, .deliver__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 380px; }
  .about__facts { grid-template-columns: 1fr; }
  .principles__grid { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .principles__quote { font-size: 22px; }
  .caio__grid { grid-template-columns: 1fr; gap: 36px; }

  .reviews__box { grid-template-columns: 1fr; padding: 32px 26px; gap: 16px; }
  .reviews__mark { display: none; }

  .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .form { padding: 30px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .faq summary { font-size: 18px; }
  .faq details > div { padding-right: 8px; }

  .footer__grid { flex-direction: column; gap: 28px; }
}
