/* ============================================================================
   COHEN & ASSOCIATES — style.css  (Homepage · rebuild)
   ----------------------------------------------------------------------------
   01. ROOT / TOKENS
   02. RESET & BASE
   03. TYPOGRAPHY
   04. UTILITIES   (.shell .section-head .eyebrow .text-accent .handwritten)
   05. BUTTONS
   06. REVEAL
   07. LOADER
   08. HEADER
   09. MOBILE NAV
   10. HERO
   11. MARQUEE
   12. SERVICES
   13. INDUSTRIES
   14. ABOUT
   15. PROCESS
   16. STATS
   17. WHY
   18. REVIEWS
   19. FAQ
   20. CTA BAND
   21. CONTACT
   22. FOOTER
   23. FLOATING UI  (back-to-top + contact FAB)
   24. KEYFRAMES
   25. RESPONSIVE
   26. ACCESSIBILITY
============================================================================ */


/* ============================================================================
   01. ROOT / TOKENS
============================================================================ */
:root {
    /* Navy */
    --navy: #1a237e;
    --navy-light: #534bae;
    --navy-dark: #0d124d;
    --navy-deep: #070a33;

    /* Copper */
    --copper: #aa5634;
    --copper-light: #dd8563;
    --copper-dark: #773b24;

    /* Surfaces */
    --paper: #ffffff;
    --cream: #f9f6f1;
    --cream-2: #f3ede4;
    --ink: #1b1c2e;

    /* Grays */
    --g-100: #f4f5f8;
    --g-200: #e8e9f0;
    --g-300: #d6d8e3;
    --g-400: #a9adc1;
    --g-500: #7b8099;
    --g-600: #585d76;
    --g-700: #3f4360;

    /* Gradients */
    --grad-copper: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
    --grad-navy: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-light) 130%);

    /* Shadows — soft / premium */
    --sh-xs: 0 1px 3px rgba(20, 22, 50, 0.05);
    --sh-sm: 0 4px 16px rgba(20, 22, 50, 0.06);
    --sh-md: 0 12px 32px rgba(20, 22, 50, 0.09);
    --sh-lg: 0 22px 50px rgba(20, 22, 50, 0.11);
    --sh-xl: 0 32px 72px rgba(20, 22, 50, 0.15);
    --sh-copper: 0 12px 30px rgba(170, 86, 52, 0.28);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-full: 999px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s var(--ease);
    --t-base: 0.34s var(--ease);

    /* Rhythm */
    --section-py: clamp(4.5rem, 9vw, 8.5rem);
    --header-h: 76px;

    /* Fluid type */
    --fs-eyebrow: 0.8rem;
    --fs-lead: clamp(1.05rem, 0.97rem + 0.45vw, 1.28rem);
    --fs-h3: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
    --fs-h2: clamp(2rem, 1.45rem + 2.4vw, 3.2rem);
    --fs-display: clamp(2.7rem, 1.6rem + 4.9vw, 5.4rem);

    /* Z */
    --z-loader: 1000;
    --z-float: 200;
    --z-header: 300;
    --z-drawer: 320;
}


/* ============================================================================
   02. RESET & BASE
============================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 14px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; -webkit-appearance: none; appearance: none; }

::selection { background: var(--copper); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: var(--r-full); border: 3px solid var(--cream-2); }
::-webkit-scrollbar-thumb:hover { background: var(--copper-dark); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: var(--r-sm); }


/* ============================================================================
   03. TYPOGRAPHY
============================================================================ */
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--g-600); }


/* ============================================================================
   04. UTILITIES
============================================================================ */
.shell { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }

.section-head { max-width: 660px; margin: 0 auto clamp(2.75rem, 5vw, 4.25rem); text-align: center; }
.section-head h2 { margin-bottom: var(--sp-3, 0.75rem); }
.section-head p { font-size: var(--fs-lead); color: var(--g-600); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: var(--r-full); background: var(--grad-copper); }
.eyebrow i { font-size: 0.9em; }
.section-head .eyebrow { justify-content: center; }
.eyebrow--light { color: var(--copper-light); }

/* Copper accent word with hand-drawn underline */
.text-accent {
    position: relative;
    color: var(--copper);
    white-space: nowrap;
}
.text-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -0.12em;
    height: 0.22em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 C 40 2, 80 2, 120 7 S 180 12, 198 5' stroke='%23aa5634' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Handwriting accents */
.handwritten { font-family: 'Caveat', cursive; font-weight: 600; line-height: 1; }


