/* Partners – social impact network showcase */

.v16-pt-hero {
    background: linear-gradient(
        135deg,
        rgba(10, 54, 82, 0.98) 0%,
        rgba(0, 88, 128, 0.94) 38%,
        rgba(18, 72, 98, 0.96) 68%,
        rgba(10, 54, 82, 0.99) 100%
    );
}

.v16-pt-hero::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(102, 214, 231, 0.18) 0%, transparent 36%),
        radial-gradient(circle at 86% 62%, rgba(216, 180, 106, 0.14) 0%, transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(91, 163, 245, 0.08) 0%, transparent 42%);
}

.v16-pt-hero__glass-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(160px, 22vw, 220px);
}

.v16-pt-hero__svg {
    width: 100%;
    max-width: 220px;
    display: block;
    margin: 0 auto;
}

.v16-pt-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 16px);
    margin-top: 1.25rem;
}

.v16-pt-hero__stats > div {
    flex: 1 1 88px;
    min-width: 88px;
    padding: 0.65rem 0.85rem;
    border-radius: calc(var(--tma-radius-md, 18px) - 6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.v16-pt-hero__stats dt {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.v16-pt-hero__stats dd {
    margin: 0.2rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.v16-pt-page {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
    background:
        radial-gradient(circle at 8% 12%, rgba(102, 214, 231, 0.06) 0%, transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(216, 180, 106, 0.05) 0%, transparent 26%),
        linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(240, 246, 250, 0.98) 100%);
}

.v16-pt-intro {
    max-width: 72ch;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.v16-pt-intro p {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    line-height: 1.72;
    color: rgba(10, 54, 82, 0.78);
}

.v16-pt-intro p:last-child {
    margin-bottom: 0;
}

.v16-pt-grid-head {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.v16-pt-grid-head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    color: var(--tma-navy, #0a3652);
}

.v16-pt-grid-head p {
    margin: 0;
    max-width: 62ch;
    color: rgba(10, 54, 82, 0.68);
    line-height: 1.6;
}

.v16-pt-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.v16-pt-card {
    position: relative;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.1rem, 2vw, 1.35rem);
    border-radius: var(--tma-radius-md, 18px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 40px rgba(10, 54, 82, 0.06);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.v16-pt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 214, 231, 0.08) 0%, transparent 48%);
    opacity: 0;
    transition: opacity 260ms ease;
    pointer-events: none;
}

.v16-pt-card:hover,
.v16-pt-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(102, 214, 231, 0.42);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 24px 48px rgba(10, 54, 82, 0.12);
    outline: none;
}

.v16-pt-card:hover::before,
.v16-pt-card:focus-visible::before {
    opacity: 1;
}

.v16-pt-card:nth-child(4n + 1) {
    grid-column: span 6;
}

.v16-pt-card:nth-child(4n + 2) {
    grid-column: span 6;
}

.v16-pt-card--featured {
    grid-column: span 6;
}

.v16-pt-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}

.v16-pt-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(10, 54, 82, 0.72);
    background: rgba(102, 214, 231, 0.14);
    border: 1px solid rgba(102, 214, 231, 0.22);
}

.v16-pt-card__badge--rose {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.18);
    color: rgba(157, 23, 77, 0.82);
}

.v16-pt-card__badge--green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.18);
    color: rgba(21, 128, 61, 0.82);
}

.v16-pt-card__badge--gold {
    background: rgba(216, 180, 106, 0.14);
    border-color: rgba(216, 180, 106, 0.24);
    color: rgba(120, 84, 18, 0.82);
}

.v16-pt-card__external {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(10, 54, 82, 0.08);
    background: rgba(255, 255, 255, 0.8);
    color: rgba(10, 54, 82, 0.45);
    transition: transform 200ms ease, color 200ms ease, background 200ms ease;
}

.v16-pt-card:hover .v16-pt-card__external,
.v16-pt-card:focus-visible .v16-pt-card__external {
    transform: translate(2px, -2px);
    color: rgba(0, 104, 142, 0.9);
    background: rgba(102, 214, 231, 0.12);
}

.v16-pt-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: calc(var(--tma-radius-md, 18px) - 8px);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(10, 54, 82, 0.05);
}

.v16-pt-card__logo img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: saturate(0.92);
    transition: filter 260ms ease, transform 260ms ease;
}

.v16-pt-card:hover .v16-pt-card__logo img,
.v16-pt-card:focus-visible .v16-pt-card__logo img {
    filter: saturate(1);
    transform: scale(1.03);
}

.v16-pt-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tma-navy, #0a3652);
    line-height: 1.3;
}

.v16-pt-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.58;
    color: rgba(10, 54, 82, 0.68);
}

.v16-pt-footer {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(16px, 2.5vw, 24px);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.v16-pt-cta,
.v16-pt-contact {
    padding: clamp(1.25rem, 2.5vw, 1.6rem);
    border-radius: var(--tma-radius-md, 18px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 18px 40px rgba(10, 54, 82, 0.06);
}

.v16-pt-cta {
    background:
        linear-gradient(135deg, rgba(10, 54, 82, 0.97) 0%, rgba(0, 88, 128, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.v16-pt-cta h2,
.v16-pt-contact h2 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
}

.v16-pt-cta p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.62;
    max-width: 52ch;
}

.v16-pt-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    color: rgba(10, 54, 82, 0.92);
    background: linear-gradient(135deg, #d8b46a 0%, #f0d49a 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.v16-pt-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.v16-pt-contact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.v16-pt-contact__avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(102, 214, 231, 0.28);
    box-shadow: 0 8px 20px rgba(10, 54, 82, 0.1);
}

.v16-pt-contact__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v16-pt-contact__name {
    margin: 0 0 0.2rem;
    font-weight: 700;
    color: var(--tma-navy, #0a3652);
}

.v16-pt-contact__role {
    margin: 0 0 0.45rem;
    font-size: 0.86rem;
    color: rgba(10, 54, 82, 0.62);
}

.v16-pt-contact a {
    color: rgba(0, 104, 142, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.v16-pt-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .v16-pt-card,
    .v16-pt-card--featured {
        grid-column: span 6;
    }

    .v16-pt-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .v16-pt-card,
    .v16-pt-card--featured {
        grid-column: span 12;
    }

    .v16-pt-contact {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v16-pt-card,
    .v16-pt-card__logo img,
    .v16-pt-card__external,
    .v16-pt-cta__btn {
        transition: none;
    }
}
