html,
body {
  overflow-x: hidden;
}

:root {
  --agent-brand-gold: #c9871f;
  --agent-brand-gold-deep: #8d5f1c;
  --agent-brand-forest: #566447;
  --agent-ink: #292621;
  --agent-ink-soft: #4e473c;
  --agent-paper: rgba(255, 251, 240, 0.96);
}

.astroid-section.border-bottom {
  background: rgba(255, 251, 244, 0.92);
  border-bottom: 1px solid rgba(137, 104, 49, 0.1) !important;
}

.astroid-section.border-bottom .container {
  padding-bottom: 8px;
  padding-top: 8px;
}

.astroid-contact-info {
  align-items: center;
  color: var(--agent-ink-soft);
  display: flex;
  font-size: 0.84rem;
  gap: 18px;
  justify-content: flex-end;
  line-height: 1.2;
}

.astroid-contact-info a {
  color: inherit;
  text-decoration: none;
}

.astroid-contact-info i {
  color: var(--agent-brand-gold-deep);
}

.astroid-contact-mobile {
  align-items: center;
  display: inline-flex;
  margin-right: 4px;
}

.astroid-header-section {
  backdrop-filter: saturate(135%) blur(10px);
  background: var(--agent-paper);
  border-bottom: 1px solid rgba(137, 104, 49, 0.14);
  box-shadow: 0 8px 22px rgba(35, 35, 35, 0.06);
  left: 0 !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
  width: 100% !important;
  z-index: 1000 !important;
}

.astroid-header-section + #content,
.astroid-header-section + .astroid-component-section {
  margin-top: 112px;
}

#astroid-sticky-header {
  display: none !important;
}

.astroid-header-section .container {
  padding-bottom: 10px;
  padding-top: 10px;
  transition:
    padding-bottom 180ms ease,
    padding-top 180ms ease;
}

.astroid-header-section .d-flex.flex-row.justify-content-between {
  align-items: center;
  gap: 18px;
}

.header-left-section,
.header-right-section {
  align-items: center;
}

.logo-wrapper.astroid-logo {
  align-items: center;
  display: flex;
  padding: 4px 0;
  transition: padding 180ms ease;
}

.astroid-header-section .astroid-logo img {
  display: block;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.55));
  image-rendering: auto;
  max-height: 84px;
  transition: max-height 180ms ease;
  width: auto;
}

.agent-header-compact .astroid-header-section {
  background: rgba(255, 251, 240, 0.98);
  box-shadow: 0 6px 18px rgba(35, 35, 35, 0.08);
}

.agent-header-compact .astroid-header-section .container {
  padding-bottom: 5px;
  padding-top: 5px;
}

.agent-header-compact .logo-wrapper.astroid-logo {
  padding: 1px 0;
}

.agent-header-compact .astroid-header-section .astroid-logo img {
  max-height: 60px;
}

.astroid-logo-default,
.astroid-logo-sticky {
  display: block !important;
}

.astroid-logo-mobile {
  display: none !important;
}

.astroid-logo-image {
  max-width: 240px;
}

.astroid-header-section .astroid-nav {
  align-items: center;
  gap: 4px;
}

.astroid-header-section .astroid-nav > li > a {
  align-items: center;
  color: var(--agent-ink) !important;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 40px;
  padding: 11px 13px !important;
  position: relative;
  text-decoration: none !important;
  text-transform: none !important;
  transition: color 180ms ease;
}

