/* =========================================================
   FAQ PAGE
   Page-specific styles only. Shared styles stay in style.css.
========================================================= */

.faq-page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(8, 27, 22, 0.86), rgba(8, 27, 22, 0.86)),
        url("../images/law.jpg") center/cover no-repeat;
}

.faq-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,27,22,.90), rgba(8,27,22,.55));
}

.faq-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.faq-page-hero-content span {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.faq-page-hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(38px, 6vw, 60px);
    font-weight: 500;
    margin-bottom: 14px;
}

.faq-page-hero-content p {
    max-width: 640px;
    margin: 0 auto;
    color: #e4e4e4;
    line-height: 1.8;
    font-size: 16px;
}

/* =========================================================
   INTRO
========================================================= */

.faq-page-section {
    padding: 100px 0;
    background: #fff;
}

.faq-page-intro {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-page-kicker {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.faq-page-intro h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
    margin-bottom: 18px;
}

.faq-page-intro p {
    color: var(--text);
    line-height: 1.9;
}

/* =========================================================
   ACCORDION
========================================================= */

.faq-accordion {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item.active {
    border-color: rgba(200, 155, 60, 0.45);
    box-shadow: 0 16px 36px rgba(8, 27, 22, 0.1);
}

.faq-item h3 {
    margin: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-question-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--gold-dark);
    position: relative;
    transition: background var(--transition), color var(--transition), transform 0.4s ease;
}

.faq-question-icon i {
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question-icon {
    background: var(--gold);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 28px 26px;
    color: var(--text);
    line-height: 1.85;
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .faq-question-icon,
    .faq-question-icon i {
        transition: none;
    }
}

/* =========================================================
   CTA
========================================================= */

.faq-page-cta {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(8,27,22,.95), rgba(8,27,22,.95)),
        url("../images/law.jpg") center/cover no-repeat;
}

.faq-page-cta .faq-page-kicker {
    color: var(--gold);
}

.faq-page-cta h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
}

.faq-page-cta p {
    max-width: 640px;
    margin: 0 auto 36px;
    color: #ddd;
    line-height: 1.85;
}

.faq-page-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-page-cta-actions .btn i {
    margin-left: 8px;
}

.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp-outline i {
    color: #25D366;
    font-size: 18px;
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .faq-page-section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .faq-page-hero {
        min-height: 300px;
    }

    .faq-page-section,
    .faq-page-cta {
        padding: 70px 0;
    }

    .faq-question {
        padding: 18px 18px;
        font-size: 15.5px;
        gap: 14px;
    }

    .faq-question-icon {
        width: 30px;
        height: 30px;
    }

    .faq-answer p {
        padding: 0 18px 20px;
        font-size: 14.5px;
    }

    .faq-page-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .faq-page-cta-actions .btn,
    .faq-page-cta-actions .btn-whatsapp-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
