/*!
 * Theme Name: Brasil Link
 * Theme URI: https://abc.huhuhuhu.cc.cd
 * Author: Brasil Link Team
 * Description: China → Brasil one-stop logistics platform. Yellow + ink brutalist style adapted from BL v2 reference.
 * Version: 1.5.1
 * Tested up to: 6.8
 * Requires PHP: 8.0
 * License: Proprietary
 * Text Domain: brasil-link
 */

/* ==========================================================================
   DESIGN TOKENS — 参考 styles---0669...1791.css
   黄 + 深黄 + 墨黑 + 浅灰 + 蓝 + 绿
   ========================================================================== */
:root {
    --yellow:       #FFE000;
    --yellow-deep:  #F8C400;
    --ink:          #191919;
    --muted:        #656565;
    --line:         #D9D9D9;
    --surface:      #F3F3F3;
    --accent:       #1687FF;
    --green:        #6BC400;
    --paper:        #FAFAF7;

    /* === BL v2 统一设计系统 (v20260724-BL) ===
       三件套：粗黑边 + 黄阴影偏移 + 胶囊按钮
       应用规则：
         - 硬卡 (service/case/post/faq/quote)：2px 黑边 + 4px 黄阴影
         - 硬 CTA (nav-cta--primary/case__cta/more__btn)：2px 黑边 + 3px 黄阴影
         - 柔卡 (contact-box/item)：1.5px 黑边（不加黄阴影避免过载）
         - 柔 icon/圆形：保留原有黑边/圆角
       装饰元素 (topbar/footer/cases-stats 蓝渐变) 不动 */
    --bl-border:        2px solid var(--ink);
    --bl-border-thin:   1.5px solid var(--ink);
    --bl-shadow:        4px 4px 0 var(--yellow-deep);
    --bl-shadow-sm:     3px 3px 0 var(--yellow-deep);
    --bl-shadow-hover:  6px 6px 0 var(--yellow-deep);
}

/* ==========================================================================
   RESET + BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: var(--ink);
    /* v20260724-B: body 改纯灰底，hero 自带黄渐变。
       第一屏「黄 → 深黄 → 灰」三段在 hero 内完成；
       hero 之后整页 #ECECEC 灰底直到黑色 footer */
    background: #ECECEC;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   1. TOPBAR — sticky 黄底 (v1.0.7 全重构：logo 副标题 + CTA 胶囊 + 语言切换 + 移动端汉堡)
   ========================================================================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--yellow);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
    transition: box-shadow .3s ease;
}

.topbar.is-scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 72px;
    padding: 0 clamp(18px, 5vw, 72px);
}

/* --- Brand --- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: white;
    font-size: 14px;
    font-weight: 900;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}

.brand-sub {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(0, 0, 0, .6);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* --- Primary nav --- */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-size: 14px;
    white-space: nowrap;
}

.primary-nav > a:not(.nav-cta) {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 6px 0;
    transition: opacity .15s ease;
}

.primary-nav > a:not(.nav-cta):hover {
    opacity: 0.6;
}

.nav-divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, .18);
    margin: 0 2px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: white;
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

/* v1.0.7 fix: bump specificity so :not() rule below doesn't override */
.primary-nav a.nav-cta {
    color: var(--ink);
    background: white;
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--yellow);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-cta--primary {
    background: var(--ink);
    color: #FFFFFF;
}

.primary-nav a.nav-cta--primary {
    background: var(--ink);
    color: #FFFFFF;
}

.nav-cta--primary:hover {
    background: var(--yellow-deep);
    color: var(--ink);
    border-color: var(--ink);
}

.primary-nav a.nav-cta--primary:hover {
    background: var(--yellow-deep);
    color: var(--ink);
}

/* --- Language switcher --- */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.lang-switcher__btn:hover {
    border-color: rgba(0, 0, 0, .15);
    background: rgba(255, 255, 255, .3);
}

.lang-switcher__caret {
    display: inline-grid;
    place-items: center;
    transition: transform .25s ease;
}

.lang-switcher.is-open .lang-switcher__caret {
    transform: rotate(180deg);
}

.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    min-width: 180px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 110;
}

.lang-switcher.is-open .lang-switcher__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-switcher__menu li {
    margin: 0;
}

.lang-switcher__menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.lang-switcher__menu a:hover {
    background: #F4F4F2;
}

.lang-switcher__menu a.is-active {
    background: var(--ink);
    color: var(--yellow);
    font-weight: 800;
}

/* --- Burger button (mobile) --- */
.topbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 2px solid var(--ink);
    border-radius: 12px;
    cursor: pointer;
    margin-left: 0;
    transition: background .15s ease;
}

.topbar__burger:hover {
    background: rgba(0, 0, 0, .06);
}

.topbar__burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .15s ease;
}

.topbar__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.topbar__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.topbar__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Mobile drawer --- */
.topbar__drawer {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px 22px;
    background: var(--yellow);
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.topbar__drawer a {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: background .15s ease;
}

.topbar__drawer a:hover {
    background: rgba(0, 0, 0, .05);
}

.topbar__drawer .nav-cta {
    margin-top: 6px;
    text-align: center;
    justify-content: center;
    font-size: 14px;
}
.topbar__drawer .nav-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -2px;
}

.topbar__drawer-lang {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

/* v20260805 1536: 移动端 drawer 分组 (主导航 / 行动 / 语言) */
.topbar__drawer-group {
    display: flex;
    flex-direction: column;
}
.topbar__drawer-group--nav {
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.topbar__drawer-group--actions {
    gap: 8px;
    margin-top: 12px;
}
.topbar__drawer-group--actions .nav-cta {
    margin-top: 0;
}

.topbar__drawer-lang a {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 800;
    font-size: 13px;
    background: rgba(255, 255, 255, .3);
    color: var(--ink);
}

.topbar__drawer-lang a.is-active {
    background: var(--ink);
    color: var(--yellow);
    border-color: var(--ink);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .brand-sub {
        display: none;
    }
    .primary-nav {
        gap: 14px;
    }
}

@media (max-width: 940px) {
    .primary-nav > a:not(.nav-cta) {
        display: none;
    }
    .nav-divider {
        display: none;
    }
    .lang-switcher {
        display: none;
    }
}

@media (max-width: 720px) {
    .search {
        flex: 0 1 200px;
        min-width: 0;
    }
    .primary-nav > a:not(.nav-cta--primary) {
        display: none;
    }
    .primary-nav > .nav-cta:not(.nav-cta--primary) {
        display: none;
    }
    .primary-nav {
        gap: 8px;
        margin-left: auto;
    }
    .topbar__burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .topbar__inner {
        gap: 10px;
    }
    .search {
        display: none;
    }
    .brand-text {
        display: none;
    }
    .topbar__burger {
        margin-left: auto;
    }
}

@media (max-width: 720px) {
    body.nav-open {
        overflow: hidden;
    }
    body.nav-open .topbar__drawer {
        display: flex;
        animation: drawerIn .25s ease both;
    }
}

@keyframes drawerIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .topbar__drawer,
    .lang-switcher__menu,
    .topbar__burger span,
    .topbar.is-scrolled {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   2. HERO — 左 copy + 右 yellow panel
   ========================================================================== */
.hero {
    /* v20260724-B: 撑到 100vh 第一屏 + 自带黄渐变背景（铺满整个视口宽度）
       v20260724-B2: 去掉 max-width + margin auto，让黄渐变背景覆盖整个 100vw，
                    grid 用 justify-content: center 让内容居中（替代 max-width 居中） */
    min-height: 70vh;
    width: 100%;
    background: linear-gradient(180deg,
        var(--yellow)      0%,
        var(--yellow)      50%,
        var(--yellow-deep) 65%,
        #ECECEC            92%,
        transparent        100%
    );
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: center;
    padding: 0;
}

.hero-copy {
    width: 100%;
    max-width: none;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-copy h1 {
    margin: 8px 0 18px;
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 800;
}

.eyebrow {
    margin: 0;
    font-weight: 800;
    color: #805F00;
    letter-spacing: 0;
    font-size: 14px;
    text-transform: uppercase;
}

.lead {
    margin: 0;
    max-width: 500px;
    color: #363000;
    font-size: 19px;
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* --- Hero contact box (v1.1.1d: 替代「立即留言咨询」primary CTA, v20260804-2 加框) --- */
.hero__contact-box {
    /* v1.4.0: 浮在底部，覆盖在 image 之上 */
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 0;
    max-width: 720px;
    padding: 20px 22px 22px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ink) 4%, white) 0%, color-mix(in srgb, var(--yellow) 14%, white) 100%);
    border: 1.5px solid var(--ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--yellow-deep);
}

.hero__contact-headline {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 12px;
    background: white;
    border: 1.5px solid var(--ink);
    box-shadow: 3px 3px 0 var(--yellow-deep);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero__contact-item:hover {
    background: var(--yellow);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--yellow-deep);
}

.hero__contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 10px;
    color: var(--ink);
}

.hero__contact-icon--wa {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.hero__contact-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__contact-icon--wa svg {
    fill: currentColor;
    stroke: none;
}

.hero__contact-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
    flex: 1;
}

.hero__contact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__contact-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* v1.2.0: 立刻咨询 CTA（简约无框） */
.hero__contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    transition: gap 0.2s ease, color 0.2s ease;
    align-self: center;
}

