:root {
  --bg: #ffffff;
  --soft: #f5f6f8;
  --soft-2: #eceff3;
  --text: #1f252d;
  --muted: #626c79;
  --line: #dde2e8;
  --accent: #e54a27;
  --accent-dark: #c83a1d;
  --accent-soft: #fff0eb;
  --dark: #171b21;
  --dark-2: #222831;
  --success: #258655;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(24, 31, 42, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; }
em { color: var(--accent); font-style: normal; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.brand b { display: block; font-size: 15px; line-height: 1.2; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { white-space: nowrap; font-size: 14px; font-weight: 700; }

/* Buttons */
.button,
.lead-submit,
.sticky-cta a,
.sticky-cta button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover, .lead-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button--small { min-height: 42px; padding: 0 17px; font-size: 13px; }
.button--outline { background: #fff; color: var(--text); border-color: var(--line); }
.button--outline:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: #efaa99; }
.button--light { background: #fff; color: var(--dark); }
.button--light:hover { background: #f1f3f5; }
.button--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.button--ghost-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.text-link { color: var(--accent-dark); font-weight: 750; }

/* Hero */
.hero {
  padding: 72px 0 0;
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 54px;
  align-items: center;
  padding-bottom: 56px;
}
.eyebrow,
.section-label {
  display: inline-flex;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 780;
}
.hero-lead {
  max-width: 730px;
  margin-top: 21px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.62;
}
.hero-lead b { color: var(--text); }
.hero-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.hero-outcomes div {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.hero-outcomes b { display: block; font-size: 17px; }
.hero-outcomes span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-note { max-width: 680px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 530px; }
.hero-photo {
  height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 30%, rgba(229,74,39,.18), transparent 42%),
    linear-gradient(145deg, #f2f4f6, #e7ebef);
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero-proof-card {
  position: absolute;
  left: -24px;
  bottom: 34px;
  width: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.hero-proof-card small { display: block; color: var(--accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hero-proof-card strong { display: block; margin-top: 4px; font-size: 42px; line-height: 1; }
.hero-proof-card span { display: block; margin-top: 5px; font-size: 14px; font-weight: 700; }
.hero-proof-card p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.trust-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.trust-line span { padding: 19px 16px; color: var(--muted); font-size: 13px; text-align: center; border-right: 1px solid var(--line); }
.trust-line span:last-child { border-right: 0; }
.trust-line b { color: var(--text); }

/* Sections */
.section { padding: 78px 0; }
.section--soft { background: var(--soft); }
.section--dark, .final-cta { background: var(--dark); color: #fff; }
.section-head {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-head h2 {
  margin-top: 11px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -.028em;
  font-weight: 760;
}
.section-head > p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.6;
}
.section-head--dark > p { color: rgba(255,255,255,.68); }
.section-head--dark .section-label { color: #ff9a82; }

/* Pain cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.problem-card,
.funnel-grid article,
.deliverables-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.problem-card > span,
.funnel-grid article > span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}
.problem-card h3,
.funnel-grid h3,
.deliverables-grid b {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.32;
}
.problem-card p,
.funnel-grid p,
.deliverables-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Fresh case */
.fresh-case {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.fresh-case__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.case-kicker { color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.fresh-case h3 { max-width: 780px; margin-top: 8px; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.3; }
.crm-badge {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 27px;
}
.metrics-grid div { padding: 20px; border-radius: 13px; background: var(--soft); border: 1px solid var(--line); }
.metrics-grid b { display: block; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.1; }
.metrics-grid span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.case-details { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.case-details span { padding: 8px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.case-disclaimer, .historical-note { margin-top: 17px; color: var(--muted); font-size: 13px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Video cases */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.video-preview { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe3e8; }
.video-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.video-preview:hover img { transform: scale(1.03); }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(229,74,39,.94);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.video-body { padding: 22px; }
.video-body small { color: var(--accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.video-body h3 { margin-top: 8px; font-size: 19px; line-height: 1.35; }
.video-body p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.video-body a { display: inline-block; margin-top: 14px; color: var(--accent-dark); font-size: 14px; font-weight: 750; }
.historical-note { text-align: center; }

/* Comparison */
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.compare-row { display: grid; grid-template-columns: 1fr 1.15fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row span, .compare-row strong { padding: 19px 22px; font-size: 15px; line-height: 1.45; }
.compare-row span { color: var(--muted); background: #fafbfc; border-right: 1px solid var(--line); font-weight: 500; }
.compare-row strong { font-weight: 700; }
.compare-row--head span { color: var(--text); background: var(--soft-2); font-size: 13px; font-weight: 800; text-transform: uppercase; }

/* Funnel */
.funnel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.funnel-grid article { position: relative; }
.funnel-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  z-index: 2;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  transform: translateY(-50%);
}

/* Personal */
.personal-panel {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.personal-photo { height: 380px; overflow: hidden; border-radius: 15px; background: var(--soft-2); }
.personal-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.personal-copy h3 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.25; }
.personal-copy > p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.personal-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 23px 0; }
.personal-facts div { padding: 14px; border-radius: 11px; background: var(--soft); }
.personal-facts b { display: block; font-size: 15px; }
.personal-facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Deliverables */
.deliverables-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.deliverables-grid article { min-height: 180px; }
.deliverables-grid b { margin-top: 0; }

/* Price */
.price-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.price-main, .price-side { padding: 32px; border: 1px solid var(--line); border-radius: 18px; }
.price-main { background: var(--dark); color: #fff; }
.price-main > span { color: rgba(255,255,255,.58); font-size: 13px; }
.price-main > strong { display: block; margin-top: 5px; font-size: clamp(42px, 5vw, 62px); line-height: 1.05; }
.price-main > p { margin-top: 14px; color: rgba(255,255,255,.68); font-size: 14px; }
.price-main .button { margin-top: 24px; }
.price-side { background: #fff; }
.price-side h3 { font-size: 23px; }
.price-side ul { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.price-side li { position: relative; padding-left: 27px; color: var(--muted); font-size: 15px; }
.price-side li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-side li b { color: var(--text); }
.prepay-note { margin-top: 22px; padding: 15px 17px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: var(--muted); font-size: 14px; }
.prepay-note b { color: var(--text); }

/* Responsibility */
.responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.responsibility-card { padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.05); }
.responsibility-card--yes { border-color: rgba(255,145,119,.42); background: rgba(229,74,39,.11); }
.responsibility-card h3 { font-size: 22px; }
.responsibility-card ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.responsibility-card li { position: relative; padding-left: 26px; color: rgba(255,255,255,.72); font-size: 15px; }
.responsibility-card li::before { content: "—"; position: absolute; left: 0; color: #ff9a82; font-weight: 800; }
.responsibility-card--yes li::before { content: "✓"; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 16px;
  font-weight: 720;
}
.faq-q span { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: var(--soft); }
.faq-q span::before, .faq-q span::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: var(--accent); }
.faq-q span::after { transform: rotate(90deg); transition: transform .2s; }
.faq-item.open .faq-q span::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-item.open .faq-a { max-height: 460px; }
.faq-a > div { padding: 0 20px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Final CTA */
.final-cta { padding: 82px 0; }
.audit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.audit-list, .audit-action { padding: 29px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.05); }
.audit-list h3 { font-size: 22px; }
.audit-list ul { list-style: none; display: grid; gap: 10px; margin-top: 17px; }
.audit-list li { position: relative; padding-left: 26px; color: rgba(255,255,255,.72); }
.audit-list li::before { content: "✓"; position: absolute; left: 0; color: #ff9a82; font-weight: 800; }
.audit-action { display: flex; flex-direction: column; justify-content: center; gap: 11px; }
.audit-action .button { width: 100%; }
.audit-action p { margin-top: 5px; color: rgba(255,255,255,.57); font-size: 13px; text-align: center; }

/* Footer */
.footer { padding: 32px 0 94px; background: #101318; color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer b { display: block; }
.footer span { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-legal { color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.6; text-align: right; }
.footer-legal a { color: rgba(255,255,255,.8); }

/* Sticky CTA */
.sticky-cta { display: none; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(13,17,23,.72);
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: grid; }
.modal-card { position: relative; width: min(100%, 470px); padding: 30px; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.25); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--soft); }
.modal-close::before, .modal-close::after { content: ""; position: absolute; left: 9px; right: 9px; top: 16px; height: 2px; background: var(--text); transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }
.lead-head .badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 800; }
.lead-head h3 { margin-top: 13px; font-size: 30px; }
.lead-head p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.lead-form { display: grid; gap: 12px; margin-top: 22px; }
.lead-field input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); outline: 0; }
.lead-field input:focus { border-color: #ed9a86; box-shadow: 0 0 0 3px rgba(229,74,39,.09); }
.lead-submit { width: 100%; border: 0; }
.lead-consent { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.lead-consent input { margin-top: 3px; }
.lead-consent a { color: var(--accent-dark); text-decoration: underline; }
.lead-error { color: #b8291c; font-size: 12px; }
.lead-trust { color: var(--muted); font-size: 12px; text-align: center; }
.lead-hp { position: absolute !important; left: -9999px !important; }
.lead-state { display: none; text-align: center; }
.lead-state.show { display: block; }
.state-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 25px; font-weight: 800; }
.lead-state h3 { font-size: 28px; }
.lead-state p { margin-top: 9px; color: var(--muted); }
.state-link { display: inline-flex; margin-top: 17px; color: var(--accent-dark); font-weight: 750; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-lead, .hero-note { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: min(100%, 560px); min-height: 480px; margin-inline: auto; }
  .hero-photo { height: 480px; }
  .hero-proof-card { left: 14px; }
  .trust-line { grid-template-columns: repeat(2, 1fr); }
  .trust-line span:nth-child(2) { border-right: 0; }
  .trust-line span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .video-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .funnel-grid { grid-template-columns: repeat(2, 1fr); }
  .funnel-grid article::after { display: none; }
  .personal-panel { grid-template-columns: 280px 1fr; gap: 28px; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .price-box, .audit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .header-row { min-height: 62px; }
  .brand small, .header-phone { display: none; }
  .button--small { min-height: 40px; padding-inline: 13px; }
  .hero { padding-top: 48px; }
  .hero-grid { padding-bottom: 40px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); line-height: 1.1; }
  .hero-lead { font-size: 16px; }
  .hero-outcomes { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 400px; }
  .hero-photo { height: 400px; }
  .hero-proof-card { left: 10px; bottom: 14px; width: 190px; padding: 14px; }
  .trust-line { grid-template-columns: 1fr; }
  .trust-line span { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-line span:last-child { border-bottom: 0; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(28px, 8.5vw, 36px); line-height: 1.18; }
  .section-head > p { font-size: 16px; }
  .problem-grid, .funnel-grid, .deliverables-grid, .responsibility-grid { grid-template-columns: 1fr; }
  .problem-card, .funnel-grid article, .deliverables-grid article { padding: 22px; }
  .fresh-case { padding: 23px; }
  .fresh-case__top { grid-template-columns: 1fr; }
  .crm-badge { width: 74px; height: 74px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row span { border-right: 0; border-bottom: 1px solid var(--line); }
  .compare-row--head { display: none; }
  .compare-row span::before { content: "Было: "; color: var(--text); font-weight: 750; }
  .compare-row strong::before { content: "Здесь: "; color: var(--accent-dark); }
  .personal-panel { grid-template-columns: 1fr; padding: 22px; }
  .personal-photo { height: 330px; }
  .personal-facts { grid-template-columns: 1fr; }
  .price-main, .price-side, .audit-list, .audit-action, .responsibility-card { padding: 23px; }
  .footer { padding-bottom: 86px; }
  .footer-row { flex-direction: column; }
  .footer-legal { text-align: left; }
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .sticky-cta a, .sticky-cta button { min-height: 48px; border: 0; }
  .sticky-cta a { background: #fff; color: var(--text); border: 1px solid var(--line); }
  .modal-card { padding: 25px 20px; }
}

@media (max-width: 420px) {
  .header-actions .button { font-size: 12px; padding-inline: 11px; }
  .brand b { font-size: 13px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .case-actions .button { width: 100%; }
}
.video-placeholder { width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#d9dee4,#bfc7d0);color:#49515b;font-weight:750; }

/* ============================================================
   v7 — блоки под структуру продающей страницы
   ============================================================ */

/* Подпись под блоком: честная оговорка */
.section-note {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
}
.section-note--left { margin-left: 0; text-align: left; }

/* Цепочка «качество лидов» */
.chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.chain-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: center;
}
.chain-node b { font-size: 15px; line-height: 1.3; }
.chain-node span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.chain-node--accent { border-color: #f0b3a2; background: var(--accent-soft); }
.chain-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  z-index: 2;
  color: var(--accent);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

/* Шаги «что я сделаю» */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-card > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}
.step-card h3 { margin-top: 14px; font-size: 19px; line-height: 1.3; }
.step-card p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* «Одно окно» — три коротких пункта */
.onewindow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #f0b3a2;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.onewindow div { display: flex; gap: 11px; align-items: flex-start; }
.onewindow i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.onewindow b { font-size: 15px; line-height: 1.4; font-weight: 720; }

/* Цена: итоговый бюджет на старт */
.total-budget {
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.total-budget b { display: block; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.total-budget span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* «Что вы НЕ покупаете» */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contrast-col { padding: 28px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.contrast-col h3 { font-size: 21px; }
.contrast-col ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.contrast-col li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.contrast-col li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #9aa4b0;
  font-weight: 800;
}
.contrast-col--yes { border-color: #f0b3a2; background: var(--accent-soft); }
.contrast-col--yes li { color: var(--text); }
.contrast-col--yes li::before { content: "✓"; color: var(--accent); }

/* Процесс после заявки */
.process-list { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.process-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.process-step > b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.process-step h3 { font-size: 19px; line-height: 1.3; }
.process-step p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.process-step em { display: inline-block; margin-top: 8px; font-weight: 750; }

/* «А если снова не получится» */
.risk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.risk-item {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}
.risk-item b { display: block; color: #ff9a82; font-size: 14px; font-weight: 800; }
.risk-item p { margin-top: 8px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.55; }
.risk-final {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 22px 26px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 17px;
  line-height: 1.55;
}

/* Финальный блок с формой */
.cta-form-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 22px; align-items: start; }
.cta-copy { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.05); }
.cta-copy h3 { font-size: 23px; line-height: 1.3; }
.cta-copy ul { list-style: none; display: grid; gap: 11px; margin-top: 18px; }
.cta-copy li { position: relative; padding-left: 26px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.5; }
.cta-copy li::before { content: "✓"; position: absolute; left: 0; color: #ff9a82; font-weight: 800; }
.cta-copy .cta-copy-note { margin-top: 18px; color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.5; }
.cta-copy .button--ghost-dark { width: 100%; margin-top: 18px; }

/* Карточка стоит внутри тёмной секции — цвет текста задаём явно,
   иначе h3 и абзац наследуют белый от .final-cta и пропадают на белом фоне */
.inline-form-card { padding: 30px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 26px 70px rgba(0,0,0,.28); }
.inline-form-card h3 { font-size: 24px; line-height: 1.25; }
.inline-form-card .lead-form-wrap > p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 980px) {
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain-node:nth-child(3)::after { display: none; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-form-grid { grid-template-columns: 1fr; }
  .risk-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .chain { grid-template-columns: 1fr; gap: 8px; }
  .chain-node { flex-direction: row; align-items: baseline; gap: 10px; padding: 15px 17px; text-align: left; }
  .chain-node b { flex: 0 0 auto; }
  .chain-node::after { display: none !important; }
  .chain-node:not(:last-child) { position: relative; }
  .steps-grid, .contrast-grid, .onewindow { grid-template-columns: 1fr; }
  .step-card { padding: 22px; }
  .onewindow { padding: 20px; }
  .contrast-col { padding: 22px; }
  .process-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .process-step > b { width: 38px; height: 38px; font-size: 13px; }
  .total-budget { padding: 20px; }
  .risk-final { padding: 20px 22px; font-size: 16px; }
  .cta-copy, .inline-form-card { padding: 23px 20px; }
  /* мобильные подписи в таблице страхов */
  .compare-row span::before { content: "Опасение: "; }
  .compare-row strong::before { content: "У меня: "; }
}

/* v6.1: compact first screen on phones */
@media (max-width: 720px) {
  .hero {
    min-height: 0;
    display: block;
    padding: 0;
  }
  .hero-grid {
    width: 100%;
    min-height: calc(100svh - 62px);
    gap: 0;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .045em;
  }
  .hero h1 {
    max-width: 620px;
    margin: 8px auto 0;
    font-size: clamp(28px, 8.4vw, 35px);
    line-height: 1.07;
    letter-spacing: -.025em;
  }
  .hero-lead {
    max-width: 620px;
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.43;
  }
  .hero-outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
  }
  .hero-outcomes div {
    min-width: 0;
    padding: 8px 5px;
    border-radius: 9px;
  }
  .hero-outcomes b {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero-outcomes span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.2;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .hero-actions .button {
    min-height: 50px;
    font-size: 14px;
  }
  /* Ссылка на кейсы остаётся доступной, но становится компактной — первый экран не растёт */
  .hero-actions .button--outline {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: underline;
  }
  .hero-actions .button--outline:hover { background: transparent; }
  .hero-note,
  .hero-visual {
    display: none;
  }
  .trust-line {
    margin-top: 0;
  }
  body.hero-visible .sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(115%);
  }
  .sticky-cta {
    transition: opacity .2s ease, transform .2s ease;
  }
}

@media (max-width: 360px) {
  .hero-grid {
    padding-top: 14px;
    padding-bottom: 16px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.38;
  }
  .hero-outcomes b {
    font-size: 12px;
  }
  .hero-outcomes span {
    font-size: 9px;
  }
}

/* ============================================================
   v8 — свежий кейс, CTA-полосы, мессенджеры, конверсионные формы
   ============================================================ */

/* Скриншот статистики из рекламных кабинетов */
.case-shot { margin: 22px 0 0; }
.case-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.case-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* CTA-полоса после кейса и после отзывов */
.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 22px;
  padding: 26px 30px;
  border: 1px solid #f0b3a2;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.cta-strip__text b { display: block; font-size: 20px; line-height: 1.3; }
.cta-strip__text span { display: block; margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.cta-strip__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-strip__actions .button { white-space: nowrap; }
.cta-strip__messengers { display: flex; gap: 7px; justify-content: center; }
.cta-strip__messengers a {
  flex: 1;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(200,58,29,.3);
  border-radius: 9px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease;
}
.cta-strip__messengers a:hover { background: #fff6f3; border-color: var(--accent); }

/* Ряд мессенджеров (в блоке про Ильмаза и в состояниях формы) */
.messenger-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.messenger-row--center { justify-content: center; }
.messenger-row__label { color: var(--muted); font-size: 14px; margin-right: 2px; }
.messenger-row a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 720;
  transition: border-color .18s ease, background .18s ease;
}
.messenger-row a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Мессенджеры в тёмном финальном блоке */
.cta-messengers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.cta-messengers > span { width: 100%; color: rgba(255,255,255,.6); font-size: 13.5px; }
.cta-messengers .button { flex: 1; min-width: 92px; min-height: 44px; padding: 0 12px; font-size: 13px; }

/* Договор и оплата в блоке цены */
.price-legal {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.price-legal b { display: block; font-size: 15px; }
.price-legal span { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.5; }

/* Что будет после отправки формы */
.lead-next { list-style: none; display: grid; gap: 9px; margin: 4px 0 0; padding: 0; }
.lead-next li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.lead-next li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

/* Альтернатива форме — написать сразу */
.lead-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.lead-alt > span { width: 100%; margin-bottom: 2px; color: var(--muted); font-size: 12.5px; }
.lead-alt a {
  flex: 1;
  min-width: 84px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 720;
  transition: border-color .18s ease, background .18s ease;
}
.lead-alt a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Доказательство на первом экране мобильной версии (десктоп — скрыт, там есть карточка у фото) */
.hero-proof-mobile { display: none; }

/* Длинные ответы FAQ (окупаемость, договор) не должны обрезаться */
.faq-item.open .faq-a { max-height: 620px; }

@media (max-width: 980px) {
  .cta-strip { grid-template-columns: 1fr; gap: 18px; }
  .cta-strip__actions .button { width: 100%; }
}

@media (max-width: 720px) {
  .cta-strip { padding: 22px 20px; }
  .cta-strip__text b { font-size: 18px; }
  .cta-strip__messengers a { font-size: 12.5px; padding: 0 8px; }
  .case-shot figcaption { font-size: 12px; }
  .messenger-row a { flex: 1; justify-content: center; min-width: 90px; }
  .messenger-row__label { width: 100%; margin-bottom: 2px; }
  .cta-messengers .button { min-width: 0; }

  /* Компактная плашка с фактом из кейса — на мобильном фото и карточка скрыты */
  .hero-proof-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #f0b3a2;
    border-radius: 12px;
    background: var(--accent-soft);
    text-align: left;
  }
  .hero-proof-mobile b {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.02em;
  }
  .hero-proof-mobile span {
    flex: 1;
    color: var(--text);
    font-size: 12px;
    line-height: 1.35;
  }
  .hero-proof-mobile i {
    flex: 0 0 auto;
    color: var(--accent);
    font-style: normal;
    font-weight: 800;
  }
  .faq-item.open .faq-a { max-height: 780px; }
}

/* <picture> не должен вмешиваться в раскладку — фото тянется как раньше */
.hero-photo picture,
.personal-photo picture { display: contents; }
.case-shot picture { display: block; }
.case-shot a { display: block; }
.case-shot figcaption b { color: var(--accent-dark); font-weight: 720; }

/* «Как начинался запуск» — ссылки на публичные разборы раннего этапа */
.case-origin {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.case-origin__text b { display: block; font-size: 17px; line-height: 1.35; }
.case-origin__text span {
  display: block;
  margin-top: 8px;
  max-width: 760px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.case-origin .case-actions { margin-top: 18px; }

/* Расходы: фиксированная часть и та, что считается под проект */
.budget-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.budget-split__col {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.budget-split__col--var { border-color: #f0b3a2; background: var(--accent-soft); }
.budget-split__tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.budget-split__col--var .budget-split__tag { background: #fff; color: var(--accent-dark); }
.budget-split__col b { display: block; margin-top: 13px; font-size: 20px; line-height: 1.3; }
.budget-split__col p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }

@media (max-width: 720px) {
  .budget-split { grid-template-columns: 1fr; }
  .budget-split__col { padding: 22px; }
  .budget-split__col b { font-size: 18px; }
}
