/* Shared desktop navigation for the public homepage and quote page.
   Phone navigation remains owned by each page's existing mobile styles. */
@media (min-width: 761px) {
  body > header,
  .quote-header {
    height: 104px;
    border-bottom: 1px solid #e5e5e1;
    background: #fff;
  }

  .nav,
  .quote-nav {
    width: min(1540px, calc(100% - 72px));
    height: 100%;
    gap: 34px;
    margin-inline: auto;
  }

  .brand-logo,
  .quote-logo {
    flex: 0 0 286px;
    width: 286px;
    height: 88px;
    overflow: hidden;
  }

  .brand-logo img,
  .quote-logo img {
    display: block;
    width: 430px;
    max-width: none;
    height: auto;
    transform: translate(-72px, -103px);
  }

  .links,
  .quote-links {
    display: flex;
    gap: clamp(25px, 2.6vw, 48px);
    align-items: center;
    margin-left: auto;
  }

  .links a,
  .quote-links a {
    padding: 12px 0;
    color: #151515;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }

  .links a::after,
  .quote-links a::after {
    display: none;
  }

  .links a.current {
    color: #151515;
  }

  .customer-login,
  .quote-login {
    display: inline-flex;
    min-height: 48px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #151515;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
  }

  .nav-user-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 20px;
    flex: 0 0 18px;
  }

  .nav-user-icon::before {
    position: absolute;
    top: 1px;
    left: 5px;
    width: 7px;
    height: 7px;
    border: 1.7px solid currentColor;
    border-radius: 50%;
    content: "";
  }

  .nav-user-icon::after {
    position: absolute;
    bottom: 0;
    left: 1px;
    width: 16px;
    height: 8px;
    border: 1.7px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    content: "";
  }

  .customer-login:hover,
  .quote-login:hover {
    background: transparent;
    color: #ff7900;
    transform: none;
  }

  .top-quote,
  .quote-nav-cta {
    min-width: 202px;
    min-height: 54px;
    margin-left: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    background: #ff7900;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .01em;
    text-transform: uppercase;
  }

  .top-quote:hover,
  .quote-nav-cta:hover {
    background: #e56800;
    transform: translateY(-2px);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .nav,
  .quote-nav {
    width: calc(100% - 36px);
    gap: 18px;
  }

  .brand-logo,
  .quote-logo {
    flex-basis: 205px;
    width: 205px;
  }

  .brand-logo img,
  .quote-logo img {
    width: 330px;
    transform: translate(-60px, -78px);
  }

  .links,
  .quote-links {
    gap: 18px;
  }

  .links a,
  .quote-links a,
  .customer-login,
  .quote-login {
    font-size: 13px;
  }

  .top-quote,
  .quote-nav-cta {
    min-width: 156px;
    padding-inline: 15px;
    font-size: 13px;
  }
}
