/* Shared conversion paths, including tablet widths where the old CTA disappeared. */
.mobile-contact-links,
.quote-label-short {
  display: none;
}
@media (max-width: 1100px) {
  .header .container > .btn {
    display: inline-flex;
    font-size: 12px;
    padding-inline: 14px;
    gap: 12px;
    flex-shrink: 0;
  }
}
@media (max-width: 1000px) {
  .header {
    height: 70px;
  }
  .header .container {
    gap: 12px;
  }
  .header .identity {
    min-width: 0;
  }
  .header .identity-logo {
    width: 35px;
    height: 34px;
  }
  .header .identity b {
    font-size: 16px;
  }
  .header .identity small {
    font-size: 7px;
  }
  .header .container > .btn {
    order: 2;
    margin-left: auto;
    min-height: 40px;
    padding-inline: 13px;
    font-size: 11px;
    gap: 8px;
  }
  .header .container > .btn .arrow {
    display: none;
  }
  .header .quote-label-full {
    display: none;
  }
  .header .quote-label-short {
    display: inline;
  }
  .header .mobile-menu {
    display: block;
    order: 3;
    margin-left: 0;
    border: 0;
    background: none;
    color: var(--ink);
    padding: 8px;
    font-size: 25px;
    line-height: 1;
    min-width: 40px;
    min-height: 44px;
  }
  .header .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 22px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 28px #102b4326;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    white-space: normal;
  }
  .header .nav.open {
    display: flex;
  }
  .header .nav > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 14px;
  }
  .header .nav > a[aria-current='page']:after {
    display: none;
  }
  .header .mobile-contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .header .mobile-contact-links a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 14px;
    min-height: 62px;
    border: 1px solid #dce7ed;
    border-radius: 7px;
    background: #f3f7f9;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
  }
  .header .mobile-contact-links b {
    font-weight: 650;
  }
  .header .mobile-contact-links small {
    font-size: 10px;
    color: #668297;
    margin-top: 3px;
  }
  .header .mobile-contact-links .mobile-quote {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 650;
  }
  .header .mobile-contact-links a:focus-visible {
    outline: 3px solid #50c7c2;
    outline-offset: 3px;
  }
}
@media (max-width: 360px) {
  .header .container {
    gap: 8px;
  }
  .header .identity {
    gap: 7px;
  }
  .header .identity b {
    font-size: 15px;
  }
  .header .container > .btn {
    padding-inline: 11px;
  }
  .header .nav {
    padding-inline: 18px;
  }
  .header .mobile-contact-links a {
    padding-inline: 10px;
  }
}
