/* ============================================================
   FalahiX Solutions — Complete Premium Stylesheet v21.0
   Mobile App-Like + Fully Responsive + Premium Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --brand-50:  #eef2ff;
    --brand-100: #e0e7ff;
    --brand-200: #c7d2fe;
    --brand-300: #a5b4fc;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --brand-900: #312e81;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --ink-950: #020617;
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;
    --ink-50:  #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --grad-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --grad-vibrant: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --grad-dark: linear-gradient(135deg, #0f172a 0%, #312e81 100%);

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

    --container: 1280px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 28px;
    --r-3xl: 36px;

    --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
    --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -1px rgba(15,23,42,.04);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,.08), 0 4px 6px -2px rgba(15,23,42,.04);
    --shadow-xl: 0 20px 25px -5px rgba(15,23,42,.1), 0 10px 10px -5px rgba(15,23,42,.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15,23,42,.25);

    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --transition-slow: all .5s cubic-bezier(.4, 0, .2, 1);

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);

    --header-h: 60px;
    --header-h-lg: 72px;
    --mobile-nav-h: 66px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeIn .4s ease;
    overscroll-behavior-y: contain;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--brand-700); }

ul { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink-900);
    letter-spacing: -.02em;
}
h1 { font-weight: 800; letter-spacing: -.03em; }
h2 { font-weight: 800; letter-spacing: -.025em; }

::selection {
    background: var(--brand-500);
    color: var(--white);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   BULLETPROOF MOBILE MENU v22.0
   Do not remove — fixes hamburger not opening
   ============================================================ */

/* ---------- Hamburger button — always clickable ---------- */
@media (max-width: 991px) {
    .hamburger {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        background: var(--ink-100) !important;
        border-radius: 10px !important;
        border: none !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 1001 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }
    .hamburger * {
        pointer-events: none !important;
    }
    .hamburger span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        background: var(--ink-800) !important;
        border-radius: 2px !important;
        transition: transform .3s ease, opacity .3s ease !important;
    }
    .hamburger:active {
        background: var(--ink-200) !important;
        transform: scale(.95);
    }
}

/* ---------- Drawer — hidden off-screen by default ---------- */
.mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 1000 !important;
    transform: translateX(100%) !important;
    -webkit-transform: translateX(100%) !important;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: calc(20px + var(--safe-top)) 20px calc(20px + var(--safe-bottom)) !important;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .2) !important;
    will-change: transform;
    pointer-events: auto !important;
    visibility: visible !important;
}

.mobile-drawer.open {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}

/* ---------- Overlay ---------- */
.mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, .6) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .3s ease, visibility .3s ease !important;
    z-index: 990 !important;
    cursor: pointer;
    pointer-events: auto !important;
}

.mobile-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------- Body locked when menu open ---------- */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* ---------- Hide drawer/overlay on desktop ---------- */
@media (min-width: 992px) {
    .mobile-drawer,
    .mobile-overlay {
        display: none !important;
    }
    .hamburger {
        display: none !important;
    }
}

/* ---------- Hamburger animation to X ---------- */
body.menu-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
}
body.menu-open .hamburger span:nth-child(2) {
    opacity: 0 !important;
}
body.menu-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px) !important;
}

/* ---------- Ensure nothing above the hamburger blocks taps ---------- */
@media (max-width: 991px) {
    .site-header,
    .header-inner,
    .header-actions,
    .container {
        pointer-events: auto;
    }

    /* Force the header to not overlap with menu z-index */
    body.menu-open .site-header {
        z-index: 900 !important;
    }

    /* Cursor + tap clarity */
    .hamburger:hover {
        background: var(--ink-200) !important;
    }
}
/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    border: 1.5px solid transparent;
    min-height: 48px;
    letter-spacing: -.01em;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    overflow: hidden;
}
.btn:active { transform: scale(.97); }

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 8px 24px -6px rgba(99,102,241,.5);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transition: left .5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(99,102,241,.65);
}

.btn-outline {
    border-color: var(--ink-200);
    color: var(--ink-800);
    background: var(--white);
}
.btn-outline:hover {
    border-color: var(--brand-500);
    color: var(--brand-600);
    background: var(--brand-50);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.35);
    color: var(--white);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.6);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--brand-600);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.3);
}
.btn-light:hover {
    color: var(--brand-700);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.4);
}

.btn-ghost {
    color: var(--ink-700);
    padding: 10px 16px;
    min-height: 40px;
}
.btn-ghost:hover {
    color: var(--brand-600);
    background: var(--brand-50);
}

.btn-sm { padding: 9px 18px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 16px 34px; font-size: 16px; min-height: 54px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    transition: box-shadow .3s ease, background .3s ease;
    padding: 0;
    margin: 0;
    will-change: transform;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, .1);
}

.header-top-bar {
    background: var(--ink-950);
    color: var(--ink-300);
    font-size: 13px;
    padding: 8px 0;
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.header-top-info {
    display: flex;
    gap: 24px;
    align-items: center;
}
.header-top-info a,
.header-top-info span {
    color: var(--ink-300);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-top-info a:hover { color: var(--white); }
.header-top-info i { color: var(--brand-400); }

.header-top-social { display: flex; gap: 8px; }
.header-top-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--ink-300);
    display: grid;
    place-items: center;
    font-size: 12px;
    transition: var(--transition);
}
.header-top-social a:hover {
    background: var(--brand-600);
    color: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h-lg);
    gap: 16px;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--ink-900);
    flex-shrink: 0;
    letter-spacing: -.03em;
}
.site-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.site-logo .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 6px 16px -4px rgba(99,102,241,.5);
    flex-shrink: 0;
}
.site-logo .logo-text {
    background: linear-gradient(135deg, var(--ink-900), var(--brand-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
    display: block;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-700);
    border-radius: 999px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: all .35s cubic-bezier(.2, .9, .3, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 60%; }
.main-nav a:hover,
.main-nav a.active {
    color: var(--brand-600);
    background: var(--brand-50);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu { position: relative; }
.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: var(--ink-100);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-800);
    transition: var(--transition);
    min-height: 44px;
}
.user-toggle:hover { background: var(--ink-200); }
.user-toggle img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 10;
    border: 1px solid var(--ink-100);
}
.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--r-sm);
}
.user-dropdown a:hover {
    background: var(--brand-50);
    color: var(--brand-600);
}
.user-dropdown i { width: 18px; color: var(--ink-400); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: var(--ink-100);
    transition: var(--transition);
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.hamburger:active { transform: scale(.95); }
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink-800);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none !important;
}

/* ============================================================
   INLINE L→R CATEGORY SCROLL v23.0
   All category tabs scroll horizontally in the SAME row
   Works on mobile + desktop + tablet
   ============================================================ */

/* ---------- Wrapper ---------- */
.cat-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
}

