/* ===========================================================================
   BR FAQ - accordion (dark theme, gold accent)
   =========================================================================== */
.pxl-faq { --pxl-faq-accent: #bd9a5f; position: relative; }
.pxl-faq.layout-split {
    display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 64px; align-items: start;
}

/* ---------- Head ---------- */
.pxl-faq--head { position: relative; }
.pxl-faq.layout-centered .pxl-faq--head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.pxl-faq--eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--pxl-faq-accent); font-size: 13px; font-weight: 600;
    letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 16px;
}
.pxl-faq--eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--pxl-faq-accent); opacity: .8; }
.pxl-faq.layout-centered .pxl-faq--eyebrow { justify-content: center; }
.pxl-faq--title { font-size: clamp(27px, 3.1vw, 40px); line-height: 1.15; font-weight: 700; margin: 0 0 16px; letter-spacing: -.01em; }
.pxl-faq--intro { margin: 0; font-size: 16px; line-height: 1.8; color: color-mix(in srgb, currentColor 62%, transparent); max-width: 480px; }
.pxl-faq.layout-centered .pxl-faq--intro { margin: 0 auto; max-width: 620px; }
.pxl-faq--cta-wrap { margin-top: 32px; }
.pxl-faq--cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 100px;
    background: var(--pxl-faq-accent); color: #fff !important;
    font-weight: 600; font-size: 15px; letter-spacing: .2px; line-height: 1; text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--pxl-faq-accent) 70%, transparent);
}
.pxl-faq--cta:hover, .pxl-faq--cta:focus {
    transform: translateY(-3px); color: #fff !important;
    background: color-mix(in srgb, var(--pxl-faq-accent) 82%, #000);
    box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--pxl-faq-accent) 80%, transparent);
}
.pxl-faq--cta span, .pxl-faq--cta i { color: #fff !important; }
.pxl-faq--cta i { font-size: 13px; transition: transform .3s ease; }
.pxl-faq--cta:hover i { transform: translateX(4px); }

/* ---------- List / items ---------- */
.pxl-faq.layout-centered .pxl-faq--list { max-width: 860px; margin: 0 auto; }
.pxl-faq-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px; margin-bottom: 14px; overflow: hidden;
    transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
}
.pxl-faq-item:last-child { margin-bottom: 0; }
.pxl-faq-item.is-open {
    border-color: color-mix(in srgb, var(--pxl-faq-accent) 45%, transparent);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 24px 46px -32px rgba(0, 0, 0, .8);
}

/* ---------- Question button ---------- */
.pxl-faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    width: 100%; padding: 22px 26px; margin: 0;
    background: var(--pxl-faq-accent) !important; border: 0; cursor: pointer; text-align: left;
    -webkit-appearance: none; appearance: none; box-shadow: none;
    font-family: inherit; transition: background .3s ease;
}
.pxl-faq-item__q:hover { background: color-mix(in srgb, var(--pxl-faq-accent) 86%, #000) !important; }
.pxl-faq-item__q.q-icon-left { justify-content: flex-start; gap: 16px; }
.pxl-faq-item__q.q-icon-left .pxl-faq-item__q-text { order: 1; }
.pxl-faq-item__q.q-icon-left .pxl-faq-item__icon { order: 0; }
.pxl-faq-item__q-text {
    font-size: 17px; font-weight: 600; line-height: 1.45; color: #fff;
}
.pxl-faq-item.is-open .pxl-faq-item__q-text { color: #fff; }

/* ---------- Toggle icon ---------- */
.pxl-faq-item__icon { display: none; }
.pxl-faq-item__icon.is-plus::before,
.pxl-faq-item__icon.is-plus::after {
    content: ''; position: absolute; background: currentColor; border-radius: 2px;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}
.pxl-faq-item__icon.is-plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.pxl-faq-item__icon.is-plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.pxl-faq-item.is-open .pxl-faq-item__icon.is-plus::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.pxl-faq-item__icon.is-chevron svg { width: 100%; height: 100%; display: block; transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.pxl-faq-item.is-open .pxl-faq-item__icon.is-chevron svg { transform: rotate(180deg); }

/* ---------- Panel / answer ---------- */
.pxl-faq-item__panel { overflow: hidden; height: 0; transition: height .42s cubic-bezier(.4, 0, .2, 1); }
.pxl-faq-item.is-open .pxl-faq-item__panel { height: auto; }
.pxl-faq-item__answer {
    padding: 0 26px 24px; font-size: 15px; line-height: 1.8;
    color: color-mix(in srgb, currentColor 60%, transparent);
}
.pxl-faq-item__answer p { margin: 0 0 12px; }
.pxl-faq-item__answer p:last-child { margin-bottom: 0; }
.pxl-faq-item__answer a { color: var(--pxl-faq-accent); text-decoration: underline; }

/* ===========================================================================
   GSAP scroll-reveal initial state (only once JS marks the section ready)
   =========================================================================== */
.pxl-faq.pxl-ready[data-animate="yes"] [data-faq-anim],
.pxl-faq.pxl-ready[data-animate="yes"] [data-faq-item] { opacity: 0; will-change: transform, opacity; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 991px) {
    .pxl-faq.layout-split { grid-template-columns: 1fr; gap: 38px; }
    .pxl-faq.layout-split .pxl-faq--intro { max-width: 620px; }
}
@media (max-width: 575px) {
    .pxl-faq-item__q { padding: 18px 20px; }
    .pxl-faq-item__q-text { font-size: 16px; }
    .pxl-faq-item__answer { padding: 0 20px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pxl-faq.pxl-ready[data-animate="yes"] [data-faq-anim],
    .pxl-faq.pxl-ready[data-animate="yes"] [data-faq-item] { opacity: 1 !important; }
    .pxl-faq-item, .pxl-faq-item__panel, .pxl-faq-item__icon.is-plus::after,
    .pxl-faq-item__icon.is-chevron svg, .pxl-faq--cta { transition: none; }
}

/* Fallback where color-mix is unsupported */
@supports not (background: color-mix(in srgb, #000 10%, transparent)) {
    .pxl-faq--intro { color: rgba(255, 255, 255, .62); }
    .pxl-faq-item.is-open { border-color: rgba(189, 154, 95, .45); }
    .pxl-faq-item__answer { color: rgba(255, 255, 255, .6); }
    .pxl-faq--cta { background: #bd9a5f; box-shadow: 0 14px 30px -12px rgba(189, 154, 95, .7); }
    .pxl-faq--cta:hover, .pxl-faq--cta:focus { background: #9c7b48; }
    .pxl-faq-item__q { background: #bd9a5f !important; }
    .pxl-faq-item__q:hover { background: #a9884f !important; }
}
