/* =========================================================
   FAQ PAGE
   ========================================================= */

.di_faq_hero {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    /*border-top: 1px solid rgba(245, 197, 66, 0.55);*/
    border-bottom: 1px solid rgba(32, 243, 162, 0.55);
    /*background:
        radial-gradient(circle at 74% 42%, rgba(0, 255, 180, 0.10), transparent 30%),
        #020a09;*/

    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, #8e5f14, #f6e9bb, #72531f, #a07a31, #9f6b11, #bea86c, #8b580e) 1;
    border-left: none;
    border-right: none;
    border-bottom: none;    
}

.di_faq_hero[style*="--di-faq-hero-background"] {
    background-image: var(--di-faq-hero-background);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.di_faq_hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 4, 5, 0.30) 0%,
        rgba(0, 4, 5, 0.08) 58%,
        rgba(0, 4, 5, 0.12) 100%
    );
    pointer-events: none;
}

.di_faq_hero_layout {
    position: relative;
    min-height: 390px;
    display: flex;
    /*align-items: center;*/
    padding: 28px 0 24px;
}

.di_faq_hero_copy {
    position: relative;
    z-index: 3;
    width: min(44%, 565px);
}

.di_faq_hero_kicker {
    margin-bottom: -4px;
    color: #ffe28a;
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1;
}