/* ---------- Scrollable tabs row ---------- */
.cat-tabs-wrapper .cat-tabs,
.cat-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    margin: 0;
    flex: 1;
    min-width: 0;
    position: relative;

    /* Show fade on right to hint more items */
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 40px), transparent 100%);
}

.cat-tabs-wrapper .cat-tabs::-webkit-scrollbar,
.cat-tabs::-webkit-scrollbar {
    display: none;
}

/* ---------- Hide the mask on larger screens (all items fit) ---------- */
@media (min-width: 1400px) {
    .cat-tabs-wrapper .cat-tabs,
    .cat-tabs {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ---------- Each tab ---------- */
.cat-tabs-wrapper .cat-tab,
.cat-tab {
    flex-shrink: 0 !important;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ink-100);
    color: var(--ink-700);
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: 1.5px solid transparent;
    min-height: 38px;
}

.cat-tabs-wrapper .cat-tab i,
.cat-tab i { font-size: 12px; opacity: .75; }

.cat-tabs-wrapper .cat-tab:hover,
.cat-tab:hover {
    background: var(--ink-200);
    color: var(--brand-600);
}

.cat-tabs-wrapper .cat-tab.active,
.cat-tab.active {
    background: var(--grad-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(99,102,241,.5);
}
.cat-tabs-wrapper .cat-tab.active i,
.cat-tab.active i { opacity: 1; }

.cat-tabs-wrapper .cat-tab:active,
.cat-tab:active { transform: scale(.96); }

.cat-tabs-wrapper .cat-tab span,
.cat-tab span {
    opacity: .7;
    font-size: 12px;
    font-weight: 500;
}
.cat-tabs-wrapper .cat-tab.active span,
.cat-tab.active span { opacity: .9; }

/* ---------- Scroll arrow buttons ---------- */
.cat-scroll-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    color: var(--ink-700);
    flex-shrink: 0;
    cursor: pointer;
    transition: all .25s ease;
    font-size: 12px;
    padding: 0;
}
.cat-scroll-btn:hover {
    background: var(--brand-50);
    color: var(--brand-600);
    border-color: var(--brand-300);
}
.cat-scroll-btn:active { transform: scale(.92); }

/* Hide arrows on mobile — swipe is enough */
@media (max-width: 768px) {
    .cat-scroll-btn { display: none !important; }
}

/* ---------- Filter bar — stack on mobile with tabs inline ---------- */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 10px;
    }
    .search-form { min-width: 100%; }

    .cat-tabs-wrapper {
        margin: 0 -12px;
        padding: 0 12px;
        width: calc(100% + 24px);
    }

    .cat-tabs-wrapper .cat-tabs,
    .cat-tabs {
        padding: 4px 12px 4px 0;
        gap: 6px;
    }

    .cat-tabs-wrapper .cat-tab,
    .cat-tab {
        padding: 7px 14px;
        font-size: 12.5px;
        min-height: 36px;
    }
}

