/* ==========================================================================
   FAQ PAGE - SECTION 1: HERO / INTRO BANNER (rem only, 1rem = 10px)
   ========================================================================== */

.faq-hero-section {
    position: relative;
    background-color: #f5f3f0;
    width: 100%;
    min-height: clamp(56rem, 62vh, 74rem);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background image in <img> tag spanning the overall section */
.faq-hero-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.faq-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.faq-hero-container {
    z-index: 2;
    min-height: inherit;
    width: 100%;
}

.faq-hero-section .row {
    min-height: inherit;
}

/* Left Content Column */
.faq-hero-content {
    position: relative;
    z-index: 2;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.0rem, 3.5vw, 4.5rem);
    padding-top: clamp(5.0rem, 6.2vw, 9.0rem);
    padding-bottom: clamp(5.0rem, 6.2vw, 9.0rem);
    max-width: 74rem;
    text-align: left;
}

.faq-hero-eyebrow {
    display: block;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.38rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    color: #767676;
    margin-bottom: clamp(3.2rem, 3.8vw, 5.2rem);
    text-transform: uppercase;
}

.faq-hero-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3.6rem, 4.2vw, 6.2rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #000000;
    margin-top: 0;
    margin-bottom: clamp(3.2rem, 3.8vw, 5.2rem);
    text-transform: uppercase;
}

.faq-hero-desc {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.45rem, 1.15vw, 1.7rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: #555555;
    max-width: 65rem;
}

/* ==========================================================================
   FAQ SECTION 1 - RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Laptops / Desktops (<= 1399.98px) */
@media (max-width: 1399.98px) {
    .faq-hero-section {
        min-height: clamp(52rem, 58vh, 68rem);
    }

    .faq-hero-content {
        padding-left: clamp(2.4rem, 4.5vw, 6.5rem);
        max-width: 68rem;
    }

    .faq-hero-title {
        font-size: 5.4rem;
        margin-bottom: 4.4rem;
    }

    .faq-hero-eyebrow {
        margin-bottom: 4.4rem;
    }

    .faq-hero-desc {
        font-size: 1.6rem;
    }
}

/* Medium Desktop / Laptop (<= 1199.98px) */
@media (max-width: 1199.98px) {
    .faq-hero-section {
        min-height: clamp(48rem, 54vh, 62rem);
    }

    .faq-hero-content {
        padding-left: clamp(2.0rem, 4.0vw, 5.0rem);
        max-width: 58rem;
    }

    .faq-hero-title {
        font-size: 4.4rem;
        margin-bottom: 3.6rem;
    }

    .faq-hero-eyebrow {
        font-size: 1.25rem;
        margin-bottom: 3.6rem;
    }

    .faq-hero-desc {
        font-size: 1.5rem;
    }
}

/* Tablets (<= 991.98px) */
@media (max-width: 991.98px) {
    .faq-hero-section {
        min-height: clamp(54rem, 66vh, 70rem);
    }

    .faq-hero-bg-img {
        object-position: 80% center;
        opacity: 0.75;
    }

    .faq-hero-content {
        padding: 5.0rem 3.0rem;
        max-width: 60rem;
        background: linear-gradient(90deg, rgba(245, 243, 240, 0.95) 0%, rgba(245, 243, 240, 0.88) 75%, transparent 100%);
        border-radius: 1.6rem;
    }

    .faq-hero-title {
        font-size: 3.8rem;
        line-height: 1.16;
        margin-bottom: 3.0rem;
    }

    .faq-hero-eyebrow {
        margin-bottom: 3.0rem;
    }

    .faq-hero-desc {
        font-size: 1.45rem;
    }
}

/* Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
    .faq-hero-section {
        min-height: clamp(48rem, 68vh, 62rem);
        align-items: flex-end;
    }

    .faq-hero-bg-img {
        object-position: center top;
        opacity: 0.55;
    }

    .faq-hero-content {
        padding: 3.6rem 2.0rem 4.0rem 2.0rem;
        max-width: 100%;
        background: linear-gradient(180deg, transparent 0%, rgba(245, 243, 240, 0.92) 20%, rgba(245, 243, 240, 0.98) 100%);
        border-radius: 0;
    }

    .faq-hero-eyebrow {
        font-size: 1.15rem;
        margin-bottom: 2.2rem;
    }

    .faq-hero-title {
        font-size: 3.0rem;
        line-height: 1.18;
        margin-bottom: 2.4rem;
    }

    .faq-hero-desc {
        font-size: 1.38rem;
        line-height: 1.55;
    }
}

/* Small Mobile (<= 575.98px) */
@media (max-width: 575.98px) {
    .faq-hero-section {
        min-height: clamp(44rem, 64vh, 56rem);
    }

    .faq-hero-content {
        padding: 2.8rem 1.6rem 3.2rem 1.6rem;
    }

    .faq-hero-eyebrow {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }

    .faq-hero-title {
        font-size: 2.5rem;
        margin-bottom: 2.0rem;
    }

    .faq-hero-desc {
        font-size: 1.3rem;
    }
}

/* Extra Small Mobile (<= 420px) */
@media (max-width: 420px) {
    .faq-hero-section {
        min-height: clamp(40rem, 60vh, 52rem);
    }

    .faq-hero-content {
        padding: 2.4rem 1.4rem 2.8rem 1.4rem;
    }

    .faq-hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.6rem;
    }

    .faq-hero-eyebrow {
        margin-bottom: 1.5rem;
    }

    .faq-hero-desc {
        font-size: 1.22rem;
    }
}


/* ==========================================================================
   FAQ PAGE - SECTION 2: BROWSE BY TOPIC & ACCORDION (Full-Width, rem only)
   ========================================================================== */

.faq-accordion-section {
    background-color: #ffffff;
    width: 100%;
    padding: clamp(5.5rem, 6.5vw, 9.5rem) 0;
    overflow: hidden;
}

.faq-accordion-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

.faq-main-row {
    row-gap: clamp(4.0rem, 5.0vw, 7.0rem);
    align-items: flex-start;
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR: BROWSE BY TOPIC
   -------------------------------------------------------------------------- */

.faq-sidebar {
    display: flex;
    flex-direction: column;
    padding-right: clamp(2.0rem, 3.0vw, 4.5rem);
    position: relative;
    width: 100%;
    max-width: 38rem;
}

.faq-sidebar-eyebrow {
    display: block;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #767676;
    margin-top: 0;
    padding-top: 0.6rem;
    margin-bottom: clamp(1.8rem, 2.1vw, 2.4rem);
    text-transform: uppercase;
}

.faq-topic-nav {
    margin-bottom: clamp(6.0rem, 7.0vw, 8.2rem);
}

.faq-topic-list {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 1.6vw, 1.8rem);
}

.faq-topic-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 34.6rem;
    min-height: clamp(5.2rem, 4.4vw, 5.7rem);
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.45rem, 1.15vw, 1.6rem);
    font-weight: 500;
    color: #111111;
    text-decoration: none;
    padding: clamp(1.4rem, 1.5vw, 1.8rem) clamp(2.0rem, 2.2vw, 2.4rem);
    border-radius: 5rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-topic-arrow {
    font-size: 1.15em;
    line-height: 1;
    display: inline-block;
    transition: transform 0.25s ease;
}

.faq-topic-link:hover {
    color: #000000;
    background-color: rgba(53, 242, 254, 0.15);
}

.faq-topic-link:hover .faq-topic-arrow {
    transform: translate(0.2rem, -0.2rem);
}

/* Active Topic: Signature Cyan Pill */
.faq-topic-link.active {
    background-color: #35f2fe;
    color: #000000;
    font-weight: 500;
    box-shadow: none;
}

.faq-topic-link.active .faq-topic-arrow {
    transform: none;
}

/* Bottom Help Card */
.faq-sidebar-help {
    display: flex;
    flex-direction: column;
    max-width: 34.6rem;
    padding-top: 0;
    border-top: none;
}