.hero__contact-cta:hover {
    color: var(--ink);
    gap: 12px;
}

/* v1.4.0: 两个 CTA 并排（立刻咨询 + 查看服务流程） */
.hero__contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__contact-actions .hero__contact-cta {
    margin-top: 0; /* 父级 box 已有 gap:12px，row 不重复 */
}

.hero__contact-cta--alt {
    color: var(--ink);
}

.hero__contact-cta--alt:hover {
    color: var(--accent);
}

@media (max-width: 560px) {
    .hero__contact-box {
        padding: 14px 14px 16px;
    }
    .hero__contact-channels {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero__contact-item {
        padding: 10px 12px;
    }
    .hero__contact-icon {
        width: 32px;
        height: 32px;
    }
    .hero__contact-icon svg {
        width: 16px;
        height: 16px;
    }
    .hero__contact-actions {
        gap: 18px; /* 小屏压缩间距防溢出 */
    }
}

.primary,
.secondary,
.contact-form button {
    min-height: 46px;
    padding: 13px 20px;
    border: 1px solid #fff;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.primary,
.contact-form button {
    background: var(--ink);
    color: white;
}

.secondary {
    background: transparent;
    color: var(--ink);
}

.primary:hover,
.contact-form button:hover {
    background: var(--yellow-deep);
    color: var(--ink);
    border-color: var(--ink);
}

.secondary:hover {
    background: var(--ink);
    color: white;
}

/* ==========================================================================
   3. SERVICE STRIP — 6 卡 (v20260727 巴西客户视角重做)
   国旗 emoji + 信任锚 + 长文专业文案
   网格 2 列 × 3 行（宽卡容纳长文案），平板 2 列，手机 1 列
   ========================================================================== */
.service-strip {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 36px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-strip > .section-head {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

.service-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 26px 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
}

.service-card__flag {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 14px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.service-card__title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-card__question {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* 摘要 (默认可见) — 渐进展开的第 1 段 */
.service-card__excerpt {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
}

/* 完整内容 (默认折叠, max-height: 0) — 由 service-cards.js 控制展开 */
.service-card__body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
}

.service-card__body.is-open {
    opacity: 1;
    /* max-height 由 JS 设 scrollHeight, 这里给 generous fallback */
    max-height: 2400px;
}

.service-card__body p {
    margin: 0 0 12px;
}

.service-card__body p:last-child {
    margin-bottom: 0;
}

/* 展开/收起 按钮 (胶囊) */
.service-card__toggle {
    margin-top: 4px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: white;
    border: 2px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.service-card__toggle:hover {
    background: var(--ink);
    color: var(--yellow);
    transform: translateY(-1px);
}

.service-card__toggle[aria-expanded="true"] {
    background: var(--ink);
    color: var(--yellow);
}

.service-card__toggle-icon {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    transition: transform .25s ease;
}

.service-card__toggle[aria-expanded="true"] .service-card__toggle-icon {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .service-card__body,
    .service-card__toggle,
    .service-card__toggle-icon {
        transition: none !important;
    }
}

.service-card__body ul {
    list-style: none;
    margin: 6px 0 14px;
    padding: 0;
}

.service-card__body ul li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 13.5px;
}

.service-card__body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--muted);
    font-weight: 700;
}

.service-card__body strong {
    display: block;
    margin: 14px 0 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* 卡片 6 收尾标语 (黄底黑边 box) */
.service-card__body .service-tagline {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 14px;
    color: var(--ink);
    line-height: 1.55;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.service-card__body .service-tagline strong {
    background: none;
    color: inherit;
    margin: 0;
    padding: 0;
    text-transform: none;
    font-weight: 700;
    letter-spacing: 0;
    display: inline;
}

/* Responsive */
@media (max-width: 940px) {
    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .service-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .service-card {
        padding: 22px 20px 20px;
    }
    .service-card__title {
        font-size: 17px;
    }
}


/* ==========================================================================
   4. PROCESS — 6 步闭环流程 (v1.1.2-A: 横向 timeline rail + 下方 step card)
   ========================================================================== */
.process {
    position: relative;
    margin: 32px 0;
    padding: 56px 0 48px;
    background: transparent;
}

.process__inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 36px);
}

.process__intro {
    margin: 12px 0 0;
    color: color-mix(in srgb, var(--ink) 70%, transparent);
    font-size: 16px;
    max-width: 720px;
}

.process-timeline {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* === 下方 step 卡 === */
.process-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* v20260729-1750: 横向 timeline rail —— 连接 6 个步骤图标
   - 横线位于图标垂直中心 (22px padding-top + 24px icon-half = 46px)
   - 左右各 8.33% 偏移，从首个图标中心到末尾图标中心
   - 颜色按步骤主色分段（绿→蓝→蓝→黄→绿），暗示阶段区分
   - 步骤卡片 z-index:1 + 白底，覆盖横线；圆图标自然成「车站」
   - 移动端 <940px 隐藏 rail（卡片变 3 列，横线无意义）
*/
.process-grid {
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 46px;
    left: 8.33%;
    right: 8.33%;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--green) 0%,
        var(--green) 40%,    /* icons 1-2 区间 (绿) */
        #1687FF 40%,
        #1687FF 80%,         /* icons 3-4 区间 (蓝) */
        #C28A00 80%,
        #C28A00 90%,         /* icon 5 区间 (黄) */
        var(--green) 90%,
        var(--green) 100%    /* icon 6 区间 (绿) */
    );
    z-index: 0;
    border-radius: 1px;
}
.process-step {
    --step-accent: var(--ink);
    position: relative;
    z-index: 1;
    background: white;
    border: 2px solid var(--line);
    border-radius: 16px;
    padding: 22px 14px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: none;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s ease, box-shadow .25s ease, border-color .25s ease;
}

.process.js-anim .process-step {
    opacity: 0;
    transform: translateY(20px);
}

.process.js-anim .process-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step[data-active="true"],
.process-step--collapsible {
    --step-accent: #6BC400;
    border-color: var(--step-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--step-accent) 18%, transparent);
}

