/* Основные стили */
.benefits {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.benefits h2 {
    color: #1e5799;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.benefit-icon {
    color: #1e5799;
    margin-right: 15px;
    font-size: 20px;
    min-width: 20px;
}

.image-container {
    text-align: center;
    margin: 30px 0;
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container {
    text-align: center;
    margin: 30px 0;
}

.video-container video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guarantees {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.guarantees h2 {
    color: #1e5799;
    margin-bottom: 20px;
    text-align: center;
}

.guarantee-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.guarantee-icon {
    color: #1e5799;
    margin-right: 15px;
    font-size: 20px;
    min-width: 20px;
}

.quiz-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.question {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1e5799;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.option:hover {
    border-color: #1e5799;
    background-color: #f0f7ff;
}

.option.selected {
    border-color: #1e5799;
    background-color: #e6f2ff;
}

.progress-container {
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #1e5799;
    width: 0%;
    transition: width 0.5s ease;
}

.step-indicator {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

button {
    padding: 12px 25px;
    background-color: #1e5799;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #16437e;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

footer {
    background-color: #1e5799;
    color: white;
    padding: 30px 0;
    border-radius: 10px;
    text-align: center;
}

.contact-info {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e6f2ff;
}

.legal-info {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.admin-link-footer {
    display: block;
    color: white;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
}

.admin-link-footer:hover {
    text-decoration: underline;
}

.consult-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #1e5799;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #16437e;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .question {
        font-size: 20px;
    }
    
    .option {
        font-size: 14px;
        padding: 12px;
    }
    
    button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .video-container video {
        width: 100%;
        height: auto;
    }
    
    .benefits, .guarantees, .quiz-container {
        padding: 20px;
    }
    
    .benefit-item, .guarantee-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .benefit-icon, .guarantee-icon {
        margin-bottom: 8px;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .specialist-photo {
        width: 200px;
        height: 200px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .buttons button {
        width: 100%;
    }
}