/* Urban Web v2 — human studio header and audit navigation refinement */

@media (min-width: 1120px) {
  .site-header {
    column-gap: clamp(14px, 1.35vw, 24px);
  }

  .desktop-nav {
    gap: clamp(9px, .8vw, 16px);
    align-items: center;
  }

  /* The audit link is intentionally part of the navigation—not a second CTA button. */
  .desktop-nav .nav-audit-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 14px 10px 7px;
    color: #174f49;
    font-weight: 750;
    letter-spacing: -.01em;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(222,241,235,.72), rgba(238,247,243,.38));
    box-shadow: inset 0 -2px 0 rgba(33,111,101,.38);
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .desktop-nav .nav-audit-link::before {
    content: "FREE";
    position: absolute;
    top: 3px;
    left: 10px;
    color: #8a5a2c;
    font-size: 8px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .14em;
  }

  .desktop-nav .nav-audit-link:hover,
  .desktop-nav .nav-audit-link:focus-visible {
    color: #0d3c37;
    background: rgba(219,239,233,.95);
    box-shadow: inset 0 -3px 0 #2c7b70;
    transform: translateY(-1px);
  }

  /* Keep only one button-shaped action in the header. */
  .site-header .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #294540;
    font-size: 14px;
    font-weight: 680;
    white-space: nowrap;
  }

  .site-header .phone-link:hover,
  .site-header .phone-link:focus-visible {
    color: #17685f;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .site-header .quote-nav-link {
    padding: 11px 17px;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 760;
    box-shadow: 0 5px 14px rgba(20,76,69,.14);
  }
}

@media (max-width: 1119px) {
  .mobile-menu nav .nav-audit-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0;
    padding: 14px 16px;
    border: 1px solid rgba(39,113,103,.24);
    border-radius: 12px;
    background: rgba(224,242,237,.72);
    color: #174f49;
    font-weight: 780;
  }

  .mobile-menu nav .nav-audit-link::after {
    content: "FREE";
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff9ed;
    color: #8a5a2c;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
  }
}

/* v2.1 — make the menu background a continuous full-width top band */
.site-header {
  position: sticky;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  isolation: isolate;
  background: #fffdf8 !important;
  border-bottom: 1px solid rgba(23, 54, 58, .12) !important;
  box-shadow: 0 4px 24px rgba(23, 54, 58, .06) !important;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fffdf8;
  border-bottom: 1px solid rgba(23, 54, 58, .12);
  pointer-events: none;
}

@media (max-width: 1119px) {
  .site-header {
    background: #fffdf8 !important;
  }
}
