:root {
  --ink: #022029;
  --text: #323232;
  --muted: #6f7a82;
  --line: #e7eef2;
  --soft: #f5f8fa;
  --white: #ffffff;
  --blue: #46ade6;
  --blue-deep: #0785c4;
  --green: #00be6e;
  --rust: #c85d3b;
  --yellow: #e6b446;
  --primary: var(--green);
  --primary-dark: #07824f;
  --accent: var(--ink);
  --bg-soft: var(--soft);
  --button-radius: 0;
  --promo: #8f1d26;
  --shadow: 0 18px 45px rgba(2, 32, 41, .12);
}

body[data-variant="smeta-2h"] { --primary: #ff6b1a; --primary-dark: #d44e00; --accent: #1a1a1a; --bg-soft: #fff7f0; --button-radius: 6px; }
body[data-variant="gaz-90-days"] { --primary: #2d3fe7; --primary-dark: #1827a6; --accent: #0f2342; --bg-soft: #f4f5fa; --button-radius: 6px; }
body[data-variant="fixed-price"] { --primary: #2c7a4f; --primary-dark: #1f5a39; --accent: #26352f; --bg-soft: #f8f4ed; --button-radius: 4px; }
body[data-variant="no-docs"] { --primary: #3d2e5c; --primary-dark: #261b3c; --accent: #d4a574; --bg-soft: #faf7f2; --button-radius: 24px; }
body[data-variant="official"] { --primary: #0f2342; --primary-dark: #071323; --accent: #9da8bc; --bg-soft: #f3f5f8; --button-radius: 2px; }
body[data-variant="cases"] { --primary: #ffd64a; --primary-dark: #d3aa17; --accent: #1a1a1a; --bg-soft: #111; --button-radius: 8px; }
body[data-variant="private-house"] { --primary: #c4623e; --primary-dark: #8b3f25; --accent: #8b5e3c; --bg-soft: #fff7f0; --button-radius: 6px; }
body[data-variant="cost"] { --primary: #ffd64a; --primary-dark: #1a1a1a; --accent: #1a1a1a; --bg-soft: #fff8d6; --button-radius: 4px; }
body[data-variant="may-offer"] { --primary: #e63946; --primary-dark: #a91722; --accent: #ffd64a; --bg-soft: #fff1f2; --button-radius: 8px; --promo: #e63946; }
body[data-variant="engineer"] { --primary: #1fa9a0; --primary-dark: #12766f; --accent: #0f4b47; --bg-soft: #f2fbfa; --button-radius: 24px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  letter-spacing: 0;
  padding-bottom: 0;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img { width: 154px; height: auto; }

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.nav a { padding: 8px 0; }

.topbar__phone {
  display: grid;
  gap: 3px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.phone-link {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.topbar__messengers {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-deep);
}

body[data-header="dark"] .topbar {
  background: rgba(15,35,66,.96);
  border-bottom-color: rgba(255,255,255,.12);
}

body[data-header="dark"] .nav,
body[data-header="dark"] .phone-link,
body[data-header="dark"] .footer strong {
  color: var(--white);
}

body[data-header="dark"] .topbar__phone,
body[data-header="dark"] .topbar__messengers,
body[data-header="dark"] .nav a {
  color: rgba(255,255,255,.76);
}

body[data-header="promo"] .topbar {
  border-top: 5px solid var(--primary);
}

body[data-header="engineer"] .brand::after {
  content: "На связи: Дмитрий";
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 6px 9px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.promo-strip {
  position: relative;
  z-index: 4;
  display: block;
  padding: 10px 18px;
  background: var(--promo);
  color: var(--white);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,32,41,.94) 0%, rgba(2,32,41,.82) 43%, rgba(2,32,41,.14) 100%),
    var(--hero-image) center / cover no-repeat;
  color: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 26px 76px;
}

.hero__inner--chat {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 42px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  max-width: 710px;
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  font-weight: 700;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 22px;
  line-height: 1.42;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--button-radius);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

body[data-variant="cost"] .btn--primary,
body[data-variant="cases"] .btn--primary {
  color: var(--ink);
}

body[data-button="sale"] .btn--primary {
  animation: pulse 1.8s infinite;
}

.btn--secondary {
  background: var(--white);
  color: var(--ink);
}

.btn--messenger {
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.btn--outline {
  border: 1px solid rgba(2,32,41,.2);
  background: var(--white);
  color: var(--ink);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,.42); }
  50% { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
}

.hero-card {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
}

.hero-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.aurora-panel {
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto auto;
  min-height: 590px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}

.aurora-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.aurora-panel__head .eyebrow {
  margin-bottom: 8px;
}

.aurora-panel__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.12;
}

.aurora-panel__head span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  background: rgba(0,190,110,.1);
  color: #08724a;
  font-size: 13px;
  font-weight: 700;
}

.aurora-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  max-height: 360px;
  overflow-y: auto;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(245,248,250,.94), rgba(255,255,255,.98));
}

.aurora-message {
  max-width: 86%;
  padding: 12px 14px;
  line-height: 1.45;
}

.aurora-message p {
  margin: 0;
  white-space: pre-wrap;
}

.aurora-message--bot {
  justify-self: start;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}

.aurora-message--user {
  justify-self: end;
  background: var(--ink);
  color: var(--white);
}

.aurora-message-form,
.aurora-lead-form {
  display: grid;
  gap: 10px;
  padding: 14px 18px 0;
}

.aurora-message-form {
  grid-template-columns: 1fr 128px;
  border-top: 1px solid var(--line);
}

.aurora-lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 18px;
}

.aurora-lead-form input[name="comment"] {
  grid-column: 1 / -1;
}

.aurora-lead-form .btn,
.aurora-lead-form .form-status {
  grid-column: 1 / -1;
}

.aurora-message-form input,
.aurora-lead-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.aurora-message-form input:focus,
.aurora-lead-form input:focus {
  outline: 2px solid rgba(70,173,230,.22);
  border-color: var(--blue);
}

body[data-chat-landing="true"] {
  padding-bottom: 0;
  background: #eef4f6;
}

body[data-chat-landing="true"] .topbar,
body[data-chat-landing="true"] .footer,
body[data-chat-landing="true"] .sticky-cta {
  display: none;
}

.chat-landing {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(2,32,41,.05), rgba(2,32,41,.12)),
    #eef4f6;
}

.chat-shell {
  width: min(920px, 100%);
  min-height: calc(100svh - 32px);
  margin: auto;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.chat-shell__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.chat-shell__brand {
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.chat-shell__brand img {
  width: 132px;
  flex: 0 0 auto;
}

.chat-shell__brand h1 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.08;
}

.chat-shell__brand p,
.chat-shell__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.chat-shell__status {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.chat-shell__status span {
  color: #08724a;
  font-weight: 700;
}

.chat-shell__status a {
  color: var(--ink);
  font-weight: 700;
}

.chat-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
}

.chat-prompts button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.chat-prompts button:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.chat-window {
  min-height: 0;
  display: grid;
  background:
    linear-gradient(180deg, rgba(245,248,250,.7), rgba(255,255,255,.95));
}

.aurora-messages--full {
  max-height: none;
  min-height: 0;
  align-content: end;
  padding: 24px 20px;
}

.aurora-message-form--full {
  grid-template-columns: minmax(0, 1fr) 132px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.aurora-message-form--full input {
  min-height: 52px;
  border-radius: 999px;
  padding-left: 18px;
}

.aurora-message-form--full .btn {
  min-height: 52px;
  border-radius: 999px;
}

.chat-shell__note {
  padding: 0 20px 16px;
  background: var(--white);
}

.promo-timer {
  display: inline-grid;
  grid-template-columns: auto repeat(3, auto auto);
  gap: 8px;
  align-items: center;
  margin: 24px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(230,57,70,.92);
  color: var(--white);
}

.promo-timer span {
  margin-right: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-timer b {
  min-width: 38px;
  padding: 8px 9px;
  background: var(--white);
  color: #8f1d26;
  text-align: center;
  font-size: 24px;
  line-height: 1;
}

.promo-timer small {
  color: rgba(255,255,255,.9);
}

.mini-form {
  display: grid;
  gap: 12px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mini-form input,
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.mini-form input:focus,
.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(70,173,230,.22);
  border-color: var(--blue);
}

.section {
  padding: 76px clamp(18px, 4vw, 54px);
}

.section--soft { background: var(--bg-soft); }

.section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.section-lead {
  max-width: 780px;
  margin: -18px 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

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

.card {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}

.card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  color: var(--blue-deep);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.step strong {
  color: var(--ink);
  font-size: 18px;
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.case {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, rgba(2,32,41,0) 0%, rgba(2,32,41,.82) 100%), var(--case-image) center / cover;
  color: var(--white);
}

.case strong { font-size: 16px; }
.case span { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 13px; }

.proof-line {
  background: var(--primary);
  color: var(--white);
}

body[data-variant="cost"] .proof-line,
body[data-variant="cases"] .proof-line {
  color: var(--ink);
}

.proof-line__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  padding: 14px 26px;
}

.proof-line strong,
.proof-line span {
  font-size: 15px;
  font-weight: 700;
}

.hero-feature {
  margin: 28px 0 0;
  max-width: 760px;
}

.hero-feature--timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-feature--timeline span,
.hero-feature--gantt button,
.hero-feature--stages button,
.slot-row button,
.calc-grid button {
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.hero-feature--timeline b {
  grid-column: 1 / -1;
  display: block;
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  color: var(--primary-dark);
}

.hero-feature--gantt {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.hero-feature--gantt button span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  margin-bottom: 5px;
}

.hero-feature--guard,
.hero-feature--savings {
  display: grid;
  gap: 8px;
}

.hero-feature--guard span,
.hero-feature--savings span {
  display: block;
  padding: 10px 12px;
  background: rgba(255,255,255,.13);
  border-left: 4px solid var(--primary);
  text-decoration: line-through;
}

.hero-feature--savings span {
  text-decoration: none;
  border-left-color: var(--accent);
}

.hero-feature--compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-feature--compare div,
.hero-feature--engineer,
.hero-feature--prices article {
  padding: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}

.hero-feature--compare b,
.hero-feature--compare span {
  display: block;
}

.hero-feature--compare span {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
}

.hero-feature--docs,
.verify-links,
.stats-row,
.slot-row,
.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-feature--docs a,
.verify-links a,
.stats-row strong {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: inherit;
  font-weight: 700;
  text-align: center;
}

.verify-links a,
.stats-row strong {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.hero-feature--map {
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.2);
  background:
    linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25% 50%, rgba(255,255,255,.12) 50% 75%, transparent 75%),
    rgba(0,0,0,.2);
  background-size: 38px 38px;
}

.hero-feature--map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 150px;
  padding: 5px 7px;
  background: var(--primary);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.hero-feature--stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-feature--prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-feature--prices article b,
.hero-feature--prices article strong,
.hero-feature--prices article span {
  display: block;
}

.hero-feature--prices article strong {
  margin: 8px 0;
  color: var(--primary);
  font-size: 24px;
}

.engineer-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  float: left;
  margin-right: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
}

.hero-feature--engineer b,
.hero-feature--engineer span,
.hero-feature--engineer em {
  display: block;
}

.hero-feature--engineer span,
.hero-feature--engineer em {
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}

.angle-block {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-tools {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 14px;
  margin-bottom: 18px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-filters button,
.case-tools input {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
}

.case-filters button.is-active,
.case-filters button:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cases-grid--expanded .case {
  min-height: 260px;
}

.case dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.case dl div {
  padding: 8px;
  background: rgba(255,255,255,.12);
}

.case dt {
  color: rgba(255,255,255,.65);
  font-size: 11px;
}

.case dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 700;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.exit-offer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.exit-offer.is-open { display: block; }

.exit-offer__shade {
  position: absolute;
  inset: 0;
  background: rgba(2,32,41,.66);
}

.exit-offer__panel {
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: 7vh auto;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.exit-offer h2 {
  margin: 0 34px 12px 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.08;
}

.exit-offer p {
  color: var(--muted);
  line-height: 1.5;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.price b {
  display: block;
  color: var(--blue-deep);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review {
  padding: 24px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(2,32,41,.06);
}

.review p { margin: 0 0 18px; line-height: 1.55; }
.review strong { color: var(--ink); }

.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-band .section__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 54px);
  background: #f1f5f7;
  color: var(--muted);
  font-size: 14px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer strong,
.footer a { color: var(--ink); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.is-open { display: block; }

.modal__shade {
  position: absolute;
  inset: 0;
  background: rgba(2,32,41,.62);
}

.modal__panel {
  position: relative;
  width: min(520px, calc(100% - 28px));
  margin: 6vh auto;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal h2 {
  margin: 0 32px 12px 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
}

.modal__text {
  margin: 0 0 18px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.agree {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.agree input { width: 18px; height: 18px; margin: 1px 0 0; }
.agree span { margin: 0 !important; color: var(--muted) !important; font-weight: 400 !important; }

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--blue-deep);
  font-size: 14px;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.privacy {
  padding: 72px 22px;
  background: var(--soft);
}

.privacy__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
}

.privacy h2 {
  margin: 28px 0 10px;
  color: var(--ink);
}

.privacy p {
  color: var(--muted);
  line-height: 1.6;
}

.privacy a,
.agree a {
  color: var(--blue-deep);
  text-decoration: underline;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  height: 56px;
  background: var(--ink);
  box-shadow: 0 -10px 30px rgba(2,32,41,.18);
}

.sticky-cta a,
.sticky-cta button {
  min-width: 0;
  height: 56px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
}

.sticky-cta--chat a:last-child {
  width: 60%;
  padding: 0 12px;
  background: var(--green);
  color: var(--white);
}

.sticky-cta a {
  width: 40%;
  background: var(--white);
  color: var(--ink);
}

.sticky-cta button {
  width: 60%;
  padding: 0 12px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cookie-banner div {
  display: flex;
  gap: 8px;
}

.cookie-banner button {
  min-height: 38px;
  border: 0;
  padding: 0 14px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner [data-cookie-decline] {
  background: var(--soft);
  color: var(--ink);
}

.thanks {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 60px 22px;
  background: var(--soft);
}

.thanks__panel {
  max-width: 720px;
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
}

.thanks p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: 150px 1fr;
  }
  .nav { display: none; }
  .hero__inner,
  .hero__inner--chat,
  .split,
  .cta-band .section__inner {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
  .cards,
  .hero-feature--timeline,
  .hero-feature--gantt,
  .hero-feature--docs,
  .hero-feature--prices,
  .verify-links,
  .stats-row,
  .price-row,
  .review-row {
    grid-template-columns: 1fr;
  }
  .case-tools {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body { padding-bottom: 56px; }
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
  }
  .brand img { width: 138px; }
  .topbar__phone { text-align: left; }
  .topbar__messengers { justify-content: flex-start; }
  .hero {
    background:
      linear-gradient(180deg, rgba(2,32,41,.93), rgba(2,32,41,.76)),
      var(--hero-image) center / cover no-repeat;
  }
  .hero__inner { padding: 46px 18px; }
  .hero__lead { font-size: 18px; }
  .hero__facts { gap: 8px; }
  .hero__facts li { width: 100%; }
  .actions .btn { width: 100%; }
  .hero-feature--compare,
  .hero-feature--stages,
  .slot-row,
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .proof-line__inner {
    display: grid;
    padding: 12px 18px;
  }
  .case dl { grid-template-columns: 1fr; }
  .aurora-panel { min-height: 560px; }
  .aurora-panel__head { padding: 20px 18px 16px; }
  .aurora-message { max-width: 94%; }
  .aurora-message-form,
  .aurora-lead-form {
    grid-template-columns: 1fr;
  }
  .chat-landing {
    padding: 0;
  }
  .chat-shell {
    min-height: 100svh;
    border: 0;
  }
  .chat-shell__head {
    display: grid;
    padding: 14px;
  }
  .chat-shell__brand {
    align-items: flex-start;
  }
  .chat-shell__brand img {
    width: 112px;
  }
  .chat-shell__status {
    justify-items: start;
  }
  .chat-prompts {
    padding: 10px 14px;
  }
  .aurora-messages--full {
    padding: 18px 14px;
  }
  .aurora-message-form--full {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }
  .chat-shell__note {
    padding: 0 14px 12px;
  }
  .promo-timer {
    width: 100%;
    grid-template-columns: 1fr repeat(3, auto auto);
  }
  .section { padding: 52px 18px; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer,
  .footer div {
    display: grid;
  }
  .modal__panel { margin: 16px auto; padding: 24px; }
  .sticky-cta { display: flex; }
  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 68px;
  }
  .cookie-banner div { justify-content: stretch; }
  .cookie-banner button { flex: 1; }
}
