/* ============================================================
   TSAR IT main website (tsaritservices.com) — contrast fixes
   Injected after bundle CSS via nginx sub_filter. Version 1.
   Generated from a programmatic WCAG audit (Oct 2, 2026):
   63 failing text elements -> targeted overrides below.
   ============================================================ */

/* --- 1. Global footprint tiles (Americas / Europe / MEA / APAC) ---
   White h3/p over photos; veil only ~0.49 alpha at the text band
   (description 2.5:1, heading 3.1:1 worst-case). Darken veil, add
   dark fallback so text stays readable even if a photo 404s. */
.home-global-tile { background-color: #212529; }
.home-global-tile__veil {
  background: linear-gradient(
    rgba(33, 37, 41, 0.35),
    rgba(33, 37, 41, 0.80) 55%,
    rgba(33, 37, 41, 0.94)
  ) !important;
}
.home-global-tile__body p { color: rgba(255, 255, 255, 0.92) !important; }

/* --- 2. Muted body copy on light backgrounds (2.5:1 -> 7.4:1) --- */
.home-section-heading p,
.home-service-row__copy p,
.home-industry-row p,
.home-leader-item p,
.home-faq-item p,
.home-leadership-link span,
.theme-switcher__hint { color: #475569 !important; }

/* --- 3. Ghost service index numbers 01-04 (1.7:1 -> 4.7:1) --- */
.home-service-row__index { color: #64748b !important; }

/* --- 4. Dark band (AI band + proof grid): labels/copy too dim --- */
.home-ai-band .home-capability-row strong { color: #e8b7be !important; }     /* 2.16 -> ~8 */
.home-proof-grid span { color: rgba(255, 255, 255, 0.82) !important; }       /* 2.49 -> ~8 */
.home-proof-grid p { color: rgba(255, 255, 255, 0.88) !important; }          /* 2.82 -> ~9 */
.home-capability-row > div > p { color: rgba(255, 255, 255, 0.90) !important; } /* 3.08 -> ~10 */
.home-ai-band .home-overline,
.home-ai-band__copy > p { color: rgba(255, 255, 255, 0.90) !important; }     /* 3.26 -> ~10 */

/* --- 5. Footer bottom strip (3.26 -> ~7) --- */
.ftr-copyright,
.ftr-legal-link { color: rgba(255, 255, 255, 0.88) !important; }

/* --- 6. Contact band: gradient's light end drops white text to 4.4:1 ---
   Deepen the far stop (stays on-brand maroon; white text 12:1+). */
.home-contact {
  background: linear-gradient(135deg, #7a212a 0%, #5d1a23 60%, #4c161e 100%) !important;
}
