/* Contact page shell parity. Bathroom Renovations is the approved source. */
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: 84px !important;
  background: #142b3a !important;
  border-bottom: 0 !important;
  box-shadow: 0 2px 18px rgba(20, 43, 58, .08) !important;
}

.nav-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  height: 84px !important;
  margin: 0 !important;
  padding: 0 32px !important;
  gap: 36px !important;
  box-sizing: border-box !important;
}

.logo.logo-hi {
  order: 0 !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  width: auto !important;
  min-width: max-content !important;
  height: 100% !important;
  margin: 0 clamp(36px, 4vw, 72px) 0 0 !important;
  overflow: visible !important;
  color: #c4933f !important;
  text-decoration: none !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

.navbar .logo.logo-hi .dk-mark-img {
  display: block !important;
  width: 124px !important;
  height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.navbar .logo-hi-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

.navbar .logo-hi-text strong {
  display: block !important;
  color: #c4933f !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
  text-transform: none !important;
  text-shadow: none !important;
  transform: translateY(2px) !important;
  transition: color .18s ease !important;
}

.navbar .logo.logo-hi:hover .logo-hi-text strong,
.navbar .logo.logo-hi:focus-visible .logo-hi-text strong,
.navbar .logo.logo-hi:active .logo-hi-text strong {
  color: rgba(255, 252, 244, .94) !important;
}

.nav-links {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 clamp(24px, 3vw, 56px) 0 0 !important;
  padding: 0 !important;
  gap: 34px !important;
  overflow: visible !important;
  list-style: none !important;
  transform: none !important;
  flex: 0 1 auto !important;
}

.nav-links > li { position: relative !important; }
.nav-services-mobile { display: none !important; }

.navbar .nav-links > li > a {
  position: relative !important;
  display: block !important;
  padding: 30px 0 26px !important;
  border-bottom: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 180ms ease !important;
}

.navbar .nav-links > li > a:hover,
.navbar .nav-links > li > a:focus-visible,
.navbar .nav-links > li > a.active,
.navbar .nav-links > li > a[aria-current="page"] {
  color: #f5b035 !important;
}

.navbar .nav-links > li > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: calc(100% - 4px) !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c4933f !important;
  opacity: 0 !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: opacity 180ms ease, transform 180ms ease !important;
  pointer-events: none !important;
  box-shadow: none !important;
  display: block !important;
}

.navbar .nav-links > li > a:hover::after,
.navbar .nav-links > li > a:focus-visible::after,
.navbar .nav-links > li > a.active::after,
.navbar .nav-links > li > a[aria-current="page"]::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.nav-links .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1002;
  min-width: 230px;
  padding: 8px;
  border: 1px solid #e5ded4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 43, 58, .14);
  list-style: none;
}

