/* =========================================
   HELP HERO
========================================= */

.help-hero {
    padding-top: 150px;
    padding-bottom: 90px;

    background: var(--cream);
}

.help-hero-content {
    max-width: 750px;

    margin: auto;
}

.help-hero h1 {
    margin: 15px 0;

    font-size: clamp(38px, 5vw, 55px);

    font-weight: 800;

    letter-spacing: -1.5px;
}

.help-hero p {
    max-width: 620px;

    margin: auto;

    color: var(--text);

    line-height: 1.8;
}


/* =========================================
   SEARCH
========================================= */

.help-search {
    display: flex;

    align-items: center;

    gap: 12px;

    max-width: 600px;

    margin: 35px auto 0;

    padding: 16px 20px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.help-search i {
    color: var(--primary);

    font-size: 18px;
}

.help-search input {
    width: 100%;

    border: none;

    outline: none;

    color: var(--dark);

    font-size: 14px;
}

.help-search input::placeholder {
    color: #aaa;
}


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

.faq-section {
    padding: 100px 0;

    background: white;
}

.faq-wrapper {
    max-width: 800px;

    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 12px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;
}

.faq-question {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    border: none;

    background: white;

    color: var(--dark);

    text-align: left;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}

.faq-question i {
    color: var(--primary);

    transition: 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;

    padding: 0 22px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;

    color: var(--text);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   CONTACT HELP
========================================= */

.contact-help-section {
    padding: 80px 0;

    background: var(--light);
}

.contact-help-box {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 40px;

    border-radius: 20px;

    background: var(--primary);

    color: white;
}

.contact-help-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.15);

    font-size: 28px;
}

.contact-help-box span {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    opacity: 0.8;
}

.contact-help-box h2 {
    margin: 5px 0;

    font-size: 28px;

    font-weight: 800;
}

.contact-help-box p {
    margin: 0;

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;
}

.contact-help-box .btn {
    margin-left: auto;

    flex-shrink: 0;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .help-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .contact-help-box {
        display: block;

        padding: 30px;

        text-align: center;
    }

    .contact-help-icon {
        margin: 0 auto 20px;
    }

    .contact-help-box .btn {
        margin: 20px 0 0;
    }


    
}

/* =====================================================
   BACKGROUND BATIK (tambahan)
===================================================== */

/* 1. Biarkan batik terlihat di belakang section */
.help-hero,
.faq-section,
.contact-help-section {
    background: transparent;
}

/* 2. Teks hero ditaruh di kotak putih agar terbaca di atas batik */
.help-hero-content {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 3. Judul "Pertanyaan yang sering ditanyakan" di kotak putih */
.faq-section .section-heading {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   HUBUNGI TIM KAMI GAYA PAK D (tambahan)
===================================================== */

.contact-help-box {
    background: #ff0101;
    color: #ffffff;
    padding: 45px 40px;
}

.contact-help-box h2 {
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-help-box p {
    color: #ffffff;
    font-size: 15px;
}

.contact-help-box .btn-light-custom {
    background: #4fec5d;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 19px;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 700;
}

.contact-help-box .btn-light-custom:hover {
    background: #37d347;
    color: #ffffff;
}

/* Perbaikan: hindari kotak putih ganda di judul FAQ */
.faq-section .section-heading h2 {
    background: transparent;
    padding: 0;
}

/* =====================================================
   PENYESUAIAN DESAIN (tambahan)
===================================================== */

/* Hero: panel krem, teks gelap */
.help-hero-content {
    background: var(--panel, #fffaf0);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 30px rgba(90, 20, 0, 0.25);
}

.help-hero h1 {
    color: var(--dark);
}

.help-hero p {
    color: var(--text);
}

/* Pencarian */
.help-search {
    border: 2px solid var(--border);
    box-shadow: 0 6px 16px rgba(90, 20, 0, 0.12);
}

/* Judul FAQ: panel krem */
.faq-section .section-heading {
    background: var(--panel, #fffaf0);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 30px rgba(90, 20, 0, 0.25);
}

/* Daftar FAQ */
.faq-item {
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(90, 20, 0, 0.2);
}

.faq-question {
    color: var(--dark);
}

.faq-question:hover {
    background: rgba(255, 217, 54, 0.15);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-answer p {
    color: var(--text);
}

/* Ikon di kotak "Hubungi tim kami" */
.contact-help-icon {
    background: rgba(255, 255, 255, 0.22);
}

/* =====================================================
   HUBUNGI TIM KAMI: GAYA "GOOD FOOD. GOOD PEOPLE."
===================================================== */

.contact-help-box {
    position: relative;
    overflow: hidden;
    padding: 55px 50px;
    border-radius: 35px;
    border: 4px solid var(--accent);
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 10%,
            rgba(255, 217, 54, 0.4),
            transparent 25%),
        linear-gradient(135deg, #b91c1c 0%, #7a1a0a 100%);
    box-shadow: 0 20px 50px rgba(60, 10, 0, 0.4);
}

/* Label kecil "MASIH BUTUH BANTUAN?" */
.contact-help-box span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 1;
}

/* Judul besar dan tebal */
.contact-help-box h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 800;
    color: #ffffff;
}

.contact-help-box p {
    max-width: 480px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.9;
}

/* Ikon WhatsApp: bulat kuning */
.contact-help-icon {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--accent);
    color: #7a1a0a;
    font-size: 34px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Isi di atas dekorasi */
.contact-help-box > div:not(.contact-help-icon),
.contact-help-box .btn {
    position: relative;
    z-index: 2;
}

/* Dekorasi bintang seperti kartu Good Food */
.contact-help-box::before {
    content: "✦";
    position: absolute;
    right: 12%;
    top: 12%;
    font-size: 75px;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    animation: baFloat 4s ease-in-out infinite;
}

.contact-help-box::after {
    content: "♡";
    position: absolute;
    right: 28%;
    bottom: 6%;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    animation: baFloat 5s ease-in-out infinite reverse;
}

/* Tombol: kuning dengan teks marun */
.contact-help-box .btn-light-custom {
    background: var(--accent);
    color: #7a1a0a;
    border: none;
    border-radius: 14px;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, background 0.25s ease;
}

.contact-help-box .btn-light-custom:hover {
    background: #ffffff;
    color: #7a1a0a;
    transform: translateY(-3px);
}

/* HP */
@media (max-width: 767px) {
    .contact-help-box {
        padding: 40px 24px;
        border-radius: 28px;
    }

    .contact-help-icon {
        margin: 0 auto 20px;
    }

    .contact-help-box p {
        margin-left: auto;
        margin-right: auto;
    }
}