
/* =========================================
   CLIENTS PAGE - R3S
========================================= */

.clients-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0 80px;
    background:
        radial-gradient(circle at 90% 20%, rgba(221, 3, 17, .13), transparent 30%),
        var(--bg-secondary);
}

.clients-hero .container {
    position: relative;
    z-index: 1;
}

.clients-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 12px;
}

.clients-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.clients-breadcrumb a:hover {
    color: var(--r3s-primary);
}

.clients-breadcrumb i {
    font-size: 9px;
}

.clients-hero-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.clients-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(221, 3, 17, .18);
    border-radius: 30px;
    color: var(--r3s-primary);
    background: rgba(221, 3, 17, .07);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.clients-hero h1 {
    margin: 0 0 20px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 55px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.clients-hero h1 span {
    color: var(--r3s-primary);
}

.clients-hero-content > p {
    max-width: 700px;
    margin: 0 auto 27px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

.clients-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--r3s-primary);
    border-radius: 7px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 12px;
    font-weight: 800;
    transition: all .25s ease;
}

.clients-hero-btn:hover {
    color: #fff;
    background: #b8000c;
    border-color: #b8000c;
    transform: translateY(-2px);
}

.clients-hero-decoration {
    position: absolute;
    right: 2%;
    bottom: -65px;
    color: rgba(221, 3, 17, .055);
    font-size: 220px;
    pointer-events: none;
}


/* =========================================
   HIGHLIGHT STRIP
========================================= */

.clients-highlight-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-body);
}

.clients-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.client-highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 10px;
}

.client-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 10px;
    color: var(--r3s-primary);
    background: rgba(221, 3, 17, .09);
    font-size: 20px;
}

.client-highlight-item strong,
.client-highlight-item span {
    display: block;
}

.client-highlight-item strong {
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.client-highlight-item span {
    color: var(--text-muted);
    font-size: 10px;
}


/* =========================================
   CLIENT DIRECTORY
========================================= */

.clients-directory-section {
    padding: 85px 0 95px;
    background: var(--bg-body);
}

.clients-directory-section .section-heading {
    margin-bottom: 38px;
}

.clients-section-label {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--r3s-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.clients-directory-section .section-heading h2 {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(29px, 3.5vw, 40px);
    font-weight: 800;
}

.clients-directory-section .section-heading h2 span {
    color: var(--r3s-primary);
}

.clients-directory-section .section-heading p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}


/* Toolbar */

.clients-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.clients-search {
    display: flex;
    align-items: center;
    width: min(100%, 400px);
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
}

.clients-search > i {
    margin-right: 10px;
    color: var(--r3s-primary);
    font-size: 16px;
}

.clients-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    background: transparent;
    font-size: 12px;
}

.clients-search input::placeholder {
    color: var(--text-muted);
}

.clients-search button {
    display: none;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    font-size: 11px;
    cursor: pointer;
}

.clients-search button.show {
    display: flex;
}

.clients-total {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.clients-total-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 7px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 13px;
    font-weight: 800;
}


/* Logo grid */

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 145px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    background: var(--card-bg);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.client-logo-card:hover {
    z-index: 1;
    border-color: rgba(221, 3, 17, .4);
    transform: translateY(-5px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, .075);
}

.client-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .3s ease;
}

.client-logo-card:hover img {
    transform: scale(1.06);
}


/* No results */

.clients-no-results {
    display: none;
    padding: 55px 20px;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.clients-no-results.show {
    display: block;
}

.clients-no-results > i {
    color: var(--r3s-primary);
    font-size: 32px;
}

.clients-no-results h3 {
    margin: 13px 0 7px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 800;
}

.clients-no-results p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
}


/* =========================================
   PARTNERSHIP CTA
========================================= */

.clients-cta-section {
    padding: 0 0 85px;
    background: var(--bg-body);
}

.clients-cta-box {
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 38px 40px;
    border-radius: 15px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(115deg, #b8000c, #DD0311);
}

.clients-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 13px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 30px;
}

.clients-cta-content {
    flex: 1;
}

.clients-cta-content > span {
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.clients-cta-content h2 {
    margin: 8px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
}

.clients-cta-content p {
    margin: 0;
    color: rgba(255,255,255,.83);
    font-size: 12px;
    line-height: 1.8;
}

.clients-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 13px 19px;
    border: 1px solid #fff;
    border-radius: 7px;
    color: var(--r3s-primary);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: all .25s ease;
}

.clients-cta-btn:hover {
    color: #fff;
    background: transparent;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {
    .clients-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .clients-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .clients-highlight-grid {
        gap: 10px;
    }

    .client-highlight-item {
        justify-content: flex-start;
    }

    .clients-cta-box {
        flex-wrap: wrap;
    }

    .clients-cta-btn {
        margin-left: 88px;
    }
}

@media (max-width: 767px) {
    .clients-hero {
        padding: 45px 0 55px;
    }

    .clients-hero h1 {
        font-size: 35px;
        letter-spacing: -.8px;
    }

    .clients-hero-content > p {
        font-size: 13px;
    }

    .clients-hero-decoration {
        right: -40px;
        bottom: -65px;
        font-size: 140px;
    }

    .clients-highlight-section {
        padding: 20px 0;
    }

    .clients-highlight-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .client-highlight-item {
        padding: 6px 0;
    }

    .clients-directory-section {
        padding: 60px 0 65px;
    }

    .clients-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .clients-search {
        width: 100%;
    }

    .clients-total {
        justify-content: flex-end;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .client-logo-card {
        height: 125px;
        padding: 15px;
    }

    .clients-cta-section {
        padding-bottom: 60px;
    }

    .clients-cta-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        padding: 27px 22px;
    }

    .clients-cta-content h2 {
        font-size: 22px;
    }

    .clients-cta-btn {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .clients-logo-grid {
        gap: 8px;
    }

    .client-logo-card {
        height: 110px;
        padding: 11px;
    }

    .clients-hero h1 {
        font-size: 30px;
    }
}