.di_faq_hero_copy h1 {
    margin: 0 0 8px;
    color: #ffe28a;
    font-size: clamp(40px, 10vw, 132px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.82;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(245, 197, 66, 0.20);
}

h1.gradient-header {
    /* Step 1: Set the gradient direction vertically from top to bottom */
    background: linear-gradient(to bottom, #faf7dc 0%, #eebf64 100%);

    /* Step 2: Clip the background strictly to the text silhouettes */
    -webkit-background-clip: text;
    background-clip: text;

    /* Step 3: Clear the font color so the underlying gradient shines through */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;


    /* Fallback color for legacy browsers */
    color: #eebf64; 
}

.di_faq_hero_lead {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: clamp(17px, 1.65vw, 25px);
    font-weight: 900;
    line-height: 1.05;
}

.di_faq_hero_lead span {
    color: #20f3a2;
}

.di_faq_hero_lead::first-letter {
    color: #ffffff;
}

.di_faq_hero_description {
    max-width: 570px;
    margin: 0 0 18px;
    color: #f0f0f0;
    font-size: 15px;
    line-height: 1.42;
}

.di_faq_search {
    position: relative;
    width: min(100%, 350px);
}

.di_faq_search i {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 2;
    color: #ffffff;
    font-size: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.di_faq_search input {
    width: 100%;
    height: 49px;
    padding: 0 18px 0 53px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    outline: none;
    background: rgba(2, 12, 13, 0.72);
    color: #ffffff;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.18), 0 0 14px rgba(32, 243, 162, 0.06);
}

.di_faq_search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.di_faq_search input:focus {
    border-color: #20f3a2;
    box-shadow: 0 0 0 2px rgba(32, 243, 162, 0.12), 0 0 18px rgba(32, 243, 162, 0.14);
}

.di_faq_hero_features {
    position: absolute;
    top: 32px;
    left: 34%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.di_faq_hero_feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.di_faq_hero_feature i {
    width: 27px;
    color: #20f3a2;
    font-size: 23px;
    text-align: center;
    filter: drop-shadow(0 0 7px rgba(32, 243, 162, 0.35));
}

.di_faq_hero_handwritten {
    position: absolute;
    top: 77px;
    right: 4.5%;
    z-index: 3;
    color: #b8ffd9;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(27px, 3.2vw, 51px);
    font-weight: 700;
    line-height: 0.88;
    text-align: center;
    transform: rotate(-8deg);
    text-shadow: 0 0 12px rgba(32, 243, 162, 0.35);
}

.di_faq_hero_side_words {
    position: absolute;
    right: 0;
    bottom: 42px;
    z-index: 3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.42;
    text-transform: uppercase;
}

/* =========================================================
   CATEGORY BAR
   ========================================================= */

.di_faq_categories {
    position: relative;
    z-index: 5;
    padding: 7px 0 10px;
    background: #020807;
    border-bottom: 1px solid rgba(32, 243, 162, 0.35);
}

.di_faq_category_scroller {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.di_faq_category_button {
    min-width: 0;
    min-height: 80px;
    padding: 8px 5px;
    border: 1px solid rgba(32, 243, 162, 0.38);
    border-radius: 8px;
    background: rgba(4, 14, 14, 0.82);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.08;
    text-align: center;
    text-transform: uppercase;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.di_faq_category_button i {
    color: #ffe28a;
    font-size: 22px;
}

.di_faq_category_button:hover,
.di_faq_category_button.is-active {
    border-color: #20f3a2;
    background: linear-gradient(to top, rgba(32, 243, 162, 0.12), rgba(32, 243, 162, 0.035));
    box-shadow: 0 0 16px rgba(32, 243, 162, 0.12), inset 0 0 12px rgba(32, 243, 162, 0.04);
    /*transform: translateY(-1px);*/
}

.di_faq_category_button.is-active i {
    color: #20f3a2;
}

/* =========================================================
   QUESTIONS
   ========================================================= */

.di_faq_questions {
    padding: 10px 0 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(32, 243, 162, 0.035), transparent 32%),
        #020807;
}

.di_faq_question_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.di_faq_group {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(32, 243, 162, 0.46);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(7, 19, 18, 0.98), rgba(2, 10, 10, 0.98));
    box-shadow: inset 0 0 16px rgba(32, 243, 162, 0.025);
}

.di_faq_group[hidden] {
    display: none;
}

.di_faq_group_header {
    min-height: 44px;
    padding: 7px 12px 7px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.di_faq_group_heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.di_faq_group_heading i {
    flex: 0 0 auto;
    width: 34px;
    color: #ffe28a;
    font-size: 27px;
    text-align: center;
}

.di_faq_group_heading h2 {
    margin: 0;
    color: #ffe28a;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.di_faq_view_all {
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: #20f3a2;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
}

.di_faq_view_all i {
    font-size: 14px;
}

.di_faq_items {
    padding: 0 9px 7px;
}

.di_faq_item {
    margin: 0 0 2px;
    overflow: hidden;
    border: 1px solid rgba(120, 255, 229, 0.16);
    border-radius: 7px;
    background: rgba(8, 24, 24, 0.84);
}

.di_faq_item:last-child {
    margin-bottom: 0;
}

.di_faq_item[hidden] {
    display: none;
}

.di_faq_item summary {
    min-height: 31px;
    padding: 6px 11px;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.3;
}

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

.di_faq_item summary span {
    min-width: 0;
}

.di_faq_item summary i {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.di_faq_item[open] summary i {
    transform: rotate(180deg);
}

.di_faq_item[open] summary {
    color: #ffffff;
}

.di_faq_answer {
    padding: 0 11px 10px;
    color: #d8e4e1;
    font-size: 12px;
    line-height: 1.45;
}

.di_faq_no_results {
    margin: 24px auto 0;
    padding: 20px;
    border: 1px dashed rgba(32, 243, 162, 0.4);
    border-radius: 12px;
    color: #a7b9b6;
    text-align: center;
}

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

.di_faq_cta {
    position: relative;
    min-height: 158px;
    overflow: hidden;
/*    border-top: 1px solid rgba(245, 197, 66, 0.5);
    border-bottom: 1px solid rgba(245, 197, 66, 0.55);*/

    border-bottom: 2px solid transparent;
    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, #8e5f14, #f6e9bb, #72531f, #a07a31, #9f6b11, #bea86c, #8b580e) 1;
    border-left: none;
    border-right: none;    

    background:
        linear-gradient(90deg, rgba(5, 10, 8, 0.55), rgba(5, 10, 8, 0.08), rgba(5, 10, 8, 0.55)),
        #101612;
    background-image: var(--di-faq-cta-background);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.di_faq_cta_overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.25));*/
}

.di_faq_cta_content {
    position: relative;
    min-height: 158px;
    display: grid;
    grid-template-columns: 1.8fr auto 0.5fr;
    align-items: center;
    gap: 25px;
}

.di_faq_cta_copy {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.di_faq_cta_copy h2 {
    margin: 0;
    color: #f9c25e;
    font-size: clamp(27px, 3vw, 47px);
    font-weight: 700;
    line-height: 0.94;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.16);
}

.di_faq_cta_copy p {
    margin: 9px 0 0;
    color: #20f3a2;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.di_faq_cta_action {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.di_faq_cta_action .di_btn {
    min-width: 250px;
    min-height: 56px;
    padding: 10px 22px;
    font-size: 16px;
}

.di_faq_cta_socials {
    display: flex;
    gap: 35px;
    color: #ffffff;
    font-size: 38px;
}

.di_faq_cta_handwritten {
    justify-self: end;
    position: relative;
    z-index: 3;
    color: #ffe98e;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(27px, 3vw, 46px);
    font-weight: 700;
    line-height: 0.82;
    text-align: center;
    transform: rotate(-8deg);
    text-shadow: 0 0 12px rgba(245, 197, 66, 0.22);
}

@media (max-width: 1100px) {
    .di_faq_category_scroller {
        display: flex;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .di_faq_category_scroller::-webkit-scrollbar {
        display: none;
    }

    .di_faq_category_button {
        flex: 0 0 105px;
    }

    .di_faq_hero_copy {
        width: 49%;
    }

/*    .di_faq_hero_features {
        left: 44%;
    }*/

    .di_faq_hero_handwritten {
        right: 3%;
    }
}

@media (max-width: 767px) {
    .di_faq_hero,
    .di_faq_hero_layout {
        min-height: 610px;
    }

    .di_faq_hero {
        background-position: 63% center;
    }

    .di_faq_hero_overlay {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.66)
        );
    }

    .di_faq_hero_layout {
        display: block;
        padding: 55px 0 25px;
    }

    .di_faq_hero_copy {
        width: min(100%, 430px);
    }

    .di_faq_hero_kicker {
        font-size: 28px;
    }

    .di_faq_hero_copy h1 {
        font-size: clamp(76px, 20vw, 112px);
    }

    .di_faq_hero_lead {
        max-width: 390px;
        font-size: 18px;
    }

    .di_faq_hero_description {
        max-width: 400px;
        font-size: 13px;
    }

    .di_faq_search {
        width: min(100%, 390px);
    }

    .di_faq_hero_features {
        top: auto;
        right: auto;
        bottom: 34px;
        left: 20px;
        gap: 10px;
    }

    .di_faq_hero_feature {
        font-size: 13px;
        font-weight: 700;
    }

    .di_faq_hero_feature i {
        width: 22px;
        font-size: 18px;
    }

    .di_faq_hero_handwritten {
        top: auto;
        right: 24%;
        bottom: 30px;
        font-size: 31px;
    }

    .di_faq_hero_side_words {
        display: none;
    }

    .di_faq_question_grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .di_faq_group_header {
        min-height: 48px;
    }

    .di_faq_group_heading h2 {
        font-size: 14px;
    }

    .di_faq_item summary {
        font-size: 13px;
    }

    .di_faq_answer {
        font-size: 13px;
    }

    .di_faq_cta_overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.25));
    }

    .di_faq_cta,
    .di_faq_cta_content {
        min-height: 420px;
    }

    .di_faq_cta {
        background-position: 57% center;
    }

    .di_faq_cta_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 34px 0;
        text-align: center;
    }

    .di_faq_cta_copy h2 {
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #333;
    }

    .di_faq_cta_handwritten {
        justify-self: auto;
        font-size: 39px;
    }
}

@media (max-width: 420px) {
    .di_faq_hero,
    .di_faq_hero_layout {
        min-height: 450px;
    }

    .di_faq_hero_description {
        max-width: 250px;
        font-size: 13px;
    }


    .di_faq_hero_layout {
        padding-top: 25px;
    }

    .di_faq_hero_features {
        bottom: 0;
        left: 20px;
        right: auto;
    }

    .di_faq_hero_feature {
        font-size: 11px;
    }

    .di_faq_hero_handwritten {
        right: 0;
        bottom: 160px;
        font-size: 28px;
    }

    .di_faq_category_button {
        flex-basis: 94px;
        min-height: 75px;
        font-size: 9px;
    }

    .di_faq_group_header {
        padding-right: 9px;
        padding-left: 11px;
    }

    .di_faq_group_heading {
        gap: 8px;
    }

    .di_faq_group_heading i {
        width: 28px;
        font-size: 23px;
    }

    .di_faq_view_all span {
        display: none;
    }

    .di_faq_cta_copy h2 {
        font-size: 36px;
    }
}
