/*
Theme Name: 蓉城快修 ChengduFix
Theme URI: https://example.com/chengdu-repair
Author: ChengduFix
Author URI: https://example.com
Description: 为成都电脑上门维修业务量身打造的 WordPress 独立站主题。内置转化型首页(服务项目、服务优势、维修流程、收费标准、服务区域、客户评价、常见问题、预约通道)、移动端底部电话/微信悬浮条、微信二维码弹窗、LocalBusiness 结构化数据与博客模板(适合发布维修知识做百度 SEO)。全部使用系统字体,不依赖任何境外资源,国内访问速度快。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chengdu-repair
Tags: business, blog, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   1. 设计令牌 / 基础
   ============================================================ */
:root {
	--ink: #0e2540;
	--ink-2: #3a4f68;
	--muted: #64758b;
	--blue: #1465e0;
	--blue-2: #0a4dbb;
	--blue-dark: #0b2c56;
	--blue-soft: #eaf1fd;
	--orange: #ff7a1a;
	--orange-2: #f26a06;
	--orange-soft: #fff3e8;
	--green-wx: #07c160;
	--bg: #f4f7fb;
	--card: #ffffff;
	--line: #e4eaf2;
	--r: 16px;
	--r-s: 10px;
	--shadow: 0 8px 28px rgba(15, 37, 64, 0.08);
	--shadow-lg: 0 18px 48px rgba(15, 37, 64, 0.16);
	--font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
		"WenQuanYi Micro Hei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange-2); }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4, h5, h6 { line-height: 1.35; color: var(--ink); margin: 0 0 0.5em; font-weight: 700; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

section[id], div[id="content"] { scroll-margin-top: 96px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--blue-dark); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ============================================================
   2. 按钮
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-size: 15px; font-weight: 700; font-family: inherit; line-height: 1.3;
	cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
	background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
	color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 26, 0.35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 122, 26, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); color: #fff; transform: translateY(-2px); }
