.growth-page {
  --growth-surface: #0d1b30;
  --growth-surface-2: #10213a;
  --growth-line: rgba(130, 180, 255, .2);
  --growth-muted: #9fb3cb;
  --growth-blue: #4c94ff;
  background: #07101f;
  color: #edf5ff;
}

.growth-page h1,
.growth-page h2,
.growth-page h3 {
  text-wrap: balance;
}

.growth-hero {
  padding: clamp(68px, 8vw, 112px) 0 clamp(58px, 7vw, 94px);
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 126, 244, .25), transparent 34%),
    linear-gradient(90deg, rgba(7, 16, 31, .98), rgba(7, 16, 31, .76)),
    url('/assets/images/hero-background.webp') center / cover;
}

.growth-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
}

.growth-hero h1 {
  max-width: 860px;
  margin: 18px 0 24px;
  font-size: clamp(46px, 5.7vw, 78px);
  line-height: .98;
  letter-spacing: -.05em;
}

.growth-lead {
  max-width: 760px;
  margin: 0;
  color: #b3c4d8;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
}

.growth-hero-proof {
  position: relative;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  background: rgba(9, 27, 51, .84);
  border: 1px solid rgba(91, 158, 255, .42);
  border-radius: 20px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.growth-hero-proof::before {
  content: "Реальный процесс";
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 7px 10px;
  color: #ddecff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(7, 16, 31, .84);
  border: 1px solid rgba(130, 180, 255, .3);
  border-radius: 8px;
}

.growth-hero-proof img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(590px, 62vh);
  margin: 0 auto;
  background: #f4f7fb;
  border-radius: 12px;
}

.growth-hero-proof figcaption {
  padding: 13px 4px 2px;
  color: var(--growth-muted);
  font-size: 14px;
  line-height: 1.5;
}

.growth-trust {
  border-block: 1px solid var(--growth-line);
  background: #0b1729;
}

.growth-trust .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.growth-trust div {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 1px solid var(--growth-line);
}

