/* =========================================================
   СВОИ ДНИ — страница «Вопросы», светлая тема
   Подключается ПОСЛЕ home-light.css (цвета, шапка, подвал, кнопки).
   ========================================================= */

html, body.faq-page { background-color: var(--bg-cream) !important; margin: 0; }
body.faq-page { font-family: 'Manrope', 'Inter', sans-serif; color: var(--svd-ink); }

.faq-section { background: var(--bg-cream); min-height: 70vh; padding: 64px 0 0; }
.faq-container { max-width: 880px; margin: 0 auto; padding-bottom: 96px; }
.faq-header { max-width: 880px; margin: 0 auto 36px; padding: 0; text-align: left; }
.faq-header .section-title {
    margin: 0 0 14px; text-align: left; color: var(--svd-ink) !important;
    font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; text-transform: uppercase;
}
.faq-header p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--svd-muted); opacity: 1; }

/* ---------- Аккордеон ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: #fff; border: 1px solid var(--svd-line); border-radius: 22px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(23, 27, 52, 0.05);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item:hover { border-color: #DCCFB6; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; user-select: none; }
.faq-question h3 { margin: 0; padding: 0; font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--svd-ink); }
.faq-icon-box {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--svd-tint); color: var(--svd-ink); transition: transform .3s ease, background .25s ease;
}
.faq-icon-box [data-lucide], .faq-icon-box svg { width: 20px; height: 20px; color: var(--svd-ink) !important; }

.faq-answer { max-height: 0; overflow: hidden; padding: 0 28px; background: #fff; transition: max-height .3s ease; }
.faq-answer-inner { padding: 16px 0 26px; border-top: 1px solid var(--svd-line); font-size: 16px; line-height: 1.75; color: #3A3F57; }

.faq-item.active { border-color: var(--svd-amber); box-shadow: 0 14px 32px rgba(244, 162, 29, 0.16); }
.faq-item.active .faq-answer { max-height: 1000px; }
.faq-item.active .faq-icon-box { transform: rotate(180deg); background: var(--svd-amber); }

/* ---------- Блок «Остались вопросы?» ---------- */
.faq-cta { margin-top: 48px; padding: 48px 32px; text-align: center; background: var(--svd-ink); border-radius: 28px; color: #fff; box-shadow: 0 18px 44px rgba(23, 27, 52, 0.18); }
.faq-cta h4 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; font-weight: 800; color: #fff !important; letter-spacing: normal; text-transform: none; }
.faq-cta p { display: block; margin: 0 auto; max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.78) !important; opacity: 1; }
.faq-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.faq-cta-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px; box-sizing: border-box; border-radius: 12px;
    font-size: 16px; font-weight: 800; text-decoration: none; transition: background .15s, border-color .15s, transform .15s;
}
.faq-cta-btn:hover { transform: translateY(-2px); }
.faq-cta-btn--primary { background: var(--svd-amber); border: 2px solid var(--svd-amber); color: var(--svd-ink) !important; }
.faq-cta-btn--primary:hover { background: var(--svd-amber-hover); border-color: var(--svd-amber-hover); }
.faq-cta-btn--primary [data-lucide] { color: var(--svd-ink) !important; }
.faq-cta-btn--ghost { background: transparent; border: 2px solid rgba(255, 255, 255, 0.4); color: #fff !important; }
.faq-cta-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.faq-cta-btn--ghost [data-lucide] { color: #fff !important; }

/* ---------- Адаптивность ---------- */
@media (max-width: 768px) {
    .faq-section { padding-top: 36px; }
    .faq-header { margin-bottom: 24px; }
    .faq-header .section-title { font-size: 30px; }
    .faq-header p { font-size: 16px; }
    .faq-container { padding-bottom: 64px; }
    .faq-question { padding: 18px 20px; }
    .faq-question h3 { font-size: 16px; }
    .faq-answer { padding: 0 20px; }
    .faq-cta { margin: 36px 0 0; padding: 36px 20px; border-radius: 22px; }
    .faq-cta h4 { font-size: 24px; }

    /* мобильное меню */
    .menu-toggle { display: block !important; background: none; border: none; cursor: pointer; z-index: 1100; }
    .nav {
        display: none; position: fixed !important; top: 85px; left: 0; width: 100%; height: auto;
        max-height: calc(100vh - 85px); background: var(--bg-cream) !important;
        flex-direction: column !important; padding: 25px !important;
        box-shadow: 0 10px 25px rgba(23, 27, 52, 0.12); z-index: 1000; overflow-y: auto;
    }
    .nav.active { display: flex !important; }
}
@media (max-width: 560px) {
    .faq-cta-buttons { flex-direction: column; gap: 10px; }
    .faq-cta-btn { width: 100%; }
}
