@import url("./qhp-signature-nav.css");
/* ==========================================================
   QUALITY HOME PRESERVATION
   SHARED SITE SHELL

   Header
   Utility technology bar
   Navigation
   Mobile navigation
   Footer

   This file intentionally uses qhp-shell-* classes so older
   page-specific header/footer rules cannot redesign the shell.
   ========================================================== */


:root {
  --qhp-shell-midnight: #071827;
  --qhp-shell-navy: #0B2032;
  --qhp-shell-slate: #344B61;
  --qhp-shell-steel: #8FA1B3;
  --qhp-shell-brass: #C89A3D;
  --qhp-shell-brass-dark: #A97D2C;
  --qhp-shell-brass-soft: #E3D0A4;
  --qhp-shell-warm: #F7F5F0;
  --qhp-shell-white: #FFFFFF;
}


/* ==========================================================
   MOUNTS
   ========================================================== */

[data-site-header],
[data-site-footer] {
  display: block;
}


[data-site-header] {
  position: sticky;
  top: 0;
  z-index: 1000;
}


.qhp-shell-container {
  width: min(1440px, calc(100% - 56px));
  margin-inline: auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

.qhp-shell-header {
  width: 100%;
  background: rgba(247,245,240,.98);
  color: var(--qhp-shell-midnight);
  transition:
    box-shadow .25s ease,
    background .25s ease;
}


.qhp-shell-header.is-scrolled {
  background: rgba(247,245,240,.995);
  box-shadow: 0 12px 38px rgba(7,24,39,.09);
}


/* ==========================================================
   TOP OPERATING BAR
   ========================================================== */

.qhp-shell-utility {
  min-height: 32px;
  display: flex;
  align-items: center;
  background: var(--qhp-shell-midnight);
}


.qhp-shell-utility-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


.qhp-shell-market,
.qhp-shell-powered {
  display: flex;
  align-items: center;
  gap: 8px;

  color: rgba(255,255,255,.61);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}


.qhp-shell-market > span {
  width: 3px;
  height: 3px;
  background: var(--qhp-shell-brass);
  border-radius: 50%;
}


.qhp-shell-powered strong {
  color: var(--qhp-shell-white);
  font-weight: 850;
}


.qhp-shell-powered > span {
  color: var(--qhp-shell-brass);
}


/* ==========================================================
   MAIN NAV
   ========================================================== */

.qhp-shell-main {
  min-height: 80px;
  display: flex;
  align-items: center;

  background: rgba(247,245,240,.98);
  border-bottom: 1px solid rgba(7,24,39,.10);
}


.qhp-shell-main-inner {
  position: relative;

  min-height: 80px;

  display: flex;
  align-items: center;
  gap: 34px;
}


.qhp-shell-logo {
  flex: 0 0 auto;

  width: 218px;

  display: flex;
  align-items: center;
}


.qhp-shell-logo img {
  width: 100%;
  height: auto;
  display: block;
}


.qhp-shell-navigation {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: clamp(19px, 1.65vw, 30px);
}


.qhp-shell-navigation > a:not(.qhp-shell-cta) {
  position: relative;

  padding: 29px 0 27px;

  color: #354957;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 15px;
  font-weight: 750;

  line-height: 1;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color .2s ease;
}


.qhp-shell-navigation > a:not(.qhp-shell-cta)::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;
  bottom: 20px;

  height: 2px;

  background: var(--qhp-shell-brass);

  transition:
    right .24s ease;
}


.qhp-shell-navigation > a:not(.qhp-shell-cta):hover {
  color: var(--qhp-shell-midnight);
}


.qhp-shell-navigation > a:not(.qhp-shell-cta):hover::after,
.qhp-shell-navigation > a.is-active::after {
  right: 0;
}


.qhp-shell-navigation > a.is-active {
  color: var(--qhp-shell-midnight);
}


.qhp-shell-cta {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-left: 7px;

  padding: 0 20px;

  color: var(--qhp-shell-midnight);

  background: var(--qhp-shell-brass);

  border: 1px solid var(--qhp-shell-brass);
  border-radius: 999px;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 13.5px;
  font-weight: 850;

  line-height: 1;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}


