:root {
  --bg: #100b04;
  --bg-soft: #15110b;
  --card: #111315;
  --card-2: #070809;

  --line: rgba(246, 189, 59, 0.22);

  --text: #f8f8f8;
  --muted: rgba(255, 255, 255, 0.58);

  --accent: #f6bd3b;
  --accent-2: #ffe18a;
  --accent-dark: #b77a12;

  --danger: #ff5656;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
   background: #070503;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  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, #ffd37a 0%, #f0a83a 100%);
  color: #211306;
  border: 1px solid rgba(255, 211, 122, 0.45);
  border-radius: 8px;
  box-shadow:
    0 10px 24px rgba(242, 162, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffe09a 0%, #f5b64a 100%);
  transform: translateY(-1px);
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.scroll-top {
  position: fixed;
  right: 26px;
  bottom: 26px;

  width: 54px;
  height: 54px;

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

  border-radius: 18px;
  border: 1px solid rgba(246, 189, 59, 0.24);

  background: radial-gradient(circle at 50% 18%, rgba(246, 189, 59, 0.14), transparent 45%), linear-gradient(180deg, #141516 0%, #090909 100%);

  color: #f6bd3b;
  font-size: 22px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;

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

  animation: scrollGlow 4s ease-in-out infinite;
}

@keyframes scrollGlow {
  0%,
  100% {
    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.45),
      0 0 0 rgba(246, 189, 59, 0);
  }

  50% {
    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.45),
      0 0 18px rgba(246, 189, 59, 0.12);
  }
}

.scroll-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);

  opacity: 0.6;
}

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

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

  border-color: rgba(246, 189, 59, 0.55);

  color: #ffd86b;

  box-shadow:
    0 0 24px rgba(246, 189, 59, 0.18),
    0 18px 45px rgba(0, 0, 0, 0.55);
}

.scroll-top:active {
  transform: translateY(-1px) scale(0.96);
}
.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;
  }
}

/* =================================
   404 Page
================================= */

.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: calc(100vh - 220px);
  padding: 70px 0;
}

.error-404__card {
  position: relative;
  overflow: hidden;

  width: 100%;
  max-width: 720px;

  margin: 0 auto;
  padding: 54px 40px;

  text-align: center;

  border-radius: 26px;
  border: 1px solid rgba(246, 189, 59, 0.22);

  background: radial-gradient(circle at 50% 0%, rgba(246, 189, 59, 0.08), transparent 36%), linear-gradient(180deg, #111315 0%, #070809 100%);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.error-404__card::before {
  content: '';

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: linear-gradient(90deg, transparent, #f6bd3b, #ffe18a, #f6bd3b, transparent);
}

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

  font-size: clamp(92px, 15vw, 170px);
  line-height: 0.9;
  font-weight: 950;

  color: #ffe18a;

  text-shadow: 0 0 30px rgba(246, 189, 59, 0.18);
}

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

  color: #fff;

  font-size: clamp(34px, 4vw, 48px);
  font-weight: 950;
  line-height: 1.1;
}

.error-404 p {
  max-width: 560px;

  margin: 0 auto 34px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 17px;
  line-height: 1.8;
}

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

.error-404__actions .btn-primary {
  min-width: 220px;
  min-height: 52px;

  border-radius: 14px;

  font-size: 15px;
  font-weight: 900;

  background: linear-gradient(135deg, #ffe18a, #f6bd3b);
  color: #120d05;

  border: 1px solid rgba(255, 230, 145, 0.65);

  box-shadow:
    0 14px 30px rgba(246, 189, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  transition: 0.25s;
}

.error-404__actions .btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 40px rgba(246, 189, 59, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .error-404 {
    min-height: auto;
    padding: 55px 0;
  }

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

  .error-404 p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .error-404__actions .btn-primary {
    width: 100%;
  }
}
