.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 0;
  background: rgba(11, 11, 13, 0.94);
  border-bottom: 1px solid rgba(245, 244, 240, 0.12);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--brand-off-white, #f5f4f0);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.logo img {
  width: min(180px, 46vw);
  height: auto;
  max-height: 46px;
  border-radius: 0;
  object-fit: contain;
  border: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-light, #f5f4f0);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-signal, #e63946);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(245, 244, 240, 0.22);
  color: var(--text-light, #f5f4f0);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(245, 244, 240, 0.08);
  border-color: rgba(245, 244, 240, 0.3);
}

.menu-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-icon .hl-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.mobile-menu-toggle .hl-icon--menu-close {
  display: none;
}

.mobile-menu-toggle[aria-expanded='true'] .hl-icon--menu-open {
  display: none;
}

.mobile-menu-toggle[aria-expanded='true'] .hl-icon--menu-close {
  display: inline-block;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1400;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand-off-white, #f5f4f0);
  color: var(--brand-obsidian, #0b0b0d);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hl-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

#main-content,
.section[id] {
  scroll-margin-top: 104px;
}

footer {
  background: var(--bg-dark, #0b0b0d);
  border-top: 1px solid rgba(245, 244, 240, 0.12);
  padding: 60px 0 30px;
  color: var(--brand-steel, #8a8f98);
}

footer .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--text-light, #f5f4f0);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-column p,
.footer-column ul li {
  color: #c8c5bd;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li .hl-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 8px;
  color: var(--brand-signal, #e63946);
  vertical-align: -0.15em;
}

.footer-column ul li a {
  color: #c8c5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--brand-signal, #e63946);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(245, 244, 240, 0.08);
  border: 1px solid rgba(245, 244, 240, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light, #f5f4f0);
  transition: all 0.3s ease;
}

.social-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
}

.social-link:hover {
  background: var(--brand-signal, #e63946);
  border-color: var(--brand-signal, #e63946);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(245, 244, 240, 0.12);
}

.footer-recaptcha-note {
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(245, 244, 240, 0.04);
  border: 1px solid rgba(245, 244, 240, 0.1);
}

.footer-recaptcha-note p {
  color: #c8c5bd;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-recaptcha-note a {
  color: var(--text-light, #f5f4f0);
}

.footer-quote {
  margin-top: 10px;
}

.grecaptcha-badge {
  left: 16px !important;
  right: auto !important;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 1100 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}

body.recaptcha-active .grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links.open,
  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: rgba(11, 11, 13, 0.98);
    border-top: 1px solid rgba(245, 244, 240, 0.12);
    border-bottom: 1px solid rgba(245, 244, 240, 0.12);
  }
}

@media (max-width: 768px) {
  .skip-link {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    text-align: center;
  }

  .grecaptcha-badge {
    left: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}