/* ---------- Keep tabs inline (no wrap) on desktop ---------- */
@media (min-width: 769px) {
    .cat-tabs-wrapper .cat-tabs,
    .cat-tabs {
        /* already has nowrap — no override needed */
    }
}
/* ============================================================
   MOBILE BOTTOM NAV (APP-LIKE)
   ============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--mobile-nav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-top: 1px solid rgba(15,23,42,.08);
    z-index: 850;
    box-shadow: 0 -4px 20px -6px rgba(15,23,42,.08);
}
.mobile-bottom-nav ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: var(--mobile-nav-h);
    align-items: center;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    color: var(--ink-500);
    font-size: 10.5px;
    font-weight: 600;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.mobile-bottom-nav a i {
    font-size: 19px;
    transition: var(--transition);
}
.mobile-bottom-nav a.active { color: var(--brand-600); }
.mobile-bottom-nav a.active i {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(99,102,241,.5));
}
.mobile-bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--grad-primary);
    border-radius: 0 0 4px 4px;
}
.mobile-bottom-nav a:active { transform: scale(.94); }

.mobile-bottom-spacer {
    display: none;
    height: calc(var(--mobile-nav-h) + var(--safe-bottom) + 8px);
}

/* ============================================================
   MOBILE DRAWER (APP-LIKE)
   ============================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 990;
    cursor: pointer;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1000;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: calc(20px + var(--safe-top)) 20px calc(20px + var(--safe-bottom));
    box-shadow: -20px 0 60px rgba(15, 23, 42, .2);
    will-change: transform;
}
.mobile-drawer.open {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}

.mobile-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ink-100);
}
.mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--ink-700);
    background: var(--ink-100);
    transition: var(--transition);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mobile-close:active { transform: scale(.92); }

.mobile-user {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: var(--brand-50);
    border-radius: var(--r-lg);
    margin-bottom: 20px;
    border: 1px solid var(--brand-100);
}
.mobile-user img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}
.mobile-user strong { display: block; font-size: 15px; color: var(--ink-900); }
.mobile-user small { font-size: 12.5px; color: var(--ink-500); }

.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px;
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink-800);
    border-bottom: 1px solid var(--ink-100);
    transition: var(--transition);
}
.mobile-nav a:active {
    background: var(--brand-50);
    color: var(--brand-600);
    padding-left: 16px;
}
.mobile-nav a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--ink-300);
    font-size: 14px;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid var(--ink-100);
}
.mobile-contact-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-600);
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    border-radius: var(--r-sm);
}
.mobile-contact-info i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-size: 14px;
}
.mobile-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.mobile-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink-100);
    color: var(--ink-700);
    display: grid;
    place-items: center;
    transition: var(--transition);
}
.mobile-social a:active {
    background: var(--grad-primary);
    color: var(--white);
}

body.menu-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}
body.menu-open .mobile-drawer { z-index: 1000 !important; }
body.menu-open .mobile-overlay { z-index: 990 !important; }
body.menu-open .site-header { z-index: 900 !important; }
body.menu-open .mobile-bottom-nav { z-index: 890 !important; }

body.menu-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
}
body.menu-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 992px) {
    .mobile-drawer,
    .mobile-overlay { display: none !important; }
    .hamburger { display: none !important; }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
    height: min(92vh, 780px);
    min-height: 640px;
    overflow: hidden;
    background: transparent;
    margin-top: 0;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.3s ease;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(15,23,42,.94) 0%,
        rgba(15,23,42,.82) 35%,
        rgba(30,41,59,.65) 60%,
        rgba(79,70,229,.55) 100%);
}
.slide-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 25%, rgba(6,182,212,.35), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(139,92,246,.28), transparent 45%);
    animation: glowShift 12s ease-in-out infinite alternate;
}
@keyframes glowShift {
    0%   { transform: scale(1) rotate(0deg); opacity: .9; }
    100% { transform: scale(1.15) rotate(8deg); opacity: 1; }
}

.slide-content {
    position: relative;
    z-index: 4;
    width: 100%;
}
.slide-inner { max-width: 800px; color: var(--white); }

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34,211,238,.25), 0 0 12px #22d3ee;
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, .25), 0 0 12px #22d3ee; }
    50%      { box-shadow: 0 0 0 8px rgba(34, 211, 238, .1), 0 0 20px #22d3ee; }
}

.slide-title {
    font-size: clamp(36px, 6.5vw, 76px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.04;
    margin-bottom: 22px;
    letter-spacing: -.035em;
    text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.slide-title .highlight {
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #f472b6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientSlide 6s ease infinite;
    display: inline-block;
}
@keyframes gradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.slide-desc {
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    margin-bottom: 34px;
    max-width: 640px;
}

.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.slide-stats {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 18px 26px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    max-width: fit-content;
    flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-item strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-item span {
    font-size: 11.5px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.15);
}

.slide-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    filter: blur(80px);
    opacity: .55;
}
.slide-shape-1 {
    width: 420px;
    height: 420px;
    top: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(99,102,241,.7), transparent 70%);
    animation: floatShape 8s ease-in-out infinite;
}
.slide-shape-2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(6,182,212,.6), transparent 70%);
    animation: floatShape 10s ease-in-out infinite reverse;
}
@keyframes floatShape {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(20px,-20px) scale(1.1); }
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    z-index: 10;
    transition: var(--transition);
    display: grid;
    place-items: center;
    font-size: 17px;
    cursor: pointer;
}
.slider-prev { left: 28px; }
.slider-next { right: 28px; }
.slider-prev:hover, .slider-next:hover {
    background: var(--grad-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 30px -8px rgba(99,102,241,.6);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    padding: 0;
}
.slider-dot.active {
    width: 42px;
    border-radius: 6px;
    background: rgba(255,255,255,.2);
}
.slider-dot .dot-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #22d3ee, #a78bfa);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
}
.slider-dot.active .dot-fill {
    animation: dotProgress 6s linear infinite;
}
@keyframes dotProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.slide-counter {
    position: absolute;
    bottom: 32px;
    right: 40px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: .15em;
    color: rgba(255,255,255,.7);
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.slide-counter .current { color: var(--white); font-size: 20px; }
.slide-counter .sep { opacity: .5; }

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,.08);
    z-index: 10;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #f472b6);
    width: 0%;
    transition: width .1s linear;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.6);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 10;
}
.scroll-line {
    width: 40px;
    height: 26px;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.scroll-dot {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.8);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0%, 100% { top: 4px; opacity: 1; }
    50% { top: 14px; opacity: .4; }
}

.slide.active .slide-badge,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-actions,
.slide.active .slide-stats {
    animation: heroIn .85s cubic-bezier(.2, .9, .3, 1) forwards;
    opacity: 0;
}
.slide.active .slide-badge    { animation-delay: .10s; }
.slide.active .slide-title    { animation-delay: .25s; }
.slide.active .slide-desc     { animation-delay: .40s; }
.slide.active .slide-actions  { animation-delay: .55s; }
.slide.active .slide-stats    { animation-delay: .70s; }
@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.feature-strip-inner {
    background: var(--white);
    border-radius: var(--r-2xl);
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, .2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--ink-100);
    position: relative;
}
.feature-strip-inner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #6366f1, #06b6d4, #ec4899);
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity .5s ease;
}
.feature-strip:hover .feature-strip-inner::before { opacity: .4; }

.feature-strip-item {
    padding: 26px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-right: 1px solid var(--ink-100);
    transition: var(--transition);
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item:hover { background: var(--brand-50); }

.feature-strip-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(99,102,241,.5);
    animation: float3d 4s ease-in-out infinite;
}
.feature-strip-item:nth-child(2) .feature-strip-icon { background: var(--grad-vibrant); animation-delay: .5s; }
.feature-strip-item:nth-child(3) .feature-strip-icon { background: linear-gradient(135deg, #f59e0b, #ec4899); animation-delay: 1s; }
.feature-strip-item:nth-child(4) .feature-strip-icon { background: linear-gradient(135deg, #10b981, #06b6d4); animation-delay: 1.5s; }
.feature-strip-item h4 { font-size: 15px; margin-bottom: 4px; }
.feature-strip-item p { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; margin: 0; }

@keyframes float3d {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-6px) rotate(2deg); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 72px 0;
    position: relative;
}
.section-alt { background: var(--ink-50); }
.section-sm { padding: 48px 0; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid var(--brand-100);
}
.section-head .eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-500);
}
.section-head h2 {
    font-size: clamp(28px, 4.5vw, 46px);
    margin-bottom: 10px;
}
.section-head p {
    font-size: 16.5px;
    color: var(--ink-500);
    line-height: 1.7;
}
.section-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   INTRO / WELCOME
   ============================================================ */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.intro-text h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    margin: 12px 0 14px;
    background: linear-gradient(135deg, var(--ink-900), var(--brand-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.intro-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-600);
    margin-bottom: 20px;
}
.intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-2xl);
    overflow: hidden;
    min-height: 300px;
    padding: 0;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .8s cubic-bezier(.2, .9, .3, 1);
    background: transparent;
}
.intro-image:hover {
    transform: rotateY(-6deg) rotateX(4deg) scale(1.02);
}
.intro-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--r-2xl);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .2);
    background: transparent;
    display: block;
}

/* ============================================================
   DIRECTOR
   ============================================================ */
.director-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--r-2xl);
    padding: 44px;
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, .1);
    align-items: center;
    border: 1px solid var(--ink-100);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
    transition: transform .6s cubic-bezier(.2, .9, .3, 1), box-shadow .6s ease;
}
.director-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .08), transparent 70%);
    pointer-events: none;
}
.director-card:hover {
    transform: translateY(-4px) rotateX(2deg);
    box-shadow:
        0 40px 80px -30px rgba(99, 102, 241, .25),
        0 20px 40px -15px rgba(15, 23, 42, .1);
}

.director-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .05));
    min-height: 280px;
    padding: 0;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.2, .9, .3, 1);
}
.director-card:hover .director-photo {
    transform: translateZ(20px) rotateY(-4deg);
}
.director-photo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: center top;
    border-radius: var(--r-2xl);
    box-shadow: 0 25px 50px -15px rgba(15, 23, 42, .25);
    display: block;
}
.director-body { position: relative; z-index: 1; }
.director-body h3 { font-size: 30px; margin-bottom: 6px; }
.director-role {
    color: var(--brand-600);
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 13.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 14px;
    background: var(--brand-50);
    border-radius: 999px;
}
.director-body > p {
    color: var(--ink-600);
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 6px;
}
.director-quote {
    margin: 22px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--brand-500);
    background: linear-gradient(90deg, var(--brand-50), transparent);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--ink-700);
    font-size: 15px;
    line-height: 1.65;
    transition: all .4s ease;
}
.director-card:hover .director-quote {
    border-left-width: 6px;
    padding-left: 26px;
}
.director-quote i { color: var(--brand-500); margin-right: 8px; font-size: 14px; }
.director-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ============================================================
   SOCIAL BUTTONS
   ============================================================ */
