/* ==========================================================================
   DopHub Technologies — Design System
   Self-contained stylesheet. Does not depend on Bootstrap or the Onix theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --ink: #071627;
    --ink-2: #0f2740;
    --ink-3: #1d3a56;
    --heading: #0a1c30;
    --body: #4d6076;
    --muted: #7a8ba0;

    --primary: #00a870;
    --primary-600: #008d5e;
    --primary-700: #00714b;
    --primary-050: #e8f7f1;
    --primary-100: #cdeee2;

    --accent: #2f6bff;
    --accent-050: #eaf0ff;

    --amber: #f3a712;
    --amber-050: #fdf3e0;

    --line: #e4eaf1;
    --line-soft: #eef2f7;
    --surface: #ffffff;
    --surface-soft: #f6f9fb;
    --surface-tint: #f2f7f5;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-xs: 0 1px 2px rgba(7, 22, 39, .06);
    --shadow-sm: 0 2px 8px rgba(7, 22, 39, .06);
    --shadow: 0 12px 32px -12px rgba(7, 22, 39, .16);
    --shadow-lg: 0 32px 64px -24px rgba(7, 22, 39, .28);

    --font-head: "Plus Jakarta Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --gutter: 24px;
    --section-y: clamp(64px, 7.5vw, 112px);
    --header-h: 76px;

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--heading);
    margin: 0 0 .6em;
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color .2s var(--ease);
}
a:hover { color: var(--primary-700); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

button { font-family: inherit; }

/* Inline icons default to a sane size; component rules override. */
svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow { max-width: 900px; }

.section {
    padding: var(--section-y) 0;
    position: relative;
}

.section--tight { padding: clamp(48px, 5vw, 72px) 0; }

.section--soft { background: var(--surface-soft); }

.section--tint {
    background: linear-gradient(180deg, #f4faf8 0%, #ffffff 100%);
}

.section--dark {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }

.justify-center { justify-content: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-600);
    background: var(--primary-050);
    border: 1px solid var(--primary-100);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow--light {
    color: #7ff0c4;
    background: rgba(0, 168, 112, .14);
    border-color: rgba(0, 168, 112, .35);
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head.text-center { margin-left: auto; margin-right: auto; }

.section-head p {
    font-size: 1.06rem;
    color: var(--body);
    margin-bottom: 0;
}

.section--dark .section-head p { color: rgba(255, 255, 255, .68); }

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
}
.section-head--split > div:first-child { max-width: 660px; }

.lede {
    font-size: 1.1rem;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    padding: 14px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .22s var(--ease);
    white-space: nowrap;
    line-height: 1.2;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(0, 168, 112, .7);
}
.btn-primary:hover {
    background: var(--primary-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(0, 168, 112, .75);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: var(--ink-2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--heading);
    border-color: var(--line);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-600);
    background: var(--primary-050);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .93rem;
    color: var(--primary-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Topbar
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .74);
    font-size: .82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.topbar-note .pill {
    background: var(--primary);
    color: #fff;
    font-family: var(--font-head);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
}

.topbar-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-note a:hover { color: #7ff0c4; }

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 22px;
}
.topbar-contact a,
.topbar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .74);
}
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; opacity: .8; }

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}

.site-header.is-stuck {
    box-shadow: 0 6px 24px -14px rgba(7, 22, 39, .35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img,
.brand-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.footer-brand .brand {
    display: inline-block;
    margin-bottom: 6px;
}
.footer-brand .brand-logo {
    height: 56px;
    max-width: 220px;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary) 0%, #0d7d8c 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.03em;
}
.brand-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.16rem;
    color: var(--heading);
    letter-spacing: -.035em;
    line-height: 1;
}
.brand-text small {
    display: block;
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: var(--font-head);
    font-size: .93rem;
    font-weight: 600;
    color: var(--heading);
    padding: 9px 13px;
    border-radius: 8px;
    transition: all .18s var(--ease);
}

.nav-list > li > a:hover,
.nav-list > li.is-active > a {
    color: var(--primary-600);
    background: var(--primary-050);
}

