/* ==========================================================================
   Codatric — custom layer (loaded last, overrides the template where needed)
   Brand tokens, accessibility, motion safety, and targeted fixes.
   ========================================================================== */

:root {
    /* Brand */
    --c-brand:        #9f002f;   /* primary crimson */
    --c-brand-600:    #9f002f;   /* interactive / hover */
    --c-brand-050:    #f7e6ea;   /* tint background */

    /* Ink & neutrals (warm, biased toward the brand) */
    --c-ink:          #1b1417;
    --c-body:         #4a4247;
    --c-muted:        #6d6167;
    --c-line:         #e8e0e2;
    --c-surface:      #ffffff;
    --c-surface-2:    #faf7f8;

    /* Secondary accent (kept for headings/labels that already use it) */
    --c-accent-2:     #4b5280;

    /* Semantic */
    --c-ok:           #1f7a4d;
    --c-warn:         #a05a00;
    --c-danger:       #9f002f;
}

/* --- Accessibility: visible keyboard focus everywhere --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--c-brand-600);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- Converted Boxicons: keep icon size consistent inside feature/service cards --- */
.single-feature .title i,
.single-challenges .overly-two > i {
    line-height: 1;
}
/* decorative watermark icons that used to be flaticon spans */
.single-challenges .overly-two > span[class*="bx-"] {
    display: inline-block;
}

/* --- Motion safety --------------------------------------------------------
   The template hides sections with WOW.js until they scroll into view. If a
   visitor prefers reduced motion, reveal everything immediately and cut the
   animation. (A no-JS safety net is added in the layout <head> via <noscript>.)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .wow {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Small polish --------------------------------------------------------- */
img { max-width: 100%; }              /* never overflow their column */
.map-area iframe { width: 100%; border: 0; }

/* Kill the sideways scrollbar caused by full-bleed marquee/decoration tracks */
html, body { overflow-x: hidden; max-width: 100%; }
