/* ==========================================================================
   CEOFLIGHTS sitewide footer v1 (cfsf). Markup: cf-site-footer.html. Handoff: README.md.
   Every rule is scoped under .cfsf and carries at least one class, so the CMS's global element rules
   (p { margin-bottom: 30px }, h1–h6, ol/li counters, a colours) can't restyle it, and nothing here leaks out.
   Fonts: Inter (already loaded on www for the header), system fallback.
   ========================================================================== */
.cfsf { display: block; margin: 0; padding: 0; background: #f6f7f9; border-top: 1px solid #e2e8f0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #475569; text-align: left; -webkit-text-size-adjust: 100%; }
.cfsf *, .cfsf *::before, .cfsf *::after { box-sizing: border-box; }
.cfsf p { margin: 0; padding: 0; }
.cfsf img { max-width: none; }

/* ---- Columns: brand · Book · Company · Contact ---- */
.cfsf .cfsf-in { max-width: 1288px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; column-gap: 48px; row-gap: 32px; }
.cfsf .cfsf-logo { display: inline-block; margin: 0 0 14px; padding: 0; line-height: 0; }
/* 30px tall (was 18px, Oct 14) so the "on board with your vision" slogan under the wordmark can be read; same as the header */
.cfsf .cfsf-logo img { display: block; height: 30px; width: auto; }
.cfsf .cfsf-tag { font-size: 14px; line-height: 1.6; padding-top: 3px; max-width: 34ch; color: #475569; }
.cfsf .cfsf-h { margin: 0 0 14px; font: 600 13px/18px Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.cfsf .cfsf-col a { display: block; padding: 4px 0; font-size: 15px; line-height: 1.4; color: #334155; text-decoration: none; transition: color .2s ease; }
.cfsf .cfsf-col a:hover { color: #0f172a; }
.cfsf .cfsf-col .cfsf-btn { display: inline-block; margin-top: 14px; padding: 11px 18px; border: 1px solid #333b48; border-radius: 2px; background: transparent; color: #333b48; cursor: pointer; font: 600 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
.cfsf .cfsf-col .cfsf-btn:hover, .cfsf .cfsf-col .cfsf-btn:focus-visible { background: #0f172a; border-color: #0f172a; color: #fff; }

/* ---- Trust strip: greyscale accreditation and payment marks, centred ---- */
.cfsf .cfsf-trust { max-width: 1288px; margin: 0 auto; padding: 28px 24px 26px; border-top: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.cfsf .cfsf-trust img { display: block; height: auto; filter: grayscale(100%); opacity: .75; }
.cfsf .cfsf-trust a { display: inline-block; padding: 0; line-height: 0; }
.cfsf .cfsf-trust .cfsf-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: #8a94a3; font-size: 11.5px; line-height: 15px; white-space: nowrap; letter-spacing: -0.005em; text-decoration: none; }
.cfsf .cfsf-trust .cfsf-badge-true { transition: color .15s ease; }
.cfsf .cfsf-trust .cfsf-badge-true:hover { color: #4b5563; }
.cfsf .cfsf-trust .cfsf-badge-mark { flex: none; width: 32px !important; height: 32px !important; }
.cfsf .cfsf-trust .cfsf-badge-true .cfsf-badge-mark { opacity: .6; transition: opacity .15s ease; }
.cfsf .cfsf-trust .cfsf-badge-true:hover .cfsf-badge-mark { opacity: .85; }
.cfsf .cfsf-trust .cfsf-badge-sot .cfsf-badge-mark { opacity: .85; }
.cfsf .cfsf-badge-text { display: inline-flex; flex-direction: column; justify-content: center; line-height: 15px; }
.cfsf .cfsf-badge-title { display: block; font-weight: 500; color: inherit; }
.cfsf .cfsf-badge-sub { display: block; font-weight: 400; font-size: 11px; color: inherit; opacity: .88; }

/* ---- Disclosure ---- */
.cfsf .cfsf-legal { max-width: 1288px; margin: 0 auto; padding: 24px 24px 36px; border-top: 1px solid #e2e8f0; font-size: 11.5px; line-height: 1.6; color: #64748b; }
.cfsf .cfsf-legal-title { margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.cfsf .cfsf-legal-item { font-size: 11.5px; line-height: 1.6; color: #64748b; }
.cfsf .cfsf-legal-item + .cfsf-legal-item { margin-top: 8px; }
.cfsf .cfsf-legal-item strong { color: #475569; font-weight: 600; }

/* ---- Legal bar: small spaced capitals, a thin divider, blue on hover ---- */
.cfsf .cfsf-bar { max-width: 1288px; margin: 0 auto; padding: 20px 24px 28px; border-top: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cfsf .cfsf-legal + .cfsf-bar { border-top: 0; padding-top: 4px; }
.cfsf .cfsf-copy { font: 500 12px/1.5 Inter, system-ui, sans-serif; color: #64748b; letter-spacing: .02em; }
.cfsf .cfsf-links { display: flex; align-items: center; }
.cfsf .cfsf-sep { display: inline-block; width: 1px; height: 11px; margin: 0 16px; background: #cbd5e1; }
.cfsf .cfsf-links a { display: inline; padding: 6px 0; font: 600 11.5px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #334155; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s ease, background-size .25s ease; -webkit-tap-highlight-color: transparent; }
.cfsf .cfsf-links a:hover, .cfsf .cfsf-links a:focus-visible { color: #1d4ed8; background-size: 100% 1px; }

/* ---- Tablets and phones ---- */
@media (max-width: 992px) {
  .cfsf .cfsf-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 44px 20px 24px; }
  .cfsf .cfsf-brand { grid-column: 1 / -1; }
  .cfsf .cfsf-col .cfsf-btn { white-space: nowrap; }
  .cfsf .cfsf-trust { padding: 24px 20px 20px; gap: 16px 24px; }
  .cfsf .cfsf-trust img { max-height: 30px; width: auto; }
  .cfsf .cfsf-trust .cfsf-badge-mark { width: 28px !important; height: 28px !important; max-height: none; }
  .cfsf .cfsf-legal { padding: 20px 20px 12px; font-size: 11px; }
  .cfsf .cfsf-legal-title, .cfsf .cfsf-legal-item { font-size: 11px; }
  /* 110px at the bottom keeps the copyright and links clear of the floating WhatsApp and chat buttons */
  .cfsf .cfsf-bar { flex-direction: column; align-items: flex-start; padding: 18px 20px 110px; }
}
