:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --surface-emerald: #ecfdf5;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #55657a;
  --line: #dbe4ee;
  --line-strong: #cbd5e1;
  --accent: #047857;
  --accent-strong: #065f46;
  --accent-soft: #d1fae5;
  --accent-line: #86efac;
  --danger: #b42318;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 16px 38px rgba(15, 23, 42, .07);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, .11);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.brand-name {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.035em;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.22;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -10000px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  left: 12px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(203, 213, 225, .85);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px) saturate(130%);
  transition: box-shadow .2s ease;
}

.topbar.is-scrolled {
  box-shadow: 0 10px 32px rgba(15, 23, 42, .07);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand::before {
  display: none !important;
}

.brand-mark,
body.no-copy .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  filter: none !important;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-name strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-name span {
  color: var(--muted);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-link,
.nav-drop-trigger,
.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-drop-trigger:hover,
.nav-drop-trigger.active,
.nav-drop:focus-within > .nav-drop-trigger {
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.nav-cta {
  margin-left: 4px;
  padding-inline: 18px;
  background: var(--ink);
  color: #fff;
}

.nav-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.nav-drop {
  position: relative;
}

.drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  width: 330px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-lg);
}

.drop-menu::before {
  position: absolute;
  inset: -13px 0 auto;
  height: 13px;
  content: "";
}

.drop-menu-solutions {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  width: min(720px, calc(100vw - 48px));
}

.nav-drop:hover > .drop-menu,
.nav-drop:focus-within > .drop-menu {
  display: grid;
  gap: 6px;
}

.drop-menu > a,
.drop-group a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.drop-menu > a:hover,
.drop-group a:hover {
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.drop-group {
  padding: 6px;
}

.drop-group > span {
  display: block;
  padding: 4px 12px 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav-burger {
  display: none;
}

/* Shared components */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, .18);
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 14px 28px rgba(5, 150, 105, .24);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.btn-small {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-head,
.method-system-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head > div,
.method-system-head > div {
  max-width: 780px;
}

.section-head h2,
.method-system-head h2 {
  margin-bottom: 0;
}

.section-label,
.case-catalog-label,
.education-label-pill,
.service-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--surface-emerald);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-text,
.lead {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.section-head > .section-text,
.method-system-head > .section-text {
  max-width: 430px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid #b7ebd4;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dot,
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--accent-strong);
}

.page-hero {
  padding: 62px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, .11), transparent 28%),
    linear-gradient(180deg, #fff, var(--bg));
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 5vw, 64px);
}

.dark-band {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

/* Home hero */
.hero-personal {
  padding: 36px 0 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(16, 185, 129, .12), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--bg) 92%);
}

.hero-grid-personal {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: 54px;
  align-items: center;
}

.hero-about-stack {
  min-width: 0;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  padding: 6px 12px;
  border: 1px solid #b7ebd4;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.hero-brandline::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .45);
  animation: hero-status-pulse 1.8s ease-out infinite;
  content: "";
}

