.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(179, 122, 58, 0.28);
  background: rgba(3, 3, 3, 0.82);
  backdrop-filter: blur(20px) saturate(120%);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 3, 3, 0.94);
  border-bottom-color: rgba(199, 154, 87, 0.42);
}

.site-header,
.site-header *,
.mobile-panel,
.mobile-panel * {
  box-sizing: border-box;
}

.nav-wrap,
.site-header .nav-wrap {
  width: 100%;
  height: 82px;
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.site-header .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 154px;
  width: 154px;
  min-width: 154px;
  max-width: 154px;
  height: 100%;
  gap: 0;
}

.brand-mark,
.site-header .brand-mark,
.site-header .brand img.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  transform: translateY(34px);
  box-shadow: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.62));
}

.desktop-nav,
.site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-home,
.nav-link {
  min-height: 82px;
  padding: 0 12px;
  color: rgba(245, 245, 243, 0.76);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

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

.nav-link {
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.nav-home:hover,
.nav-home:focus-visible,
.nav-link:hover,
.nav-link:focus-visible,
.nav-item.is-active .nav-link {
  color: var(--bronze-light, #d7b26d);
  outline: none;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(560px, calc(100vw - 48px));
  padding: 22px;
  transform: translateY(12px);
  border: 1px solid rgba(215, 178, 109, 0.22);
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-active .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dropdown-grid > div:only-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.dropdown-grid > div:only-child h3 {
  grid-column: 1 / -1;
}

.dropdown h3 {
  margin: 0 0 12px;
  color: var(--bronze-light, #d7b26d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dropdown a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 243, 0.82);
  font-size: 13px;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

.dropdown a span {
  display: block;
  margin-top: 3px;
  color: rgba(183, 188, 195, 0.58);
  font-size: 11px;
  font-weight: 400;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  color: var(--bronze-light, #d7b26d);
  outline: none;
  transform: translateX(3px);
}

.nav-ctas,
.site-header .nav-ctas {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  min-width: 300px;
}

.site-header .btn,
.mobile-ctas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

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

.site-header .btn-primary,
.mobile-ctas .btn-primary {
  background: linear-gradient(135deg, var(--bronze-light, #d7b26d), var(--bronze, #c79a57) 52%, var(--bronze-deep, #8c5d24));
  color: #050505;
  border-color: rgba(199, 154, 87, 0.74);
  box-shadow: 0 12px 30px rgba(179, 122, 58, 0.18);
}

.site-header .btn-secondary,
.mobile-ctas .btn-secondary {
  color: var(--quartz, #f5f5f3);
  border-color: rgba(215, 178, 109, 0.5);
  background: rgba(156, 123, 82, 0.08);
}

.site-header .btn-secondary:hover,
.site-header .btn-secondary:focus-visible,
.mobile-ctas .btn-secondary:hover,
.mobile-ctas .btn-secondary:focus-visible {
  background: rgba(156, 123, 82, 0.2);
}

.site-header .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 178, 109, 0.34);
  background: rgba(8, 8, 8, 0.5);
  color: var(--quartz, #f5f5f3);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 82px 0 0;
  z-index: 49;
  display: none;
  overflow-y: auto;
  padding: 18px 22px 34px;
  background: rgba(5, 5, 5, 0.98);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

body.nav-open .mobile-panel {
  transform: translateX(0);
}

.mobile-home {
  display: block;
  padding: 0 0 18px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(215, 178, 109, 0.16);
  color: var(--bronze-light, #d7b26d);
  font-size: 18px;
  font-weight: 800;
}

.mobile-group {
  border-bottom: 1px solid rgba(215, 178, 109, 0.16);
}

.mobile-trigger {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--quartz, #f5f5f3);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.mobile-trigger::after {
  content: "+";
  color: var(--bronze-light, #d7b26d);
  font-size: 24px;
  font-weight: 400;
}

.mobile-trigger[aria-expanded="true"]::after {
  content: "-";
}

.mobile-direct {
  text-decoration: none;
}

.mobile-direct::after {
  content: "";
}

.mobile-links {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 0 0 18px;
}

.mobile-links.is-open {
  display: grid;
}

.mobile-links a {
  color: rgba(245, 245, 243, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.mobile-ctas {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

body.cam-header-refreshed #vehiclePage {
  padding-top: 112px;
}

body.cam-header-refreshed main > .hero[style*="background-image"][aria-labelledby="vehicle-title"] {
  height: auto;
  min-height: 680px;
  padding-top: 230px;
}

main:has(#vehicle-title) .story .actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
}

main:has(#vehicle-title) .story .actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 10px;
  text-align: center;
  line-height: 1.18;
  white-space: normal;
}

@media (min-width: 1181px) and (max-width: 1340px) {
  .site-header .nav-wrap {
    width: 100%;
    max-width: 1440px;
    gap: 14px;
    padding: 0 24px;
  }

  .site-header .brand {
    flex-basis: 118px;
    width: 118px;
    min-width: 118px;
    max-width: 118px;
  }

  .site-header .brand-mark,
  .site-header .brand img.brand-mark {
    width: 118px;
    height: 118px;
    max-width: none;
    transform: translateY(28px);
  }

  .site-header .nav-home,
  .site-header .nav-link {
    padding: 0 8px;
    font-size: 12px;
  }

  .site-header .nav-link {
    gap: 5px;
  }

  .site-header .nav-ctas {
    min-width: auto;
    gap: 8px;
  }

  .site-header .btn {
    gap: 7px;
    padding: 0 12px;
    font-size: 12px;
  }

  .site-header .dropdown {
    width: min(500px, calc(100vw - 48px));
  }
}

@media (min-width: 1181px) {
  .mobile-panel {
    display: none !important;
    transform: translateX(100%) !important;
  }

  body.nav-open {
    overflow: auto;
  }
}

@media (max-width: 1180px) {
  .nav-wrap,
  .site-header .nav-wrap {
    width: 100%;
    max-width: 1440px;
    padding: 0 22px;
  }

  .brand,
  .site-header .brand {
    flex-basis: 118px;
    width: 118px;
    min-width: auto;
    max-width: 118px;
  }

  .brand-mark,
  .site-header .brand-mark,
  .site-header .brand img.brand-mark {
    width: 118px;
    height: 118px;
    max-width: none;
    transform: translateY(28px);
  }

  .desktop-nav,
  .nav-ctas,
  .site-header .desktop-nav,
  .site-header .nav-ctas {
    display: none;
  }

  .menu-toggle,
  .site-header .menu-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    display: block;
  }

  body.cam-header-refreshed main > .hero[style*="background-image"][aria-labelledby="vehicle-title"] {
    min-height: 620px;
    padding-top: 170px;
  }
}

@media (max-width: 620px) {
  .site-header .brand {
    flex-basis: 96px;
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }

  .site-header .brand-mark,
  .site-header .brand img.brand-mark {
    width: 96px;
    height: 96px;
    max-width: none;
    transform: translateY(22px);
  }

  body.cam-header-refreshed main > .hero[style*="background-image"][aria-labelledby="vehicle-title"] {
    min-height: 560px;
    padding-top: 132px;
  }

  main:has(#vehicle-title) .story .actions {
    gap: 8px;
  }

  main:has(#vehicle-title) .story .actions .btn {
    min-height: 50px;
    padding: 0 6px;
    font-size: 11px;
  }
}
