.xh-section {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
 
/* Yuqori rang chizig'i */
.xh-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a3a6b 0%, #2d6ecf 50%, #1a3a6b 100%);
    pointer-events: none;
}
 
/* Fon yozuv */
.xh-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(70px, 12vw, 140px);
    color: rgba(26, 58, 107, 0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -2px;
    z-index: 0;
}
 
/* ── Header ─────────────────────────────────────────────────── */
.xh-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}
.xh-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #2d6ecf;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.xh-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #2d6ecf;
    border-radius: 2px;
    flex-shrink: 0;
}
.xh-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    color: #0d1f3c;
    line-height: 1.2;
    margin: 0;
}
.xh-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #2d6ecf;
}
.xh-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eef4ff;
    color: #1a3a6b;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid #c5d9f7;
    white-space: nowrap;
}
 
/* ── Partners grid ──────────────────────────────────────────── */
.xh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}
 
/* ── Partner card ───────────────────────────────────────────── */
.xh-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8faff;
    border: 1px solid #e4edf9;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2),
                border-color 0.25s,
                box-shadow 0.3s;
}
.xh-partner:hover {
    transform: translateY(-7px);
    border-color: #2d6ecf;
    box-shadow: 0 18px 36px rgba(45, 110, 207, 0.14);
    text-decoration: none;
}
 
/* Logo qismi */
.xh-logo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #fff;
    overflow: hidden;
}
.xh-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(25%);
    transition: filter 0.35s;
}
.xh-partner:hover .xh-logo-wrap img {
    filter: grayscale(0%);
}
 
/* Rasm yo'q – initials placeholder */
.xh-no-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: #dce8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a3a6b;
    letter-spacing: -0.5px;
}
 
/* Pastki qism */
.xh-partner-foot {
    width: 100%;
    padding: 8px 10px 10px;
    text-align: center;
    background: #f0f5fd;
    border-top: 1px solid #e0eaf8;
}
.xh-partner-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #1a3a6b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.xh-partner-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    color: #2d6ecf;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap 0.2s;
}
.xh-partner:hover .xh-partner-link {
    gap: 6px;
}
.xh-partner-link .flaticon-next {
    font-size: 11px;
}
 
/* ── Statistika paneli ──────────────────────────────────────── */
.xh-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid #eef2f9;
    position: relative;
    z-index: 2;
}
.xh-stat {
    text-align: center;
}
.xh-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #0d1f3c;
    line-height: 1;
}
.xh-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9badc8;
    margin-top: 4px;
}
.xh-stat-sep {
    width: 1px;
    height: 38px;
    background: #dce8f8;
}
 
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .xh-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
@media (max-width: 768px) {
    .xh-section {
        padding: 60px 0 40px;
    }
    .xh-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .xh-stats {
        gap: 1.2rem;
    }
    .xh-stat-sep {
        display: none;
    }
}
