/* ==========================================================================
   Eqquinox — modern themeable stylesheet (light + dark)
   ========================================================================== */

/* ---- Theme tokens ---- */
:root {
    /* Brand palette derived from the Eqquinox logo: deep navy + warm orange */
    --brand-navy: #173a6b;
    --brand-navy-2: #24579b;
    --brand-orange: #f08a22;
    --brand-orange-2: #f6a64a;

    --primary: #1b4079;
    --primary-2: #f08a22;
    --accent: #f08a22;
    --primary-soft: rgba(27, 64, 121, 0.10);
    --accent-soft: rgba(240, 138, 34, 0.14);
    --gradient: linear-gradient(135deg, #1b4079 0%, #2a64b0 48%, #f08a22 120%);
    --gradient-accent: linear-gradient(135deg, #f08a22 0%, #f6a64a 100%);
    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 10px;
    --maxw: 1240px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --font-head: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "Space Mono", ui-monospace, monospace;
    --ink: #0f1f33;
    --grid-line: rgba(27, 64, 121, 0.06);
    --t: 0.25s ease;
}

html[data-theme="light"] {
    --bg: #ffffff;
    --bg-soft: #f3f6fb;
    --surface: #ffffff;
    --surface-2: #f6f9fd;
    --text: #102540;
    --text-muted: #54647d;
    --border: #e4eaf3;
    --header-bg: rgba(255, 255, 255, 0.85);
    --chip-bg: #eef3fa;
    --hero-grad: radial-gradient(60% 80% at 82% 0%, rgba(240, 138, 34, 0.14), transparent 60%), radial-gradient(55% 75% at 0% 8%, rgba(27, 64, 121, 0.12), transparent 60%);
}

html[data-theme="dark"] {
    --bg: #081019;
    --bg-soft: #0c1726;
    --surface: #102032;
    --surface-2: #142840;
    --text: #eaf1fa;
    --text-muted: #93a6bf;
    --border: #21384f;
    --header-bg: rgba(8, 16, 25, 0.82);
    --chip-bg: #16293f;

    /* Brighten navy for readable contrast on dark surfaces; keep orange warm */
    --primary: #4f8fe6;
    --primary-2: #f6a64a;
    --accent: #f6a64a;
    --primary-soft: rgba(79, 143, 230, 0.18);
    --accent-soft: rgba(246, 166, 74, 0.18);
    --gradient: linear-gradient(135deg, #2f6fc0 0%, #3f86d6 45%, #f29a37 120%);
    --gradient-accent: linear-gradient(135deg, #f29a37 0%, #f6b35e 100%);
    --hero-grad: radial-gradient(60% 80% at 82% 0%, rgba(242, 154, 55, 0.20), transparent 60%), radial-gradient(55% 75% at 0% 8%, rgba(63, 134, 214, 0.22), transparent 60%);
    --grid-line: rgba(120, 170, 230, 0.07);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* NOTE: keep overflow-x off <body> — setting it on body breaks position:sticky header */
body { max-width: 100%; }
body {
    font-family: var(--font-body);
    background-color: var(--bg);
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--t), color var(--t);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg.icon { width: 24px; height: 24px; flex: none; }
svg.icon-sm { width: 18px; height: 18px; }
svg.icon-lg { width: 34px; height: 34px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* ---- Buttons (sharp, engineered, sliding-fill hover) ---- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
    padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
    cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform var(--t), box-shadow var(--t), color var(--t), border-color var(--t);
    white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
/* Fill sits BEHIND the label (incl. plain text nodes) so it never hides the text */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform 0.3s cubic-bezier(.4,0,.2,1); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary::before { background: var(--brand-orange); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 138, 34, 0.3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: var(--brand-orange); }
.btn-light:hover { color: #fff; transform: translateY(-2px); }
.btn-line { background: transparent; border-color: var(--text); color: var(--text); }
.btn-line::before { background: var(--primary); }
.btn-line:hover { color: #fff; border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); border-color: var(--text); }
.btn-arrow svg { transition: transform var(--t); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; transition: transform 0.35s ease, box-shadow 0.3s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
.topbar { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 13px; }
.topbar-inner { display: flex; gap: 24px; justify-content: flex-end; padding: 8px 24px; color: var(--text-muted); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--primary); }
.topbar-item a:hover { color: var(--primary); }

.navbar { background: var(--header-bg); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; gap: 20px; padding: 2px 24px; }
.brand-logo { height: 70px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-close { display: none; }
.nav-link {
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text);
    padding: 10px 14px; border-radius: 10px; background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; transition: transform var(--t); }

.nav-item.has-dropdown { position: relative; }
.mega-menu {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
    width: min(820px, 90vw); background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t);
}
.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown.open .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item.has-dropdown:hover .chev { transform: rotate(-135deg); }
.mega-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px; }
.mega-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.mega-link svg { color: var(--primary); }
.mega-link:hover { background: var(--primary-soft); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.theme-toggle {
    position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--surface-2); cursor: pointer; display: grid; place-items: center; color: var(--text); overflow: hidden;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-icon { position: absolute; display: grid; place-items: center; transition: transform 0.4s ease, opacity 0.3s ease; }
html[data-theme="light"] .theme-icon-moon { transform: translateY(140%); opacity: 0; }
html[data-theme="light"] .theme-icon-sun { transform: translateY(0); opacity: 1; }
html[data-theme="dark"] .theme-icon-sun { transform: translateY(-140%); opacity: 0; }
html[data-theme="dark"] .theme-icon-moon { transform: translateY(0); opacity: 1; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface-2); border-radius: 12px; cursor: pointer; color: var(--text); margin-left: auto; }

/* ---- Sections & headings ---- */
.section { padding: 84px 0; }
.section-muted { background: var(--bg-soft); }
/* Subtle navy→orange wash for added color rhythm */
.section-tint { background: linear-gradient(135deg, rgba(27, 64, 121, 0.06), rgba(240, 138, 34, 0.06)); }
html[data-theme="dark"] .section-tint { background: linear-gradient(135deg, rgba(63, 134, 214, 0.08), rgba(242, 154, 55, 0.06)); }
/* Bold navy band (logo color) with light content */
.section-navy { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 46px 46px; pointer-events: none; }
.section-navy .container { position: relative; z-index: 1; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy .section-head p, .section-navy > .container > p { color: rgba(255, 255, 255, 0.72); }
.section-navy .eyebrow { color: var(--brand-orange-2); }
.section-navy .eyebrow::before { background: var(--brand-orange-2); }
.section-head { max-width: 760px; margin: 0 auto 52px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 16px; line-height: 1.04; }
.section-head p { color: var(--text-muted); font-size: 17px; }
/* Monospace "tag" label with a leading rule — engineered/editorial feel */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 700;
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
    background: none; padding: 0; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow svg { width: 15px; height: 15px; color: var(--accent); }
.center-eyebrow { justify-content: center; }
.center-eyebrow::before { display: none; }

/* ---- Grids ---- */
.grid { display: grid; gap: 20px; counter-reset: card; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--hero-grad); pointer-events: none; }
.hero-home { padding: 104px 0 84px; text-align: center; }
.hero-home-inner { position: relative; max-width: 900px; margin: 0 auto; z-index: 2; }
/* Signature concentric "eclipse" rings echoing the logo */
.hero-home::before, .hero-home::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-home::before {
    width: 680px; height: 680px; top: -150px; left: 50%; transform: translateX(-50%);
    background: repeating-radial-gradient(circle, transparent 0 67px, var(--grid-line) 67px 68px);
    -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 72%);
    mask-image: radial-gradient(circle, #000 60%, transparent 72%);
    opacity: 0.9;
}
.hero-home::after {
    width: 110px; height: 110px; top: 30px; right: 13%;
    background: var(--gradient-accent); opacity: 0.85;
    box-shadow: 0 0 70px 14px rgba(240, 138, 34, 0.4);
}
.hero-title { font-size: clamp(38px, 6.6vw, 72px); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 22px; }
.grad-text { color: var(--accent); }
.hero-lead { font-size: 19px; color: var(--text-muted); max-width: 680px; }
.center-lead { margin-left: auto; margin-right: auto; }
.hero-home .hero-lead { margin: 0 auto 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-family: var(--font-mono); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-chip svg { color: var(--accent); }
.hero-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.hero-chip:hover svg { color: var(--primary); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ---- Marquee band ---- */
.marquee { background: var(--brand-orange); color: #14233a; overflow: hidden; white-space: nowrap; display: flex; }
.marquee-track { display: inline-flex; align-items: center; flex: none; min-width: 100%; padding: 15px 0; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 40px; padding-left: 40px; font-family: var(--font-mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.marquee-item::after { content: "◆"; font-size: 9px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-100%); } }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.hero-orb-1 { width: 320px; height: 320px; background: rgba(27, 64, 121, 0.38); top: -80px; left: -60px; }
.hero-orb-2 { width: 320px; height: 320px; background: rgba(240, 138, 34, 0.32); bottom: -120px; right: -60px; }

/* Inner hero (service / static pages) */
.hero-inner { padding: 70px 0 50px; }
.hero-center { text-align: center; padding-bottom: 40px; }
.hero-center h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.02em; max-width: 900px; margin: 0 auto 16px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -0.02em; margin-bottom: 16px; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.hero-points svg { color: var(--primary); flex: none; }

/* ---- Stats band ---- */
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
html[data-theme="dark"] .stats-strip { background: var(--surface-2); border: 1px solid var(--border); }
.stats-strip-4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.stat { text-align: left; padding: 30px 32px; border-left: 1px solid rgba(255,255,255,0.1); }
.stat:first-child { border-left: none; }
.stat-num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(30px, 4vw, 44px); color: var(--brand-orange-2); line-height: 1; margin-bottom: 8px; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 13px; }

/* ---- Cards (auto-numbered, accent bar, sharp engineered look) ---- */
.service-card { position: relative; counter-increment: card; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); display: flex; flex-direction: column; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--brand-orange); transition: width 0.35s cubic-bezier(.4,0,.2,1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card:hover::after { width: 100%; }
.service-card::before { content: "(" counter(card, decimal-leading-zero) ")"; position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-muted); opacity: 0.55; }
.service-card-icon { width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; transition: background var(--t), color var(--t); }
.service-card:hover .service-card-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; margin-top: auto; }
.tag-list li { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--text-muted); background: var(--surface-2); padding: 5px 10px; border-radius: 8px; }
.tag-list svg { width: 13px; height: 13px; color: var(--primary); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--primary); margin-top: auto; }
.card-link:hover svg { transform: translateX(4px); }
.card-link svg { transition: transform var(--t); }
.service-card-actions { display: flex; gap: 10px; margin-top: auto; }

/* result cards */
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.result-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.result-num strong { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 38px; color: var(--accent); line-height: 1; }
.result-num span { color: var(--text-muted); font-size: 14px; }
.result-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.result-card h3 { font-size: 19px; margin-bottom: 8px; }
.result-card p { color: var(--text-muted); font-size: 15px; }

/* feature cards */
.feature-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-icon { width: 50px; height: 50px; flex: none; border-radius: var(--radius-sm); background: var(--gradient-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(240,138,34,0.25); }
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

/* why cards — left accent rule, monospace index */
.why-card { position: relative; counter-increment: card; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: var(--accent); }
.why-card::before { content: counter(card, decimal-leading-zero); position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-muted); opacity: 0.5; }
.why-icon { width: 56px; height: 56px; margin: 0 0 16px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 14px; }

/* ---- CTA strip ---- */
.cta-strip { position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.cta-content { position: relative; }
.cta-content h2 { color: #fff; font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 8px; line-height: 1.05; }
.cta-content p { color: rgba(255, 255, 255, 0.72); margin-bottom: 4px; }
.cta-content .btn { margin-top: 20px; }
.cta-glow { position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(240,138,34,0.5), transparent 70%); border-radius: 50%; filter: blur(40px); top: -200px; right: -100px; }
/* CTA with image on the right (like the original strip sections) */
.cta-strip.has-media { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 40px; }
.cta-media { position: relative; z-index: 1; }
.cta-media img { display: block; width: 100%; max-height: 230px; object-fit: contain; margin-left: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)); }

/* ---- Tech stack ---- */
.tech-stack { display: flex; flex-direction: column; gap: 16px; max-width: 960px; margin: 0 auto; }
.tech-row { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; flex-wrap: wrap; }
.tech-row:hover { border-color: var(--primary); }
.tech-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; min-width: 200px; flex: none; }
.tech-cat svg { color: var(--accent); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Single-line infinite chip marquee (fixed category label on the left) */
.tech-row:has(.tech-marquee) { flex-wrap: nowrap; }
.tech-marquee {
    flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tech-marquee-track { display: flex; width: max-content; animation: tech-scroll var(--tm-dur, 24s) linear infinite; }
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
.tech-marquee-group { display: flex; gap: 8px; padding-right: 8px; flex: none; }
@keyframes tech-scroll { to { transform: translateX(-25%); } }
.chip { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .tech-marquee-track { animation: none; }
    .tech-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--chip-bg); border: 1px solid var(--border); padding: 6px 14px 6px 7px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 13px; font-weight: 400; transition: border-color var(--t), color var(--t); }
.chip:hover { border-color: var(--accent); }
.tech-ico { width: 26px; height: 26px; flex: none; border-radius: 6px; background: #fff; display: inline-grid; place-items: center; padding: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.14); }
.tech-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tech-ico-generic { background: var(--primary-soft); box-shadow: none; }
.tech-ico-generic > img { display: none; }
.tech-ico-generic::after { content: ""; width: 13px; height: 13px; border-radius: 3px; background: var(--gradient-accent); }
.tech-ico-generic svg { color: var(--primary); width: 15px; height: 15px; }

/* ---- Core Strengths vertical tab toggle ---- */
.cs-tabs { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.cs-tablist { display: flex; flex-direction: column; gap: 12px; }
.cs-tab { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 17px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.cs-tab:hover { border-color: var(--primary); transform: translateX(3px); }
.cs-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
html[data-theme="dark"] .cs-tab.active { background: var(--primary); border-color: var(--primary); }
.cs-tab-ico { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; transition: background var(--t), color var(--t); }
.cs-tab.active .cs-tab-ico { background: rgba(255,255,255,0.16); color: #fff; }
.cs-panel { display: none; }
.cs-panel.active { display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); animation: fadeIn 0.3s ease; }
.cs-kicker { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cs-content h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.cs-content p { color: var(--text-muted); margin-bottom: 18px; }
.cs-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.cs-points li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.cs-points svg { color: var(--accent); flex: none; }
.cs-visual { aspect-ratio: 1; border-radius: var(--radius); background: var(--gradient); display: grid; place-items: center; box-shadow: var(--shadow); }
.cs-visual svg { width: 92px; height: 92px; color: #fff; }

/* Why-choose cards on a navy band */
.section-navy .why-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); border-left-color: rgba(255, 255, 255, 0.18); }
.section-navy .why-card:hover { border-left-color: var(--brand-orange); }
.section-navy .why-card p { color: rgba(255, 255, 255, 0.72); }
.section-navy .why-card::before { color: rgba(255, 255, 255, 0.4); }
.section-navy .why-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Alternating colour accents on the service cards */
.service-card:nth-child(3n+2)::after { background: var(--primary); }
.service-card:nth-child(3n)::after { background: var(--ink); }
.service-card:nth-child(3n+2) .service-card-icon { background: var(--accent-soft); color: var(--accent); }
.service-card:nth-child(3n+2):hover .service-card-icon { background: var(--brand-orange); color: #fff; }
html[data-theme="dark"] .service-card:nth-child(3n)::after { background: var(--brand-orange-2); }

/* ---- Feature layout: cards ---- */
.fcards { grid-template-columns: repeat(3, 1fr); }
.fcard { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.fcard-ico { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; background: var(--gradient); box-shadow: var(--shadow-sm); }
.fcard:nth-child(3n+2) .fcard-ico { background: var(--gradient-accent); }
.fcard:nth-child(3n) .fcard-ico { background: var(--ink); }
html[data-theme="dark"] .fcard:nth-child(3n) .fcard-ico { background: var(--surface-2); border: 1px solid var(--border); }
.fcard h3 { font-size: 19px; margin-bottom: 8px; }
.fcard p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }

/* ---- Feature layout: timeline ---- */
.ftimeline { position: relative; max-width: 880px; margin: 0 auto; }
.ftimeline::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px; background: var(--border); }
.fstep { position: relative; padding-left: 80px; padding-bottom: 26px; }
.fstep:last-child { padding-bottom: 0; }
.fstep-num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 18px; box-shadow: var(--shadow-sm); }
.fstep:nth-child(even) .fstep-num { background: var(--gradient-accent); }
.fstep h3 { font-size: 20px; margin-bottom: 6px; }
.fstep p { color: var(--text-muted); font-size: 15px; }

/* ---- Feature layout: split (zig-zag) ---- */
.fsplit { display: flex; flex-direction: column; gap: 24px; }
.fsplit-row { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: border-color var(--t), box-shadow var(--t); }
.fsplit-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.fsplit-row:nth-child(even) { grid-template-columns: 1fr 230px; }
.fsplit-visual { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--gradient); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.fsplit-row:nth-child(even) .fsplit-visual { order: 2; background: var(--gradient-accent); }
.fsplit-row:nth-child(3n) .fsplit-visual { background: var(--ink); }
.fsplit-visual svg { width: 76px; height: 76px; color: #fff; }
.fsplit-content h3 { font-size: 21px; margin-bottom: 10px; }
.fsplit-content p { color: var(--text-muted); margin-bottom: 14px; }

/* Shared point list for feature layouts */
.fpoints { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.fpoints li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.fpoints svg { color: var(--accent); flex: none; }

/* ---- Forms ---- */
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.lead-form-head { text-align: center; margin-bottom: 20px; }
.lead-form-head h4 { font-size: 21px; margin-bottom: 6px; }
.lead-form-head p { color: var(--text-muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { position: relative; }
.form-field-full { grid-column: 1 / -1; }
.form-field input, .form-field textarea {
    width: 100%; padding: 16px 14px 8px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface-2); color: var(--text); font-family: var(--font-body); font-size: 15px; transition: border-color var(--t), background var(--t);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field label { position: absolute; left: 14px; top: 14px; color: var(--text-muted); font-size: 15px; pointer-events: none; transition: all 0.18s ease; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label { top: 5px; font-size: 11px; color: var(--primary); font-weight: 600; }
.btn-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.lead-form.loading .btn-spinner { display: inline-block; }
.lead-form.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-fineprint { margin-top: 12px; font-size: 12px; color: var(--text-muted); text-align: center; }
.form-fineprint a { color: var(--primary); font-weight: 600; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 500; text-align: center; min-height: 1px; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #ef4444; }
.lead-form { margin-top: 0; }

/* ---- FAQ ---- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t); }
.acc-item.open { border-color: var(--primary); }
.acc-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--text); text-align: left; }
.acc-icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform var(--t); }
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-item.open .acc-body { max-height: 400px; }
.acc-body p { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; }
.faq-more { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.faq-more svg { color: var(--primary); }
.faq-more span { font-family: var(--font-head); font-weight: 600; }

/* ---- About split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 8px 0 16px; }
.split-copy p { color: var(--text-muted); margin-bottom: 16px; }
.split-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visual-card { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 600; }
.visual-card svg { width: 40px; height: 40px; color: var(--primary); }
.visual-card:nth-child(odd) { transform: translateY(-12px); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-icon { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.contact-card h4 { font-size: 17px; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.contact-card a { display: block; color: var(--primary); font-weight: 600; font-size: 14px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.1); }

/* ---- Legal ---- */
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal p { color: var(--text-muted); margin-bottom: 10px; }
.legal a { color: var(--primary); font-weight: 600; }

/* ---- 404 ---- */
.error-hero { padding: 110px 0; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 18vw, 180px); line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-actions.center { justify-content: center; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 25px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-logo { height: 150px; }
.footer-about { color: var(--text-muted); font-size: 14px; max-width: 280px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); background: var(--surface); }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-col h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-contact p { display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-contact svg { color: var(--primary); margin-top: 3px; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--primary); }


/* ---- Hire-us cards ---- */
.hire-grid { grid-template-columns: repeat(2, 1fr); }
.hire-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: border-color var(--t), transform var(--t); }
.hire-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.hire-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hire-icon { width: 48px; height: 48px; flex: none; border-radius: var(--radius-sm); background: var(--gradient-accent); color: #fff; display: grid; place-items: center; }
.hire-head h3 { font-size: 22px; }
.hire-desc { color: var(--text-muted); margin-bottom: 16px; }
.hire-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.hire-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.hire-list svg { color: var(--accent); flex: none; margin-top: 3px; }
.hire-note { color: var(--text-muted); font-size: 14px; font-style: italic; margin-bottom: 16px; }

/* ---- Trust list (about-inner) ---- */
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-content: start; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.trust-list svg { color: var(--accent); flex: none; margin-top: 4px; }

/* ---- Other-tech tabs ---- */
.tech-tabs { max-width: 960px; margin: 0 auto; }
.tech-tabbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tech-tab { font-family: var(--font-mono); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 9px 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--t); }
.tech-tab:hover { color: var(--text); border-color: var(--text-muted); }
.tech-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tech-panel { display: none; }
.tech-panel.active { display: block; animation: fadeIn 0.3s ease; }
.center-chips { justify-content: center; }

/* ---- Still-not-sure strip (AI mascot floats above the box) ---- */
.still-strip { position: relative; overflow: visible; padding: 24px 230px 24px 40px; min-height: 96px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.still-content h2 { font-size: clamp(19px, 2.4vw, 27px); max-width: 560px; line-height: 1.14; margin-bottom: 16px; }
/* Mascot sits over the right edge — bottom anchored to the box, top pokes above it */
.still-mascot { position: absolute; right: 44px; bottom: 0; width: 300px; text-align: center; pointer-events: none; }
.still-mascot img { display: block; height: 210px; width: auto; margin: 0 auto; background: transparent; animation: float-bob 4.5s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(20, 35, 58, 0.3)); }
@keyframes float-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- SPA transition ---- */
#app-main { animation: fadeIn 0.4s ease; }
.is-navigating #app-main { opacity: 0.5; transition: opacity 0.15s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Signature details: scrollbar, selection, focus ---- */
::selection { background: var(--brand-orange); color: #14233a; }
* { scrollbar-width: thin; scrollbar-color: var(--brand-navy-2) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand-navy-2), var(--brand-orange)); border-radius: 8px; border: 2px solid var(--bg-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- Sticky header elevation once scrolled ---- */
.site-header.scrolled .navbar { box-shadow: 0 10px 30px rgba(10, 22, 40, 0.12); }
html[data-theme="dark"] .site-header.scrolled .navbar { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.site-header.scrolled .topbar { display: none; }

/* ---- Scroll-reveal (elements get .rv from JS, .rv-in when visible) ---- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.22,.8,.36,1); transition-delay: var(--rv-delay, 0ms); will-change: opacity, transform; }
.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .rv { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .stats-strip-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hire-grid { grid-template-columns: 1fr; }
    .trust-list { grid-template-columns: 1fr; }
    .cs-tabs { grid-template-columns: 1fr; }
    .cs-tablist { flex-direction: row; flex-wrap: wrap; }
    .cs-tab { width: auto; }
    .cs-tab:hover { transform: none; }
    .cs-panel.active { grid-template-columns: 1fr; }
    .cs-visual { display: none; }
    .fcards { grid-template-columns: repeat(2, 1fr); }
    .fsplit-row, .fsplit-row:nth-child(even) { grid-template-columns: 1fr; }
    .fsplit-visual, .fsplit-row:nth-child(even) .fsplit-visual { order: -1; aspect-ratio: 16 / 6; }
}
@media (max-width: 760px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-menu {
        position: fixed; top: 0; bottom: 0; right: 0; left: auto;
        width: 100vw; max-width: 100vw; height: 100vh;
        background: var(--surface); flex-direction: column; align-items: stretch; gap: 6px;
        padding: 100px 20px 30px; margin: 0; border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: scale(0.98);
        transform-origin: top right; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto; overflow-x: hidden; z-index: 200;
    }
    .nav-menu.open { opacity: 1; visibility: visible; transform: scale(1); }
    .nav-close { display: none; }
    html.nav-open { overflow: hidden; }
    .mega-menu { position: static; transform: none; width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 6px 0 6px 14px; opacity: 1; visibility: visible; display: none; }
    .mega-menu.mega-sm { width: auto; max-width: 100%; }
    .nav-item.has-dropdown.open .mega-menu { display: grid; margin: 0 0 0 150px; }
    .nav-actions { margin-left: 0; margin-top: 12px; flex-wrap: wrap; }
    .nav-close {
        display: grid; place-items: center;
        position: absolute; top: 18px; left: 18px;
        width: 42px; height: 42px; border-radius: 12px;
        border: 1px solid var(--border); background: var(--surface-2);
        color: var(--text); cursor: pointer; z-index: 210;
        transition: transform var(--t), background var(--t), border-color var(--t);
    }
    .nav-close:hover { transform: translateY(-1px); border-color: var(--primary); }
    .topbar { display: none; }
    .section { padding: 56px 0; }
    .cta-strip { padding: 32px; }
    .cta-strip.has-media { grid-template-columns: 1fr; gap: 22px; }
    .cta-media { order: -1; }
    .cta-media img { max-height: 180px; margin: 0 auto; }
    .cta-strip .btn { width: 100%; }
    .hero-points { grid-template-columns: 1fr; }
    .hero-home { padding: 64px 0 56px; }
    .hero-inner { padding: 48px 0 40px; }
    .marquee-track { padding: 11px 0; }
    .marquee-item { font-size: 12px; gap: 26px; padding-left: 26px; }
    .still-strip { padding: 120px 24px 26px; border-left-width: 3px; text-align: center; min-height: 0; }
    .still-content h2 { margin-left: auto; margin-right: auto; }
    .still-mascot { right: 50%; bottom: auto; top: -54px; transform: translateX(50%); width: 150px; }
    .still-mascot img { height: 150px; }
    .still-strip .btn { width: 100%; white-space: normal; text-align: center; }
    .lead-form { padding: 22px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .map-wrap iframe { height: 300px; }
    .tech-row, .tech-row:has(.tech-marquee) { flex-direction: column; align-items: flex-start; gap: 12px; }
    .tech-cat { min-width: 0; }
    .tech-marquee { width: 100%; }
}
@media (max-width: 520px) {
    .grid-3, .grid-4, .stats-strip, .stats-strip-4, .footer-grid { grid-template-columns: 1fr; }
    .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px; }
    .stat:first-child { border-top: none; }
    .tech-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .tech-cat { min-width: 0; }
    .tech-marquee { width: 100%; }
    .cs-points, .fpoints { grid-template-columns: 1fr; }
    .cs-panel.active { padding: 24px 20px; }
    .cs-tab { flex: 1 1 100%; }
    .fcards { grid-template-columns: 1fr; }
    .fsplit-row, .cta-strip { border-radius: var(--radius); }
    .fstep { padding-left: 64px; }
    .fstep-num { width: 46px; height: 46px; font-size: 15px; }
    .ftimeline::before { left: 22px; }
    .hero-actions .btn { width: 100%; }
    .hero-title { font-size: clamp(30px, 9vw, 38px); }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .container { padding: 0 18px; }
}

/* ==========================================================================
   Animated two-column home hero
   ========================================================================== */
.hero-home { padding: 84px 0 78px; text-align: left; overflow: hidden; }
.hero-home::before, .hero-home::after { display: none; } /* drop old centered rings/orb */
.hero-home-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; min-height: 520px; }
.hero-home-copy { max-width: 640px; }
.hero-home .hero-title { font-size: clamp(34px, 5vw, 60px); }
.hero-home .hero-lead { margin: 0 0 28px; max-width: 600px; }
.hero-home .hero-chips { justify-content: flex-start; }
.hero-home .hero-actions { justify-content: flex-start; }

/* Animated aurora blobs */
.hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero-aurora span:nth-child(1) { width: 440px; height: 440px; background: rgba(27, 64, 121, 0.45); top: -130px; left: -70px; animation: aurora-1 22s ease-in-out infinite; }
.hero-aurora span:nth-child(2) { width: 380px; height: 380px; background: rgba(240, 138, 34, 0.40); bottom: -140px; right: 6%; animation: aurora-2 27s ease-in-out infinite; }
.hero-aurora span:nth-child(3) { width: 320px; height: 320px; background: rgba(63, 134, 214, 0.32); top: 26%; right: 34%; animation: aurora-3 31s ease-in-out infinite; }
@keyframes aurora-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.15); } }
@keyframes aurora-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-55px,-30px) scale(1.12); } }
@keyframes aurora-3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(35px,-45px) scale(1.2); } }

/* Rising particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particles i { position: absolute; bottom: -12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; animation: particle-rise 13s linear infinite; }
.hero-particles i:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles i:nth-child(2) { left: 26%; width: 6px; background: var(--brand-navy-2); animation-delay: 2.5s; animation-duration: 16s; }
.hero-particles i:nth-child(3) { left: 44%; animation-delay: 5s; animation-duration: 11s; }
.hero-particles i:nth-child(4) { left: 62%; width: 5px; background: var(--brand-navy-2); animation-delay: 1.5s; animation-duration: 15s; }
.hero-particles i:nth-child(5) { left: 78%; animation-delay: 4s; animation-duration: 12s; }
.hero-particles i:nth-child(6) { left: 90%; width: 6px; animation-delay: 6.5s; animation-duration: 17s; }
@keyframes particle-rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 0.6; } 88% { opacity: 0.5; } 100% { transform: translateY(-540px) scale(0.4); opacity: 0; } }

/* Orbit stage */
.hero-stage { position: relative; height: 460px; }
.orbit { position: absolute; top: 50%; left: 50%; width: 420px; height: 420px; max-width: 100%; transform: translate(-50%, -50%); }
.orbit-ring { position: absolute; top: 50%; left: 50%; border: 1px dashed var(--border); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-ring-1 { width: 165px; height: 165px; animation: orbit-spin 26s linear infinite; }
.orbit-ring-2 { width: 285px; height: 285px; border-color: rgba(240, 138, 34, 0.28); animation: orbit-spin 40s linear infinite reverse; }
.orbit-ring-3 { width: 410px; height: 410px; animation: orbit-spin 60s linear infinite; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffdcaa, var(--brand-orange) 55%, #d9740f); display: grid; place-items: center; color: #fff; box-shadow: 0 0 50px 8px rgba(240, 138, 34, 0.5); animation: core-pulse 4.5s ease-in-out infinite; z-index: 2; }
.hero-core svg { width: 44px; height: 44px; }
@keyframes core-pulse { 0%,100% { box-shadow: 0 0 40px 6px rgba(240,138,34,0.42); } 50% { box-shadow: 0 0 75px 16px rgba(240,138,34,0.68); } }

.sat { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; animation: float-bob 5.5s ease-in-out infinite; z-index: 3; }
.sat .tech-ico { box-shadow: none; width: 30px; height: 30px; }
.sat-1 { top: -4%; left: 44%; }
.sat-2 { top: 28%; right: -4%; animation-delay: 0.7s; }
.sat-3 { bottom: 2%; right: 16%; animation-delay: 1.4s; }
.sat-4 { bottom: 6%; left: 4%; animation-delay: 2.1s; }
.sat-5 { top: 24%; left: -4%; animation-delay: 2.8s; }

/* Floating glass info cards */
.hero-fcard { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); animation: float-bob 6.5s ease-in-out infinite; }
.hero-fcard .fcd-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.hero-fcard b { display: block; font-family: var(--font-head); font-size: 14px; line-height: 1.1; }
.hero-fcard small { color: var(--text-muted); font-size: 12px; }
.hero-fcard-1 { top: 2%; right: -3%; }
.hero-fcard-2 { bottom: 6%; left: -5%; animation-delay: 1.1s; }
.hero-fcard-3 { top: 47%; right: -6%; animation-delay: 2.2s; }
.hero-fcard-3 .fcd-ic { background: var(--accent-soft); color: var(--accent); }

@media (max-width: 980px) {
    .hero-home-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-stage { display: none; }
    .hero-home { padding: 70px 0 60px; }
}

/* ==========================================================================
   Enhancements: transitions, tilt/glow, active nav, FABs, cookie, testimonials, process
   ========================================================================== */

/* SPA page transition */
.page-enter { animation: pageEnter 0.45s cubic-bezier(.22, .8, .36, 1); }
@keyframes pageEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.is-navigating #app-main { opacity: 0.45; transform: translateY(-6px); transition: opacity 0.15s ease, transform 0.15s ease; }

/* Active nav link */
.nav-link.active { color: var(--accent); background: var(--accent-soft); }
.nav-link.dropdown-trigger.active { color: var(--accent); }
.mega-link.active { color: var(--accent); background: var(--accent-soft); }

/* Card 3D tilt + cursor glow (applied uniformly to every box) */
.tilt { position: relative; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.tilt.glow::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 138, 34, 0.16), transparent 60%);
}
.tilt.glow:hover::after { opacity: 1; }

/* Floating action buttons */
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 50px; height: 50px; border-radius: 50%; border: none; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); color: #fff; transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease; }
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-wa { background: #25D366; }
.fab-call { background: var(--gradient); }
.fab-top { background: var(--ink); opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }
html[data-theme="dark"] .fab-top { background: var(--surface-2); border: 1px solid var(--border); }

/* Cookie banner */
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 130; max-width: 580px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; transform: translateY(180%); opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; }
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 13px; color: var(--text-muted); flex: 1; min-width: 220px; margin: 0; }
.cookie-actions { display: flex; gap: 10px; }