.nav-list .nav-badge {
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* The in-drawer CTA only exists for the mobile menu. */
.primary-nav .header-actions { display: none; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all .25s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -6px; left: 50%; }
.nav-toggle span::after { content: ""; top: 6px; left: 50%; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 22, 39, .5);
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
    z-index: 890;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: radial-gradient(1100px 600px at 82% 10%, rgba(0, 168, 112, .22) 0%, transparent 60%),
                radial-gradient(900px 520px at 8% 88%, rgba(47, 107, 255, .18) 0%, transparent 62%),
                linear-gradient(155deg, #061426 0%, #0a2440 52%, #07253a 100%);
    color: rgba(255, 255, 255, .74);
    overflow: hidden;
    padding: clamp(56px, 6.5vw, 92px) 0 clamp(64px, 7vw, 104px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
    pointer-events: none;
}

.hero > .container { position: relative; z-index: 2; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.hero h1 {
    color: #fff;
    margin-bottom: 22px;
}

.hero h1 .accent {
    background: linear-gradient(100deg, #2ee6a8 0%, #4fd1c5 55%, #66b3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.12rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-cta { margin-bottom: 34px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
}
.hero-points svg { width: 17px; height: 17px; color: #2ee6a8; }

/* Hero product mockup ---------------------------------------------------- */
.hero-visual {
    position: relative;
    perspective: 1600px;
}

.mock {
    background: rgba(255, 255, 255, .97);
    border-radius: var(--radius-lg);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
    overflow: hidden;
    transform: rotateY(-7deg) rotateX(3deg);
    transition: transform .6s var(--ease);
}
.hero-visual:hover .mock { transform: rotateY(-3deg) rotateX(1deg); }

.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f4f7fa;
    border-bottom: 1px solid var(--line);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dee7; }
.mock-dot:first-child { background: #ff6058; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #29c840; }
.mock-url {
    margin-left: 10px;
    font-size: .72rem;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 12px;
    font-family: var(--font-body);
}

.mock-body { padding: 20px; background: #fbfcfe; }

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mock-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--heading);
}
.mock-chip {
    font-size: .68rem;
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-050);
    border: 1px solid var(--primary-100);
    padding: 3px 10px;
    border-radius: 999px;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mock-kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
}
.mock-kpi .label {
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 5px;
}
.mock-kpi .value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--heading);
    letter-spacing: -.03em;
}
.mock-kpi .delta {
    font-size: .66rem;
    font-weight: 600;
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}
.mock-kpi .delta.down { color: #e2574c; }
.mock-kpi .delta svg { width: 12px; height: 12px; }

.mock-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.mock-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.mock-panel-head .t {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    color: var(--heading);
}
.mock-panel-head .s { font-size: .68rem; color: var(--muted); }

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 96px;
}
.mock-chart .bar {
    flex: 1;
    border-radius: 5px 5px 3px 3px;
    background: linear-gradient(180deg, #cfeee1 0%, #e9f7f1 100%);
    position: relative;
    animation: barRise .9s var(--ease) backwards;
}
.mock-chart .bar.hi {
    background: linear-gradient(180deg, var(--primary) 0%, #17c48a 100%);
}
.mock-chart .bar:nth-child(1) { animation-delay: .05s; }
.mock-chart .bar:nth-child(2) { animation-delay: .12s; }
.mock-chart .bar:nth-child(3) { animation-delay: .19s; }
.mock-chart .bar:nth-child(4) { animation-delay: .26s; }
.mock-chart .bar:nth-child(5) { animation-delay: .33s; }
.mock-chart .bar:nth-child(6) { animation-delay: .40s; }
.mock-chart .bar:nth-child(7) { animation-delay: .47s; }
.mock-chart .bar:nth-child(8) { animation-delay: .54s; }

@keyframes barRise {
    from { transform: scaleY(.05); opacity: 0; transform-origin: bottom; }
    to { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
}

.mock-branches { margin-top: 14px; display: grid; gap: 8px; }
.mock-branch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    color: var(--body);
}
.mock-branch .name { flex: 0 0 84px; font-weight: 600; color: var(--heading); }
.mock-branch .track {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: #eef2f7;
    overflow: hidden;
}
.mock-branch .fill {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary) 0%, #3fd6a2 100%);
}
.mock-branch .val { flex: 0 0 42px; text-align: right; font-weight: 600; font-size: .68rem; }

/* Floating cards */
.float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    z-index: 3;
    animation: floaty 5s ease-in-out infinite;
}
.float-card .ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--primary-050);
    color: var(--primary-600);
}
.float-card .ic svg { width: 17px; height: 17px; }
.float-card .k {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
}
.float-card .v { font-size: .68rem; color: var(--muted); }