/* ============================================================================
   05. BUTTONS
============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.75rem;
    border-radius: var(--r-full);
    font-size: 0.97rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform var(--t-base), box-shadow var(--t-base),
                background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn i { font-size: 0.9em; }

.btn--primary { background: var(--grad-copper); color: #fff; box-shadow: var(--sh-copper); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(170, 86, 52, 0.42); filter: brightness(1.04); }

.btn--outline { background: transparent; color: var(--navy); border: 2px solid rgba(26, 35, 126, 0.22); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--navy); box-shadow: var(--sh-md); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); color: var(--copper-dark); }

/* Inline text link with arrow */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--copper);
}
.card-link i { transition: transform var(--t-base); }
.card-link:hover { color: var(--copper-dark); }
.card-link:hover i { transform: translateX(5px); }


/* ============================================================================
   06. REVEAL
============================================================================ */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }


/* ============================================================================
   07. LOADER
============================================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: var(--z-loader);
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1.5rem;
    background: var(--navy-deep);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.page-loader__mark { font-size: 2.6rem; font-weight: 800; letter-spacing: 0.12em; color: #fff; }
.page-loader__mark span { color: var(--copper-light); }
.page-loader__bar { width: 170px; height: 3px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.page-loader__bar span { display: block; width: 45%; height: 100%; border-radius: var(--r-full); background: var(--grad-copper); animation: loaderBar 1.1s ease-in-out infinite; }


/* ============================================================================
   08. HEADER
============================================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
    background: rgba(249, 246, 241, 0.78);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid transparent;
    transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: var(--sh-sm); border-bottom-color: var(--g-200); }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
    max-width: 1320px;
    margin-inline: auto;
    height: var(--header-h);
    padding-inline: clamp(1.25rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav-links a {
    position: relative;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--g-700);
    border-radius: var(--r-full);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 6px;
    width: 0; height: 2px;
    background: var(--grad-copper);
    border-radius: var(--r-full);
    transform: translateX(-50%);
    transition: width var(--t-base);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 60%; }
.nav-cta { padding: 0.7rem 1.3rem; }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: var(--r-full); background: var(--navy); transition: transform var(--t-base), opacity var(--t-base), top var(--t-base); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { top: 100%; }
.nav-toggle.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }


/* ============================================================================
   09. MOBILE NAV
============================================================================ */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86%, 380px);
    height: 100dvh;
    z-index: var(--z-drawer);
    background: var(--paper);
    box-shadow: var(--sh-xl);
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav__links a {
    padding: 0.9rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--g-700);
    border-bottom: 1px solid var(--g-200);
    transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-nav__links a:hover, .mobile-nav__links a.is-active { color: var(--copper); padding-left: 0.75rem; }
.mobile-nav__cta { margin-top: 1.5rem; justify-content: center; border-bottom: none !important; }

.nav-backdrop {
    position: fixed; inset: 0;
    z-index: calc(var(--z-drawer) - 1);
    background: rgba(7, 10, 51, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }


/* ============================================================================
   10. HERO  (full-bleed background video)
============================================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 5rem;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--navy-deep); /* fallback if video + poster fail */
}

/* Background video + readability overlay */
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(7, 10, 51, 0.92) 0%, rgba(7, 10, 51, 0.72) 42%, rgba(7, 10, 51, 0.42) 100%),
        linear-gradient(to top, rgba(7, 10, 51, 0.85) 0%, transparent 42%),
        radial-gradient(circle at 78% 16%, rgba(170, 86, 52, 0.28), transparent 55%);
}

/* Overlaid content */
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 660px; }
.hero__title { color: #fff; font-size: var(--fs-display); line-height: 1.05; margin-bottom: 1.4rem; }
.hero__lead { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.84); max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero__trust { display: flex; gap: clamp(1.25rem, 4vw, 2.75rem); }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust-num { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; }
.hero__trust-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.66); margin-top: 0.35rem; }

/* Outline button reads on the dark video (hero-scoped) */
.hero .btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero .btn--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* Floating credential badge — frosted, bottom-left */
.hero__badge {
    position: absolute;
    left: clamp(1.25rem, 4vw, 2.5rem);
    bottom: clamp(1.5rem, 4vw, 2.5rem);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--sh-lg);
    animation: floatSoft 3.4s ease-in-out infinite;
}
.hero__badge i { font-size: 1.4rem; color: var(--copper-light); }
.hero__badge strong { display: block; font-size: 0.92rem; color: #fff; }
.hero__badge span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

/* Sound toggle — bottom-right */
.hero__sound {
    position: absolute;
    right: clamp(1.25rem, 4vw, 2.5rem);
    bottom: clamp(1.5rem, 4vw, 2.5rem);
    z-index: 1;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--t-base), transform var(--t-base);
}
.hero__sound:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.08); }
.hero__sound[aria-pressed="true"] { background: var(--grad-copper); border-color: transparent; }

