.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 104px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 220px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: rgba(247, 247, 244, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 160ms ease;
}

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

.menu-toggle {
  display: none;
}

.header-cta {
  gap: 8px;
}

.header-cta-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer {
  padding: 58px 0 34px;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-logo {
  width: 170px;
  height: 72px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid p,
.footer-bottom {
  color: var(--muted);
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--black) !important;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 rgba(235, 193, 47, 0);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover {
  transform: translateY(-1px);
  background: #f4cc43;
  color: var(--black) !important;
  box-shadow: 0 10px 24px rgba(235, 193, 47, 0.16);
}

.social-links a:focus-visible {
  color: var(--black) !important;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .brand {
    order: 1;
  }

  .menu-toggle {
    order: 3;
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    position: fixed;
    inset: 104px 0 auto 0;
    display: none;
    padding: 8px 20px 22px;
    background: rgba(5, 5, 5, 0.99);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .header-cta {
    order: 2;
    justify-self: end;
    display: inline-flex;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.68rem;
    white-space: nowrap;
    color: var(--black);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 86px;
  }

  .brand img {
    width: 148px;
    height: 68px;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.68rem;
  }

  .site-nav {
    inset: 86px 0 auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
