/* ==========================================================================
   Premium global chrome — navbar, modals (contact/login), footer
   Loaded site-wide after site_v2.css to lift the shared UI to match the
   premium directory experience. Namespaced by element/class to stay safe.
   ========================================================================== */

:root {
  --pdx-accent: #1f6feb;
  --pdx-accent-2: #6d5efc;
  --pdx-gold: #c9a24b;
  --pdx-navy-1: #0a1526;
  --pdx-navy-2: #122844;
  --pdx-ink: #0f1b2d;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.navbar.fixed-top {
  background: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
  box-shadow: 0 4px 24px rgba(16, 33, 61, 0.06);
  min-height: 58px;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.navbar.fixed-top .navbar-brand-title {
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: var(--pdx-ink) !important;
}

.navbar.fixed-top .navbar-nav > a,
.navbar.fixed-top .navbar-nav > div > a,
.navbar.fixed-top .navbar-nav .nav-link {
  color: var(--pdx-ink) !important;
  font-weight: 500 !important;
  font-size: 14.5px !important;
  padding: 8px 14px !important;
  margin: 0 2px;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
}

.navbar.fixed-top .navbar-nav > a:hover,
.navbar.fixed-top .navbar-nav > div > a:hover,
.navbar.fixed-top .navbar-nav .nav-link:hover {
  color: var(--pdx-accent) !important;
  background: rgba(31, 111, 235, 0.08);
  text-decoration: none !important;
  font-weight: 500 !important;
}

/* Dropdown menus */
.navbar.fixed-top .dropdown-menu {
  border: 1px solid rgba(15, 27, 45, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(16, 33, 61, 0.16) !important;
  padding: 8px !important;
  margin-top: 8px !important;
}

.navbar.fixed-top .dropdown-item {
  border-radius: 9px !important;
  padding: 9px 12px !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--pdx-ink) !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar.fixed-top .dropdown-item:hover,
.navbar.fixed-top .dropdown-item:focus {
  background: rgba(31, 111, 235, 0.08) !important;
  color: var(--pdx-accent) !important;
}

/* Hamburger toggle */
.navbar.fixed-top .navbar-toggler {
  border: 1px solid rgba(15, 27, 45, 0.12) !important;
  border-radius: 10px !important;
  padding: 6px 9px !important;
}

.navbar.fixed-top .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.16) !important;
}

/* Contact button pill in the navbar */
.premium-contact-btn {
  background: linear-gradient(135deg, var(--pdx-accent) 0%, var(--pdx-accent-2) 100%);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  box-shadow: 0 6px 16px rgba(31, 111, 235, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.premium-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31, 111, 235, 0.34);
}

.premium-contact-btn .premium-contact-btn-label {
  color: #fff !important;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.05;
}

/* Mobile collapsed menu panel */
@media (max-width: 1199.98px) {
  .navbar.fixed-top .navbar-collapse {
    background: #fff;
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    box-shadow: 0 18px 44px rgba(16, 33, 61, 0.14);
    padding: 10px;
  }
  .navbar.fixed-top .navbar-nav > a,
  .navbar.fixed-top .navbar-nav .nav-link {
    margin: 2px 0;
  }
}

/* --------------------------------------------------------------------------
   Footer — sleek, modern, multi-column
   -------------------------------------------------------------------------- */

#footer.bg-footer {
  background:
    radial-gradient(900px 380px at 90% 0%, rgba(31, 111, 235, 0.18), transparent 60%),
    radial-gradient(700px 320px at 0% 100%, rgba(109, 94, 252, 0.16), transparent 60%),
    linear-gradient(180deg, #0b1728 0%, #0a1322 100%) !important;
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

#footer.bg-footer::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--pdx-accent) 0%, var(--pdx-accent-2) 50%, var(--pdx-gold) 100%);
}

/* Neutralise legacy invert/blend so our colours render as intended */
#footer.bg-footer div.col,
#footer.bg-footer a {
  filter: none !important;
  mix-blend-mode: normal !important;
}

#footer.bg-footer .footer-inner {
  padding: 56px 20px 28px;
}

#footer.bg-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px;
}

/* Legal row — full width on its own row with top divider */
#footer.bg-footer .footer-grid--legal {
  grid-template-columns: 1fr;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

#footer.bg-footer .footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

#footer.bg-footer .footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
}

#footer.bg-footer .footer-brand-tagline {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  max-width: 340px;
  margin: 0;
}

#footer.bg-footer .footer-links,
#footer.bg-footer .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer.bg-footer .footer-link,
#footer.bg-footer .footer-link a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.15s ease;
  width: fit-content;
}

#footer.bg-footer .footer-link:hover,
#footer.bg-footer .footer-link a:hover {
  color: #fff !important;
}

#footer.bg-footer .footer-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

#footer.bg-footer .footer-disclaimer-label {
  display: block;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}

/* Contact column — icons and links */
#footer.bg-footer .footer-contact-container a {
  color: #fff !important;
}

#footer.bg-footer .footer-contact-container .footer-col-title {
  margin-bottom: 18px;
}

/* Custom footer menu (page-provided) */
#footer.bg-footer .footer-custom-menu {
  margin-top: 36px;
}

/* Divider + copyright */
#footer.bg-footer .footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 40px 0 22px;
}

#footer.bg-footer .footer-copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

#footer.bg-footer .footer-copyright-sep {
  color: rgba(255, 255, 255, 0.3);
}

#footer.bg-footer .footer-copyright-muted {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  #footer.bg-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
  #footer.bg-footer .footer-grid--legal {
    grid-template-columns: 1fr;
  }
  #footer.bg-footer .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  #footer.bg-footer .footer-inner {
    padding: 44px 18px 24px;
  }
  #footer.bg-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------------------
   Floating contact launcher — round premium badge
   -------------------------------------------------------------------------- */

#floating-button-contact {
  filter: drop-shadow(0 10px 22px rgba(16, 33, 61, 0.28));
  transition: transform 0.18s ease;
}

#floating-button-contact:hover {
  transform: translateY(-3px);
}

#floating-button-contact > div {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 3px 12px !important;
}