/* Scroll cue — bottom-center */
.hero__scroll {
    position: absolute;
    left: 50%; bottom: clamp(1.25rem, 3vw, 2rem);
    transform: translateX(-50%);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}
.hero__scroll span { width: 34px; height: 1px; background: rgba(255, 255, 255, 0.5); position: relative; overflow: hidden; }
.hero__scroll span::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--copper-light);
    transform: translateX(-100%);
    animation: scrollLine 1.8s ease-in-out infinite;
}


/* ============================================================================
   11. MARQUEE
============================================================================ */
.marquee {
    background: var(--navy-deep);
    overflow: hidden;
    padding: 1.1rem 0;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}
.marquee__track i { color: var(--copper-light); }


/* ============================================================================
   12. SERVICES
============================================================================ */

/* ============================================================================
   SERVICES — 2026 refresh
   Append to css/style.css. Uses the tokens you already defined in :root
   (--navy, --copper, --grad-copper, shadows, radii, easings…). Fallback values
   are included so it also previews on its own.

   All classes are namespaced (.services-2026 / .svc-*), so your existing
   .services and .service-card styles are untouched — remove them later if you like.
============================================================================ */

.services-2026 {
    position: relative;
    padding: var(--section-py, clamp(4.5rem, 9vw, 8.5rem)) 0;
    background: linear-gradient(180deg, var(--cream, #f9f6f1), var(--paper, #fff) 32%);
    overflow: hidden;
    isolation: isolate;
}

/* Ambient glow blobs */
.services-2026::before,
.services-2026::after {
    content: '';
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.services-2026::before {
    width: 440px; height: 440px;
    top: -130px; right: -110px;
    background: radial-gradient(circle, rgba(170, 86, 52, 0.30), transparent 70%);
}
.services-2026::after {
    width: 520px; height: 520px;
    bottom: -180px; left: -150px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.22), transparent 70%);
}

/* Faint blueprint grid */
.svc-bg {
    position: absolute; inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(26, 35, 126, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 35, 126, 0.045) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 28%, transparent 76%);
            mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 28%, transparent 76%);
    pointer-events: none;
}