/* v20260727: step 3 / step 4 蓝色调（数字 / 标签 / 折叠箭头 / 折叠内容框 全部跟随） */
.process-step[data-step="3"],
.process-step[data-step="4"] {
    --step-accent: #1687FF;
    border-color: var(--step-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--step-accent) 18%, transparent);
}
.process-step[data-step="3"] .process-step__num,
.process-step[data-step="4"] .process-step__num,
.process-step[data-step="3"] .process-step__label,
.process-step[data-step="4"] .process-step__label {
    color: var(--step-accent);
}
.process-step[data-step="3"] .process-step__toggle-btn,
.process-step[data-step="4"] .process-step__toggle-btn {
    background: var(--step-accent);
}
.process-step[data-step="3"] .process-step__toggle-btn:hover,
.process-step[data-step="4"] .process-step__toggle-btn:hover {
    background: #126DCC;
}
.process-step[data-step="3"] .process-step__toggle .process-step__duration,
.process-step[data-step="4"] .process-step__toggle .process-step__duration,
.process-step[data-step="3"] .process-step__toggle-text,
.process-step[data-step="4"] .process-step__toggle-text {
    background: rgba(22, 135, 255, .08);
    border-color: rgba(22, 135, 255, .35);
}

/* v20260727-1513: step 5 深黄色调 */
.process-step[data-step="5"] {
    --step-accent: #C28A00;
    border-color: var(--step-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--step-accent) 18%, transparent);
}
.process-step[data-step="5"] .process-step__num,
.process-step[data-step="5"] .process-step__label {
    color: var(--step-accent);
}
.process-step[data-step="5"] .process-step__toggle-btn {
    background: var(--step-accent);
}
.process-step[data-step="5"] .process-step__toggle-btn:hover {
    background: #A57300;
}
.process-step[data-step="5"] .process-step__toggle .process-step__duration,
.process-step[data-step="5"] .process-step__toggle-text {
    background: rgba(194, 138, 0, .08);
    border-color: rgba(194, 138, 0, .35);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--step-accent);
}

.process-step__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: color-mix(in srgb, var(--step-accent) 12%, white);
    color: var(--step-accent);
    border: 2.5px solid var(--step-accent);
    border-radius: 50%;
    overflow: hidden;
}

.process-step__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* v20260729-1715: 数字独立成行 + 加大加粗 + 下划线 */
.process-step__label {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* v20260727-1257: step 1 「01 粗字绿色」+ 折叠详情 */
/* v20260729-1715: 数字独立成行 + 加大字号 + 下划线装饰 */
.process-step__num {
    display: inline-block;
    color: var(--green);
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    padding-bottom: 6px;
    border-bottom: 2px solid currentColor;
    font-variant-numeric: tabular-nums;
}
.process-step--collapsible .process-step__label {
    color: var(--green);
}

/* v20260729-1730: 标题下方时间承诺 pill（配色跟步骤主色） */
.process-step__time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 10px 3px 8px;
    background: color-mix(in srgb, var(--step-accent) 10%, white);
    color: var(--step-accent);
    border: 1px solid color-mix(in srgb, var(--step-accent) 35%, transparent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.process-step__time-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: currentColor;
}
.process-step__toggle {
    margin-top: 6px;
    text-align: center;
}
.process-step__toggle-btn {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    user-select: none;
}
.process-step__toggle-btn::-webkit-details-marker { display: none; }
.process-step__toggle-btn::marker { content: ''; }
.process-step__toggle-btn:hover {
    background: #5BAE00;
}
.process-step__toggle-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.process-step__toggle-arrow {
    font-size: 13px;
    line-height: 1;
    transition: transform .25s ease;
}
.process-step__toggle[open] .process-step__toggle-arrow {
    transform: rotate(180deg);
}
.process-step__toggle .process-step__duration {
    margin-top: 10px;
    display: block;
    background: rgba(107, 196, 0, .08);
    color: var(--ink);
    border: 1.5px solid rgba(107, 196, 0, .35);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
}

/* v20260727-1311: 折叠标志在 duration 文本下方 */
.process-step__toggle-text {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(107, 196, 0, .08);
    color: var(--ink);
    border: 1.5px solid rgba(107, 196, 0, .35);
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
}

.process-step__duration {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 9px;
    background: var(--paper);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
}

/* === Responsive === */
@media (max-width: 940px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .process-grid::before {
        display: none; /* 3 列后横线无意义 */
    }
}

@media (max-width: 560px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-step {
        transition: none !important;
        animation: none !important;
    }
}


/* ==========================================================================
   5. QUOTE FORM
   ========================================================================== */
.quote {
    max-width: 1120px;
    margin: 0 auto 58px;
    padding: 34px clamp(18px, 4vw, 36px);
    background: white;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.quote p {
    color: var(--muted);
    line-height: 1.65;
    margin: 8px 0 0;
}

.quote__lead {
    margin: 12px 0 0;
}

/* --- Quote contact channels (v1.0.9b) --- */
.quote__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0 0;
}

.quote__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.quote__contact-item:hover {
    border-color: var(--ink);
    background: color-mix(in srgb, var(--ink) 4%, white);
    transform: translateY(-1px);
}

.quote__contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--ink);
    border-radius: 12px;
    color: var(--ink);
}

.quote__contact-icon--wa {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.quote__contact-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quote__contact-icon--wa svg {
    fill: currentColor;
    stroke: none;
}

.quote__contact-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.quote__contact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quote__contact-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 560px) {
    .quote__contact {
        gap: 8px;
    }
    .quote__contact-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .quote__contact-icon {
        width: 34px;
        height: 34px;
    }
    .quote__contact-icon svg {
        width: 18px;
        height: 18px;
    }
    .quote__contact-value {
        font-size: 13px;
    }
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    padding: 13px 14px;
    font: inherit;
    background: #FAFAFA;
    border-radius: 12px;
    color: var(--ink);
    font-size: 15px;
}

/* Quote now has 3 fields (Name / Contact / Content) — center the form */
.quote .contact-form {
    grid-template-columns: 1fr;
    align-self: stretch;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
}

.contact-form textarea {
    min-height: 112px;
    resize: vertical;
}

.contact-form button {
    justify-self: start;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer {
    background: var(--ink);
    color: white;
    padding: 42px clamp(18px, 5vw, 72px) 22px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 36px);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

/* v20260805 1400: 友情链接 / 合作伙伴六栏布局下，h2 字号收紧 */
.footer-inner h2 {
    font-size: 15px;
    margin-bottom: 12px;
}
.footer-inner h2:not(:first-child) {
    /* placeholder hook — 如果后面要做差异化样式 */
}

/* v1.1.2: Footer columns (company info / services / contact / friend links) */
.footer-col {
    min-width: 0;
}
.footer-col h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
}

/* v1.1.2: Contact list in footer (email / phone / whatsapp / address) */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-contact-list a {
    color: #F5F5F5;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.15s;
}
.footer-contact-list a:hover {
    color: var(--yellow);
}
.footer-contact-address {
    color: #D6D6D6;
    font-size: 13px;
}

.footer-brand {
    color: white;
}

.footer-brand .brand-mark {
    border-color: white;
    color: var(--ink);
}

.footer p {
    margin: 14px 0 0;
    color: #D6D6D6;
    line-height: 1.6;
}

.footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
}

.footer a {
    display: block;
    margin: 10px 0;
    color: #F5F5F5;
    transition: color 0.15s;
}

.footer a:hover {
    color: var(--yellow);
}

.footer-bottom {
    max-width: 1120px;
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #C9C9C9;
    font-size: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* ==========================================================================
   v20260805 1445: 悬浮按钮组（电话 / 微信 / 回顶部）—— 右下角固定
   v20260805 1510: 加 WhatsApp（品牌色 hover #25D366）
   ========================================================================== */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 24px;
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    overflow: hidden;
    transition: width 0.25s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.floating-actions__btn:hover {
    width: 145px;
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--ink);
    transform: translateY(-2px);
}

