/* ======================================================================
   JCXS 建材供应一体站 - 主样式表
   设计: 深石墨灰 #1a1d24 + 钴蓝 #0f62fe + 暖金 #c9a227, 现代建材 B2B 质感
   响应式: 手机 / 平板 / PC
   ====================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
    --c-ink:        #1a1d24;     /* 深石墨灰 - 主文字/深背景 */
    --c-ink-2:      #262b34;     /* 次级深 */
    --c-ink-3:      #3a4049;     /* 边框/分隔 */
    --c-paper:      #ffffff;
    --c-paper-2:    #f6f7f9;     /* 浅灰背景 */
    --c-paper-3:    #eceef2;     /* 卡片边 */
    --c-blue:       #0f62fe;     /* 钴蓝 - 主色/链接/按钮 */
    --c-blue-dark:  #0a4dc4;     /* hover */
    --c-blue-light: #e8f0ff;     /* 浅蓝底 */
    --c-gold:       #c9a227;     /* 暖金 - 强调/装饰 */
    --c-gold-dark:  #a8851d;
    --c-text:       #1a1d24;
    --c-text-2:     #5a6168;     /* 次级文字 */
    --c-text-3:     #8b919a;     /* 弱化 */
    --c-line:       #e3e6eb;
    --c-ok:         #1a9e5a;
    --radius:       4px;
    --radius-lg:    10px;
    --shadow-sm:    0 1px 3px rgba(26,29,36,.08);
    --shadow:       0 6px 24px rgba(26,29,36,.10);
    --shadow-lg:    0 18px 50px rgba(26,29,36,.16);
    --container:    1240px;
    --ff-sans:      'Inter','Manrope','Helvetica Neue',Arial,'Noto Sans',sans-serif;
    --ff-head:      'Manrope','Inter','Helvetica Neue',Arial,sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-blue-dark); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid rgba(201,162,39,.42); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 800; line-height: 1.2; color: var(--c-ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }

/* 多语言字体降级: 泰语/俄语 */
html[lang="th"] body, html[lang="ru"] body { font-family: 'Inter','Noto Sans Thai','Noto Sans',Arial,sans-serif; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 920px; }
.container--article { max-width: 880px; }
.container--detail { max-width: 960px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--c-ink); color: #dfe3ea; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--paper2 { background: var(--c-paper-2); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section__head .eyebrow { color: var(--c-gold); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin-bottom: 10px; display:block; }
.section__head p { color: var(--c-text-2); font-size: 1.05rem; }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.section-actions--center { justify-content: center; }
.section-spacer { margin-top: 60px; }
.section-spacer--sm { margin-top: 28px; }
.text-light { color: #fff !important; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px;
    font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
    border: 2px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: all .18s ease; text-transform: none;
    letter-spacing: .01em;
}
.btn--primary { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.btn--primary:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: var(--c-gold); color: #fff; border-color: var(--c-gold); }
.btn--gold:hover { background: var(--c-gold-dark); border-color: var(--c-gold-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink-3); }
.btn--outline:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 顶部 Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(26,29,36,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand__mark { width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, var(--c-blue), var(--c-gold)); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .9rem; }
.brand__logo { width: 40px; height: 40px; padding: 3px; object-fit: contain; flex-shrink: 0; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.brand__name { line-height: 1; }
.brand__accent { color: var(--c-gold); font-weight: 700; }
.brand__name b { color: var(--c-gold); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
    color: #dfe3ea; padding: 10px 14px; border-radius: var(--radius);
    font-family: var(--ff-head); font-weight: 600; font-size: .92rem;
    display: inline-flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: #fff; background: rgba(255,255,255,.08); }
.nav-link .caret { font-size: .6rem; opacity: .7; }

/* Mega menu 下拉 */
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: all .18s ease; z-index: 50;
}
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown--mega { min-width: 560px; padding: 16px; }
.dropdown__group-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-text-3); font-weight: 700; margin: 6px 0 6px; padding-left: 8px; }
.dropdown a {
    display: block; color: var(--c-ink); padding: 8px 10px; border-radius: var(--radius);
    font-size: .9rem; font-weight: 500;
}
.dropdown a:hover { background: var(--c-blue-light); color: var(--c-blue); }
.dropdown a small { display: block; color: var(--c-text-3); font-size: .76rem; font-weight: 400; }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }

