/* Конструктор подбора оборудования - экспертный минимализм */
.constructor-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1a1a1a;
    line-height: 1.5;
}

.constructor-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.constructor-description {
    color: #5a5a5a;
    margin-bottom: 32px;
    font-size: 16px;
    border-left: 3px solid #d1d5db;
    padding-left: 16px;
}

/* Вопросы - без фона, только рамка */
.constructor-questions {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.questions-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.questions-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.questions-hint {
    font-size: 13px;
    color: #888;
}

.question-block {
    margin-bottom: 24px;
}

.question-block:last-child {
    margin-bottom: 0;
}

.question-label {
    display: block;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 15px;
}

.question-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 40px;
    transition: all 0.15s ease;
    font-size: 14px;
}

.option-radio:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.option-radio input {
    margin: 0;
    accent-color: #1e40af;
}

/* Результаты */
.constructor-results {
    margin-bottom: 32px;
}

.results-header {
    margin-bottom: 20px;
}

.results-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.results-hint {
    font-size: 13px;
    color: #888;
}

/* Сетка 3+2 */
.budgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.budgets-grid .budget-card:nth-child(4) {
    grid-column: 1 / 2;
}

.budgets-grid .budget-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* Карточка - строгая, без теней */
.budget-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.15s ease;
}

.budget-card:hover {
    border-color: #9ca3af;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.budget-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.budget-badge {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 20px;
}

.budget-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.budget-specs {
    margin: 0 0 16px 0;
}

.spec-row {
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.spec-label {
    font-weight: 500;
    color: #374151;
}

.spec-value {
    color: #111827;
    text-align: right;
    max-width: 60%;
}

.budget-good-for {
    font-size: 12px;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 8px 10px;
    border-radius: 6px;
    margin: 12px 0;
}

.budget-good-for i {
    margin-right: 4px;
}

.budget-warnings {
    background: #fef3c7;
    padding: 10px 12px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 12px;
}

.warning {
    color: #92400e;
    margin-bottom: 4px;
}

.warning:last-child {
    margin-bottom: 0;
}

.warning i {
    margin-right: 6px;
}

.budget-price-factor {
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #1f2937;
}

/* Блок калькуляторов */
.constructor-calculators {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 32px;
    background: #fff;
}

.calculators-header {
    margin-bottom: 16px;
}

.calculators-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.calculators-header p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.calculators-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.calc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    padding: 6px 0;
    border-radius: 0;
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
    transition: color 0.15s ease;
    border-bottom: 1px solid transparent;
}

.calc-link:hover {
    color: #111827;
    border-bottom-color: #111827;
}

/* Нормативная база */
.constructor-normative {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #9ca3af;
}

.normative-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.normative-content i {
    font-size: 14px;
}

/* Адаптив */
@media (max-width: 992px) {
    .budgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .budgets-grid .budget-card:nth-child(4),
    .budgets-grid .budget-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .constructor-container {
        padding: 16px;
    }
    
    .constructor-title {
        font-size: 26px;
    }
    
    .budgets-grid {
        grid-template-columns: 1fr;
    }
    
    .question-options {
        gap: 8px;
    }
    
    .option-radio {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .spec-row {
        flex-direction: column;
    }
    
    .spec-value {
        text-align: left;
        max-width: 100%;
        margin-top: 4px;
    }
}

.budget-affiliate {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.affiliate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 12px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #181818;
    transition: all 0.15s ease;
    width: 100%;
}

.affiliate-link:hover {
    background: #e5e7eb;
    color: #111827;
}

/* Блок с рекомендацией (для кого вариант) */
.budget-recommended {
    font-size: 13px;
    font-weight: 500;
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 10px;
    border-radius: 6px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.budget-recommended i {
    font-size: 14px;
    flex-shrink: 0;
}