/* ---------- Header (editorial split) ---------- */
.svc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.svc-head__left { max-width: 640px; }
.svc-head__hand {
    display: block;
    color: var(--copper, #aa5634);
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.15rem);
    transform: rotate(-3deg);
    margin: 0.35rem 0 -0.15rem 0.15rem;
}
.svc-head h2 {
    font-size: var(--fs-h2, clamp(2rem, 1.45rem + 2.4vw, 3.2rem));
    line-height: 1.1;
}
.svc-head__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    max-width: 340px;
    padding-bottom: 0.35rem;
}
.svc-head__right p {
    font-size: var(--fs-lead, 1.15rem);
    color: var(--g-600, #585d76);
}
.svc-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.3rem;
    border: 2px solid rgba(26, 35, 126, 0.18);
    border-radius: var(--r-full, 999px);
    color: var(--navy, #1a237e);
    font-weight: 700;
    font-size: 0.92rem;
    transition: background .3s var(--ease, ease), color .3s var(--ease, ease),
                border-color .3s var(--ease, ease), transform .3s var(--ease, ease);
}
.svc-all:hover {
    background: var(--navy, #1a237e);
    border-color: var(--navy, #1a237e);
    color: #fff;
    transform: translateY(-2px);
}
.svc-all i { transition: transform .3s var(--ease, ease); }
.svc-all:hover i { transform: translateX(4px); }

/* ---------- Grid ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.4vw, 1.75rem);
    perspective: 1600px;
}

/* ---------- Card ---------- */
.svc-card {
    position: relative;
    display: flex;
    min-height: clamp(440px, 39vw, 545px);
    border-radius: var(--r-lg, 22px);
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    background: var(--navy-deep, #070a33);
    box-shadow: var(--sh-md, 0 12px 32px rgba(20, 22, 50, .09));
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .45s var(--ease, cubic-bezier(.22, 1, .36, 1)),
                box-shadow .45s var(--ease, cubic-bezier(.22, 1, .36, 1));
    will-change: transform;
    /* entrance (driven by JS adding .is-in) */
    opacity: 0;
    translate: 0 38px;
}
.svc-card.is-in {
    opacity: 1;
    translate: 0 0;
    transition: transform .45s var(--ease, cubic-bezier(.22, 1, .36, 1)),
                box-shadow .45s var(--ease, cubic-bezier(.22, 1, .36, 1)),
                opacity .7s var(--ease, cubic-bezier(.22, 1, .36, 1)) var(--d, 0ms),
                translate .7s var(--ease, cubic-bezier(.22, 1, .36, 1)) var(--d, 0ms);
}
.svc-card:hover { box-shadow: var(--sh-xl, 0 32px 72px rgba(20, 22, 50, .15)); }

/* Background media + graceful fallback */
.svc-card__media {
    position: absolute; inset: 0;
    z-index: -2;
    border-radius: inherit;   /* keeps corners round during the hover tilt */
    overflow: hidden;
    background: var(--grad-navy, linear-gradient(150deg, #070a33, #1a237e));
}
.svc-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transform: scale(1.04);
    transition: transform .8s var(--ease, ease), opacity .4s ease;
    will-change: transform;
}
.svc-card:hover .svc-card__img { transform: scale(1.12); }

/* Readability scrim */
.svc-card__scrim {
    position: absolute; inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg,
        rgba(7, 10, 51, 0.12) 0%,
        rgba(7, 10, 51, 0.55) 46%,
        rgba(7, 10, 51, 0.95) 100%);
}

/* Cursor-following spotlight (--mx/--my set by JS) */
.svc-card__spot {
    position: absolute; inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%),
        rgba(221, 133, 99, 0.28), transparent 60%);
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity .4s var(--ease, ease);
    pointer-events: none;
}
.svc-card:hover .svc-card__spot { opacity: 1; }

/* Animated gradient ring */
.svc-card::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 3;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg,
        rgba(221, 133, 99, 0.95), rgba(83, 75, 174, 0.45) 45%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s var(--ease, ease);
    pointer-events: none;
}
.svc-card:hover::after,
.svc-card:focus-within::after { opacity: 1; }

/* Watermark number */
.svc-card__index {
    position: absolute;
    top: clamp(1rem, 2vw, 1.4rem);
    right: clamp(1.1rem, 2vw, 1.5rem);
    z-index: 2;
    font-size: clamp(2.8rem, 2rem + 2vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.16);
    transition: color .4s var(--ease, ease);
}
.svc-card:hover .svc-card__index { color: rgba(221, 133, 99, 0.85); }

/* Featured badge */
.svc-card__badge {
    position: absolute;
    top: clamp(1.1rem, 2vw, 1.45rem);
    left: clamp(1.1rem, 2vw, 1.45rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--r-full, 999px);
    background: var(--grad-copper, linear-gradient(135deg, #aa5634, #dd8563));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: var(--sh-copper, 0 12px 30px rgba(170, 86, 52, .28));
}
.svc-card__badge i { font-size: 0.85em; }

/* Content panel */
.svc-card__content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: clamp(1.4rem, 2.6vw, 2rem);
}
.svc-card__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: var(--r-md, 14px);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    color: var(--copper-light, #dd8563);
    font-size: 1.4rem;
    transition: transform .45s var(--ease-bounce, cubic-bezier(.34, 1.56, .64, 1)),
                background .4s ease, color .4s ease;
}
.svc-card:hover .svc-card__icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.06);
    background: var(--grad-copper, linear-gradient(135deg, #aa5634, #dd8563));
    color: #fff;
}
.svc-card__content h3 {
    color: #fff;
    font-size: var(--fs-h3, clamp(1.2rem, 1.08rem + .5vw, 1.45rem));
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.svc-card__desc {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Tag pills — revealed on hover (desktop), always shown on touch */
.svc-card__reveal {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows .5s var(--ease, ease), opacity .4s var(--ease, ease);
}
.svc-card__reveal > div { overflow: hidden; min-height: 0; }
.svc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.35rem;
}
.svc-card__tags li {
    padding: 0.32rem 0.72rem;
    border-radius: var(--r-full, 999px);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.74rem;
    font-weight: 600;
}

/* Learn-more cue */
.svc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.45rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}
.svc-card__arrow {
    display: grid; place-items: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--grad-copper, linear-gradient(135deg, #aa5634, #dd8563));
    color: #fff;
    font-size: 0.8rem;
    box-shadow: var(--sh-copper, 0 12px 30px rgba(170, 86, 52, .28));
    transition: transform .4s var(--ease-bounce, cubic-bezier(.34, 1.56, .64, 1));
}
.svc-card:hover .svc-card__arrow { transform: translateX(5px); }

/* Whole-card link overlay */
.svc-card__stretch {
    position: absolute; inset: 0;
    z-index: 4;
    border-radius: inherit;
}
.svc-card__stretch:focus-visible {
    outline: 3px solid var(--copper, #aa5634);
    outline-offset: 3px;
}

/* Featured emphasis */
.svc-card--featured { box-shadow: var(--sh-lg, 0 22px 50px rgba(20, 22, 50, .11)); }
.svc-card--featured::after { opacity: 0.55; }

/* Reveal-on-hover only where hover is reliable */
@media (hover: hover) and (pointer: fine) {
    .svc-card__reveal { grid-template-rows: 0fr; opacity: 0; }
    .svc-card:hover .svc-card__reveal,
    .svc-card:focus-within .svc-card__reveal { grid-template-rows: 1fr; opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) and (min-width: 681px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-card:last-child { grid-column: 1 / -1; min-height: 340px; } /* wide banner, no gaps */
}
@media (max-width: 680px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { min-height: 430px; }
    .svc-head { align-items: flex-start; }
    .svc-head__right { max-width: none; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
    .svc-card,
    .svc-card.is-in {
        opacity: 1 !important;
        translate: 0 0 !important;
        transform: none !important;
        transition: box-shadow .3s ease !important;
    }
    .svc-card__img,
    .svc-card:hover .svc-card__img { transform: none !important; }
    .svc-card__reveal { grid-template-rows: 1fr !important; opacity: 1 !important; }
}

/* ============================================================================
   13. INDUSTRIES
============================================================================ */
.industries { padding: var(--section-py) 0; background: var(--cream); }
.industries__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

.industry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.8rem 1rem;
    background: var(--paper);
    border: 1px solid var(--g-200);
    border-radius: var(--r-md);
    text-align: center;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.industry:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(170, 86, 52, 0.3); }
.industry i {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.06);
    color: var(--navy);
    font-size: 1.4rem;
    transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.industry:hover i { background: var(--grad-copper); color: #fff; transform: scale(1.08); }
.industry h4 { color: var(--navy); font-size: 0.95rem; }


/* ============================================================================
   14. ABOUT  (overlapping photo collage + handwritten)
============================================================================ */
.about { padding: var(--section-py) 0; background: var(--paper); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }

.about__media { position: relative; padding-bottom: 2rem; }
.about__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 4 / 5; }
.about__photo--sub {
    position: absolute;
    right: -1.5rem; bottom: 0;
    width: 52%;
    aspect-ratio: 1 / 1;
    border: 6px solid var(--paper);
    box-shadow: var(--sh-xl);
}
.about__stat {
    position: absolute;
    top: 1.25rem; left: -1.5rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.3rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    max-width: 170px;
}
.about__stat-num { font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; }
.about__stat-label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); margin-top: 0.35rem; }
.about__scribble {
    position: absolute;
    top: -1.5rem; right: 2rem;
    font-size: 1.9rem;
    color: var(--copper);
    transform: rotate(-6deg);
}

.about__body h2 { margin-bottom: 1.25rem; }
.about__body > p { margin-bottom: 1.1rem; }
.about__quote { margin: 1.75rem 0; padding-left: 1.25rem; border-left: 3px solid var(--copper); }
.about__quote .handwritten { font-size: 1.9rem; color: var(--navy); }

.about__founders { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 1.75rem 0 2.25rem; }
.founder { display: flex; align-items: center; gap: 0.85rem; }
.founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: var(--sh-sm); border: 2px solid var(--paper); }
.founder__meta { display: flex; flex-direction: column; }
.founder__sign { font-size: 1.65rem; color: var(--navy); line-height: 0.9; }
.founder__role { font-size: 0.8rem; color: var(--g-500); margin-top: 0.2rem; }


/* ============================================================================
   15. PROCESS  (connecting line + numbered nodes)
============================================================================ */
.process { padding: var(--section-py) 0; background: var(--cream); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.process__steps::before {
    content: '';
    position: absolute;
    top: 30px; left: 12%; right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--copper) 0 8px, transparent 8px 16px);
    opacity: 0.4;
}
.step {
    position: relative;
    padding: 1.75rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--g-200);
    border-radius: var(--r-md);
    text-align: center;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.step__num {
    width: 60px; height: 60px;
    display: grid; place-items: center;
    margin: -3.6rem auto 1rem;
    border-radius: 50%;
    background: var(--grad-navy);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: var(--sh-md);
    border: 4px solid var(--cream);
}
.step__icon { font-size: 1.6rem; color: var(--copper); margin-bottom: 0.9rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }


/* ============================================================================
   16. STATS  (dark band)
============================================================================ */
.stats { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--grad-navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; padding: 0.5rem; }
.stat + .stat::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 1px; height: 50px;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%);
}
.stat__num { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; line-height: 1; color: #fff; }
.stat__num { background: linear-gradient(120deg, #fff, var(--copper-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }


/* ============================================================================
   17. WHY
============================================================================ */
.why { padding: var(--section-py) 0; background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.why-card {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.4rem);
    background: var(--cream);
    border-radius: var(--r-lg);
    border: 1px solid var(--g-200);
    text-align: center;
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.why-card::before {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: var(--grad-copper);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); background: var(--paper); }
.why-card:hover::before { transform: scaleX(1); }
.why-card i {
    width: 66px; height: 66px;
    display: grid; place-items: center;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(170, 86, 52, 0.1);
    color: var(--copper);
    font-size: 1.5rem;
    transition: transform var(--t-base);
}
.why-card:hover i { transform: rotate(-6deg) scale(1.08); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.92rem; }


/* ============================================================================
   18. REVIEWS
============================================================================ */
.reviews { padding: var(--section-py) 0; background: var(--cream); }
.reviews__embed { background: var(--paper); border: 1px solid var(--g-200); border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: clamp(1.25rem, 3vw, 2rem); }


/* ============================================================================
   19. FAQ
============================================================================ */

.faq {
    position: relative;
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
    isolation: isolate;
}
/* soft copper glow (left edge clipped by body's overflow-x) */
.faq::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 440px; height: 440px;
    top: 8%; left: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 86, 52, 0.16), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

/* ---------- Left: sticky intro + CTA ---------- */
.faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
}
.faq__hand {
    display: block;
    color: var(--copper);
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.15rem);
    transform: rotate(-3deg);
    margin: 0.35rem 0 -0.15rem 0.15rem;
}
.faq__intro h2 { font-size: var(--fs-h2); line-height: 1.1; margin-bottom: 1rem; }
.faq__intro > p { font-size: var(--fs-lead); color: var(--g-600); max-width: 40ch; }

