#nav-placeholder {
  min-height: 82px;
  contain: layout;
}

#footer-placeholder {
  min-height: 400px;
  contain: layout;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 193, 69, .24), transparent 34%),
    linear-gradient(180deg, rgba(35, 15, 5, .96), rgba(20, 8, 3, .9));
  border-bottom: 1px solid rgba(255, 210, 100, .22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: translateY(2px);
}

.brand img {
  width: 168px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .42));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 248, 231, .82);
  text-decoration: none;
  font-weight: 850;
  font-size: .94rem;
  letter-spacing: .01em;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #2a1307;
  background: linear-gradient(180deg, #ffe26a, #ff9e28);
  transform: translateY(-1px);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #321506;
  border: 1px solid rgba(255, 236, 134, .88);
  background: linear-gradient(180deg, #fff06c 0%, #ffb32c 48%, #ef6f13 100%);
  box-shadow: 0 10px 0 #7a2e0a, 0 18px 28px rgba(255, 125, 19, .28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 8px 0 #7a2e0a, 0 20px 34px rgba(255, 125, 19, .38);
}

.btn-ghost {
  color: rgba(255, 248, 231, .9);
  border: 1px solid rgba(255, 214, 112, .38);
  background: rgba(255, 255, 255, .07);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 224, 103, .75);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .22);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 214, 112, .34);
  border-radius: 16px;
  background: rgba(255, 255, 255, .075);
  color: var(--text);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: rgba(255, 248, 231, .88);
  text-decoration: none;
  font-weight: 850;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: #ffd45a;
  outline: none;
}

.mobile-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
}

.mobile-cta a {
  border-bottom: 0;
}


.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 184, 44, .18), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(255, 226, 81, .10), transparent 30%),
    linear-gradient(180deg, #3a4057 0%, #30354a 54%, #252a3b 100%);
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 42px 0 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  width: 172px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .34));
}

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

.footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-weight: 900;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: #2a1307;
  background: linear-gradient(180deg, #ffe26a, #ff9e28);
  transform: translateY(-1px);
  outline: none;
}

.footer-divider {
  height: 1px;
  margin: 30px 0 28px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) .82fr .82fr;
  gap: 32px;
  align-items: start;
}

.footer-about,
.footer-column {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(20, 24, 38, .28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.footer-about {
  padding: 22px;
}

.footer-column {
  padding: 20px;
}

.footer-about h3,
.footer-column h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.footer-about p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-cta-row .btn {
  min-height: 42px;
  padding-inline: 16px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-weight: 750;
  transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffe251;
  transform: translateX(3px);
  outline: none;
}

.trust-strip {
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 24px;
  background: rgba(20, 24, 38, .34);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  flex-wrap: wrap;
}

.trust-label {
  color: rgba(255, 255, 255, .58);
  font-weight: 900;
}

.trust-strip img {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: rgba(255, 255, 255, .58);
  font-weight: 800;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

@media (max-width: 1020px) {
  .footer-top,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-menu {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu.is-open {
    display: block;
  }
}

@media (max-width: 640px) {
  #nav-placeholder {
    min-height: 72px;
  }

  .nav-shell {
    min-height: 72px;
    gap: 12px;
  }

  .brand img {
    width: 132px;
    height: 49px;
  }

  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-cta {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    gap: 4px;
  }

  .footer-menu a {
    min-height: 36px;
    padding: 0 10px;
    font-size: .94rem;
  }

  .footer-brand img {
    width: 142px;
    height: 52px;
  }

  .footer-main {
    gap: 16px;
  }

  .footer-about,
  .footer-column {
    padding: 18px;
  }

  .trust-strip {
    justify-content: flex-start;
    border-radius: 20px;
  }

  .trust-strip img {
    max-height: 40px;
  }
}