.director-social a,
.team-social a,
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink-100);
    color: var(--ink-600);
    transition: all .35s cubic-bezier(.2, .9, .3, 1);
    font-size: 15px;
}
.director-social a:hover,
.team-social a:hover,
.footer-social a:hover {
    background: var(--grad-primary);
    color: var(--white);
    transform: translateY(-3px) rotate(6deg);
    box-shadow: 0 10px 20px -6px rgba(99,102,241,.5);
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ============================================================
   GRID BORDERS
   ============================================================ */
.grid-bordered {
    position: relative;
    padding: 32px 24px;
    border: 2px solid var(--ink-100);
    border-radius: 24px;
    background: var(--white);
}

/* ============================================================
   SERVICE CARD
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
    transform-style: preserve-3d;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, .25), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
    z-index: -1;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(-4deg) scale(1.02);
    box-shadow:
        0 30px 60px -20px rgba(99, 102, 241, .35),
        0 15px 30px -10px rgba(15, 23, 42, .15);
}

.service-image {
    aspect-ratio: auto;
    height: auto;
    min-height: 200px;
    max-height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50), var(--ink-50));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.service-image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    transition: transform .6s cubic-bezier(.2, .9, .3, 1);
    display: block;
}
.service-card:hover .service-image img { transform: scale(1.04); }
.service-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: grid;
    place-items: center;
    font-size: 54px;
    color: var(--brand-400);
    background: linear-gradient(135deg, var(--brand-50), rgba(6,182,212,.1));
}

.service-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--r-lg);
    background: var(--grad-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px -8px rgba(99,102,241,.6);
    animation: float3d 4s ease-in-out infinite;
    transform-style: preserve-3d;
}
.service-icon i {
    transition: transform .4s cubic-bezier(.2, .9, .3, 1);
}
.service-card:hover .service-icon i {
    transform: scale(1.15) rotate(-8deg);
}
.service-body h3 {
    font-size: 17.5px;
    margin-bottom: 8px;
    color: var(--ink-900);
    line-height: 1.3;
}
.service-body p {
    color: var(--ink-500);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}
.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ink-100);
}

.link-arrow {
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-600);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.link-arrow i {
    transition: transform .3s cubic-bezier(.2, .9, .3, 1);
}
.link-arrow:hover {
    color: var(--brand-700);
    gap: 12px;
}
.link-arrow:hover i {
    transform: translateX(4px);
}
.link-ghost {
    font-size: 13px;
    color: var(--ink-500);
    font-weight: 500;
}
.link-ghost:hover { color: var(--brand-600); }

/* ============================================================
   FEATURE CARD
   ============================================================ */
.feature-card {
    background: var(--white);
    padding: 28px 22px;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    text-align: center;
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
.feature-card:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-3deg) scale(1.03);
    border-color: var(--brand-200);
    box-shadow:
        0 25px 50px -18px rgba(99, 102, 241, .3),
        0 12px 24px -8px rgba(15, 23, 42, .1);
}
.feature-card > * { position: relative; }
.feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: var(--r-lg);
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-size: 22px;
    transition: var(--transition);
    animation: float3d 4s ease-in-out infinite;
}
.feature-card:hover .feature-icon {
    background: var(--grad-primary);
    color: var(--white);
    transform: scale(1.05) rotate(-6deg);
    box-shadow: 0 15px 30px -10px rgba(99,102,241,.6);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* ============================================================
   TEAM CARD
   ============================================================ */
.team-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 22px 18px;
    text-align: center;
    border: 1px solid var(--ink-100);
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--brand-50), transparent);
    z-index: 0;
    pointer-events: none;
}
.team-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(-3deg) scale(1.03);
    box-shadow:
        0 30px 60px -20px rgba(99, 102, 241, .3),
        0 15px 30px -10px rgba(15, 23, 42, .12);
}
.team-card > * { position: relative; z-index: 1; }

.team-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 12px 25px -8px rgba(15, 23, 42, .2);
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .5s cubic-bezier(.2, .9, .3, 1), box-shadow .5s ease;
}
.team-card:hover .team-photo {
    transform: translateZ(30px) rotateY(360deg) scale(1.05);
    box-shadow:
        0 20px 40px -12px rgba(99, 102, 241, .4),
        0 10px 20px -8px rgba(15, 23, 42, .15);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card h3 { font-size: 16px; margin-bottom: 3px; line-height: 1.3; }
.team-role {
    font-size: 11.5px;
    color: var(--brand-600);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.3;
}

.team-bio {
    font-size: 13px;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 6px 0 12px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.team-contact {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}
.team-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--white);
    transition: all .3s cubic-bezier(.2, .9, .3, 1);
    min-height: 32px;
    white-space: nowrap;
}
.team-contact-btn:hover {
    color: var(--white);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 16px -4px rgba(15, 23, 42, .25);
}
.tcb-mail { background: linear-gradient(135deg, #ea4335, #fbbc05); }
.tcb-call { background: var(--grad-primary); }
.tcb-wa   { background: #25d366; }
.team-contact-btn i { font-size: 12px; }

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--ink-100);
    width: 100%;
}
.team-social a {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

/* ============================================================
   COMPANY CARD
   ============================================================ */
.company-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 26px;
    border: 1px solid var(--ink-100);
    text-align: center;
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
    position: relative;
    transform-style: preserve-3d;
}
.company-card:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(3deg) scale(1.02);
    box-shadow:
        0 30px 60px -20px rgba(6, 182, 212, .3),
        0 15px 30px -10px rgba(15, 23, 42, .12);
}

.company-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--ink-100);
    transition: transform .5s cubic-bezier(.2, .9, .3, 1), border-color .3s ease;
}
.company-card:hover .company-logo {
    transform: scale(1.06) rotate(-3deg);
    border-color: var(--brand-200);
}
.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.company-logo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--brand-400);
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .05));
    border-radius: inherit;
}
.company-card h3 { font-size: 17px; margin-bottom: 6px; }
.company-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-600);
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 4px 12px;
    background: var(--brand-50);
    border-radius: 999px;
    margin-bottom: 12px;
}
.company-location {
    font-size: 12.5px;
    color: var(--ink-500);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.company-location i { color: var(--brand-500); }
.company-card p { font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider { overflow: hidden; position: relative; }
.testimonial-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 26px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 28px;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    position: relative;
    transition: transform .4s cubic-bezier(.2, .9, .3, 1), box-shadow .4s ease;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--brand-100);
    opacity: .7;
    transition: all .4s ease;
}
.testimonial-card:hover::before {
    color: var(--brand-200);
    transform: scale(1.15);
}
.testimonial-card:hover {
    box-shadow: 0 20px 40px -12px rgba(15,23,42,.1);
}
.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 15px;
    color: var(--ink-700);
    line-height: 1.75;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 2px solid var(--brand-100);
}
.testimonial-author strong { display: block; font-size: 14.5px; color: var(--ink-900); }
.testimonial-author span { font-size: 12.5px; color: var(--ink-500); }

