:root {
  --navy: #1a2b45;
  --navy-deep: #0f1e30;
  --gold: #b8912a;
  --gold-light: #d4a843;
  --cream: #f5f4f0;
  --white: #ffffff;
  --gray-100: #f7f8fa;
  --gray-200: #e8eaed;
  --gray-400: #9aa0ab;
  --gray-600: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 43, 69, 0.10);
  --shadow-lg: 0 12px 48px rgba(26, 43, 69, 0.16);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.trusted-home-site-chrome {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.trusted-home-site-chrome.mobile-menu-open {
  overflow: hidden;
}

body:not(.page-template-template-custom-homepage-php).trusted-home-site-chrome {
  padding-top: 68px;
}

/* Use :where() so component classes can override link color as needed. */
body.trusted-home-site-chrome :where(a) {
  text-decoration: none;
  color: inherit;
}

body.trusted-home-site-chrome img {
  max-width: 100%;
  display: block;
}

body.trusted-home-site-chrome a:focus-visible,
body.trusted-home-site-chrome button:focus-visible,
body.trusted-home-site-chrome input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary,
.btn-outline,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  padding: 14px 28px;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 28px;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 13px 28px;
}

.site-header-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  gap: 18px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > span:hover {
  background: var(--gray-100);
  color: var(--gold);
}

.nav-arrow {
  font-size: 10px;
  opacity: 0.6;
}

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

.nav-dropdown.wide {
  min-width: 500px;
}

.nav-dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nav-dropdown-col {
  padding: 8px 0;
}

.nav-dropdown-col-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 16px 8px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 4px;
}

.nav-dropdown a {
  display: block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gray-600);
  transition: all 0.15s;
}

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

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

.nav-highlight-link {
  margin-top: 12px;
  color: var(--gold) !important;
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px;
  min-height: 44px;
}

.nav-phone:hover,
.nav-russian:hover {
  color: var(--gold);
}

.nav-russian {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 10px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 769px) {
  /* Never show the mobile accordion overlay on desktop, even if JS toggles classes. */
  .mobile-menu {
    display: none !important;
  }

  .nav-hamburger {
    display: none !important;
  }
}

.mobile-menu-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 120px;
}

.mobile-menu-section {
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.mobile-menu-toggle-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
}

.mobile-menu-section.is-open .mobile-menu-toggle-icon {
  transform: rotate(45deg);
}

.mobile-menu-panel {
  padding-bottom: 14px;
}

.mobile-menu-panel[hidden] {
  display: none;
}

.mobile-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 0;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
}

.mobile-menu-panel a:hover {
  color: var(--gold);
}

.mobile-menu-cta {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.mobile-menu-cta .btn-primary,
.mobile-menu-cta .btn-outline {
  width: 100%;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-cta a {
  flex: 1;
}

.site-footer-chrome {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 42px;
  width: auto;
}

.footer-desc {
  max-width: 320px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact:hover {
  color: var(--gold);
}

.footer-contact svg,
.footer-veteran svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-veteran {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-left,
.footer-bottom-right {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-left a {
  color: inherit;
  text-decoration: underline;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ─── GLOBAL LINK COLOR FIX FOR DARK BACKGROUNDS ─── */
/* Ensures links inside dark navy sections never show as browser-default blue */
.site-footer-chrome a,
.hero a,
[style*="background"] a,
.pricing-table-head a,
section[class*="navy"] a,
div[class*="navy"] a {
  color: inherit;
}

/* Elementor content: force links on dark Elementor sections to inherit color */
body.trusted-home-site-chrome .elementor-section[data-settings] a,
body.trusted-home-site-chrome .elementor-element a {
  color: inherit;
}

/* Explicit gold link style for use anywhere */
.link-gold,
.sf-note a,
.info-callout a {
  color: var(--gold) !important;
  font-weight: 600;
}

.link-gold:hover,
.sf-note a:hover,
.info-callout a:hover {
  color: var(--gold-light) !important;
}

/* ─── PRICING COMPONENTS ─── */
/* Shared across homepage and standalone pricing page */
.pricing {
  padding: 96px 24px;
  background: var(--gray-100);
}

.pricing-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.pricing-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--navy);
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.65;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(26, 43, 69, 0.06);
}

.pricing-tab {
  padding: 10px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.pricing-tab.active {
  background: var(--navy);
  color: white;
}

.pricing-tab:not(.active):hover {
  color: var(--navy);
  background: var(--gray-100);
}

.pricing-panels {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.sf-pricing-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.sf-header-note {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sf-header-note svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.sf-header-note p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.sf-header-note strong {
  color: var(--navy);
}

.pricing-table {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.pricing-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  padding: 12px 20px;
}

.pricing-table-head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-table-head span:last-child {
  text-align: right;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:nth-child(even) {
  background: var(--gray-100);
}

.pricing-row-label {
  font-size: 14px;
  color: var(--navy);
}

.pricing-row-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.sf-includes {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.sf-includes h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
}

.sf-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sf-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.sf-feature svg {
  color: var(--gold);
  flex-shrink: 0;
}

.sf-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
}

.info-callout {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gray-600);
  border-left: 3px solid var(--gold);
}

.info-callout strong {
  color: var(--navy);
}

.pricing-single {
  max-width: 600px;
  margin: 0 auto;
}

.price-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: 22px;
  vertical-align: top;
  margin-top: 10px;
}

.price-amount span {
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-400);
  margin-left: 4px;
}

.addon-list {
  list-style: none;
  margin: 20px 0;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}

.addon-item:last-child {
  border-bottom: none;
}

.addon-name {
  font-weight: 500;
  color: var(--navy);
}

.addon-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 18px;
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body:not(.page-template-template-custom-homepage-php).trusted-home-site-chrome {
    padding-top: 68px;
  }

  .site-header-inner {
    padding: 0 20px;
  }

  .nav-logo img {
    height: 44px;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .site-footer-chrome {
    padding: 48px 20px 100px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-right {
    justify-content: center;
  }

  .pricing {
    padding: 64px 16px;
  }

  .pricing-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    overflow: visible;
    gap: 6px;
    justify-content: stretch;
    padding: 6px;
  }

  .pricing-tabs::-webkit-scrollbar {
    display: none;
  }

  .pricing-tab {
    padding: 12px 10px;
    font-size: 13px;
    flex-shrink: 1;
    white-space: normal;
    text-align: center;
  }

  .sf-header-note {
    padding: 16px 18px;
  }

  .sf-feature-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 28px 24px;
  }

  .price-amount {
    font-size: 36px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header-chrome {
    top: 46px;
  }

  .admin-bar .mobile-menu {
    top: 114px;
  }
}

@media (min-width: 783px) {
  .admin-bar .site-header-chrome {
    top: 32px;
  }

  .admin-bar .mobile-menu {
    top: 100px;
  }
}