.floating-actions__btn:active {
    transform: translateY(0);
}

.floating-actions__btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.floating-actions__label {
    opacity: 0;
    transition: opacity 0.18s ease 0.05s;
    line-height: 1;
}

.floating-actions__btn:hover .floating-actions__label,
.floating-actions__btn:focus-visible .floating-actions__label {
    opacity: 1;
}

/* v20260805 1510: WhatsApp 品牌色 hover（#25D366 WhatsApp Green） */
.floating-actions__btn--whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #1DA851;
    transform: translateY(-2px);
}

/* 回顶部按钮：滚动一定距离后才显示 */
.floating-actions__btn--top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, width 0.25s ease, background 0.18s ease, color 0.18s ease;
}

.floating-actions__btn--top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* 微信 toast（点微信按钮后弹出显示微信号） */
.floating-actions__wechat-toast {
    position: fixed;
    right: 80px;
    bottom: 76px; /* 对齐微信按钮位置 */
    background: var(--ink);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
    max-width: 280px;
}

.floating-actions__wechat-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-actions__wechat-toast strong {
    color: var(--yellow);
    font-weight: 800;
    font-size: 16px;
}

.floating-actions__wechat-toast::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 18px;
    width: 12px;
    height: 12px;
    background: var(--ink);
    transform: rotate(45deg);
    border-radius: 2px;
}

@media (max-width: 720px) {
    .floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }
    .floating-actions__btn {
        width: 42px;
        height: 42px;
        border-radius: 21px;
    }
    .floating-actions__btn:hover {
        width: 42px; /* 移动端不展开，避免挤压 */
    }
    .floating-actions__label {
        display: none;
    }
    .floating-actions__wechat-toast {
        right: 60px;
        bottom: 60px;
        font-size: 13px;
    }
}

/* ==========================================================================
   RESPONSIVE — 940 / 560
   ========================================================================== */
@media (max-width: 1240px) {
    /* v20260805 1400: 六栏 footer 中间断点 —— 1214×6 不均,变三栏更透气 */
    .footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .topbar {
        grid-template-columns: 1fr;
    }
    nav {
        flex-wrap: wrap;
    }
    .hero,
    .quote {
        grid-template-columns: minmax(0, 1fr);
    }
    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .service-strip,
    .timeline {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 34px;
    }
    .timeline span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .timeline span:last-child {
        border-bottom: 0;
    }
}

/* ==========================================================================
   WP — 必要微调
   ========================================================================== */
.alignwide,
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.entry-content > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   7. CASES — 3 真实成功案例 (v1.0.6, upseller.com 风格)
   ========================================================================== */
.cases {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 0 clamp(18px, 4vw, 36px);
}

.cases__intro {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
    max-width: 720px;
}

/* --- Stats 数据带 (upseller 风格：极粗大数字 + 浅蓝标签 + 竖线分隔)
   v20260727: 容器宽度对齐 process/cases 版块 (max-width 1220px 居中)
   v20260727 二次迭代: 改为单行居中营销话术 (cases-stats--line) --- */
.cases-stats {
    max-width: 1220px;
    margin: 32px auto 0;
    padding: 36px 32px;
    background: linear-gradient(135deg, #0E2A6E 0%, #1F4FB8 60%, #2A6BFF 100%);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 50, 130, .22);
    color: white;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* line variant: 单行居中布局 */
.cases-stats--line {
    display: block;
    text-align: center;
    padding: 48px clamp(20px, 4vw, 48px);
}

.cases-stats__line {
    margin: 0;
    color: rgba(255, 255, 255, .95);
    font-size: clamp(18px, 2.6vw, 28px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.cases-stats__hot {
    display: inline-block;
    color: #FFE000;
    font-weight: 900;
    font-size: clamp(26px, 4.2vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 14px rgba(255, 224, 0, .35);
    margin: 0 4px;
    white-space: nowrap;
    vertical-align: -2px;
}

.cases-stats__intro {
    vertical-align: baseline;
}

.cases-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 20%, rgba(255, 224, 0, .15), transparent 40%);
    pointer-events: none;
}

/* --- Cases grid --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.case {
    --case-accent: var(--ink);
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-top: 4px solid var(--case-accent);
    border-radius: 22px;
    padding: 24px 22px 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

/* Only hide when JS marks the root with .js-anim — so no-JS / headless users
   still see the cards, while supported browsers get the enter animation. */
.cases.js-anim .case {
    opacity: 0;
    transform: translateY(28px);
}

.cases.js-anim .case.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.case:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

/* --- 头部：icon brandmark + 标题 + tag pill + 圆头像 + 谁 --- */
.case__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.case__brandmark {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: color-mix(in srgb, var(--case-accent) 14%, white);
    color: var(--case-accent);
    border: 3px solid var(--case-accent);
    border-radius: 18px;
}

.case__brandmark svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.case__head-body {
    flex: 1;
    min-width: 0;
}

.case__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--case-accent);
    background: color-mix(in srgb, var(--case-accent) 14%, white);
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.case__title {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.case__who {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 4px 10px 4px 4px;
    background: #F8F8F6;
    border-radius: 999px;
}

.case__avatar {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--case-accent);
    color: white;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.case__who-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

/* --- Metrics 三联 mini-card --- */
.case__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 18px;
    padding: 14px 12px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--case-accent) 7%, white) 0%, color-mix(in srgb, var(--case-accent) 4%, white) 100%);
    border-radius: 14px;
}

.case__metric {
    text-align: center;
    padding: 4px 0;
    border-right: 1px dashed color-mix(in srgb, var(--case-accent) 18%, transparent);
}

.case__metric:last-child {
    border-right: 0;
}

.case__metric-num {
    display: block;
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 900;
    color: var(--case-accent);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.case__metric-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- Q&A accordion (胶囊按钮 + ripple) --- */
.case__qa {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
}

.case__qa-item {
    border-bottom: 1px solid var(--line);
}

.case__qa-item:last-child {
    border-bottom: 0;
}

.case__q {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    margin: 0 -12px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background .18s ease;
}

.case__q:hover {
    background: color-mix(in srgb, var(--case-accent) 7%, transparent);
}

.case__q:focus-visible {
    outline: 2px solid var(--case-accent);
    outline-offset: 2px;
}

.case__q-label {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--ink);
    color: white;
    font-weight: 900;
    font-size: 14px;
    border-radius: 50%;
    letter-spacing: -0.04em;
}

.case__q-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
}

.case__q-toggle {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--muted);
    background: #F4F4F2;
    border-radius: 50%;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .15s ease, color .15s ease;
}

.case__q[aria-expanded="true"] .case__q-toggle {
    transform: rotate(180deg);
    background: var(--case-accent);
    color: white;
}

.case__a {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 0 0 8px;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}

.case__a[hidden] {
    display: none;
}

.case__a-label {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--case-accent);
    color: white;
    font-weight: 900;
    font-size: 14px;
    border-radius: 50%;
    margin-right: 10px;
    letter-spacing: -0.04em;
    vertical-align: top;
}

.case__a-text {
    display: inline;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
}

.case__a-text strong {
    color: var(--case-accent);
}

/* --- Highlighted numbers (pulse on enter) --- */
.case__num {
    display: inline-block;
    font-weight: 800;
    color: var(--case-accent);
    background: color-mix(in srgb, var(--case-accent) 14%, white);
    padding: 1px 8px;
    border-radius: 8px;
    transform-origin: center;
    font-size: 15px;
}

@keyframes pulseNum {
    0%   { transform: scale(0.85); opacity: 0; }
    40%  { transform: scale(1.18); opacity: 1; }
    70%  { transform: scale(0.96); }
    100% { transform: scale(1); }
}

.case__num.is-pulsing {
    animation: pulseNum .7s cubic-bezier(.22, 1, .36, 1) both;
}