.faq__cta {
    position: relative;
    display: flex;
    gap: 1.1rem;
    margin-top: 2.25rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--r-lg);
    background: var(--grad-navy);
    box-shadow: var(--sh-lg);
    overflow: hidden;
    isolation: isolate;
}
.faq__cta::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 88% 12%, rgba(170, 86, 52, 0.35), transparent 55%);
}
.faq__cta-icon {
    flex-shrink: 0;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    color: var(--copper-light);
    font-size: 1.35rem;
}
.faq__cta-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.35rem; }
.faq__cta-body > p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; margin-bottom: 1.1rem; }
.faq__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; }
.faq__cta-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}
.faq__cta-call i { color: var(--copper-light); }
.faq__cta-call:hover { color: var(--copper-light); }

/* ---------- Right: accordion ---------- */
.faq__list { display: flex; flex-direction: column; gap: 0.9rem; }

.faq__item {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--g-200);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: box-shadow var(--t-base), border-color var(--t-base);
}
/* left accent bar — slides in when open */
.faq__item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--grad-copper);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-base);
}
.faq__item:hover { border-color: rgba(170, 86, 52, 0.35); box-shadow: var(--sh-sm); }
.faq__item.is-open { border-color: rgba(170, 86, 52, 0.4); box-shadow: var(--sh-md); }
.faq__item.is-open::before { transform: scaleY(1); }

