/* ═══════════════════════════════════════════════════════════════
   Motrive — Modern company profile stylesheet
   Light / Dark themes via [data-theme] on <html>
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary: #ff6a00;
    --primary-600: #e85d00;
    --primary-soft: rgba(255, 106, 0, 0.12);
    --accent: #7b2ff7;
    --accent-2: #00c2ff;

    --bg: #ffffff;
    --bg-alt: #f6f7fb;
    --bg-soft: #eef1f8;
    --surface: #ffffff;
    --surface-2: #f9fafc;
    --text: #14182b;
    --text-soft: #4a5166;
    --text-muted: #767e96;
    --border: #e7eaf3;
    --border-strong: #d7dcea;

    --header-bg: rgba(255, 255, 255, 0.82);
    --shadow-sm: 0 2px 10px rgba(16, 22, 54, 0.05);
    --shadow-md: 0 12px 30px rgba(16, 22, 54, 0.09);
    --shadow-lg: 0 24px 60px rgba(16, 22, 54, 0.14);
    --radius: 18px;
    --radius-sm: 12px;
    --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(255,106,0,.18), transparent 60%),
                 radial-gradient(900px 500px at 90% 10%, rgba(123,47,247,.14), transparent 55%),
                 linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
    --nav-active: rgba(255, 106, 0, 0.1);
}

[data-theme="dark"] {
    --primary: #ff8a3d;
    --primary-600: #ff6a00;
    --primary-soft: rgba(255, 138, 61, 0.16);
    --accent: #9d6bff;
    --accent-2: #38d0ff;

    --bg: #0c0f1d;
    --bg-alt: #10142a;
    --bg-soft: #161b38;
    --surface: #121731;
    --surface-2: #161c3b;
    --text: #eef1ff;
    --text-soft: #c2c8e4;
    --text-muted: #8f97ba;
    --border: #262d52;
    --border-strong: #323a66;

    --header-bg: rgba(12, 15, 29, 0.82);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(255,106,0,.22), transparent 60%),
                 radial-gradient(900px 500px at 90% 10%, rgba(123,47,247,.20), transparent 55%),
                 linear-gradient(180deg, #0c0f1d 0%, #10142a 100%);
    --nav-active: rgba(255, 138, 61, 0.14);
}

/* ── Base ─────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

p { color: var(--text-soft); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

.container { max-width: 1200px; }

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ── Header ───────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.22rem;
    color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px var(--primary-soft);
}
.brand-text { letter-spacing: -0.02em; }
.brand-img {
    height: 40px;
    width: auto;
    max-width: 170px;
    border-radius: 10px;
    object-fit: contain;
}
.footer-brand-logo .brand-img { height: 44px; }

/* Nav */
.main-nav { display: none; }

@media (min-width: 992px) {
    .main-nav { display: block; }
    .nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
    .nav-list > li { position: relative; }
    .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.6rem 0.9rem;
        border-radius: 10px;
        color: var(--text-soft);
        font-weight: 500;
        font-size: 0.95rem;
        transition: color .2s, background .2s;
    }
    .nav-link:hover { color: var(--text); background: var(--nav-active); }
    .nav-link.is-active { color: var(--primary); }
    .nav-link .chev { font-size: 0.65rem; opacity: 0.7; }

    /* Dropdowns */
    .has-dropdown .dropdown-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        min-width: 260px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    .has-dropdown:hover .dropdown-panel,
    .has-dropdown:focus-within .dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .services-panel { width: 560px; }
    .dp-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0.4rem 0.7rem;
        border-bottom: 1px dashed var(--border);
        margin-bottom: 0.7rem;
    }
    .dp-title {
        font-family: 'Space Grotesk', sans-serif;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
    }
    .dp-all { font-size: 0.85rem; font-weight: 600; }
    .dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
    .dp-list { display: flex; flex-direction: column; gap: 0.25rem; }
    .dp-item {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.55rem 0.6rem;
        border-radius: 10px;
        color: var(--text-soft);
        transition: background .18s, transform .18s;
    }
    .dp-item:hover { background: var(--nav-active); color: var(--text); transform: translateX(3px); }
    .dp-icon {
        width: 34px; height: 34px; flex: 0 0 34px;
        display: grid; place-items: center;
        border-radius: 9px;
        background: var(--primary-soft);
        color: var(--primary);
        font-size: 0.85rem;
    }
    .dp-name { display: block; font-weight: 600; font-size: 0.92rem; color: var(--text); }
    .dp-desc { display: block; font-size: 0.76rem; color: var(--text-muted); line-height: 1.35; }
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); transform: rotate(15deg); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.btn-sm-cta { padding: 0.62rem 1.1rem; border-radius: 12px; }