/* --- Ripple effect (click wave) --- */
.case__q-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: color-mix(in srgb, var(--case-accent) 35%, transparent);
    transform: scale(0);
    opacity: .5;
    animation: caseRipple .55s ease-out forwards;
}

@keyframes caseRipple {
    to { transform: scale(2.4); opacity: 0; }
}

/* --- CTA per card (胶囊) --- */
.case__cta {
    margin-top: 18px;
    align-self: flex-start;
    padding: 10px 22px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all .22s ease;
}

.case__cta:hover {
    background: var(--case-accent);
    border-color: var(--case-accent);
    color: var(--ink);
    transform: translateY(-1px);
}

.case__cta span[aria-hidden] {
    transition: transform .22s ease;
    display: inline-block;
}

.case__cta:hover span[aria-hidden] {
    transform: translateX(4px);
}

/* --- More CTA (底部查看更多) --- */
.cases-more {
    text-align: center;
    margin-top: 36px;
}

.cases-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: white;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: all .25s ease;
}

.cases-more__btn:hover {
    background: var(--ink);
    color: var(--yellow);
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.cases-more__btn span[aria-hidden] {
    transition: transform .25s ease;
    display: inline-block;
}

.cases-more__btn:hover span[aria-hidden] {
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 940px) {
    .cases-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 0;
    }
    .cases-stat + .cases-stat::before {
        display: none;
    }
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cases-stats {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
    .cases-stats--line {
        padding: 32px 20px;
    }
    /* 移动端: intro/hot 分两行堆叠, hot 独立突出 */
    .cases-stats__line {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        font-size: 15px;
    }
    .cases-stats__hot {
        font-size: 32px;
        margin: 0;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .case {
        padding: 22px 18px 18px;
    }
    .case__title {
        font-size: 22px;
    }
    .case__a {
        padding-left: 0;
    }
    .case__a-label {
        margin-bottom: 6px;
    }
    .case__a-text {
        display: block;
    }
    .case__metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .case__metric {
        border-right: 0;
        border-bottom: 1px dashed color-mix(in srgb, var(--case-accent) 18%, transparent);
        padding: 6px 0;
    }
    .case__metric:last-child {
        border-bottom: 0;
    }
}

/* ==========================================================================
   8. FAQ — 8 跨境物流常见问题 (v1.0.8, 单列紧凑 accordion)
   ========================================================================== */
.faqs {
    max-width: 1220px; /* v1.1.2: 跟 cases / blog 一致 1220px */
    margin: 0 auto 58px;
    padding: 0 clamp(18px, 4vw, 36px);
}

.faqs .cases__intro {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.faq__list {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1), opacity .45s ease;
}

/* Only animate in when JS marks .faqs.js-anim */
.faqs.js-anim .faq {
    opacity: 0;
    transform: translateY(20px);
}

.faqs.js-anim .faq.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.faq:hover {
    border-color: rgba(0, 0, 0, .18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.faq.is-open {
    border-color: var(--ink);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.faq__q {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: grid;
    grid-template-columns: 56px 1fr 36px;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background .18s ease;
}

.faq__q:hover {
    background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.faq__q:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: -2px;
}

.faq__num {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--yellow);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.04em;
    border-radius: 14px;
    font-feature-settings: 'tnum';
    transition: background .25s ease, color .25s ease;
}

.faq.is-open .faq__num {
    background: var(--yellow-deep);
    color: var(--ink);
}

.faq__q-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink);
}

.faq__q-toggle {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    background: #F4F4F2;
    border-radius: 50%;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .2s ease, color .2s ease;
}

.faq__q[aria-expanded="true"] .faq__q-toggle {
    transform: rotate(180deg);
    background: var(--ink);
    color: var(--yellow);
}

.faq__a {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
    transition: max-height .35s ease, opacity .25s ease;
}

.faq__a[hidden] {
    display: none;
}

.faq__a-text {
    padding: 0 0 22px 76px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
}

.faq__a-text strong {
    color: var(--ink);
    font-weight: 800;
}

/* Reuse .case__num highlight style on FAQ numbers */
.faq__a-text .case__num {
    display: inline-block;
    font-weight: 800;
    color: var(--ink);
    background: var(--yellow);
    padding: 1px 8px;
    border-radius: 8px;
    transform-origin: center;
    font-size: 15px;
}

@keyframes faqRipple {
    to { transform: scale(2.4); opacity: 0; }
}

.faq__q-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
    transform: scale(0);
    opacity: .5;
    animation: faqRipple .55s ease-out forwards;
}

/* === FAQ responsive === */
@media (max-width: 720px) {
    .faq__q {
        grid-template-columns: 40px 1fr 32px;
        gap: 14px;
        padding: 16px 18px;
    }
    .faq__num {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .faq__q-text {
        font-size: 14px;
    }
    .faq__q-toggle {
        width: 30px;
        height: 30px;
    }
    .faq__a-text {
        padding: 0 0 18px 56px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq,
    .faq__num,
    .faq__q-toggle,
    .faq__q-ripple {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   9. BLOG — 最新资讯卡片网格 (v1.1.1, 调用 WP 最新 posts)
   ========================================================================== */
.blog {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 0 clamp(18px, 4vw, 36px);
}

.blog .cases__intro {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.blog__grid {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .55s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog.js-anim .post-card {
    opacity: 0;
    transform: translateY(24px);
}

.blog.js-anim .post-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
    border-color: rgba(0, 0, 0, .18);
}

.post-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
}

.post-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FFF8DD, #FFE9A8);
    overflow: hidden;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.post-card:hover .post-card__media img {
    transform: scale(1.05);
}

.post-card__placeholder {
    --post-accent: var(--ink);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--post-accent) 30%, white), transparent 60%),
        linear-gradient(135deg, color-mix(in srgb, var(--post-accent) 12%, var(--paper)), color-mix(in srgb, var(--post-accent) 24%, white));
}

.post-card__placeholder-char {
    font-family: var(--lv-font-display, system-ui);
    font-size: clamp(72px, 8vw, 120px);
    font-weight: 900;
    line-height: 1;
    color: var(--post-accent);
    text-shadow: 0 6px 24px color-mix(in srgb, var(--post-accent) 35%, transparent);
    letter-spacing: -0.04em;
}

.post-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 4px 10px;
    background: var(--ink);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.post-card__body {
    padding: 20px 22px 56px;
}

.post-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(18px * 1.35 * 2);
}

.post-card__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-card__meta {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.post-card__meta-sep {
    color: rgba(0, 0, 0, .25);
}

.post-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--ink) 6%, white);
    border-radius: 50%;
    font-size: 16px;
    color: var(--ink);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.post-card:hover .post-card__arrow {
    background: var(--ink);
    color: var(--yellow);
    transform: translateX(4px);
}

/* --- More CTA --- */
.blog-more {
    margin-top: 36px;
    text-align: center;
}

.blog-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: white;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: all .25s ease;
}

