/* Homepage FAQ (index.blade.php, .hp-faq). The accordion keeps the theme's markup + script
   (.accrodion-grp / .accrodion / .active); this file only restyles it inside .hp-faq. */

.hp-faq {
    position: relative;
    padding: 90px 0 100px;
    background-color: #fbf7f7;
    background-image:
        linear-gradient(rgba(198, 40, 40, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 40, 40, .045) 1px, transparent 1px);
    background-size: 36px 36px;
}
.hp-faq .hp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 50px;
    align-items: start;
}

/* ── Left: header + help card (sticky) ────────────────── */
.hp-faq .hp-faq-side { position: sticky; top: 120px; }
.hp-faq .hp-faq-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    color: #c62828; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hp-faq .hp-faq-eyebrow::before { content: ""; width: 34px; height: 2px; background: #c62828; }
.hp-faq .process-title { margin: 0 0 12px; font-size: 2.6rem; line-height: 1.15; }
.hp-faq .process-title span { color: #c62828; }
.hp-faq .hp-faq-sub { margin: 0; padding: 0; font-size: 17px; line-height: 1.7; color: #555; }

.hp-faq .hp-faq-help {
    margin-top: 30px;
    padding: 26px;
    border: 1px solid #f0dede;
    border-top: 4px solid #c62828;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(17, 22, 31, .07);
}
.hp-faq .hp-faq-help h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #111; }
.hp-faq .hp-faq-help p { margin: 0 0 18px; padding: 0; font-size: 15px; line-height: 1.6; color: #666; }
.hp-faq .hp-faq-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-faq .hp-faq-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px;
    font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.5;
    text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hp-faq .hp-faq-btn:hover { transform: translateY(-2px); }
.hp-faq .hp-faq-btn--red { background: #c62828; border: 1px solid #c62828; color: #fff; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); }
.hp-faq .hp-faq-btn--red:hover { background: #a91f1f; border-color: #a91f1f; color: #fff; }
.hp-faq .hp-faq-btn--wa { background: #fff; border: 1px solid #bfe9cf; color: #0b6e36; }
.hp-faq .hp-faq-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.hp-faq .hp-faq-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: #c62828; text-decoration: none; }
.hp-faq .hp-faq-all i { transition: transform .2s ease; }
.hp-faq .hp-faq-all:hover i { transform: translateX(4px); }

/* ── Right: accordion ─────────────────────────────────── */
.hp-faq .faq-one__accrodion { max-width: none; margin: 0; padding: 0; list-style: none; }
.hp-faq .faq-one__accrodion .accrodion {
    margin-bottom: 14px;
    border: 1px solid #efe4e4;
    border-left: 4px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 22, 31, .05);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.hp-faq .faq-one__accrodion .accrodion:hover { border-color: #ead2d2; border-left-color: rgba(198, 40, 40, .35); }
.hp-faq .faq-one__accrodion .accrodion.active {
    border-color: rgba(198, 40, 40, .25);
    border-left-color: #c62828;
    box-shadow: 0 16px 34px rgba(198, 40, 40, .1);
}
.hp-faq .faq-one__accrodion .accrodion .accrodion-title {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 76px 20px 22px; background: transparent;
}
.hp-faq .faq-one__accrodion .accrodion.active .accrodion-title { border-bottom: 0; background: #fff7f7; }
.hp-faq .hp-faq-num {
    flex: 0 0 auto;
    min-width: 30px;
    font-size: 15px; font-weight: 800; line-height: 1;
    color: #a5585c;
    transition: color .3s ease;
}
.hp-faq .accrodion.active .hp-faq-num,
.hp-faq .accrodion:hover .hp-faq-num { color: #c62828; }
.hp-faq .faq-one__accrodion .accrodion .accrodion-title h3 { font-size: 17px; line-height: 1.45; font-weight: 700; color: #111; }
.hp-faq .faq-one__accrodion .accrodion.active .accrodion-title h3 { color: #111; }
.hp-faq .faq-one__accrodion .accrodion .accrodion-title h3::before {
    right: 20px; width: 38px; height: 38px;
    background: #f3f1f1; color: #777; font-size: 14px;
}
.hp-faq .faq-one__accrodion .accrodion:hover .accrodion-title h3::before { background: #fdecec; color: #c62828; }
.hp-faq .faq-one__accrodion .accrodion.active .accrodion-title h3::before { background: #c62828; color: #fff; }
.hp-faq .faq-one__accrodion .accrodion .accrodion-content { background: #fff7f7; }
.hp-faq .faq-one__accrodion .accrodion .accrodion-content .inner { padding: 0 28px 22px 68px; }
.hp-faq .faq-one__accrodion .accrodion .accrodion-content .inner p { font-size: 15.5px; line-height: 1.8; color: #555; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
    .hp-faq .hp-faq-grid { gap: 34px; }
    .hp-faq .process-title { font-size: 2.3rem; }
}
@media (max-width: 991px) {
    .hp-faq { padding: 70px 0 80px; }
    /* order on small screens: header → questions → help card */
    .hp-faq .hp-faq-grid { grid-template-columns: 1fr; gap: 0; }
    .hp-faq .hp-faq-side { display: contents; }
    .hp-faq .hp-faq-head { order: 1; margin-bottom: 30px; text-align: center; }
    .hp-faq .hp-faq-eyebrow::after { content: ""; width: 34px; height: 2px; background: #c62828; }
    .hp-faq .hp-faq-list { order: 2; }
    .hp-faq .hp-faq-help { order: 3; }
}
@media (max-width: 767px) {
    .hp-faq { padding: 56px 0; background-size: 28px 28px; }
    .hp-faq .process-title { font-size: 2rem; }
    .hp-faq .hp-faq-sub { font-size: 15.5px; }
    .hp-faq .faq-one__accrodion .accrodion { margin-bottom: 10px; border-radius: 14px; }
    .hp-faq .faq-one__accrodion .accrodion .accrodion-title { gap: 12px; padding: 16px 60px 16px 16px; }
    .hp-faq .faq-one__accrodion .accrodion .accrodion-title h3 { font-size: 15.5px; }
    .hp-faq .faq-one__accrodion .accrodion .accrodion-title h3::before { right: 14px; width: 34px; height: 34px; }
    .hp-faq .faq-one__accrodion .accrodion .accrodion-content .inner { padding: 0 16px 18px; }
    .hp-faq .faq-one__accrodion .accrodion .accrodion-content .inner p { font-size: 14.5px; }
    .hp-faq .hp-faq-help { margin-top: 24px; padding: 22px 18px; text-align: center; }
    .hp-faq .hp-faq-actions { flex-direction: column; }
    .hp-faq .hp-faq-btn { width: 100%; }
}
@media (max-width: 480px) {
    .hp-faq .hp-faq-num { display: none; }
}
