/*
Theme Name: Weatherfine
Theme URI: https://weatherfine.com
Author: Nick Cai
Description: 好天气科技企业官网主题（对标大型 B2B 企业官网设计语言）
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: weatherfine
*/

:root {
    --wf-primary: #0f69b3;
    --wf-primary-dark: #0b5590;
    --wf-navy: #0a2a4a;
    --wf-navy-deep: #081d35;
    --wf-bg: #f6f9fc;
    --wf-border: #e6edf4;
    --wf-text: #1c2b3a;
    --wf-muted: #64748b;
    --wf-radius: 4px;
    --wf-shadow-sm: 0 2px 10px rgba(10, 42, 74, .06);
    --wf-shadow-md: 0 10px 30px rgba(10, 42, 74, .10);
    --wf-shadow-lg: 0 24px 60px rgba(10, 42, 74, .16);
    --wf-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ 基础 ============ */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--wf-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(15, 105, 179, .18); }

a { color: var(--wf-primary); text-decoration: none; transition: color .2s var(--wf-ease); }
a:hover { color: var(--wf-primary-dark); }

h1, h2, h3, h4, h5, h6 { color: #14273b; line-height: 1.35; }

.wf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- 按钮（新版） ---- */
.wf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 34px;
    font-size: 15px; font-weight: 500; letter-spacing: .5px;
    border-radius: var(--wf-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s var(--wf-ease);
}
.wf-btn svg { width: 16px; height: 16px; }
.wf-btn.solid { background: var(--wf-primary); color: #fff; }
.wf-btn.solid:hover { background: var(--wf-primary-dark); color: #fff; box-shadow: 0 8px 22px rgba(15, 105, 179, .35); transform: translateY(-1px); }
.wf-btn.ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(2px); }
.wf-btn.ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.wf-btn.line { background: transparent; border-color: var(--wf-primary); color: var(--wf-primary); }
.wf-btn.line:hover { background: var(--wf-primary); color: #fff; }

/* 兼容旧类 */
.wf-button { display: inline-block; background: var(--wf-primary); color: #fff; padding: 12px 32px; border-radius: var(--wf-radius); font-size: 15px; transition: all .25s var(--wf-ease); border: none; cursor: pointer; }
.wf-button:hover { background: var(--wf-primary-dark); color: #fff; box-shadow: 0 8px 22px rgba(15,105,179,.3); }
.wf-button.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
.wf-button.ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.wf-button.line { background: transparent; border: 1.5px solid var(--wf-primary); color: var(--wf-primary); }
.wf-button.line:hover { background: var(--wf-primary); color: #fff; }

/* ---- 滚动显现（支持 data-d 交错延迟） ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--wf-ease), transform .7s var(--wf-ease); }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 顶部信息条 ============ */

/* ============ 页头 ============ */
.wf-header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--wf-border); position: sticky; top: 0; z-index: 900; transition: box-shadow .3s var(--wf-ease); }
.wf-header.scrolled { box-shadow: 0 1px 0 var(--wf-border), 0 8px 28px rgba(10,42,74,.09); }
.wf-header .wf-container { display: flex; align-items: center; justify-content: space-between; min-height: 106px; gap: 24px; }
.wf-logo img { max-height: 78px; width: auto; display: block; }
.wf-logo .text { font-size: 22px; font-weight: 700; color: var(--wf-navy); }
.wf-logo .text small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 1px; color: var(--wf-muted); }

.wf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.wf-nav > ul > li {
    position: relative;
}
.wf-nav > ul > li > a {
    display: block;
    padding: 10px 18px;
    color: var(--wf-text);
    font-size: 15px;
    font-weight: 500;
}
.wf-nav > ul > li::after {
    content: "";
    position: absolute;
    left: 18px; right: 18px; bottom: 4px;
    height: 2px;
    background: var(--wf-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--wf-ease);
}
.wf-nav > ul > li:hover::after,
.wf-nav > ul > li.current-menu-item::after,
.wf-nav > ul > li.current_page_item::after { transform: scaleX(1); }
.wf-nav > ul > li:hover > a,
.wf-nav > ul > li.current-menu-item > a,
.wf-nav > ul > li.current_page_item > a { color: var(--wf-primary); }

.wf-header .tools { display: flex; align-items: center; gap: 16px; }
.wf-search { position: relative; }
.wf-search form { display: flex; border: 1px solid var(--wf-border); border-radius: var(--wf-radius); overflow: hidden; transition: border-color .2s; }
.wf-search form:focus-within { border-color: var(--wf-primary); }
.wf-search input[type="search"] { border: none; outline: none; padding: 8px 10px 8px 14px; width: 170px; font-size: 13px; }
.wf-search button { border: none; background: var(--wf-primary); color: #fff; width: 38px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.wf-search button:hover { background: var(--wf-primary-dark); }

.wf-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.wf-burger svg { width: 26px; height: 26px; stroke: var(--wf-text); }

/* ============ Hero 全屏轮播 ============ */
.wf-hero { position: relative; background: var(--wf-navy); overflow: hidden; }
.wf-hero .wf-slides { display: grid; }
.wf-hero .slide { grid-area: 1 / 1; position: relative; opacity: 0; transition: opacity .9s var(--wf-ease); }
.wf-hero .slide.active { opacity: 1; z-index: 2; }
.wf-hero .slide img { width: 100%; display: block; object-fit: cover; height: min(78vh, 700px); max-height: 700px; }
.wf-hero .slide .ph { width: 100%; height: min(78vh, 620px); background: radial-gradient(1100px 420px at 72% 28%, rgba(15,105,179,.6), transparent 65%), linear-gradient(118deg, #081d35 10%, #0f4c86 90%); }

/* 底部渐变（保证 dots / cue 可读） */
.wf-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
    background: linear-gradient(to top, rgba(8, 29, 53, .55), transparent);
    pointer-events: none; z-index: 3;
}

/* 有字幕的 slide 加左侧压暗 */
.wf-hero .slide.has-caption::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8, 29, 53, .78) 0%, rgba(8, 29, 53, .38) 42%, transparent 68%);
    z-index: 1;
}

.wf-hero .caption {
    position: absolute; inset: 0; z-index: 4;
    display: flex; align-items: center;
    pointer-events: none;
}
.wf-hero .caption .inner { pointer-events: auto; max-width: 640px; }
.wf-hero .eyebrow {
    display: flex; align-items: center; gap: 12px;
    color: #8fc3ee; font-size: 13px; font-weight: 600; letter-spacing: 4px;
    margin-bottom: 18px;
}
.wf-hero .eyebrow i { display: block; width: 34px; height: 1px; background: #8fc3ee; }
.wf-hero .caption h2 {
    color: #fff; font-size: 50px; font-weight: 700; line-height: 1.22;
    margin: 0 0 16px; letter-spacing: 1px;
}
.wf-hero .caption p { color: rgba(255,255,255,.85); font-size: 17.5px; margin: 0 0 34px; max-width: 540px; }
.wf-hero .caption .btns { display: flex; gap: 14px; }

.wf-hero .hero-foot {
    position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5;
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: flex-end; justify-content: space-between;
}
.wf-hero .dots { display: flex; gap: 6px; }
.wf-hero .dots button {
    width: 38px; height: 3px; border: none; border-radius: 2px;
    background: rgba(255,255,255,.38); cursor: pointer; padding: 0;
    transition: background .3s var(--wf-ease);
}
.wf-hero .dots button:hover { background: rgba(255,255,255,.7); }
.wf-hero .dots button.on { background: #fff; }

.wf-hero .cue {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: 3px;
}
.wf-hero .cue svg { width: 18px; height: 18px; animation: wfCue 1.8s infinite var(--wf-ease); }
@keyframes wfCue { 0%, 100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(5px); opacity: .4; } }

/* ============ 资质悬浮卡条 ============ */
.wf-strengths { position: relative; z-index: 10; }
.wf-strengths .strip {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; border-radius: 6px;
    box-shadow: var(--wf-shadow-lg);
    margin-top: -58px;
    border: 1px solid rgba(230, 237, 244, .8);
}
.wf-strengths .item { display: flex; gap: 18px; padding: 30px 30px 26px; }
.wf-strengths .item + .item { border-left: 1px solid var(--wf-border); }
.wf-strengths .icon {
    flex: 0 0 54px; width: 54px; height: 54px; border-radius: 6px;
    background: linear-gradient(135deg, rgba(15,105,179,.1), rgba(15,105,179,.16));
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--wf-ease);
}
.wf-strengths .item:hover .icon { background: linear-gradient(135deg, #0f69b3, #0b5590); }
.wf-strengths .icon svg { width: 26px; height: 26px; stroke: var(--wf-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.wf-strengths .item:hover .icon svg { stroke: #fff; }
.wf-strengths h3 { font-size: 17px; font-weight: 700; margin: 2px 0 6px; }
.wf-strengths p { margin: 0; font-size: 13.5px; color: var(--wf-muted); line-height: 1.7; }

/* ============ 区块通用 ============ */
.wf-section { padding: 92px 0; }
.wf-section.alt { background: var(--wf-bg); }

/* 左右分栏标题（大厂式） */
.wf-split-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    margin-bottom: 48px;
}
.wf-split-head .kicker {
    display: flex; align-items: center; gap: 12px;
    color: var(--wf-primary); font-size: 13px; letter-spacing: 3.5px; font-weight: 600;
}
.wf-split-head .kicker i { display: block; width: 30px; height: 1px; background: var(--wf-primary); }
.wf-split-head h2 { font-size: 34px; font-weight: 700; margin: 10px 0 0; letter-spacing: .5px; }
.wf-split-head .side { max-width: 380px; font-size: 14.5px; color: var(--wf-muted); margin: 0 0 6px; }
.wf-split-head .head-more { flex: none; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; white-space: nowrap; }
.wf-split-head .head-more:hover { letter-spacing: 1px; }

/* 居中标题（内页/归档沿用） */
.wf-sec-head { text-align: center; margin-bottom: 44px; }
.wf-sec-head .kicker { color: var(--wf-primary); font-size: 13px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; }
.wf-sec-head h2 { font-size: 30px; font-weight: 700; margin: 8px 0 12px; }
.wf-sec-head .line { width: 46px; height: 3px; background: var(--wf-primary); border-radius: 2px; margin: 0 auto; }
.wf-sec-head .sub { margin-top: 12px; color: var(--wf-muted); font-size: 14.5px; }
.wf-more-center { text-align: center; margin-top: 44px; }

/* ============ 服务领域 ============ */
.wf-domains .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wf-domains .tile {
    display: block; background: #fff; border: 1px solid var(--wf-border); border-radius: 6px;
    padding: 38px 34px 32px; position: relative; overflow: hidden;
    transition: all .3s var(--wf-ease);
}
.wf-domains .tile::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--wf-primary); transform: scaleY(0); transform-origin: top;
    transition: transform .35s var(--wf-ease);
}
.wf-domains .tile:hover { border-color: rgba(15,105,179,.35); box-shadow: var(--wf-shadow-md); transform: translateY(-6px); }
.wf-domains .tile:hover::before { transform: scaleY(1); }
.wf-domains .icon {
    width: 56px; height: 56px; border-radius: 6px; margin-bottom: 20px;
    background: rgba(15,105,179,.09);
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--wf-ease);
}
.wf-domains .tile:hover .icon { background: var(--wf-primary); }
.wf-domains .icon svg { width: 27px; height: 27px; stroke: var(--wf-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.wf-domains .tile:hover .icon svg { stroke: #fff; }
.wf-domains h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.wf-domains p { font-size: 14px; color: var(--wf-muted); margin: 0 0 18px; }
.wf-domains .arrow { font-size: 13px; font-weight: 600; color: var(--wf-primary); opacity: .55; transition: all .25s var(--wf-ease); }
.wf-domains .tile:hover .arrow { opacity: 1; letter-spacing: .5px; }

/* ============ 产品卡 ============ */
.wf-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wf-product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.wf-pcard { background: #fff; border: 1px solid var(--wf-border); border-radius: 6px; overflow: hidden; transition: all .3s var(--wf-ease); display: flex; flex-direction: column; }
.wf-pcard:hover { border-color: transparent; box-shadow: var(--wf-shadow-md); transform: translateY(-6px); }
.wf-pcard .thumb { display: block; overflow: hidden; background: #fff; }
.wf-pcard .thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s var(--wf-ease); }
.wf-pcard:hover .thumb img { transform: scale(1.05); }
.wf-pcard .body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.wf-pcard .body h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.wf-pcard .body h3 a { color: var(--wf-text); }
.wf-pcard .body h3 a:hover { color: var(--wf-primary); }
.wf-pcard .desc { font-size: 13.5px; color: var(--wf-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wf-pcard .more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--wf-primary); display: inline-flex; align-items: center; gap: 6px; }
.wf-pcard .more span { transition: transform .25s var(--wf-ease); }
.wf-pcard:hover .more span { transform: translateX(4px); }

/* ============ 关于我们 ============ */
.wf-about .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.wf-about .photo { position: relative; }
.wf-about .photo > img { width: 100%; border-radius: 6px; box-shadow: var(--wf-shadow-lg); display: block; }
.wf-about .photo .badge {
    position: absolute; left: -18px; bottom: 30px;
    background: var(--wf-navy); color: #fff; border-radius: 6px;
    padding: 18px 22px; max-width: 240px;
    box-shadow: var(--wf-shadow-md);
}
.wf-about .photo .badge strong { display: block; font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; color: #8fc3ee; }
.wf-about .photo .badge span { font-size: 12.5px; color: rgba(255,255,255,.75); line-height: 1.65; display: block; }
.wf-about .kicker { display: flex; align-items: center; gap: 12px; color: var(--wf-primary); font-size: 13px; font-weight: 600; letter-spacing: 3.5px; }
.wf-about .kicker i { display: block; width: 30px; height: 1px; background: var(--wf-primary); }
.wf-about h2 { font-size: 32px; font-weight: 700; margin: 10px 0 16px; }
.wf-about .desc { font-size: 15px; color: var(--wf-muted); text-align: justify; }
.wf-about .checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.wf-about .checklist li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; }
.wf-about .checklist svg { flex: none; width: 20px; height: 20px; stroke: var(--wf-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wf-about .acts { margin-top: 32px; display: flex; gap: 14px; }

/* ============ 案例卡（图卡覆盖） ============ */
.wf-app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.wf-app-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wf-acard { position: relative; display: block; border-radius: 6px; overflow: hidden; box-shadow: var(--wf-shadow-sm); }
.wf-acard img { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; display: block; transition: transform .55s var(--wf-ease); }
.wf-acard:hover img { transform: scale(1.06); }
.wf-acard .mask {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 29, 53, .88) 0%, rgba(8, 29, 53, .25) 52%, transparent 100%);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
    padding: 24px 26px;
}
.wf-acard .mask .tag {
    display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px;
    color: #cfe4f6; border: 1px solid rgba(207, 228, 246, .5); border-radius: 3px;
    padding: 2px 10px; margin-bottom: 12px;
}
.wf-acard .mask .t { color: #fff; font-size: 19px; font-weight: 600; }
.wf-acard .mask .t small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ============ 新闻卡 ============ */
.wf-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wf-ncard { background: #fff; border: 1px solid var(--wf-border); border-radius: 6px; overflow: hidden; transition: all .3s var(--wf-ease); display: flex; flex-direction: column; }
.wf-ncard:hover { border-color: transparent; box-shadow: var(--wf-shadow-md); transform: translateY(-6px); }
.wf-ncard .thumb { display: block; overflow: hidden; }
.wf-ncard .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .5s var(--wf-ease); }
.wf-ncard:hover .thumb img { transform: scale(1.05); }
.wf-ncard .thumb.ph { aspect-ratio: 16/9; background: linear-gradient(120deg, #0b5590, #0f69b3); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 34px; }
.wf-ncard .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.wf-ncard .date { font-size: 12.5px; color: var(--wf-muted); display: inline-flex; align-items: center; gap: 8px; }
.wf-ncard .date::before { content: ""; width: 18px; height: 1px; background: var(--wf-primary); display: block; }
.wf-ncard h3 { font-size: 16.5px; margin: 8px 0 8px; line-height: 1.5; }
.wf-ncard h3 a { color: var(--wf-text); }
.wf-ncard h3 a:hover { color: var(--wf-primary); }
.wf-ncard .excerpt { font-size: 13.5px; color: var(--wf-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wf-ncard .more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--wf-primary); display: inline-flex; align-items: center; gap: 6px; }
.wf-ncard .more span { transition: transform .25s var(--wf-ease); }
.wf-ncard:hover .more span { transform: translateX(4px); }

/* ============ CTA 条 ============ */
.wf-cta {
    position: relative;
    background: linear-gradient(115deg, var(--wf-navy-deep) 0%, #0d3a63 55%, var(--wf-primary) 130%);
    padding: 58px 0; overflow: hidden;
}
.wf-cta::before {
    content: ""; position: absolute; right: -140px; top: -180px; width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,105,179,.35), transparent 70%);
    pointer-events: none;
}
.wf-cta .wf-container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wf-cta h3 { color: #fff; font-size: 27px; font-weight: 700; margin: 0 0 8px; }
.wf-cta p { color: rgba(255,255,255,.72); margin: 0; font-size: 14.5px; }
.wf-cta .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ 页脚 ============ */
.wf-footer { background: var(--wf-navy-deep); color: #9db4cc; }
.wf-footer .cols { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 36px; padding: 58px 0 44px; }
.wf-footer h4 { color: #fff; font-size: 15.5px; font-weight: 600; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.wf-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--wf-primary); }
.wf-footer a { color: #9db4cc; }
.wf-footer a:hover { color: #fff; }
.wf-footer .brand img { max-height: 44px; width: auto; }
.wf-footer .brand .slogan { margin-top: 14px; font-size: 13.5px; line-height: 1.9; }
.wf-footer .brand .tags { margin-top: 14px; }
.wf-footer .brand .tags span { display: inline-block; font-size: 12px; border: 1px solid rgba(157,180,204,.35); border-radius: 3px; padding: 2px 10px; margin: 0 8px 8px 0; }
.wf-footer .links a { display: block; padding: 6px 0; font-size: 14px; }
.wf-footer .contact .item { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; }
.wf-footer .contact .item svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 5px; stroke: #5f8fc0; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wf-footer .qrcode img { width: 110px; height: 110px; border-radius: 5px; }
.wf-footer .qrcode .tip { font-size: 12px; color: #7e97b0; margin-top: 8px; }
.wf-footer .bottom { border-top: 1px solid rgba(157,180,204,.14); padding: 18px 0; text-align: center; font-size: 13px; color: #7e97b0; }
.wf-footer .bottom a { color: #7e97b0; }

/* ============ 内页通用（页面横幅/正文/列表） ============ */
.wf-page-banner {
    position: relative; overflow: hidden;
    background: linear-gradient(115deg, var(--wf-navy-deep), #0d3a63 60%, var(--wf-primary) 140%);
    color: #fff; padding: 62px 0; text-align: center;
}
.wf-page-banner::before {
    content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
}
.wf-page-banner h1 { color: #fff; font-size: 32px; margin: 0 0 8px; letter-spacing: 1px; }
.wf-page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.65); }
.wf-page-banner .crumb a { color: rgba(255,255,255,.85); }

.wf-content { padding: 52px 0; }
.wf-content .entry { max-width: 900px; margin: 0 auto; font-size: 15.5px; }
.wf-content .entry img { border-radius: var(--wf-radius); }
.entry h2 { font-size: 24px; margin: 1.4em 0 .6em; }
.entry h3 { font-size: 19px; margin: 1.3em 0 .5em; }
.entry p { margin: .9em 0; }
.entry ul, .entry ol { padding-left: 1.6em; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.entry table td, .entry table th { border: 1px solid var(--wf-border); padding: 9px 12px; font-size: 14.5px; }
.entry table th { background: var(--wf-bg); }

/* 产品/案例 详情 */
.wf-single { padding: 56px 0; }
.wf-single .head { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 38px; }
.wf-single .head .pic img { width: 100%; border-radius: 6px; border: 1px solid var(--wf-border); }
.wf-single .head .info h1 { font-size: 27px; margin: 0 0 14px; }
.wf-single .head .info .meta { color: var(--wf-muted); font-size: 14px; }
.wf-single .body { max-width: 100%; }

/* 归档分页 */
.wf-pagination { text-align: center; padding: 34px 0 6px; }
.wf-pagination .nav-links a, .wf-pagination .nav-links span {
    display: inline-block; min-width: 40px; line-height: 40px; padding: 0 13px;
    border: 1px solid var(--wf-border); border-radius: var(--wf-radius); margin: 0 4px; font-size: 14px; color: var(--wf-text);
    transition: all .2s;
}
.wf-pagination .nav-links .current { background: var(--wf-primary); border-color: var(--wf-primary); color: #fff; }
.wf-pagination .nav-links a:hover { border-color: var(--wf-primary); color: var(--wf-primary); }

/* ============ 响应式 ============ */
@media (max-width: 991px) {
    .wf-strengths .strip { grid-template-columns: 1fr; margin-top: -20px; }
    .wf-strengths .item + .item { border-left: none; border-top: 1px solid var(--wf-border); }
    .wf-domains .grid { grid-template-columns: repeat(2, 1fr); }
    .wf-product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .wf-product-grid { grid-template-columns: repeat(2, 1fr); }
    .wf-news-grid { grid-template-columns: repeat(2, 1fr); }
    .wf-app-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .wf-about .grid { grid-template-columns: 1fr; gap: 40px; }
    .wf-about .photo .badge { left: 14px; }
    .wf-footer .cols { grid-template-columns: 1fr 1fr; }
    .wf-hero .caption h2 { font-size: 38px; }
    .wf-hero .slide img { height: 480px; }
    .wf-hero .slide .ph { height: 460px; }
    .wf-split-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .wf-split-head .side { margin-bottom: 0; }
    .wf-single .head { grid-template-columns: 1fr; }
    .wf-section { padding: 68px 0; }
}

@media (max-width: 767px) {
    .wf-header .wf-container { min-height: 72px; }
    .wf-logo img { max-height: 50px; }
    .wf-burger { display: block; }
    .wf-search { display: none; }

    .wf-nav {
        display: none;
        position: fixed; inset: 0; z-index: 950;
        background: rgba(8, 29, 53, .45);
    }
    .wf-nav.open { display: block; }
    .wf-nav ul {
        flex-direction: column; gap: 0;
        position: absolute; top: 0; right: 0; bottom: 0;
        width: 270px; background: #fff; padding: 20px 16px; overflow-y: auto;
        box-shadow: -8px 0 30px rgba(0,0,0,.2);
    }
    .wf-nav ul li a { padding: 14px 16px; border-bottom: 1px solid var(--wf-border); border-radius: 0; }
    .wf-nav ul li a::after { display: none; }

    .wf-hero .slide img { height: 400px; }
    .wf-hero .slide .ph { height: 400px; }
    .wf-hero .caption h2 { font-size: 27px; }
    .wf-hero .caption p { font-size: 14.5px; margin-bottom: 24px; }
    .wf-hero .eyebrow { letter-spacing: 2.5px; font-size: 11px; }
    .wf-hero .caption .btns { flex-wrap: wrap; }
    .wf-hero .cue { display: none; }

    .wf-strengths .strip { margin-top: -14px; }
    .wf-strengths .item { padding: 22px 20px; }

    .wf-cta .wf-container { flex-direction: column; text-align: center; }
    .wf-cta .btns { justify-content: center; }
    .wf-section { padding: 52px 0; }
    .wf-split-head h2, .wf-about h2 { font-size: 25px; }
    .wf-domains p { min-height: 0; }
    .wf-product-grid, .wf-product-grid.cols-4,
    .wf-news-grid, .wf-app-grid, .wf-app-grid.cols-3,
    .wf-domains .grid { grid-template-columns: 1fr; }
    .wf-footer .cols { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
}

/* ---- 新闻列表页（/news/）横向行布局 ---- */
.wf-news-container { max-width: 960px; }
.wf-newslist { display: flex; flex-direction: column; }
.wf-newsrow {
    display: grid; grid-template-columns: 280px 1fr; gap: 28px;
    padding: 26px 0; border-bottom: 1px solid var(--wf-border);
    transition: background .25s var(--wf-ease);
}
.wf-newsrow:hover { background: rgba(15, 105, 179, .035); }
.wf-newsrow .thumb { display: block; overflow: hidden; border-radius: 6px; align-self: start; }
.wf-newsrow .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .5s var(--wf-ease); }
.wf-newsrow:hover .thumb img { transform: scale(1.04); }
.wf-newsrow .thumb .ph { aspect-ratio: 16/9; background: linear-gradient(120deg, #0b5590, #0f69b3); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 34px; }
.wf-newsrow .date { font-size: 13px; color: var(--wf-muted); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wf-newsrow .date::before { content: ""; width: 18px; height: 1px; background: var(--wf-primary); display: block; }
.wf-newsrow h2 { font-size: 19px; margin: 0 0 10px; }
.wf-newsrow h2 a { color: var(--wf-navy); text-decoration: none; }
.wf-newsrow h2 a:hover { color: var(--wf-primary); }
.wf-newsrow .excerpt { font-size: 14.5px; color: var(--wf-text-light); margin: 0 0 14px; }
.wf-newsrow .more { font-size: 13.5px; color: var(--wf-primary); text-decoration: none; font-weight: 600; }
.wf-newsrow .more:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .wf-newsrow { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
    .wf-newsrow .thumb img { aspect-ratio: 16/8; }
}

/* ---- 去图标化：资质条大序号 ---- */
.wf-strengths .num {
    flex: 0 0 auto; font-size: 36px; font-weight: 800; line-height: 1;
    color: rgba(15, 105, 179, .25); letter-spacing: 1px; padding-top: 3px;
    font-family: Georgia, 'Times New Roman', serif; transition: color .3s;
}
.wf-strengths .item:hover .num { color: var(--wf-primary); }

/* ---- 去图标化：关于清单短横线 ---- */
.wf-about .checklist li::before {
    content: ""; width: 22px; height: 2px; background: var(--wf-primary);
    display: block; flex: 0 0 22px;
}

/* ---- Hero 主图缓慢缩放动效 ---- */
.wf-hero .slide { overflow: hidden; }
.wf-hero .slide img { will-change: transform; }
.wf-hero .slide.active img { animation: wf-kenburns 9s ease-out forwards; }
@keyframes wf-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .wf-hero .slide.active img { animation: none; } }

/* ---- 归档网格：末行不满时居中 ---- */
.wf-product-grid.cols-4, .wf-app-grid.cols-3 {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 26px;
}
.wf-product-grid.cols-4 > .wf-pcard { width: calc(25% - 20px); min-width: 0; margin: 0; }
.wf-app-grid.cols-3 > .wf-acard { width: calc(33.333% - 18px); min-width: 0; margin: 0; }
@media (max-width: 991px) {
    .wf-product-grid.cols-4 > .wf-pcard,
    .wf-app-grid.cols-3 > .wf-acard { width: calc(50% - 13px); }
}
@media (max-width: 767px) {
    .wf-product-grid.cols-4 > .wf-pcard,
    .wf-app-grid.cols-3 > .wf-acard { width: 100%; }
}

/* ---- 主导航「产品中心」分类下拉 ---- */
.wf-nav > ul > li.menu-item-has-children { position: relative; }
.wf-nav > ul > li.menu-item-has-children > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); margin-left: 7px; opacity: .55;
    vertical-align: 1.5px;
}
.wf-nav ul li ul.sub-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #fff; border: 1px solid var(--wf-border); border-radius: 8px;
    box-shadow: var(--wf-shadow-md); padding: 8px 0; margin: 6px 0 0; z-index: 60;
}
/* 悬停桥：盖住父链接与面板之间的 6px 间隙，鼠标划过不丢失 hover */
.wf-nav ul li ul.sub-menu::before {
    content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.wf-nav ul li:hover > ul.sub-menu { display: block; }
.wf-nav ul li ul.sub-menu li a {
    display: block; padding: 10px 22px; font-size: 14px; color: var(--wf-text);
    white-space: nowrap; border-radius: 0;
}
.wf-nav ul li ul.sub-menu li a:hover { color: var(--wf-primary); background: rgba(15, 105, 179, .05); }


@media (max-width: 767px) {
    .wf-nav ul li ul.sub-menu {
        display: block; position: static; min-width: 0; background: transparent;
        border: none; box-shadow: none; border-radius: 0; padding: 0 0 0 16px; margin: 0;
    }
    .wf-nav ul li ul.sub-menu li a { padding: 11px 16px; font-size: 13.5px; color: var(--wf-muted); border-bottom: 1px dashed var(--wf-border); }
    .wf-nav > ul > li.menu-item-has-children > a::after { display: none; }
}

/* ---- 首页视觉优化 ---- */
/* 产品图白底完整展示，卡片整齐不裁剪 */
.wf-pcard .thumb img { object-fit: contain; padding: 16px 14px; background: #fff; }

/* Hero 文字可读性：左下暗部渐变 + 文字投影 */
.wf-hero .slide::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(100deg, rgba(6, 20, 38, .52) 0%, rgba(6, 20, 38, .22) 46%, transparent 72%);
}
.wf-hero .caption h2 { text-shadow: 0 2px 26px rgba(4, 16, 32, .5); }
.wf-hero .caption p  { text-shadow: 0 1px 14px rgba(4, 16, 32, .45); }

/* 四大服务领域：hover 淡蓝渐变底，链接加深 */
.wf-domains .tile:hover { background: linear-gradient(180deg, rgba(15, 105, 179, .06), #fff 55%); }
.wf-domains .arrow { opacity: .8; }

/* ---- 悬浮快捷栏 ---- */
.side-bar { position: fixed; right: 18px; bottom: 120px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.side-bar__btn {
    position: relative; width: 46px; height: 46px; border-radius: 9px;
    border: 1px solid var(--wf-border); background: #fff; color: var(--wf-navy);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 6px 20px rgba(10, 42, 74, .12); padding: 0;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.side-bar__btn .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-bar__btn:hover { background: var(--wf-primary); border-color: var(--wf-primary); color: #fff; transform: translateX(-3px); }
.side-bar__label {
    position: absolute; right: calc(100% + 12px); top: 50%;
    transform: translateY(-50%) translateX(6px); white-space: nowrap;
    background: var(--wf-navy-deep, #08263f); color: #fff; font-size: 12.5px;
    padding: 6px 12px; border-radius: 5px; opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s;
}
.side-bar__btn:hover .side-bar__label { opacity: 1; transform: translateY(-50%) translateX(0); }
.side-bar .back-top { display: none; }
.side-bar.scrolled .back-top { display: flex; }
@media (max-width: 767px) {
    .side-bar { right: 12px; bottom: 88px; }
    .side-bar__btn { width: 42px; height: 42px; }
}

/* ---- 商务咨询：右侧滑出抽屉 ---- */
.wf-modal { position: fixed; inset: 0; z-index: 990; visibility: hidden; transition: visibility 0s .38s; }
.wf-modal.open { visibility: visible; transition: none; }
.wf-modal__overlay { position: absolute; inset: 0; background: rgba(8, 29, 53, .5); opacity: 0; transition: opacity .32s var(--wf-ease); }
.wf-modal.open .wf-modal__overlay { opacity: 1; }
.wf-modal__box {
    position: absolute; top: 0; right: 0; bottom: 0; z-index: 2;
    width: min(430px, 100vw); background: #fff;
    padding: 34px 34px 30px; overflow-y: auto;
    box-shadow: -18px 0 60px rgba(8, 29, 53, .28);
    transform: translateX(100%);
    transition: transform .36s var(--wf-ease);
}
.wf-modal.open .wf-modal__box { transform: translateX(0); }
.wf-modal__close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--wf-muted); cursor: pointer; }
.wf-modal__close:hover { color: var(--wf-navy); }
.wf-modal__box h3 { margin: 0 0 6px; font-size: 22px; color: var(--wf-navy); }
.wf-modal__box::before { content: ""; display: block; width: 34px; height: 3px; background: var(--wf-primary); border-radius: 2px; margin-bottom: 18px; }
.wf-modal__box .sub { margin: 0 0 20px; font-size: 13.5px; color: var(--wf-muted); }
.js-wf-inquiry input, .js-wf-inquiry textarea {
    width: 100%; border: 1px solid var(--wf-border); border-radius: 6px;
    padding: 11px 14px; font-size: 14px; margin-bottom: 12px; font-family: inherit; box-sizing: border-box;
}
.js-wf-inquiry input:focus, .js-wf-inquiry textarea:focus { outline: none; border-color: var(--wf-primary); box-shadow: 0 0 0 3px rgba(15, 105, 179, .12); }
.js-wf-inquiry textarea { resize: vertical; }
.js-wf-inquiry button[type=submit] { width: 100%; border: 0; cursor: pointer; box-sizing: border-box; }
.wf-trap { position: absolute; left: -9999px; opacity: 0; height: 0; }
.wf-inquiry-msg { font-size: 13.5px; margin: 10px 0 0; color: var(--wf-muted); min-height: 18px; }
.wf-inquiry-msg.ok { color: #0e9f6e; }
.wf-inquiry-msg.err { color: #d9534f; }

/* ---- 产品上下款导航 / 相关产品 ---- */
.wf-pn-nav { display: flex; gap: 14px; margin: 40px 0 8px; }
.wf-pn-nav .pn { flex: 1; background: #fff; border: 1px solid var(--wf-border); border-radius: 8px; padding: 16px 20px; text-decoration: none; transition: all .25s var(--wf-ease); }
.wf-pn-nav .pn:hover { border-color: var(--wf-primary); box-shadow: var(--wf-shadow-md); }
.wf-pn-nav .pn span { display: block; font-size: 12px; color: var(--wf-muted); margin-bottom: 4px; }
.wf-pn-nav .pn strong { color: var(--wf-navy); font-size: 14.5px; font-weight: 600; }
.wf-pn-nav .pn.next { text-align: right; }
.wf-related { margin-top: 44px; }
.wf-related h3 { font-size: 20px; color: var(--wf-navy); margin-bottom: 20px; }

/* ---- 联系我们页 ---- */
.wf-contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.wf-contact-info h2 { font-size: 26px; color: var(--wf-navy); margin: 0 0 10px; }
.wf-contact-info .lead { color: var(--wf-muted); font-size: 15px; margin-bottom: 28px; }
.wf-contact-info .item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--wf-border); }
.wf-contact-info .item svg { width: 22px; height: 22px; stroke: var(--wf-primary); fill: none; stroke-width: 1.7; margin-top: 3px; }
.wf-contact-info .item span { display: block; font-size: 12.5px; color: var(--wf-muted); margin-bottom: 3px; }
.wf-contact-info .item strong { font-size: 16px; color: var(--wf-navy); font-weight: 600; }
.wf-contact-info .item a { color: var(--wf-navy); text-decoration: none; }
.wf-contact-info .item a:hover { color: var(--wf-primary); }
.wf-contact-info .qr { margin-top: 24px; text-align: center; }
.wf-contact-info .qr img { width: 140px; height: 140px; border: 1px solid var(--wf-border); border-radius: 8px; padding: 6px; background: #fff; }
.wf-contact-info .qr div { font-size: 12.5px; color: var(--wf-muted); margin-top: 8px; }
.wf-contact-form { background: #fff; border: 1px solid var(--wf-border); border-radius: 12px; padding: 32px 34px; align-self: start; box-shadow: var(--wf-shadow-sm); }
.wf-contact-form h3 { margin: 0 0 6px; font-size: 21px; color: var(--wf-navy); }
.wf-contact-form .sub { margin: 0 0 20px; font-size: 13.5px; color: var(--wf-muted); }
@media (max-width: 991px) { .wf-contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- 语言切换器 ---- */
.wf-lang {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 17px;
    border: 1px solid var(--wf-border); color: var(--wf-navy);
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: all .22s var(--wf-ease); white-space: nowrap;
}
.wf-lang:hover { background: var(--wf-primary); border-color: var(--wf-primary); color: #fff; }

/* ---- 宽菜单（英文 7 项+切换器）不换行适配 ---- */
.wf-nav ul { flex-wrap: nowrap; }
.wf-nav > ul > li > a { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
@media (max-width: 1279px) {
    .wf-search { display: none; }
}
@media (max-width: 991px) {
    .wf-search { display: flex; }
}