.blog-more__btn:hover {
    background: var(--ink);
    color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.blog-more__btn span[aria-hidden] {
    transition: transform .25s ease;
    display: inline-block;
}

.blog-more__btn:hover span[aria-hidden] {
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 940px) {
    .blog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .blog__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .post-card__body {
        padding: 16px 18px 50px;
    }
    .post-card__title {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-card,
    .post-card__media img,
    .post-card__arrow {
        transition: none !important;
        animation: none !important;
    }
}

/* v1.1.2: Search icon button (replaces 询价 text link, no longer a wide search bar) */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--ink);
    color: var(--ink);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-icon-btn:hover {
    background: var(--ink);
    color: var(--yellow);
    transform: translateY(-1px);
}
.nav-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ensure primary-nav stays right-aligned after search removed */
.topbar__inner > .primary-nav {
    margin-left: auto;
}

/* ==========================================================================

/* ==========================================================================
   11. TRUST — 客户独白 section (v20260724-v2)
   1:1 还原 upseller.com 「UpSeller 为何深受卖家欢迎」结构：
     - 左：单 testimonial 卡 (公司名 + 5 星 + 5.0 + 长引语 + 底部进度条)
     - 右：客户群头像拼图 (18 个 tile：8 头像 + 10 品牌 logo)
   设计：C 折中 — 保留粗黑边 2px (整站 BL v2 一致)，去掉黄阴影 (upseller 柔风)
   ========================================================================== */
.trust {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 0 clamp(18px, 4vw, 36px);
}

/* v20260727-1650: trust 头部对齐 FLOW（共用 .process__intro class） */
.trust .section-head {
    max-width: 920px;
    margin: 0 0 12px;
}
.trust__title {
    margin: 0;
}

/* Grid: 左 testimonial + 右 wall */
.trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 56px;
    align-items: start;
}

/* 左 testimonial 卡（折中风：粗黑边 + 柔阴影） */
.trust__card {
    /* v20260724-B+ WhatsApp 完整外观 */
    position: relative;
    background: #ECE5DD;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
    overflow: hidden;
    padding: 0;
}

.trust__avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--trust-accent) 18%, white);
    border: 3px solid var(--trust-accent);
    overflow: hidden;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.trust__avatar-char {
    font-size: 32px;
    font-weight: 900;
    color: var(--trust-accent);
    line-height: 1;
}

/* 真实头像 img 在 testimonial 圆形里 */
.trust__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trust__company {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
}

.trust__quote {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    font-style: normal;
    padding: 0;
    border: 0;
}

/* 右 wall: 客户群头像拼图（折中风：粗黑边 + 柔阴影） */
.trust__wall {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    padding: 8px;
    /* 网格底纹 — 像 Excel / Graph paper */
    background-color: rgba(255, 255, 255, .35);
    /* 网格色更淡 + 尺寸 = tile(50px) + gap(14px) = 64px，完美对齐头像 */
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: 8px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.trust__wall-spacer {
    aspect-ratio: 1;
    pointer-events: none;
}

.trust__wall-tile {
    aspect-ratio: 1;
    border-radius: 10px;
    border: var(--bl-border-thin);   /* 1.5px 黑边 */
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);  /* 柔阴影 */
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    cursor: pointer;
    font: inherit;
    padding: 0;
    color: inherit;
}

/* v20260803-1715: 用户要求 — data-index 4,5,6,7 (E/F/G/H 4 个占位) 全部模糊化
   "模糊程度50%" → CSS filter:blur() 不接 %, 之前用 6px → 50% = 3px (light blur, 留点轮廓)
   :not([data-index="0"]) :not([data-index="1"]) :not([data-index="2"]) :not([data-index="3"])
   等价于 "data-index ≥ 4" (用 :not 反选 0-3) */
.trust__wall-tile[data-index]:not([data-index="0"]):not([data-index="1"]):not([data-index="2"]):not([data-index="3"]) {
    filter: blur(3px);
}

.trust__wall-tile:hover,
.trust__wall-tile.is-active {
    transform: translate(-2px, -2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    border-color: var(--ink);
}

.trust__wall-label {
    pointer-events: none;
    overflow-wrap: anywhere;
    line-height: 1.1;
    max-width: 100%;
    text-align: center;
}

.trust__wall-tile--avatar {
    background: color-mix(in srgb, var(--tile-accent) 16%, white);
    padding: 4px;
}

.trust__wall-svg {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.trust__wall-svg svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* 真实头像 img 在 wall tile 里 */
.trust__wall-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.trust__wall-label--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* 响应式 */
@media (max-width: 940px) {
    .trust__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .trust__wall {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (max-width: 560px) {
    .trust__wall {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }
}

/* Tooltip (hover wall tile 显示客户案例) */
.trust__tooltip {
    position: absolute;
    z-index: 50;
    max-width: 280px;
    padding: 12px 14px;
    background: var(--ink);
    color: white;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.trust__tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.trust__tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--ink);
    border-bottom: 0;
}

.trust__tooltip-name {
    font-size: 14px;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 2px;
}

.trust__tooltip-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 6px;
    font-weight: 600;
}

.trust__tooltip-line {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}

/* Tile 在 hover/click 时轻微放大效果 */
.trust__wall-tile.is-active {
    transform: translate(-2px, -2px) scale(1.05);
}

/* ============================================================
   Testimonial 区块 (v20260724-v5/v6) — 保留原 testimonial + WhatsApp
   ============================================================ */
.trust__testimonial {
    /* E: 米黄背景贯穿 */
    padding: 32px 32px 20px;
    background: #ECE5DD;
}

.trust__testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;  /* v20260729 1602: 小屏幕允许换行，gallery 可以跳到下一行 */
}

.trust__testimonial-header .trust__avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.trust__testimonial-header .trust__avatar-char {
    font-size: 26px;
}

.trust__testimonial-meta {
    flex: 1;
    min-width: 0;
}

.trust__testimonial-header .trust__company {
    margin-bottom: 2px;
    font-size: 17px;
}

.trust__testimonial-sub {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.trust__testimonial .trust__quote {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
    padding: 0;
    border: 0;
}

/* ============================================================
   WhatsApp 对话界面 (v20260724-v5/v6) — 经典 WhatsApp 风格
   ============================================================ */
.trust__chat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

/* WhatsApp 聊天背景 + 8 个 doodle */
.trust__chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
    background-color: #ECE5DD;
    /* 真实 WhatsApp Doodle 背景图（多个简笔 emoji 图标、弧、星、心等） */
    background-image: url('assets/img/whatsapp-doodle.png');
    background-size: 300px;
    background-repeat: repeat;
    background-position: top center;
    min-height: 320px;
    overflow-y: auto;
}

/* D: 消息行（头像 + 气泡） */
.trust__chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 4px;
}

.trust__chat-msg--in {
    flex-direction: row;          /* [头像] [气泡左] */
}

.trust__chat-msg--out {
    flex-direction: row-reverse;  /* [气泡右] [头像] */
}

.trust__chat-msg-avatar {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.trust__chat-msg-avatar--customer {
    background: color-mix(in srgb, var(--trust-accent) 22%, white);
    border: 2px solid var(--trust-accent);
    color: var(--trust-accent);
}

.trust__chat-msg-avatar--agent {
    background: var(--yellow);
    color: var(--ink);
    border: 2px solid white;
}

/* 通用气泡 */
.trust__chat-bubble {
    max-width: 78%;
    padding: 8px 12px 6px;
    border-radius: 12px;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, .08);
    font-size: 13px;
    line-height: 1.45;
    position: relative;
    word-wrap: break-word;
    display: inline-block;
}

/* 客户气泡 (左白，尾巴在左下) */
.trust__chat-bubble--in {
    background: white;
    color: var(--ink);
    border-top-left-radius: 0;
}

/* 客服气泡 (右绿 #DCF8C6，尾巴在右下) */
.trust__chat-bubble--out {
    background: #DCF8C6;
    color: var(--ink);
    border-top-right-radius: 0;
}

/* C: 客户气泡尾巴 (左下角小三角) */
.trust__chat-bubble--in::before {
    content: '';
    position: absolute;
    left: -6px;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 0 solid transparent;
    border-right: 6px solid white;
}

/* C: 客服气泡尾巴 (右下角小三角) */
.trust__chat-bubble--out::before {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 0 solid transparent;
    border-left: 6px solid #DCF8C6;
}

.trust__chat-text {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
    font-family: inherit;
}

.trust__chat-time {
    display: block;
    font-size: 10px;
    color: rgba(0, 0, 0, .5);
    text-align: right;
    margin-top: 2px;
}

