:root {
  --bg: #fdf8f3;
  --bg-alt: #f8eee3;
  --surface: #ffffff;
  --ink: #1f1a17;
  --ink-soft: #6b605a;
  --accent: #e4572e;
  --accent-dark: #b53a18;
  --accent-soft: #fde6dc;
  --ok: #14a37f;
  --border: #ecdccd;
  --shadow: 0 22px 48px -26px rgba(181, 58, 24, 0.35);
  --radius: 18px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section-eyebrow, .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--ink);
}
.section-lead { color: var(--ink-soft); max-width: 740px; margin: -24px 0 36px; font-size: 16.5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: normal;
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(181, 58, 24, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(181, 58, 24, 0.6); }
.btn--ghost { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn--ghost:hover { background: rgba(228, 87, 46, 0.08); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 8px 24px -20px rgba(120, 60, 30, 0.35); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 16px 24px;
}
.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; flex-shrink: 0; }
.logo__main { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.logo__main i { font-style: normal; color: var(--accent); }
.logo__suffix { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.03em; }

.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: color 0.2s ease; }
.nav a:hover { color: var(--accent-dark); }
.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; }
.burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: 0.25s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { padding: 72px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 87, 46, 0.16), rgba(228, 87, 46, 0) 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero__inner > * { min-width: 0; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero__lead { font-size: 17px; color: var(--ink-soft); max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 38px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--accent-dark); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--ink-soft); }
.hero__note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

.hero__card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 26px 26px 22px;
}
.hero__card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hero__card-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.hero__card-badge { background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.pipeline { display: flex; flex-direction: column; gap: 10px; }
.pipeline li {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 500;
}
.pipeline__n {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pipeline li small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.hero__card-foot { margin-top: 16px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--border); padding-top: 14px; }

/* RECOGNIZE */
.recognize { padding: 80px 0; background: var(--bg-alt); }
.recognize__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 28px; }
.recognize__list li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px 18px 50px; position: relative; font-size: 15.5px;
}
.recognize__list li::before {
  content: ""; position: absolute; left: 20px; top: 24px; width: 12px; height: 12px;
  border-radius: 3px; background: var(--accent); transform: rotate(45deg);
}
.recognize__care { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--accent-dark); max-width: 780px; }

/* SERVICES / CARDS */
.services { padding: 80px 0; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience--4 { grid-template-columns: repeat(4, 1fr); }
.audience__card { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--border); }
.audience__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.audience__card h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 8px; line-height: 1.25; }
.audience__card p { font-size: 14.5px; color: var(--ink-soft); }