.faq-sidebar-help-text {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.35rem, 1.05vw, 1.48rem);
    font-weight: 400;
    line-height: 1.55;
    color: #555555;
    margin-bottom: clamp(2.6rem, 2.8vw, 3.3rem);
}

.faq-sidebar-help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.25rem, 0.95vw, 1.38rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-sidebar-help-link:hover {
    color: #555555;
}

.faq-sidebar-help-arrow {
    font-size: 1.15em;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}

.faq-sidebar-help-link:hover .faq-sidebar-help-arrow {
    transform: translate(0.2rem, -0.2rem);
}

/* --------------------------------------------------------------------------
   RIGHT ACCORDION CONTENT AREA
   -------------------------------------------------------------------------- */

.faq-content-area {
    display: flex;
    flex-direction: column;
    gap: clamp(4.5rem, 5.5vw, 7.5rem);
    width: 100%;
    max-width: 100%;
}

/* Topic Group */
.faq-topic-group {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 10.0rem;
}

.faq-group-header {
    margin-bottom: clamp(3.8rem, 4.2vw, 4.6rem);
}

.faq-group-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.4rem, 2.2vw, 2.85rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #111111;
    margin-top: 0;
    margin-bottom: clamp(2.4rem, 2.8vw, 3.0rem);
    text-transform: uppercase;
}

.faq-group-subtitle {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.4rem, 1.1vw, 1.52rem);
    font-weight: 400;
    line-height: 1.5;
    color: #555555;
}

/* Accordion Item */
.faq-accordion-items {
    display: flex;
    flex-direction: column;
}

.faq-accordion-item {
    border-bottom: 1px solid #e5e5e5;
    background: transparent;
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2.2rem, 2.4vw, 2.5rem) 0;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s ease;
}

.faq-accordion-item.is-open .faq-accordion-trigger {
    padding-bottom: 0;
}

.faq-accordion-trigger:hover {
    opacity: 0.75;
}

.faq-accordion-question {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.55rem, 1.25vw, 1.7rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.005em;
    color: #000000;
}