.hamburger { display: none; }
@media (max-width: 991.98px) {
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px; height: 42px;
        border: 1px solid var(--border);
        background: var(--surface);
        border-radius: 12px;
        padding: 0 10px;
    }
    .hamburger span { height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    background: var(--surface);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22,1,.36,1);
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mm-close { border: 0; background: transparent; font-size: 1.4rem; color: var(--text); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-menu nav > a, .mm-group a {
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
    color: var(--text-soft);
    font-weight: 500;
}
.mobile-menu nav > a:hover, .mm-group a:hover { background: var(--nav-active); color: var(--text); }
.mm-group { margin-top: 0.6rem; }
.mm-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    display: block;
    padding: 0.6rem 0.5rem 0.3rem;
}
.mm-cta { margin-top: auto; padding-top: 1rem; }
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 20, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ── Buttons ──────────────────────────────────────────────────── */

.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    border: none;
    color: #fff;
    box-shadow: 0 8px 20px var(--primary-soft);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px var(--primary-soft);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light-solid {
    background: #fff; color: #14182b; border: none;
}
.btn-light-solid:hover { background: #f1f2f6; color: #14182b; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: clamp(5rem, 10vw, 8.5rem) 0 4rem;
    background: var(--grad-hero);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    mask-image: radial-gradient(700px 400px at 70% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(700px 400px at 70% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    max-width: 900px;
    margin: 1.2rem 0 1rem;
    background: linear-gradient(120deg, var(--text) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text);
}
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 680px; color: var(--text-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.6rem; color: var(--text-muted); font-size: 0.85rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust i { color: var(--primary); }

/* Stats strip */
.stats-strip { border-block: 1px solid var(--border); background: var(--surface); }
.stat-box { text-align: center; padding: 2rem 1rem; }
.stat-box h3 { font-size: 2.2rem; margin: 0; color: var(--primary); }
.stat-box p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--text-muted); }

/* ── Sections ─────────────────────────────────────────────────── */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--primary); border-radius: 2px; }

.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 0.8rem; }
.section-head .sub { color: var(--text-muted); max-width: 620px; }

/* Service cards */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .sc-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.3rem;
    transition: transform .25s;
}
.service-card:hover .sc-icon { transform: scale(1.08) rotate(-4deg); }
.service-card h3 { font-size: 1.2rem; margin: 0; }
.service-card p { font-size: 0.92rem; margin: 0; flex: 1; }
.service-card .sc-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* Feature / bento cards */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.bento-card {
    grid-column: span 12;
    padding: 1.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento-card .bc-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 13px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.bento-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.bento-card p { font-size: 0.92rem; margin: 0; }
@media (min-width: 992px) {
    .bento-card.span-6 { grid-column: span 6; }
    .bento-card.span-4 { grid-column: span 4; }
    .bento-card.span-3 { grid-column: span 3; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .bento-card.span-6, .bento-card.span-4, .bento-card.span-3 { grid-column: span 6; }
}

/* Industries chips */
.industry-chip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-weight: 600;
    height: 100%;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.industry-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); color: var(--text); }
.industry-chip i { color: var(--primary); font-size: 1.2rem; }

/* Testimonials */
.testimonial-card {
    height: 100%;
    padding: 1.7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.testimonial-card .quote { font-size: 0.98rem; color: var(--text-soft); flex: 1; }
.testimonial-card .stars { color: #ffb400; font-size: 0.85rem; }
.t-avatar {
    width: 46px; height: 46px; flex: 0 0 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-weight: 700;
}
.t-meta h6 { margin: 0; font-size: 0.95rem; }
.t-meta span { font-size: 0.82rem; color: var(--text-muted); }

/* Team */
.team-card {
    text-align: center;
    padding: 1.8rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.t-photo {
    width: 86px; height: 86px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-size: 1.6rem; font-weight: 700;
    box-shadow: 0 10px 22px var(--primary-soft);
}
.team-card h4 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.7rem; }
.team-card p { font-size: 0.88rem; }
.team-card .t-social { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.9rem; }
.team-card .t-social a {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: .2s;
}
.team-card .t-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* FAQ accordion (custom) */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: transparent;
    border: 0;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
}
.faq-q i { transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.3rem 1.2rem; margin: 0; font-size: 0.94rem; color: var(--text-soft); }

/* CTA banner */
.cta-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(120deg, #1a1033, #23105c 55%, #3a0f6b);
    color: #fff;
    text-align: center;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 80% 20%, rgba(255,106,0,.45), transparent 60%),
                radial-gradient(500px 300px at 10% 90%, rgba(0,194,255,.35), transparent 60%);
    pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.82); }