/* Testimonials */
.tm-card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tm-stars { display: inline-flex; gap: 3px; }
.tm-stars .icon { fill: var(--accent); stroke: var(--accent); width: 18px; height: 18px; }
.tm-card blockquote { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0; }
.tm-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tm-avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--gradient); }
.tm-meta b { display: block; font-family: var(--font-head); font-size: 15px; }
.tm-meta small { color: var(--text-muted); font-size: 13px; }

/* Technology / partner logo marquee */
.logo-marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; gap: 18px; align-items: center; animation: logo-scroll 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; }
.logo-item .tech-ico { width: 40px; height: 40px; box-shadow: none; padding: 0; background: transparent; }
.logo-item .tech-ico img { width: 34px; height: 34px; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }

/* Process / How We Work */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 50px; left: 13%; right: 13%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.process-num { position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--text-muted); opacity: 0.5; }
.process-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; background: var(--gradient); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.process-step:nth-child(2) .process-icon { background: var(--gradient-accent); }
.process-step:nth-child(3) .process-icon { background: var(--ink); }
.process-step:nth-child(4) .process-icon { background: var(--gradient-accent); }
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 14px; }

/* Compact header dropdown (Our Work) */
.mega-menu.mega-sm { width: 280px; grid-template-columns: 1fr; }
.footer-subhead { margin-top: 18px; }

