.page-faq {
    background-color: #04070f;
    background-image:
        linear-gradient(rgba(4, 7, 15, 0.84), rgba(4, 7, 15, 0.94)),
        url('../img/hero-bg.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-faq main {
    background: transparent;
}

.faq-page {
    padding: 32px 0 72px;
}

.faq-container {
    max-width: 1100px;
}

.faq-hero {
    text-align: center;
    margin-bottom: 30px;
}

.faq-hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 102, 0, .12);
    border: 1px solid rgba(255, 120, 64, .28);
    color: #ff8a3d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.faq-hero h1 {
    margin: 0 0 12px;
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
}

.faq-hero-lead {
    max-width: 640px;
    margin: 0 auto;
    color: #aeb6c6;
    font-size: 15px;
    line-height: 1.65;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(16, 19, 26, .92);
    border: 1px solid #252b38;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
    border-color: rgba(255, 102, 0, .32);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ff7a1a;
    border-bottom: 2px solid #ff7a1a;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-top: -4px;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-item summary:hover {
    color: #ff8a3d;
}

.faq-item-body {
    padding: 0 20px 18px;
    color: #aeb6c6;
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.faq-item-body p {
    margin: 14px 0 0;
}

.faq-item-body p:first-child {
    margin-top: 14px;
}

.faq-empty {
    padding: 28px;
    text-align: center;
    color: #7a8190;
    background: rgba(16, 19, 26, .92);
    border: 1px solid #252b38;
    border-radius: 14px;
}

.faq-aside {
    position: sticky;
    top: 78px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-aside-card {
    background: rgba(16, 19, 26, .92);
    border: 1px solid #252b38;
    border-radius: 14px;
    padding: 18px;
}

.faq-aside-card h2 {
    margin: 0 0 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.faq-aside-card p {
    margin: 0 0 14px;
    color: #9aa4b2;
    font-size: 13px;
    line-height: 1.55;
}

.faq-aside-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6600, #ff8a3d);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

.faq-aside-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: #fff !important;
}

.faq-aside-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(16, 19, 26, .88);
    border: 1px solid #252b38;
    border-radius: 14px;
    padding: 10px;
}

.faq-aside-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #c5cad6 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.faq-aside-links a:hover {
    background: rgba(255, 102, 0, .1);
    color: #ff8a3d !important;
}

@media (max-width: 991px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-aside {
        position: static;
    }
}
