.consultation-page .header,
body .header {
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.header-help {
    color: white;
    font-size: var(--font-size-sm);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-help .phone-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-help .phone-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-help .phone-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-help strong {
    color: var(--primary-color);
}



/* Consultation-specific styles */
.consultation-main {
    padding: 3rem 0;
    background: #f9fafb;
    min-height: 100vh;
}

.consultation-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.consultation-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e5e7eb;
}

.step-header {
    margin-bottom: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0a9a73;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 14px;
}

.step-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.step-badge {
    background: #e6fffa;
    color: #0a9a73;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #b2f5ea;
}

.progress-bar-inline {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0a9a73, #10b981);
}

.step-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.step-header p {
    color: #6b7280;
    margin-bottom: 0;
}

.consultation-form .question-block {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #ffffff;
}

.question-label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}

.required {
    color: #dc2626;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease;
    border: 1px solid transparent;
}

.radio-item:hover,
.checkbox-item:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.radio-item input,
.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: #0a9a73;
}

.conditional-input {
    margin-top: 12px;
}

.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-family: inherit;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.consultation-form input[type="text"]:focus,
.consultation-form input[type="email"]:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #0a9a73;
    box-shadow: 0 0 0 3px rgba(10, 154, 115, 0.15);
}

.alert-message {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 12px;
}

.form-actions.has-back-btn {
    justify-content: space-between;
}

.btn-secondary {
    background: #ffffff;
    color: #0a9a73;
    border: 2px solid #0a9a73;
}

.btn-secondary:hover {
    background: #0a9a73;
    color: #ffffff;
}

.consultation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.sidebar-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

.sidebar-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.sidebar-card p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.trust-badges img {
    display: block;
}

@media (max-width: 1024px) {
    .consultation-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .consultation-content {
        padding: 20px;
    }

    .step-header h1 {
        font-size: 22px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions.has-back-btn {
        flex-direction: column;
    }
}
