/* ═══ Partners page — premium dark layout ═══ */
.bn-partners--premium {
    --prt-bg: #06070c;
    --prt-surface: rgba(14, 16, 24, 0.9);
    --prt-border: rgba(255, 255, 255, 0.08);
    --prt-text-muted: rgba(255, 255, 255, 0.58);
    background: var(--prt-bg);
    color: #fff;
}

/* Hero */
.bn-prt-hero {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.75rem, 5.5vw, 4rem);
    overflow: hidden;
    text-align: center;
}

.bn-prt-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bn-prt-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(var(--bn-primary-rgb), 0.12), transparent 65%),
        radial-gradient(ellipse 35% 30% at 80% 40%, rgba(var(--bn-primary-rgb), 0.08), transparent 60%);
}

.bn-prt-hero__map {
    position: absolute;
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
    width: min(780px, 98vw);
    opacity: 0.58;
    mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 18%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 42%, #000 18%, transparent 74%);
}

.bn-prt-hero__map .bn-svc-globe__svg {
    width: 100%;
    height: auto;
}

.bn-prt-hero__map-img {
    width: 100%;
    height: auto;
    display: block;
}

.bn-prt-hero__glow {
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--bn-primary-rgb), 0.45), transparent);
    box-shadow: 0 0 24px rgba(var(--bn-primary-rgb), 0.35);
}

.bn-prt-hero__inner {
    position: relative;
    z-index: 1;
}

.bn-prt-hero__content {
    max-width: 44rem;
    margin: 0 auto;
}

.bn-prt-hero__crumb {
    justify-content: center;
    margin-bottom: 1.25rem;
}

.bn-partners--premium .bn-breadcrumb,
.bn-partners--premium .bn-breadcrumb a {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.8125rem;
}

.bn-partners--premium .bn-breadcrumb a:hover {
    color: var(--bn-primary);
}

.bn-prt-hero__eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bn-primary);
}

.bn-prt-hero__title {
    margin: 0 0 1rem;
    font-family: var(--bn-display);
    font-size: clamp(2.1rem, 4.5vw, 3.15rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #fff;
}

.bn-prt-hero__title .bn-text-red {
    color: var(--bn-primary);
}

.bn-prt-hero__lead {
    margin: 0 auto;
    max-width: 52ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--prt-text-muted);
}

/* Main */
.bn-prt-main {
    padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.bn-prt-showcase {
    position: relative;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.bn-partners--premium .bn-prt-showcase::before,
.bn-partners--premium .bn-prt-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(2rem, 7vw, 4.5rem);
    z-index: 3;
    pointer-events: none;
}

.bn-partners--premium .bn-prt-showcase::before {
    left: 0;
    background: linear-gradient(90deg, var(--prt-bg) 0%, transparent 100%);
}

.bn-partners--premium .bn-prt-showcase::after {
    right: 0;
    background: linear-gradient(270deg, var(--prt-bg) 0%, transparent 100%);
}

.bn-prt-cat-swiper {
    overflow: visible;
    padding: 0.5rem 0 1rem;
}

.bn-prt-cat-swiper .swiper-wrapper {
    align-items: stretch;
}

.bn-prt-cat-swiper .swiper-slide {
    width: min(328px, 84vw);
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Category cards — premium glass panels */
.bn-prt-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 360px;
    padding: 1.65rem 1.5rem 1.45rem;
    border-radius: 22px;
    background:
        linear-gradient(165deg, rgba(24, 26, 38, 0.96) 0%, rgba(12, 14, 22, 0.94) 52%, rgba(20, 10, 14, 0.95) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 20px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        box-shadow 0.45s ease;
}

.bn-prt-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 40%, rgba(var(--bn-primary-rgb), 0.22) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.4s ease;
}

.bn-prt-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--bn-primary-rgb), 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 28px 60px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(var(--bn-primary-rgb), 0.14);
}

.bn-prt-cat-card:hover::before {
    opacity: 1;
}

.bn-prt-cat-card__shine {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.bn-prt-cat-card__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(var(--bn-primary-rgb), 0.1), transparent 38%),
        radial-gradient(circle at 12% 88%, rgba(var(--bn-primary-rgb), 0.06), transparent 32%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.bn-prt-cat-card__accent {
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--bn-primary-rgb), 0.55), transparent);
    box-shadow: 0 0 16px rgba(var(--bn-primary-rgb), 0.45);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.bn-prt-cat-card:hover .bn-prt-cat-card__accent {
    opacity: 1;
    box-shadow: 0 0 24px rgba(var(--bn-primary-rgb), 0.65);
}

.bn-prt-cat-card__glow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bn-primary), transparent);
    box-shadow: 0 0 24px rgba(var(--bn-primary-rgb), 0.85);
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.bn-prt-cat-card:hover .bn-prt-cat-card__glow {
    opacity: 1;
    box-shadow: 0 0 32px rgba(var(--bn-primary-rgb), 1);
}

