:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --ink: #131616;
  --muted: #5f6863;
  --line: #d9ded6;
  --surface: #ffffff;
  --surface-strong: #edf3ee;
  --green: #0b6b57;
  --green-dark: #084638;
  --coral: #c9543f;
  --gold: #d4a33d;
  --blue: #b9c8ec;
  --shadow: 0 28px 70px rgba(24, 38, 31, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 244, 0) 260px),
    var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 30px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-symbol {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  font-size: 15px;
  font-weight: 780;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
}

.top-nav a {
  border-radius: 999px;
  padding: 9px 12px;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
  min-height: clamp(640px, calc(100vh - 150px), 760px);
  padding: 18px 0 56px;
}

.hero-copy {
  max-width: 720px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 7.2vw, 92px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.93;
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 28px;
  color: #39413d;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 0 20px;
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 107, 87, 0.22);
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.primary-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-note {
  max-width: 240px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.45;
}

.lead-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 238, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.lead-map::before {
  position: absolute;
  inset: 52px -120px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(11, 107, 87, 0.12);
  border-radius: 50%;
  content: "";
}

.lead-map-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.flow-visual {
  display: block;
  width: 100%;
  min-height: 330px;
  padding: 14px;
}

.flow-line {
  fill: none;
  stroke: rgba(11, 107, 87, 0.28);
  stroke-linecap: round;
  stroke-width: 3;
}

.flow-main {
  stroke: var(--green);
  stroke-width: 5;
}

marker path {
  fill: var(--green);
}

.flow-node rect {
  fill: #ffffff;
  stroke: #cbd3c9;
  stroke-width: 2;
}

.flow-node-core rect {
  fill: var(--green);
  stroke: var(--green-dark);
}

.flow-node text {
  fill: var(--ink);
  font-size: 20px;
  font-weight: 760;
}

.flow-node text + text {
  fill: var(--muted);
  font-size: 16px;
  font-weight: 620;
}

.flow-node-core text,
.flow-node-core text + text {
  fill: #ffffff;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 56px;
  border-top: 1px solid var(--line);
  padding: 82px 0;
}

.section-heading h2,
.split-band h2,
.credibility h2,
.ru-section h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p,
.split-band > div > p,
.ru-section p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

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

.service-steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.service-steps span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.service-steps h3 {
  font-size: 19px;
  font-weight: 760;
  line-height: 1.15;
}

.service-steps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
  border-radius: var(--radius);
  padding: 48px;
  background: var(--ink);
  color: #ffffff;
}

.split-band p {
  color: rgba(255, 255, 255, 0.76);
}

.product-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(185, 200, 236, 0.2), rgba(212, 163, 61, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.product-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.product-panel strong {
  display: block;
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.05;
}

.product-panel p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.credibility {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 56px;
  border-bottom: 1px solid var(--line);
  padding: 86px 0;
}

.credibility-list {
  display: grid;
  gap: 18px;
}

.credibility-list p {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  color: #39413d;
  font-size: 18px;
  line-height: 1.55;
}

.ru-section {
  max-width: 820px;
  padding: 78px 0 68px;
}

.ru-section p {
  color: #39413d;
}

.text-action {
  display: inline-flex;
  margin-top: 26px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 760;
  text-decoration: none;
}

.text-action:hover,
.text-action:focus-visible {
  color: var(--coral);
  border-color: var(--coral);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.5;
}

@media (max-width: 940px) {
  .page-shell {
    width: min(100% - 28px, 720px);
  }

  .site-header,
  .hero-actions,
  .site-footer {
    align-items: flex-start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-grid,
  .split-band,
  .credibility {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .lead-map {
    order: 2;
  }

  .split-band {
    padding: 34px;
  }

  .service-steps article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .service-steps p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 520px);
  }

  .site-header {
    padding: 20px 0 22px;
  }

  .top-nav a {
    padding: 8px 6px;
  }

  h1 {
    font-size: 44px;
    line-height: 0.96;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .primary-action {
    width: 100%;
  }

  .contact-note {
    max-width: none;
  }

  .lead-map-header {
    padding: 14px 16px;
  }

  .flow-visual {
    min-height: 260px;
    padding: 4px;
  }

  .section-grid,
  .credibility {
    padding: 60px 0;
  }

  .section-heading h2,
  .split-band h2,
  .credibility h2,
  .ru-section h2 {
    font-size: 34px;
  }

  .service-steps article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-steps p {
    grid-column: auto;
  }

  .split-band {
    padding: 26px;
  }

  .product-panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