.float-card--pos { left: -26px; top: 16%; animation-delay: .3s; }
.float-card--stock { right: -22px; bottom: 12%; animation-delay: 1.4s; }
.float-card--stock .ic { background: var(--accent-050); color: var(--accent); }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* --------------------------------------------------------------------------
   9. Marquee / trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--ink-2);
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 20px 0;
}
.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 40px;
}
.trust-inner .label {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
}
.trust-inner .item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
}
.trust-inner .item svg { width: 18px; height: 18px; color: #2ee6a8; }

/* --------------------------------------------------------------------------
   10. Stats band
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat {
    background: #fff;
    padding: 30px 26px;
    text-align: center;
}
.stat .num {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--heading);
    line-height: 1;
    margin-bottom: 8px;
}
.stat .num .suffix { color: var(--primary); }
.stat .lbl {
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
}

.section--dark .stats { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section--dark .stat { background: var(--ink); }
.section--dark .stat .num { color: #fff; }
.section--dark .stat .lbl { color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .28s var(--ease);
    height: 100%;
}
.card:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: .93rem; margin-bottom: 0; }

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--primary-050);
    color: var(--primary-600);
    margin-bottom: 18px;
    transition: all .28s var(--ease);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.06);
}

/* Module card (ERP) */
.module-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    height: 100%;
    overflow: hidden;
    transition: all .28s var(--ease);
}
.module-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #4fd1c5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.module-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary-100);
}
.module-card:hover::before { transform: scaleX(1); }

.module-card .mc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-050), #e9f4ff);
    color: var(--primary-600);
    margin-bottom: 16px;
}
.module-card .mc-icon svg { width: 22px; height: 22px; }

.module-card h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
}
.module-card p {
    font-size: .89rem;
    line-height: 1.62;
    margin: 0;
    color: var(--body);
}

/* Reason card (used on dark sections) */
.reason-card {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    padding: 28px;
    height: 100%;
    transition: all .28s var(--ease);
}
.reason-card:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(0, 168, 112, .4);
    transform: translateY(-4px);
}
.reason-card .ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 168, 112, .16);
    color: #2ee6a8;
    margin-bottom: 18px;
}
.reason-card .ic svg { width: 23px; height: 23px; }
.reason-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.reason-card p { font-size: .92rem; color: rgba(255, 255, 255, .66); margin: 0; }

/* Feature list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .93rem;
    line-height: 1.6;
}
.check-list li > svg,
.check-list li > .ck {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-050);
    color: var(--primary-600);
    display: grid;
    place-items: center;
    margin-top: 3px;
}
.check-list li .ck svg { width: 12px; height: 12px; }

.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 24px; }

.section--dark .check-list li { color: rgba(255, 255, 255, .74); }
.section--dark .check-list li .ck { background: rgba(0, 168, 112, .2); color: #2ee6a8; }

/* --------------------------------------------------------------------------
   12. ERP module explorer (tabs)
   -------------------------------------------------------------------------- */
