
/* ================================
   HD100 FAQ SECTION
   ================================ */

.hd100-faq {
    --hd-bg: #f6f7f9;
    --hd-card: #ffffff;
    --hd-text: #17191c;
    --hd-muted: #686d75;
    --hd-border: #e5e7eb;
    --hd-accent: #111111;

    width: 100%;
    padding: 90px 20px;
    background: var(--hd-bg);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

.hd100-faq *,
.hd100-faq *::before,
.hd100-faq *::after {
    box-sizing: border-box;
}

.hd100-faq-container {
    max-width: 1050px;
    margin: 0 auto;
}


/* ---------- Header ---------- */

.hd100-faq-header {
    text-align: center;
    margin-bottom: 55px;
}

.hd100-faq-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: var(--hd-muted);
}

.hd100-faq-label::before,
.hd100-faq-label::after {
    content: "";
    width: 22px;
    height: 1px;
    background: #c9ccd1;
}

.hd100-faq-title {
    margin: 0;
    color: var(--hd-text);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -1.5px;
}

.hd100-faq-subtitle {
    max-width: 650px;
    margin: 18px auto 0;

    color: var(--hd-muted);
    font-size: 16px;
    line-height: 1.7;
}


/* ---------- FAQ List ---------- */

.hd100-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ---------- FAQ Item ---------- */

.hd100-faq-item {
    background: var(--hd-card);
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    overflow: hidden;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.hd100-faq-item:hover {
    border-color: #cfd2d6;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}


/* ---------- Question ---------- */

.hd100-faq-question {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    padding: 25px 28px;

    cursor: pointer;
    list-style: none;
}

.hd100-faq-question::-webkit-details-marker {
    display: none;
}


/* Number */

.hd100-faq-number {
    flex: 0 0 48px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #a0a4aa;
}


/* Question text */

.hd100-faq-question-text {
    flex: 1;

    padding-right: 20px;

    color: var(--hd-text);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 650;
}


/* Plus icon */

.hd100-faq-icon {
    position: relative;

    width: 24px;
    height: 24px;

    flex: 0 0 24px;
}

.hd100-faq-icon::before,
.hd100-faq-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 14px;
    height: 2px;

    background: #17191c;

    transform: translate(-50%, -50%);

    transition: transform 0.25s ease;
}

.hd100-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* ---------- Answer ---------- */

.hd100-faq-answer {
    padding: 0 80px 28px 76px;

    color: var(--hd-muted);
    font-size: 15px;
    line-height: 1.8;
}

.hd100-faq-answer p {
    margin: 0;
}


/* ---------- Open State ---------- */

.hd100-faq-item[open] {
    border-color: #d4d6da;
}

.hd100-faq-item[open] .hd100-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* ---------- Bottom Note ---------- */

.hd100-faq-note {
    margin-top: 35px;
    padding: 18px 22px;

    border-left: 3px solid #17191c;

    background: #ffffff;

    color: #777c83;
    font-size: 13px;
    line-height: 1.7;
}


/* ---------- Mobile ---------- */

@media (max-width: 767px) {

    .hd100-faq {
        padding: 60px 16px;
    }

    .hd100-faq-header {
        margin-bottom: 35px;
    }

    .hd100-faq-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hd100-faq-subtitle {
        font-size: 14px;
    }

    .hd100-faq-question {
        padding: 21px 18px;
    }

    .hd100-faq-number {
        flex-basis: 38px;
        font-size: 11px;
    }

    .hd100-faq-question-text {
        font-size: 15px;
        padding-right: 12px;
    }

    .hd100-faq-answer {
        padding: 0 20px 23px 56px;
        font-size: 14px;
        line-height: 1.75;
    }

    .hd100-faq-note {
        font-size: 12px;
    }
}