/* Header 右侧工具 */
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-flag { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 15px; flex-shrink: 0; overflow: hidden; }
.lang-flag img { width: 20px; height: 15px; object-fit: cover; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-switch__btn {
    background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16);
    padding: 6px 12px; border-radius: var(--radius); font-size: .82rem; font-weight: 600;
    cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-head);
}
.lang-switch__btn:hover { background: rgba(255,255,255,.16); }
.lang-switch__menu {
    position: absolute; top: 120%; right: 0; min-width: 170px;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; z-index: 50;
}
.lang-switch:hover .lang-switch__menu, .lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu a { display: flex; align-items: center; gap: 8px; color: var(--c-ink); padding: 8px 10px; border-radius: var(--radius); font-size: .88rem; }
.lang-switch__menu a:hover { background: var(--c-blue-light); color: var(--c-blue); }
.lang-switch__menu a.is-active { background: var(--c-ink); color: #fff; }

/* 移动汉堡 */
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--c-paper-2); border-bottom: 1px solid var(--c-line); padding: 14px 0; font-size: .85rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { color: var(--c-text-3); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--c-line); }
.breadcrumb a { color: var(--c-text-2); }
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb li:last-child { color: var(--c-ink); font-weight: 600; }

/* ---------- Hero (首页) ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: radial-gradient(circle at 78% 18%, rgba(15,98,254,.28), transparent 34%), linear-gradient(120deg, #11141a 0%, #1a2130 58%, #252a3c 100%);
    isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,15,20,.82) 0%, rgba(12,15,20,.55) 48%, rgba(12,15,20,.2) 100%); pointer-events: none; }
.hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .48; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.05); transform: scale(1.015); }
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.7) 52%, transparent 100%); }
.hero__glow { position: absolute; z-index: 1; pointer-events: none; border-radius: 999px; filter: blur(4px); opacity: .72; }
.hero__glow--gold { width: 280px; height: 280px; left: -90px; bottom: 48px; background: radial-gradient(circle, rgba(201,162,39,.34), transparent 68%); }
.hero__glow--blue { width: 360px; height: 360px; right: 8%; top: 18%; background: radial-gradient(circle, rgba(15,98,254,.28), transparent 70%); }
.hero__inner { position: relative; z-index: 2; padding: 120px 0 128px; max-width: 820px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: #f2d980; font-family: var(--ff-head); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.hero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 6px rgba(201,162,39,.14); }
.hero h1 { color: #fff; margin-bottom: 22px; text-wrap: balance; text-shadow: 0 18px 48px rgba(0,0,0,.32); }
.hero h1 b { color: var(--c-gold); }
.hero p { color: #d7dce6; font-size: 1.18rem; margin-bottom: 34px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(128px, 1fr)); gap: 14px; margin-top: 62px; padding-top: 0; border-top: 0; max-width: 820px; }
.hero__stat { position: relative; padding: 18px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 18px 42px rgba(0,0,0,.16); overflow: hidden; }
.hero__stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c-gold), rgba(15,98,254,.0)); opacity: .86; }
.hero__stat b { font-family: var(--ff-head); font-size: clamp(1.55rem, 3vw, 2.1rem); color: #f0c94b; display: block; line-height: 1; }
.hero__stat span { color: #c7ceda; font-size: .82rem; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 产品/分类卡片 */
.card {
    position: relative; background: var(--c-paper); border: 1px solid var(--c-paper-3); border-radius: var(--radius-lg);
    overflow: hidden; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; display: flex; flex-direction: column; height: 100%;
}
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(135deg, rgba(255,255,255,.0) 20%, rgba(255,255,255,.55) 44%, rgba(255,255,255,.0) 62%); transform: translateX(-70%); transition: transform .7s ease, opacity .25s ease; }
.card:hover { box-shadow: 0 22px 58px rgba(26,29,36,.14); transform: translateY(-5px); border-color: rgba(15,98,254,.22); }
.card:hover::after { opacity: .5; transform: translateX(70%); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-paper-2); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,29,36,.18), transparent 46%); opacity: 0; transition: opacity .24s ease; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.card:hover .card__media::after { opacity: 1; }
.card:hover .card__media img { transform: scale(1.055); filter: saturate(1.05); }
.card__media--video::after {
    content: "▶"; position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-size: 2.2rem; background: rgba(15,98,254,.0); transition: all .2s;
}
.card__media--video:hover::after { background: rgba(15,98,254,.45); }
.card__duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 3px; }
.card__body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card__cat { color: var(--c-gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.35; }
.card h3 a { color: var(--c-ink); }
.card h3 a:hover { color: var(--c-blue); }
.card__excerpt { color: var(--c-text-2); font-size: .9rem; flex: 1; }
.card__more { margin-top: 14px; font-family: var(--ff-head); font-weight: 700; font-size: .85rem; color: var(--c-blue); display: inline-flex; align-items: center; gap: 5px; }

/* 视频列表卡片 */
.video-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.video-card { position: relative; display: flex; flex-direction: column; min-width: 0; transition: transform .24s ease; }
.video-card:hover { transform: translateY(-5px); }
.video-card__media {
    position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 22px;
    background: linear-gradient(145deg, var(--c-ink), var(--c-ink-2)); box-shadow: 0 18px 42px rgba(26,29,36,.16); transition: box-shadow .24s ease;
}
.video-card:hover .video-card__media { box-shadow: 0 24px 58px rgba(26,29,36,.22); }
.video-card__media::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; pointer-events: none; z-index: 2; }
.video-card__cover { display: block; width: 100%; height: 100%; color: #fff; }
.video-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.video-card:hover .video-card__cover img { transform: scale(1.06); opacity: .92; }
.video-card__play {
    position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center; padding-left: 3px; background: rgba(15,98,254,.9); color: #fff;
    font-size: 1.35rem; line-height: 1; box-shadow: 0 10px 24px rgba(0,0,0,.28); transition: transform .2s ease, background .2s ease;
}
.video-card:hover .video-card__play { transform: scale(1.08); background: var(--c-gold); }
.video-card__duration {
    position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 4px 9px; border-radius: 999px;
    background: rgba(26,29,36,.76); color: #fff; font-size: .74rem; font-weight: 700; backdrop-filter: blur(8px);
}
.video-card__wa {
    position: absolute; right: 12px; bottom: 12px; z-index: 4; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.42);
    transition: transform .18s ease, box-shadow .18s ease;
}
.video-card__wa:hover { transform: translateY(-2px) scale(1.04); color: #fff; box-shadow: 0 14px 30px rgba(37,211,102,.52); }
.video-card__wa svg { width: 22px; height: 22px; fill: currentColor; }
.video-card__body { padding: 16px 4px 0; }
.video-card__cat { color: var(--c-gold); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 7px; }
.video-card h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 7px; }
.video-card h3 a { color: var(--c-ink); }
.video-card h3 a:hover { color: var(--c-blue); }
.video-card p { color: var(--c-text-2); font-size: .88rem; line-height: 1.6; margin: 0; }