.bn-prt-cat-card__head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.bn-prt-cat-card__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(var(--bn-primary-rgb), 0.22), rgba(var(--bn-primary-rgb), 0.08));
    border: 1px solid rgba(var(--bn-primary-rgb), 0.38);
    color: var(--bn-primary);
    font-size: 1.2rem;
    box-shadow:
        0 0 22px rgba(var(--bn-primary-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}

.bn-prt-cat-card:hover .bn-prt-cat-card__icon {
    transform: scale(1.06);
    background: linear-gradient(145deg, var(--bn-primary), #c41e28);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 10px 26px rgba(var(--bn-primary-rgb), 0.45),
        0 0 0 4px rgba(var(--bn-primary-rgb), 0.12);
}

.bn-prt-cat-card__icon i {
    display: block;
    line-height: 1;
}

.bn-prt-cat-card__badge {
    flex-shrink: 0;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bn-prt-cat-card__body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bn-prt-cat-card__title {
    margin: 0 0 0.65rem;
    font-family: var(--bn-display);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.025em;
    color: #fff;
    min-height: 2.75rem;
}

.bn-prt-cat-card__text {
    margin: 0;
    font-size: 0.84375rem;
    line-height: 1.68;
    color: var(--prt-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.5rem;
}

.bn-prt-cat-card__foot {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 1.1rem;
    min-height: 6.25rem;
}

.bn-prt-cat-card__foot-label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.bn-prt-cat-card__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.5rem;
    min-height: 4.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bn-prt-cat-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
    max-width: 7.5rem;
    height: 2.2rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(15, 20, 35, 0.04);
    text-decoration: none;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.bn-prt-cat-card__logo:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(var(--bn-primary-rgb), 0.12),
        0 0 20px rgba(var(--bn-primary-rgb), 0.12);
}

.bn-prt-cat-card__logo img {
    max-width: 5rem;
    max-height: 1.35rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.bn-prt-cat-card__logo:hover img {
    transform: scale(1.04);
}

.bn-prt-cat-card__word {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #12141f;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 6.5rem;
}

/* Carousel controls */
.bn-partners--premium .bn-prt-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.bn-partners--premium .bn-prt-control {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bn-partners--premium .bn-prt-control:hover {
    color: #fff;
    border-color: rgba(var(--bn-primary-rgb), 0.4);
    background: rgba(var(--bn-primary-rgb), 0.12);
}

.bn-partners--premium .bn-prt-control.is-active,
.bn-partners--premium .bn-prt-control--pause:not(.is-paused) {
    color: #fff;
    border-color: rgba(var(--bn-primary-rgb), 0.55);
    background: rgba(var(--bn-primary-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--bn-primary-rgb), 0.35);
}

.bn-partners--premium .bn-prt-control:active {
    transform: scale(0.94);
}

/* Metrics bar */
.bn-prt-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(0.75rem, 1.5vw, 1.25rem);
    border-radius: 18px;
    background: linear-gradient(165deg, #0c0e16 0%, #08090f 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.bn-prt-metrics::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bn-primary), transparent);
    box-shadow: 0 0 22px rgba(var(--bn-primary-rgb), 0.8);
}

.bn-prt-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0.35rem;
    position: relative;
}

.bn-prt-metric--divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.bn-prt-metric__icon {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.55rem;
    border-radius: 50%;
    border: 1px solid rgba(var(--bn-primary-rgb), 0.4);
    background: rgba(var(--bn-primary-rgb), 0.1);
    color: var(--bn-primary);
    font-size: 0.95rem;
    box-shadow: 0 0 14px rgba(var(--bn-primary-rgb), 0.2);
}

.bn-prt-metric__icon i {
    display: block;
    line-height: 1;
}

.bn-prt-metric__value {
    font-family: var(--bn-display);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
}

.bn-prt-metric__label {
    margin-top: 0.3rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.35;
}

.bn-prt-metric__sub {
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bn-primary);
    margin-top: 0.1rem;
}

/* Footnote */
.bn-partners--premium .bn-prt-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.9rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--prt-text-muted);
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bn-partners--premium .bn-prt-footnote i {
    color: var(--bn-primary);
    font-size: 1rem;
}

.bn-partners--premium .bn-empty-state {
    color: var(--prt-text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
    .bn-prt-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 0;
    }

    .bn-prt-metric--divider::after {
        display: none;
    }

    .bn-prt-metric:nth-child(odd):not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 640px) {
    .bn-prt-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .bn-prt-metric:nth-child(odd) {
        border-right: none;
    }

    .bn-prt-cat-swiper .swiper-slide {
        width: min(300px, 90vw);
    }

    .bn-prt-cat-card {
        min-height: 340px;
        padding: 1.5rem 1.35rem 1.35rem;
    }

    .bn-prt-cat-card__text {
        -webkit-line-clamp: 5;
        min-height: 5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-prt-cat-card {
        transition: none;
    }
}