/* 输入框 */
.trust__chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F0F0F0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.trust__chat-input-placeholder {
    flex: 1;
    font-size: 13px;
    color: var(--muted);
    padding: 8px 14px;
    background: white;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
}

.trust__chat-send {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25D366;
    color: white;
}

.trust__chat-send svg {
    width: 18px;
    height: 18px;
}




/* ============================================================
   TRUST — 产品图集 (v20260729)
   ============================================================ */
.trust__gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 14px;
    background: var(--paper, #FAFAF7);
    border-top: 1px solid rgba(0, 0, 0, .06);
    overflow-x: auto;
    scrollbar-width: thin;
    min-height: 80px;
    align-items: center;
}

/* v20260729 1602: testimonial-header 第 3 列布局（meta 右侧），缩小缩略图 */
.trust__gallery--inline {
    padding: 0;
    background: transparent;
    border-top: none;
    min-height: auto;
    max-width: 200px;
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;  /* flex: 推到右边 */
}

.trust__gallery-item {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color .15s ease, transform .15s ease;
}

/* inline 模式下缩略图变小 */
.trust__gallery--inline .trust__gallery-item {
    width: 56px;
    height: 56px;
    border-radius: 6px;
}

.trust__gallery-item:hover,
.trust__gallery-item:focus-visible {
    border-color: var(--yellow, #FFC93C);
    transform: translateY(-2px);
    outline: none;
}

.trust__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trust__gallery-empty {
    color: #999;
    font-style: italic;
    font-size: 11px;
    text-align: right;
    width: auto;
}

/* ============================================================
   TRUST — 产品大图 Lightbox (v20260729)
   ============================================================ */
.trust__lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 15, 15, .92);
    display: grid;
    place-items: center;
    padding: 32px;
    animation: bl-lightbox-fade .15s ease-out;
}

@keyframes bl-lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.trust__lightbox[hidden] { display: none; }

.trust__lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
    user-select: none;
    -webkit-user-drag: none;
}

.trust__lightbox-close,
.trust__lightbox-prev,
.trust__lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 48px;
    height: 48px;
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background .15s ease;
}

.trust__lightbox-close:hover,
.trust__lightbox-prev:hover,
.trust__lightbox-next:hover {
    background: rgba(255, 255, 255, .28);
}

.trust__lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
}

.trust__lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.trust__lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.trust__lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .trust__gallery-item { width: 68px; height: 68px; }
    .trust__lightbox-close,
    .trust__lightbox-prev,
    .trust__lightbox-next { width: 40px; height: 40px; font-size: 22px; }
    .trust__lightbox-close { top: 12px; right: 12px; font-size: 26px; }
    .trust__lightbox-prev { left: 8px; }
    .trust__lightbox-next { right: 8px; }
}

/* ============================================================
   TRUST — 公司名下方备注 (v20260729 1352)
   ============================================================ */
.trust__company-attrs {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(0, 0, 0, .55);
    font-weight: 400;
    letter-spacing: 0;
    white-space: normal;
}
.trust__company-attrs:empty {
    display: none;
}


/* ============================================================
   TRUST — static tile 默认头像首字母 (v20260729 1646)
   ============================================================ */
.trust__wall-tile--static .trust__wall-char {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--tile-accent);
    line-height: 1;
    pointer-events: none;
}

/* ============================================================
   TRUST — 获取更多案例 CTA (v20260729 1658)
   空案例（E/F/G/H）点击时显示，黄底卡片 + 大按钮
   ============================================================ */
.trust__cta[hidden] {
    display: none !important;
}

.trust__cta {
    margin-top: 14px;
    padding: 18px 20px;
    background: var(--yellow, #FFE000);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 14px rgba(255, 224, 0, .25);
    position: relative;
    overflow: hidden;
}

.trust__cta::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    pointer-events: none;
}

.trust__cta-inner {
    position: relative;
    z-index: 1;
}

.trust__cta-eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink, #191919);
    opacity: 0.65;
    text-transform: uppercase;
}

.trust__cta-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink, #191919);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.trust__cta-desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink, #191919);
    opacity: 0.8;
}

.trust__cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--ink, #191919);
    color: var(--yellow, #FFE000);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.trust__cta-btn:hover,
.trust__cta-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
    color: var(--yellow, #FFE000);
    outline: none;
}

/* ============================================================
   TEAM — 我们的团队 / 拼图布局 (v20260729)
   参考 BigSeller Local Team Service
   ============================================================ */
.team {
    max-width: 1220px;
    margin: 0 auto 58px;
    padding: 0 clamp(18px, 4vw, 36px);
}

/* section-head 跟 BLOG/FAQs 一致（用全局 .cases__intro + .eyebrow 样式，无额外覆盖） */
.team .section-head {
    margin-bottom: 40px;
}

.team__layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
    height: 480px;
}

/* 中央大图 — 跨第 2 列的两行 */
.team__hero {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
    transition: transform .35s ease;
}

.team__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team__hero-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #999;
    font-style: italic;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

/* 4 角小图 — v20260729 1757 修复：display:contents 让 thumbs 直接参与父网格 */
.team__thumbs {
    display: contents;
}

.team__thumb {
    border: none;
    padding: 0;
    background: #f6f6f6;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    opacity: .55;
}

.team__thumb:nth-child(1) { grid-column: 1; grid-row: 1; }  /* 左上 TL */
.team__thumb:nth-child(2) { grid-column: 3; grid-row: 1; }  /* 右上 TR */
.team__thumb:nth-child(3) { grid-column: 1; grid-row: 2; }  /* 左下 BL */
.team__thumb:nth-child(4) { grid-column: 3; grid-row: 2; }  /* 右下 BR */
.team__thumb:nth-child(5) { grid-column: 2; grid-row: 1 / 3; }  /* 第 5 张覆盖中央 */

.team__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team__thumb-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #999;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.team__thumb:hover,
.team__thumb:focus-visible,
.team__thumb.is-active {
    opacity: 1;
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    outline: none;
}

/* 下方信息 */
.team__info {
    text-align: center;
    margin: 24px auto 32px;
    max-width: 720px;
}

.team__info-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ink, #191919);
    letter-spacing: -0.01em;
}

.team__info-address {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--muted, #656565);
    line-height: 1.5;
}

.team__info-meta {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink, #191919);
    opacity: 0.85;
    letter-spacing: 0.02em;
}

/* 3 张服务卡 */
.team__services {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team__service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: transform .15s ease, box-shadow .15s ease;
}

.team__service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.team__service-icon {
    display: inline-block;
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1;
}

.team__service-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink, #191919);
    letter-spacing: -0.01em;
}

.team__service-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted, #656565);
}

/* 移动端 */
@media (max-width: 720px) {
    .team__layout {
        height: 320px;
        grid-template-rows: 1fr 1fr;
    }
    .team__services {
        grid-template-columns: 1fr;
    }
    .team__info-title {
        font-size: 18px;
    }
}

/* ============================================================
   BLOG LIST — /blog (v20260729 1839)
   ============================================================ */
.blog--archive .section-head {
    max-width: 920px;
    margin: 0 auto 40px;
    text-align: center;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 16px;
}