.astroid-header-section .astroid-nav > li > a::after {
  background: var(--agent-brand-gold-deep);
  bottom: 6px;
  content: "";
  height: 1px;
  left: 13px;
  position: absolute;
  right: 13px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.astroid-header-section .astroid-nav .nav-title,
.astroid-header-section .astroid-nav .nav-title-text {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.astroid-header-section .astroid-nav > li > a:hover,
.astroid-header-section .astroid-nav > li > a:focus-visible {
  color: var(--agent-brand-gold-deep) !important;
}

.astroid-header-section .astroid-nav > li > a:focus-visible {
  outline: none;
}

.astroid-header-section .astroid-nav > li > a:hover::after,
.astroid-header-section .astroid-nav > li > a:focus-visible::after {
  transform: scaleX(1);
}

.astroid-header-section .astroid-nav > li.nav-item-active > a,
.astroid-header-section .astroid-nav > li.nav-item-current > a {
  color: var(--agent-brand-forest) !important;
}

.astroid-header-section .astroid-nav > li.nav-item-active > a::after,
.astroid-header-section .astroid-nav > li.nav-item-current > a::after {
  background: var(--agent-brand-forest);
  transform: scaleX(1);
}

.header-mobilemenu-trigger .button {
  align-items: center;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(141, 95, 28, 0.18);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(45, 36, 22, 0.06);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: 44px;
}

.header-mobilemenu-trigger .button:hover,
.header-mobilemenu-trigger .button:focus-visible {
  background: #fffdf8;
  border-color: rgba(141, 95, 28, 0.32);
  box-shadow: 0 8px 18px rgba(45, 36, 22, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.header-mobilemenu-trigger .button .inner,
.header-mobilemenu-trigger .button .inner::before,
.header-mobilemenu-trigger .button .inner::after {
  background-color: var(--agent-brand-gold-deep);
}

.astroid-mobile-menu .nav-item > a {
  border-bottom: 1px solid rgba(137, 104, 49, 0.12);
  color: var(--agent-ink) !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  padding: 14px 18px !important;
  text-transform: none !important;
}

.astroid-mobile-menu .nav-item-active > a,
.astroid-mobile-menu .nav-item-current > a,
.astroid-mobile-menu .nav-item > a:hover,
.astroid-mobile-menu .nav-item > a:focus-visible {
  background: rgba(86, 100, 71, 0.09);
  color: var(--agent-brand-forest) !important;
}

@media (max-width: 767.98px) {
  .astroid-section.border-bottom .container {
    padding-bottom: 6px;
    padding-top: 6px;
  }

  .astroid-contact-info {
    flex-wrap: wrap;
    font-size: 0.76rem;
    gap: 10px;
    justify-content: center;
  }

  .astroid-contact-info > :first-child,
  .astroid-contact-email {
    display: none;
  }

  .astroid-header-section .container {
    padding-bottom: 6px;
    padding-top: 6px;
  }

  .astroid-header-section + #content,
  .astroid-header-section + .astroid-component-section {
    margin-top: 88px;
  }

  .astroid-header-section .d-flex.flex-row.justify-content-between {
    min-height: 76px;
    transition: min-height 180ms ease;
  }

  .astroid-header-section .astroid-logo img {
    max-height: 64px;
  }

  .agent-header-compact .astroid-header-section .d-flex.flex-row.justify-content-between {
    min-height: 58px;
  }

  .agent-header-compact .astroid-header-section .astroid-logo img {
    max-height: 48px;
  }

  .astroid-logo-default,
  .astroid-logo-sticky {
    display: none !important;
  }

  .astroid-logo-mobile {
    display: block !important;
  }

  .astroid-logo-image {
    max-width: 176px;
  }

  .header-left-section {
    flex: 1 1 auto;
    justify-content: center !important;
  }

  .header-mobilemenu-trigger .button {
    height: 40px;
    width: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astroid-header-section .astroid-nav > li > a,
  .astroid-header-section .astroid-nav > li > a::after,
  .header-mobilemenu-trigger .button {
    transition: none !important;
  }

  .astroid-header-section .astroid-nav > li > a:hover,
  .astroid-header-section .astroid-nav > li > a:focus-visible,
  .header-mobilemenu-trigger .button:hover,
  .header-mobilemenu-trigger .button:focus-visible {
    transform: none;
  }
}
