/* =========================================================
   LOAN CURE SOLUTIONS — FAQ KNOWLEDGE HUB
   Page-specific stylesheet
   ========================================================= */

.fqh-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 88px;
    background: #0b1f33;
    color: #fff;
}

.fqh-hero::after {
    content: "";
    position: absolute;
    top: -230px;
    right: -150px;
    width: 570px;
    height: 570px;
    border: 1px solid rgba(214,179,106,.13);
    border-radius: 50%;
}

.fqh-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(330px,.72fr);
    gap: 76px;
    align-items: center;
}

.fqh-hero-copy {
    max-width: 780px;
}

.fqh-hero h1 {
    margin: 18px 0 24px;
    max-width: 780px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px,6vw,78px);
    line-height: .98;
    letter-spacing: -.035em;
}

.fqh-hero h1 em {
    display: block;
    margin-top: 8px;
    color: #d6b36a;
    font-weight: 400;
}

.fqh-hero-lead {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.75;
}

.fqh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 34px;
}

.fqh-text-link {
    color: #d6b36a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fqh-hero-panel {
    padding: 38px;
    border: 1px solid rgba(214,179,106,.38);
    background: rgba(255,255,255,.045);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
}

.fqh-panel-label {
    color: #d6b36a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.fqh-panel-number {
    display: block;
    margin: 19px 0 10px;
    color: rgba(214,179,106,.34);
    font-family: "Playfair Display", serif;
    font-size: 78px;
    line-height: .9;
}

.fqh-hero-panel h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 29px;
    line-height: 1.17;
}

.fqh-hero-panel p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.7;
}

.fqh-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 27px;
}

.fqh-panel-tags span {
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.fqh-nav {
    border-bottom: 1px solid #e2e4e6;
    background: #fff;
}

.fqh-nav-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0 20px;
}

.fqh-nav-head span {
    color: #b28b43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.fqh-nav-head p {
    margin: 0;
    color: #68727c;
    font-size: 14px;
}

.fqh-topic-nav {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    border-top: 1px solid #e4e6e8;
    border-left: 1px solid #e4e6e8;
}

.fqh-topic-nav a {
    display: flex;
    flex-direction: column;
    min-height: 105px;
    padding: 20px;
    border-right: 1px solid #e4e6e8;
    color: #0b1f33;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.fqh-topic-nav a span {
    margin-bottom: 18px;
    color: #b28b43;
    font-size: 11px;
}

.fqh-intro,
.fqh-disclosure {
    padding: 90px 0;
}

.fqh-intro-grid,
.fqh-disclosure-grid {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: 90px;
}

.fqh-intro h2,
.fqh-disclosure h2 {
    margin: 14px 0 0;
    max-width: 650px;
    color: #0b1f33;
    font-size: clamp(35px,4vw,52px);
    line-height: 1.08;
}

.fqh-intro-copy p,
.fqh-disclosure-grid > div:last-child > p {
    margin: 0 0 18px;
    color: #53606d;
    font-size: 16px;
    line-height: 1.75;
}

.fqh-library {
    padding: 0 0 90px;
}

.fqh-category {
    scroll-margin-top: 110px;
    padding: 78px 0;
    border-top: 1px solid #dfe3e6;
}

.fqh-category:first-child {
    border-top: 0;
}

