/* ============================================================
   Guide pages — shared footer + FAQ styling
   Self-contained port of the site-wide .hh-footer / .hh-faq
   components (from corporate.css) so the standalone guide
   pages match every other page. Scoped class names only.
   ============================================================ */

.hh-faq,
.hh-footer {
    --c-ink: #1c2329;
    --c-accent: #09747f;
    --c-accent-700: #0b5159;
    --c-dark: #10242a;
    --c-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Fix: white heading on the teal Market-Leading section ---------- */
.market-section .heading-title,
.market-section .heading-title * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* =========================== FOOTER =========================== */
.hh-footer {
    margin: 24px;
    border-radius: 28px;
    background: #f3f4f3;
    padding: 70px 0 34px;
    color: var(--c-ink);
}

.hh-footer-top {
    display: grid;
    grid-template-columns: 1.05fr 2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.hh-footer-intro {
    max-width: 420px;
}

.hh-footer .hh-footer-heading {
    margin: 0 0 20px;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700 !important;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--c-ink) !important;
    -webkit-text-fill-color: var(--c-ink) !important;
}

.hh-footer-text {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5656;
}

.hh-footer-text a {
    color: var(--c-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s var(--c-ease);
}

.hh-footer-text a:hover {
    color: var(--c-accent);
}

.hh-footer-socials {
    display: flex;
    gap: 10px;
}

.hh-footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 36, 42, 0.18);
    border-radius: 10px;
    color: var(--c-ink);
    font-size: 16px;
    text-decoration: none;
    transition: transform .25s var(--c-ease), background .25s var(--c-ease), color .25s var(--c-ease), border-color .25s var(--c-ease);
}

.hh-footer-socials a:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.hh-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hh-footer .hh-footer-col-label {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a9696 !important;
    -webkit-text-fill-color: #8a9696 !important;
}

.hh-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hh-footer-col li {
    margin-bottom: 12px;
}

.hh-footer-col a {
    color: var(--c-ink);
    font-size: 16px;
    text-decoration: none;
    transition: color .2s var(--c-ease);
}

.hh-footer-col a:hover {
    color: var(--c-accent);
}

.hh-footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
    padding-top: 34px;
    border-top: 1px solid rgba(16, 36, 42, 0.1);
}

.hh-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hh-footer-brand img {
    height: 46px;
    width: auto;
}

.hh-footer-permit img {
    height: 46px;
    width: auto;
}

.hh-footer-contact p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5656;
}

.hh-footer-contact a {
    color: #4a5656;
    text-decoration: none;
}

.hh-footer-contact strong {
    color: var(--c-ink);
}

.hh-footer-copy {
    text-align: right;
}

.hh-footer-copy p {
    margin: 0 0 4px;
    font-size: 14px;
    color: #4a5656;
}

@media (max-width: 991px) {
    .hh-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .hh-footer {
        margin: 16px;
        padding: 48px 0 28px;
    }

    .hh-footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .hh-footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hh-footer-brand {
        justify-content: center;
    }

    .hh-footer-copy {
        text-align: center;
    }
}

/* ============================ FAQ ============================ */
.hh-faq.faq-section {
    padding: 90px 0 !important;
    background: #ffffff !important;
}

.hh-faq .hh-faq-intro {
    max-width: 440px;
}

.hh-faq .hh-faq-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border: 1px solid rgba(16, 36, 42, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-ink);
}

.hh-faq .hh-faq-title {
    margin: 22px 0 0 !important;
    font-size: clamp(34px, 3.6vw, 52px) !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: -1px;
    font-style: normal !important;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: var(--c-ink) !important;
    -webkit-text-fill-color: var(--c-ink) !important;
}

.hh-faq .hh-faq-text {
    margin: 22px 0 32px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(16, 36, 42, 0.6);
}

.hh-faq .hh-faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px 11px 26px;
    background: var(--c-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .25s var(--c-ease), box-shadow .25s var(--c-ease), background .25s var(--c-ease);
}

.hh-faq .hh-faq-btn:hover {
    background: var(--c-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(9, 116, 127, 0.3);
}

.hh-faq .hh-faq-btn-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hh-faq .hh-faq-acc .accordion-item {
    background: #ffffff !important;
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(16, 36, 42, 0.04);
}

.hh-faq .hh-faq-acc .accordion-header {
    margin: 0;
}

.hh-faq .hh-faq-acc .accordion-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 22px 24px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--c-ink) !important;
    -webkit-text-fill-color: var(--c-ink);
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
}

.hh-faq .hh-faq-acc .accordion-button::after {
    display: none !important;
}

.hh-faq .hh-faq-acc .accordion-button:focus {
    box-shadow: none !important;
}

.hh-faq .hh-faq-num {
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink) !important;
    -webkit-text-fill-color: var(--c-ink) !important;
}

.hh-faq .hh-faq-q {
    flex: 1 1 auto;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-ink) !important;
    -webkit-text-fill-color: var(--c-ink) !important;
}

.hh-faq .hh-faq-acc .accordion-button:not(.collapsed) .hh-faq-q,
.hh-faq .hh-faq-acc .accordion-button:not(.collapsed) .hh-faq-num {
    color: var(--c-accent) !important;
    -webkit-text-fill-color: var(--c-accent) !important;
}

.hh-faq .hh-faq-toggle {
    flex: 0 0 auto;
    position: relative;
    width: 34px;
    height: 34px;
    margin-left: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(16, 36, 42, 0.25);
    transition: background .25s var(--c-ease), border-color .25s var(--c-ease);
}

.hh-faq .hh-faq-toggle::before,
.hh-faq .hh-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--c-ink);
    transform: translate(-50%, -50%);
    transition: all .25s var(--c-ease);
}

.hh-faq .hh-faq-toggle::before {
    width: 12px;
    height: 2px;
}

.hh-faq .hh-faq-toggle::after {
    width: 2px;
    height: 12px;
}

.hh-faq .accordion-button:not(.collapsed) .hh-faq-toggle {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.hh-faq .accordion-button:not(.collapsed) .hh-faq-toggle::before {
    background: #ffffff;
}

.hh-faq .accordion-button:not(.collapsed) .hh-faq-toggle::after {
    height: 0;
    background: #ffffff;
}

.hh-faq .hh-faq-acc .accordion-body {
    padding: 0 24px 24px 64px;
    color: #5a6a6a !important;
    -webkit-text-fill-color: #5a6a6a !important;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .hh-faq.faq-section {
        padding: 56px 0 !important;
    }
    .hh-faq .hh-faq-intro {
        max-width: 100%;
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    .hh-faq .hh-faq-acc .accordion-button {
        padding: 18px 16px !important;
        gap: 8px;
    }
    .hh-faq .hh-faq-q { font-size: 15px; }
    .hh-faq .hh-faq-num { font-size: 15px; }
    .hh-faq .hh-faq-acc .accordion-body {
        padding: 0 16px 20px 16px;
        font-size: 14px;
    }
    .hh-faq .hh-faq-toggle { width: 30px; height: 30px; margin-left: 8px; }
}