.explorer {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.explorer-tabs {
    display: grid;
    gap: 6px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.explorer-tab {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 13px 15px;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .93rem;
    color: var(--heading);
    transition: all .2s var(--ease);
}
.explorer-tab .ti {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #eef2f7;
    color: var(--body);
    transition: all .2s var(--ease);
}
.explorer-tab .ti svg { width: 17px; height: 17px; }
.explorer-tab:hover { background: #fff; border-color: var(--line); }
.explorer-tab.is-active {
    background: #fff;
    border-color: var(--primary-100);
    box-shadow: var(--shadow-sm);
    color: var(--primary-700);
}
.explorer-tab.is-active .ti { background: var(--primary); color: #fff; }

.explorer-panels {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 38px);
    box-shadow: var(--shadow-sm);
    min-height: 420px;
}

.explorer-panel { display: none; }
.explorer-panel.is-active {
    display: block;
    animation: fadeUp .45s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.explorer-panel .ep-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}
.explorer-panel .ep-head .ic {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--primary-050);
    color: var(--primary-600);
    flex-shrink: 0;
}
.explorer-panel .ep-head .ic svg { width: 23px; height: 23px; }
.explorer-panel .ep-head h3 { margin-bottom: 4px; font-size: 1.32rem; }
.explorer-panel .ep-head p { font-size: .95rem; margin: 0; }

.ep-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.ep-foot {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.ep-tag {
    font-size: .74rem;
    font-weight: 600;
    color: var(--body);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
}

/* --------------------------------------------------------------------------
   13. Split feature blocks
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.split-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Branch/godown diagram */
.branch-map {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.branch-hub {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--ink) 0%, #123a55 100%);
    color: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 8px;
}
.branch-hub .ic {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    display: grid; place-items: center;
}
.branch-hub .ic svg { width: 19px; height: 19px; }
.branch-hub .t { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.branch-hub .s { font-size: .74rem; color: rgba(255, 255, 255, .6); }

.branch-connector {
    height: 22px;
    margin-left: 36px;
    border-left: 2px dashed var(--line);
}

.branch-nodes { display: grid; gap: 8px; }
.branch-node {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px 15px;
    background: #fff;
    transition: all .25s var(--ease);
}
.branch-node:hover { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.branch-node .ic {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--primary-050); color: var(--primary-600);
    display: grid; place-items: center;
}
.branch-node .ic svg { width: 17px; height: 17px; }
.branch-node .t { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--heading); }
.branch-node .s { font-size: .73rem; color: var(--muted); }
.branch-node .badge {
    margin-left: auto;
    font-size: .66rem;
    font-weight: 700;
    color: var(--primary-600);
    background: var(--primary-050);
    padding: 3px 9px;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   14. Plans
   -------------------------------------------------------------------------- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all .3s var(--ease);
}
.plan:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--primary-100);
}

.plan--featured {
    border-color: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(140deg, var(--primary) 0%, #35c9d4 55%, #4a86ff 100%) border-box;
    border: 2px solid transparent;
    box-shadow: 0 28px 60px -30px rgba(0, 168, 112, .55);
    transform: translateY(-8px);
}
.plan--featured:hover { transform: translateY(-12px); }

.plan-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(100deg, var(--primary) 0%, #2fb0c9 100%);
    color: #fff;
    font-family: var(--font-head);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 18px -8px rgba(0, 168, 112, .8);
}

.plan-tier {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.plan-tier .n {
    width: 24px; height: 24px;
    border-radius: 7px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--heading);
    display: grid; place-items: center;
    font-size: .74rem;
    letter-spacing: 0;
}
.plan--featured .plan-tier { color: var(--primary-600); }
.plan--featured .plan-tier .n { background: var(--primary); border-color: var(--primary); color: #fff; }

.plan h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: -.03em;
}

.plan-for {
    font-size: .9rem;
    color: var(--body);
    margin-bottom: 20px;
    min-height: 48px;
}

.plan-quote {
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 22px;
}
.plan--featured .plan-quote {
    background: var(--primary-050);
    border-color: var(--primary-100);
}
.plan-quote .q {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--heading);
    letter-spacing: -.02em;
    display: block;
}
.plan-quote .n {
    font-size: .78rem;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.plan-includes {
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.plan .check-list { margin-bottom: 26px; }
.plan .check-list li { font-size: .9rem; }

.plan-cta { margin-top: auto; }

.plan-note {
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
    margin-top: 12px;
}

.plans-footnote {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 28px;
    font-size: .875rem;
    color: var(--body);
}
.plans-footnote span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.plans-footnote svg { width: 17px; height: 17px; color: var(--primary); }

/* Comparison table */
.compare-wrap {
    margin-top: clamp(48px, 5vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
}

.compare-scroll { overflow-x: auto; }

table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
table.compare th,
table.compare td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    font-size: .9rem;
}
table.compare thead th {
    background: var(--surface-soft);
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--heading);
    font-size: .88rem;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--line);
}
table.compare thead th span {
    display: block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}
table.compare thead th.is-featured { background: var(--primary-050); }
table.compare thead th.is-featured span { color: var(--primary-600); }
table.compare td:not(:first-child),
table.compare th:not(:first-child) { text-align: center; width: 16%; }
table.compare tbody td:first-child { font-weight: 500; color: var(--heading); }
table.compare tbody tr:hover td { background: #fbfdfe; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .group td {
    background: var(--surface-soft);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 11px 20px;
}
table.compare .yes {
    display: inline-grid;
    place-items: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-050);
    color: var(--primary-600);
}
table.compare .yes svg { width: 13px; height: 13px; }
table.compare .no { color: #cbd5e0; font-size: 1.1rem; line-height: 1; }
table.compare .txt { font-size: .82rem; font-weight: 600; color: var(--heading); }

/* --------------------------------------------------------------------------
   15. Process timeline
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    transition: all .28s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-100); }
.step .n {
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--primary-600);
    background: var(--primary-050);
    border-radius: 999px;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .9rem; margin: 0; }

/* --------------------------------------------------------------------------
   16. Industries
   -------------------------------------------------------------------------- */
.industries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.industry {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    transition: all .25s var(--ease);
}
.industry:hover {
    border-color: var(--primary);
    background: var(--primary-050);
    transform: translateY(-3px);
}
.industry .ic {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--surface-soft);
    color: var(--primary-600);
    display: grid; place-items: center;
    transition: all .25s var(--ease);
}
.industry:hover .ic { background: #fff; }
.industry .ic svg { width: 18px; height: 18px; }
.industry span {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
    color: var(--heading);
}

/* --------------------------------------------------------------------------
   17. Services (IT)
   -------------------------------------------------------------------------- */
.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    height: 100%;
    transition: all .28s var(--ease);
}
.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary-100);
}
.service-card .sc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all .28s var(--ease);
}
.service-card:hover .sc-icon { background: var(--primary-050); }
.service-card .sc-icon img { max-width: 30px; max-height: 30px; width: auto; }
.service-card .sc-icon svg { width: 26px; height: 26px; color: var(--primary-600); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { font-size: .91rem; margin: 0; }

.tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}
.tech-pill {
    font-family: var(--font-head);
    font-size: .84rem;
    font-weight: 600;
    color: var(--heading);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    transition: all .22s var(--ease);
}
.tech-pill:hover {
    border-color: var(--primary);
    color: var(--primary-600);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   18. Portfolio / work
   -------------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-btn {
    font-family: var(--font-head);
    font-size: .86rem;
    font-weight: 600;
    color: var(--body);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
    transition: all .22s var(--ease);
}
.filter-btn:hover { border-color: var(--primary-100); color: var(--primary-600); }
.filter-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.work-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 4 / 3;
    display: block;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.work-item.is-hidden { display: none; }
.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.work-item:hover img { transform: scale(1.06); opacity: .35; }

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, transparent 35%, rgba(7, 22, 39, .88) 100%);
    opacity: 1;
    transition: all .35s var(--ease);
}
.work-overlay .cat {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #2ee6a8;
    margin-bottom: 5px;
}
.work-overlay .t {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    color: #fff;
    line-height: 1.3;
}
.work-overlay .go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: all .3s var(--ease);
}
.work-item:hover .work-overlay .go { opacity: 1; transform: none; }
.work-overlay .go svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   19. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.testimonial-grid--1 { grid-template-columns: minmax(0, 680px); justify-content: center; }
.testimonial-grid--2 { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }

