.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 16px 40px;
  background: rgba(11, 15, 22, 0.94);
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  width: 148px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 32px;
}

.header-nav a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: #34d399;
}

.header-nav a[aria-current="page"] {
  color: #34d399;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 0 0 auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.side-rail {
  display: none;
}

.side-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  padding: 2px 0;
}

.side-rail a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.side-rail a[aria-current="page"]::before {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0b0f16;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 40px 48px;
  overflow: auto;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer[hidden] {
  display: block;
  visibility: hidden;
}

.nav-drawer.is-open[hidden] {
  visibility: visible;
}

.nav-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.nav-drawer nav {
  display: grid;
  gap: 18px;
}

.nav-drawer a {
  font-size: 28px;
  font-weight: 600;
}

body.menu-open {
  overflow: hidden;
}

.site-footer {
  background: #000;
  color: #ccc;
  padding: 40px 0 24px;
}

.trust-bar {
  background: #000;
  padding: 40px 0 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.trust-item {
  text-align: center;
}

.trust-item img {
  display: block;
  width: 60px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.trust-item h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 32% 25% 21% 22%;
  gap: 16px;
  align-items: start;
}

.footer-logo {
  width: 140px;
  margin: 30px 0 0 66px;
}

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #298eff;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.socials a {
  width: 28px;
  height: 28px;
}

.socials img {
  width: 16px;
  height: 16px;
}

.footer-copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #979797;
  text-align: center;
  color: #f3f4f699;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
    gap: 12px;
  }

  .header-nav {
    display: none;
  }

  .logo img {
    width: 120px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-logo {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .wrap,
  .wrap-wide {
    width: calc(100% - 40px);
  }

  .header-tools .btn-gradient {
    padding: 8px 12px;
    font-size: 14px;
  }

  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-drawer a {
    font-size: 22px;
  }
}
