div.wrapper {
    display: flex;
    flex-direction: column;
    gap: 100px;
    /* 恢复desktop版本的gap */
}


.title {
    background-image: linear-gradient(to top,
            var(--black-50),
            var(--black-50)),

        url('../images/header-contact-us.jpg');
}

/* === 第一个 section: Get In Touch === */
.store-intro {
    text-align: center;
    margin-bottom: 60px;
}

.store-intro .small {
    color: var(--tertiary); /* 使用common.css的青色变量 */
    margin-bottom: 10px;
}

.store-intro h3 {
    margin-bottom: 20px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
}

.getintouch {
    display: flex;
    /* 给他可以两派 */
    justify-content: flex-start;
    /* 靠左 */
    margin-bottom: 100px;
}

.tab {
    height: 100% !important;
    margin-left: 7px;
}

/* 图片 */
.coffeeboy {
    width: 100%;
    max-width: 764px;
    max-height: fit-content;
    /* 照片高度宽度跟figma一样 */
    margin-left: -200px;
    /* 给他往左靠 */
    padding-right: clamp(10px, 7vw, 85px);
    align-self: center;
}

/* 右边的内容 */
.touchcontent {
    margin-top: 120px;
}

/* h3 */
.touchcontent h3 {
    margin: 10px 0 20px;
    /* 上下左右都有一点位置 */
}

/* 文字跟icon的间距*/
.subtitle {
    margin-bottom: 30px;
}

/* social 栏 */
.social {
    display: flex;
    flex-direction: column;
}

/* 每个 socialbox */
.socialbox {
    display: flex;
    align-items: flex-start;
    /* 靠左 */
    gap: 20px;
    /* icon跟文字的距离 */
    margin-bottom: 45px;
}


/* social 图标 */
.socialbox img {
    width: 75px;
    height: 65px;
    /* icon高度跟宽度跟随figma */
}


/* 第二个section */
.greenbox {
    background-color: var(--tertiary); /* 使用common.css的青色变量 */
    padding: 65px 45px 35px 40px;
    border-radius: 20px;
    margin-bottom: 100px;
}

/* 文字整体 */
.greenupper {
    align-items: flex-start;
    margin-bottom: 12px;
    margin-left: 5px;
    margin-top: -35px;
}

/* 针对h5和p换颜色因为common css 另外还set空间*/
.greenupper h5 {
    color: var(--white); /* 使用common.css的白色变量 */
    margin-bottom: 15px;
}

.greenupper p {
    color: var(--white); /* 使用common.css的白色变量 */
    margin-bottom: 25px;
}

/*  */

/* form的section */
.contact-form {
    text-align: left;
    margin: auto;
    width: 100%
}

/* 名字和 Email 平分一行 */
.name-email {
    display: flex;
    gap: 11px;
}

.fr-row button {
    margin-top: 10px;
}

input {
    margin-bottom: 25px;
}

/*  */



/* === 第三个section === */
.dark {
    border-radius: 30px 30px 0 0;
    position: relative;
    overflow-x: clip;
}

.questionbox {
    background-color: var(--dark-brown); /* 使用common.css的深棕色变量 */
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boxquestion {
    /* 整体的asjust */
    display: flex;
    /* 让他两排 */
    gap: 15px;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 40px;
    justify-content: center;
}

.faqcontainer .group {
    margin: auto;
    text-align: center;
    justify-content: center;
    max-width: 800px;
}

.question {
    width: calc(50% - 15px);
    /* 每个共享一半再去掉gap的数目 */
    cursor: pointer;

}

.questionbox p {
    color: var(--black); /* 使用common.css的黑色变量 */
    margin: 0;
}

.answer {
    display: none;
    color: var(--grey-dark); /* 使用common.css的灰色变量 */
    background-color: var(--white); /* 使用common.css的白色变量 */
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
}

.question.active .answer {
    display: block;
    animation: transform 0.5s ease;

}

.question.active .questionbox {
    border-radius: 10px 10px 0 0;

}

p.subtitle {
    max-width: 1000px;
    margin: auto;
    margin-bottom: 30px;
}

.arrow {
    width: 15px;
    display: flex;
    align-items: center;
}

.arrow img {
    transition: transform 0.3s ease;
    width: 100%;
}

.question.active .arrow img {
    transform: rotate(180deg);
}

/* ============ DECO ============ */
.deco-container {
    width: 100%;
    position: relative;
    overflow-x: clip;
}

div.top-right-leaf {
    top: 5%;
    right: -5%;
    z-index: -1;
    width: 15%;
    transform: scaleX(-1) rotate(10deg);
}

/*mid flower*/
div.mid-left-leaf {
    left: -12%;
    top: 35%;
    z-index: -1;
    width: 35%;
    transform: rotate(-10deg);
}

div.mid-right-leaf {
    top: 40%;
    right: -7%;
    width: 15%;
    z-index: -1;
    transform: scaleY(-1) scaleX(-1);
}

.faq {
    z-index: 1;
}

/*lst flower*/
div.last-left-leaf {
    top: -30%;
    left: -13%;
    width: 30%;
    transform: scaleY(-1)rotate(20deg);
}

div.last-right-down {
    top: 10%;
    right: -3%;
    z-index: 2;
    width: 12%;
    z-index: 0;
    transform: scaleX(-1) rotate(10deg);
}


div.last-right-up {
    top: -5%;
    right: -5%;
    z-index: 2;
    width: 13%;
    transform: scaleX(-1) rotate(-12deg);
}


@media screen and (max-width: 768px) {

    /* 缩小整体section间距 */
    div.wrapper {
        gap: 20px;
    }

    /* title header */
    .title {
        text-align: center;
        margin: auto;
    }

    .getintouch {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        margin-top: 100px;
        /* 大幅往下移 */
        margin-bottom: 20px;
        /* 大幅减少下面空白 */
    }

    .coffeeboy {
        display: none;
    }

    .touchcontent {
        margin-bottom: 0;
        /* 移除额外的margin */
        margin-top: 0;
        /* 移除额外的margin */
    }

    .socialbox {
        width: 230px;
        margin: 0 auto 45px auto;
        justify-content: flex-start;
        text-align: left;
    }

    .socialbox img {
        width: 50px;
        height: auto;
    }

    /* ============ SECTION 2: FORM ============ */
    .Greenbox {
        position: relative;
        width: 100%;
        padding: 50px 10px 20px 10px;
        margin-bottom: 10px;
        /* 超级小的底部间距 */
    }

    .greenupper {
        margin-left: 10px;
        text-align: flex-start;
    }

    .contact-form {
        text-align: flex-start;
        width: 90%;
        align-items: center;
    }

    /* name + email 改为上下 */
    .name-email {
        flex-direction: column;
        gap: 0;
    }

    /* ============ SECTION 3: FAQ ============ */

    .boxquestion {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .subtitle {
        max-width: 500px;
        margin: auto;
        margin-bottom: 30px;
    }

    .questionbox {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 80px;
    }

    .question {
        width: 100% !important;
    }
}

@media screen and (max-width: 1024px) {

    div.wrapper {
        gap: 50px; 
    }

    .getintouch {
        margin-bottom: 10px; 
    }

    /* 图片 */
    .coffeeboy {
        display: none;
    }

    /* FAQ 两栏保持 */
    .question {
        width: calc(50% - 15px);
    }

    .boxquestion {
        margin-bottom: 5px;
    }

    .touchcontent {
        margin: auto;
        text-align: center;
    }

    .socialbox {
        margin: 0 auto 45px auto;
        justify-content: center;
        text-align: center;
    }

}