.testimonial {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: all .28s var(--ease);
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial .stars {
    display: flex;
    gap: 3px;
    color: var(--amber);
    margin-bottom: 16px;
}
.testimonial .stars svg { width: 16px; height: 16px; }
.testimonial .quote {
    font-size: .95rem;
    line-height: 1.72;
    color: var(--body);
    margin-bottom: 22px;
    flex: 1;
}
.testimonial .who {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.testimonial .who img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial .who .avatar-fallback {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--primary-050);
    color: var(--primary-600);
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
}
.testimonial .who .n {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--heading);
    line-height: 1.3;
}
.testimonial .who .r { font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   20. About
   -------------------------------------------------------------------------- */
.about-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.about-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: all .28s var(--ease);
}
.about-tile:nth-child(even) { transform: translateY(22px); }
.about-tile:hover { box-shadow: var(--shadow); border-color: var(--primary-100); }
.about-tile .ic {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--primary-050);
    color: var(--primary-600);
    display: grid; place-items: center;
    margin-bottom: 14px;
}
.about-tile .ic svg { width: 20px; height: 20px; }
.about-tile h4 { font-size: .98rem; margin-bottom: 6px; }
.about-tile p { font-size: .85rem; margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    position: relative;
    background: radial-gradient(800px 400px at 88% 12%, rgba(0, 168, 112, .3) 0%, transparent 62%),
                linear-gradient(140deg, #071628 0%, #0c2a44 100%);
    border-radius: var(--radius-xl);
    padding: clamp(38px, 5vw, 62px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 90% at 20% 50%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 20% 50%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 560px; margin: 0; }

/* --------------------------------------------------------------------------
   22. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 38px);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.form-field { display: flex; flex-direction: column; }
.form-field--full { grid-column: 1 / -1; }
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-field label {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 7px;
}
.form-field label .req { color: #e2574c; }

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-body);
    font-size: .93rem;
    color: var(--heading);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: all .2s var(--ease);
    appearance: none;
    -webkit-appearance: none;
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8ba0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 168, 112, .12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a9b6c4; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #e2574c; }
.form-field .err {
    font-size: .76rem;
    color: #e2574c;
    margin-top: 5px;
    display: none;
}
.form-field.has-error .err { display: block; }

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.form-foot .privacy { font-size: .8rem; color: var(--muted); max-width: 320px; margin: 0; }

.contact-side { display: grid; gap: 14px; }

.contact-tile {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: all .25s var(--ease);
}
.contact-tile:hover { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.contact-tile .ic {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--primary-050);
    color: var(--primary-600);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-tile .ic svg { width: 19px; height: 19px; }
.contact-tile .k {
    font-family: var(--font-head);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.contact-tile .v { font-size: .93rem; color: var(--heading); font-weight: 500; line-height: 1.55; }
.contact-tile .v + .v { margin-top: 7px; }
.contact-tile .v a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--heading);
}
.contact-tile .v a:hover { color: var(--primary-600); }
.contact-tile .v svg { width: 15px; height: 15px; color: var(--primary); }

.contact-promise {
    background: linear-gradient(140deg, var(--ink) 0%, #10324c 100%);
    border-radius: var(--radius);
    padding: 24px;
    color: rgba(255, 255, 255, .72);
}
.contact-promise h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.contact-promise .check-list li { font-size: .87rem; color: rgba(255, 255, 255, .74); }
.contact-promise .check-list li .ck { background: rgba(0, 168, 112, .22); color: #2ee6a8; }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .62);
    padding-top: clamp(56px, 6vw, 82px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .45); }
.footer-brand p {
    font-size: .9rem;
    line-height: 1.7;
    margin: 18px 0 22px;
    max-width: 340px;
    color: rgba(255, 255, 255, .6);
}

.footer-col h4 {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col ul a {
    font-size: .9rem;
    color: rgba(255, 255, 255, .62);
    transition: all .2s var(--ease);
    display: inline-block;
}
.footer-col ul a:hover { color: #fff; transform: translateX(3px); }

.footer-contact li {
    display: flex;
    gap: 11px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.6;
}
.footer-contact svg { width: 17px; height: 17px; color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255, 255, 255, .62); }
.footer-contact a:hover { color: #fff; }

.social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .7);
    transition: all .22s var(--ease);
}
.social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Office locations */
.footer-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 30px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.office {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: all .28s var(--ease);
}
.office:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(0, 168, 112, .38);
    transform: translateY(-3px);
}

.office .ic {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(0, 168, 112, .16);
    color: #2ee6a8;
    flex-shrink: 0;
}
.office .ic svg { width: 20px; height: 20px; }
.office--alt .ic { background: rgba(47, 107, 255, .18); color: #8ab4ff; }

.office-body { min-width: 0; }

.office-name {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    margin: 0 0 7px;
}

.office-address {
    font-size: .88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 10px;
}

.office-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}
.office-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
}
.office-contact a:hover { color: #fff; }
.office-contact svg { width: 15px; height: 15px; color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: rgba(255, 255, 255, .48);
}
.footer-bottom a { color: rgba(255, 255, 255, .62); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   24. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
    position: relative;
    background: radial-gradient(900px 460px at 78% 8%, rgba(0, 168, 112, .24) 0%, transparent 62%),
                linear-gradient(150deg, #061426 0%, #0a2440 100%);
    padding: clamp(52px, 6vw, 84px) 0;
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
}
.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 15%, transparent 75%);
}
.page-head > .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; max-width: 800px; }
.page-head p { max-width: 640px; font-size: 1.08rem; color: rgba(255, 255, 255, .74); }

.crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 18px;
}
.crumbs a { color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   25. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s var(--ease);
}
.faq-item.is-open { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: none;
    border: 0;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-head);
    font-weight: 650;
    font-size: 1rem;
    color: var(--heading);
}
.faq-q .sign {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--body);
    display: grid; place-items: center;
    flex-shrink: 0;
    transition: all .25s var(--ease);
}
.faq-q .sign svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.faq-item.is-open .faq-q .sign { background: var(--primary); color: #fff; }
.faq-item.is-open .faq-q .sign svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s var(--ease);
}
.faq-a p {
    padding: 0 24px 22px;
    font-size: .93rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   26. Toast (form feedback)
   -------------------------------------------------------------------------- */
.toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    max-width: 360px;
}
.toast {
    display: flex;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 15px 18px;
    box-shadow: var(--shadow-lg);
    animation: toastIn .35s var(--ease);
}
.toast.is-error { border-left-color: #e2574c; }
.toast .ic { color: var(--primary); flex-shrink: 0; }
.toast.is-error .ic { color: #e2574c; }
.toast .ic svg { width: 20px; height: 20px; }
.toast .t {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .92rem;
    color: var(--heading);
    margin-bottom: 2px;
}
.toast .m { font-size: .86rem; color: var(--body); line-height: 1.55; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to { opacity: 1; transform: none; }
}
@keyframes toastOut {
    to { opacity: 0; transform: translateX(24px); }
}

/* --------------------------------------------------------------------------
   27. Back to top
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s var(--ease);
    z-index: 800;
    box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   28. Reveal on scroll
   -------------------------------------------------------------------------- */
/* Scoped to .js so content is never hidden when scripting is unavailable. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
    will-change: opacity, transform;
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   29. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .explorer { grid-template-columns: 250px minmax(0, 1fr); }
    .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    :root { --header-h: 68px; }

    .brand-logo { height: 42px; max-width: 160px; }

    .topbar-contact { display: none; }

    .nav-toggle { display: block; }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 88vw);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 88px 24px 32px;
        overflow-y: auto;
        transform: translateX(102%);
        transition: transform .35s var(--ease);
        z-index: 895;
        box-shadow: -20px 0 60px -30px rgba(7, 22, 39, .6);
    }
    body.nav-open .primary-nav { transform: none; }

    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-list > li > a {
        padding: 13px 14px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .primary-nav .header-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--line-soft);
    }
    .primary-nav .header-actions .btn { width: 100%; }

    .header-actions--desktop { display: none; }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-sub { max-width: none; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .mock { transform: none; }
    .float-card--pos { left: -12px; }
    .float-card--stock { right: -12px; }

    .explorer { grid-template-columns: 1fr; }
    .explorer-tabs {
        position: static;
        grid-auto-flow: column;
        grid-auto-columns: minmax(180px, 1fr);
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }
    .explorer-tab { white-space: nowrap; }

    .split { grid-template-columns: 1fr; }
    .split--reverse .split-visual { order: -1; }

    .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .plan--featured { transform: none; }
    .plan--featured:hover { transform: translateY(-4px); }
    .plan-for { min-height: 0; }

    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .work-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .contact-grid { grid-template-columns: 1fr; }

    .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 767px) {
    body { font-size: 15.5px; }

    .topbar-note { font-size: .78rem; }
    .topbar-inner { justify-content: center; text-align: center; }

    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ep-grid { grid-template-columns: 1fr; }
    .check-list--2 { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: 1fr; }
    .about-tile:nth-child(even) { transform: none; }
    .float-card { display: none; }
    .footer-offices { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
    .form-grid { grid-template-columns: 1fr; }
    .toast-stack { left: 16px; right: 16px; max-width: none; bottom: 16px; }
    .to-top { right: 16px; bottom: 16px; }
    .trust-inner { gap: 12px 22px; }
}

@media (max-width: 575px) {
    :root { --gutter: 18px; }
    .grid-3, .grid-4, .steps, .work-grid, .testimonial-grid, .industries { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .mock-kpis { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .btn-group { flex-direction: column; align-items: stretch; }
    .hero-points { gap: 8px 16px; }
}

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

/* Print */
@media print {
    .site-header, .topbar, .site-footer, .to-top, .cta-band { display: none !important; }
}
