/* ==========================================================================
   Homepage FAQ — accordion replacement
   Reuses the site's existing .faq-section (bg #0d0d0d, home-css/home.css)
   and .ms-eyebrow / .ms-heading / .ms-subtext (same gold-on-dark header
   style already used by "Our Services"), so only the accordion-specific
   parts below are new. Colors, font sizes and font family all inherit
   from the site's existing tokens — nothing is redefined here.
   ========================================================================== */

.faqx-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.faqx-cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 46px;
}

.faqx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.faqx-btn-primary {
    background: #e8a83a;
    color: #0d0d0d;
    border: 1.5px solid #e8a83a;
}

.faqx-btn-primary:hover { background: #c9841a; border-color: #c9841a; color: #0d0d0d; }

.faqx-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
}

.faqx-btn-secondary:hover { border-color: #e8a83a; color: #e8a83a; }

/* ---------- accordion list ---------- */

.faqx-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faqx-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%);
    border: 1px solid rgba(232, 168, 58, .18);
    border-radius: 14px;
    padding: 4px 22px;
    transition: border-color .2s ease;
}

.faqx-item[open] { border-color: rgba(232, 168, 58, .5); }

.faqx-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    color: #fff;
    font-weight: 500;
    font-size: var(--fs-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.faqx-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #e8a83a;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.faqx-item[open] summary::after { content: '−'; }

.faqx-answer {
    color: rgba(255, 255, 255, .65);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    padding: 0 0 20px;
}

.faqx-answer p { margin: 0 0 10px; }
.faqx-answer ul { margin: 0 0 10px; padding-left: 20px; }
.faqx-answer li { margin-bottom: 4px; }
.faqx-answer a { color: #e8a83a; font-weight: 500; }
.faqx-answer a:hover { text-decoration: underline; }

.faqx-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: var(--fs-sm);
}

.faqx-table th,
.faqx-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.faqx-table th { color: #fff; font-weight: 500; }

.faqx-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    padding: 13px 30px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 500;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.faqx-more-btn:hover { border-color: #e8a83a; color: #e8a83a; }

@media (max-width: 480px) {
    .faqx-item { padding: 2px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .faqx-item, .faqx-btn, .faqx-more-btn { transition: none !important; }
}