.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.1rem, 2.2vw, 1.4rem) clamp(1.1rem, 2.2vw, 1.5rem);
    text-align: left;
}
.faq__q-num {
    flex-shrink: 0;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: rgba(26, 35, 126, 0.07);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: background var(--t-base), color var(--t-base);
}
.faq__q:hover .faq__q-num,
.faq__item.is-open .faq__q-num {
    background: var(--grad-copper);
    color: #fff;
}
.faq__q-text {
    flex: 1;
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}
.faq__icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.06);
    color: var(--navy);
    font-size: 0.78rem;
    transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.faq__q:hover .faq__icon { background: rgba(26, 35, 126, 0.12); }
.faq__item.is-open .faq__icon {
    background: var(--grad-copper);
    color: #fff;
    transform: rotate(180deg);
}

/* Smooth height reveal (grid-rows trick) */
.faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-body { overflow: hidden; min-height: 0; }
.faq__a-body p {
    /* indent the answer to line up under the question text */
    padding: 0 clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.2vw, 1.5rem)
             calc(clamp(1.1rem, 2.2vw, 1.5rem) + 38px + 1rem);
    color: var(--g-600);
    line-height: 1.65;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .faq__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq__intro { position: static; }
    .faq__intro > p { max-width: none; }
}
@media (max-width: 480px) {
    .faq__q { gap: 0.7rem; padding: 1rem; }
    .faq__q-num,
    .faq__icon { width: 32px; height: 32px; }
    .faq__a-body p { padding-left: 1rem; padding-right: 1rem; }
}

