/* ==================== СОТРУДНИЧЕСТВО ==================== */
.where-to-buy-page {
    padding: 100px 0 80px;
    min-height: 60vh;
    background: #fff;
}

.wtb-header {
    text-align: center;
    margin-bottom: 64px;
}

.wtb-header h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #000;
}

.wtb-header p {
    color: #888;
    font-size: 15px;
}

/* ==================== БЛОКИ ==================== */
.wtb-block {
    margin-bottom: 64px;
}

.wtb-block:last-child {
    margin-bottom: 0;
}

.wtb-block h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 36px;
    color: #000;
}

/* ==================== ПАРТНЁРЫ ==================== */
.partners-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px 40px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    min-height: 130px;
}

.partner-logo-card:hover {
    border-color: #f5c518;
    background: #fff;
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.15);
    transform: translateY(-4px);
}

.partner-logo-card img {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
}

/* ==================== СЕТКА: ФОРМА + СЕРВИС ==================== */
.wtb-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Оба блока — flex колонки для равной высоты */
.wtb-bottom-grid > .wtb-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.wtb-bottom-grid h2 {
    flex-shrink: 0;
}

/* ==================== ФОРМА ==================== */
.partner-form {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 0.3px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: #000;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #f5c518;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #bbb;
}

.partner-form .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    background: #f5c518;
    color: #000;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
}

.partner-form .btn-primary:hover {
    background: #e0b015;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 197, 24, 0.3);
}

.form-success {
    text-align: center;
    color: #46b450;
    font-weight: 600;
    margin-top: 16px;
    font-size: 15px;
    padding: 12px;
    background: #f0fff0;
    border-radius: 8px;
}

/* ==================== СЕРВИСНЫЙ ЦЕНТР ==================== */
.service-center {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.service-center strong {
    color: #000;
    font-size: 17px;
    display: block;
    margin-bottom: 4px;
}

.service-center p {
    margin-bottom: 6px;
}

.service-center a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f5c518;
    transition: all 0.2s;
}

.service-center a:hover {
    background: #fff9e6;
    border-bottom-color: #000;
}

/* Карта — занимает всё оставшееся место */
.service-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    min-height: 250px;
    margin-top: 20px;
    position: relative;
}

.service-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1024px) {
    .wtb-bottom-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .where-to-buy-page {
        padding: 90px 0 60px;
    }
    
    .wtb-header h1 {
        font-size: 24px;
    }
    
    .wtb-header {
        margin-bottom: 40px;
    }
    
    .wtb-bottom-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .partner-form,
    .service-center {
        padding: 20px;
    }
    
    .service-map {
        min-height: 300px;
    }
    
    .partner-logo-card {
        min-width: 140px;
        min-height: 100px;
        padding: 20px;
    }
    
    .partner-logo-card img {
        max-width: 120px;
        max-height: 55px;
    }
}
.form-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #2e7d32;
}

.form-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #c62828;
}

.form-errors {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #e65100;
}

.form-errors p {
    margin: 5px 0;
}