.blog-pagination {
    margin: 48px auto 0;
    max-width: 920px;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line, #D9D9D9);
    color: var(--ink, #191919);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers:focus-visible {
    background: var(--yellow, #FFE000);
    border-color: var(--yellow, #FFE000);
    outline: none;
}

.blog-pagination .page-numbers.current {
    background: var(--ink, #191919);
    color: #fff;
    border-color: var(--ink, #191919);
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 6px;
}

/* ============================================================
   BLOG POST — single.php (v20260729 1839)
   ============================================================ */
.post {
    padding-bottom: 80px;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 36px);
}

/* Hero */
.post__hero {
    margin-bottom: 0;
}

.post__hero-img {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: var(--surface, #F3F3F3);
}

.post__hero-img img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.post__hero-meta {
    padding: 40px clamp(18px, 4vw, 36px) 28px;
    max-width: 880px;
    margin: 0 auto;
}

.post__cat {
    display: inline-block;
    margin-bottom: 14px;
    color: #805F00;
    text-decoration: none;
    transition: opacity .15s ease;
}

.post__cat:hover {
    opacity: .7;
}

.post__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink, #191919);
}

.post__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted, #656565);
}

.post__meta-sep {
    opacity: 0.5;
}

/* 正文内容 */
.post__content {
    max-width: 760px;
    padding-top: 8px;
    padding-bottom: 48px;
    font-size: 17px;
    line-height: 1.75;
    color: #2a2a2a;
}

.post__content > * {
    margin: 0 0 1.2em;
}

.post__content h2,
.post__content h3,
.post__content h4 {
    margin: 1.6em 0 0.6em;
    font-weight: 800;
    color: var(--ink, #191919);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.post__content h2 { font-size: clamp(22px, 3vw, 28px); }
.post__content h3 { font-size: clamp(18px, 2.5vw, 22px); }
.post__content h4 { font-size: clamp(16px, 2vw, 19px); }

.post__content p {
    margin: 0 0 1em;
}

.post__content a {
    color: var(--accent, #1687FF);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .15s ease;
}

.post__content a:hover {
    opacity: 0.7;
}

.post__content blockquote {
    margin: 1.4em 0;
    padding: 16px 22px;
    border-left: 4px solid var(--yellow, #FFE000);
    background: rgba(255, 224, 0, .08);
    color: var(--ink, #191919);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.post__content ul,
.post__content ol {
    padding-left: 1.6em;
    margin: 0 0 1.2em;
}

.post__content li {
    margin-bottom: 0.4em;
}

.post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.6em 0;
}

.post__content code {
    background: rgba(0, 0, 0, .06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 0.92em;
}

.post__content pre {
    background: #1a1a1a;
    color: #f0f0f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.5;
}

.post__content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* 上下篇 */
.post__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 880px;
    padding: 32px clamp(18px, 4vw, 36px);
    border-top: 1px solid var(--line, #D9D9D9);
    border-bottom: 1px solid var(--line, #D9D9D9);
    margin: 0 auto;
}

.post__nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line, #D9D9D9);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink, #191919);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.post__nav-link:hover {
    transform: translateY(-2px);
    border-color: var(--yellow, #FFE000);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.post__nav-link--next {
    text-align: right;
    align-items: flex-end;
}

.post__nav-link.is-empty {
    visibility: hidden;
}

.post__nav-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted, #656565);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post__nav-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 相关文章 */
.related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--line, #D9D9D9);
}

.related__title {
    margin: 0 0 28px;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink, #191919);
    text-align: center;
}

.related__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted, #656565);
    padding: 24px;
}

/* 移动端 */
@media (max-width: 720px) {
    .post__hero-meta {
        padding: 24px 18px 16px;
    }
    .post__nav {
        grid-template-columns: 1fr;
    }
    .post__nav-link--next {
        text-align: left;
        align-items: flex-start;
    }
    .post__nav-link.is-empty {
        display: none;
    }
}

/* ==========================================================================
   THREE PILLARS — 三大业务版块 (v20260804: 采购链 / 代付商检认证 / 巴西清关物流)
   插在 hero 之后、service-strip 之前。
   视觉语言与 .service-card 对齐: 1px 灰边 + 柔阴影 + hover 上抬 4px。
   颜色三栏: 采购=黄 / 代付=深黄 / 物流=蓝
   eyebrow tag 保留 BL 胶囊作为小点缀
   ========================================================================== */
.three-pillars {
    max-width: 1220px;
    margin: -32px auto 0;
    padding: 0 clamp(16px, 4vw, 36px);
}

.three-pillars__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tp-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
}

/* --- media block: 图片优先 + emoji fallback --- */
.tp-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.tp-media__icon {
    position: relative;
    z-index: 1;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1;
    filter: grayscale(0.1);
    user-select: none;
    pointer-events: none;
}

/* 三栏媒体区底色 (图加载失败时作为 fallback) */
.tp-card--sourcing .tp-media  { background: var(--yellow); }
.tp-card--payment  .tp-media  { background: var(--yellow-deep); }
.tp-card--logistics .tp-media { background: #E6F0FF; }

/* --- body --- */
.tp-body {
    padding: 24px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-eyebrow {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--ink);
    background: var(--yellow);
    padding: 4px 10px;
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    line-height: 1;
}

.tp-card--logistics .tp-eyebrow {
    background: var(--accent);
    color: #ffffff;
}

.tp-title {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.tp-desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

/* --- responsive --- */
@media (max-width: 992px) {
    .three-pillars__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .three-pillars {
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .tp-body {
        padding: 20px 20px 22px;
    }
    .tp-title {
        font-size: 17px;
    }
    .tp-desc {
        font-size: 13.5px;
    }
    .tp-media__icon {
        font-size: 56px;
    }
}

/* ==========================================================================
   Hero Slider (v1.2.0)
   后台 CPT 驱动的 hero 幻灯片：横向 strip 平铺 + translateX 滑动切换
   ========================================================================== */
.hero-slider {
    /* v1.4.0: absolute 填满 .hero-copy (slider 充当 hero 背景) */
    position: absolute;
    inset: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slider:focus {
    outline: none;
}

.hero-slider__strip {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider__dots {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
    border: 1.5px solid var(--ink);
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-slider__dot:hover {
    background: var(--muted);
    transform: scale(1.15);
}

.hero-slider__dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.25);
}

.hero-slider__dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider__strip {
        transition: none;
    }
    .hero-slider__dot {
        transition: none;
    }
}

/* --- Hero slide 图片模式 (v1.2.0, v1.4.0: 全屏背景) --- */
.hero-slide--image .hero-slide__media {
    position: absolute;
    inset: 0;
    margin: 0;
    line-height: 0;
}

/* v1.4.0: 底部暗渐变蒙层——保证 contact 文字/浮物可读 */
.hero-slide--image .hero-slide__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 45%,
        rgba(0, 0, 0, 0.35) 75%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-slide--image .hero-slide__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* v1.5.0: <picture> 包裹 img — 让 picture 本身也填满 .hero-slide__media */
.hero-slide--image .hero-slide__media picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

@media (max-width: 768px) {
    .hero-slide--image .hero-slide__media::before {
        background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* ==========================================================================
   Full-Page Slideshow (v1.2.0)
   9 个版块全部改成全屏幻灯片，滚动驱动 + 右侧 dots
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    /* scroll-snap 只作用在 main 上 */
}

main {
    scroll-snap-type: y proximity;
}

.fp-slide {
    min-height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

/* hero 原本 min-height: 70vh，被 fp-slide 覆盖为 100vh */
.fp-slide.hero {
    min-height: 100vh;
}

/* --- 右侧 dots 导航 --- */
.fp-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 6px;
    background: transparent;
}

.fp-dots a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(25, 25, 25, 0.25);
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.fp-dots a:hover {
    background: rgba(25, 25, 25, 0.5);
    transform: scale(1.25);
}

.fp-dots a.is-active {
    background: var(--accent);
    transform: scale(1.5);
}

/* dot 悬停时显示标签 */
.fp-dots a::after {
    content: attr(data-label);
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.fp-dots a:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .fp-dots {
        right: 12px;
        gap: 10px;
        padding: 10px 6px;
    }
    .fp-dots a {
        width: 8px;
        height: 8px;
    }
    .fp-dots a::after {
        display: none;
    }
    .fp-slide {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    main {
        scroll-snap-type: none;
    }
}