/* METHOD */
.method { padding: 80px 0; background: var(--bg-alt); }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.method__box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; }
.method__box h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 14px; }
.method__box p { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.method__box p:last-child { margin-bottom: 0; }
.method__box--accent { background: linear-gradient(160deg, #b53a18, #e4572e); border-color: transparent; }
.method__box--accent h3, .method__box--accent p, .method__box--accent li { color: #fff; }
.method__box--accent .checklist li::before { background: #fff; }
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.checklist--wide { margin-top: 12px; }

/* PRICING */
.pricing { padding: 80px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.price-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
}
.price-card--hot { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card__badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.price-card__from { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.price-card__num { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--accent-dark); line-height: 1.05; }
.price-card__num small { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.price-card__desc { font-size: 14px; color: var(--ink-soft); margin: 12px 0 18px; }
.price-card .checklist { margin-bottom: 24px; flex-grow: 1; }
.price__table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.price__row { display: grid; grid-template-columns: 1.1fr 1.5fr 0.9fr; gap: 16px; padding: 17px 26px; border-bottom: 1px solid var(--border); align-items: center; font-size: 15px; }
.price__row:last-child { border-bottom: none; }
.price__row--head { background: var(--bg-alt); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.price__row span:first-child { font-weight: 600; }
.price__row span:last-child { font-weight: 700; color: var(--accent-dark); text-align: right; }
.price__row--head span:last-child { color: var(--ink-soft); }
.price__note { margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); }

/* PROCESS */
.process { padding: 80px 0; background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { text-align: center; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.step h3 { font-family: var(--font-head); font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* WHO */
.who { padding: 80px 0; }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-alt); }
.faq__list { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--accent); margin-left: 12px; flex-shrink: 0; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }

/* FORM */
.form-section { padding: 80px 0; }
.form-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-section__inner > * { min-width: 0; }
.form-section__text p { font-size: 15.5px; color: var(--ink-soft); margin: 14px 0 22px; }
.form-section__contacts { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 18px; font-weight: 500; transition: border-color 0.2s ease;
}
.contact-card svg { color: var(--accent); flex-shrink: 0; }
.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-soft); }
.form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px;
}
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form textarea, .form select {
  font-family: var(--font-body); border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; color: var(--ink); background: var(--bg); resize: vertical;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form__hint { font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.form__hint a { text-decoration: underline; }

/* FOOTER */
.footer { padding: 44px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer__brand p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; max-width: 420px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: var(--ink-soft); }
.footer__links a:hover { color: var(--accent-dark); }
.footer__copy { font-size: 13px; color: var(--ink-soft); }
.footer__bottom { padding: 30px 0; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* FAB */
.fab {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(181, 58, 24, 0.6); z-index: 90; transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* BREAKPOINTS */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px;
  }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .recognize__list { grid-template-columns: 1fr; }
  .audience, .audience--4 { grid-template-columns: 1fr 1fr; }
  .method__grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-section__inner { grid-template-columns: 1fr; }
  .price__row { grid-template-columns: 1fr; gap: 4px; }
  .price__row span:last-child { text-align: left; }
  .price__row--head { display: none; }
}
@media (max-width: 820px) { .header__actions .btn { display: none; } .header__inner { gap: 12px; } }
@media (max-width: 560px) {
  .audience, .audience--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .logo__main { font-size: 20px; }
  .hero__stats { gap: 24px; }
  .form { padding: 24px 20px; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 380px) {
  .logo__suffix { display: none; }
}

/* ===== DOC PAGES ===== */
.tag { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--accent-dark); background: var(--surface); }
.doc-header { position: sticky; top: 0; z-index: 100; background: rgba(253, 248, 243, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.container.doc-bar { max-width: 920px; padding-left: 48px; padding-right: 48px; }
.doc-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.doc-bar__actions { display: flex; align-items: center; gap: 14px; }
.container.doc-hero, .container.doc-section { max-width: 920px; padding-left: 48px; padding-right: 48px; }
.doc-hero { padding-top: 56px; padding-bottom: 36px; }
.doc-hero .tag { margin-bottom: 16px; }
.doc-hero h1 { font-family: var(--font-head); font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.doc-hero p { color: var(--ink-soft); font-size: 16px; max-width: 660px; }
.doc-section { padding-top: 0; padding-bottom: 70px; }
.doc-section h2 { font-family: var(--font-head); font-size: 22px; margin: 0 0 18px; color: var(--accent-dark); }
.doc-section h2:not(:first-child) { margin-top: 40px; }
.script-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px; }
.script-block h3 { font-family: var(--font-head); font-size: 16.5px; margin-bottom: 10px; color: var(--accent-dark); }
.script-block p { color: var(--ink); font-size: 14.5px; margin-bottom: 10px; }
.script-block p:last-child { margin-bottom: 0; }
.script-block .who { color: var(--ink-soft); font-weight: 600; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.material-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.material-card__icon { margin-bottom: 4px; color: var(--accent); }
.material-card h3 { font-family: var(--font-head); font-size: 18px; }
.material-card p { color: var(--ink-soft); font-size: 14px; flex-grow: 1; }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 8px; }
.usp { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.usp__num { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--accent-dark); margin-bottom: 8px; }
.usp p { color: var(--ink-soft); font-size: 14px; }
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid .doc-service { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.grid .doc-service h4 { font-family: var(--font-head); font-size: 16px; margin: 8px 0; }
.grid .doc-service p { color: var(--ink-soft); font-size: 13.5px; }
.grid .doc-service__tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.03em; }
.doc-price-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 16px; }
.doc-price-row { display: grid; grid-template-columns: 1.1fr 1.6fr 0.8fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 14.5px; align-items: center; }
.doc-price-row:last-child { border-bottom: none; }
.doc-price-row--head { background: var(--accent-dark); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.doc-price-row span:first-child { font-weight: 700; }
.doc-price-row--head span:first-child { color: #fff; }
.doc-price-row span:last-child { font-weight: 700; color: var(--accent-dark); text-align: right; }
.doc-price-row--head span:last-child { color: #fff; }

@media (max-width: 900px) {
  .container.doc-hero, .container.doc-section, .container.doc-bar { padding-left: 24px; padding-right: 24px; }
  .material-grid, .usp-grid, .grid--3 { grid-template-columns: 1fr; }
  .doc-price-row { grid-template-columns: 1fr; gap: 4px; }
  .doc-price-row span:last-child { text-align: left; }
  .doc-hero h1 { font-size: 27px; }
}

/* CASE */
.case { padding: 80px 0; }
.case__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.case__grid > * { min-width: 0; }
.case__box { background: linear-gradient(160deg, #b53a18, #e4572e); border-radius: var(--radius); padding: 14px 30px; box-shadow: var(--shadow); }
.case__row { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; color: #fff; }
.case__row + .case__row { border-top: 1px solid rgba(255,255,255,.25); }
.case__row span { font-size: 14px; opacity: .85; }
.case__row strong { font-family: var(--font-head); font-size: 34px; line-height: 1.1; }
.case__row i { font-style: normal; opacity: .7; }
.case__text p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.case__note { font-size: 13.5px !important; border-left: 3px solid var(--accent); padding-left: 14px; }
@media (max-width: 900px) { .case__grid { grid-template-columns: 1fr; } }

/* sivtsova: логотип-знак, кейсы, об эксперте */
.logo__main { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { flex-shrink: 0; color: var(--accent); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.case-card__niche { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.case-card__num { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--ink); margin-bottom: 6px; }
.case-card__num small { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.case-card p { font-size: 14.5px; color: var(--ink-soft); }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case-card__tags span { background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.about__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; }
.about__grid > * { min-width: 0; }
.about__text p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
.about__facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 26px; box-shadow: var(--shadow); }
.about__fact { padding: 16px 0; }
.about__fact + .about__fact { border-top: 1px solid var(--border); }
.about__fact strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--accent-dark); }
.about__fact span { font-size: 14px; color: var(--ink-soft); }
.notfit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .cases-grid, .notfit { grid-template-columns: 1fr 1fr; } .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cases-grid, .notfit { grid-template-columns: 1fr; } }

/* ===== правки v2: первый экран, отзывы, об эксперте, MAX, cookie, типографика ===== */
h1, h2, h3, .section-title { text-wrap: balance; }
p, li, small { text-wrap: pretty; }
.nw { white-space: nowrap; }
@media (max-width: 760px) { .nw { white-space: normal; } }

.hero { padding: 0; }
.hero::before { display: none; }
.hero__inner { grid-template-columns: 1fr 500px; gap: 24px; align-items: stretch; min-height: 816px; padding-top: 0; }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: 0; position: relative; z-index: 3; min-width: 0; }
.hero__content .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: 54px; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 32px; }
.hero__lead { font-size: 18px; line-height: 1.7; color: #4d433d; max-width: 590px; margin-bottom: 48px; }
.hero__cta { margin-bottom: 64px; flex-wrap: nowrap; }
.hero__stats { flex-wrap: nowrap; gap: 34px; padding-top: 32px; border-top: 1px solid var(--border); max-width: 600px; }
.hero__stats .stat strong { font-size: 28px; white-space: nowrap; }
.hero__stats .stat span { display: block; font-size: 13px; line-height: 1.35; max-width: 170px; margin-top: 4px; }
.hero__visual { position: relative; min-width: 0; }
.hero__glow { position: absolute; right: -120px; top: 10px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, #f8d3bd 0%, #fbe4d6 45%, rgba(253,248,243,0) 70%); z-index: 0; }
.hero__photo { position: absolute; right: -10px; bottom: 0; width: 520px; max-width: none; z-index: 1; height: auto; }
.hero__visual .hero__card { position: absolute; z-index: 2; left: -40px; bottom: 48px; width: 372px; padding: 20px 20px 16px; box-shadow: 0 22px 48px -20px rgba(181,58,24,.45), 0 2px 10px rgba(31,26,23,.06); border: 0; }
.hero__visual .hero__card-top { margin-bottom: 12px; }
.hero__visual .hero__card-title { font-family: var(--font-body); font-size: 15px; }
.hero__visual .pipeline { gap: 8px; }
.hero__visual .pipeline li { align-items: flex-start; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.35; background: #fffaf6; }
.hero__visual .pipeline__n { width: 24px; height: 24px; margin-top: 1px; }
.hero__visual .pipeline li small { font-size: 12.5px; line-height: 1.4; margin-top: 2px; font-weight: 400; }
.hero__visual .hero__card-foot { margin-top: 12px; padding-top: 10px; font-size: 12.5px; }

@media (max-width: 900px) {
  .hero__inner { display: block; min-height: 0; padding: 24px 24px 40px; }
  .hero__content { padding: 0; }
  .hero__content .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(32px, 6vw, 40px); line-height: 1.15; margin-bottom: 16px; }
  .hero__lead { font-size: 16px; margin-bottom: 22px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 28px; }
  .hero__stats { flex-direction: column; gap: 14px; padding-top: 0; border-top: 0; margin-bottom: 8px; }
  .hero__stats .stat span { max-width: none; }
  .hero__visual { margin: 0 -24px; }
  .hero__glow { right: auto; left: 50%; transform: translateX(-50%); top: 20px; width: 420px; height: 420px; }
  .hero__photo { position: relative; right: auto; width: 100%; max-width: 520px; margin: 0 auto; max-height: 430px; object-fit: cover; object-position: top center; }
  .hero__visual .hero__card { position: relative; left: auto; bottom: auto; width: auto; max-width: 480px; margin: -56px 24px 0; }
}
@media (max-width: 560px) {
  .hero__inner { padding: 24px 16px 40px; }
  .hero__visual { margin: 0 -16px; }
  .hero__visual .hero__card { margin: -56px 16px 0; max-width: none; }
  .hero { padding: 0; }
}

/* отзывы */
.reviews { padding: 80px 0; background: var(--bg-alt); }
.reviews__grid { column-count: 3; column-gap: 20px; }
.review { break-inside: avoid; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 12px 14px; box-shadow: var(--shadow); }
.review__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.review__btn img { width: 100%; height: auto; display: block; border-radius: 10px; }
.review figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; padding: 0 4px; }
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(31,26,23,.82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(960px, 100%); max-height: 100%; border-radius: 12px; background: #fff; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) { .reviews__grid { column-count: 2; } }
@media (max-width: 640px) {
  .reviews__grid { column-count: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
  .review { flex: 0 0 86%; scroll-snap-align: center; margin: 0; align-self: flex-start; }
}

/* об эксперте */
.about__grid--photo { grid-template-columns: 0.8fr 1.2fr; gap: 44px; }
.about__photo { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 2 / 3; object-fit: cover; }
.about__side .about__facts { margin-top: 26px; }
.about__side .about__text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .about__grid--photo { grid-template-columns: 1fr; } .about__photo { max-width: 420px; } }

/* MAX */
.max-ico { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.fab-stack { position: fixed; bottom: 26px; right: 26px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.fab-stack .fab { position: static; }
.fab--max { background: #fff; box-shadow: 0 14px 30px -10px rgba(31,26,23,.35); }
.fab--max .max-ico { width: 34px; height: 34px; }

/* согласия под формой */
.consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--ink-soft) !important; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--accent); }
.consent a { color: var(--accent-dark); text-decoration: underline; }
.form__hint--err { color: #b53a18; text-align: left; display: none; }
.form__hint--err.is-on { display: block; }

/* cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 820px; margin: 0 auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 20px; font-size: 13.5px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 340px; }
.cookie a { color: #ffb59f; text-decoration: underline; }
.cookie button { flex: 0 0 auto; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.cookie button:hover { background: var(--accent-dark); }
.fab-stack { transition: bottom .2s ease; }
.hero h1 .nw { color: inherit; }

/* ===== kontext-rekl.ru: дополнения к дизайну ===== */
a.case-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
a.case-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.case-card__more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--accent-dark); }
.case-card__more::after { content: " →"; }
.cases-all { margin-top: 28px; text-align: center; }
.legal { padding: 120px 0 72px; }
.legal__inner { max-width: 820px; }
.legal h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 24px; }
.legal h2 { font-family: var(--font-head); font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal a { color: var(--accent-dark); }
/* цифры и ниша в карточках кейсов: правило .case-card p перебивало их размер */
.case-card p.case-card__num { font-size: 34px; color: var(--ink); }
.case-card p.case-card__niche { font-size: 12.5px; color: var(--accent-dark); }