/* 大分类卡 (首页产品分类) */
.cat-card { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; display: block; box-shadow: var(--shadow-sm); isolation: isolate; }
.cat-card::before { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(255,255,255,.18); border-radius: calc(var(--radius-lg) - 3px); opacity: 0; transform: scale(.985); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.cat-card:hover img { transform: scale(1.075); filter: saturate(1.08) contrast(1.03); }
.cat-card:hover::before { opacity: 1; transform: scale(1); }
.cat-card__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18,21,28,.94) 0%, rgba(26,29,36,.3) 55%, rgba(26,29,36,.04) 100%); }
.cat-card__label { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; color: #fff; transform: translateY(6px); transition: transform .25s ease; }
.cat-card:hover .cat-card__label { transform: translateY(0); }
.cat-card__label h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.cat-card__label small { color: #d4d8e0; font-size: .82rem; }
.cat-card__arrow { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--c-gold); display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(0,0,0,.22); transition: transform .25s ease, background .25s ease; }
.cat-card:hover .cat-card__arrow { transform: translate(2px,-2px); background: #ddb53a; }

/* ---------- 首页"解决方案"不规则 Bento 网格 ---------- */
/* 4 列基础网格, dense 自动填补空隙, 形成错落有致的排版。
   卡片顺序固定 (按权重排序), 用 nth-child 控制各卡尺寸:
     第1张 whole-house → 大图 (跨2列2行)
     第5张 all-in-one  → 宽图 (跨2列)
     其余 → 标准方块 */
.solution-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 20px;
}
.solution-bento .cat-card { aspect-ratio: auto; height: 100%; }
/* 第1张: 大图, 占 2×2 */
.solution-bento .cat-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* 第5张: 宽图, 占 2列 */
.solution-bento .cat-card:nth-child(5) { grid-column: span 2; }
/* 大图卡片标题更醒目 */
.solution-bento .cat-card:nth-child(1) .cat-card__label h3 { font-size: 1.5rem; }
.solution-bento .cat-card:nth-child(1) .cat-card__label small { font-size: .9rem; }

/* ---------- 优势 / 流程 ---------- */
.feature { position: relative; text-align: center; padding: 30px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); height: 100%; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(201,162,39,.14), transparent 48%); opacity: 0; transition: opacity .25s ease; }
.feature:hover { border-color: rgba(201,162,39,.55); box-shadow: 0 18px 42px rgba(0,0,0,.2); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature__icon { position: relative; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(15,98,254,.18), rgba(201,162,39,.18)); color: var(--c-gold); display: grid; place-items: center; font-size: 1.55rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.feature h3 { position: relative; font-size: 1.1rem; margin-bottom: 8px; }
.feature p { position: relative; color: var(--c-text-2); font-size: .92rem; margin: 0; }
.section--dark .feature p { color: #aab2c2; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 22px 26px; background: linear-gradient(180deg, #fff, #fbfcff); border: 1px solid var(--c-paper-3); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -16px; left: 22px; background: linear-gradient(135deg, var(--c-ink), var(--c-ink-2)); color: var(--c-gold); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: .9rem; box-shadow: 0 10px 24px rgba(26,29,36,.18); }
.step::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, var(--c-gold), rgba(15,98,254,.22), transparent); opacity: .7; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,98,254,.2); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--c-text-2); font-size: .9rem; margin: 0; }