/* ============================================================
   BLOG CARD
   ============================================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
    transform-style: preserve-3d;
}
.blog-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(-2deg) scale(1.02);
    box-shadow:
        0 30px 60px -20px rgba(139, 92, 246, .3),
        0 15px 30px -10px rgba(15, 23, 42, .12);
}
.blog-image {
    position: relative;
    aspect-ratio: auto;
    height: auto;
    min-height: 200px;
    max-height: 340px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .05));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-image img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    transition: transform .7s cubic-bezier(.2, .9, .3, 1);
    display: block;
}
.blog-card:hover .blog-image img { transform: scale(1.04); }
.blog-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    color: var(--brand-600);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: all .3s ease;
}
.blog-card:hover .blog-cat {
    transform: translateX(4px);
    background: var(--brand-500);
    color: var(--white);
}
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--ink-500);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.blog-meta i { color: var(--brand-500); margin-right: 4px; }
.blog-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a { color: var(--ink-900); }
.blog-body h3 a:hover { color: var(--brand-600); }
.blog-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.65; margin-bottom: 16px; flex: 1; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.section-cta-banner {
    background: var(--grad-dark);
    color: var(--white);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.section-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(99,102,241,.4), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(6,182,212,.3), transparent 40%);
}
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
.cta-inner h2 {
    color: var(--white);
    font-size: clamp(24px, 4vw, 42px);
    margin-bottom: 10px;
}
.cta-inner p {
    color: rgba(255,255,255,.85);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================================
   FLOATING CONTACT
   ============================================================ */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 800;
}
.fc-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 10px 30px -6px rgba(15,23,42,.35);
    transition: var(--transition);
}
.fc-btn:hover { transform: scale(1.12); color: var(--white); }
.fc-btn:active { transform: scale(.95); }
.fc-wa { background: #25d366; }
.fc-call { background: var(--grad-primary); }
.fc-mail { background: linear-gradient(135deg, #ea4335, #fbbc05); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink-950);
    color: var(--ink-400);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,.5), transparent);
}

.footer-cta {
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(6,182,212,.12));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r-2xl);
    padding: 36px 40px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: center;
}
.footer-cta h3 {
    color: var(--white);
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 8px;
}
.footer-cta p { color: var(--ink-300); font-size: 14.5px; line-height: 1.6; margin: 0; }
.footer-cta-form {
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    padding: 6px;
}
.footer-cta-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 14.5px;
    outline: none;
    min-width: 0;
}
.footer-cta-form input::placeholder { color: var(--ink-500); }
.footer-cta-form button {
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--grad-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px -6px rgba(99,102,241,.6);
    white-space: nowrap;
    transition: var(--transition);
}
.footer-cta-form button:hover { transform: translateY(-2px); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 44px;
    padding-bottom: 50px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 14.5px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 14px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}
.footer-logo {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    letter-spacing: -.03em;
}
.footer-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.footer-logo .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--grad-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 18px;
}
.footer-col > p { font-size: 13.5px; line-height: 1.75; color: var(--ink-400); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
    color: var(--ink-400);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-col ul a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink-600);
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: var(--white);
    transform: translateX(4px);
}
.footer-col ul a:hover::before {
    background: var(--brand-400);
    width: 12px;
    border-radius: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    margin-bottom: 14px;
    color: var(--ink-400);
    line-height: 1.6;
}
.footer-contact i { color: var(--brand-400); margin-top: 4px; width: 16px; flex-shrink: 0; }
.footer-contact a { color: var(--ink-400); }
.footer-contact a:hover { color: var(--white); }

.footer-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.badge-iso {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-300);
}
.badge-iso i { color: var(--brand-400); }

.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a {
    background: rgba(255,255,255,.06);
    color: var(--ink-300);
    border: 1px solid rgba(255,255,255,.08);
}
.footer-social a:hover {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom p { color: var(--ink-500); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-400); font-size: 13px; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-md);
    font-size: 16px;
    color: var(--ink-800);
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-error { color: var(--danger); font-size: 13px; font-weight: 500; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
    background: var(--grad-dark);
    color: var(--white);
    padding: 68px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(99,102,241,.35), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(6,182,212,.25), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(26px, 4.2vw, 46px);
    color: var(--white);
    margin-bottom: 10px;
}
.page-hero p {
    color: rgba(255,255,255,.8);
    font-size: 16px;
    max-width: 620px;
}
.page-hero-sm { padding: 52px 0 36px; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { margin-top: 16px; }
.breadcrumbs ol {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    font-size: 13.5px;
}
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li {
    color: rgba(255,255,255,.55);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.breadcrumbs i { font-size: 10px; opacity: .5; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-700);
    transition: all .25s cubic-bezier(.2, .9, .3, 1);
}
.pagination .page-link:hover {
    background: var(--brand-50);
    color: var(--brand-600);
    border-color: var(--brand-300);
    transform: translateY(-2px);
}
.pagination .page-link.active {
    background: var(--grad-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(99,102,241,.5);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 70px 24px;
    background: var(--white);
    border: 2px dashed var(--ink-200);
    border-radius: var(--r-xl);
}
.empty-state i {
    font-size: 56px;
    color: var(--ink-300);
    margin-bottom: 18px;
    animation: float3d 3s ease-in-out infinite;
}
.empty-state h3 { color: var(--ink-700); margin-bottom: 10px; font-size: 20px; }
.empty-state p { color: var(--ink-500); margin-bottom: 22px; font-size: 15px; }

/* ============================================================
   CATEGORY TABS SCROLL
   ============================================================ */
.cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    position: relative;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 40px), transparent 100%);
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ink-100);
    color: var(--ink-700);
    font-size: 13.5px;
    font-weight: 500;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cat-tab:hover { background: var(--ink-200); color: var(--brand-600); }
.cat-tab.active {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 6px 16px -4px rgba(99,102,241,.5);
}
.cat-tab:active { transform: scale(.96); }
.cat-tab span { opacity: .7; font-size: 12px; }

