:root {
  --bg: #06101c;
  --bg-soft: #0a1725;
  --card: #0b1d2e;
  --card-2: #10253a;

  --line: rgba(1, 164, 128, 0.18);

  --text: #f5f8ff;
  --muted: #9fb1c7;

  --accent: #01a480;
  --accent-2: #02b892;
  --accent-dark: #018a6d;

  --danger: #ff5656;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  padding: 34px 0;
}
.section-sm {
  padding: 20px 0;
}
.section-title {
  margin: 0 0 22px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}
.section-title--small {
  font-size: 20px;
}
.btn,
button {
  font: inherit;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 12px 30px rgba(1, 164, 128, 0.2);
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 90px;

  width: 56px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(1, 164, 128, 0.45);
  border-radius: 14px;

  background: linear-gradient(180deg, #01b88f 0%, #01a480 100%);

  color: #fff;
  font-size: 20px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(1, 164, 128, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition: 0.2s ease;

  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);

  background: linear-gradient(180deg, #02c499 0%, #01b88f 100%);

  box-shadow: 0 16px 34px rgba(1, 164, 128, 0.26);
}

.site-main h2 {
  scroll-margin-top: 90px;
}

body {
  padding-top: 72px;
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
}
@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .section {
    padding: 24px 0;
  }
}

.error-404 {
  padding: 80px 0;
}

.error-404__card {
  max-width: 720px;
  margin: 0 auto;
  padding: 54px 32px;
  text-align: center;

  border-radius: 28px;
  border: 1px solid rgba(1, 164, 128, 0.18);

  background: radial-gradient(circle at 50% 0%, rgba(1, 164, 128, 0.14), transparent 34%), linear-gradient(180deg, rgba(13, 29, 49, 0.92), rgba(7, 20, 33, 0.98));

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.error-404__code {
  margin-bottom: 14px;

  color: var(--accent);
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 950;
  line-height: 0.9;

  text-shadow: 0 0 28px rgba(1, 164, 128, 0.28);
}

.error-404 h1 {
  margin: 0 0 16px;

  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 950;
  line-height: 1.1;
}

.error-404 p {
  max-width: 520px;
  margin: 0 auto 28px;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.error-404__actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 560px) {
  .error-404 {
    padding: 48px 0;
  }

  .error-404__card {
    padding: 38px 22px;
    border-radius: 22px;
  }
}