/* ---------- CTA 横幅 ---------- */
.cta-banner { position: relative; background: radial-gradient(circle at 85% 10%, rgba(201,162,39,.22), transparent 28%), linear-gradient(120deg, var(--c-ink) 0%, #23283a 100%); color: #fff; border-radius: var(--radius-lg); padding: 58px 50px; overflow: hidden; box-shadow: 0 26px 70px rgba(26,29,36,.18); }
.cta-banner--compact { padding: 32px; }
.cta-banner::before { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; background: var(--c-gold); opacity: .14; pointer-events: none; }
.cta-banner::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 58px 58px; pointer-events: none; }
.cta-banner h2, .cta-banner h3, .cta-banner p, .cta-banner__actions { position: relative; z-index: 1; }
.cta-banner h2, .cta-banner h3 { color: #fff; max-width: 620px; }
.cta-banner h3 { font-size: 1.2rem; }
.cta-banner p { color: #c8cedb; max-width: 580px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- 详情页 ---------- */
.detail { padding: 56px 0; }
.detail__hero { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; background: var(--c-paper-2); }
.detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.detail__title { margin-bottom: 14px; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--c-text-3); font-size: .85rem; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.detail__content { font-size: 1.02rem; line-height: 1.8; color: var(--c-text); }
.detail__content h2, .detail__content h3 { margin-top: 1.6em; }
.detail__content p { margin-bottom: 1.1em; }
.detail__content img { border-radius: var(--radius); margin: 1.4em 0; }
.detail__layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.detail__sidebar { position: sticky; top: 90px; }
.spec-list { background: var(--c-paper-2); border-radius: var(--radius-lg); padding: 22px; }
.spec-list h4 { font-size: 1rem; margin-bottom: 14px; }
.spec-list ul { list-style: none; margin: 0; padding: 0; }
.spec-list li { padding: 9px 0; border-bottom: 1px dashed var(--c-line); font-size: .92rem; display: flex; gap: 8px; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list li::before { content: "✓"; color: var(--c-gold); font-weight: 800; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--c-line); }

/* 视频播放器 */
.video-player { aspect-ratio: 16/9; background: var(--c-ink); border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.video-player video, .video-player iframe { width: 100%; height: 100%; border: 0; }
.video-player img { display: block; }
.video-player__cover { width: 100%; height: 100%; object-fit: cover; }
.video-player__play {
    position: absolute; inset: 0; display: grid; place-items: center;
    width: 84px; height: 84px; margin: auto; border-radius: 50%;
    background: rgba(15,98,254,.92); color: #fff; font-size: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease;
    pointer-events: none;
}
.video-player:hover .video-player__play { transform: scale(1.1); background: var(--c-gold); }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-card { position: relative; padding: 32px; border: 1px solid var(--c-paper-3); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, #fbfcff); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-blue), var(--c-gold)); opacity: .85; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15,98,254,.2); }
.contact-card__intro { color: var(--c-text-2); margin-bottom: 24px; }
.contact-card__title { margin-bottom: 8px; }
.contact-card--info .contact-card__title { margin-bottom: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--c-ink); }
.form-field label .req { color: #d33; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--radius);
    font-family: var(--ff-sans); font-size: .95rem; background: var(--c-paper); transition: border .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px var(--c-blue-light); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label .opt { color: var(--c-text-3); font-weight: 400; font-size: .8rem; }
.form-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--c-text-3); }
.form-field input[type="file"] {
    padding: 10px 12px; background: var(--c-paper); cursor: pointer;
}
.form-field input[type="file"]::file-selector-button {
    padding: 8px 16px; margin-right: 12px; border: 0; border-radius: var(--radius);
    background: var(--c-blue); color: #fff; font-family: var(--ff-sans); font-size: .85rem;
    cursor: pointer; transition: background .15s;
}
.form-field input[type="file"]::file-selector-button:hover { background: var(--c-blue-dark, #1a5fb4); }
.contact-info__item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-line); transition: transform .18s ease; }
.contact-info__item:hover { transform: translateX(4px); }
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--c-blue-light); color: var(--c-blue); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info__icon--wa { background: #e7f8ee; color: #25d366; }
.contact-info__label { font-size: .78rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-info__value { font-family: var(--ff-head); font-weight: 700; color: var(--c-ink); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .92rem; }
.alert--ok { background: #e7f7ee; color: #11613a; border: 1px solid #b9e6cf; }
.alert--err { background: #fdeaea; color: #a32323; border: 1px solid #f5c6c6; }

/* ---------- WhatsApp 浮动按钮 ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 800;
    width: 60px; height: 60px; border-radius: 50%; background: #25d366;
    display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.5);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .6; animation: wa-pulse 2.2s infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 70%,100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: #aab2c2; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-family: var(--ff-head); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #aab2c2; font-size: .88rem; }
.footer-col a:hover { color: var(--c-gold); padding-left: 3px; }
.footer-about p { font-size: .88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-about .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #8b919a; }
.footer-bottom a:hover { color: #fff; }
.footer-phonebox { display: flex; align-items: center; gap: 15px; margin: 0 0 22px; }
.footer-phonebox__icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--c-gold); background: transparent; flex-shrink: 0; transition: color .2s, transform .2s; }
.footer-phonebox__icon:hover { color: #fff; transform: scale(1.05); }
.footer-phonebox__text { display: flex; flex-direction: column; line-height: 1.2; }
.footer-phonebox__num { color: #fff; font-size: 1.4rem; font-weight: 600; font-family: var(--ff-head); letter-spacing: .3px; }
.footer-phonebox__num:hover { color: var(--c-gold); }
.footer-phonebox__sub { font-size: .82rem; color: var(--c-gold); margin-top: 3px; letter-spacing: .2px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .fc-ico { flex-shrink: 0; margin-top: 3px; color: var(--c-gold); }
.footer-contact li > a { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li > a .fc-ico { margin-top: 2px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--c-gold); }

/* ---------- 全站滚动显现 ---------- */
/* 安全兜底: JS 未运行/被禁用时(html 保留 .no-js), 直接显示所有内容, 杜绝空白页。 */
html.no-js .home-reveal, html.no-js .reveal-section,
html.no-js .home-reveal .card, html.no-js .home-reveal .video-card,
html.no-js .reveal-section .card, html.no-js .reveal-section .video-card { opacity: 1 !important; transform: none !important; }
.home-reveal, .reveal-section { opacity: 0; transform: translateY(22px); transition: opacity .62s ease, transform .62s ease; }
.home-reveal.is-visible, .reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.home-reveal .card, .home-reveal .cat-card, .home-reveal .cat-tile, .home-reveal .feature, .home-reveal .step, .home-reveal .page-feature, .home-reveal .video-card, .home-reveal .contact-card, .home-reveal .contact-info__item, .home-reveal .filter-bar a, .home-reveal .detail__hero, .home-reveal .gallery img, .home-reveal .cta-banner,
.reveal-section .card, .reveal-section .cat-card, .reveal-section .cat-tile, .reveal-section .feature, .reveal-section .step, .reveal-section .page-feature, .reveal-section .video-card, .reveal-section .contact-card, .reveal-section .contact-info__item, .reveal-section .filter-bar a, .reveal-section .detail__hero, .reveal-section .gallery img, .reveal-section .cta-banner { transition-delay: calc(var(--reveal-i, 0) * 45ms); }
.home-reveal:not(.is-visible) .card, .home-reveal:not(.is-visible) .cat-card, .home-reveal:not(.is-visible) .cat-tile, .home-reveal:not(.is-visible) .feature, .home-reveal:not(.is-visible) .step, .home-reveal:not(.is-visible) .page-feature, .home-reveal:not(.is-visible) .video-card, .home-reveal:not(.is-visible) .contact-card, .home-reveal:not(.is-visible) .contact-info__item, .home-reveal:not(.is-visible) .filter-bar a, .home-reveal:not(.is-visible) .detail__hero, .home-reveal:not(.is-visible) .gallery img, .home-reveal:not(.is-visible) .cta-banner,
.reveal-section:not(.is-visible) .card, .reveal-section:not(.is-visible) .cat-card, .reveal-section:not(.is-visible) .cat-tile, .reveal-section:not(.is-visible) .feature, .reveal-section:not(.is-visible) .step, .reveal-section:not(.is-visible) .page-feature, .reveal-section:not(.is-visible) .video-card, .reveal-section:not(.is-visible) .contact-card, .reveal-section:not(.is-visible) .contact-info__item, .reveal-section:not(.is-visible) .filter-bar a, .reveal-section:not(.is-visible) .detail__hero, .reveal-section:not(.is-visible) .gallery img, .reveal-section:not(.is-visible) .cta-banner { opacity: 0; transform: translateY(16px); }
.home-reveal.is-visible .card, .home-reveal.is-visible .cat-card, .home-reveal.is-visible .cat-tile, .home-reveal.is-visible .feature, .home-reveal.is-visible .step, .home-reveal.is-visible .page-feature, .home-reveal.is-visible .video-card, .home-reveal.is-visible .contact-card, .home-reveal.is-visible .contact-info__item, .home-reveal.is-visible .filter-bar a, .home-reveal.is-visible .detail__hero, .home-reveal.is-visible .gallery img, .home-reveal.is-visible .cta-banner,
.reveal-section.is-visible .card, .reveal-section.is-visible .cat-card, .reveal-section.is-visible .cat-tile, .reveal-section.is-visible .feature, .reveal-section.is-visible .step, .reveal-section.is-visible .page-feature, .reveal-section.is-visible .video-card, .reveal-section.is-visible .contact-card, .reveal-section.is-visible .contact-info__item, .reveal-section.is-visible .filter-bar a, .reveal-section.is-visible .detail__hero, .reveal-section.is-visible .gallery img, .reveal-section.is-visible .cta-banner { opacity: 1; }

/* ---------- 分页 ----------
   ThinkPHP bootstrap 分页器输出 <ul class="pagination"><li>...<a>/<span></li></ul>，
   外层 <div class="pagination"> 仅作容器（不参与 flex，避免双重布局）。
   真正的按钮行是 ul.pagination，按钮样式作用于 li > a / li > span。 */
.pagination { margin-top: 44px; text-align: center; }
.pagination ul.pagination,
.pagination > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
ul.pagination { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.pagination li { margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span,
ul.pagination a, ul.pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: var(--radius); font-size: .9rem; color: var(--c-text-2); line-height: 1; }
.pagination a:hover,
ul.pagination a:hover { border-color: var(--c-blue); color: var(--c-blue); text-decoration: none; }
.pagination .active > span, .pagination .active > a,
ul.pagination .active > span, ul.pagination .active > a { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.pagination .disabled > span, .pagination .disabled > a,
ul.pagination .disabled > span, ul.pagination .disabled > a { opacity: .4; cursor: not-allowed; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--c-text-3); }
.empty h3 { color: var(--c-text-2); }

/* ---------- 404 页 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; background: var(--c-paper-2); }
.error-page__code { font-family: var(--ff-head); font-weight: 900; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; background: linear-gradient(135deg, var(--c-blue), var(--c-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { font-size: 1.6rem; margin-bottom: 12px; }
.error-page p { color: var(--c-text-2); max-width: 480px; margin: 0 auto 28px; }

/* ---------- 页面头 (栏目页 banner) ---------- */
.page-banner { background: radial-gradient(circle at 82% 16%, rgba(15,98,254,.24), transparent 32%), radial-gradient(circle at 8% 90%, rgba(201,162,39,.16), transparent 30%), linear-gradient(120deg, #11141a 0%, var(--c-ink) 54%, #23283a 100%); color: #fff; padding: 68px 0 58px; position: relative; overflow: hidden; isolation: isolate; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.78) 58%, transparent 100%); }
.page-banner::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, var(--c-blue), var(--c-gold)); opacity: .16; filter: blur(2px); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: 12px; max-width: 820px; text-shadow: 0 16px 40px rgba(0,0,0,.28); }
.page-banner p { color: #c8cedb; max-width: 680px; font-size: 1.06rem; }
.page-banner p:last-child { margin-bottom: 0; }

/* ---------- 标签筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar a { padding: 8px 18px; border: 1px solid var(--c-line); border-radius: 30px; font-size: .85rem; color: var(--c-text-2); font-weight: 600; }
.filter-bar a:hover { border-color: var(--c-blue); color: var(--c-blue); }
.filter-bar a.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.filter-bar__n { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; background: var(--c-paper-3); color: var(--c-text-3); border-radius: 20px; font-size: .72rem; font-weight: 700; }
.filter-bar a.is-active .filter-bar__n { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- 分类概览卡片 (产品列表页) ---------- */
.cat-overview { padding-top: 56px; }
.cat-tile {
    position: relative; display: flex; flex-direction: column; min-height: 260px; color: #fff;
    border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; isolation: isolate;
}
.cat-tile::before { content: ""; position: absolute; inset: 12px; z-index: 3; border: 1px solid rgba(255,255,255,.18); border-radius: calc(var(--radius-lg) - 3px); opacity: 0; transform: scale(.985); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.cat-tile::after { content: "→"; position: absolute; top: 16px; right: 16px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: var(--c-gold); display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(0,0,0,.22); transition: transform .25s ease, background .25s ease; }
.cat-tile:hover { transform: translateY(-5px); box-shadow: 0 22px 58px rgba(26,29,36,.18); border-color: rgba(201,162,39,.45); text-decoration: none; color: #fff; }
.cat-tile:hover::before { opacity: 1; transform: scale(1); }
.cat-tile:hover::after { transform: translate(2px,-2px); background: #ddb53a; }
.cat-tile__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--c-paper-2); }
.cat-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,21,28,.92) 0%, rgba(26,29,36,.42) 56%, rgba(26,29,36,.08) 100%); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.cat-tile:hover .cat-tile__media img { transform: scale(1.075); filter: saturate(1.08) contrast(1.03); }
.cat-tile__body { position: relative; z-index: 2; margin-top: auto; padding: 20px 18px; display: block; transform: translateY(5px); transition: transform .25s ease; }
.cat-tile:hover .cat-tile__body { transform: translateY(0); }
.cat-tile__body h3 { margin: 0 0 4px; font-size: 1.08rem; color: #fff; }
.cat-tile__count { color: #d4d8e0; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.cat-tile:hover .cat-tile__count { color: #f2d980; }

/* ---------- 列表头部计数 ---------- */
.list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.list-head__count { color: var(--c-text-2); font-size: .9rem; font-weight: 600; }

/* ---------- 底部 CTA 条 ---------- */
.cta-strip { background: radial-gradient(circle at 84% 8%, rgba(201,162,39,.18), transparent 28%), linear-gradient(120deg, var(--c-ink) 0%, #23283a 100%); color: #fff; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 58px 58px; pointer-events: none; }
.cta-strip::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--c-blue); opacity: .12; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-strip p { color: #c8cedb; margin: 0; max-width: 560px; }
.cta-strip__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 内容页增强 ---------- */
.page-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.page-feature { position: relative; padding: 28px 22px; border: 1px solid var(--c-paper-3); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, #fbfcff); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.page-feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c-gold), rgba(15,98,254,.28), transparent); }
.page-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,98,254,.2); }
.page-feature__icon { width: 52px; height: 52px; margin-bottom: 16px; border-radius: 15px; background: linear-gradient(135deg, rgba(15,98,254,.12), rgba(201,162,39,.16)); color: var(--c-gold); display: grid; place-items: center; font-size: 1.35rem; }
.page-feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.page-feature p { color: var(--c-text-2); font-size: .9rem; margin: 0; }

/* ---------- 详情画廊增强 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 28px 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--c-line); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .video-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .detail__layout { grid-template-columns: 1fr; }
    .detail__sidebar { position: static; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; flex-shrink: 0; }
    .main-nav, .header-tools .lang-switch { display: none; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header { z-index: 1300; }
    .main-nav.is-open {
        display: flex !important; position: fixed; top: 68px; left: 0; right: 0;
        width: 100vw; height: calc(100vh - 68px); height: calc(100dvh - 68px);
        background: linear-gradient(180deg, var(--c-ink), #11141a); flex-direction: column; align-items: stretch;
        gap: 0; padding: 16px; overflow-y: auto; z-index: 1200; -webkit-overflow-scrolling: touch;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 42px rgba(0,0,0,.26);
    }
    .main-nav.is-open .nav-item { display: block; width: 100%; flex: 0 0 auto; }
    .main-nav.is-open .nav-link { display: flex; width: 100%; justify-content: space-between; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; color: #f4f6fa; }
    .main-nav.is-open .dropdown { position: static; display: block; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: rgba(255,255,255,.04); padding: 4px 0 4px 16px; min-width: 0; max-width: none; }
    .main-nav.is-open .dropdown--mega { min-width: 0; padding: 4px 0 4px 16px; }
    .main-nav.is-open .dropdown__grid { display: block; }
    .main-nav.is-open .dropdown a { color: #c8cedb; padding: 9px 10px; }
    .main-nav.is-open .dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
    /* 移动端: 语言切换显示在顶栏 (Quote 按钮左侧), 仅图标紧凑样式 */
    .header-tools .lang-switch { display: block; }
    .header-tools .lang-switch__btn { padding: 8px 10px; gap: 4px; }
    .header-tools .lang-switch__btn > span:not(.lang-flag):not(.caret) { display: none; }
    .header-tools { gap: 6px; }
    .header-tools > .btn { padding: 9px 12px; font-size: .78rem; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: 1fr; }
    /* 解决方案 bento: 平板降到 2 列, 保留大小错落 */
    .solution-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .solution-bento .cat-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .solution-bento .cat-card:nth-child(5) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .hero__inner { padding: 66px 0 72px; }
    .hero__badge { font-size: .68rem; letter-spacing: .04em; }
    .hero__grid { background-size: 48px 48px; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 42px; }
    .hero__stat { padding: 15px 13px; }
    .page-banner { padding: 52px 0 46px; }
    .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .video-list { grid-template-columns: 1fr; }
    /* 解决方案 bento: 手机单列, 取消跨格, 统一固定宽高比 */
    .solution-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .solution-bento .cat-card,
    .solution-bento .cat-card:nth-child(1),
    .solution-bento .cat-card:nth-child(5) { grid-column: auto; grid-row: auto; aspect-ratio: 16/10; height: auto; }
    .solution-bento .cat-card:nth-child(1) .cat-card__label h3 { font-size: 1.15rem; }
    .process-steps { grid-template-columns: 1fr; }
    .page-feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-card { padding: 24px; }
    .cta-banner, .cta-banner--compact { padding: 38px 24px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .home-reveal, .reveal-section, .home-reveal:not(.is-visible) .card, .home-reveal:not(.is-visible) .cat-card, .home-reveal:not(.is-visible) .cat-tile, .home-reveal:not(.is-visible) .feature, .home-reveal:not(.is-visible) .step, .home-reveal:not(.is-visible) .page-feature, .home-reveal:not(.is-visible) .video-card, .home-reveal:not(.is-visible) .contact-card, .home-reveal:not(.is-visible) .contact-info__item, .home-reveal:not(.is-visible) .filter-bar a, .home-reveal:not(.is-visible) .detail__hero, .home-reveal:not(.is-visible) .gallery img, .home-reveal:not(.is-visible) .cta-banner, .reveal-section:not(.is-visible) .card, .reveal-section:not(.is-visible) .cat-card, .reveal-section:not(.is-visible) .cat-tile, .reveal-section:not(.is-visible) .feature, .reveal-section:not(.is-visible) .step, .reveal-section:not(.is-visible) .page-feature, .reveal-section:not(.is-visible) .video-card, .reveal-section:not(.is-visible) .contact-card, .reveal-section:not(.is-visible) .contact-info__item, .reveal-section:not(.is-visible) .filter-bar a, .reveal-section:not(.is-visible) .detail__hero, .reveal-section:not(.is-visible) .gallery img, .reveal-section:not(.is-visible) .cta-banner { opacity: 1; transform: none; }
}

/* 移动端安全兜底: 视频列表等页面在手机单列下整块 section 高度可达数千 px,
   远超视口。若 IntersectionObserver 未及时回调, 容器和子项都会停在 opacity:0
   导致整屏空白。此处保证: 移动端容器始终可见, 子项在容器未触发显现时也恢复可见
   (is-visible 一旦加上, 仍由上面的常规规则控制), 兼顾「绝不空白」与「淡入动画」。 */
@media (max-width: 860px) {
    .home-reveal, .reveal-section { opacity: 1 !important; transform: none !important; }
    .home-reveal:not(.is-visible) .card,
    .home-reveal:not(.is-visible) .video-card,
    .home-reveal:not(.is-visible) .cat-card,
    .home-reveal:not(.is-visible) .feature,
    .home-reveal:not(.is-visible) .step,
    .home-reveal:not(.is-visible) .cta-banner,
    .reveal-section:not(.is-visible) .card,
    .reveal-section:not(.is-visible) .video-card,
    .reveal-section:not(.is-visible) .cat-card,
    .reveal-section:not(.is-visible) .feature,
    .reveal-section:not(.is-visible) .step,
    .reveal-section:not(.is-visible) .cta-banner { opacity: 1 !important; transform: none !important; }
}
