/* Shared nav + footer + book-a-call-modal styles, extracted once from the
   canonical (working) markup so every page renders them identically. */

/* --- Site navigation --------------------------------------------------- */

.custom-toggler {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e2e2 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    position: relative;
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.custom-toggler[aria-expanded="true"] .line1 {
    transform: translateY(7px) rotate(45deg);
}
.custom-toggler[aria-expanded="true"] .line2 {
    opacity: 0;
}
.custom-toggler[aria-expanded="true"] .line3 {
    transform: translateY(-7px) rotate(-45deg);
}





.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--bw-line);
  box-shadow: 0 1px 3px rgba(13,27,42,.05);
}
.site-nav .navbar-brand img { height: 100px; width: auto; object-fit: contain; }
.site-nav .nav-link {
  color: var(--bw-ink); font-size: 13.5px; font-weight: 600; white-space: nowrap;line-height: 3.5; padding: .5rem 0; text-decoration: none;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--bw-blue); }
.site-nav .nav-link:focus,
.site-nav .nav-link:focus-visible,
.site-nav .dropdown-toggle:focus,
.site-nav .dropdown-toggle:focus-visible,
.site-nav .nav-link:hover,
.site-nav .dropdown-toggle:hover {
  outline: none;
  box-shadow: none;
}
/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(160deg, var(--bw-navy-panel) 0%, #0d1c33 100%);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.footer-curve {
  position: absolute; left: 0; right: 0; top: -1px;
  width: 100%; height: 32px; display: block;
}
.footer-logo-plate {
  background: #fff; border-radius: 6px; padding: 6px 6px; display: inline-block;
}
.footer-logo-plate img { height: 100px; width: auto; object-fit: contain; display: block; }
.footer-blurb { font-size: .81rem; color: #efefef; line-height: 1.6; max-width: 250px; }
.footer-heading { color: #fff; font-size: 16px; font-weight: 700; }
.footer-links a, .footer-contact div { font-size: 14px; color: #f5f5f5; }
.footer-links a:hover { color: var(--bw-teal); }
.footer-address { font-size: .78rem; color: #7C8797; line-height: 1.5; }
.footer-bar { border-top: 1px solid var(--bw-line-dark); }
.footer-bar, .footer-bar a { font-size: 14px; color: #efefef; }
.footer-bar a:hover { color: var(--bw-teal); }
/* --- Book-a-call modal (CSS-only, :target driven) ----------------------- */
#book-a-call-modal {
  display: none; position: fixed; inset: 0; z-index: 1080;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(13,27,42,.72);
}
#book-a-call-modal:target { display: flex; }
.bacm-card {
  position: relative; background: #fff; width: 100%; max-width: 480px;
  border-radius: 6px; padding: 26px 30px; max-height: 94vh; overflow-y: auto;
}
.bacm-close {
  position: absolute; top: 16px; right: 18px;
  color: var(--bw-muted-light); font-size: 1.4rem; line-height: 1;
}
.bacm-close:hover { color: var(--bw-navy); }
.bacm-eyebrow {
  color: var(--bw-orange-dark); font-size: .69rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}
.bacm-title {
  font-family: var(--font-display); font-size: 1.375rem;
  font-weight: 700; color: var(--bw-navy);
}
.bacm-label { font-size: .75rem; font-weight: 600; color: #2B3646; margin-bottom: 2px !important; }
.bacm-input {
  width: 100%; padding: 9px 13px; border: 1.5px solid #DCD6C6;
  border-radius: 3px; font-size: .84rem; color: var(--bw-ink); background: #fff;
}
.bacm-note { font-size: .72rem; color: var(--bw-muted-light); }
@media (max-height: 800px) {
  .bacm-card { padding: 20px 28px; }
  .bacm-title { font-size: 1.15rem; margin-bottom: .75rem !important; }
  .bacm-form .d-flex.flex-column.gap-3 { gap: .6rem !important; }
  .bacm-input { padding: 7px 12px; }
}
@media (max-width: 575.98px) {
.footer-blurb { max-width: none; }
}
/* --- Mega-menu dropdowns ------------------------------------------------ */
.site-nav .dropdown-toggle::after { margin-left: .4em; vertical-align: .15em; }
.mega-menu {
  width: 100% !important; left: 0 !important; right: 0 !important; margin: 0 !important;
  border-radius: 0 !important; padding: 1rem 1rem !important;
  border: 0 !important;
  background: #fff !important; box-shadow: 0 24px 48px rgba(0,0,0,.18) !important;
}
.mega-col-title {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.4;
  color: var(--bw-muted); margin-bottom: .85rem;
}
.mega-menu .dropdown-item {
  font-size: .87rem; font-weight: 600; color: var(--bw-navy); line-height: 1.5;
  padding: .45rem 0 .45rem .85rem; white-space: normal;
  border-left: 2px solid var(--bw-paper-2);
}
.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus {
  background: transparent; color: var(--bw-blue); border-left-color: var(--bw-blue);
}
.mega-promo {
  background: var(--bw-paper); border-radius: 4px; padding: 1.5rem 1.4rem; height: 100%;
  border-top: 3px solid var(--bw-blue);
}
.mega-promo--teal { border-top-color: var(--bw-teal); }
.mega-promo--orange { border-top-color: var(--bw-orange); }
.mega-promo-eyebrow {
  font-size: .66rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--bw-muted); margin-bottom: .5rem;
}
.mega-promo-title {
  font-family: var(--font-display); font-size: .97rem;
  font-weight: 700; color: var(--bw-navy); margin-bottom: .5rem;
}
.mega-promo-text { font-size: .8rem; line-height: 1.55; color: var(--bw-ink-soft); margin-bottom: .9rem; }
.mega-promo-link { display: block; font-size: .82rem; font-weight: 600; color: var(--bw-blue); margin-top: .3rem; }
@media (max-width: 991.98px) {
  .site-nav .nav-link {
 line-height: 2rem;
}
.mega-menu { box-shadow: none !important; padding: .5rem 0; }
.mega-promo { display: none; }
.site-nav .navbar-collapse { max-height: 78vh; overflow-y: auto; }
}
/* ==========================================================================
   OFFLINE-SAFE NAV FALLBACK
   Minimal re-implementation of the Bootstrap classes the shared nav/footer
   depend on, so navigation still works if the Bootstrap CDN is unavailable
   (e.g. opening the files straight off disk with no connection).
   Bootstrap, when present, produces the same result.
   ========================================================================== */
.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.navbar-nav { display: flex; flex-direction: column; list-style: none; padding-left: 0; margin: 0; }
.navbar-brand { display: inline-block; }
.nav-link { display: block; padding: .5rem 0; text-decoration: none; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.navbar-toggler {
  padding: .25rem .75rem; background: transparent; border: 0;
  line-height: 1; cursor: pointer;
}
.navbar-toggler-icon {
  display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle;
  background-repeat: no-repeat; background-position: center; background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2822,32,46,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; z-index: 1030; }
.dropdown-menu.show { display: block; }
.dropdown-item { display: block; text-decoration: none; }
.dropdown-toggle::after {
  display: inline-block; margin-left: .4em; vertical-align: .15em; content: "";
  border-top: .3em solid; border-right: .3em solid transparent;
  border-bottom: 0; border-left: .3em solid transparent;
}
@media (min-width: 992px) {
.navbar-expand-lg { flex-wrap: nowrap; }
.navbar-expand-lg .navbar-nav { flex-direction: row; }
.navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
.navbar-expand-lg .navbar-toggler { display: none; }
}