/* Fix invisible links on dark backgrounds */
body a,
body a:link,
body a:visited {
  color: #1a2b45 !important;
}

body a:hover,
body a:active {
  color: #b8912a !important;
}

/* Fix links inside dark sections (footer, hero, navy backgrounds) */
.site-footer-chrome a,
.site-footer-chrome a:link,
.site-footer-chrome a:visited,
.hero a,
.hero a:link,
.hero a:visited,
[class*="navy"] a,
[class*="navy"] a:visited {
  color: inherit !important;
}

/* Fix button text visibility */
.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited {
  color: #ffffff !important;
  background: #b8912a !important;
}

.btn-primary:hover,
a.btn-primary:hover {
  color: #ffffff !important;
  background: #d4a843 !important;
}

.btn-outline,
a.btn-outline,
a.btn-outline:link,
a.btn-outline:visited {
  color: #1a2b45 !important;
  background: transparent !important;
  border: 1.5px solid #1a2b45 !important;
}

.btn-outline:hover,
a.btn-outline:hover {
  color: #ffffff !important;
  background: #1a2b45 !important;
}

.btn-outline-white,
a.btn-outline-white,
a.btn-outline-white:link,
a.btn-outline-white:visited {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.5) !important;
}

/* Nav links should stay navy, not get overridden */
.site-header-chrome a,
.site-header-chrome a:link,
.site-header-chrome a:visited,
.nav-menu a,
.nav-dropdown a {
  color: inherit !important;
}

/* Footer: ALL links light gray, gold on hover */
.site-footer-chrome a,
.site-footer-chrome a:link,
.site-footer-chrome a:visited,
.site-footer-chrome .footer-contact,
.site-footer-chrome a.footer-contact,
.site-footer-chrome a.footer-contact:link,
.site-footer-chrome a.footer-contact:visited,
.site-footer-chrome .footer-contacts a,
.site-footer-chrome .footer-contacts a:link,
.site-footer-chrome .footer-contacts a:visited,
.footer-col a,
.footer-col a:link,
.footer-col a:visited {
  color: rgba(255,255,255,0.65) !important;
}

.site-footer-chrome a:hover,
.site-footer-chrome a:active,
.site-footer-chrome .footer-contact:hover,
.site-footer-chrome a.footer-contact:hover,
.site-footer-chrome .footer-contacts a:hover,
.footer-col a:hover {
  color: #b8912a !important;
}

/* Homepage pricing tabs */
.pricing-tab {
  color: #6b7280 !important;
  background: transparent !important;
  border: none !important;
}

.pricing-tab.active {
  background: #1a2b45 !important;
  color: #ffffff !important;
}

.pricing-tab:not(.active):hover {
  color: #1a2b45 !important;
  background: #f7f8fa !important;
}

/* Pricing PAGE tabs (.p-tab) */
.p-tab,
button.p-tab {
  color: #6b7280 !important;
  background: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid transparent !important;
}

.p-tab.p-active,
button.p-tab.p-active {
  color: #1a2b45 !important;
  border-bottom-color: #b8912a !important;
}

.p-tab:hover,
button.p-tab:hover {
  color: #1a2b45 !important;
}

/* Mobile menu: section headings must be visible */
.mobile-menu-toggle,
button.mobile-menu-toggle,
.mobile-menu .mobile-menu-toggle,
.mobile-menu-section .mobile-menu-toggle,
.mobile-menu-section button {
  color: #1a2b45 !important;
}

.mobile-menu-toggle span,
.mobile-menu-section .mobile-menu-toggle span {
  color: #1a2b45 !important;
}

.mobile-menu-toggle-icon,
.mobile-menu-toggle .mobile-menu-toggle-icon {
  color: #b8912a !important;
}

/* Global button color fix — catch anything Elementor overrides */
body button,
body input[type="button"],
body input[type="submit"] {
  color: inherit !important;
}
/* ── Flyout sub-item within dropdown ── */
.nav-sub-item {
  position: relative;
}

.nav-sub-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gray-600);
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-sub-parent:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.nav-sub-arrow {
  font-size: 12px;
  opacity: 0.5;
  margin-left: 8px;
}

.nav-sub-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 210px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1200;
}

.nav-sub-item:hover > .nav-sub-dropdown {
  display: block;
}

/* ── Mobile indented sub-link ── */
.mobile-sub-link {
  padding-left: 28px !important;
  font-size: 12px !important;
  color: var(--gray-400) !important;
}
/* Inherit link color inside dark backgrounds so blue doesn't show on navy */
[class*="navy"] a,
[class*="navy"] a:link,
[class*="navy"] a:visited,
.hero a,
.hero a:link,
.hero a:visited,
[style*="background:#0f1e30"] a,
[style*="background: #0f1e30"] a,
[style*="background:#1a2b45"] a,
[style*="background: #1a2b45"] a {
  color: inherit !important;
}