/* MINDFLOW_PARTNERS_V2_START
   Страница партнёров. Типографика, ритм секций и карточки повторяют
   язык продуктовых страниц (messenger-hub): крупные плотные заголовки,
   чередование светлых и тёмных секций, логотипы на белых плашках. */

.pt-page {
    overflow: hidden;
    color: #151a2d;
    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(9, 165, 212, .13),
            transparent 27%
        ),
        #fff;
}

.pt-page em {
    color: #09a5d4;
    font-style: normal;
}

/* ── Hero ───────────────────────────────────────────── */

.pt-hero {
    max-width: 1440px;
    margin: auto;
    padding:
        clamp(54px, 7vw, 105px)
        clamp(24px, 6vw, 96px)
        clamp(60px, 7vw, 100px);
}

.pt-hero-label {
    display: block;
    margin-bottom: 26px;
    color: #09a5d4;
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pt-hero h1 {
    max-width: 1040px;
    margin: 0 0 27px;
    font-size: clamp(44px, 5.4vw, 82px);
    line-height: .98;
    letter-spacing: -.06em;
}

.pt-hero > p {
    max-width: 780px;
    margin: 0;
    color: #67748b;
    font-size: clamp(17px, 1.35vw, 22px);
    line-height: 1.7;
}

.pt-hero-strip {
    display: grid;
    gap: 14px;
    margin-top: 44px;
}

.pt-strip-label {
    color: #7b8498;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pt-strip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pt-strip-item {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    padding: 10px 20px;
    border: 1px solid #dde4ee;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 24px rgba(19, 24, 63, .05);
}

/* Логотипы выравниваются по оптической площади, а не по высоте:
   пропорции у вордмарков разные (от 2.8:1 у UIS до 9:1 у Манго),
   и общее ограничение по высоте делало бы широкие логотипы мелкими. */

.pt-strip-item img {
    width: auto;
    height: 25px;
    object-fit: contain;
}

.pt-strip-item img[src*="uis"] { height: 29px; }
.pt-strip-item img[src*="sipuni"] { height: 28px; }
.pt-strip-item img[src*="chatapp"] { height: 24px; }
.pt-strip-item img[src*="wazzup"] { height: 24px; }
.pt-strip-item img[src*="bitrix24"] { height: 22px; }
.pt-strip-item img[src*="rostelecom"] { height: 25px; }
.pt-strip-item img[src*="mango"] { height: 16px; }

/* ── Секции ─────────────────────────────────────────── */

.pt-section {
    padding:
        clamp(85px, 10vw, 150px)
        clamp(24px, 6vw, 96px);
}

.pt-heading {
    display: grid;
    grid-template-columns:
        minmax(145px, .27fr)
        minmax(0, 1fr);
    gap: clamp(35px, 7vw, 105px);
    max-width: 1440px;
    margin: 0 auto 60px;
}

.pt-heading > span {
    color: #09a5d4;
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pt-heading h2 {
    max-width: 1040px;
    margin: 0;
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.pt-heading p {
    max-width: 850px;
    margin: 25px 0 0;
    color: #69758b;
    font-size: 18px;
    line-height: 1.75;
}

/* ── Карточки партнёров ─────────────────────────────── */

.pt-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(330px, 1fr));
    gap: 18px;
    max-width: 1440px;
    margin: auto;
}

.pt-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: clamp(29px, 3.3vw, 45px);
    border: 1px solid #e2e8f2;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(19, 24, 63, .05);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.pt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(19, 24, 63, .1);
}

.pt-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 204px;
    max-width: 100%;
    height: 78px;
    padding: 0 18px;
    border: 1px solid #e2e8f2;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(19, 24, 63, .07);
}

/* Высота подобрана под пропорции каждого вордмарка, чтобы логотипы
   имели одинаковый визуальный вес. */

.pt-plate img {
    width: auto;
    height: 30px;
    max-width: 100%;
    object-fit: contain;
}

.pt-plate img[src*="uis"] { height: 34px; }
.pt-plate img[src*="sipuni"] { height: 33px; }
.pt-plate img[src*="chatapp"] { height: 28px; }
.pt-plate img[src*="wazzup"] { height: 28px; }
.pt-plate img[src*="bitrix24"] { height: 26px; }
.pt-plate img[src*="rostelecom"] { height: 29px; }
.pt-plate img[src*="mango"] { height: 19px; }

.pt-card h3 {
    margin: 40px 0 14px;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.pt-card p {
    margin: 0;
    color: #69758b;
    font-size: 15px;
    line-height: 1.7;
}

/* Единственный партнёр в категории — карточка на всю ширину. */

.pt-grid.pt-solo {
    grid-template-columns: minmax(0, 1fr);
}

.pt-solo .pt-card {
    display: grid;
    grid-template-columns:
        minmax(200px, .32fr)
        minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    min-height: auto;
}

.pt-solo .pt-plate {
    align-self: center;
    justify-self: start;
    width: 248px;
    height: 104px;
}

.pt-solo .pt-plate img {
    height: 34px;
}

.pt-solo .pt-card h3 {
    margin: 0 0 14px;
}

.pt-solo .pt-card p {
    font-size: 17px;
    max-width: 760px;
}

/* ── Тёмная секция ──────────────────────────────────── */

.pt-section.pt-dark {
    color: #fff;
    background:
        radial-gradient(
            circle at 86% 8%,
            rgba(9, 165, 212, .21),
            transparent 30%
        ),
        #13183f;
}

.pt-dark .pt-heading > span {
    color: #4de2ff;
}

.pt-dark .pt-heading p {
    color: rgba(255, 255, 255, .7);
}

.pt-dark .pt-card {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
}

.pt-dark .pt-card:hover {
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.pt-dark .pt-card p {
    color: rgba(255, 255, 255, .7);
}

.pt-dark .pt-plate {
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}

/* ── Финальный блок ─────────────────────────────────── */

.pt-final {
    position: relative;
    overflow: hidden;
    padding:
        clamp(85px, 10vw, 150px)
        clamp(24px, 6vw, 96px);
    color: #fff;
    background:
        radial-gradient(
            circle at 78% 12%,
            rgba(9, 165, 212, .28),
            transparent 34%
        ),
        #0e1535;
}

.pt-final-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: auto;
}

.pt-final h2 {
    max-width: 900px;
    margin: 22px 0 24px;
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.pt-final p {
    max-width: 700px;
    margin: 0 0 38px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.75;
}

.pt-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Адаптив ────────────────────────────────────────── */

@media (max-width: 1050px) {
    .pt-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .pt-solo .pt-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .pt-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pt-card {
        min-height: auto;
    }

    .pt-card h3 {
        margin-top: 30px;
    }
}

/* MINDFLOW_PARTNERS_V2_END */
