@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:wght@600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #070b10;
  --band: #0d151c;
  --panel: #111c24;
  --panel-soft: #14222c;
  --line: rgba(126, 205, 224, 0.22);
  --line-strong: rgba(141, 242, 201, 0.36);
  --text: #edf8fb;
  --muted: #a8bac2;
  --strong: #d9f6f8;
  --cyan: #55d9e8;
  --mint: #8df2c9;
  --gold: #f0c96a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #05080c 0%, #0b1218 54%, #101a22 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

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

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 20px;
}

li {
  margin: 8px 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 16, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: grid;
  gap: 2px;
  min-width: 210px;
}

.brand strong {
  font-size: 16px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.section {
  border-bottom: 1px solid rgba(126, 205, 224, 0.12);
}

.section-inner {
  padding: clamp(48px, 7vw, 86px) 0;
}

.hero .section-inner {
  min-height: calc(100svh - 74px);
  display: grid;
  align-content: center;
  gap: 28px;
  padding-bottom: clamp(36px, 6vw, 70px);
}

.hero.compact .section-inner {
  min-height: 470px;
}

.kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 980px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
}

.section h2 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

.section h3 {
  font-size: 20px;
}

.lead {
  max-width: 780px;
  color: var(--strong);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.body-copy,
.card p,
.muted {
  color: var(--muted);
  line-height: 1.65;
}

.proof-line {
  color: var(--mint);
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(141, 242, 201, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #051017;
  border-color: transparent;
}

.button.text {
  border-color: transparent;
  background: transparent;
  color: var(--cyan);
  padding-inline: 4px;
}

.microcopy {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel), rgba(14, 23, 30, 0.92));
  box-shadow: var(--shadow);
}

.card > * + * {
  margin-top: 12px;
}

.strip {
  padding: 24px;
  border-left: 4px solid var(--mint);
  background: var(--band);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  align-items: start;
}

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

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(85, 217, 232, 0.14);
  color: var(--cyan);
  font-weight: 800;
}

.page-stack {
  display: grid;
  gap: 22px;
}

.offer {
  scroll-margin-top: 92px;
}

.price-line {
  color: var(--gold);
  font-weight: 800;
}

.case-result {
  color: var(--mint);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--strong);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 9, 13, 0.78);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.form-status {
  color: var(--mint);
  min-height: 22px;
}

.sophea-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(360px, calc(100% - 36px));
}

.sophea-panel {
  display: none;
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0d171f;
  box-shadow: var(--shadow);
}

.sophea-widget.open .sophea-panel {
  display: grid;
  gap: 12px;
}

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

.sophea-field {
  display: grid;
  gap: 7px;
  color: var(--strong);
  font-size: 13px;
  font-weight: 700;
}

.sophea-map-form textarea {
  min-height: 110px;
}

.sophea-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sophea-map-actions .button {
  flex: 1 1 150px;
}

.sophea-map-status {
  min-height: 20px;
  color: var(--mint);
  font-size: 13px;
  line-height: 1.5;
}

.sophea-toggle {
  width: 100%;
  min-height: 52px;
}

.sophea-widget.open .sophea-toggle {
  border-color: var(--line);
  background: rgba(17, 28, 36, 0.96);
  color: var(--strong);
}

.site-footer {
  background: #05080c;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 940px) {
  .nav-wrap,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .split,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero .section-inner {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

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

  .hero h1,
  .page-title {
    font-size: 40px;
  }

  .section h2 {
    font-size: 30px;
  }

  .card,
  .strip {
    padding: 18px;
  }
}
