.header {
  --navy: #002e49;
  --sand: #f9bf8f;
  --red: #d62828;
  --white: #ffffff;
  --ink: #102534;
  --line: rgba(0, 46, 73, 0.14);
  --surface: rgba(255, 255, 255, 0.84);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
  pointer-events: none;
}

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

.shell {
  width: min(1460px, calc(100% - 56px));
  margin: 0 auto;
}

.topBar {
  padding-top: 18px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  line-height: 1;
  pointer-events: auto;
  position: relative;
  z-index: 62;
}

.topBar .shell,
.brandBar .shell,
.mainNav .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topBar .shell {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  gap: 20px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(0, 46, 73, 0.94), rgba(0, 46, 73, 0.82)),
    radial-gradient(circle at 50% 0%, rgba(249, 191, 143, 0.2), transparent 42%);
  box-shadow: 0 8px 30px rgba(0, 20, 32, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(1.2);
}

.contactStrip {
  display: flex;
  gap: 14px;
}

.socialStrip,
.emailStrip {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contactStrip a,
.contactStrip span,
.socialStrip a,
.emailStrip a,
.emailStrip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.socialStrip a {
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease;
}

.socialStrip a:hover,
.socialStrip a:focus-visible {
  color: var(--sand);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.emailStrip {
  justify-content: flex-end;
}

.location {
  display: inline-flex;
}

.topIcon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.socialIcon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socialFilled {
  fill: currentColor;
  stroke: none;
}

.socialCutout {
  fill: var(--navy);
  stroke: none;
}

.brandBar {
  margin-top: 12px;
  background: transparent;
  pointer-events: auto;
  position: relative;
  z-index: 62;
}

.brandBar .shell {
  min-height: 104px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.54)),
    radial-gradient(circle at 12% 18%, rgba(249, 191, 143, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 38px rgba(0, 20, 32, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(1.18);
}

.logoLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 92px;
  padding: 0;
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.logoImage {
  display: block;
  width: 112px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 46, 73, 0.22));
}

.logoMark {
  display: inline-flex;
  min-width: 168px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: var(--navy);
  background: linear-gradient(145deg, rgba(249, 191, 143, 0.75), rgba(255, 255, 255, 0.56));
  box-shadow: inset 8px 8px 18px rgba(255, 255, 255, 0.68), inset -8px -8px 18px rgba(0, 46, 73, 0.08), 0 16px 30px rgba(0, 46, 73, 0.12);
  font-weight: 900;
  text-transform: uppercase;
}

.logoMark span,
.logoMark small {
  display: none;
}

.logoMark strong {
  font-size: 28px;
  letter-spacing: 0;
}

.brandActions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primaryCta,
.secondaryCta,
.navCta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(180deg, #ee3333, var(--red));
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(214, 40, 40, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.secondaryCta {
  border-color: rgba(0, 46, 73, 0.24);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.navCta {
  display: none;
}

.primaryCta:hover,
.navCta:hover,
.primaryCta:focus-visible,
.navCta:focus-visible {
  background: #b91f1f;
  border-color: #b91f1f;
  box-shadow: 0 16px 30px rgba(214, 40, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.secondaryCta:hover,
.secondaryCta:focus-visible {
  background: rgba(249, 191, 143, 0.22);
  border-color: rgba(0, 46, 73, 0.36);
  color: var(--navy);
  transform: translateY(-1px);
}

.mainNav {
  margin: 0;
  background: transparent;
  pointer-events: auto;
}

.navList {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navItem {
  position: relative;
  display: flex;
  align-items: stretch;
}

.navLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 11px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  transition: color 170ms ease-out, background-color 170ms ease-out, transform 170ms ease-out, border-color 170ms ease-out;
}

.navLink:hover,
.navLink:focus-visible,
.navItem:focus-within .navLink,
.navItemOpen .navLink {
  color: var(--navy);
  border-color: rgba(0, 46, 73, 0.08);
  background: rgba(249, 191, 143, 0.24);
  transform: translateY(-1px);
}

.navLink::after {
  position: absolute;
  right: 11px;
  bottom: 6px;
  left: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--sand);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 170ms ease-out, transform 170ms ease-out;
}

.navLink:hover::after,
.navLink:focus-visible::after,
.navItemOpen .navLink::after {
  opacity: 1;
  transform: scaleX(1);
}

.navButton {
  appearance: none;
}

.chevron {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.navItemOpen .chevron,
.mobileDropdownButton[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 340px;
  padding-top: 10px;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 170ms ease-out, transform 170ms ease-out, visibility 170ms ease-out;
}

.navItem:hover .dropdown,
.navItem:focus-within .dropdown,
.dropdown[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdownInner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(0, 46, 73, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.96)),
    rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(1.12);
  box-shadow: 0 18px 45px rgba(0, 20, 35, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.dropdownColumn h3,
.mobileDropdownPanel h3 {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dropdownLink,
.mobileSubLink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 46, 73, 0.08);
  transition: color 170ms ease-out, background-color 170ms ease-out, transform 170ms ease-out;
}

.dropdownLink:last-child,
.mobileSubLink:last-child {
  border-bottom: 0;
}

.dropdownLink::after {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  opacity: 0.44;
  transform: rotate(45deg);
  transition: opacity 170ms ease-out, transform 170ms ease-out;
}

.dropdownLink:hover::after,
.dropdownLink:focus-visible::after {
  opacity: 0.82;
  transform: translateX(2px) rotate(45deg);
}

.dropdownLink:hover,
.dropdownLink:focus-visible,
.mobileSubLink:hover,
.mobileSubLink:focus-visible {
  color: var(--red);
  background: rgba(249, 191, 143, 0.18);
  transform: translateX(2px);
}

.mobileToggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 16px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 46, 73, 0.12);
  position: relative;
  z-index: 70;
  touch-action: manipulation;
}

.menuIcon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobilePanel {
  display: none;
  pointer-events: auto;
}

.mobilePanel[hidden],
.mobileDropdownPanel[hidden] {
  display: none !important;
}

@media (max-width: 1280px) {
  .shell {
    width: min(100% - 40px, 1460px);
  }

  .topBar .shell {
    gap: 16px;
  }

  .location {
    display: none;
  }

  .emailStrip .location {
    display: none;
  }

  .brandBar .shell {
    grid-template-columns: 122px minmax(0, 1fr) auto;
    gap: 16px;
    padding-right: 16px;
    padding-left: 18px;
  }

  .logoLink {
    width: 122px;
  }

  .logoImage {
    width: 104px;
  }

  .navLink {
    padding: 0 9px;
    font-size: 12px;
  }

  .primaryCta,
  .secondaryCta {
    padding: 0 18px;
  }
}

@media (max-width: 1100px) {
  .header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    pointer-events: auto;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topBar .shell {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 18px;
    gap: 10px;
    border-radius: 0 0 18px 18px;
  }

  .contactStrip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }

  .socialStrip {
    gap: 12px;
  }

  .emailStrip {
    justify-content: center;
  }

  .brandBar .shell {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: space-between;
    min-height: 92px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 38px rgba(0, 46, 73, 0.14);
  }

  .logoLink {
    width: 118px;
    height: 78px;
  }

  .logoImage {
    width: 108px;
    height: 78px;
  }

  .logoMark strong {
    font-size: 31px;
  }

  .mainNav {
    display: none;
  }

  .brandActions {
    justify-content: flex-end;
    min-width: 0;
    gap: 8px;
  }

  .brandActions .secondaryCta,
  .brandActions .primaryCta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .mobileToggle {
    display: inline-flex;
    flex: 0 0 auto;
    width: 42px;
    height: 40px;
    border-width: 1px;
    border-radius: 12px;
  }

  .mobilePanel:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 55;
    max-height: calc(100vh - 170px);
    overflow: auto;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 45px rgba(0, 20, 35, 0.16);
    animation: mobileMenuIn 170ms ease-out;
  }

  .mobilePanel nav {
    width: min(100% - 32px, 560px);
    margin: 0 auto;
    padding: 12px 0 6px;
  }

  .mobileLink,
  .mobileDropdownButton {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 12px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.5);
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
  }

  .mobileDropdownPanel {
    padding: 14px 10px 18px 16px;
    border-bottom: 1px solid var(--line);
  }

  .mobileDropdownPanel section + section {
    margin-top: 18px;
  }

  .mobileActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(100% - 32px, 560px);
    margin: 0 auto;
    padding: 12px 0 18px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .topBar {
    font-size: 12px;
  }

  .contactStrip {
    display: grid;
    gap: 8px;
  }

  .logoImage {
    width: 88px;
    height: 64px;
    max-width: 88px;
    max-height: 64px;
  }

  .logoLink {
    width: 94px;
    height: 68px;
  }

  .brandBar .shell {
    min-height: 78px;
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .brandActions {
    gap: 6px;
  }

  .brandActions .secondaryCta,
  .brandActions .primaryCta {
    min-height: 36px;
    border-radius: 9px;
    padding: 0 9px;
    font-size: 10px;
  }

  .mobileToggle {
    width: 38px;
    height: 36px;
  }

  .menuIcon {
    width: 20px;
    height: 20px;
  }

  .logoMark span {
    font-size: 15px;
  }

  .logoMark strong {
    font-size: 27px;
  }

  .logoMark small {
    font-size: 13px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .chevron,
  .dropdown,
  .primaryCta,
  .secondaryCta,
  .navCta {
    transition: none;
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
