/* ============================================
   СТРАНИЦА СОТРУДНИЧЕСТВА
   Светлый, элегантный дизайн
   ============================================ */

/* --- ГЕРОЙ-СЕКЦИЯ --- */
.cooperation-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #FFF4F4 0%, #FFFFFF 100%);
    overflow: hidden;
}

.cooperation-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(224,104,120,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cooperation-hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.cooperation-hero-content {
    flex: 1;
}

.cooperation-hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    color: #80001C;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 24px;
}

.cooperation-hero-text {
    font-size: 18px;
    line-height: 1.7;
    color: #A44056;
    margin-bottom: 32px;
    font-family: 'MontserratRegular', sans-serif;
    max-width: 90%;
}

.cooperation-hero-image {
    flex: 0.9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.08);
}

.cooperation-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.cooperation-hero-image:hover img {
    transform: scale(1.02);
}

/* --- СЕКЦИЯ ФОРМАТОВ ПАРТНЁРСТВА --- */
.formats-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #E06878;
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'MontserratSemiBold', sans-serif;
}

.section-header h2 {
    font-size: 42px;
    color: #80001C;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #A44056;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'MontserratRegular', sans-serif;
    line-height: 1.6;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.format-card {
    background: #FFF4F4;
    border-radius: 24px;
    padding: 36px 32px;
    transition: all 0.3s ease;
    border: 1px solid rgba(224,104,120,0.1);
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #E06878, #CE3859);
    transition: width 0.3s ease;
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.format-card:hover::before {
    width: 6px;
}

.format-icon {
    width: 56px;
    height: 56px;
    background: rgba(224,104,120,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.format-icon svg {
    width: 28px;
    height: 28px;
    color: #E06878;
}

.format-card h3 {
    font-size: 24px;
    color: #80001C;
    font-family: 'MontserratSemiBold', sans-serif;
    margin-bottom: 12px;
}

.format-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #A44056;
    font-family: 'MontserratRegular', sans-serif;
}

/* --- СЕКЦИЯ ФОРМЫ --- */
.cooperation-form-section {
    padding: 80px 0;
    background: #FFF4F4;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-container h3 {
    font-size: 32px;
    color: #80001C;
    text-align: center;
    margin-bottom: 12px;
    font-family: 'MontserratBold', sans-serif;
}

.form-container > p {
    text-align: center;
    color: #A44056;
    margin-bottom: 32px;
    font-family: 'MontserratRegular', sans-serif;
}

/* Стили для WPForms */
.cooperation-form-section .wpforms-container {
    margin: 0 !important;
}

.cooperation-form-section .wpforms-field {
    padding: 0 0 20px 0 !important;
}

.cooperation-form-section .wpforms-field-label {
    font-family: 'MontserratSemiBold', sans-serif !important;
    font-size: 14px !important;
    color: #80001C !important;
    margin-bottom: 8px !important;
}

.cooperation-form-section .wpforms-field-input {
    border: 1px solid #EFD7D7 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-family: 'MontserratRegular', sans-serif !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.cooperation-form-section .wpforms-field-input:focus {
    border-color: #E06878 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(224,104,120,0.1) !important;
}

.cooperation-form-section textarea.wpforms-field-input {
    border-radius: 16px !important;
    resize: vertical !important;
}

.cooperation-form-section .wpforms-submit {
    background: linear-gradient(45deg, #ff0055, #ff5e62) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-family: 'MontserratSemiBold', sans-serif !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.cooperation-form-section .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.3);
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: #A44056;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #EFD7D7;
}

.form-note a {
    color: #E06878;
    text-decoration: underline;
}

.form-note a:hover {
    color: #CE3859;
}

/* --- АДАПТАЦИЯ --- */
@media (max-width: 992px) {
    .cooperation-hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .cooperation-hero-content h1 {
        font-size: 42px;
    }
    
    .cooperation-hero-text {
        max-width: 100%;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cooperation-hero {
        padding: 60px 0;
    }
    
    .cooperation-hero-content h1 {
        font-size: 34px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .form-container h3 {
        font-size: 26px;
    }
    
    .format-card {
        padding: 28px 24px;
    }
    
    .format-card h3 {
        font-size: 20px;
    }
}

/* ============================================
   УЛУЧШЕННАЯ МОБИЛЬНАЯ ВЕРСИЯ
   Добавлено: адаптивный hero, карточки, форма WPForms, защита от горизонтального скролла
   ============================================ */
.cooperation-hero,
.formats-section,
.cooperation-form-section {
    overflow-x: clip;
}

.cooperation-hero-image,
.cooperation-hero-image img,
.cooperation-form-section .form-container,
.formats-grid,
.format-card {
    max-width: 100%;
}

.cooperation-form-section .wpforms-container,
.cooperation-form-section .wpforms-form,
.cooperation-form-section .wpforms-field,
.cooperation-form-section .wpforms-field-row,
.cooperation-form-section .wpforms-field-row-block,
.cooperation-form-section .wpforms-field input,
.cooperation-form-section .wpforms-field textarea,
.cooperation-form-section .wpforms-field select {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.cooperation-form-section .wpforms-field input,
.cooperation-form-section .wpforms-field textarea,
.cooperation-form-section .wpforms-field select {
    width: 100% !important;
}

@media (max-width: 992px) {
    .cooperation-hero {
        padding: 64px 0 56px;
    }

    .cooperation-hero-grid {
        gap: 36px;
    }

    .cooperation-hero-content,
    .cooperation-hero-image {
        width: 100%;
    }

    .cooperation-hero-content h1 {
        font-size: clamp(36px, 6vw, 42px);
    }

    .cooperation-hero-text {
        margin-left: auto;
        margin-right: auto;
        max-width: 680px;
    }

    .cooperation-hero-image {
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cooperation-hero {
        padding: 48px 0 44px;
    }

    .cooperation-hero-grid {
        gap: 28px;
    }

    .cooperation-hero-content h1 {
        font-size: clamp(30px, 8vw, 36px);
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .cooperation-hero-text {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 0;
    }

    .cooperation-hero-image {
        border-radius: 22px;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
    }

    .cooperation-hero-image img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .formats-section {
        padding: 52px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-tag {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .section-header h2 {
        font-size: clamp(27px, 7vw, 32px);
        line-height: 1.22;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 15px;
        line-height: 1.6;
    }

    .formats-grid {
        gap: 18px;
        margin-top: 0;
    }

    .format-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .format-card:hover {
        transform: none;
    }

    .format-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        margin-bottom: 18px;
    }

    .format-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .format-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    .cooperation-form-section {
        padding: 52px 0;
    }

    .cooperation-form-section .form-container,
    .form-container {
        width: 100%;
        margin: 0 auto;
        padding: 30px 20px;
        border-radius: 24px;
    }

    .cooperation-form-section .form-container h3,
    .form-container h3 {
        font-size: 26px;
        line-height: 1.25;
    }

    .cooperation-form-section .form-container > p,
    .form-container > p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 26px;
    }

    .cooperation-form-section .wpforms-field {
        padding-bottom: 16px !important;
    }

    .cooperation-form-section .wpforms-field-row {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .cooperation-form-section .wpforms-one-half,
    .cooperation-form-section .wpforms-one-third,
    .cooperation-form-section .wpforms-two-thirds,
    .cooperation-form-section .wpforms-three-sixths,
    .cooperation-form-section .wpforms-field-row-block {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    .cooperation-form-section .wpforms-field-input,
    .cooperation-form-section .wpforms-field input,
    .cooperation-form-section .wpforms-field textarea,
    .cooperation-form-section .wpforms-field select {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    .cooperation-form-section textarea.wpforms-field-input,
    .cooperation-form-section .wpforms-field textarea {
        min-height: 120px !important;
    }

    .cooperation-form-section .wpforms-submit {
        min-height: 52px !important;
        padding: 14px 22px !important;
        font-size: 16px !important;
    }

    .form-note {
        margin-top: 20px;
        padding-top: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .cooperation-hero {
        padding: 38px 0 34px;
    }

    .cooperation-hero-grid {
        gap: 22px;
    }

    .cooperation-hero-content h1 {
        font-size: clamp(27px, 8.5vw, 32px);
        margin-bottom: 14px;
    }

    .cooperation-hero-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .cooperation-hero-image {
        border-radius: 18px;
    }

    .formats-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    .format-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .format-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .format-card h3 {
        font-size: 19px;
    }

    .cooperation-form-section {
        padding: 40px 0;
    }

    .cooperation-form-section .form-container,
    .form-container {
        padding: 24px 16px;
        border-radius: 20px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    }

    .cooperation-form-section .form-container h3,
    .form-container h3 {
        font-size: 23px;
    }

    .form-note {
        font-size: 11px;
    }
}