.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown { display: block; }
.nav-links .dropdown a { display: block; padding: 10px 12px; border-radius: 6px; color: #142b3a; font-size: 13px; font-weight: 750; text-decoration: none; }
.nav-links .dropdown a:hover { background: rgba(196,147,63,.1); color: #0b2236; }

.nav-actions {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  height: 48px !important;
  margin-left: auto !important;
  gap: 26px !important;
  transform: none !important;
}

.nav-search {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer !important;
}

.nav-divider { display: none !important; width: 1px !important; height: 24px !important; background: rgba(255,255,255,.22) !important; }
.nav-main-phone { display: flex !important; align-items: center !important; height: 44px !important; gap: 11px !important; color: #fff !important; font-size: 22px !important; line-height: 1 !important; font-weight: 800 !important; text-decoration: none !important; white-space: nowrap !important; }
.nav-main-phone svg { width: 26px !important; height: 26px !important; color: #c4933f !important; flex: 0 0 auto !important; }
.header-quote-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; height: 48px !important; padding: 0 26px !important; border-radius: 7px !important; background: #f5b035 !important; color: #071d31 !important; font-size: 15px !important; font-weight: 850 !important; text-decoration: none !important; white-space: nowrap !important; }
.header-quote-btn:hover, .header-quote-btn:focus-visible { background: linear-gradient(180deg, #ffc75c 0%, #e0a02b 100%) !important; color: #071d31 !important; transform: translateY(-1px) !important; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 7px; background: #142b3a; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

.cat-bar {
  position: sticky !important;
  top: 84px !important;
  z-index: 900 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(220px, 420px)) !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 48px !important;
  gap: 56px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border-bottom: 1px solid #e5ded4 !important;
  box-shadow: 0 10px 26px rgba(20,43,58,.06) !important;
}

.cat-item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  width: max-content !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 28px !important;
  gap: 10px !important;
  overflow: visible !important;
  border: 0 !important;
  background: #fff !important;
  color: #142b3a !important;
  box-shadow: none !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
}

.cat-item::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  height:14px !important;
  background: transparent !important;
  pointer-events: auto !important;
  z-index: 1399 !important;
}

.cat-icon { display: none !important; }
.cat-title-link { display: flex; align-items: center; justify-content: center; color: inherit; text-align: center; text-decoration: none; line-height: 1.15; }
.cat-title-link strong { display: block; color: inherit; font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important; font-size: 19px !important; line-height: 1 !important; font-weight: 600 !important; letter-spacing: 0 !important; white-space: nowrap !important; }
.cat-title-link small { display: none !important; }
.cat-arrow { width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; color: #c4933f; opacity: .78; transform: rotate(45deg); transition: color .18s ease, transform .18s ease, margin-top .18s ease; }

@media (min-width: 901px) {
  body.contact-page .navbar .nav-links > li > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    white-space: normal !important;
    transition: color 180ms ease !important;
  }

  .contact-page .cat-bar > .cat-item:hover,
  .contact-page .cat-bar > .cat-item:focus-within,
  .contact-page .cat-bar > .cat-item:has(> .cat-menu:hover) {
    background: #0b2236 !important;
    color: #c6ac6e !important;
    box-shadow: inset 0 4px 0 #c4933f !important;
  }

  .contact-page .cat-bar > .cat-item:hover > .cat-title-link,
  .contact-page .cat-bar > .cat-item:hover > .cat-title-link strong,
  .contact-page .cat-bar > .cat-item:focus-within > .cat-title-link,
  .contact-page .cat-bar > .cat-item:focus-within > .cat-title-link strong,
  .contact-page .cat-bar > .cat-item:has(> .cat-menu:hover) > .cat-title-link,
  .contact-page .cat-bar > .cat-item:has(> .cat-menu:hover) > .cat-title-link strong {
    color: #c6ac6e !important;
  }

  .contact-page .cat-bar > .cat-item:hover > .cat-arrow,
  .contact-page .cat-bar > .cat-item:focus-within > .cat-arrow,
  .contact-page .cat-bar > .cat-item:has(> .cat-menu:hover) > .cat-arrow {
    color: #c6ac6e !important;
    border-right-color: #c6ac6e !important;
    border-bottom-color: #c6ac6e !important;
    transform: rotate(225deg) !important;
    margin-top: 4px !important;
  }
}

.contact-page .cat-bar .cat-menu a {
  text-decoration: none !important;
}

main { padding-top: 0 !important; }

@media (min-width: 1200px) {
  .nav-links { margin-left: auto !important; margin-right: 64px !important; }
  .nav-actions { margin-left: 0 !important; }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .nav-inner { padding-left: 32px !important; padding-right: 32px !important; }
  .logo.logo-hi { margin-right: 24px !important; }
  .nav-links { margin-left: clamp(28px,4vw,54px) !important; margin-right: 16px !important; gap: 18px !important; }
  .nav-actions { gap: 18px !important; }
  .nav-divider { display: block !important; }
  .nav-main-phone { font-size: 18px !important; }
  .nav-main-phone svg { width: 22px !important; height: 22px !important; }
  .nav-main-phone span { display: none !important; }
  .header-quote-btn { min-height: 42px !important; height: 42px !important; padding: 0 16px !important; font-size: 13px !important; }
  .cat-bar { padding: 0 28px !important; grid-template-columns: repeat(3,minmax(180px,1fr)) !important; }
}

@media (max-width: 900px) {
  .navbar, .nav-inner { height: 72px !important; }
  .navbar .logo.logo-hi .dk-mark-img { width: 72px !important; height: auto !important; max-height: none !important; }
  .navbar .logo-hi-text strong { font-size: 16px !important; }
  .nav-links:not(.open) { display: none !important; }
  .nav-links.open { position: fixed !important; top: 72px !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 1005 !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; margin: 0 !important; padding: 18px 24px !important; gap: 0 !important; background: rgba(20,43,58,.98) !important; overflow: auto !important; }
  .nav-links.open > li > a { padding: 14px 0 !important; border-bottom: 1px solid rgba(255,255,255,.1) !important; color: #fff !important; font-size: 17px !important; }
  .nav-links.open .nav-services-mobile { display: block !important; }
  .nav-links.open .dropdown { position: static !important; display: block !important; min-width: 0 !important; padding: 4px 0 8px 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
  .nav-links.open .dropdown a { padding: 8px 0 !important; color: rgba(255,255,255,.74) !important; background: transparent !important; }
  .nav-actions { margin-left: auto !important; }
  .nav-main-phone, .nav-divider, .header-quote-btn { display: none !important; }
  .mobile-menu-btn { display: block !important; }
  .cat-bar { top: 72px !important; height: 62px !important; min-height: 62px !important; padding: 0 !important; gap: 0 !important; grid-template-columns: repeat(3,1fr) !important; }
  .cat-item { width: auto !important; height: 62px !important; min-height: 62px !important; padding: 0 8px !important; }
  .cat-item::before { content: none !important; display: none !important; }
  .cat-title-link strong { font-size: 13px !important; }
  .cat-menu { display: none !important; }
}

@media (max-width: 640px) {
  .navbar, .nav-inner { height: 66px !important; }
  .nav-inner { padding: 0 14px !important; }
  .navbar .logo.logo-hi .dk-mark-img { width: 58px !important; }
  .navbar .logo-hi-text strong { font-size: 14px !important; }
  .nav-links.open { top: 66px !important; }
  .nav-search { display: none !important; }
  .nav-actions { width: 42px !important; margin-left: auto !important; gap: 0 !important; }
  .cat-bar { top: 66px !important; height: 58px !important; min-height: 58px !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .cat-item { width: auto !important; min-width: 0 !important; height: 58px !important; min-height: 58px !important; padding: 0 6px !important; }
  .cat-title-link strong { font-size: 12px !important; white-space: normal !important; }
  .cat-arrow { width: 7px !important; height: 7px !important; }
}