.growth-trust div:last-child { border-right: 0; }
.growth-trust strong { display: block; margin-bottom: 8px; color: #fff; font-size: 19px; }
.growth-trust span { color: var(--growth-muted); line-height: 1.48; }

.growth-section { padding: clamp(70px, 9vw, 122px) 0; }
.growth-section.alt { background: #0b1729; }
.growth-section h2 { max-width: 960px; margin: 0 0 22px; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.03; letter-spacing: -.04em; }
.growth-section > .container > p { max-width: 760px; color: var(--growth-muted); font-size: 18px; line-height: 1.62; }

.growth-task-grid,
.growth-related-grid,
.growth-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.growth-task-grid article,
.growth-related-grid a,
.growth-case-card {
  min-width: 0;
  padding: 30px;
  background: var(--growth-surface);
  border: 1px solid var(--growth-line);
  border-radius: 18px;
}

.growth-task-grid article {
  min-height: 240px;
}

.growth-task-grid span,
.growth-kicker {
  color: var(--growth-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.growth-task-grid h3 { margin: 42px 0 12px; font-size: 25px; }
.growth-task-grid p { margin: 0; color: var(--growth-muted); line-height: 1.55; }

.growth-proof-layout {
  display: grid;
  grid-template-columns: minmax(300px, .74fr) minmax(520px, 1.26fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.growth-proof-copy p { color: var(--growth-muted); font-size: 18px; line-height: 1.62; }

.growth-checks {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--growth-line);
}

.growth-checks li {
  position: relative;
  padding: 16px 0 16px 28px;
  color: #dce8f7;
  border-bottom: 1px solid rgba(130, 180, 255, .14);
}

.growth-checks li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--growth-blue);
}

.growth-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.growth-gallery figure {
  margin: 0;
  padding: 10px;
  overflow: hidden;
  color: #44566d;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.growth-gallery figure:nth-child(2) { margin-top: 42px; }
.growth-gallery img { display: block; width: auto; max-width: 100%; height: auto; max-height: 640px; margin: 0 auto; background: #f4f7fb; border-radius: 10px; }
.growth-gallery figcaption { padding: 12px 4px 3px; font-size: 13px; line-height: 1.45; }

.growth-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.growth-flow li {
  position: relative;
  min-height: 220px;
  padding: 26px;
  background: var(--growth-surface-2);
  border: 1px solid var(--growth-line);
  border-radius: 16px;
}

.growth-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 100%;
  width: 13px;
  height: 2px;
  background: var(--growth-blue);
}

.growth-flow span { color: var(--growth-blue); font-weight: 850; }
.growth-flow h3 { margin: 48px 0 10px; font-size: 22px; }
.growth-flow p { margin: 0; color: var(--growth-muted); font-size: 15px; line-height: 1.5; }

.growth-case-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.growth-case-card:hover { transform: translateY(-3px); border-color: var(--growth-blue); }
.growth-case-card img { width: calc(100% + 36px); height: 180px; margin: -18px -18px 26px; object-fit: cover; object-position: top; border-radius: 12px; }
.growth-case-card small { color: var(--growth-blue); font-weight: 800; }
.growth-case-card h2,
.growth-case-card h3 { margin: 16px 0 12px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -.025em; }
.growth-case-card p { margin: 0 0 24px; color: var(--growth-muted); line-height: 1.5; }
.growth-case-card strong { margin-top: auto; color: #fff; }

.growth-related-grid a {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
}

.growth-related-grid a:hover { border-color: var(--growth-blue); }
.growth-related-grid strong { font-size: 23px; }
.growth-related-grid span { margin-top: 8px; color: var(--growth-muted); line-height: 1.45; }

.growth-faq { display: grid; grid-template-columns: minmax(280px, .54fr) minmax(0, 1fr); gap: clamp(38px, 7vw, 92px); align-items: start; }
.growth-faq details { border-bottom: 1px solid var(--growth-line); }
.growth-faq summary { padding: 21px 36px 21px 0; color: #fff; font-size: 19px; font-weight: 750; cursor: pointer; }
.growth-faq details p { margin: 0; padding: 0 0 22px; color: var(--growth-muted); line-height: 1.62; }

.growth-case-hero { padding-bottom: 52px; }
.growth-case-hero h1 { font-size: clamp(42px, 5vw, 70px); }
.growth-case-hero .growth-hero-proof img { height: min(520px, 60vh); }

.growth-result-band {
  background: #1263d8;
}

.growth-result-band .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.growth-result-band div { min-height: 142px; padding: 30px; border-right: 1px solid rgba(255, 255, 255, .2); }
.growth-result-band div:last-child { border-right: 0; }
.growth-result-band strong { display: block; color: #fff; font-size: clamp(25px, 3vw, 38px); }
.growth-result-band span { display: block; margin-top: 8px; color: #dcecff; line-height: 1.45; }

.growth-story {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 8vw, 110px);
}

.growth-story-steps { display: grid; gap: 12px; }
.growth-story-steps article { padding: 24px 26px; background: var(--growth-surface); border: 1px solid var(--growth-line); border-radius: 14px; }
.growth-story-steps span { color: var(--growth-blue); font-weight: 850; }
.growth-story-steps h3 { margin: 20px 0 8px; font-size: 22px; }
.growth-story-steps p { margin: 0; color: var(--growth-muted); line-height: 1.5; }

.growth-final { padding: 66px 0; background: #1263d8; }
.growth-final .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.growth-final h2 { margin: 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.growth-final p { margin: 0 0 10px; color: #dcecff; }
.growth-final .button { background: #fff; color: #08234a; }

@media (max-width: 980px) {
  .growth-hero-grid,
  .growth-proof-layout,
  .growth-story { grid-template-columns: 1fr; }
  .growth-task-grid,
  .growth-case-grid { grid-template-columns: repeat(2, 1fr); }
  .growth-flow { grid-template-columns: repeat(2, 1fr); }
  .growth-flow li:not(:last-child)::after { display: none; }
  .growth-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .growth-hero { padding-top: 48px; }
  .growth-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .growth-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .growth-trust .container,
  .growth-result-band .container { grid-template-columns: 1fr; }
  .growth-trust div,
  .growth-result-band div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--growth-line); }
  .growth-trust div:last-child,
  .growth-result-band div:last-child { border-bottom: 0; }
  .growth-task-grid,
  .growth-case-grid,
  .growth-flow,
  .growth-gallery { grid-template-columns: 1fr; }
  .growth-gallery figure:nth-child(2) { margin-top: 0; }
  .growth-hero-proof img,
  .growth-case-hero .growth-hero-proof img,
  .growth-gallery img { max-height: 620px; }
  .growth-task-grid article,
  .growth-flow li { min-height: 0; }
  .growth-faq { grid-template-columns: 1fr; }
  .growth-final .container { grid-template-columns: 1fr; }
  .growth-final .button { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .growth-case-card { transition: none; }
}
