/* ============================================================
   常见问题 faq.html
   与首页 / 研发实力 / 技术服务 / 技术支持 / 关于我们 统一视觉体系：
   思源黑体 CN · 品牌红 #E73216 · 橙 #EA5B16 · 深 #231815
   正文灰 #625F5D · 次要 #9A9591 · 浅底 #f6f8f8 · 描边 #f0f2f3
   注：本站 html 根字号 calc(100vw/19.2)，1920 下 1rem = 100px。
   ============================================================ */

/* ---------- Hero Banner ---------- */
.faq-page .faq-hero {
    background: #101d22;
    color: #fff;
    min-height: 6.6rem;
    overflow: hidden;
    position: relative;
}

/* ---------- Banner 背景图 ----------
   图片由页面 HTML 提供（<div class="faq-hero-bg"><img src="..."></div>），
   这样每页可单独替换，不再依赖本文件里的统一图片。 */
.faq-page .faq-hero-bg {
    inset: 0;
    overflow: hidden;
    position: absolute;
}
.faq-page .faq-hero-bg::after {
    background: rgba(16,29,34,.42);
    content: "";
    inset: 0;
    position: absolute;
}
.faq-page .faq-hero-bg img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.faq-hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    inset: 0;
    position: absolute;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 72%);
}
.faq-hero-glow {
    background: radial-gradient(circle, rgba(244,123,104,.34) 0%, transparent 62%);
    height: 4.6rem;
    position: absolute;
    right: -.6rem;
    top: -1.2rem;
    width: 5.4rem;
}
.faq-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(3.2rem, 4.6rem);
    min-height: 5.2rem;
    padding-top: .5rem;
    position: relative;
    z-index: 2;
}
.faq-breadcrumb {
    align-items: center;
    color: rgba(255,255,255,.62);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    grid-column: 1/-1;
    margin-bottom: .22rem;
}
.faq-breadcrumb a { color: rgba(255,255,255,.62); }
.faq-breadcrumb strong { color: #fff; font-weight: 400; }
.faq-hero-copy {
    align-self: center;
    padding-bottom: .3rem;
}

/* 小标签：全站统一 11px / 700 / .17em */
.faq-eyebrow {
    color: #f47b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.4;
    text-transform: uppercase;
}
.faq-hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin-top: .14rem;
}
.faq-hero-copy > p {
    color: rgba(255,255,255,.72);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.8;
    margin-top: .22rem;
    max-width: 6.6rem;
}
.faq-hero-actions {
    align-items: center;
    display: flex;
    gap: .26rem;
    margin-top: .32rem;
}
.faq-primary-action {
    align-items: center;
    background: var(--brand-primary, #E73216);
    border: 1px solid var(--brand-primary, #E73216);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: .12rem;
    line-height: 1;
    padding: .16rem .34rem;
    text-decoration: none;
    transition: background-color .3s, box-shadow .3s, transform .3s;
}
.faq-primary-action span {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s;
}
.faq-primary-action:hover {
    background: #c92b11;
    box-shadow: 0 10px 24px rgba(231,50,22,.3);
    color: #fff;
    transform: translateY(-2px);
}
.faq-primary-action:hover span { transform: translateX(3px); }
.faq-text-action {
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    display: inline-flex;
    font-size: 15px;
    gap: .1rem;
    line-height: 1;
    padding: .16rem .32rem;
    text-decoration: none;
    transition: border-color .3s, color .3s, background-color .3s;
}
.faq-text-action:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}
.faq-hero-badge {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}
.faq-badge-halo {
    background: radial-gradient(circle, rgba(244,123,104,.5) 0%, transparent 64%);
    border-radius: 50%;
    height: 3.4rem;
    position: absolute;
    width: 3.4rem;
}
.faq-badge-core {
    align-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 2.1rem;
    justify-content: center;
    position: relative;
    text-align: center;
    width: 2.1rem;
}
.faq-badge-core small {
    color: #f47b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}
.faq-badge-core strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    margin-top: .05rem;
}

/* ---------- 区块标题（与其它内页一致） ---------- */
.faq-section-head {
    align-items: flex-end;
    display: flex;
    gap: .4rem;
    justify-content: space-between;
    margin-bottom: .34rem;
}
.faq-section-head h2 {
    color: #231815;
    font-size: clamp(28px, 2.35vw, 42px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin: .14rem 0 0;
}
.faq-section-head > p {
    color: #9A9591;
    flex: 0 1 auto;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 .05rem;
    min-width: 4rem;
    text-align: right;
}

/* ---------- 常见问题列表 ---------- */
.faq-list-wrap {
    background: #fff;
    padding: .8rem 0;
}
.faq-list {
    display: grid;
    gap: .2rem;
}
.faq-item {
    background: #fff;
    border: 1px solid #f0f2f3;
    border-radius: .12rem;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: rgba(231,50,22,.18); }
.faq-item[open] {
    border-color: rgba(231,50,22,.24);
    box-shadow: 0 16px 34px rgba(35,24,21,.07);
}
.faq-q {
    align-items: center;
    color: #231815;
    cursor: pointer;
    display: flex;
    font-size: clamp(16px, 1.15vw, 18px);
    font-weight: 700;
    gap: .2rem;
    line-height: 1.5;
    list-style: none;
    margin: 0;
    padding: .3rem .36rem;
    transition: color .3s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q:hover { color: var(--brand-primary, #E73216); }
.faq-item[open] .faq-q { color: var(--brand-primary, #E73216); }

/* 序号：浅红底方块，作为视觉索引 */
.faq-num {
    background: rgba(231,50,22,.08);
    border-radius: .06rem;
    color: var(--brand-primary, #E73216);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    padding: .09rem .12rem;
    transition: background-color .3s, color .3s;
}
.faq-item[open] .faq-num {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    color: #fff;
}
.faq-q-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* 展开指示：+ / −  圆形按钮 */
.faq-q-icon {
    border: 1px solid #e3e7e8;
    border-radius: 50%;
    flex: 0 0 auto;
    height: .36rem;
    position: relative;
    transition: background-color .3s, border-color .3s;
    width: .36rem;
}
.faq-q-icon::before,
.faq-q-icon::after {
    background: #9A9591;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: background-color .3s, transform .3s;
}
.faq-q-icon::before { height: 1.6px; width: .14rem; }
.faq-q-icon::after { height: .14rem; width: 1.6px; }
.faq-item[open] .faq-q-icon {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-color: transparent;
}
.faq-item[open] .faq-q-icon::before,
.faq-item[open] .faq-q-icon::after { background: #fff; }
/* 竖线收成 0，加号变减号 */
.faq-item[open] .faq-q-icon::after { transform: translate(-50%, -50%) scaleY(0); }

/* 答案 */
.faq-a {
    border-top: 1px solid #f2f4f5;
    margin: 0 .36rem;
    padding: .3rem 0 .34rem;
}
.faq-a p {
    color: #625F5D;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 .18rem;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: #231815; font-weight: 700; }
.faq-a ul {
    list-style: none;
    margin: .16rem 0 0;
    padding: 0;
}
.faq-a li {
    border-left: 2px solid var(--brand-orange, #EA5B16);
    color: #625F5D;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: .14rem;
    padding-left: .24rem;
}
.faq-a li:last-child { margin-bottom: 0; }

/* ---------- 仍有疑问 ---------- */
.faq-contact {
    background: #f6f8f8;
    padding: .8rem 0;
}
.faq-contact-grid {
    display: grid;
    gap: .24rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.faq-contact-card {
    align-items: center;
    background: #fff;
    border: 1px solid #f0f2f3;
    border-radius: .12rem;
    box-sizing: border-box;
    display: flex;
    gap: .22rem;
    padding: .34rem .32rem;
    text-decoration: none;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.faq-contact-card:hover {
    border-color: rgba(231,50,22,.2);
    box-shadow: 0 16px 34px rgba(35,24,21,.09);
    transform: translateY(-4px);
}
/* 图标：与首页「关于无微华斯」及关于我们 / 联系我们页一致 ——
   无底、品牌红、实心填充字形 */
.faq-contact-ico {
    align-items: center;
    color: var(--brand-primary, #E73216);
    display: flex;
    flex: 0 0 auto;
    height: clamp(28px, .42rem, 42px);
    justify-content: center;
    width: clamp(28px, .42rem, 42px);
}
.faq-contact-ico svg { display: block; height: 100%; width: 100%; }
.faq-contact-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.faq-contact-label {
    color: #f47b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.4;
}
.faq-contact-body strong {
    color: #231815;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: .06rem;
}
.faq-contact-value {
    color: #9A9591;
    font-size: 14px;
    line-height: 1.6;
    margin-top: .04rem;
    overflow-wrap: break-word;
}

/* ---------- CTA（与其它内页同一梯度区块） ---------- */
.faq-cta {
    background: #fff;
    padding: 0 0 .8rem;
}
.faq-cta-inner {
    align-items: center;
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-radius: .12rem;
    box-shadow: 0 14px 30px rgba(234,91,22,.22);
    color: #fff;
    display: flex;
    gap: .4rem;
    justify-content: space-between;
    overflow: hidden;
    padding: .5rem .6rem;
    position: relative;
}
.faq-cta-inner::after {
    background: radial-gradient(circle, rgba(255,255,255,.3) 0%, transparent 60%);
    content: "";
    height: 3rem;
    position: absolute;
    right: -.6rem;
    top: -1.2rem;
    width: 3rem;
}
.faq-cta-inner > div { position: relative; z-index: 2; }
.faq-cta .faq-eyebrow { color: rgba(255,255,255,.72); }
.faq-cta h2 {
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    margin: .12rem 0 0;
}
.faq-cta p {
    font-size: 15px;
    line-height: 1.7;
    margin: .12rem 0 0;
    opacity: .85;
}
.faq-cta .faq-primary-action {
    background: #fff;
    border-color: #fff;
    color: var(--brand-primary, #E73216);
    flex-shrink: 0;
    padding: .18rem .4rem;
    position: relative;
    z-index: 2;
}
.faq-cta .faq-primary-action:hover {
    background: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    color: var(--brand-primary, #E73216);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
    .faq-section-head > p { min-width: 0; }
}
@media (max-width: 991px) {
    .faq-hero-inner { grid-template-columns: 1fr; }
    .faq-hero-badge { display: none; }
    .faq-section-head { align-items: flex-start; flex-direction: column; gap: .1rem; }
    .faq-section-head > p { max-width: none; text-align: left; }
    .faq-contact-grid { grid-template-columns: 1fr; }
    .faq-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
    .faq-hero-inner {
        grid-template-columns: 1fr;
        min-height: 4.8rem;
        padding-top: .34rem;
    }
    .faq-hero h1 { font-size: clamp(30px, 8vw, 44px); }
    .faq-hero-copy > p { font-size: 15px; max-width: none; }
    .faq-hero-actions { flex-wrap: wrap; gap: .18rem; }
    .faq-list-wrap { padding: .62rem 0; }
    .faq-q { font-size: 15px; gap: .16rem; padding: .26rem .28rem; }
    .faq-q-icon { height: .32rem; width: .32rem; }
    .faq-a { margin: 0 .28rem; padding: .26rem 0 .3rem; }
    .faq-a p,
    .faq-a li { font-size: 14px; }
    .faq-a li { padding-left: .2rem; }
    .faq-contact { padding: .62rem 0; }
    .faq-cta { padding: 0 0 .62rem; }
    .faq-cta-inner { padding: .4rem .34rem; }
}
@media (max-width: 380px) {
    .faq-hero-actions { gap: .12rem; }
    .faq-primary-action,
    .faq-text-action { font-size: 14px; padding: .14rem .26rem; }
    .faq-contact-card { gap: .18rem; padding: .3rem .26rem; }
}
