/* ============================================================
   Egoire – FAQ Page Stylesheet
   File:  public/css/faq.css
   Namespace: fq-
   ============================================================

   Design:  Clean accordion, editorial luxury
   Palette: Gold #C6A75E · Beige #FAF6F3 · Black #0a0a0a
   Fonts:   Playfair Display · Inter

   Table of Contents:
   1.  Container
   2.  Hero Section
   3.  Content Wrapper
   4.  FAQ List
   5.  FAQ Item
   6.  Trigger / Question
   7.  Panel / Answer
   8.  Empty State
   9.  CTA Section
   10. Tablet  (≤ 1024px)
   11. Mobile  (≤ 767px)
   12. Small Mobile (≤ 479px)
   13. Reduced Motion
   ============================================================ */


/* ============================================================
   1. CONTAINER
   ============================================================ */
.fq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.fq-container--narrow {
    max-width: 780px;
}


/* ============================================================
   2. HERO SECTION
   ============================================================ */
.fq-hero {
    padding: clamp(72px, 12vw, 120px) 0 clamp(48px, 7vw, 72px);
    text-align: center;
    background: linear-gradient(180deg, #FAF6F3 0%, #ffffff 100%);
}

.fq-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C6A75E;
    margin-bottom: 20px;
}

.fq-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 1px;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.15;
}

.fq-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    font-weight: 300;
    line-height: 1.75;
    color: #6b6b6b;
    max-width: 540px;
    margin: 0 auto;
}


/* ============================================================
   3. CONTENT WRAPPER
   ============================================================ */
.fq-content {
    padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 10vw, 112px);
    background: #ffffff;
}


/* ============================================================
   3b. CATEGORY NAV
   ============================================================ */
.fq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(32px, 5vw, 48px);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.fq-nav__pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #4a4a4a;
    background: #FAF6F3;
    border: 1px solid rgba(198, 167, 94, 0.15);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.fq-nav__pill:hover {
    color: #0a0a0a;
    border-color: rgba(198, 167, 94, 0.35);
}


/* ============================================================
   3c. CATEGORY SECTION
   ============================================================ */
.fq-category {
    margin-bottom: clamp(40px, 7vw, 64px);
    scroll-margin-top: 100px;
}

.fq-category__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #0a0a0a;
    margin: 0 0 clamp(16px, 3vw, 24px);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(198, 167, 94, 0.25);
}


/* ============================================================
   4. FAQ LIST
   ============================================================ */
.fq-list {
    margin-bottom: 0;
}


/* ============================================================
   5. FAQ ITEM
   ============================================================ */
.fq-item {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.fq-item:first-child {
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}


/* ============================================================
   6. TRIGGER / QUESTION
   ============================================================ */
.fq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: clamp(18px, 3vw, 24px) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color 0.2s ease;
}

.fq-item__trigger:hover {
    color: #C6A75E;
}

.fq-item__question {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.92rem, 1.4vw, 1.02rem);
    font-weight: 500;
    color: #0a0a0a;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.fq-item__trigger:hover .fq-item__question {
    color: #C6A75E;
}

.fq-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FAF6F3;
    color: #C6A75E;
    transition: background 0.3s ease, transform 0.3s ease;
}

.fq-item__icon-v {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Open state */
.fq-item--open .fq-item__icon {
    background: #C6A75E;
    color: #ffffff;
}

.fq-item--open .fq-item__icon-v {
    opacity: 0;
    transform: scaleY(0);
}


/* ============================================================
   7. PANEL / ANSWER
   ============================================================ */
.fq-item__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fq-item--open .fq-item__panel {
    max-height: none;
}

.fq-item__answer {
    padding: 0 0 clamp(18px, 3vw, 28px);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
}

.fq-item__answer p {
    margin: 0;
}

.fq-answer__list {
    margin: 12px 0 0;
    padding: 0 0 0 1.1rem;
    list-style: none;
}

.fq-answer__list li {
    position: relative;
    padding-left: 4px;
    margin-bottom: 8px;
    line-height: 1.65;
}

.fq-answer__list li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #C6A75E;
}

.fq-answer__list li:last-child {
    margin-bottom: 0;
}


/* ============================================================
   8. EMPTY STATE
   ============================================================ */
.fq-empty {
    text-align: center;
    padding: clamp(48px, 8vw, 96px) 0;
}

.fq-empty p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #6b6b6b;
}


/* ============================================================
   9. CTA SECTION
   ============================================================ */
.fq-cta {
    text-align: center;
    margin-top: clamp(48px, 8vw, 80px);
}

.fq-cta__inner {
    padding: clamp(36px, 6vw, 56px) clamp(24px, 4vw, 48px);
    background: #FAF6F3;
    border-radius: 6px;
    border: 1px solid rgba(198, 167, 94, 0.1);
}

.fq-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: #0a0a0a;
    margin: 0 0 12px;
}

.fq-cta__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: #6b6b6b;
    max-width: 420px;
    margin: 0 auto 24px;
}

.fq-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: #0a0a0a;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.fq-cta__btn:hover {
    background: #C6A75E;
    color: #ffffff;
}


/* ============================================================
   10. TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .fq-container--narrow {
        max-width: 100%;
    }
}


/* ============================================================
   11. MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    .fq-hero {
        padding: clamp(56px, 10vw, 80px) 0 clamp(32px, 6vw, 48px);
    }

    .fq-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: calc(-1 * clamp(20px, 4vw, 48px));
        margin-right: calc(-1 * clamp(20px, 4vw, 48px));
        padding-left: clamp(20px, 4vw, 48px);
        padding-right: clamp(20px, 4vw, 48px);
        padding-bottom: 20px;
    }

    .fq-nav::-webkit-scrollbar {
        display: none;
    }

    .fq-nav__pill {
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 9px 14px;
    }

    .fq-category {
        scroll-margin-top: 80px;
    }

    .fq-category__title {
        font-size: 1.25rem;
    }

    .fq-item__trigger {
        padding: 16px 0;
        gap: 12px;
    }

    .fq-item__icon {
        width: 28px;
        height: 28px;
    }

    .fq-item__answer {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .fq-cta__inner {
        padding: 28px 20px;
    }
}


/* ============================================================
   12. SMALL MOBILE (≤ 479px)
   ============================================================ */
@media (max-width: 479px) {
    .fq-hero__title {
        font-size: 1.8rem;
    }

    .fq-item__question {
        font-size: 0.88rem;
    }

    .fq-cta__btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   13. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .fq-item__panel {
        transition: none;
    }

    .fq-item__icon,
    .fq-item__icon-v,
    .fq-item__trigger,
    .fq-item__question,
    .fq-cta__btn {
        transition: none;
    }
}
