/* O.G.T. — AI-ассистенты, Telegram-боты и веб-сервисы */
:root {
  --bg-main: #fafbf9;
  --bg-secondary: #eef4ef;
  --bg-surface: #ffffff;
  --bg-dark: #18382d;
  --text-main: #172720;
  --text-muted: #526359;
  --accent-emerald: #116f56;
  --accent-emerald-dark: #0d5844;
  --accent-amber: #d97706;
  --accent-amber-deep: #b45309;
  --accent-amber-light: #fde68a;
  --accent-amber-soft: #fef3c7;
  --accent-amber-dark: #78350f;
  --accent-amber-border: #f59e0b;
  --accent-honey-btn: #efc482;
  --accent-honey-btn-hover: #f7d59c;
  --accent-link: #11654f;
  --border-color: #dce5de;
  --border-strong: #c3d5c8;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg-main);
  color: var(--text-main);
  font: 400 16px/1.65 var(--font-body);
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
svg { vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent-link); outline-offset: 4px; }
[hidden] { display: none !important; }

.ruble {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1200;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent-link);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

section[id] { scroll-margin-top: 104px; }
.section { padding-block: 84px; }
.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-link);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-title {
  font: 800 clamp(28px, 3.3vw, 42px)/1.18 var(--font-heading);
  letter-spacing: -1.2px;
  text-wrap: balance;
  color: var(--text-main);
}
.section-title span { color: var(--accent-emerald); }
.section-description {
  max-width: 650px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* === Шапка === */
.premium-header { position: fixed; inset: 14px 0 auto; z-index: 1000; }
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 32px);
  max-width: 1136px;
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 20px;
  border: 1px solid #e0e7e1;
  border-radius: 999px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 5px 24px rgb(23 39 32 / 5%);
}
.logo-block { display: flex; flex: 0 0 auto; }
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 12px;
}
.brand-logo { display: block; flex-shrink: 0; width: 96px; height: 35px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid #d7e2da; }
.brand-title { font: 700 13.5px/1.15 var(--font-heading); letter-spacing: 0.1px; white-space: nowrap; }
.logo-subtext {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: #3f5347;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent-link); text-decoration: underline; }
.nav-links a[aria-current="location"] {
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-color: var(--accent-amber-border);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-emerald);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms;
}
.btn-header-cta:hover { background: var(--accent-emerald-dark); }
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: #fff;
  color: #183a2c;
  cursor: pointer;
}
.mobile-menu-btn svg { display: block; width: 22px; height: 22px; }

/* === Первый экран (Hero) === */
.premium-hero {
  max-width: 1160px;
  margin-inline: auto;
  padding: 132px 0 64px;
}
.premium-hero .hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  padding-inline: 24px;
}
.hero-left-premium { min-width: 0; }
.hero-eyebrow {
  margin-bottom: 16px;
  color: var(--accent-link);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  line-height: 1.7;
}
.hero-role-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--accent-amber-light);
  border: 1px solid var(--accent-amber-border);
  color: var(--accent-amber-dark);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.hero-title-premium {
  margin-bottom: 20px;
  color: var(--text-main);
  font: 800 clamp(32px, 3.8vw, 52px)/1.13 var(--font-heading);
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.hero-title-premium span { color: var(--accent-emerald); }
.hero-audience {
  max-width: 560px;
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 16.5px;
  line-height: 1.65;
}
.hero-audience strong { font-weight: 700; color: #143628; }
.hero-desc-premium {
  max-width: 540px;
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.68;
}
.hero-actions-premium {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-primary-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--accent-emerald);
  border-radius: 8px;
  background: var(--accent-emerald);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms;
}
.btn-primary-premium:hover { background: var(--accent-emerald-dark); }
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--accent-emerald);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-link);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.btn-secondary-hero:hover { background: #edf5f0; }
.hero-reassurance {
  max-width: 560px;
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-emerald);
  background: #edf6ef;
  color: #183d2e;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.hero-microproof {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

/* Правая визуальная панель Hero */
.hero-visual-panel {
  min-width: 0;
  width: 100%;
  max-width: 410px;
  justify-self: end;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d5e1d9;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgb(23 39 32 / 6%);
}
.hero-portrait-card {
  overflow: hidden;
  border: 1px solid #dce5de;
  border-radius: 14px;
  background: #f5f8f5;
}
.hero-portrait-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 15%;
}
.hero-portrait-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #e3ece5;
}
.hero-portrait-meta strong {
  color: var(--text-main);
  font: 700 14.5px/1.3 var(--font-heading);
}
.hero-portrait-meta span {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.hero-trust-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  list-style: none;
}
.hero-trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.hero-trust-bar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--accent-link);
  stroke-width: 2;
  flex-shrink: 0;
}