@media (min-width: 1025px) {
    .cat-tabs {
        flex-wrap: wrap;
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: visible;
    }
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-md);
}
.filter-bar-lite {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;
}
.search-form {
    display: flex;
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    border-radius: 999px;
    overflow: hidden;
    min-width: 240px;
    max-width: 100%;
    transition: var(--transition);
}
.search-form:focus-within {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.search-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--ink-800);
    background: transparent;
    min-width: 0;
}
.search-form button {
    padding: 0 18px;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}
.search-form button:hover { background: var(--brand-700); }

.active-filter {
    padding: 12px 18px;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--ink-200);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-600);
}
.clear-filter { color: var(--danger); font-weight: 600; font-size: 13px; }

/* ============================================================
   DETAIL LAYOUT
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.detail-hero-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 22px;
    background: var(--ink-50);
    display: flex;
    justify-content: center;
    align-items: center;
}
.detail-hero-image img {
    width: 100%;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}
.detail-body h2 { margin-bottom: 14px; font-size: clamp(22px, 3vw, 30px); }
.detail-cta { margin-top: 30px; }

.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-700); }
.prose h2, .prose h3 { margin: 22px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 16px 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
    padding: 16px 22px;
    border-left: 4px solid var(--brand-500);
    background: var(--ink-50);
    margin: 22px 0;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
}
.prose img { border-radius: var(--r-md); margin: 18px 0; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.detail-sidebar, .blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    padding: 22px;
    margin-bottom: 18px;
}
.sidebar-widget h4 {
    font-size: 14.5px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ink-100);
    color: var(--ink-900);
}
.sidebar-widget p { font-size: 14px; margin-bottom: 10px; color: var(--ink-600); }
.sidebar-widget p i { color: var(--brand-500); margin-right: 8px; }

.sidebar-list { list-style: none; }
.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--ink-100);
    font-size: 14px;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink-700);
}
.sidebar-list a:hover { color: var(--brand-600); }
.sidebar-list .count {
    background: var(--ink-100);
    color: var(--ink-600);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.popular-posts li { margin-bottom: 12px; }
.popular-posts a {
    display: flex;
    gap: 12px;
    color: var(--ink-700);
    align-items: flex-start;
}
.popular-posts img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.popular-posts strong {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-800);
}
.popular-posts small { font-size: 11.5px; color: var(--ink-500); }
.sidebar-cta {
    background: var(--grad-dark);
    color: var(--white);
    border: none;
}
.sidebar-cta h4 { color: var(--white); border-color: rgba(255,255,255,.15); }
.sidebar-cta p { color: rgba(255,255,255,.85); }

/* ============================================================
   BLOG LAYOUT
   ============================================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; }
.blog-list { display: flex; flex-direction: column; gap: 20px; }

.blog-list-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .5s cubic-bezier(.2, .9, .3, 1);
}
.blog-list-item:hover {
    box-shadow: 0 20px 40px -12px rgba(15,23,42,.1);
    border-color: transparent;
    transform: translateY(-4px);
}
.blog-list-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .05));
}
.blog-list-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .6s;
}
.blog-list-item:hover .blog-list-image img { transform: scale(1.05); }
.blog-list-body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; }
.blog-list-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.blog-list-body h3 a { color: var(--ink-900); }
.blog-list-body h3 a:hover { color: var(--brand-600); }
.blog-list-body p {
    font-size: 13.5px;
    color: var(--ink-500);
    line-height: 1.65;
    margin-bottom: 12px;
    flex: 1;
}
.blog-list-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ink-500);
}
.blog-list-meta i { color: var(--brand-500); margin-right: 4px; }
.blog-list-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    font-size: 44px;
    color: var(--brand-300);
    background: linear-gradient(135deg, var(--brand-50), rgba(6, 182, 212, .08));
}

/* ============================================================
   CONTACT LAYOUT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; }
.contact-info h2, .contact-form-wrap h2 { font-size: 24px; margin-bottom: 12px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.contact-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-md);
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--brand-200);
    box-shadow: 0 8px 24px -8px rgba(99,102,241,.15);
}
.contact-card i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}
.contact-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
    color: var(--ink-900);
}
.contact-card p { font-size: 12.5px; color: var(--ink-600); line-height: 1.5; }
.contact-card a { color: var(--ink-600); }
.contact-card a:hover { color: var(--brand-600); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; margin-top: 20px; }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.contact-form {
    background: var(--white);
    padding: 24px;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    box-shadow: 0 10px 40px -12px rgba(15,23,42,.08);
}

/* ============================================================
   REVEAL + ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.2, .9, .3, 1), transform .8s cubic-bezier(.2, .9, .3, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid .reveal:nth-child(1)  { transition-delay: .05s; }
.grid .reveal:nth-child(2)  { transition-delay: .10s; }
.grid .reveal:nth-child(3)  { transition-delay: .15s; }
.grid .reveal:nth-child(4)  { transition-delay: .20s; }
.grid .reveal:nth-child(5)  { transition-delay: .25s; }
.grid .reveal:nth-child(6)  { transition-delay: .30s; }
.grid .reveal:nth-child(7)  { transition-delay: .35s; }
.grid .reveal:nth-child(8)  { transition-delay: .40s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
    position: fixed;
    top: calc(90px + var(--safe-top));
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}
.flash {
    padding: 14px 20px;
    border-radius: var(--r-md);
    box-shadow: 0 20px 40px -10px rgba(15,23,42,.2);
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    border-left: 4px solid var(--brand-500);
    animation: slideIn .35s ease;
    pointer-events: auto;
}
.flash-success { border-color: var(--success); }
.flash-warning { border-color: var(--warning); }
.flash-error, .flash-danger { border-color: var(--danger); }

.alert {
    padding: 14px 18px;
    border-radius: var(--r-md);
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid;
}
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }

@keyframes slideIn {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   MOBILE RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .header-top-bar { display: none !important; height: 0 !important; padding: 0 !important; }
    .main-nav { display: none; }
    .hamburger { display: flex; }

    .section { padding: 58px 0; }
    .section-head { margin-bottom: 34px; }
    .grid { gap: 18px; }

    .intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .intro-image img { max-height: 420px; }

    .director-card {
        grid-template-columns: 300px 1fr;
        gap: 32px;
        padding: 34px;
    }
    .director-body h3 { font-size: 24px; }
    .director-photo img { max-height: 420px; }

    .detail-layout, .blog-layout, .contact-layout { grid-template-columns: 1fr; gap: 26px; }
    .detail-sidebar, .blog-sidebar { position: static; }

    .blog-list-item { grid-template-columns: 220px 1fr; }
    .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .blog-sidebar .sidebar-widget { margin-bottom: 0; }

    .feature-strip { margin-top: -36px; }
    .feature-strip-inner { grid-template-columns: 1fr 1fr; }
    .feature-strip-item { padding: 20px 18px; }
    .feature-strip-item:nth-child(2) { border-right: none; }
    .feature-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--ink-100); }
}

/* ============================================================
   MOBILE RESPONSIVE — APP-LIKE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* ---------- Body padding for bottom nav ---------- */
    body {
        padding-bottom: calc(var(--mobile-nav-h) + var(--safe-bottom));
    }
    .mobile-bottom-nav { display: block; }
    .mobile-bottom-spacer { display: block; }

    /* ---------- Container ---------- */
    .container { padding: 0 16px; }

    /* ---------- Sections ---------- */
    .section { padding: 44px 0; }
    .section-sm { padding: 32px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: 24px; }
    .section-head p { font-size: 14.5px; }
    .section-cta { margin-top: 26px; }
    .section-cta-banner { padding: 48px 0; }
    .cta-inner h2 { font-size: 22px; }
    .cta-inner p { font-size: 14.5px; margin-bottom: 20px; }

    /* ---------- Header ---------- */
    .site-header { padding-top: var(--safe-top); }
    .header-inner { height: var(--header-h); gap: 10px; padding: 0 16px; }
    .site-logo { font-size: 16px; gap: 8px; flex: 1; min-width: 0; }
    .site-logo .logo-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
    .site-logo img { height: 32px; max-width: 130px; }
    .site-logo .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .header-actions { gap: 6px; }
    .header-actions .btn-ghost,
    .header-actions .btn-outline { display: none; }
    .header-actions .btn-primary.btn-sm {
        padding: 8px 14px;
        font-size: 12.5px;
        min-height: 36px;
    }
    .header-actions .btn-primary.btn-sm i { display: none; }
    .hamburger {
        width: 38px;
        height: 38px;
        background: var(--ink-100);
        border-radius: 10px;
    }
    .hamburger span { width: 18px; height: 2px; }

    /* ---------- Hero ---------- */
    .hero-slider {
        min-height: calc(100vh - var(--header-h)) !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    .slide {
        padding: 30px 0 70px !important;
        min-height: calc(100vh - var(--header-h)) !important;
        align-items: center !important;
    }
    .slide-badge {
        font-size: 10.5px;
        padding: 6px 14px;
        margin-bottom: 16px;
        letter-spacing: .08em;
    }
    .badge-dot { width: 6px; height: 6px; }
    .slide-title { font-size: 30px; line-height: 1.15; margin-bottom: 14px; }
    .slide-desc { font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
    .slide-actions { flex-direction: column; gap: 10px; width: 100%; margin-bottom: 24px; }
    .slide-actions .btn { width: 100%; justify-content: center; }
    .slide-stats { padding: 12px 16px; gap: 12px; width: 100%; justify-content: space-around; }
    .stat-item strong { font-size: 16px; }
    .stat-item span { font-size: 10px; }
    .stat-divider { height: 24px; }
    .slider-prev, .slider-next { display: none; }
    .slider-dots { bottom: 22px; gap: 9px; }
    .slider-dot { width: 10px; height: 10px; }
    .slider-dot.active { width: 34px; }
    .slide-counter { bottom: 18px; right: 20px; font-size: 12px; }
    .slide-counter .current { font-size: 16px; }
    .slide-shape-1 { width: 260px; height: 260px; }
    .slide-shape-2 { width: 200px; height: 200px; }

    /* ---------- Feature strip ---------- */
    .feature-strip { margin-top: -24px; }
    .feature-strip-inner { grid-template-columns: 1fr; border-radius: var(--r-lg); }
    .feature-strip-item {
        padding: 16px 18px;
        border-right: none !important;
        border-bottom: 1px solid var(--ink-100);
        gap: 12px;
    }
    .feature-strip-item:last-child { border-bottom: none; }
    .feature-strip-icon { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
    .feature-strip-item h4 { font-size: 14px; }
    .feature-strip-item p { font-size: 11.5px; }

    /* ---------- Intro / Welcome ---------- */
    .intro-grid { gap: 22px; }
    .intro-text h2 { font-size: 22px; margin: 10px 0 12px; }
    .intro-text p { font-size: 14.5px; margin-bottom: 16px; }
    .intro-image { min-height: 200px; }
    .intro-image img { max-height: 320px; border-radius: var(--r-lg); }

    /* ---------- Director — Full image stack ---------- */
    .director-card {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 22px !important;
        padding: 24px 18px !important;
        border-radius: var(--r-xl) !important;
    }
    .director-photo {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        min-height: auto !important;
        border-radius: var(--r-lg) !important;
    }
    .director-photo img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 420px !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: var(--r-lg) !important;
        aspect-ratio: auto !important;
    }
    .director-body { text-align: center; }
    .director-body h3 { font-size: 22px; }
    .director-role { font-size: 11px; padding: 4px 12px; margin-bottom: 14px; }
    .director-body > p { font-size: 14px; line-height: 1.65; }
    .director-quote {
        margin: 16px 0;
        padding: 14px 16px;
        font-size: 13.5px;
        text-align: left;
        border-left-width: 3px;
    }
    .director-social { justify-content: center; gap: 8px; margin-top: 18px; }
    .director-social a { width: 38px; height: 38px; font-size: 13px; }

    /* ---------- Grid bordered ---------- */
    .grid-bordered {
        padding: 20px 14px;
        border-width: 1.5px;
        border-radius: 18px;
    }

    /* ---------- Service cards ---------- */
    .service-image { min-height: 180px; max-height: 280px; }
    .service-image img { max-height: 280px; }
    .service-body { padding: 18px; }
    .service-icon { width: 46px; height: 46px; font-size: 19px; margin-bottom: 12px; border-radius: 12px; }
    .service-body h3 { font-size: 16px; }
    .service-body p { font-size: 13px; }

    /* ---------- Blog cards ---------- */
    .blog-image { min-height: 180px; max-height: 280px; }
    .blog-image img { max-height: 280px; }
    .blog-body { padding: 18px; }
    .blog-body h3 { font-size: 15px; }

    /* ---------- Company cards ---------- */
    .company-card { padding: 22px 18px; }
    .company-logo { width: 90px; height: 90px; padding: 10px; }
    .company-card h3 { font-size: 15.5px; }

    /* ---------- Team — 2 per row ---------- */
    .grid.grid-4:has(.team-card) {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .grid-bordered .grid-4:has(.team-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .team-card { padding: 16px 12px; }
    .team-card::before { height: 70px; }
    .team-photo { width: 84px; height: 84px; margin-bottom: 12px; border-width: 2px; }
    .team-card h3 { font-size: 14px; }
    .team-role { font-size: 10px; margin-bottom: 8px; }
    .team-bio { font-size: 11.5px; -webkit-line-clamp: 2; min-height: 34px; margin: 6px 0 10px; }
    .team-contact { gap: 4px; margin-bottom: 8px; }
    .team-contact-btn { padding: 6px 9px; min-height: 30px; font-size: 10.5px; }
    .team-contact-btn i { font-size: 11px; }
    .team-social a { width: 28px; height: 28px; font-size: 11px; }

    /* ---------- Testimonials ---------- */
    .testimonial-track { gap: 14px; padding-bottom: 22px; }
    .testimonial-card { flex: 0 0 85vw; max-width: 320px; padding: 24px; }
    .testimonial-text { font-size: 14px; }

    /* ---------- Grids single column ---------- */
    .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 14px; }
    .blog-layout, .contact-layout, .detail-layout { grid-template-columns: 1fr; gap: 22px; }
    .blog-sidebar { display: flex; flex-direction: column; gap: 14px; }

    /* ---------- Blog list ---------- */
    .blog-list-item { grid-template-columns: 1fr; border-radius: 16px; }
    .blog-list-image { min-height: 190px; aspect-ratio: 16/9; }
    .blog-list-image img { object-fit: contain; max-height: 260px; }
    .blog-list-body { padding: 18px; }
    .blog-list-body h3 { font-size: 16px; }
    .blog-list-body p { font-size: 13px; }

    /* ---------- Filter bar ---------- */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 10px;
    }
    .search-form { min-width: 100%; }
    .cat-tabs {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 30px;
    }

    /* ---------- Page hero ---------- */
    .page-hero { padding: 44px 0 36px; text-align: center; }
    .page-hero h1 { font-size: 24px; }
    .page-hero p { font-size: 14px; }
    .page-hero-sm { padding: 36px 0 26px; }
    .breadcrumbs { justify-content: center; }
    .breadcrumbs ol { font-size: 12px; justify-content: center; }

    /* ---------- Contact ---------- */
    .contact-cards { grid-template-columns: 1fr; }
    .contact-form { padding: 18px; }

    /* ---------- Forms ---------- */
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* ---------- Flash ---------- */
    .flash-container { right: 12px; left: 12px; max-width: none; top: 70px; }

    /* ---------- Floating buttons ---------- */
    .floating-contact {
        bottom: calc(var(--mobile-nav-h) + 16px + var(--safe-bottom));
        right: 14px;
        gap: 10px;
    }
    .fc-btn { width: 48px; height: 48px; font-size: 19px; }

    /* ---------- Footer ---------- */
    .site-footer { padding: 50px 0 0; }
    .footer-cta {
        padding: 24px 20px;
        margin-bottom: 36px;
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: var(--r-xl);
    }
    .footer-cta h3 { font-size: 19px; }
    .footer-cta-form {
        flex-direction: column;
        border-radius: var(--r-lg);
        padding: 10px;
        gap: 8px;
        max-width: 480px;
        margin: 0 auto;
    }
    .footer-cta-form input {
        padding: 12px 16px;
        border-radius: var(--r-md);
        background: rgba(255,255,255,.06);
    }
    .footer-cta-form button { padding: 13px 20px; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 18px 0; }
    .footer-legal { justify-content: center; }

    /* ---------- Pagination ---------- */
    .pagination-wrap { margin-top: 32px; }
    .pagination { gap: 4px; }
    .pagination .page-link { min-width: 40px; height: 40px; font-size: 13px; padding: 0 10px; }

    /* ---------- Empty state ---------- */
    .empty-state { padding: 50px 20px; }
    .empty-state i { font-size: 44px; }
    .empty-state h3 { font-size: 17px; }
    .empty-state p { font-size: 13.5px; }

    /* ---------- Disable heavy 3D on mobile ---------- */
    .service-card:hover,
    .team-card:hover,
    .company-card:hover,
    .blog-card:hover,
    .feature-card:hover,
    .director-card:hover,
    .intro-image:hover {
        transform: none !important;
    }
    .team-card:hover .team-photo { transform: scale(1.05) !important; }
    .service-card:hover .service-image img,
    .blog-card:hover .blog-image img { transform: none; }
}

/* ============================================================
   SMALL PHONES (max 480px)
   ============================================================ */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .section { padding: 36px 0; }
    .section-head h2 { font-size: 21px; }
    .section-head .eyebrow { font-size: 10.5px; padding: 5px 12px; }
    .slide-title { font-size: 26px; }
    .slide-desc { font-size: 13.5px; }
    .slide { padding: 30px 0 60px !important; }

    .grid.grid-4:has(.team-card) { grid-template-columns: 1fr; }
    .grid-bordered .grid-4:has(.team-card) { grid-template-columns: 1fr !important; }
    .team-photo { width: 100px; height: 100px; }
    .team-contact { flex-direction: column; width: 100%; gap: 6px; }
    .team-contact-btn { width: 100%; justify-content: center; }

    .director-card { padding: 22px 16px; gap: 20px; }
    .director-photo img { max-height: 340px; }
    .director-body h3 { font-size: 20px; }

    .service-image { min-height: 160px; max-height: 240px; }
    .service-image img { max-height: 240px; }
    .blog-image { min-height: 160px; max-height: 240px; }
    .blog-image img { max-height: 240px; }
    .intro-image img { max-height: 260px; }

    .service-body, .blog-body, .feature-card { padding: 16px; }
    .testimonial-card { flex: 0 0 85vw; padding: 18px; }

    .btn { font-size: 13.5px; padding: 11px 20px; min-height: 46px; }
    .btn-lg { padding: 14px 24px; font-size: 14.5px; min-height: 50px; }

    .fc-btn { width: 44px; height: 44px; font-size: 18px; }

    .page-hero h1 { font-size: 21px; }
    .page-hero p { font-size: 13px; }

    .pagination .page-link { min-width: 36px; height: 36px; font-size: 12.5px; }

    .header-inner { padding: 0 12px; }
    .site-logo { font-size: 15px; }
    .site-logo .logo-mark { width: 32px; height: 32px; font-size: 14px; }
    .site-logo img { height: 28px; max-width: 110px; }
}

/* ============================================================
   WIDE SCREEN (min 1400px)
   ============================================================ */
@media (min-width: 1400px) {
    :root { --container: 1320px; }
    .section { padding: 80px 0; }
    .grid { gap: 24px; }
}

@media (min-width: 1800px) {
    :root { --container: 1400px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .service-icon,
    .feature-icon,
    .feature-strip-icon { animation: none; }
}

/* ============================================================
   SAFE AREA (Notched phones)
   ============================================================ */
@supports (padding-top: env(safe-area-inset-top)) {
    @media (max-width: 991px) {
        .site-header {
            padding-top: env(safe-area-inset-top, 0px);
        }
    }
}

/* ============================================================
   SCROLL BAR STYLING (desktop)
   ============================================================ */
@media (min-width: 992px) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: var(--ink-100); }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--brand-500), var(--cyan-500));
        border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, var(--brand-600), var(--cyan-600));
    }
}