/* Project / product showcase pages */
.hero-actions-mt { margin-top: 24px; }
.project-visual { display: flex; align-items: center; }
.mockup { width: 100%; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.mockup-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-body { aspect-ratio: 16 / 10; background: var(--gradient); display: grid; place-items: center; position: relative; }
.mockup-body::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 32px 32px; }
.mockup-body svg { width: 96px; height: 96px; color: #fff; opacity: 0.95; position: relative; }

/* Screenshot gallery (placeholders) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform var(--t), box-shadow var(--t); }
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shot-img { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; background: var(--gradient); }
.shot:nth-child(3n+2) .shot-img { background: var(--gradient-accent); }
.shot:nth-child(3n) .shot-img { background: var(--ink); }
.shot-img svg { width: 54px; height: 54px; opacity: 0.92; }
.shot-cap { padding: 14px 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }

/* Module chips */
.module-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.module-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 14px; }
.module-chip svg { color: var(--accent); width: 15px; height: 15px; }

@media (max-width: 980px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Medical CRM dedicated page
   ========================================================================== */
.hero-subtitle { font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2vw, 20px); color: var(--text); margin-bottom: 12px; }
.hero-illustration { width: 100%; height: auto; display: block; filter: drop-shadow(0 28px 46px rgba(20, 35, 58, 0.28)); }

