/* FAQ and Instructions Page Styles */
.faq-page {
    max-width: var(--container-max-width);
    margin: 10px auto 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.faq-header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 6px;
}

.faq-header h1 {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.faq-header p {
    font-size: 14px;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Стили для шагов заказа */
.order-instruction {
    margin-bottom: 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.order-instruction h2 {
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step-card {
    background: var(--white);
    padding: 18px 14px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.step-number-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-card h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.step-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Стили для FAQ (аккордеон) */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary-color);
    transition: var(--transition);
    gap: 12px;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666;
    line-height: 1.55;
    font-size: 13px;
}

.faq-item.active .faq-answer {
    padding: 0 20px 16px;
    max-height: 1000px;
}

.faq-icon {
    font-size: 18px;
    transition: var(--transition);
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .faq-page { padding: 10px 15px 20px; }
    .faq-header h1 { font-size: 24px; }
    .faq-header p { font-size: 14px; }
    .order-instruction { padding: 18px 14px; }
    .order-instruction h2 { font-size: 18px; margin-bottom: 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .faq-question { padding: 16px; font-size: 14px; min-height: 48px; }
    .faq-answer { padding: 0 16px; font-size: 14px; line-height: 1.5; }
    .faq-item.active .faq-answer { padding: 0 16px 16px; }
}
