/* FAQ PAGE — только уникальные стили страницы.
   Общие стили (body, header, nav, cart, footer, modals) наследуются из style.css */

.page-wrap {
    max-width: 820px;
    margin: 80px auto;
    padding: 0 24px;
}

/* ── PAGE HEADER ───────────────────────────── */
.title-small {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #00ff88;
    border-radius: 20px;
    color: #00ff88;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ff88;
    animation: fadeIn 0.8s ease;
}

.faq-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    animation: slideUp 0.9s ease;
}

.faq-title span {
    color: #00ff88;
    text-shadow: 0 0 25px #00ff88;
}

/* ── ACCORDION ─────────────────────────────── */
.faq {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
}

.item:hover {
    background: rgba(0,255,136,0.04);
    border-color: rgba(0,255,136,0.35);
    box-shadow: 0 0 24px rgba(0,255,136,0.1);
}

.item.active {
    background: rgba(0,255,136,0.05);
    border-color: rgba(0,255,136,0.5);
    box-shadow: 0 0 30px rgba(0,255,136,0.12);
}

.question {
    padding: 22px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    user-select: none;
    color: #eee;
    transition: color 0.3s;
}

.item.active .question {
    color: #fff;
}

.answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                padding    0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity    0.35s ease,
                transform  0.35s ease;
}

.item.active .answer {
    max-height: 400px;
    padding: 0 26px 24px;
    opacity: 1;
    transform: translateY(0);
}

.arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #00ff88;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.item.active .arrow {
    transform: rotate(180deg);
    background: rgba(0,255,136,0.15);
    box-shadow: 0 0 10px rgba(0,255,136,0.25);
}

/* ── CONTACT BLOCK ─────────────────────────── */
.contact-wrap {
    max-width: 920px;
    margin: 90px auto 0;
    padding: 0 24px;
}

.contact-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
    border-color: rgba(0,255,136,0.45);
    box-shadow: 0 0 80px rgba(0,255,136,0.12);
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-icon svg {
    filter: drop-shadow(0 0 8px rgba(0,255,136,0.4));
}

.contact-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
}

.contact-sub {
    color: #777;
    font-size: 14px;
    margin-bottom: 36px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
    .page-wrap     { margin: 60px auto; }
    .faq-title     { font-size: 40px; }
    .contact-wrap  { margin: 70px auto 0; }
    .contact-card  { padding: 40px 32px; }
}

@media (max-width: 600px) {
    .page-wrap     { margin: 40px auto; padding: 0 16px; }
    .faq-title     { font-size: 30px; }
    .title-small   { font-size: 11px; padding: 4px 10px; }

    .question      { padding: 16px 18px; font-size: 14px; }
    .answer        { padding: 0 18px; font-size: 13px; }
    .item.active .answer { padding: 0 18px 18px; }

    .contact-wrap  { margin: 50px auto 0; padding: 0 16px; }
    .contact-card  { padding: 32px 22px; border-radius: 18px; }
    .contact-title { font-size: 22px; }
    .contact-sub   { font-size: 13px; margin-bottom: 26px; }
    .contact-buttons { flex-direction: column; gap: 10px; }
    .contact-buttons .btn { width: 100%; }
}

@media (max-width: 380px) {
    .faq-title     { font-size: 26px; }
    .contact-title { font-size: 19px; }
}
