/* CivioraAssist V29: accessible footer and site-wide independence disclosure */
.footer,
footer.footer,
body > footer:not(.cva-independence-notice) {
  background: #071f40 !important;
  color: #f7fbff !important;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer b,
.footer strong,
.footer p,
.footer span,
.footer li,
.footer address,
.footer-bottom,
body > footer:not(.cva-independence-notice) h1,
body > footer:not(.cva-independence-notice) h2,
body > footer:not(.cva-independence-notice) h3,
body > footer:not(.cva-independence-notice) b,
body > footer:not(.cva-independence-notice) strong,
body > footer:not(.cva-independence-notice) p,
body > footer:not(.cva-independence-notice) span {
  color: #f2f8fc !important;
  opacity: 1 !important;
}

.footer a,
.footer-bottom a,
body > footer:not(.cva-independence-notice) a {
  color: #bdefff !important;
  opacity: 1 !important;
  text-decoration-color: rgba(189, 239, 255, .55);
}

.footer a:hover,
.footer-bottom a:hover,
body > footer:not(.cva-independence-notice) a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-grid,
.footer-inner,
.footer-bottom {
  opacity: 1 !important;
}

.footer .no-gov,
.footer .footer-brand > p,
.footer-inner p {
  color: #d7e8f5 !important;
}

/* Light cards inside the dark homepage footer keep dark, readable copy. */
.footer .footer-feature-links a,
.footer .footer-feature-links a strong {
  color: #123f58 !important;
}

.footer .footer-feature-links a span {
  color: #527083 !important;
}

.footer .office-reach h2,
.footer .office-reach li {
  color: #123957 !important;
}

.footer .office-reach p {
  color: #526d80 !important;
}

.footer .office-reach .cities-coming {
  color: #087b87 !important;
}

.footer-bottom a.footer-trust {
  color: #124d60 !important;
}

/* Use the same live emblem + wordmark component in the header and footer. */
.footer-logo .civiora-lockup,
.footer-brand > .civiora-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-logo .civiora-emblem,
.footer-brand > .civiora-lockup .civiora-emblem {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 7px 15px rgba(34, 145, 235, .22)) !important;
}

.footer-logo .civiora-wordmark,
.footer-brand > .civiora-lockup .civiora-wordmark {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font: 800 28px/1 Manrope, "DM Sans", Arial, sans-serif !important;
  letter-spacing: -.055em !important;
}

.footer-logo .civiora-wordmark > span,
.footer-brand > .civiora-lockup .civiora-wordmark > span {
  color: #39d5ee !important;
  -webkit-text-fill-color: #39d5ee !important;
}

.footer-logo .civiora-wordmark > sup,
.footer-brand > .civiora-lockup .civiora-wordmark > sup {
  color: #bdefff !important;
  -webkit-text-fill-color: #bdefff !important;
}

.cva-independence-notice {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 22px clamp(18px, 5vw, 80px);
  border: 0;
  border-top: 4px solid #11a6b7;
  background: linear-gradient(135deg, #fffdf3, #f3fbfd) !important;
  color: #102f4e !important;
  font-family: "DM Sans", Arial, sans-serif;
}

.cva-independence-notice__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.cva-independence-notice .civiora-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  background: transparent !important;
}

.cva-independence-notice .civiora-emblem {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
}

.cva-independence-notice .civiora-wordmark {
  color: #123957 !important;
  -webkit-text-fill-color: #123957 !important;
  font: 800 21px/1 Manrope, "DM Sans", Arial, sans-serif !important;
  letter-spacing: -.05em !important;
}

.cva-independence-notice .civiora-wordmark > span {
  color: #159fc1 !important;
  -webkit-text-fill-color: #159fc1 !important;
}

.cva-independence-notice .civiora-wordmark > sup {
  color: #123957 !important;
  -webkit-text-fill-color: #123957 !important;
}

.cva-independence-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #071f40 !important;
  font: 800 15px/1.35 Manrope, "DM Sans", Arial, sans-serif;
  letter-spacing: .01em;
}

.cva-independence-notice p {
  margin: 0;
  color: #294b67 !important;
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .cva-independence-notice__inner { grid-template-columns: 1fr; gap: 13px; }
  .footer-logo .civiora-wordmark,
  .footer-brand > .civiora-lockup .civiora-wordmark { font-size: 24px !important; }
}

/* Desktop header fit: reserve contact space and collapse navigation before clipping. */
.header .brand .civiora-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  white-space: nowrap !important;
}
.header .brand .civiora-emblem {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}
.header .brand .civiora-wordmark {
  color: #123957 !important;
  -webkit-text-fill-color: #123957 !important;
  font: 800 28px/1 Manrope, "DM Sans", Arial, sans-serif !important;
  letter-spacing: -.055em !important;
}
.header .brand .civiora-wordmark > span {
  color: #159fc1 !important;
  -webkit-text-fill-color: #159fc1 !important;
}
.header .brand .civiora-wordmark > sup {
  color: #123957 !important;
  -webkit-text-fill-color: #123957 !important;
}

.cva-site .header {
  width: 100%;
  max-width: none;
  padding-left: clamp(18px, 2.2vw, 42px) !important;
  padding-right: clamp(18px, 2.2vw, 42px) !important;
  gap: 14px !important;
}

.cva-site .header > .brand { min-width: 0; }
.cva-site .header > .nav { min-width: 0; gap: 0 !important; }
.cva-site .header > .nav > a { padding: 9px 9px !important; font-size: 12px !important; }
.cva-site .header > .head-help {
  flex: 0 0 auto;
  min-width: max-content;
  gap: 7px !important;
}
.cva-site .header .head-phone,
.cva-site .header .head-wa { min-width: 132px; }

@media (max-width: 1650px) {
  .cva-site .header > #menuBtn {
    display: block !important;
    order: 3;
    margin-left: 0 !important;
    padding: 5px 10px;
    font-size: 24px;
  }
  .cva-site .header > #mainNav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 12px !important;
    margin: 0 !important;
    border: 1px solid #d6e5eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 20px 45px rgba(15, 48, 83, .14) !important;
  }
  .cva-site .header > #mainNav.open,
  .cva-site .header > #mainNav.is-open { display: flex !important; }
  .cva-site .header > .head-help { margin-left: auto !important; }
}

@media (max-width: 920px) {
  .cva-site .header .head-phone { display: none !important; }
  .cva-site .header .head-wa {
    display: flex !important;
    min-width: 0;
    padding: 7px 9px !important;
  }
}

@media (max-width: 660px) {
  .cva-site .header .head-wa,
  .cva-site .header .lang-btn { display: none !important; }
}