.qhp-shell-cta:hover {
  color: #FFFFFF;

  background: var(--qhp-shell-brass-dark);
  border-color: var(--qhp-shell-brass-dark);

  transform: translateY(-1px);
}


.qhp-shell-cta span {
  font-size: 15px;
}


/* ==========================================================
   MOBILE BUTTON
   ========================================================== */

.qhp-shell-menu-toggle {
  width: 44px;
  height: 44px;

  margin-left: auto;

  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;

  padding: 0;

  background: transparent;

  border: 1px solid rgba(7,24,39,.16);
  border-radius: 50%;

  cursor: pointer;
}


.qhp-shell-menu-toggle span {
  width: 17px;
  height: 1.5px;

  display: block;

  background: var(--qhp-shell-midnight);

  transition:
    transform .22s ease,
    opacity .22s ease;
}


.qhp-shell-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}


.qhp-shell-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}


.qhp-shell-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ==========================================================
   FOOTER
   ========================================================== */

.qhp-shell-footer {
  padding: 72px 0 27px;

  color: rgba(255,255,255,.67);

  background:
    linear-gradient(
      135deg,
      #071827 0%,
      #0A2236 100%
    );

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
}


.qhp-shell-footer-grid {
  display: grid;

  grid-template-columns:
    minmax(340px,1.42fr)
    .64fr
    .78fr
    .92fr;

  gap:
    clamp(35px, 4vw, 72px);
}


.qhp-shell-footer-brand {
  max-width: 470px;
}


.qhp-shell-footer-logo {
  width: 238px;

  display: inline-flex;

  padding: 11px 15px;

  background: var(--qhp-shell-warm);

  border-radius: 10px;
}


.qhp-shell-footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}


.qhp-shell-footer-statement {
  max-width: 440px;

  margin: 24px 0 0;

  color: rgba(255,255,255,.64);

  font-size: 16px;
  line-height: 1.75;
}


.qhp-shell-footer-operating-line {
  max-width: 460px;

  margin-top: 24px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 7px;

  color: rgba(255,255,255,.43);

  font-size: 10.5px;
  font-weight: 700;

  letter-spacing: .065em;
  text-transform: uppercase;
}


.qhp-shell-footer-operating-line span {
  color: var(--qhp-shell-brass-soft);
  font-weight: 850;
}


.qhp-shell-footer-operating-line i {
  width: 3px;
  height: 3px;

  display: inline-block;

  background: rgba(255,255,255,.30);

  border-radius: 50%;
}


.qhp-shell-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 8px;
}


.qhp-shell-footer-heading {
  margin: 4px 0 13px;

  color: var(--qhp-shell-brass-soft);

  font-size: 12px;
  font-weight: 850;

  letter-spacing: .14em;
  text-transform: uppercase;
}


.qhp-shell-footer-column > a {
  padding: 4px 0;

  color: rgba(255,255,255,.70);

  font-size: 15px;
  font-weight: 600;

  line-height: 1.3;

  text-decoration: none;

  transition:
    color .18s ease,
    transform .18s ease;
}


.qhp-shell-footer-column > a:hover {
  color: var(--qhp-shell-white);
  transform: translateX(2px);
}


.qhp-shell-footer-platform {
  gap: 17px;
}


.qhp-shell-footer-platform > div {
  display: grid;
  gap: 4px;
}


.qhp-shell-footer-platform strong {
  color: rgba(255,255,255,.88);

  font-size: 14px;
  font-weight: 750;
}


.qhp-shell-footer-platform span {
  max-width: 210px;

  color: rgba(255,255,255,.43);

  font-size: 12px;
  line-height: 1.45;
}


.qhp-shell-footer-bottom {
  margin-top: 57px;

  padding-top: 21px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  border-top:
    1px solid rgba(255,255,255,.11);

  color: rgba(255,255,255,.38);

  font-size: 12px;
  line-height: 1.6;
}


.qhp-shell-footer-dot {
  margin:
    0 4px;
}


.qhp-shell-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;

  gap: 4px;
}