.fqh-category-head {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(280px,.58fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 38px;
}

.fqh-category-number {
    display: block;
    margin-bottom: 16px;
    color: rgba(178,139,67,.38);
    font-family: "Playfair Display", serif;
    font-size: 54px;
    line-height: 1;
}

.fqh-category-head h2 {
    margin: 12px 0 0;
    max-width: 720px;
    color: #0b1f33;
    font-size: clamp(32px,3.7vw,48px);
    line-height: 1.08;
}

.fqh-category-head > p {
    margin: 0;
    color: #596570;
    font-size: 15px;
    line-height: 1.7;
}

.fqh-accordion {
    border-top: 1px solid #dfe3e6;
}

.fqh-accordion details {
    border-bottom: 1px solid #dfe3e6;
}

.fqh-accordion summary {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 34px;
    gap: 14px;
    align-items: center;
    padding: 25px 4px;
    color: #0b1f33;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
    transition: padding .22s ease, background-color .22s ease;
}

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

.fqh-accordion summary > span {
    color: #b28b43;
    font-size: 13px;
    font-weight: 800;
}

.fqh-accordion summary::after {
    content: "+";
    color: #b28b43;
    font-size: 25px;
    font-weight: 400;
    text-align: right;
}

.fqh-accordion details[open] summary::after {
    content: "−";
}

.fqh-accordion details > p {
    max-width: 850px;
    margin: -2px 0 27px 76px;
    color: #596570;
    font-size: 15px;
    line-height: 1.75;
}

.fqh-category-link {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 25px;
}

.fqh-category-link a {
    color: #9d7837;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fqh-guidance {
    padding: 90px 0;
    background: #0b1f33;
    color: #fff;
}

.fqh-guidance-grid {
    display: grid;
    grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
    gap: 80px;
}

.fqh-guidance-copy h2 {
    margin: 14px 0 20px;
    max-width: 580px;
    color: #fff;
    font-size: clamp(36px,4vw,52px);
    line-height: 1.08;
}

.fqh-guidance-copy p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 16px;
    line-height: 1.75;
}

.fqh-guidance-options {
    border-top: 1px solid rgba(255,255,255,.14);
}

.fqh-guidance-options a {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 24px 4px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    transition: padding .25s ease, background-color .25s ease;
}

.fqh-guidance-options > a > span {
    color: #d6b36a;
    font-size: 12px;
    font-weight: 800;
}

.fqh-guidance-options strong {
    display: block;
    margin-bottom: 7px;
    font-size: 19px;
}

.fqh-guidance-options small {
    color: rgba(255,255,255,.6);
    font-size: 13px;
}

.fqh-disclosure {
    background: #f4efe6;
}

.fqh-disclosure-grid > div:last-child > strong {
    display: block;
    margin-top: 27px;
    padding: 22px 24px;
    border-left: 3px solid #d6b36a;
    background: rgba(255,255,255,.55);
    color: #0b1f33;
    font-size: 15px;
    line-height: 1.7;
}

.fqh-final-cta {
    padding: 64px 0;
    background: #d6b36a;
}

.fqh-final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 55px;
    align-items: center;
}

.fqh-final-cta h2 {
    margin: 10px 0;
    max-width: 720px;
    color: #0b1f33;
    font-size: clamp(34px,4vw,50px);
    line-height: 1.08;
}

.fqh-final-cta p {
    max-width: 700px;
    margin: 0;
    color: rgba(11,31,51,.75);
    font-size: 16px;
    line-height: 1.7;
}

@media (hover:hover) and (pointer:fine) {
    .fqh-topic-nav a:hover {
        background: #0b1f33;
        color: #fff;
    }

    .fqh-accordion summary:hover {
        padding-left: 14px;
        padding-right: 14px;
        background: #f7f4ee;
    }

    .fqh-category-link a:hover {
        color: #0b1f33;
    }

    .fqh-guidance-options a:hover {
        padding-left: 14px;
        padding-right: 14px;
        background: rgba(255,255,255,.05);
    }
}

@media (max-width: 980px) {
    .fqh-hero-grid,
    .fqh-intro-grid,
    .fqh-disclosure-grid,
    .fqh-guidance-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .fqh-topic-nav {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .fqh-category-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .fqh-hero,
    .fqh-intro,
    .fqh-guidance,
    .fqh-disclosure {
        padding: 65px 0;
    }

    .fqh-hero {
        padding-top: 68px;
    }

    .fqh-hero h1 {
        font-size: 47px;
    }

    .fqh-hero-panel {
        padding: 28px 24px;
    }

    .fqh-nav-head {
        flex-direction: column;
        gap: 8px;
    }

    .fqh-topic-nav {
        grid-template-columns: 1fr;
    }

    .fqh-topic-nav a {
        min-height: 0;
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .fqh-topic-nav a span {
        margin: 0;
    }

    .fqh-category {
        padding: 58px 0;
    }

    .fqh-accordion summary {
        grid-template-columns: 42px minmax(0,1fr) 24px;
        gap: 10px;
        font-size: 16px;
    }

    .fqh-accordion details > p {
        margin-left: 52px;
        font-size: 15px;
    }

    .fqh-final-cta-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fqh-topic-nav a,
    .fqh-accordion summary,
    .fqh-guidance-options a {
        transition: none;
    }
}