/* Plus/Minus Toggle Icon */
.faq-accordion-icon {
    position: relative;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal line (always present) */
.faq-accordion-icon::before {
    content: '';
    position: absolute;
    width: 1.1rem;
    height: 0.16rem;
    background-color: #000000;
    border-radius: 0.1rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Vertical line (present when collapsed -> makes +) */
.faq-accordion-icon::after {
    content: '';
    position: absolute;
    width: 0.16rem;
    height: 1.1rem;
    background-color: #000000;
    border-radius: 0.1rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* When open: vertical line is hidden/rotated -> becomes - */
.faq-accordion-item.is-open .faq-accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Accordion Panel & Answer */
.faq-accordion-panel {
    display: none;
    overflow: hidden;
}

.faq-accordion-body {
    padding-top: clamp(2.2rem, 2.4vw, 2.5rem);
    padding-bottom: clamp(2.2rem, 2.4vw, 2.5rem);
    padding-right: 0;
}

.faq-accordion-answer {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.38rem, 1.08vw, 1.48rem);
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0.005em;
    color: #555555;
    width: 100%;
    max-width: 100%;
}

/* ==========================================================================
   FAQ SECTION 2 - RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Laptops / Desktops (<= 1399.98px) */
@media (max-width: 1399.98px) {
    .faq-group-title {
        font-size: 2.6rem;
    }

    .faq-accordion-question {
        font-size: 1.7rem;
    }

    .faq-accordion-answer {
        font-size: 1.42rem;
    }
}

/* Medium Desktop / Laptop (<= 1199.98px) */
@media (max-width: 1199.98px) {
    .faq-accordion-section {
        padding: clamp(4.8rem, 5.5vw, 7.8rem) 0;
    }

    .faq-accordion-wrapper {
        padding-left: clamp(2.0rem, 3.8vw, 5.0rem);
        padding-right: clamp(2.0rem, 3.8vw, 5.0rem);
    }

    .faq-sidebar {
        padding-right: 2.4rem;
        max-width: 100%;
    }

    .faq-group-title {
        font-size: 2.4rem;
    }

    .faq-accordion-question {
        font-size: 1.65rem;
    }

    .faq-accordion-answer {
        font-size: 1.38rem;
    }
}

/* Tablets (<= 991.98px) */
@media (max-width: 991.98px) {
    .faq-accordion-section {
        padding: 4.5rem 0;
    }

    .faq-accordion-wrapper {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    .faq-sidebar {
        padding-right: 0;
        margin-bottom: 3.2rem;
        position: static;
        max-width: 100%;
    }

    .faq-sidebar-eyebrow {
        margin-bottom: 1.6rem;
    }

    .faq-topic-nav {
        margin-bottom: 2.4rem;
    }

    .faq-topic-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.0rem;
    }

    .faq-topic-link {
        width: auto;
        max-width: none;
        min-height: auto;
        padding: 0.9rem 1.8rem;
        gap: 1.0rem;
    }

    .faq-sidebar-help {
        display: flex;
        max-width: 100%;
        margin-top: 1.2rem;
        padding-top: 2.2rem;
        border-top: 1px solid #f0f0f0;
    }

    .faq-sidebar-help-text {
        margin-bottom: 1.6rem;
    }

    .faq-group-header {
        margin-bottom: 3.2rem;
    }

    .faq-group-title {
        font-size: 2.25rem;
        margin-bottom: 2.0rem;
    }

    .faq-accordion-question {
        font-size: 1.55rem;
    }

    .faq-accordion-trigger {
        padding: 2.0rem 0;
    }

    .faq-accordion-body {
        padding-top: 1.8rem;
        padding-bottom: 2.0rem;
        padding-right: 1.0rem;
    }
}

/* Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
    .faq-accordion-section {
        padding: 3.8rem 0;
    }

    .faq-accordion-wrapper {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .faq-sidebar {
        margin-bottom: 2.8rem;
    }

    .faq-topic-nav {
        margin-bottom: 2.0rem;
    }

    .faq-topic-link {
        font-size: 1.35rem;
        padding: 0.85rem 1.6rem;
    }

    .faq-sidebar-help-text {
        font-size: 1.32rem;
        margin-bottom: 1.6rem;
    }

    .faq-sidebar-help-link {
        font-size: 1.25rem;
    }

    .faq-group-header {
        margin-bottom: 2.8rem;
    }

    .faq-group-title {
        font-size: 2.05rem;
        margin-bottom: 1.6rem;
    }

    .faq-accordion-question {
        font-size: 1.48rem;
    }

    .faq-accordion-trigger {
        padding: 1.8rem 0;
    }

    .faq-accordion-body {
        padding-top: 1.6rem;
        padding-bottom: 1.8rem;
    }

    .faq-accordion-answer {
        font-size: 1.32rem;
        line-height: 1.6;
    }
}

/* Small Mobile (<= 575.98px) */
@media (max-width: 575.98px) {
    .faq-accordion-section {
        padding: 3.2rem 0;
    }

    .faq-accordion-wrapper {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .faq-topic-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.4rem;
        gap: 0.8rem;
    }

    .faq-sidebar-help-text {
        font-size: 1.25rem;
    }

    .faq-group-header {
        margin-bottom: 2.4rem;
    }

    .faq-group-title {
        font-size: 1.9rem;
        margin-bottom: 1.4rem;
    }

    .faq-group-subtitle {
        font-size: 1.28rem;
    }

    .faq-accordion-question {
        font-size: 1.42rem;
    }

    .faq-accordion-trigger {
        padding: 1.6rem 0;
    }

    .faq-accordion-body {
        padding-top: 1.4rem;
        padding-bottom: 1.6rem;
    }

    .faq-accordion-answer {
        font-size: 1.26rem;
    }
}

/* Extra Small Mobile (<= 420px) */
@media (max-width: 420px) {
    .faq-accordion-section {
        padding: 2.8rem 0;
    }

    .faq-accordion-wrapper {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .faq-group-title {
        font-size: 1.85rem;
    }

    .faq-accordion-question {
        font-size: 1.4rem;
    }

    .faq-accordion-answer {
        font-size: 1.2rem;
    }
}