/* ============================================================================
   20. CTA BAND
============================================================================ */
.cta {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: var(--grad-copper);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 50%);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta__inner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta__inner p { color: rgba(255, 255, 255, 0.92); }


/* ============================================================================
   21. CONTACT
============================================================================ */
.contact { padding: var(--section-py) 0; background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__info > p { font-size: var(--fs-lead); margin-bottom: 2rem; }

.contact__cards { display: grid; gap: 1rem; }
.contact__card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--g-200);
    border-radius: var(--r-md);
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.contact__card i {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.06);
    color: var(--copper);
    font-size: 1.2rem;
    transition: background var(--t-base), color var(--t-base);
}
.contact__card:hover i { background: var(--grad-copper); color: #fff; }
.contact__card h4 { color: var(--navy); margin-bottom: 0.15rem; }
.contact__card p { font-size: 0.92rem; }

.contact__form-wrap { background: var(--paper); border: 1px solid var(--g-200); border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { position: relative; margin-bottom: 1.5rem; }
.field input, .field textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid var(--g-200);
    border-radius: var(--r-md);
    background: var(--paper);
    color: var(--g-700);
    font-size: 1rem;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(170, 86, 52, 0.12); }
.field label {
    position: absolute; left: 1.1rem; top: 1rem;
    padding-inline: 0.35rem;
    color: var(--g-500);
    background: var(--paper);
    pointer-events: none;
    transition: top var(--t-base), font-size var(--t-base), color var(--t-base);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { top: 0; transform: translateY(-50%); font-size: 0.78rem; color: var(--copper); }

.field.error input, .field.error textarea { border-color: #e0413a; }
.error-message { margin-top: 0.5rem; font-size: 0.82rem; color: #e0413a; }
.form-message { margin-bottom: 1.5rem; padding: 1rem; border-radius: var(--r-md); font-size: 0.92rem; text-align: center; }
.form-message.success { background: rgba(34, 160, 90, 0.12); color: #1c7a48; }
.form-message.error { background: rgba(224, 65, 58, 0.1); color: #c2332c; }


/* ============================================================================
   22. FOOTER
============================================================================ */
.site-footer { background: var(--navy-deep); color: var(--g-300); padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-footer__brand { max-width: 360px; }
.site-footer__logo { height: 40px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer__brand p { color: var(--g-400); margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background var(--t-base), transform var(--t-base); }
.social-links a:hover { background: var(--copper); transform: translateY(-3px); }
.site-footer__col h3 { position: relative; color: #fff; font-size: 1.1rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; }
.site-footer__col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--copper); border-radius: var(--r-full); }
.site-footer__col nav, .site-footer__col address { display: flex; flex-direction: column; gap: 0.75rem; font-style: normal; }
.site-footer__col a { color: var(--g-400); }
.site-footer__col nav a:hover { color: var(--copper); padding-left: 4px; }
.site-footer__col address a { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__col address a:hover { color: #fff; }
.site-footer__col address i { color: var(--copper); width: 16px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem 0; text-align: center; font-size: 0.88rem; color: var(--g-500); }

.designer-footer { background: var(--ink); padding: 1.5rem 1rem; text-align: center; border-top: 2px solid; border-image: var(--grad-copper) 1; }
.designer-footer__link { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--g-400); font-size: 0.9rem; transition: transform var(--t-base); }
.designer-footer__link:hover { transform: translateY(-2px); }
.designer-footer__logo { height: 34px; width: auto; border-radius: var(--r-sm); }
.designer-footer__link strong { color: var(--copper-light); }


/* ============================================================================
   23. FLOATING UI
============================================================================ */
/* ===== Contact FAB (bottom-right) ===== */
.cfab {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: var(--z-float, 200);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}
.cfab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }

.cfab__action {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1.05rem 0.5rem 0.5rem;
    border-radius: var(--r-full, 999px);
    background: var(--paper, #fff);
    box-shadow: var(--sh-md, 0 12px 32px rgba(20, 22, 50, 0.09));
    color: var(--navy, #1a237e);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.92);
    transform-origin: bottom right;
    transition: opacity .34s, visibility .34s, transform .34s, background .34s, color .34s;
}
.cfab.is-open .cfab__action { opacity: 1; visibility: visible; transform: none; }
/* nearest item rises first */
.cfab.is-open .cfab__action:nth-child(1) { transition-delay: 0.15s; }
.cfab.is-open .cfab__action:nth-child(2) { transition-delay: 0.10s; }
.cfab.is-open .cfab__action:nth-child(3) { transition-delay: 0.05s; }

.cfab__ic {
    flex-shrink: 0;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(170, 86, 52, 0.10);
    color: var(--copper, #aa5634);
    font-size: 1rem;
    transition: background .34s, color .34s;
}
.cfab__action:hover {
    background: var(--grad-copper, linear-gradient(135deg, #aa5634, #dd8563));
    color: #fff;
    transform: translateY(-2px);
}
.cfab__action:hover .cfab__ic { background: rgba(255, 255, 255, 0.22); color: #fff; }

.cfab__toggle {
    position: relative;
    width: 62px; height: 62px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: var(--grad-copper, linear-gradient(135deg, #aa5634, #dd8563));
    color: #fff;
    box-shadow: var(--sh-copper, 0 12px 30px rgba(170, 86, 52, 0.28));
    transition: transform .34s, box-shadow .34s;
}
.cfab__toggle:hover { transform: scale(1.06); box-shadow: 0 16px 40px rgba(170, 86, 52, 0.45); }

/* attention pulse (stops once opened) */
.cfab__toggle::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid var(--copper, #aa5634);
    opacity: 0.6;
    animation: cfabPulse 2.4s ease-out infinite;
    pointer-events: none;
}
.cfab.is-open .cfab__toggle::before { animation: none; opacity: 0; }

/* icon morph: chat → x */
.cfab__icon {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: 1.35rem;
    transition: opacity .34s, transform .34s;
}
.cfab__icon--close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.cfab.is-open .cfab__icon--open  { opacity: 0; transform: rotate(90deg) scale(0.6); }
.cfab.is-open .cfab__icon--close { opacity: 1; transform: none; }

@keyframes cfabPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== Back to top (bottom-left) ===== */
.to-top {
    position: fixed;
    left: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 190;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: var(--navy, #1a237e);
    color: #fff;
    font-size: 1rem;
    box-shadow: var(--sh-lg, 0 22px 50px rgba(20, 22, 50, 0.11));
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: opacity .34s, visibility .34s, transform .34s, background .34s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--copper, #aa5634); transform: translateY(-3px) scale(1.06); }

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
    .cfab__toggle::before { animation: none; opacity: 0; }
}

/* ============================================================================
   24. KEYFRAMES
============================================================================ */
@keyframes loaderBar { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }


/* ============================================================================
   25. RESPONSIVE
============================================================================ */
@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }

    .hero { text-align: center; }
    .hero__content { max-width: 100%; margin-inline: auto; }
    .hero__lead { margin-inline: auto; }
    .hero__actions, .hero__trust { justify-content: center; }
    .hero__badge { display: none; }
    .hero__scroll { display: none; }

    .industries__grid { grid-template-columns: repeat(3, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 3rem; }
    .about__media { max-width: 500px; margin: 0 auto; }
    .process__steps { grid-template-columns: repeat(2, 1fr); }
    .process__steps::before { display: none; }
    .step__num { margin-top: 0; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
    .stat:nth-child(odd)::before { display: none; }
    .contact__grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 640px) {
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__badge { left: 0; }
    .about__photo--sub { right: 0; width: 48%; }
    .about__stat { left: 0; }
    .cta__inner { flex-direction: column; text-align: center; }
    .site-footer__grid { grid-template-columns: 1fr; text-align: center; }
    .site-footer__col h3::after { left: 50%; transform: translateX(-50%); }
    .site-footer__col nav, .site-footer__col address { align-items: center; }
    .site-footer__col address a { justify-content: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 400px) {
    .hero__trust { gap: 1.25rem; }
    .stats__grid { grid-template-columns: 1fr; }
    .stat::before { display: none !important; }
}


/* ============================================================================
   26. ACCESSIBILITY
============================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; }
    .marquee__track { animation: none !important; }
    .hero__badge { animation: none !important; }
}
