/* =========================================================
   BURSTY — COOPERATION PAGE
   Все стили страницы изолированы.
   UI-kit НЕ переопределяется.
   ========================================================= */


/* =========================================================
   1. BASE
   ========================================================= */

.coop-page {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.coop-page *,
.coop-page *::before,
.coop-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   2. CONTAINER
   ========================================================= */

.coop-page .coop-container {
    width: min(100% - 48px, 1180px);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   3. HERO
   ========================================================= */

.coop-page .coop-hero {
    padding: 48px 0 32px;
}

.coop-page .coop-hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.coop-page .coop-caption {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.coop-page .coop-hero-title {
    max-width: 900px;
    margin: 0 auto;
    line-height: 0.95;
    text-align: center;
}

.coop-page .coop-title-line {
    display: block;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background: var(--accent);
    border-radius: 100px;
}

.coop-page .coop-title-line-lg {
    width: 90px;
    margin-top: 16px;
}

.coop-page .coop-title-line-md {
    width: 60px;
    margin-top: 14px;
}

.coop-page .coop-title-line-sm {
    width: 45px;
    margin-top: 14px;
}

.coop-page .coop-hero-subtitle {
    width: min(100%, 650px);
    margin: 32px auto 0;
    text-align: center;
    line-height: 1.5;
}

.coop-page .coop-hero-button {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}


/* =========================================================
   4. INTRO
   ========================================================= */

.coop-page .coop-intro-section {
    padding: 32px 0 48px;
}

.coop-page .coop-intro-card {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.coop-page .coop-intro-text {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
    line-height: 1.55;
}

.coop-page .coop-intro-highlight {
    margin: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 700;
    line-height: 1.15;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: var(--ls-heading);
}


/* =========================================================
   5. COMMON SECTION
   ========================================================= */

.coop-page .coop-section {
    padding: 72px 0;
}

.coop-page .coop-section-heading {
    margin-bottom: 40px;
}

.coop-page .coop-section-heading-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.coop-page .coop-section-title {
    margin: 0;
    line-height: 1;
}

.coop-page .coop-section-heading-center .coop-section-title {
    text-align: center;
}

.coop-page .coop-section-subtitle {
    max-width: 650px;
    margin: 24px auto 0;
    text-align: center;
    line-height: 1.5;
}


/* =========================================================
   6. CUSTOM GRID
   ========================================================= */

.coop-page .coop-grid {
    display: grid;
    width: 100%;
    margin: 0;
}

.coop-page .coop-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.coop-page .coop-grid-partners {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   7. STANDARD CARDS
   ========================================================= */

.coop-page .coop-card {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.coop-page .coop-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.coop-page .coop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.coop-page .coop-card-body {
    padding: 28px;
}

.coop-page .coop-card-title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.coop-page .coop-card-title-small {
    font-size: var(--fs-h5);
}

.coop-page .coop-card-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* =========================================================
   8. FORMATS
   ========================================================= */

.coop-page .coop-formats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.coop-page .coop-format {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.coop-page .coop-format-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.coop-page .coop-format-content {
    min-width: 0;
}

.coop-page .coop-format-title {
    margin: 2px 0 10px;
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.coop-page .coop-format-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.coop-page .coop-format-highlight {
    margin: 14px 0 0;
    font-weight: 700;
}


/* =========================================================
   9. PARTNERS
   ========================================================= */

.coop-page .coop-partners-heading {
    max-width: 750px;
}

.coop-page .coop-partner-card {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.coop-page .coop-partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.coop-page .coop-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.coop-page .coop-partner-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 28px 24px;
    text-align: center;
}

.coop-page .coop-partner-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin-bottom: 20px;
}

.coop-page .coop-partner-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.coop-page .coop-partner-name {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.coop-page .coop-partner-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.coop-page .coop-partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 7px 12px;
    border-radius: 100px;
    background: var(--accent-alpha-10);
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   10. CTA
   ========================================================= */

.coop-page .coop-cta-section {
    padding: 72px 0 96px;
}

.coop-page .coop-cta {
    width: min(100%, 800px);
    margin: 0 auto;
    padding: 48px;
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        var(--shadow-lg),
        0 0 80px -30px var(--accent-alpha-20);
}

.coop-page .coop-form-wrapper {
    width: 100%;
    margin-top: 36px;
}


/* =========================================================
   11. REVEAL ANIMATION
   ========================================================= */

.coop-page .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.coop-page .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.coop-page .delay-1 {
    transition-delay: 0.08s;
}

.coop-page .delay-2 {
    transition-delay: 0.16s;
}

.coop-page .delay-3 {
    transition-delay: 0.24s;
}

.coop-page .delay-4 {
    transition-delay: 0.32s;
}


/* =========================================================
   12. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .coop-page .coop-container {
        width: min(100% - 40px, 720px);
    }

    .coop-page .coop-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coop-page .coop-grid-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coop-page .coop-section {
        padding: 56px 0;
    }

    .coop-page .coop-hero {
        padding-top: 40px;
    }

}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .coop-page .coop-container {
        width: min(100% - 28px, 520px);
    }

    .coop-page .coop-hero {
        padding: 32px 0 24px;
    }

    .coop-page .coop-hero-title {
        font-size: clamp(36px, 10vw, 54px);
    }

    .coop-page .coop-hero-subtitle {
        margin-top: 24px;
    }

    .coop-page .coop-hero-button {
        margin-top: 24px;
    }

    .coop-page .coop-intro-section {
        padding: 24px 0 32px;
    }

    .coop-page .coop-intro-card {
        padding: 26px 20px;
    }

    .coop-page .coop-intro-highlight {
        font-size: var(--fs-h5);
    }

    .coop-page .coop-section {
        padding: 44px 0;
    }

    .coop-page .coop-section-heading {
        margin-bottom: 28px;
    }

    .coop-page .coop-grid-3,
    .coop-page .coop-grid-partners {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .coop-page .coop-card-body {
        padding: 24px;
    }

    .coop-page .coop-format {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
        padding: 22px;
    }

    .coop-page .coop-format-number {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .coop-page .coop-format-title {
        font-size: var(--fs-h5);
    }

    .coop-page .coop-partner-body {
        padding: 24px 20px;
    }

    .coop-page .coop-cta-section {
        padding: 44px 0 64px;
    }

    .coop-page .coop-cta {
        padding: 28px 20px;
    }

}


/* =========================================================
   14. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 380px) {

    .coop-page .coop-container {
        width: min(100% - 22px, 520px);
    }

    .coop-page .coop-format {
        grid-template-columns: 1fr;
    }

    .coop-page .coop-format-number {
        width: 44px;
        height: 44px;
    }

}