/* ── Page hero (inner pages) ──────────────────────────────────── */

.page-hero {
    padding: clamp(3.2rem, 7vw, 5.5rem) 0 3rem;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero .breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.page-hero .breadcrumbs a { color: var(--text-muted); }
.page-hero .breadcrumbs a:hover { color: var(--primary); }
.page-hero .breadcrumbs i { font-size: 0.6rem; margin: 0 0.5rem; opacity: .6; }

/* ── Service detail page ──────────────────────────────────────── */

.service-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--border);
}
.service-hero .sh-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 1.15rem;
    box-shadow: none;
    margin-bottom: 1rem;
}
.service-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 0.7rem; }
.service-hero .lead { max-width: 640px; color: var(--text-soft); }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.55rem 0;
    color: var(--text-soft);
}
.check-list li i { color: var(--primary); margin-top: 0.3rem; }

/* Side card */
.side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.2rem;
}
.side-card h5 { font-size: 1rem; margin-bottom: 0.6rem; }
.side-card .contact-line { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; color: var(--text-soft); font-size: 0.92rem; }
.side-card .contact-line i { color: var(--primary); width: 18px; }

/* Other services mini list */
.other-service {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.6rem;
    border-radius: 10px;
    color: var(--text-soft);
    transition: background .18s, transform .18s;
}
.other-service:hover { background: var(--nav-active); color: var(--text); transform: translateX(3px); }
.other-service .dp-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 0.85rem; }
.other-service span { font-weight: 600; font-size: 0.92rem; }

/* ── Forms ────────────────────────────────────────────────────── */

.form-control, .form-select {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.22rem var(--primary-soft);
    color: var(--text);
    background: var(--surface);
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.text-muted { color: var(--text-muted) !important; }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: clamp(1.6rem, 4vw, 2.8rem);
}

/* Alerts */
.alert { border-radius: 12px; }

/* ── Job cards ────────────────────────────────────────────────── */

.job-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    margin-bottom: 1rem;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.job-card h4 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text-soft);
}
.job-badge.cat { background: var(--primary-soft); color: var(--primary); }

/* Timeline */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 1.8rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.05rem;
    top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}
.timeline-item .tl-year { color: var(--primary); font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.timeline-item h5 { margin: 0.2rem 0 0.3rem; }
.timeline-item p { margin: 0; font-size: 0.92rem; }

/* Value cards */
.value-card {
    text-align: center;
    padding: 1.8rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .vc-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    display: grid; place-items: center;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.3rem;
}
.value-card h4 { font-size: 1.05rem; }
.value-card p { font-size: 0.9rem; }

/* Resources page */
.resource-card {
    display: block;
    padding: 1.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    color: var(--text);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); color: var(--text); }
.resource-card .rc-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.resource-card h3 { font-size: 1.15rem; margin: 0.5rem 0; }
.resource-card p { font-size: 0.92rem; margin: 0; }

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand p { font-size: 0.92rem; margin: 1rem 0; }
.footer-brand-logo { margin-bottom: 0.5rem; }
.social-row { display: flex; gap: 0.6rem; }
.social-row a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 11px;
    border: 1px solid var(--border-strong);
    color: var(--text-soft);
    transition: .22s;
}
.social-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h5 { font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--text-soft); font-size: 0.92rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-contact i { color: var(--primary); width: 16px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 404 */
.notfound { text-align: center; padding: 8rem 0; }
.notfound .code { font-family: 'Space Grotesk', sans-serif; font-size: 7rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }

/* Responsive tweaks */
@media (max-width: 575.98px) {
    .hero-cta .btn { width: 100%; justify-content: center; }
    .btn-sm-cta { display: none !important; }
    .stat-box h3 { font-size: 1.7rem; }
}