/* Overview stat cards (animated counters) */
.statcard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.statcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.statcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.statcard-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.statcard .stat-num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1; color: var(--accent); background: none; -webkit-text-fill-color: currentColor; }
.statcard-label { color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* Digital prescription workflow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step { position: relative; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 26px 18px; text-align: center; }
.flow-step::after { content: ""; position: absolute; top: 50%; right: -11px; width: 16px; height: 16px; border-top: 2px solid var(--brand-orange-2); border-right: 2px solid var(--brand-orange-2); transform: translateY(-50%) rotate(45deg); z-index: 2; }
.flow-step:last-child::after { display: none; }
.flow-num { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.flow-ico { width: 56px; height: 56px; margin: 8px auto 14px; border-radius: 15px; background: var(--gradient-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(240, 138, 34, 0.3); }
.flow-step h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.flow-step p { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* Modules */
.module-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.module-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.module-card h3 { font-size: 17px; margin-bottom: 5px; }
.module-card p { color: var(--text-muted); font-size: 14px; }

/* Benefits */
.benefit-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 28px; transition: transform var(--t), box-shadow var(--t); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.benefit-ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--gradient); color: #fff; display: grid; place-items: center; }
.benefit-card h3 { font-size: 19px; }
.benefit-card ul { display: flex; flex-direction: column; gap: 10px; }
.benefit-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 500; }
.benefit-card li svg { color: var(--accent); flex: none; margin-top: 3px; }

/* CTA: two actions + light ghost button */
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; position: relative; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light::before { background: #fff; }
.btn-ghost-light:hover { color: var(--ink); border-color: #fff; }

@media (max-width: 980px) {
    .flow { grid-template-columns: repeat(2, 1fr); }
    .flow-step::after { display: none; }
}
@media (max-width: 520px) {
    .statcard-grid { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ERP page extras: hero floating cards, business pipeline, chart cards
   ========================================================================== */
.proj-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); animation: float-bob 6s ease-in-out infinite; }
.proj-float .fcd-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--gradient-accent); color: #fff; }
.proj-float b { display: block; font-family: var(--font-head); font-size: 14px; line-height: 1.1; }
.proj-float small { color: var(--text-muted); font-size: 12px; }
.proj-float-1 { top: 4%; left: -4%; }
.proj-float-2 { bottom: 8%; right: -3%; animation-delay: 1.2s; }

/* Business process pipeline */
.pipeline { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pipeline-step { position: relative; flex: 1 1 150px; max-width: 190px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 14px; text-align: center; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.pipeline-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.pipeline-num { position: absolute; top: 8px; right: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); opacity: 0.5; }
.pipeline-ico { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.pipeline-step:nth-child(even) .pipeline-ico { background: var(--accent-soft); color: var(--accent); }
.pipeline-step h4 { font-size: 13.5px; line-height: 1.25; }
.pipeline-step::after { content: ""; position: absolute; right: -12px; top: 50%; width: 13px; height: 13px; border-top: 2px solid var(--brand-orange); border-right: 2px solid var(--brand-orange); transform: translateY(-50%) rotate(45deg); }
.pipeline-step:last-child::after { display: none; }

/* Chart placeholder cards */
.chartcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.chartcard h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.chartcard h4 svg { color: var(--accent); }
.chartbars { display: flex; align-items: flex-end; gap: 9px; height: 120px; }
.chartbars span { flex: 1; min-height: 6px; border-radius: 6px 6px 0 0; background: var(--gradient); }
.chartbars span:nth-child(even) { background: var(--gradient-accent); }

@media (max-width: 980px) {
    .proj-float { display: none; }
}
@media (max-width: 760px) {
    .pipeline-step::after { display: none; }
}
@media (max-width: 520px) {
    .process-grid { grid-template-columns: 1fr; }
    .floating-actions { right: 12px; bottom: 12px; }
    .fab { width: 46px; height: 46px; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
}