@keyframes hero-status-pulse {
  70%, 100% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-about-title {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(47px, 5.7vw, 76px);
  line-height: .98;
}

.hero-title-line {
  display: inline;
}

.accent {
  color: var(--accent);
  text-shadow: none;
  -webkit-text-fill-color: currentColor;
}

.hero-about-lead {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.62;
}

.hero-copy-gap {
  display: none;
}

.hero-about-sub {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.hero-proof-chips {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.hero-proof-chips span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.hero-proof-chips span::before {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-emerald);
  color: var(--accent);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions-after-proof {
  align-items: flex-start;
  margin-bottom: 24px;
}

.hero-primary-action {
  display: grid;
  width: min(280px, 100%);
  gap: 7px;
}

.hero-primary-action .btn {
  width: 100%;
}

.hero-primary-action small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.hero-offer {
  min-width: 0;
}

.hero-proof-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
}

.hero-proof-panel::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #34d399, transparent 82%);
  content: "";
}

.proof-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.proof-kicker span {
  width: 8px;
  height: 8px;
  margin-right: auto;
  border-radius: 50%;
  background: var(--accent);
}

.growth-chart {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
}

.growth-chart img {
  display: block;
  width: 100%;
  height: auto;
}

.chart-grid line {
  stroke: #e2e8f0;
  stroke-width: 1;
}

.chart-axes path {
  fill: var(--muted);
  stroke: var(--line-strong);
  stroke-width: 1.2;
}

.axis-zero,
.axis-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.chart-area {
  fill: url(#chartAreaGradient);
}

.chart-growth-main,
.chart-growth-shadow {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 5;
}

.chart-growth-shadow {
  stroke: rgba(5, 150, 105, .16);
  stroke-width: 13;
}

.chart-point circle {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 4;
}

.money-badge {
  display: none;
}

.hero-mini-case {
  padding-top: 18px;
}

.hero-mini-case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.hero-mini-case-top b {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-emerald);
  font-size: 10px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero-mini-case h2 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-mini-case > p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.hero-mini-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}

.hero-mini-case-grid > div {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.hero-mini-case-grid b,
.hero-mini-case-grid span {
  display: block;
}

.hero-mini-case-grid b {
  color: var(--ink);
  font-size: 19px;
}

.hero-mini-case-grid span {
  color: var(--muted);
  font-size: 10px;
}

.hero-mini-case > .hero-case-note {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.home-proof-strip {
  margin-top: 62px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-proof-grid > div {
  position: relative;
  min-height: 188px;
  padding: 26px 24px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(236, 253, 245, .45), transparent 58%);
}

.home-proof-grid > div::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  background: var(--surface-emerald);
  color: var(--accent-strong);
  content: "01";
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
}

.home-proof-grid > div:nth-child(2)::before { content: "02"; }
.home-proof-grid > div:nth-child(3)::before { content: "03"; }
.home-proof-grid > div:nth-child(4)::before { content: "04"; }

.home-proof-grid > div:last-child {
  border-right: 0;
}

.home-proof-grid b,
.home-proof-grid span {
  display: block;
}

.home-proof-grid b {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.home-proof-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Home diagnostic blocks */
.home-fit-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.home-glass-card {
  grid-column: span 2;
  min-height: 195px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-glass-card:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.home-glass-card > span {
  display: block;
  width: 26px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.home-glass-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.32;
}

.home-glass-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.home-loss-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.home-loss-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loss-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.loss-row b,
.loss-row span {
  display: block;
}

.loss-row b {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.loss-row span {
  color: var(--ink-soft);
  font-size: 12px;
}

/* Services / Bento */
.solutions-section,
.services-catalog-section {
  background: var(--bg);
}

.solutions-head {
  align-items: center;
}

.solutions-grid,
.main-services-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.solutions-section .solutions-grid {
  grid-template-columns: minmax(0, 1.85fr) repeat(2, minmax(0, 1fr));
}

.solution-card,
.service-card {
  display: flex;
  min-width: 0;
  min-height: 285px;
  flex-direction: column;
  padding: 26px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.solution-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.solution-card-featured {
  grid-row: span 2;
  min-height: 588px;
  border: 1px solid #91e5bd;
  background: linear-gradient(155deg, #fff 0%, #effcf6 100%);
}

.solutions-section .solution-card-featured {
  grid-column: auto;
  grid-row: span 2;
  min-height: 100%;
  padding: 28px;
  border-radius: 28px;
}

.solution-featured-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border-radius: 9px;
  background: rgba(5, 150, 105, .09);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
}

.solution-featured-badge span {
  color: var(--accent);
  font-size: 17px;
}

.solutions-section .solution-card-featured .service-head {
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.solutions-section .solution-card-featured .service-icon {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  border-radius: 22px;
}

.solutions-section .solution-card-featured .service-icon svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.9;
}

.solutions-section .solution-card-featured .service-icon-system {
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
}

.solutions-section .solution-card-featured .service-title h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.35vw, 32px);
}

.solutions-section .solution-card-featured .service-price {
  padding: 6px 12px;
  font-size: 13px;
}

.solutions-section .solution-featured-body {
  flex: none;
}

.solutions-section .solution-featured-body p {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.65;
}

.service-system-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-system-flow li {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  white-space: nowrap;
}

.service-system-flow li:not(:last-child)::after {
  position: static;
  margin: 0 14px;
  color: var(--accent);
  content: "→";
  font-size: 20px;
  font-weight: 800;
}

.service-system-flow b {
  font-size: 15px;
}

.solution-featured-points {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.solution-featured-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.solution-featured-points li::before {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  content: "\2713";
  font-size: 12px;
  font-weight: 900;
}

.solution-featured-footer {
  display: grid;
  gap: 20px;
  margin-top: auto;
}

.solution-featured-footer .card-bottom {
  margin-top: 0;
}

.solution-featured-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.solution-featured-rating > span {
  color: var(--accent);
  font-size: 18px;
}

.solution-featured-rating b {
  color: var(--ink);
  font-size: 14px;
}

.solution-featured-rating small {
  font-size: 12px;
}

.services-catalog-grid .solution-card-featured {
  grid-column: span 2;
  grid-row: auto;
  min-height: 340px;
}

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid #a7e8cb;
  border-radius: 14px;
  background: var(--surface-emerald);
  box-shadow: none;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-icon-vk svg {
  width: 38px;
  height: 28px;
  fill: var(--accent);
  stroke: none;
}

.solutions-section .service-icon-brand {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  border-width: 1.5px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f1fff9, #eaf8f2);
}

.solutions-section .service-icon-brand::before {
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.solutions-section .service-icon-web svg,
.solutions-section .service-icon-yandex svg,
.solutions-section .service-icon-avito svg {
  display: none;
}

.solutions-section .service-icon-web::before {
  content: "WEB";
  font-size: 22px;
  letter-spacing: -1.5px;
}

.solutions-section .service-icon-yandex::before {
  content: "Ya";
  font-size: 32px;
  letter-spacing: -2.5px;
}

.solutions-section .service-icon-vk svg {
  width: 50px;
  height: 32px;
}

.solutions-section .service-icon-avito::before {
  content: "A";
  font-size: 40px;
}

.service-title {
  min-width: 0;
}

.service-title h3,
.solution-card .service-title h3,
.services-page .service-title h3 {
  margin: 0 0 5px;
  color: var(--ink) !important;
  font-size: 21px;
  -webkit-text-fill-color: var(--ink) !important;
}

.service-price,
.service-title .service-price,
.services-page .service-price {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid #b7ebd4;
  border-radius: 999px;
  background: var(--surface-emerald);
  color: var(--accent-strong) !important;
  font-size: 11px;
  font-weight: 800;
  -webkit-text-fill-color: var(--accent-strong) !important;
}

.service-card > p,
.solution-featured-body p {
  margin-bottom: 17px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.solution-featured-body {
  flex: 1;
}

.service-list,
.clean-list {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.service-list li,
.clean-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-list li::before,
.clean-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.card-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.services-page-hero .lead {
  max-width: 760px;
}

.services-audit-cta-section {
  padding-top: 0;
}

.services-audit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.services-audit-cta h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}

.services-audit-cta p {
  max-width: 760px;
  margin-bottom: 0;
  color: #cbd5e1;
}

/* Cases */
.cases-library-section--home {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.cases-library-section--catalog {
  padding-top: 62px;
  background:
    radial-gradient(circle at 8% 0, rgba(16, 185, 129, .1), transparent 26%),
    var(--bg);
}

.cases-library-head {
  align-items: end;
}

.cases-library-head h1 {
  margin-bottom: 0;
  font-size: clamp(45px, 5.5vw, 70px);
}

.cases-library-side {
  max-width: 520px;
}

.case-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 16px;
}

.case-filter {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.case-filter:hover,
.case-filter.is-active {
  border-color: #9de0c2;
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.case-disclaimer {
  margin-bottom: 24px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  display: flex;
  min-width: 0;
  min-height: 520px;
  flex-direction: column;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.case-tags {
  display: flex;
  min-height: 31px;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.case-tag,
.case-card .case-tag,
.case-tag-platform,
.case-tag-niche {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  -webkit-text-fill-color: var(--ink-soft) !important;
}

.case-tag-platform,
.case-card .case-tag-platform {
  border-color: #a7e8cb;
  background: var(--surface-emerald);
  color: var(--accent-strong) !important;
  -webkit-text-fill-color: var(--accent-strong) !important;
}

.case-card h3 {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 25px;
}

.case-card > p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  margin-bottom: 22px;
}

.case-metric {
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.case-metric b,
.case-metric span {
  display: block;
}

.case-metric b {
  color: var(--ink);
  font-size: 19px;
  white-space: nowrap;
}

.case-metric span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.case-read-btn {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #a7e8cb;
  border-radius: 999px;
  background: var(--surface-emerald);
  color: var(--accent-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.case-read-btn:hover {
  transform: translateY(-1px);
  border-color: #86d9b5;
  background: #dcfce7;
}

.case-read-btn::after {
  content: "→";
}

.cases-founder-banner {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a, #17253a 70%, #12382d);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cases-founder-banner .premium-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cases-founder-banner h2,
.cases-founder-banner .lead {
  color: #fff;
}

.cases-founder-banner .lead {
  margin-bottom: 24px;
  color: #cbd5e1;
}

.cases-founder-person {
  position: absolute;
  right: 20px;
  bottom: -45px;
  width: min(36%, 390px);
  height: auto;
  filter: none;
}

/* Method and trust */
.method-system-wrap {
  display: grid;
}

.logic-board {
  min-width: 0;
}

.command-card-method {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.orbital-line,
.flow-orbit,
.client-path-rail {
  display: none;
}

.pipeline {
  min-width: 0;
}

.flow-title-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flow-stage-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.flow-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  cursor: pointer;
}

.flow-stage:hover,
.flow-stage.is-active {
  border-color: #8dd9b8;
  background: var(--surface-emerald);
}

.flow-stage > b {
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--muted);
  font-size: 10px;
}

.flow-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
}

.flow-icon svg {
  width: 25px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.flow-stage strong {
  color: var(--ink);
  font-size: 14px;
}

.flow-stage em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.flow-stage > i {
  display: none;
}

.flow-detail-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfdfc;
}

.flow-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.flow-detail-meta span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.flow-detail-main p,
.flow-detail-actions {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.flow-detail-actions > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-detail-actions ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 22px;
  margin: 0;
  padding-left: 18px;
}

.trust-grid,
.launch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item,
.launch-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.trust-item > span {
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.trust-item b,
.launch-card h3 {
  color: var(--ink);
  font-size: 17px;
}

.trust-item p,
.launch-card p {
  color: var(--ink-soft);
  font-size: 13px;
}

.launch-card {
  min-height: 250px;
}

.launch-label {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-strong);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.launch .micro {
  margin-top: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Dark founder CTA */
.final-contact-section {
  padding-top: 76px;
}

.premium-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 197, 94, .18), transparent 30%),
    linear-gradient(135deg, #07110d 0%, #0f172a 68%, #123426 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
}

.premium-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 760px;
  align-items: stretch;
}

.premium-content {
  align-self: center;
  padding: 58px 0 58px 54px;
}

.premium-content h2 {
  max-width: 700px;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
}

.premium-content .lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: #cbd5e1;
  font-size: 16px;
}

.premium-content .eyebrow {
  border-color: rgba(52, 211, 153, .3);
  background: rgba(5, 150, 105, .12);
  color: #a7f3d0;
}

.audit-check-card {
  max-width: 650px;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(167, 243, 208, .28);
  border-radius: var(--radius-md);
  background: rgba(2, 18, 11, .42);
}

.audit-check-card b {
  color: #fff;
}

.audit-check-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.audit-check-card li {
  position: relative;
  padding-left: 24px;
  color: #d7e4dd;
  font-size: 13px;
}

.audit-check-card li::before {
  position: absolute;
  left: 0;
  color: #34d399;
  content: "✓";
  font-weight: 900;
}

.cta-ui-bg,
.founder-glow {
  display: none;
}

.founder-stage {
  position: relative;
  min-height: 760px;
  align-self: end;
  overflow: hidden;
}

.founder-stage picture,
.founder-stage picture img {
  position: absolute;
  inset: auto 0 0 auto;
  width: 100%;
  height: auto;
}

.founder-stage picture {
  z-index: 2;
}

.founder-stage picture img {
  filter: none;
  object-fit: contain;
}

.diagnostic-map {
  position: absolute;
  inset: 58px 28px auto 0;
  z-index: 1;
  min-height: 280px;
  opacity: .42;
}

.diagnostic-map svg {
  width: 100%;
  height: 280px;
}

.diagnostic-map path {
  fill: none;
  stroke: #34d399;
  stroke-width: .5;
}

.diagnostic-map-label,
.diagnostic-node {
  position: absolute;
  padding: 4px 8px;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  color: #a7f3d0;
  font-size: 9px;
}

.diagnostic-map-label { top: 0; left: 12%; }
.diagnostic-node-offer { left: 2%; bottom: 8%; }
.diagnostic-node-ads { left: 22%; bottom: 25%; }
.diagnostic-node-site { left: 45%; bottom: 19%; }
.diagnostic-node-sales { right: 13%; bottom: 48%; }
.diagnostic-node-lead { right: 0; top: 17%; }
.diagnostic-node small { display: none; }

.founder-card {
  position: absolute;
  right: 22px;
  bottom: 34px;
  z-index: 4;
  width: min(310px, 72%);
  padding: 16px 18px;
  border: 1px solid rgba(167, 243, 208, .28);
  border-radius: 15px;
  background: rgba(15, 43, 32, .9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.founder-card b,
.founder-card span {
  display: block;
}

.founder-card b {
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.founder-card span {
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.45;
}

/* Education */
.education-hero {
  padding: 62px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 20%, rgba(16, 185, 129, .13), transparent 29%),
    linear-gradient(180deg, #fff, var(--bg));
}

.education-hero-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 50px;
  align-items: center;
}

.education-hero-copy h1 {
  margin-top: 20px;
  font-size: clamp(44px, 5.3vw, 66px);
}

.education-hero-note,
.education-trust-line {
  color: var(--muted);
  font-size: 13px;
}

.education-hero-note {
  margin: 18px 0 25px;
}

.education-system-ui {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.education-ui-caption {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.education-system-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.education-system-flow > div {
  display: grid;
  min-width: 72px;
  min-height: 78px;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.education-system-flow small {
  color: var(--accent);
  font-size: 9px;
}

.education-system-flow b {
  font-size: 12px;
}

.education-system-flow i {
  color: var(--accent);
  font-style: normal;
}

.education-system-ui > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.education-trust-line {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.education-course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.education-course-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.education-course-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.education-course-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border: 1px solid #a7e8cb;
  border-radius: 14px;
  background: var(--surface-emerald);
}

.education-course-icon svg {
  width: 27px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.education-course-tag {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.education-course-head h3 {
  margin: 0;
  font-size: 20px;
}

.education-course-intro {
  color: var(--ink-soft);
  font-size: 14px;
}

.course-program {
  margin: 4px 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.course-program summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.course-program summary::-webkit-details-marker {
  display: none;
}

.course-program summary::after {
  color: var(--accent);
  content: "+";
  font-size: 18px;
}

.course-program[open] summary::after {
  content: "−";
}

.course-mini-program {
  display: grid;
  gap: 0;
  padding: 0 16px 12px;
}

.course-module {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.course-module > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.course-module b {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.course-module p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.course-module-bonus {
  color: var(--accent-strong);
}

.education-course-result {
  margin-top: auto;
  padding: 15px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface-emerald);
  color: var(--ink-soft);
  font-size: 12px;
}

.education-ai-bonus,
.education-final-cta-card {
  padding: 38px;
  border: 1px solid #a7e8cb;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fff, var(--surface-emerald));
  box-shadow: var(--shadow-md);
}

.education-ai-bonus {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}

.education-ai-copy p,
.education-ai-copy small {
  color: var(--ink-soft);
}

.education-ai-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.education-ai-list li {
  padding: 12px 14px;
  border: 1px solid #b7ebd4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .75);
  color: var(--ink-soft);
  font-size: 13px;
}

.education-process-grid,
.education-audience-grid,
.education-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.education-result-grid {
  grid-template-columns: repeat(4, 1fr);
}

.education-process-grid article,
.education-audience-grid article,
.education-result-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.education-process-grid span,
.education-result-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.education-process-grid h3,
.education-audience-grid h3,
.education-result-grid h3 {
  font-size: 18px;
}

.education-process-grid p,
.education-audience-grid p,
.education-result-grid p,
.education-process-note {
  color: var(--ink-soft);
  font-size: 13px;
}

.education-process-note {
  max-width: 860px;
  margin: 22px 0 0;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--accent);
  content: "+";
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: -4px 20px 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.education-final-cta-card {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.education-final-cta-card .section-label {
  margin-inline: auto;
}

.education-final-cta-card .lead {
  margin: 0 auto 24px;
}

.education-final-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* Contact form */
.contact-hero-note {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-entry-section {
  padding-top: 58px;
}

.contact-page-grid {
  max-width: 860px;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-label,
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.form-purpose-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.form-purpose-option input,
.project-quiz-step > label > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-purpose-option span {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.form-purpose-option.is-active span,
.form-purpose-option input:checked + span {
  border-color: #8dd9b8;
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.form-grid,
.project-quiz-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea,
.form-field select,
.project-quiz-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #64748b;
  border-radius: 11px;
  outline: none;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.project-quiz-field input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .09);
}

.form-context-fields,
.form-context-group {
  display: grid;
  gap: 16px;
}

.native-select-hidden {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid #64748b;
  border-radius: 11px;
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.custom-select-trigger:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  z-index: 20;
  display: none;
  width: 100%;
  max-height: 260px;
  overflow: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
}

.custom-select-option {
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consents {
  display: grid;
  gap: 10px;
}

.form-consent,
.project-quiz-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11px;
}

.form-consent input,
.project-quiz-consent input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-consent a,
.project-quiz-consent a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Modals and quiz */
.project-quiz-modal,
.case-modal,
.real-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.project-quiz-backdrop,
.case-modal-backdrop,
.real-demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(7px);
}

.project-quiz-panel,
.case-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
}

.project-quiz-close,
.case-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.project-quiz-head {
  padding-right: 42px;
}

.project-quiz-head h2 {
  margin: 16px 0 8px;
  font-size: 30px;
}

.project-quiz-head p {
  color: var(--ink-soft);
  font-size: 13px;
}

.project-quiz-progress {
  height: 5px;
  margin: 20px 0 24px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.project-quiz-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .2s ease;
}

.project-quiz-step {
  display: none;
}

.project-quiz-step.is-active {
  display: grid;
  gap: 10px;
}

.project-quiz-question,
.project-quiz-field > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.project-quiz-step > label:not(.project-quiz-field):not(.project-quiz-consent) span {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
}

.project-quiz-step > label > input[type="radio"]:checked + span {
  border-color: #8dd9b8;
  background: var(--surface-emerald);
  color: var(--accent-strong);
}

.project-quiz-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.project-quiz-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.case-modal-panel {
  width: min(100%, 780px);
}

.case-modal-meta,
.case-modal-grid {
  display: grid;
  gap: 12px;
}

.case-modal-meta {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
}

.case-modal-meta > div,
.case-modal-point {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.case-modal-meta span,
.case-modal-point > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-modal-grid {
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}

.case-modal-point p,
.case-modal-summary,
.case-modal-note {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer > .container {
  width: min(calc(100% - 48px), 1000px);
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  margin-right: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .65fr 1fr 1fr;
  gap: 20px;
}

.footer h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-desc {
  max-width: 310px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: grid;
  gap: 0;
}

.footer-links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.footer-messengers {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.footer-links .footer-messenger {
  width: max-content;
  transition: color .2s ease;
}

.footer-messenger img {
  display: none;
}

.footer-messenger--telegram::before {
  content: "Написать в Telegram";
}

.footer-messenger--max::before {
  content: "Написать в MAX";
}

@media (max-width: 1080px) {
  .nav-link,
  .nav-drop-trigger {
    padding-inline: 10px;
  }

  .hero-grid-personal,
  .education-hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .home-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-proof-grid > div:nth-child(2) {
    border-right: 0;
  }

  .home-proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .solutions-grid,
  .main-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-section .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card-featured,
  .services-catalog-grid .solution-card-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .solutions-section .solution-card-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid,
  .education-result-grid {
    grid-template-columns: 1fr 1fr;
  }

  .premium-grid {
    grid-template-columns: 1fr .8fr;
  }

  .premium-content {
    padding-left: 40px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .footer > .container {
    width: min(calc(100% - 32px), 1120px);
    margin-inline: auto;
  }

  .nav {
    min-height: 68px;
  }

  .brand-mark,
  body.no-copy .brand-mark {
    width: 46px;
    height: 46px;
  }

  .solution-featured-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-burger {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    position: relative;
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    content: "";
  }

  .nav-burger span::before {
    position: absolute;
    top: -6px;
  }

  .nav-burger span::after {
    position: absolute;
    top: 6px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: 14px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: grid;
    gap: 6px;
  }

  .nav-link,
  .nav-drop-trigger,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    margin: 0;
    padding-inline: 14px;
  }

  .nav-cta {
    justify-content: center;
  }

  .drop-menu,
  .drop-menu-solutions {
    position: static;
    display: grid;
    width: 100%;
    padding: 7px 0 7px 12px;
    border: 0;
    border-left: 2px solid var(--accent-soft);
    border-radius: 0;
    box-shadow: none;
  }

  .drop-menu-solutions {
    grid-template-columns: 1fr;
  }

  .drop-menu::before {
    display: none;
  }

  .section,
  .final-contact-section {
    padding: 68px 0;
  }

  .section-head,
  .method-system-head {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .section-head > .section-text,
  .method-system-head > .section-text {
    max-width: 680px;
  }

  .hero-personal {
    padding-top: 24px;
  }

  .hero-grid-personal,
  .education-hero-layout,
  .home-loss-grid,
  .education-ai-bonus {
    grid-template-columns: 1fr;
  }

  .hero-offer {
    max-width: 640px;
  }

  .home-fit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-glass-card,
  .home-glass-card:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .home-glass-card:last-child {
    grid-column: 1 / -1;
  }

  .flow-stage-track {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .flow-stage {
    scroll-snap-align: start;
  }

  .flow-detail-card {
    grid-template-columns: 1fr;
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-content {
    padding: 46px 38px 10px;
  }

  .founder-stage {
    min-height: 520px;
  }

  .founder-stage picture {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .founder-stage picture img {
    width: auto;
    height: calc(100% - 18px);
  }

  .education-course-grid {
    grid-template-columns: 1fr;
  }

  .education-process-grid,
  .education-audience-grid {
    grid-template-columns: 1fr;
  }

  .services-audit-cta {
    display: grid;
  }

  .cases-founder-person {
    opacity: .32;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer > .container {
    width: min(calc(100% - 24px), 1120px);
  }

  .footer-links a {
    min-height: 40px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .brand-name span {
    display: none;
  }

  .section,
  .final-contact-section {
    padding: 56px 0;
  }

  .page-hero,
  .education-hero,
  .cases-library-section--catalog {
    padding-top: 42px;
  }

  .hero-about-title,
  .education-hero-copy h1 {
    font-size: 42px;
  }

  .hero-about-lead {
    font-size: 17px;
  }

  .hero-actions,
  .actions,
  .hero-actions .btn,
  .actions .btn {
    width: 100%;
  }

  .hero-proof-panel {
    padding: 19px;
    border-radius: 22px;
  }

  .solutions-section .solution-card-featured {
    padding: 22px;
    border-radius: 22px;
  }

  .solution-featured-badge {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .solutions-section .solution-card-featured .service-head {
    align-items: flex-start;
    gap: 15px;
  }

  .solutions-section .solution-card-featured .service-icon {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    border-radius: 19px;
  }

  .solutions-section .solution-card-featured .service-icon svg {
    width: 40px;
    height: 40px;
  }

  .solutions-section .solution-card-featured .service-title h3 {
    font-size: 24px;
  }

  .solutions-section .solution-featured-body p {
    font-size: 15px;
  }

  .service-system-flow {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .service-system-flow li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .service-system-flow li:not(:last-child)::after {
    margin-inline: 12px;
  }

  .solution-featured-footer,
  .solution-featured-footer .card-bottom {
    width: 100%;
  }

  .solution-featured-footer .btn {
    width: 100%;
  }

  .solution-featured-rating {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .growth-chart {
    min-height: 0;
  }

  .hero-mini-case-grid,
  .case-metrics {
    grid-template-columns: 1fr;
  }

  .hero-mini-case-grid > div,
  .case-metric {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
  }

  .home-proof-grid,
  .home-fit-grid,
  .home-loss-board,
  .solutions-grid,
  .main-services-grid,
  .cases-grid,
  .trust-grid,
  .launch,
  .education-result-grid,
  .form-purpose-switch,
  .form-grid,
  .project-quiz-contact-grid,
  .case-modal-grid,
  .case-modal-meta {
    grid-template-columns: 1fr;
  }

  .solutions-section .solutions-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-grid > div {
    min-height: auto;
    padding: 24px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-proof-grid > div:last-child {
    border-bottom: 0;
  }

  .home-glass-card,
  .home-glass-card:last-child {
    grid-column: auto;
  }

  .solution-card-featured,
  .services-catalog-grid .solution-card-featured {
    grid-column: auto;
    min-height: 0;
  }

  .solutions-section .solution-card-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .solution-card,
  .service-card,
  .case-card {
    min-height: 0;
    padding: 22px;
  }

  .case-card h3 {
    font-size: 22px;
  }

  .services-audit-cta,
  .cases-founder-banner,
  .education-ai-bonus,
  .education-final-cta-card,
  .contact-form,
  .project-quiz-panel,
  .case-modal-panel {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .cases-founder-banner {
    min-height: 440px;
  }

  .cases-founder-person {
    right: -40px;
    width: 75%;
  }

  .premium-banner {
    border-radius: 24px;
  }

  .premium-content {
    padding: 36px 22px 0;
  }

  .premium-content h2 {
    font-size: 38px;
  }

  .founder-stage {
    min-height: 430px;
  }

  .diagnostic-map {
    inset-inline: 15px;
  }

  .founder-card {
    right: 14px;
    bottom: 18px;
  }

  .education-system-ui {
    padding: 20px;
  }

  .education-system-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .education-system-flow i {
    display: none;
  }

  .education-process-grid article,
  .education-audience-grid article,
  .education-result-grid article,
  .trust-item,
  .launch-card {
    min-height: 0;
  }

  .flow-detail-actions ul {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .footer-grid > :first-child,
  .footer .brand {
    justify-self: start;
    margin-inline: 0;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-actions,
  .project-quiz-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn,
  .project-quiz-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-name strong {
    font-size: 13px;
  }

  .hero-about-title,
  .education-hero-copy h1,
  .page-hero h1,
  .cases-library-head h1 {
    font-size: 36px;
  }

  .hero-proof-panel,
  .command-card-method {
    padding: 16px;
  }

  .premium-content h2 {
    font-size: 34px;
  }

  .project-quiz-modal,
  .case-modal {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
