/*********************************************************************
 * Creative Apps Company — Design System (fresh rebrand 2026)
 * Elevated blue + navy. Sora (headings) / Inter (body).
 * Sits on top of Bootstrap grid + FontAwesome Pro (already local).
 *********************************************************************/

/* ============================= Tokens ============================= */
:root {
    --primary: #2E5BFF;
    --primary-600: #1E47D8;   /* accessible blue text on white */
    --primary-700: #17369E;
    --navy: #0B1020;
    --navy-2: #111834;
    --accent: #22D3EE;        /* cyan — dark surfaces / accents only */
    --accent-ink: #0E7490;    /* accessible cyan text on light */

    --surface: #FFFFFF;
    --muted-bg: #F5F7FB;
    --border: #E4E9F2;
    --ink: #0B1020;
    --muted: #5A6478;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --shadow-sm: 0 6px 18px rgba(11, 16, 32, .06);
    --shadow-md: 0 16px 40px rgba(20, 42, 122, .12);
    --shadow-lg: 0 30px 70px rgba(20, 42, 122, .20);

    --grad-hero: radial-gradient(120% 130% at 82% 0%, #3f6bff 0%, #2E5BFF 30%, #16236e 70%, #0B1020 100%);
    --grad-brand: linear-gradient(135deg, var(--primary), var(--primary-700));
    --grad-accent: linear-gradient(120deg, var(--primary), var(--accent));
    --grad-dark: linear-gradient(160deg, #131b3d, var(--navy));

    --primary-font: 'Sora', sans-serif;   /* headings */
    --body-font: 'Inter', sans-serif;     /* body */
}

/* ============================= Base ============================= */
* { -webkit-font-smoothing: antialiased; box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
    font-family: var(--body-font);
    color: var(--ink);
    line-height: 1.7;
    background: var(--surface);
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--primary-font);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
}

p { color: var(--muted); margin: 0 0 1rem; }
a { text-decoration: none; color: var(--primary-600); }
a:hover { color: var(--primary-700); }
img, svg { max-width: 100%; }

.display-hero { font-size: clamp(2.6rem, 4vw + 1rem, 4.5rem); line-height: 1.03; letter-spacing: -.03em; }
h1, .h1 { font-size: clamp(2rem, 3vw, 3rem); }
h2, .h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.lead-lg { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; }
.text-primary { color: var(--primary) !important; }
.text-accent-ink { color: var(--accent-ink) !important; }
.bg-muted { background: var(--muted-bg) !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ============================= Buttons ============================= */
.btn {
    font-family: var(--primary-font);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: .8rem 1.7rem;
    transition: transform .3s, box-shadow .3s, background .3s, color .3s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .98rem;
    cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--primary-600); }
.btn-light:hover { background: #fff; color: var(--primary-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary-600); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-700); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

/* ============================= Layout / sections ============================= */
.container-cac { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-block: clamp(4rem, 8vw, 6.75rem); }
.section--surface { background: var(--surface); }
.section--muted { background: var(--muted-bg); }
.section--dark { background: var(--grad-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .76); }
.section-intro { max-width: 720px; }

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.eyebrow.on-dark { color: var(--accent); }

/* ============================= Navbar / brand ============================= */
.cac-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 900; transition: .35s; }
.cac-header.is-sticky { position: fixed; background: #fff; box-shadow: var(--shadow-sm); }
.cac-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.is-sticky .cac-nav { padding: .7rem 0; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.is-sticky .brand-mark { width: 38px; height: 38px; }
.brand-name { font-family: var(--primary-font); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: #fff; transition: color .3s; }
.brand-name b { color: var(--accent); font-weight: 700; }
.brand-name .dot { color: var(--accent); }
.is-sticky .brand-name { color: var(--navy); }
.is-sticky .brand-name b { color: var(--primary); }
.is-sticky .brand-name .dot { color: var(--primary); }

.cac-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.cac-menu > li { position: relative; }
.cac-menu > li > a {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, .9);
    padding: .5rem 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color .3s;
}
.cac-menu > li > a:hover, .cac-menu > li.active > a { color: #fff; }
.is-sticky .cac-menu > li > a { color: var(--navy); }
.is-sticky .cac-menu > li > a:hover, .is-sticky .cac-menu > li.active > a { color: var(--primary); }
.cac-menu .has-dropdown > a::after { content: "\f078"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif; font-weight: 700; font-size: .62rem; }

/* dropdown */
.cac-dropdown {
    position: absolute; top: 130%; left: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: .28s; z-index: 20; list-style: none; margin: 0;
}
.cac-menu > li:hover > .cac-dropdown, .cac-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.cac-dropdown a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 9px; color: var(--navy); font-weight: 500; font-size: .95rem; transition: .2s; }
.cac-dropdown a:hover { background: var(--muted-bg); color: var(--primary); }
.cac-dropdown a i { color: var(--primary); width: 18px; text-align: center; }

.cac-header-actions { display: flex; align-items: center; gap: 1rem; }
.cac-burger { display: none; background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }
.is-sticky .cac-burger { color: var(--navy); }

@media (max-width: 991.98px) {
    .cac-menu, .cac-header-actions .btn { display: none; }
    .cac-burger { display: inline-flex; }
}

/* mobile drawer */
.cac-drawer { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; box-shadow: var(--shadow-lg); z-index: 1200; transform: translateX(100%); transition: transform .35s; display: flex; flex-direction: column; padding: 1.5rem; overflow-y: auto; }
.cac-drawer.open { transform: translateX(0); }
.cac-drawer-overlay { position: fixed; inset: 0; background: rgba(11, 16, 32, .55); opacity: 0; visibility: hidden; transition: .3s; z-index: 1100; }
.cac-drawer-overlay.open { opacity: 1; visibility: visible; }
.cac-drawer .brand-name { color: var(--navy); }
.cac-drawer .brand-name .dot { color: var(--primary); }
.cac-drawer nav { margin-top: 1.5rem; }
.cac-drawer nav a { display: block; padding: .7rem .4rem; font-family: var(--primary-font); font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); }
.cac-drawer nav a.sub { padding-left: 1.4rem; font-weight: 400; font-size: .95rem; color: var(--muted); }
.cac-drawer-close { align-self: flex-end; background: none; border: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; }

/* ============================= Hero ============================= */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 40%, transparent 78%);
    mask-image: radial-gradient(120% 100% at 80% 0%, #000 40%, transparent 78%);
    opacity: .7; pointer-events: none;
}
.hero--home { background: var(--grad-hero); padding: clamp(9.5rem, 14vw, 13rem) 0 clamp(5rem, 8vw, 7rem); }
.hero--interior { background: var(--grad-hero); padding: clamp(8rem, 12vw, 10.5rem) 0 clamp(3.5rem, 5vw, 5rem); }
.hero h1, .hero p { position: relative; color: #fff; }
.hero p { color: rgba(255, 255, 255, .85); }
.hero-badge { display: inline-block; max-width: 100%; padding: .5rem 1.1rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .85rem; font-weight: 500; backdrop-filter: blur(4px); margin-bottom: 1.4rem; }
.hero-badge i { color: var(--accent); margin-right: .5rem; }
.breadcrumb-cac { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; }
.breadcrumb-cac a { color: rgba(255, 255, 255, .8); }
.breadcrumb-cac li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: rgba(255, 255, 255, .45); }
.breadcrumb-cac li:last-child { color: #fff; }

/* ============================= Cards ============================= */
.card-cac { height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s, box-shadow .4s, border-color .4s; }

.icon-tile { width: 60px; height: 60px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(46, 91, 255, .1); color: var(--primary); transition: .4s; }
.icon-tile.grad { background: var(--grad-accent); color: #fff; }

/* service card */
.service-card { position: relative; padding: 2.3rem 1.9rem; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s, box-shadow .4s, background .4s; }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3, .service-card h5 { margin: 1.2rem 0 .6rem; font-size: 1.25rem; }
.service-card p { font-size: .96rem; margin-bottom: 1.1rem; }
.card-more { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--primary-font); font-weight: 600; font-size: .92rem; color: var(--primary-600); transition: gap .3s; }
.card-more:hover { gap: .8rem; }

/* feature / capability card */
.feature-card { padding: 1.9rem 1.6rem; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s, box-shadow .4s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card h5 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.feature-card p { font-size: .94rem; margin: 0; }
.section--dark .feature-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--dark .feature-card h5 { color: #fff; }
.section--dark .icon-tile { background: rgba(34, 211, 238, .16); color: var(--accent); }

/* product card */
.product-card { position: relative; padding: 2.4rem; height: 100%; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--grad-dark); border: 1px solid rgba(255, 255, 255, .08); transition: transform .4s, box-shadow .4s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card::before { content: ""; position: absolute; right: -30%; top: -40%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(46, 91, 255, .5), transparent 60%); pointer-events: none; }
.product-card h3 { color: #fff; font-size: 1.7rem; }
.product-card p { color: rgba(255, 255, 255, .8); position: relative; }
.product-tag { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill); background: rgba(34, 211, 238, .16); color: var(--accent); font-family: var(--primary-font); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }

/* module card (Arrow) */
.module-card { padding: 1.7rem 1.5rem; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: .35s; }
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(46, 91, 255, .3); }
.module-card .num { font-family: var(--primary-font); font-weight: 700; color: var(--primary); opacity: .35; font-size: 1.1rem; }
.module-card h5 { font-size: 1.08rem; margin: .5rem 0 .5rem; }
.module-card p { font-size: .92rem; margin: 0; }

/* approach steps */
.approach-step { position: relative; height: 100%; padding: 1.9rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.approach-step__num { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-accent); color: #fff; font-family: var(--primary-font); font-weight: 700; margin-bottom: 1.1rem; }
.approach-step h5 { color: #fff; margin-bottom: .5rem; }
.approach-step p { color: rgba(255, 255, 255, .74); margin: 0; font-size: .94rem; }
.section--muted .approach-step, .section--surface .approach-step { background: #fff; border-color: var(--border); box-shadow: var(--shadow-sm); }
.section--muted .approach-step h5, .section--surface .approach-step h5 { color: var(--navy); }
.section--muted .approach-step p, .section--surface .approach-step p { color: var(--muted); }

/* check list */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; color: var(--muted); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; font-size: .6rem; display: flex; align-items: center; justify-content: center; color: var(--primary); background: rgba(46, 91, 255, .12); border-radius: 50%; }
.section--dark .check-list li { color: rgba(255, 255, 255, .82); }
.section--dark .check-list li::before { color: var(--accent); background: rgba(34, 211, 238, .16); }

/* tech badges */
.tech-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.tech-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); color: var(--navy); font-weight: 500; font-size: .86rem; transition: .3s; }
.tech-badge:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.tech-badge i { color: var(--accent-ink); }
.section--dark .tech-badge { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; }
.section--dark .tech-badge i { color: var(--accent); }

/* stats */
.stat { text-align: center; }
.stat__num { font-family: var(--primary-font); font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { color: var(--muted); font-weight: 500; margin-top: .4rem; }
.section--dark .stat__label { color: rgba(255, 255, 255, .7); }

/* value chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; border-radius: var(--radius-pill); background: var(--muted-bg); border: 1px solid var(--border); font-family: var(--primary-font); font-weight: 500; font-size: .92rem; color: var(--navy); }
.chip i { color: var(--primary); }

/* panel */
.panel { background: var(--muted-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.8rem, 3vw, 2.6rem); }
.panel--brand { background: var(--grad-dark); border-color: transparent; color: #fff; }
.panel--brand h3, .panel--brand h5 { color: #fff; }
.panel--brand p { color: rgba(255, 255, 255, .82); }

/* media frame */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }

/* engine chain (PRIMO) — concentric wrap */
.engine-chain { display: grid; place-items: center; }
.engine-ring { border-radius: 16px; border: 2px solid; padding: 1.1rem; width: 100%; text-align: center; font-family: var(--primary-font); font-weight: 600; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--grad-hero); border-radius: clamp(20px, 3vw, 30px); padding: clamp(2.6rem, 5vw, 4.2rem); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(100% 120% at 100% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(100% 120% at 100% 0%, #000 30%, transparent 75%); opacity: .7; }
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .85); }

/* ============================= Contact ============================= */
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-detail__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(46, 91, 255, .1); color: var(--primary); font-size: 1.1rem; }
.form-control-cac { width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-family: var(--body-font); font-size: .98rem; color: var(--ink); transition: .25s; }
.form-control-cac:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46, 91, 255, .15); }
.form-label-cac { display: block; font-family: var(--primary-font); font-weight: 500; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ============================= Footer ============================= */
.cac-footer { background: var(--grad-dark); color: rgba(255, 255, 255, .72); padding-top: clamp(3.5rem, 6vw, 5rem); }
.cac-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; }
.cac-footer p { color: rgba(255, 255, 255, .72); }
.cac-footer a { color: rgba(255, 255, 255, .72); transition: .25s; }
.cac-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif; font-weight: 900; color: var(--accent); font-size: .8rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* ============================= Back to top / preloader ============================= */
.back-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: none; align-items: center; justify-content: center; z-index: 800; border: none; cursor: pointer; box-shadow: var(--shadow-md); }
.cac-preloader { position: fixed; inset: 0; background: #fff; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity .5s, visibility .5s; }
.cac-preloader.hidden { opacity: 0; visibility: hidden; }
.cac-spinner { width: 48px; height: 48px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: cac-spin .8s linear infinite; }
@keyframes cac-spin { to { transform: rotate(360deg); } }

/* ============================= Reveal ============================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .hero-animate { opacity: 0; transform: translateY(24px); animation: heroUp .85s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--reveal-delay, 0s); }
@keyframes heroUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal], .js .hero-animate { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============================= Grid helpers ============================= */
.g-row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .g-2 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .g-4 { grid-template-columns: repeat(4, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.1fr .9fr; } }

/* ============================= Utilities ============================= */
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-white { color: #fff !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0 !important; } .mt-0 { margin-top: 0 !important; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.d-flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .flex-col { flex-direction: column; }
.align-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; } .h-100 { height: 100%; }
.mw-760 { max-width: 760px; } .mw-640 { max-width: 640px; } .mw-560 { max-width: 560px; }
.rounded-img { border-radius: var(--radius); }
.order-lg-first { }
@media (max-width: 991.98px) { .hide-lg-down { display: none; } .order-lg-first { order: -1; } }

/* Mobile layout safety */
@media (max-width: 991.98px) {
    .split, .split--wide-left { display: block; }
    .split > * + * { margin-top: 2.4rem; }
    .cac-footer .g-row { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
    /* hero CTAs stack full-width for cleaner tap targets */
    .hero .btn { width: 100%; justify-content: center; margin-left: 0 !important; margin-right: 0 !important; margin-bottom: .6rem; }
    .cac-footer .g-row { grid-template-columns: 1fr !important; }
    .cac-nav .btn.btn-primary { display: none; }
}