.btn-wx { background: var(--green-wx); color: #fff; }
.btn-wx:hover { background: #06a552; color: #fff; transform: translateY(-2px); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   3. 顶部信息条 + 头部导航
   ============================================================ */
.topbar { background: var(--blue-dark); color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar-in span, .topbar-in a, .topbar-wx { display: inline-flex; align-items: center; gap: 6px; }
.topbar-in a { color: rgba(255, 255, 255, 0.92); }
.topbar-in a strong { color: #ffb347; font-size: 14px; letter-spacing: 0.5px; }
.topbar-wx { background: none; border: 0; color: rgba(255, 255, 255, 0.85); font: inherit; cursor: pointer; padding: 0; }
.topbar-wx:hover, .topbar-in a:hover { color: #fff; }

.site-header {
	position: sticky; top: 0; z-index: 60; background: #fff;
	border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 37, 64, 0.1); }
.admin-bar .site-header { top: 32px; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.site-brand { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
	width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: #fff; box-shadow: 0 6px 14px rgba(20, 101, 224, 0.35);
}
.brand-mark .icon { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: 0.5px; }
.brand-text small { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.custom-logo { max-height: 52px; width: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu li { position: relative; }
.site-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 10px;
	font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.site-nav .menu a:hover { background: var(--blue-soft); color: var(--blue); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--blue); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 6px);
	min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
	box-shadow: var(--shadow-lg); display: none; z-index: 70;
}
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { padding: 9px 12px; font-size: 14px; }

.header-cta { box-shadow: 0 8px 18px rgba(255, 122, 26, 0.3); }
.header-cta .icon { width: 17px; height: 17px; }

.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px;
	background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   4. 首页 Hero + 极速预约卡(签名元素)
   ============================================================ */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(135deg, #0b2c56 0%, #0f3f86 46%, #1465e0 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.6px);
	background-size: 26px 26px; opacity: 0.55;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero::after {
	content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px;
	border-radius: 50%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
}
.hero-in {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr;
	gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 96px;
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 13px; font-weight: 600; letter-spacing: 2px; margin-bottom: 22px;
}
.eyebrow .icon { color: #ffb347; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: 1px; margin: 0 0 16px; }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, 0.86); max-width: 560px; margin: 0 0 30px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-act .btn-primary { font-size: 19px; letter-spacing: 0.5px; }
.hero-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 520px; }
.hero-badges li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(255, 255, 255, 0.92); }
.hero-badges .icon { width: 19px; height: 19px; padding: 3px; border-radius: 50%; background: var(--orange); color: #fff; }

.hero-card {
	background: #fff; color: var(--ink); border-radius: 22px; padding: 26px 26px 22px;
	box-shadow: var(--shadow-lg); position: relative;
}
.hc-top { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.hc-top em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: #0c8f4d; background: #e7f8ef; padding: 3px 10px; border-radius: 999px; }
.hc-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #18c964; position: relative; flex: none; }
.hc-top .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(24, 201, 100, 0.35); animation: cdr-pulse 1.6s ease-out infinite; }
@keyframes cdr-pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.hc-phone { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--blue-soft); margin-bottom: 18px; }
.hc-phone:hover { background: #ddeafc; }
.hc-ic {
	width: 50px; height: 50px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 8px 16px rgba(255, 122, 26, 0.35);
}
.hc-ic .icon { width: 24px; height: 24px; }
.hc-phone small { display: block; font-size: 12.5px; color: var(--muted); }
.hc-phone strong { display: block; font-size: 27px; font-weight: 800; color: var(--blue-2); letter-spacing: 1px; line-height: 1.2; }

.hc-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.hc-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); }
.hc-list .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #e7f8ef; color: #0c8f4d; margin-top: 2px; }

.hc-wx {
	width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px; border: 0; border-radius: 12px; background: var(--green-wx); color: #fff;
	font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.18s ease, transform 0.18s ease;
}
.hc-wx:hover { background: #06a552; transform: translateY(-1px); }
.hc-hours { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ============================================================
   5. 通用 Section
   ============================================================ */
.section { padding: 88px 0; }
.section-alt { background: #fff; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 4px;
	color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 0 0 14px; }
.sec-head .lead { color: var(--muted); font-size: 16px; margin: 0; }

/* 服务项目 */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 26px 24px 22px; display: flex; flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-ic {
	width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #e8f0ff, #f4f8ff); color: var(--blue); margin-bottom: 16px;
	transition: background 0.22s ease, color 0.22s ease;
}
.svc:hover .svc-ic { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.svc-ic .icon { width: 26px; height: 26px; }
.svc h3 { font-size: 17.5px; margin: 0 0 8px; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin: 0 0 16px; flex: 1; }
.svc-price {
	align-self: flex-start; font-size: 13px; font-weight: 700; color: #d95d00;
	background: var(--orange-soft); padding: 4px 12px; border-radius: 999px;
}
.svc-note { text-align: center; margin: 26px 0 0; font-size: 13.5px; color: var(--muted); }

/* 服务优势 */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feat {
	display: flex; gap: 16px; align-items: flex-start; background: var(--bg);
	border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ic {
	width: 48px; height: 48px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
	background: var(--blue-soft); color: var(--blue);
}
.feat-ic .icon { width: 23px; height: 23px; }
.feat h3 { font-size: 16.5px; margin: 2px 0 6px; }
.feat p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.75; }

/* 维修流程(真实顺序,使用数字) */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps::before {
	content: ""; position: absolute; top: 27px; left: 7%; right: 7%;
	border-top: 2px dashed #bfd3ef; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step-n {
	width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
	font-size: 21px; font-weight: 800; box-shadow: 0 8px 18px rgba(20, 101, 224, 0.35);
	border: 4px solid var(--bg); margin-bottom: 14px;
}
.section-alt .step-n { border-color: #fff; }
.step h3 { font-size: 15.5px; margin: 0 0 6px; }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* 收费标准 */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.price-table th, .price-table td { padding: 15px 22px; text-align: left; }
.price-table thead th { background: var(--blue-dark); color: #fff; font-size: 14px; letter-spacing: 1px; }
.price-table tbody tr { border-top: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: #f8fafd; }
.pt-name { font-weight: 700; }
.pt-price { color: var(--orange-2); font-weight: 800; white-space: nowrap; }
.pt-note { color: var(--muted); font-size: 13.5px; }
.price-remark {
	display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 16px 22px;
	background: var(--orange-soft); color: #a04a00; font-size: 13.5px; line-height: 1.7;
}
.price-remark .icon { margin-top: 3px; }

/* 服务区域 */
.areas-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto 26px; padding: 0; list-style: none; }
.areas-chips li {
	display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
	transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.areas-chips li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.areas-chips .icon { width: 15px; height: 15px; color: var(--orange); }
.areas-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); text-align: center; flex-wrap: wrap; }
.areas-note .icon { color: var(--blue); }

/* 客户评价 */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.t-card {
	margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
	padding: 26px; display: flex; flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars .icon { width: 17px; height: 17px; fill: #f6a609; stroke: #f6a609; }
.t-card blockquote { margin: 0 0 20px; font-size: 14px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-ava {
	width: 44px; height: 44px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; font-weight: 800; font-size: 17px;
}
.t-card figcaption strong { display: block; font-size: 14.5px; }
.t-card figcaption small { display: block; font-size: 12.5px; color: var(--muted); }

/* 常见问题 */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; border: 0; background: none; cursor: pointer; text-align: left;
	font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.faq-q .icon { color: var(--muted); transition: transform 0.28s ease; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { margin: 0; padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* 预约 CTA */
.cta-sec { padding-top: 0; }
.cta-box {
	position: relative; overflow: hidden; border-radius: 26px; text-align: center;
	padding: 62px 32px 54px; color: #fff;
	background: linear-gradient(135deg, #0b2c56 0%, #123e83 55%, #1465e0 100%);
	box-shadow: var(--shadow-lg);
}
.cta-box::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
	background-size: 24px 24px; opacity: 0.5;
	-webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
	mask-image: linear-gradient(200deg, #000, transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; margin: 0 0 12px; }
.cta-box p { color: rgba(255, 255, 255, 0.85); font-size: 16px; margin: 0 0 30px; }
.cta-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.cta-act .btn-primary { font-size: 19px; }
.cta-hours { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255, 255, 255, 0.75) !important; margin: 0 !important; }

/* 首页知识区块 */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card {
	background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	display: flex; flex-direction: column; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--blue-soft), #dbe9fd); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.news-ph .icon { width: 42px; height: 42px; opacity: 0.6; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 16px; margin: 0 0 10px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--blue); }
.news-more { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.news-more .icon { width: 15px; height: 15px; transition: transform 0.18s ease; }
.news-card:hover .news-more .icon { transform: translateX(3px); }

/* ============================================================
   6. 内页 / 博客
   ============================================================ */
.page-hero { background: linear-gradient(135deg, #0b2c56, #14509e); color: #fff; padding: 60px 0 54px; }
.page-hero .kicker { color: #8fb5f2; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 0 0 8px; }
.ph-sub, .page-hero p { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 15px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); margin-top: 14px; }
.entry-meta span, .entry-meta a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.entry-meta a:hover { color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 56px; padding-bottom: 88px; align-items: start; }
.layout-main { min-width: 0; }
.layout-full { padding-top: 56px; padding-bottom: 88px; }

/* 文章卡片 */
.post-card {
	display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	margin-bottom: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-thumb { display: block; min-height: 190px; background: linear-gradient(135deg, var(--blue-soft), #dbe9fd); position: relative; }
.pc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.pc-ph .icon { width: 40px; height: 40px; opacity: 0.6; }
.pc-body { padding: 24px 26px; display: flex; flex-direction: column; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.pc-meta span, .pc-meta a { display: inline-flex; align-items: center; gap: 5px; }
.pc-meta a { color: var(--blue); font-weight: 600; }
.pc-title { font-size: 19px; margin: 0 0 10px; }
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--blue); }
.pc-ex { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.8; }
.pc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; }
.pc-more .icon { width: 15px; height: 15px; }

/* 正文排版 */
.entry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 40px 44px; }
.entry-content { font-size: 15.5px; line-height: 1.95; color: #2b3c52; }
.entry-content > * { margin-top: 0; }
.entry-content h2 { font-size: 24px; margin: 1.6em 0 0.7em; padding-left: 14px; border-left: 4px solid var(--orange); }
.entry-content h3 { font-size: 19px; margin: 1.5em 0 0.6em; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content img { border-radius: 12px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
	margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--blue);
	background: var(--blue-soft); border-radius: 0 12px 12px 0; color: var(--ink-2);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code { background: #eef2f8; padding: 2px 7px; border-radius: 6px; font-size: 0.9em; }
.entry-content pre { background: #0e2540; color: #dbe7f5; padding: 20px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg); }
.entry-content li { margin-bottom: 0.4em; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-tags a { font-size: 12.5px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; color: var(--ink-2); }
.entry-tags a:hover { border-color: var(--blue); color: var(--blue); }

/* WP 对齐 / 图注 / 置顶 */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky .pc-title::after { content: "置顶"; font-size: 11px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: 3px; }
.bypostauthor { display: block; }

/* 上一篇 / 下一篇 */
.post-navigation { margin-top: 26px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-navigation a {
	display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 15px 18px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.post-navigation a:hover { border-color: var(--blue); color: var(--blue); }
.post-navigation .nav-next { text-align: right; }
.post-navigation span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }

/* 分页 */
.pagination, .navigation.pagination { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
	padding: 0 13px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
	font-size: 14px; font-weight: 700; color: var(--ink-2);
}
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-numbers.dots { border: 0; background: none; }

/* 侧边栏 */
.layout-side { display: grid; gap: 22px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.widget-title, .widget .wp-block-heading { font-size: 15.5px; font-weight: 800; margin: 0 0 16px; padding-left: 11px; border-left: 4px solid var(--orange); line-height: 1.3; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ink-2); }
.widget a:hover { color: var(--blue); }
.widget-cta { background: linear-gradient(150deg, #0b2c56, #14509e); border: 0; color: #fff; text-align: center; }
.widget-cta h3 { color: #fff; font-size: 18px; margin: 0 0 6px; }
.widget-cta p { color: rgba(255, 255, 255, 0.8); font-size: 13px; margin: 0 0 18px; }
.widget-cta .btn { margin-bottom: 10px; }
.widget-cta .btn:last-child { margin-bottom: 0; }

/* 搜索框 */
.search-form { display: flex; gap: 0; }
.search-form .search-field {
	flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-right: 0;
	border-radius: 12px 0 0 12px; font: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
.search-form .search-field:focus { outline: none; border-color: var(--blue); }
.search-form .search-submit {
	display: inline-flex; align-items: center; justify-content: center; padding: 0 16px;
	border: 0; border-radius: 0 12px 12px 0; background: var(--blue); color: #fff; cursor: pointer;
}
.search-form .search-submit:hover { background: var(--blue-2); }

/* 留言 */
.comments-area { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 36px; }
.comments-title, .comment-reply-title { font-size: 19px; margin: 0 0 20px; }
.comment-list { list-style: none; margin: 0 0 10px; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; margin: 14px 0 0; padding-left: 28px; border-left: 2px solid var(--line); }
.comment-list .children .comment { border-bottom: 0; padding: 12px 0 0; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 12px; margin: 4px 0 8px; }
.comment-metadata a { color: var(--muted); }
.comment-content { font-size: 14px; color: var(--ink-2); }
.comment-content p { margin: 0 0 0.6em; }
.reply a { font-size: 12.5px; font-weight: 700; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
	font: inherit; font-size: 14px; background: var(--bg); color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.comment-form p { margin: 0 0 16px; }
.comment-form .submit {
	display: inline-flex; padding: 12px 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; font: inherit; font-size: 15px; font-weight: 700;
}
.comment-form .submit:hover { box-shadow: 0 10px 22px rgba(255, 122, 26, 0.35); }
.no-comments { color: var(--muted); font-size: 14px; }

/* 404 / 无结果 */
.big-404 { font-size: clamp(80px, 14vw, 140px); font-weight: 800; line-height: 1; color: var(--blue-soft); text-align: center; margin: 0; -webkit-text-stroke: 2px var(--blue); }
.none-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 44px 36px; text-align: center; }
.none-card h2, .none-card h1 { font-size: 22px; margin: 0 0 10px; }
.none-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.none-card .search-form { max-width: 420px; margin: 0 auto 22px; }
.none-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ============================================================
   7. 页脚
   ============================================================ */
.site-footer { background: #0a1e39; color: rgba(255, 255, 255, 0.72); font-size: 14px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr; gap: 40px; padding: 62px 0 46px; }
.footer-grid h3 { color: #fff; font-size: 15.5px; margin: 0 0 18px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.55); }
.footer-about { margin: 16px 0 0; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.62); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(255, 255, 255, 0.72); display: inline-flex; align-items: center; gap: 7px; }
.footer-list a:hover { color: #ffb347; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { margin-top: 4px; color: #ffb347; }
.footer-phone { font-size: 21px; font-weight: 800; color: #ffb347 !important; letter-spacing: 0.5px; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: #ffb347; }
.footer-wx-btn { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, 0.85); font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.footer-wx-btn:hover { color: #ffb347; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-beian { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: #ffb347; }

/* ============================================================
   8. 悬浮工具 / 移动端底部条 / 微信弹窗
   ============================================================ */
.float-tools { position: fixed; right: 22px; bottom: 110px; z-index: 55; display: flex; flex-direction: column; gap: 12px; }
.float-tools a, .float-tools button {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
	background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; box-shadow: var(--shadow); transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.float-tools a:hover, .float-tools button:hover { transform: translateY(-3px); color: #fff; background: var(--orange); border-color: var(--orange); }
.float-tools .ft-wx:hover { background: var(--green-wx); border-color: var(--green-wx); }
.backtop { opacity: 0; visibility: hidden; }
.backtop.show { opacity: 1; visibility: visible; }

.m-bar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
	grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 20px rgba(15, 37, 64, 0.15);
	padding-bottom: env(safe-area-inset-bottom);
}
.m-bar a, .m-bar button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 56px; border: 0; font: inherit; font-size: 16px; font-weight: 800; color: #fff; cursor: pointer;
}
.m-call { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.m-wx { background: var(--green-wx); }

.cdr-modal {
	position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
	background: rgba(10, 30, 57, 0.62); padding: 24px; backdrop-filter: blur(3px);
}
.cdr-modal[hidden] { display: none; }
.cdr-modal-box {
	position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: 22px;
	padding: 34px 28px 30px; text-align: center; box-shadow: var(--shadow-lg);
}
.cdr-modal-box h3 { font-size: 19px; margin: 0 0 18px; }
.cdr-modal-close {
	position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
	border: 0; background: var(--bg); color: var(--muted); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.cdr-modal-close:hover { background: var(--line); color: var(--ink); }
.cdr-qr { width: 200px; height: 200px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 16px; }
.cdr-qr-tip { font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 22px 16px; margin: 0 0 16px; }
.cdr-wxid { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; }
.cdr-wxid strong { color: var(--ink); letter-spacing: 0.5px; }

/* ============================================================
   9. 动效
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   10. 响应式
   ============================================================ */
@media (max-width: 1024px) {
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
	.steps::before { display: none; }
	.t-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 70px; }
	.hero-card { max-width: 480px; }
	.layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 768px) {
	.topbar-l .hide-sm, .topbar-r .topbar-wx { display: none; }
	.header-in { min-height: 66px; gap: 12px; }
	.header-cta span { display: none; }
	.header-cta { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
	.nav-toggle { display: flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: #fff;
		border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(15, 37, 64, 0.12);
		display: none; padding: 10px 18px 16px;
	}
	.site-nav.open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav .menu a { padding: 13px 12px; border-radius: 10px; font-size: 15.5px; }
	.site-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.section { padding: 60px 0; }
	.sec-head { margin-bottom: 36px; }
	.hero h1 { letter-spacing: 0; }
	.hero-act .btn { flex: 1; justify-content: center; }
	.hero-badges { grid-template-columns: 1fr; }
	.entry-card { padding: 26px 22px; }
	.comments-area { padding: 24px 20px; }
	.post-card { grid-template-columns: 1fr; }
	.pc-thumb { min-height: 0; aspect-ratio: 16 / 9; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 36px; }
	.footer-bottom-in { flex-direction: column; }
	.float-tools { display: none; }
	.m-bar { display: grid; }
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.cta-box { padding: 46px 22px 42px; }
	.cta-act .btn { flex: 1; }
}

@media (max-width: 560px) {
	.svc-grid, .feat-grid, .t-grid, .news-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-in { padding-top: 46px; padding-bottom: 56px; }
	.hc-phone strong { font-size: 23px; }
	.topbar-in { justify-content: center; }
	.topbar-l span:first-child { display: none; }
}
