/* Vertically center every desktop link, including the outlined service action. */
.mv-sticky-actions {
  position: fixed;
  z-index: 900;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border: 0;
  background: rgba(31, 31, 31, .3);
  box-shadow: none;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.mv-sticky-actions[hidden] { display: none !important; }
.mv-sticky-actions__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 10px;
  max-width: 620px;
  margin-inline: auto;
}
.mv-sticky-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 12px 10px;
  border: 1px solid #6d92b2;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-text, "Inter-Regular", sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.mv-sticky-actions__call { background: #132c40; }
.mv-sticky-actions .mv-sticky-actions__estimate { background: #fe6218; border-color: #fe6218; color: #171717; }
.mv-sticky-actions svg { width: 18px; height: 18px; flex: 0 0 18px; }
.mv-sticky-actions a:hover { filter: brightness(1.15); color: #fff; }
.mv-sticky-actions a:focus-visible { outline: 3px solid #fe8b43; outline-offset: 3px; }
body:has(> .mv-sticky-actions) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
body.fixed > .mv-sticky-actions,
body.mb-locked > .mv-sticky-actions,
.request-service-open .mv-sticky-actions { display: none; }
@media print {
  .mv-sticky-actions { display: none; }
  body:has(> .mv-sticky-actions) { padding-bottom: 0; }
}
@media (min-width: 769px) {
  .header .navigation { align-items: center; }
  .header #nav { align-items: center; margin-block: 0; padding-left: 0; }
  .header #nav li { align-items: center; }
}
@media (min-width: 900px) {
  .mb-header .mb-header__bar,
  .mb-header .mb-nav,
  .mb-header .mb-nav ul,
  .mb-header .mb-nav ul li { align-items: center; }
}
/* Keep the longer navigation usable on smaller laptops and tablets. */
@media (min-width: 769px) and (max-width: 1199px) {
  .header .navigation { width: 94%; }
  .header .navigation > .logo { flex: 0 0 200px; }
  .header .navigation > .logo img { width: 200px; height: auto; }
  .header #nav li { padding: 10px 7px; }
  .header #nav li a { font-size: 13px; white-space: nowrap; }
  .header .navigation > .btn { display: none; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .mb-header .mb-header__bar { width: 94%; gap: 0; }
  .mb-header .mb-logo { flex: 0 0 200px; }
  .mb-header .mb-logo img { width: 200px; height: auto; }
  .mb-header .mb-nav { display: contents; }
  .mb-header .mb-nav ul { gap: 0; }
  .mb-header .mb-nav ul li { display: flex; padding: 10px 7px; }
  .mb-header .mb-nav ul a { font-size: 13px; white-space: nowrap; }
  .mb-header .mb-nav .mb-nav__cta { display: none; }
}

/* Separate the estimate action from the ordinary page links in both menus. */
.header #nav li.mv-estimate-nav,
.mb-header #mb-nav li.mv-estimate-nav {
  padding: 0;
  margin-left: 18px;
}
.header #nav .mv-estimate-nav > a,
.mb-header #mb-nav .mv-estimate-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: #fe6218;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.header #nav .mv-estimate-nav > a:hover,
.mb-header #mb-nav .mv-estimate-nav > a:hover { background: #ff7b39; color: #171717; }
.header #nav .mv-estimate-nav > a:focus-visible,
.mb-header #mb-nav .mv-estimate-nav > a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .header #nav li.mv-estimate-nav { margin: 24px auto 0; padding: 0; }
  .header #nav .mv-estimate-nav > a { width: min(260px, 100%); min-height: 54px; font-size: 18px; }
}
@media (max-width: 899px) {
  .mb-header #mb-nav li.mv-estimate-nav { margin: 24px auto 0; padding: 0; }
  .mb-header #mb-nav .mv-estimate-nav > a { width: min(260px, 100%); min-height: 54px; font-size: 18px; }
}