/* === 3 типовые задачи === */
.directions-section {
  border-block: 1px solid var(--border-color);
  background: #ffffff;
}
.business-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.business-scenario-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fafbf9;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.business-scenario-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.business-scenario-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #e9f4ed;
  border: 1px solid #cce2d3;
  color: var(--accent-link);
}
.business-scenario-icon svg { width: 18px; height: 18px; }
.business-scenario-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--accent-link);
}
.business-scenario-card h3 {
  font: 800 18px/1.35 var(--font-heading);
  color: var(--text-main);
  margin-bottom: 10px;
}
.business-scenario-problem {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.business-scenario-solution {
  padding: 12px 14px;
  background: #eef6f1;
  border-left: 3px solid var(--accent-emerald);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #1e4231;
}
.business-scenario-meta {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid #e1ebe4;
}
.business-scenario-meta > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.business-scenario-meta dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}
.business-scenario-meta dd {
  margin: 0;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}
.business-scenario-meta > div:nth-child(-n+2) dd {
  font-weight: 700;
  color: #133b27;
}

.integrations-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  padding: 16px 20px;
  background: #f5f9f6;
  border: 1px solid var(--border-color);
  border-radius: 14px;
}
.integrations-strip-label {
  color: var(--accent-link);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.integrations-strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.integrations-strip-list li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #d2e1d7;
  background: #ffffff;
  color: #214233;
  font-size: 12.5px;
  font-weight: 600;
}

