/* ── Hero ──────────────────────────────────────────────────── */
.clients-hero {
    background:
        radial-gradient(ellipse at top left,     rgb(13 143 208 / 18%) 0%, transparent 45%),
        radial-gradient(ellipse at top right,    rgb(217 111 13 / 20%) 0%, transparent 45%),
        radial-gradient(ellipse at bottom left,  rgb(11 101 147 / 12%) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgb(131 67 6 / 14%)   0%, transparent 40%),
        linear-gradient(135deg, var(--dark-bg-primary) 0%, var(--dark-bg-secondary) 30%, #1a2030 60%, var(--dark-bg-primary) 100%);
    padding: 80px 0 88px;
    text-align: center;
    position: relative; overflow: hidden;
}
.clients-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 22%, rgba(13,159,232,.10), transparent),
        radial-gradient(1px 1px at 88% 28%, rgba(237,131,33,.08),  transparent),
        radial-gradient(1px 1px at 22% 78%, rgba(13,159,232,.06),  transparent),
        radial-gradient(1px 1px at 72% 72%, rgba(237,131,33,.09),  transparent);
    background-size: 450px 350px;
    animation: clHeroFloat 22s ease-in-out infinite;
    pointer-events: none;
}
@keyframes clHeroFloat {
    0%,100% { transform: translateX(0) translateY(0); }
    33%      { transform: translateX(-8px) translateY(-5px); }
    66%      { transform: translateX(6px) translateY(-9px); }
}
.clients-hero .hero-content { position: relative; z-index: 2; }
.clients-hero .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 50px; padding: 8px 20px; margin-bottom: 24px;
    font-size: 14px; font-weight: 500; color: var(--dark-text-secondary);
    letter-spacing: .5px; text-transform: uppercase;
}
.clients-hero .hero-title {
    font-size: 3.5rem; font-weight: 400;
    color: var(--dark-text-primary); line-height: 1.1; margin-bottom: 20px;
}
.clients-hero .hero-highlight {
    font-weight: 500;
    background: linear-gradient(135deg, #0d9fe8 0%, #ed8321 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.clients-hero .hero-description {
    font-size: 17px; color: var(--dark-text-secondary);
    max-width: 520px; margin: 0 auto 44px; line-height: 1.65;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.tg-breadcrumb {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 20px; flex-wrap: wrap; justify-content: center;
}
.tg-breadcrumb a { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.tg-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.tg-breadcrumb .tg-bc-sep { color: rgba(255,255,255,.25); }
.tg-breadcrumb .tg-bc-current { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85); }

/* Stats strip removed */

/* ── Clients Section ───────────────────────────────────────── */
.clients-section { padding: 56px 0 80px; background: #fff; }

/* ── Filter pills ──────────────────────────────────────────── */
.cl-filter {
    display: flex; align-items: center;
    flex-wrap: nowrap; gap: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.cl-filter::-webkit-scrollbar { display: none; }
.cl-pill {
    padding: 7px 18px; border-radius: 100px;
    border: 1.5px solid #dee2e6; background: transparent;
    font-family: 'Manrope', sans-serif;
    font-size: 13px; font-weight: 600; color: #6c757d;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: border-color .18s, color .18s, background .18s;
}
.cl-pill:hover  { border-color: #0d9fe8; color: #0d9fe8; }
.cl-pill.active { background: #0d9fe8; border-color: #0d9fe8; color: #fff; }

/* ── Logo grid — divider style ─────────────────────────────── */
.cl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e9ecef;
    border-left: 1px solid #e9ecef;
}
.cl-logo-cell {
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 32px;
    cursor: pointer;
    transition: background .2s ease;
    position: relative;
}
.cl-logo-cell:hover { background: #f8f9fa; }
.cl-logo-cell.cl-hidden { display: none; }

.cl-logo-inner {
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 160px; height: 56px;
}
.cl-logo-inner img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(.7);
    transition: filter .35s ease;
}
.cl-logo-cell:hover .cl-logo-inner img {
    filter: grayscale(0) opacity(1);
}

/* Touch devices — no hover support, show full colour always */
@media (hover: none) {
    .cl-logo-inner img {
        filter: grayscale(0) opacity(1);
    }
}

/* Empty state */
.cl-empty { display: none; text-align: center; padding: 80px 20px; }
.cl-empty.visible { display: block; }
.cl-empty i { font-size: 40px; color: #dee2e6; display: block; margin-bottom: 12px; }
.cl-empty p { font-size: 14px; color: #adb5bd; margin: 0; }

/* CTA — uses about.css classes: cta-section, cta-title, cta-description, cta-buttons, cta-button, cta-button-secondary */

/* ── Backdrop ──────────────────────────────────────────────── */
.cl-backdrop {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(10,16,28,.55);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .32s ease, visibility .32s ease;
}
.cl-backdrop.open { opacity: 1; visibility: visible; }

/* ── Offcanvas ─────────────────────────────────────────────── */
.cl-offcanvas {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 480px; max-width: 100vw;
    background: #fff; z-index: 950;
    transform: translateX(100%);
    transition: transform .36s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: -8px 0 48px rgba(0,0,0,.14);
}
.cl-offcanvas.open { transform: translateX(0); }

/* Close btn */
.cl-oc-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    color: #495057; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12);
    transition: background .18s, color .18s;
}
.cl-oc-close:hover { background: #fff; color: #0f1419; }

/* Scroll area */
.cl-oc-scroll {
    flex: 1; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #dee2e6 transparent;
}
.cl-oc-scroll::-webkit-scrollbar { width: 4px; }
.cl-oc-scroll::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 2px; }

/* Cover image */
.cl-oc-cover {
    width: 100%; height: 240px;
    overflow: hidden; background: #e4e8ed; flex-shrink: 0;
}
.cl-oc-cover img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Header */
.cl-oc-header {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 28px 0;
}
.cl-oc-logo {
    width: 80px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center;
}
.cl-oc-logo img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    filter: grayscale(1); opacity: .7;
}
.cl-oc-name {
    font-size: 1.2rem; font-weight: 700; color: #0f1419; margin: 0 0 4px;
}
.cl-oc-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: #adb5bd; font-weight: 500;
}
.cl-oc-industry { color: #0d9fe8; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.cl-oc-dot      { color: #dee2e6; }

/* Divider */
.cl-oc-divider { border: none; border-top: 1px solid #f0f2f5; margin: 20px 28px; }

/* Sections */
.cl-oc-section { padding: 0 28px 20px; }
.cl-oc-section-title {
    font-size: 11px; font-weight: 700; color: #adb5bd;
    text-transform: uppercase; letter-spacing: .7px;
    margin: 0 0 12px;
}
.cl-oc-desc {
    font-size: 14px; color: #495057; line-height: 1.72; margin: 0;
}

/* Website row */
.cl-oc-row {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 12px 28px; border-bottom: 1px solid #f8f9fa;
}
.cl-oc-row-label { font-size: 13px; color: #6c757d; font-weight: 600; }
.cl-oc-link {
    font-size: 13px; color: #0d9fe8;
    text-decoration: none; font-weight: 500;
    transition: color .18s;
    max-width: 240px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.cl-oc-link:hover { color: #0b8fd4; text-decoration: underline; }

/* Service pills */
.cl-oc-pills {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.cl-oc-pill {
    padding: 6px 14px; border-radius: 100px;
    border: 1.5px solid #e9ecef;
    font-size: 12px; font-weight: 600; color: #495057;
    background: #f8f9fa;
}

/* Project / case study */
.cl-oc-project-img {
    width: 100%; border-radius: 10px;
    overflow: hidden; background: #e4e8ed;
    margin-bottom: 14px;
}
.cl-oc-project-img img {
    width: 100%; display: block;
    object-fit: cover; height: auto;
    transition: opacity .3s;
}
.cl-oc-proj-industry {
    display: block; font-size: 12px; font-weight: 600;
    color: #adb5bd; text-transform: uppercase;
    letter-spacing: .5px; margin-bottom: 10px;
}
.cl-oc-proj-text {
    font-size: 14px; color: #495057;
    line-height: 1.72; margin: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .cl-grid { grid-template-columns: repeat(3, 1fr); }
    .clients-hero .hero-title { font-size: 2.6rem; }
    .cl-offcanvas { width: 100vw; }
    .cs-stat { padding: 0 20px; }
    .cl-logo-cell { padding: 24px 16px; }
}
@media (max-width: 480px) {
    .clients-hero .hero-title { font-size: 2rem; }
    .clients-hero { padding: 60px 0 68px; }
    .clients-stats { padding: 16px 20px; gap: 0; }
    .cs-num { font-size: 1.6rem; }
    .cl-cta-title { font-size: 1.8rem; }
}
section.cta-section {
    background: linear-gradient(135deg, rgb(13 159 232 / 8%) 0%, rgb(237 131 33 / 8%) 100%);
}