.qhp-shell-credit a {
  color: rgba(255,255,255,.69);
  font-weight: 750;
  text-decoration: none;
}


.qhp-shell-credit a:hover {
  color: var(--qhp-shell-white);
}


.qhp-shell-credit strong {
  color: var(--qhp-shell-brass-soft);
}


/* ==========================================================
   TABLET / MOBILE NAV
   ========================================================== */

@media (max-width: 1050px) {

  .qhp-shell-main {
    min-height: 74px;
  }


  .qhp-shell-main-inner {
    min-height: 74px;
  }


  .qhp-shell-logo {
    width: 196px;
  }


  .qhp-shell-menu-toggle {
    display: flex;
  }


  .qhp-shell-navigation {
    position: absolute;

    top: calc(100% + 1px);
    left: 0;
    right: 0;

    margin: 0;

    display: grid;
    gap: 0;

    padding:
      13px 22px 22px;

    background:
      rgba(247,245,240,.995);

    border:
      1px solid rgba(7,24,39,.10);

    border-top: 0;

    border-radius:
      0 0 16px 16px;

    box-shadow:
      0 24px 55px rgba(7,24,39,.14);

    opacity: 0;
    visibility: hidden;

    transform:
      translateY(-8px);

    pointer-events:
      none;

    transition:
      opacity .2s ease,
      visibility .2s ease,
      transform .2s ease;
  }


  .qhp-shell-navigation.is-open {
    opacity: 1;
    visibility: visible;

    transform: none;

    pointer-events: auto;
  }


  .qhp-shell-navigation > a:not(.qhp-shell-cta) {
    padding:
      15px 2px;

    border-bottom:
      1px solid rgba(7,24,39,.08);

    font-size:
      14px;
  }


  .qhp-shell-navigation > a:not(.qhp-shell-cta)::after {
    display: none;
  }


  .qhp-shell-navigation > a.is-active {
    color:
      var(--qhp-shell-brass-dark);
  }


  .qhp-shell-cta {
    width: 100%;

    min-height: 48px;

    margin:
      18px 0 0;
  }


  .qhp-shell-footer-grid {
    grid-template-columns:
      1.35fr 1fr 1fr;

    gap:
      45px;
  }


  .qhp-shell-footer-brand {
    grid-column:
      1 / -1;

    max-width:
      650px;
  }

}


/* ==========================================================
   PHONE
   ========================================================== */

@media (max-width: 680px) {

  .qhp-shell-container {
    width:
      calc(100% - 30px);
  }


  .qhp-shell-utility {
    min-height:
      28px;
  }


  .qhp-shell-utility-inner {
    min-height:
      28px;

    justify-content:
      center;
  }


  .qhp-shell-market {
    display:
      none;
  }


  .qhp-shell-powered {
    justify-content:
      center;

    font-size:
      9.5px;

    letter-spacing:
      .09em;
  }


  .qhp-shell-main,
  .qhp-shell-main-inner {
    min-height:
      68px;
  }


  .qhp-shell-logo {
    width:
      180px;
  }


  .qhp-shell-menu-toggle {
    width:
      40px;

    height:
      40px;
  }


  .qhp-shell-navigation {
    left:
      -4px;

    right:
      -4px;
  }


  .qhp-shell-footer {
    padding:
      58px 0 24px;
  }


  .qhp-shell-footer-grid {
    grid-template-columns:
      1fr;

    gap:
      36px;
  }


  .qhp-shell-footer-brand {
    grid-column:
      auto;
  }


  .qhp-shell-footer-logo {
    width:
      215px;
  }


  .qhp-shell-footer-bottom {
    margin-top:
      42px;

    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      9px;
  }


  .qhp-shell-credit {
    justify-content:
      flex-start;
  }

}


/* ==========================================================
   SMALL PHONE
   ========================================================== */

@media (max-width: 390px) {

  .qhp-shell-container {
    width:
      calc(100% - 24px);
  }


  .qhp-shell-logo {
    width:
      165px;
  }


  .qhp-shell-powered {
    font-size:
      7.5px;
  }

}