/* === Главный кейс «Тропа» === */
.case-section {
  padding-block: 84px;
  background: #f0f5f1;
  border-bottom: 1px solid var(--border-color);
}
.case-eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.case-label {
  color: var(--accent-link);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.case-badge {
  padding: 5px 12px;
  border: 1px solid #cce2d3;
  border-radius: 999px;
  color: #1d5742;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
}
.case-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.case-heading > div { max-width: 760px; min-width: 0; }
.case-heading h2 {
  font: 800 clamp(28px, 3.2vw, 42px)/1.18 var(--font-heading);
  letter-spacing: -1.1px;
  color: var(--text-main);
  text-wrap: balance;
}
.case-heading h2 span { color: var(--accent-emerald); }
.case-lead {
  max-width: 650px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.case-tldr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--accent-amber);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: 18px;
}
.case-tldr-badge {
  display: inline-block;
  background: var(--accent-amber-deep);
  border: 1px solid var(--accent-amber-deep);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.case-tldr p { color: #33230a; font-size: 14px; line-height: 1.55; margin: 0; }
.case-text-link, .case-code-link {
  color: var(--accent-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
.case-text-link:hover, .case-code-link:hover { text-decoration: underline; }
.case-heading > .case-text-link { flex: 0 0 auto; white-space: nowrap; }

.case-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  padding: 28px;
  background: #fff;
  border: 1px solid #d7e3da;
  border-radius: 22px;
  box-shadow: 0 10px 34px rgb(24 35 31 / 4%);
}
.case-visual { min-width: 0; margin: 0; }
.case-figure { margin: 0; }
.case-window-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: #eaf0ec;
  border: 1px solid #d8e1db;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.case-window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #9db2a4; }
.case-window-bar p { margin-left: 8px; color: #496052; font-size: 11.5px; font-weight: 600; }
.case-screen-link {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e1db;
  border-radius: 0 0 12px 12px;
  background: #f9faf9;
}
.case-screen-link img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.case-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #115e48;
  color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 22%);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 150ms;
}
.case-play svg { color: #fde68a; }
.case-screen-link:hover .case-play { background: #0a4836; }
.case-visual figcaption { margin-top: 10px; color: var(--text-muted); font-size: 12.5px; line-height: 1.55; }
.case-facts { display: flex; align-items: center; list-style: none; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.case-facts li {
  padding: 5px 10px;
  border: 1px solid #dbe6de;
  border-radius: 6px;
  background: #f3f7f4;
  color: #2f513f;
  font-size: 12px;
  font-weight: 600;
}

.case-story { min-width: 0; }
.case-story h3, .case-details h3 {
  color: var(--text-main);
  font: 800 22px/1.3 var(--font-heading);
  letter-spacing: -0.4px;
}
.case-story-list { margin: 18px 0; }
.case-story-list > div + div { margin-top: 14px; }
.case-story-list dt {
  color: var(--accent-link);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-story-list dd { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

.case-impact-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  background: #fafbf9;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}
.case-impact-item { padding: 10px 12px; border-radius: 8px; }
.case-impact-item--before { background: #fdf5f4; border: 1px solid #f2d2ce; }
.case-impact-item--after { background: #eff7f1; border: 1px solid #c9e2d2; }
.case-impact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-impact-item--before .case-impact-badge { color: #a8392c; }
.case-impact-item--after .case-impact-badge { color: var(--accent-link); }
.case-impact-item p { font-size: 12.5px; line-height: 1.5; color: #244436; }
.case-impact-arrow { display: flex; align-items: center; justify-content: center; color: #7fa48b; }

.case-stack { color: var(--text-muted); font-size: 12.5px; font-weight: 500; margin-bottom: 16px; }
.case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.case-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  background: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms;
}
.case-button:hover { background: var(--accent-emerald-dark); }
.case-button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  background: #ffffff;
  border: 1px solid var(--accent-emerald);
  border-radius: 8px;
  color: var(--accent-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms;
}
.case-button--secondary:hover { background: #edf5f0; }
.case-tech-links {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.case-tech-links a { font-weight: 600; }
.case-host-note { color: var(--text-muted); font-size: 12.5px; line-height: 1.55; margin-top: 10px; }

/* Проверка ответа */
.case-evidence {
  margin-top: 24px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #d8e3db;
  border-radius: 18px;
}
.case-evidence h3 { margin-top: 8px; }
.case-evidence-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  list-style: none;
  align-items: stretch;
}
.case-evidence-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #dce5de;
  background: #fbfdfb;
}
.case-evidence-card--question { background: #f8faf8; }
.case-evidence-card--answer {
  background: #ffffff;
  border-color: #b7d6c2;
  border-top: 3px solid var(--accent-emerald);
}
.case-evidence-card--source { background: #f6f9f6; border-color: #d5e2d8; }
.case-evidence-header { margin-bottom: 10px; }
.case-evidence-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--accent-link);
}
.case-evidence-body { flex: 1; display: flex; flex-direction: column; }
.case-evidence-body h4 { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.case-evidence-body p { color: #244436; font-size: 14px; line-height: 1.55; }
.case-evidence-quote { font-style: normal; margin: 0; flex: 1; display: flex; flex-direction: column; }
.case-evidence-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 9px;
  background: #eef6f1;
  border: 1px solid #d0e4d7;
  border-radius: 6px;
  color: var(--accent-link);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.case-evidence-code {
  display: block;
  padding: 10px 12px;
  margin: 4px 0 10px;
  background: #ffffff;
  border: 1px solid #d8e4db;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #1e3b2e;
}
.case-measurement-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--text-muted); }

/* Раскрывающиеся детали кейса */
.case-deep-dive {
  margin-top: 20px;
  border: 1px solid #d3e0d6;
  border-radius: 14px;
  background: rgb(255 255 255 / 72%);
}
.case-deep-dive > summary {
  padding: 16px 20px;
  color: #204935;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.case-deep-dive[open] > summary { border-bottom: 1px solid #d3e0d6; }
.case-deep-dive > .case-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  padding: 22px;
}
.case-checks { min-width: 0; }
.case-details h3 { margin-top: 8px; }
.case-description { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin-top: 10px; }
.case-check-list { list-style: none; margin-top: 18px; }
.case-check-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #d5e0d8; }
.case-check-number { flex: 0 0 26px; padding-top: 2px; color: var(--accent-link); font: 800 13px/1.5 var(--font-heading); }
.case-check-list h4 { color: var(--text-main); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.case-check-list p { color: #244436; font-size: 14px; line-height: 1.55; }
.case-check-list small { display: block; color: var(--text-muted); font-size: 12.5px; line-height: 1.55; margin-top: 4px; }
.case-boundaries { padding: 22px; background: #fff; border: 1px solid #dbe5dd; border-radius: 14px; min-width: 0; }
.case-boundaries > ul { padding-left: 18px; margin-top: 16px; }
.case-boundaries li { color: var(--text-muted); font-size: 13.5px; line-height: 1.65; }
.case-boundaries li + li { margin-top: 10px; }
.case-boundaries li::marker { color: var(--accent-link); }
.case-next-step { border-top: 1px solid #dbe5dd; padding-top: 16px; margin-top: 16px; }
.case-next-step h4 { font-size: 14px; color: var(--text-main); }
.case-next-step p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 6px 0 10px; }

/* Компактный субблок других прототипов */
.projects-subblock {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid #d5e1d9;
  scroll-margin-top: 104px;
}
.projects-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.featured-case {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.project-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border-bottom: 1px solid #dce5de;
}
.project-visual--code { color: #e8f6ef; background: var(--bg-dark); }
.project-visual--pipeline { color: var(--text-main); background: #edf5ef; }
.visual-label {
  margin-bottom: 14px;
  color: #a9d9c2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.project-visual--pipeline .visual-label { color: var(--accent-link); }
.tool-flow { display: grid; gap: 10px; list-style: none; }
.tool-flow li { display: flex; align-items: center; gap: 12px; }
.tool-flow li > span {
  display: flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #759e8b;
  border-radius: 50%;
  color: #cceddb;
  font-size: 11px;
  font-weight: 700;
}
.tool-flow strong { display: block; font-size: 13.5px; font-weight: 600; }
.tool-flow small { display: block; margin-top: 2px; color: #c4e1d2; font-size: 12px; line-height: 1.45; }
.tool-flow code { color: #bdf0d5; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.tool-flow--light li > span { border-color: #93bba3; background: #ffffff; color: var(--accent-link); }
.tool-flow--light small { color: var(--text-muted); }
.tool-flow--light code { color: var(--accent-link); }

.project-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px; }
.project-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-link);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.project-body h3 { font: 800 21px/1.28 var(--font-heading); letter-spacing: -0.4px; margin-bottom: 14px; }
.project-story { display: grid; gap: 10px; margin: 0 0 16px; }
.project-story > div { padding-top: 9px; border-top: 1px solid #e6ede8; }
.project-story dt {
  margin-bottom: 3px;
  color: var(--accent-link);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.project-story dd { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }
.project-story code { font-size: 12.5px; color: #1d4634; background: #eef5f0; padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.project-stack { margin-top: auto; margin-bottom: 14px; color: var(--text-muted); font-size: 12.5px; font-weight: 500; }
.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.project-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #eef6f1;
  border: 1px solid #b5d2bf;
  color: var(--accent-link);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.project-cta:hover { background: #e1f0e6; border-color: var(--accent-emerald); }

/* === Процесс работы === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.process-step { min-width: 0; padding-top: 20px; border-top: 2px solid #c3d5c8; }
.step-number { display: block; margin-bottom: 14px; color: var(--accent-link); font: 800 14px/1 var(--font-heading); }
.process-step h3 { margin-bottom: 10px; font: 800 18px/1.35 var(--font-heading); }
.process-step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.process-output { display: block; margin-top: 14px; color: #224b36; font-size: 12.5px; font-weight: 600; }

/* === Обо мне + проверка до оплаты === */
.about-section {
  padding-block: 84px;
  border-block: 1px solid var(--border-color);
  background: #eff4ed;
}
.about-grid--balanced {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: start;
}
.about-text .section-title { margin-bottom: 20px; }
.about-text p { margin-bottom: 14px; color: #3d5445; font-size: 15px; line-height: 1.75; }
.about-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 22px;
  list-style: none;
}
.about-stack li {
  padding: 6px 10px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #d5e1d9;
  color: #31503e;
  font-size: 12.5px;
  font-weight: 600;
}
.about-links { display: flex; flex-wrap: wrap; gap: 20px; }

.about-proof-card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid #d5e1d9;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgb(23 39 32 / 4%);
}
.trust-verification-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf6ef;
  border: 1px solid #cce2d3;
  color: var(--accent-link);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-proof-card h3 {
  font: 800 20px/1.3 var(--font-heading);
  color: var(--text-main);
  margin-bottom: 18px;
}
.about-proof-list { display: grid; gap: 14px; list-style: none; }
.about-proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1eae3;
  border-radius: 12px;
  background: #fafbf9;
}
.trust-verification-num {
  flex: 0 0 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf6ef;
  border: 1px solid #cce2d3;
  color: var(--accent-link);
  font: 800 12px/1 var(--font-heading);
}
.about-proof-list h4 { font: 700 14.5px/1.35 var(--font-heading); color: var(--text-main); margin-bottom: 4px; }
.about-proof-list p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }

/* === Стоимость === */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.price-card--primary {
  border: 2px solid var(--accent-emerald);
  background: #f3faf5;
  box-shadow: 0 12px 30px rgb(17 111 86 / 8%);
}
.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.price-card-top .price-format { margin-bottom: 0; }
.price-format {
  display: block;
  margin-bottom: 16px;
  color: #2f5741;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.price-popular-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-amber-light);
  border: 1px solid var(--accent-amber-border);
  color: var(--accent-amber-dark);
  font-size: 11.5px;
  font-weight: 700;
}
.price-card h3 { margin-bottom: 10px; font: 800 21px/1.3 var(--font-heading); letter-spacing: -0.4px; }
.price-card > p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.price-amount {
  display: block;
  margin: 20px 0 4px;
  color: #133b27;
  font: 800 31px/1.15 var(--font-heading);
  letter-spacing: -1px;
}
.price-timing { display: block; margin-bottom: 18px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.price-card ul { flex: 1; margin-bottom: 22px; padding-left: 18px; color: #3e5948; font-size: 13.5px; line-height: 1.65; }
.price-card li + li { margin-top: 6px; }
.price-card .btn-service {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid #82a790;
  border-radius: 8px;
  color: var(--accent-link);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.price-card .btn-service:hover { background: #edf5f0; border-color: var(--accent-emerald); }
.price-card--primary .btn-service {
  background: var(--accent-emerald);
  color: #ffffff;
  border-color: var(--accent-emerald);
}
.price-card--primary .btn-service:hover { background: var(--accent-emerald-dark); }

.pricing-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #f5f9f6;
  list-style: none;
  color: #294c38;
  font-size: 13px;
  font-weight: 600;
}

.pricing-accordions { display: grid; gap: 12px; margin-top: 18px; }
.pricing-accordion {
  border: 1px solid #d5e1d9;
  border-radius: 14px;
  background: #ffffff;
}
.pricing-accordion > summary {
  padding: 16px 20px;
  color: #204935;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pricing-accordion[open] > summary { border-bottom: 1px solid #e2ebe4; }
.pricing-accordion-body { padding: 20px; }
.pricing-support-intro { color: var(--text-muted); font-size: 13.5px; line-height: 1.65; margin-bottom: 18px; }
.pricing-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-tier-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fafbf9;
  border: 1px solid #d5e1d9;
  border-radius: 14px;
}
.support-tier-card--featured { border-color: #94bda2; background: #f4faf5; }
.support-tier-top { margin-bottom: 10px; }
.support-tier-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-link);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.support-tier-card h4 { font: 800 19px/1.3 var(--font-heading); color: var(--text-main); margin-bottom: 6px; }
.support-tier-price { display: block; color: #153c28; font: 800 24px/1.2 var(--font-heading); letter-spacing: -0.5px; }
.support-tier-price span:last-child { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.support-tier-result {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef5f0;
  color: #244436;
  font-size: 13px;
  line-height: 1.5;
}
.support-tier-card--featured .support-tier-result { background: #ffffff; border: 1px solid #cce2d3; }
.support-tier-card ul { flex: 1; margin: 0 0 18px; padding-left: 18px; color: #45604e; font-size: 13px; line-height: 1.6; }
.support-tier-card li + li { margin-top: 5px; }
.support-tier-card .btn-service {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #87aa93;
  border-radius: 8px;
  color: var(--accent-link);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.support-tier-card--featured .btn-service { background: var(--accent-emerald); border-color: var(--accent-emerald); color: #ffffff; }
.pricing-support-note { margin: 14px 0 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.6; }

.pricing-warranty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.pricing-warranty-col { padding: 16px 18px; border-radius: 12px; background: #fafbf9; border: 1px solid #d5e1d9; }
.pricing-warranty-col--included { border-left: 3px solid var(--accent-emerald); background: #f6faf7; }
.pricing-warranty-col h4 { font: 700 14px/1.35 var(--font-heading); color: var(--text-main); margin-bottom: 8px; }
.pricing-warranty-col ul { margin: 0; padding-left: 17px; color: #465e4e; font-size: 13px; line-height: 1.6; }
.pricing-warranty-col li + li { margin-top: 5px; }
.pricing-legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid #e2ebe4; }
.pricing-legal-item strong { display: block; font-size: 12.5px; color: var(--accent-link); margin-bottom: 4px; }
.pricing-legal-item p { margin: 0; font-size: 13px; line-height: 1.55; color: #465e4e; }

/* === Тёмно-зелёный акцентный блок + Анкета (#contact) === */
.quiz-section {
  padding: 84px 0;
  background: #f0f5f1;
  border-top: 1px solid var(--border-color);
}
.quiz-container { max-width: 680px; margin-inline: auto; }
.contact-fast-card--accent {
  background: var(--bg-dark);
  border: 1px solid #23503f;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 22px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgb(24 56 45 / 16%);
}
.contact-fast-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #fde68a;
  background: rgb(251 191 36 / 14%);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgb(253 230 138 / 38%);
  margin-bottom: 12px;
}
.contact-fast-card--accent h2 {
  font: 800 clamp(22px, 2.5vw, 28px)/1.25 var(--font-heading);
  color: #ffffff;
  margin-bottom: 10px;
  text-wrap: balance;
}
.contact-fast-card--accent p {
  max-width: 540px;
  margin: 0 auto 20px;
  color: #d8efe3;
  font-size: 15px;
  line-height: 1.65;
}
.contact-fast-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-fast-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--accent-honey-btn);
  color: #182d23;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms;
}
.btn-fast-tg:hover { background: var(--accent-honey-btn-hover); }
.btn-fast-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgb(216 239 227 / 42%);
  border-radius: 8px;
  background: rgb(255 255 255 / 7%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.btn-fast-secondary:hover {
  background: rgb(255 255 255 / 14%);
  border-color: var(--accent-honey-btn);
}
.contact-fast-card--accent .contact-fast-reassurance {
  max-width: 520px;
  margin: 16px auto 0;
  color: #fde68a;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.contact-fast-card--accent a:focus-visible { outline: 3px solid #c5f0dc; outline-offset: 4px; }

.contact-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #495e52;
  font-size: 13px;
  font-weight: 600;
}
.contact-divider::before, .contact-divider::after { content: ''; flex: 1; border-bottom: 1px solid #d4e3d7; }
.contact-divider span { padding: 0 14px; }

.lead-quiz {
  --quiz-ink: #182d23;
  --quiz-muted: #526359;
  --quiz-green: #116f56;
  min-width: 0;
  background: #fff;
  border: 1px solid #d5e1d9;
  border-radius: 22px;
  box-shadow: 0 14px 44px rgb(24 35 31 / 6%);
  padding: 28px;
  text-align: left;
  scroll-margin-top: 104px;
}
.quiz-header { margin-bottom: 18px; }
#project-quiz { scroll-margin-top: 104px; }
.quiz-prefill-banner {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #422b09;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.quiz-eyebrow {
  display: block;
  color: var(--accent-link);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quiz-header h2 { font: 800 26px/1.22 var(--font-heading); letter-spacing: -0.7px; color: var(--quiz-ink); }
.quiz-header > p { font-size: 13.5px; color: var(--quiz-muted); line-height: 1.6; margin-top: 10px; max-width: 420px; }
.quiz-progress { margin-bottom: 20px; }
.quiz-progress-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiz-muted);
  font-size: 12px;
  margin-bottom: 8px;
}
#quiz-step-text { color: var(--accent-link); font-weight: 700; flex-shrink: 0; }
.quiz-progress-track { height: 5px; background: #e8efea; border-radius: 6px; overflow: hidden; }
#quiz-progress-fill { display: block; height: 100%; width: 33.333%; border-radius: inherit; background: var(--quiz-green); transition: width 150ms; }
.quiz-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.quiz-step + .quiz-step { margin-top: 24px; }
.lead-quiz[data-enhanced] .quiz-step { margin-top: 0; }
.quiz-step legend { width: 100%; padding: 0; margin-bottom: 14px; color: var(--quiz-ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.quiz-options { display: grid; gap: 9px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid #d5dfd8;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.quiz-option:hover { background: #f6f9f6; border-color: #729e85; }
.quiz-option:has(input:checked) { border-color: var(--accent-emerald); background: #edf6ef; box-shadow: inset 0 0 0 1px var(--accent-emerald); }
.quiz-option:has(input:focus-visible) { outline: 3px solid var(--accent-link); outline-offset: 3px; }
.quiz-option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--quiz-green); cursor: pointer; }
.quiz-option > span { min-width: 0; }
.quiz-option strong { display: block; color: var(--quiz-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.quiz-option small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--quiz-muted); }
.quiz-summary {
  background: #f0f5f1;
  padding: 10px 12px;
  border-radius: 8px;
  color: #355443;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.quiz-field { margin-bottom: 16px; }
.quiz-field > label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
  color: var(--quiz-ink);
  font-weight: 600;
  margin-bottom: 7px;
}
.quiz-field > label > span { color: var(--quiz-muted); font-size: 12px; font-weight: 400; }
.quiz-field input, .quiz-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  background: #f8faf8;
  border: 1px solid #718a79;
  border-radius: 8px;
  color: var(--quiz-ink);
  font: 400 16px/1.5 var(--font-body);
  padding: 12px;
}
.quiz-field textarea { min-height: 90px; resize: vertical; }
.quiz-field input::placeholder, .quiz-field textarea::placeholder { color: #64746a; opacity: 1; }
.quiz-field input:focus, .quiz-field textarea:focus { border-color: var(--quiz-green); outline: 2px solid var(--quiz-green); outline-offset: 2px; background: #fff; }
.quiz-field [aria-invalid="true"] { border-color: #a82e25; }
.quiz-hint { font-size: 12px; line-height: 1.55; color: var(--quiz-muted); margin-top: 6px; }
.quiz-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.quiz-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: var(--quiz-green); }
.quiz-consent label { color: var(--quiz-muted); font-size: 12.5px; line-height: 1.6; cursor: pointer; }
.quiz-consent a, .quiz-alternative a { color: var(--accent-link); text-underline-offset: 3px; }
.quiz-field-error { color: #a12d25; font-size: 12.5px; line-height: 1.55; margin-top: 7px; }
.quiz-submit-error {
  padding: 12px;
  margin-top: 16px;
  border: 1px solid #e6b9b2;
  border-radius: 8px;
  background: #fff5f2;
  color: #7d2b23;
  font-size: 13px;
  line-height: 1.6;
}
.quiz-navigation { display: flex; align-items: stretch; gap: 12px; margin-top: 20px; }
.quiz-navigation button { min-height: 48px; border-radius: 8px; padding: 12px 18px; cursor: pointer; font: 600 14px/1.4 var(--font-body); }
.quiz-next, .quiz-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  border: 1px solid var(--accent-emerald);
  background: var(--accent-emerald);
  color: #fff;
}
.quiz-next:hover, .quiz-submit:hover { background: var(--accent-emerald-dark); }
.quiz-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #355443;
  background: #fff;
  border: 1px solid #b8c9bd;
}
.quiz-back:hover { background: #f0f5f1; }
.quiz-navigation button:disabled { cursor: wait; opacity: 0.65; }
.quiz-bottom-note { margin-top: 12px; color: var(--quiz-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.quiz-alternative {
  margin: 20px -28px -28px;
  padding: 15px 20px;
  border-top: 1px solid #e0e8e2;
  border-radius: 0 0 22px 22px;
  background: #f6f9f6;
  font-size: 13px;
  color: var(--quiz-muted);
  text-align: center;
}
.quiz-alternative a { font-weight: 600; white-space: nowrap; }
.quiz-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
}
.lead-quiz[aria-busy="true"] .quiz-spinner { display: inline-block; animation: quiz-spin 800ms linear infinite; }
@keyframes quiz-spin { to { transform: rotate(360deg); } }
.quiz-success { padding: 24px 0; }
.quiz-success-icon {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: #e4f2e9;
  color: var(--accent-link);
  border-radius: 50%;
  margin-bottom: 20px;
}
.quiz-success-icon svg { width: 28px; height: 28px; }
.quiz-success h2 { font: 800 28px/1.25 var(--font-heading); color: var(--quiz-ink); letter-spacing: -0.7px; }
.quiz-success > p { color: var(--quiz-muted); font-size: 14.5px; line-height: 1.7; margin: 16px 0 22px; }
.quiz-success-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 8px;
  background: var(--accent-emerald);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.quiz-email-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding-block: 10px;
  color: var(--accent-link);
  font-size: 14px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.quiz-case-link { display: block; margin-top: 16px; color: var(--accent-link); font-size: 14px; text-underline-offset: 4px; }

/* === FAQ === */
.faq-section { padding-block: 84px; background: #ffffff; border-top: 1px solid var(--border-color); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: start; }
.faq-item { border-bottom: 1px solid #d5e1d8; }
.faq-item:first-child { border-top: 1px solid #d5e1d8; }
.faq-question { padding: 18px 8px 18px 0; color: #1c3a29; font-size: 15px; font-weight: 600; cursor: pointer; }
.faq-answer { padding: 0 20px 18px 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; }

/* === Подвал === */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--border-color); background: #fafbf9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.footer-brand { color: var(--text-main); font: 800 19px/1.4 var(--font-heading); }
.footer-title {
  margin-bottom: 4px;
  color: #34533f;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.footer-text, .footer-col a, .footer-col .analytics-settings {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}
.footer-text { max-width: 300px; }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-link); text-decoration: underline; }
.footer-col .analytics-settings {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
}

/* === Плавающая кнопка Telegram === */
.floating-tg-cta {
  position: fixed;
  z-index: 950;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #2b5d49;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(24 56 45 / 22%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, background 150ms ease, border-color 150ms ease, box-shadow 180ms ease;
}
.floating-tg-cta svg { color: var(--accent-honey-btn); }
.floating-tg-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-tg-cta:focus-visible { outline: 3px solid var(--accent-honey-btn); outline-offset: 4px; }

/* === Появление блоков при прокрутке === */
.reveal-ready [data-reveal="pending"] {
  opacity: 0;
  transform: translateY(14px);
}
.reveal-ready [data-reveal="entering"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
              transform 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

/* === Согласие на аналитику === */
.analytics-consent {
  position: fixed;
  z-index: 1100;
  bottom: 20px;
  left: 20px;
  width: min(400px, calc(100% - 40px));
  padding: 20px;
  background: #fff;
  border: 1px solid #c7d8cc;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgb(24 35 31 / 14%);
  text-align: left;
}
.analytics-consent h2 { color: #182d23; font-size: 14.5px; font-weight: 600; }
.analytics-consent p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text-muted); }
.analytics-consent p a { color: var(--accent-link); text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.analytics-consent button {
  flex: 1;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 7px;
  font: 600 12.5px/1.4 var(--font-body);
  cursor: pointer;
}
.analytics-consent-allow { color: #fff; border: 1px solid var(--accent-emerald); background: var(--accent-emerald); }
.analytics-consent-deny { color: #355443; border: 1px solid #b8c9bd; background: #fff; }

/* === Адаптивность === */
@media (max-width: 1100px) {
  .premium-hero .hero-container { gap: 32px; }
  .nav-links { gap: 18px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .premium-header { position: static; padding-top: 12px; }
  .nav-ready .premium-header { position: fixed; inset-block-start: 12px; padding-top: 0; }
  .header-container { flex-wrap: wrap; gap: 10px; min-height: 64px; padding: 10px 16px; border-radius: 22px; }
  .nav-links { order: 4; justify-content: center; flex: 1 0 100%; flex-wrap: wrap; gap: 12px 22px; padding: 12px 4px 6px; }
  .nav-ready .nav-links { display: none; }
  .nav-ready .nav-links.active { display: flex; }
  .nav-ready .mobile-menu-btn { display: inline-flex; margin-left: auto; }
  .btn-header-cta { margin-left: auto; }
  .nav-ready .btn-header-cta { margin-left: 0; }

  .premium-hero { padding-top: 44px; }
  .nav-ready .premium-hero { padding-top: 116px; }
  .premium-hero .hero-container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-left-premium { max-width: 660px; }
  .hero-visual-panel { max-width: 420px; width: 100%; justify-self: start; }

  .case-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .case-showcase, .case-deep-dive > .case-details { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about-grid--balanced, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .projects-subhead { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 860px) {
  .business-scenarios-grid,
  .case-evidence-pipeline,
  .featured-grid,
  .pricing-support-grid,
  .pricing-warranty-grid,
  .pricing-legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 54px; }
  .section-heading { margin-bottom: 24px; }
  .section-description { font-size: 14.5px; }

  .header-container { width: calc(100% - 24px); gap: 8px; padding-inline: 12px; }
  .logo-subtext { display: none; }
  .brand-logo { width: 82px; height: 30px; }
  .brand-name { padding-left: 10px; }
  .brand-title { font-size: 12.5px; }
  .btn-header-cta { padding: 9px 13px; font-size: 12px; }

  .nav-ready .premium-hero { padding-top: 106px; }
  .premium-hero { padding-bottom: 34px; }
  .premium-hero .hero-container { padding-inline: 18px; gap: 24px; }
  .hero-title-premium { font-size: clamp(29px, 8vw, 38px); letter-spacing: -1px; }
  .hero-audience { font-size: 15px; }
  .hero-desc-premium { font-size: 14.5px; margin-bottom: 22px; }
  .hero-visual-panel { max-width: 100%; padding: 12px; }
  .hero-trust-bar { margin-top: 28px; padding-top: 18px; gap: 10px; }

  .case-section { padding-block: 54px; }
  .case-showcase { padding: 18px; border-radius: 18px; }
  .case-tldr { flex-direction: column; gap: 8px; }
  .case-impact-comparison { grid-template-columns: 1fr; gap: 10px; }
  .case-impact-arrow { display: none; }
  .case-actions { flex-direction: column; align-items: stretch; }
  .case-evidence { padding: 18px; }
  .case-deep-dive > .case-details { padding: 16px; }

  .pricing-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card { padding: 22px; }
  .about-section, .quiz-section, .faq-section { padding-block: 54px; }
  .contact-fast-card--accent { padding: 24px 18px; }
  .lead-quiz { padding: 22px; border-radius: 18px; }
  .quiz-alternative { margin: 20px -22px -22px; border-radius: 0 0 18px 18px; }
  .quiz-navigation { gap: 8px; }
  .quiz-navigation button { padding-inline: 12px; font-size: 13px; }
  .floating-tg-cta { right: 14px; bottom: 14px; min-height: 44px; padding: 10px 15px; font-size: 13px; }
  .analytics-consent { bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 16px; }
}

@media (max-width: 520px) {
  .brand-name { display: none; }
  .hero-actions-premium .btn-primary-premium,
  .hero-actions-premium .btn-secondary-hero,
  .contact-fast-actions .btn-fast-tg,
  .contact-fast-actions .btn-fast-secondary { width: 100%; }
}

@media (hover: hover) {
  .business-scenario-card:hover,
  .featured-case:hover,
  .price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgb(23 39 32 / 7%);
    border-color: var(--border-strong);
  }
  .price-card--primary:hover {
    border-color: var(--accent-emerald);
    box-shadow: 0 16px 34px rgb(17 111 86 / 13%);
  }
  .floating-tg-cta.is-visible:hover {
    background: #20493a;
    border-color: var(--accent-honey-btn);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgb(24 56 45 / 28%);
  }
  .btn-primary-premium,
  .btn-secondary-hero,
  .case-button,
  .case-button--secondary,
  .btn-fast-tg,
  .btn-fast-secondary,
  .btn-header-cta,
  .project-cta,
  .quiz-next,
  .quiz-submit {
    transition: background 150ms ease, border-color 150ms ease, transform 180ms ease, box-shadow 180ms ease;
  }
  .btn-primary-premium:hover,
  .btn-secondary-hero:hover,
  .case-button:hover,
  .case-button--secondary:hover,
  .btn-fast-tg:hover,
  .btn-fast-secondary:hover,
  .btn-header-cta:hover,
  .project-cta:hover,
  .quiz-next:hover,
  .quiz-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgb(23 39 32 / 11%);
  }
  .btn-primary-premium:hover svg {
    transform: translateX(3px);
  }
  .btn-secondary-hero:hover svg {
    transform: translateY(3px);
  }
  .btn-primary-premium svg,
  .btn-secondary-hero svg {
    transition: transform 180ms ease;
  }
  .faq-question:hover { color: var(--accent-link); }
}

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