/* ============================================================
   汉诺自动化 · 企业官网模板  assets/css/main.css
   配色：品牌蓝系（取自 WinNer 汉诺 logo）+ 钢青深色 + 中性灰
   ============================================================ */

:root {
  --navy-950: #0a1f33;
  --navy-900: #0e2c46;
  --navy-800: #143b5c;
  --blue: #1f6fb2;
  --blue-bright: #2b9fe0;
  --blue-ghost: #e8f2fa;
  --ink: #1a2733;
  --muted: #5d6e7c;
  --line: #e4ebf1;
  --paper: #f5f8fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(14, 44, 70, 0.08);
  --shadow-md: 0 10px 30px rgba(14, 44, 70, 0.12);
  --radius: 10px;
  --wrap: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; flex-wrap: wrap; }
.topbar-name { display: flex; flex-direction: column; line-height: 1.35; }
.topbar-name b { color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.topbar-name span { font-size: 11px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.04em; }
.topbar-tel { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-tel svg { width: 15px; height: 15px; fill: var(--blue-bright); flex: none; }
.topbar-tel b { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }

/* ---------- 主导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand img { height: 54px; width: auto; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 16px; font-size: 15.5px; color: var(--ink); border-radius: 6px; position: relative; transition: color 0.2s; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--blue-bright); transform: scaleX(0); transition: transform 0.25s; border-radius: 2px; }
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--blue); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- 首屏轮播（旧站原版轮播图 · Swiper） ---------- */
.hero-carousel { background: var(--navy-950); }
.hero-carousel .swiper { height: clamp(200px, 28.4vw, 545px); }
.hero-carousel .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.45); opacity: 1; transition: background 0.25s, transform 0.25s; }
.hero-carousel .swiper-pagination-bullet-active { background: #fff; transform: scale(1.15); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 30px; font-size: 15px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; transition: all 0.22s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- 区块通用 ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--paper); }
.section-head { margin-bottom: 42px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: 0.04em; }
.section-head .bar { width: 46px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin-top: 14px; }
.more-link { font-size: 14.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.more-link:hover { color: var(--blue-bright); }

/* ---------- 关于三卡 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.about-card h3 { font-size: 20px; font-weight: 700; color: var(--navy-800); letter-spacing: 0.05em; margin-bottom: 16px; }
.about-card h3::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--blue-bright); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.about-card p { font-size: 14.5px; color: var(--muted); text-align: justify; flex: 1; }
.about-card .card-link { margin-top: 22px; font-size: 14px; color: var(--blue); font-weight: 600; }
.about-card .card-link:hover { color: var(--blue-bright); }
.about-card-media { margin: 4px 0 18px; border-radius: 8px; overflow: hidden; }

/* ---------- 设备图墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery figure { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.gallery figure:hover { border-color: var(--blue-bright); box-shadow: var(--shadow-sm); }
.gallery .ph { display: block; overflow: hidden; aspect-ratio: 1 / 0.9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 10px 8px; font-size: 13px; font-weight: 500; text-align: center; color: var(--ink); border-top: 1px solid var(--line); }

/* ---------- 产品 ---------- */
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.topic-pills a { padding: 8px 18px; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: all 0.2s; }
.topic-pills a:hover { color: var(--blue); border-color: var(--blue-bright); background: var(--blue-ghost); }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-bright); }
.product-thumb { aspect-ratio: 1 / 0.82; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-name { padding: 13px 16px 15px; font-size: 14.5px; font-weight: 600; text-align: center; color: var(--ink); border-top: 1px solid var(--line); }

/* ---------- 工程案例（深底） ---------- */
.section-cases { background: var(--navy-900); color: #fff; }
.section-cases .section-head h2 { color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: background 0.25s, transform 0.25s; }
.case-card:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); }
.case-thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-meta { padding: 16px 18px 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.case-meta b { font-size: 16px; font-weight: 600; }
.case-meta i { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.case-more { padding: 10px 18px 18px; font-size: 13.5px; color: var(--blue-bright); }
.section-cases .more-link { color: var(--blue-bright); }

/* ---------- 视频墙 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-grid video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--navy-950); border-radius: var(--radius); display: block; }

/* ---------- 引导留言（系统表单 · 页脚上方卡片） ---------- */
.lead-panel { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #fff; border-radius: 16px; padding: 46px 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 50px; align-items: center; box-shadow: var(--shadow-md); }
.lead-panel::before { content: ""; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 159, 224, 0.16) 0%, transparent 68%); pointer-events: none; }
.lead-copy { position: relative; }
.lead-copy h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: 0.04em; }
.lead-bar { width: 46px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin: 14px 0 18px; }
.lead-copy p { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.lead-contact { margin-top: 20px; }
.lead-contact li { margin-bottom: 9px; font-size: 14.5px; color: rgba(255, 255, 255, 0.78); }
.lead-contact b { color: rgba(255, 255, 255, 0.5); font-weight: 400; margin-right: 8px; }
.lead-contact a { color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.lead-card { position: relative; min-width: 0; background: #fff; border-radius: 12px; padding: 26px 28px; box-shadow: var(--shadow-md); color: var(--ink); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-loading { grid-column: 1 / -1; font-size: 14px; color: var(--muted); text-align: center; padding: 20px 0; }
.lead-err { grid-column: 1 / -1; font-size: 14px; color: #d03050; text-align: center; padding: 20px 0; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; min-width: 0; }
.lead-field { margin-bottom: 0; min-width: 0; }
.lead-field--full { grid-column: 1 / -1; }
.lead-field--area { grid-column: 1 / -1; }
.lead-field input, .lead-field textarea { width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; outline: none; transition: border-color 0.2s, background 0.2s; }
.lead-field input:focus, .lead-field textarea:focus { border-color: var(--blue-bright); background: #fff; }
.lead-field textarea { min-height: 68px; resize: vertical; }
.lead-help { display: none; }
.lead-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; min-width: 0; margin-top: 12px; }
.lead-captcha-row { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.lead-captcha-img { display: block; flex: none; width: 116px; height: 38px; overflow: hidden; border-radius: 4px; background: var(--paper); }
.lead-captcha-img svg { display: block; width: 116px; height: 38px; border-radius: 4px; }
.lead-captcha-refresh { flex: none; height: 38px; padding: 0 2px; font-size: 13px; color: var(--blue); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.lead-captcha-refresh:hover { color: var(--blue-bright); }
.lead-captcha-input { flex: 0 1 130px; min-width: 92px; height: 38px; box-sizing: border-box; padding: 0 12px; font-size: 14px; font-family: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; outline: none; transition: border-color 0.2s, background 0.2s; }
.lead-captcha-input:focus { border-color: var(--blue-bright); background: #fff; }
.lead-submit { flex: none; height: 38px; padding: 0 30px; font-size: 15px; font-weight: 600; line-height: 1; color: #fff; background: var(--blue); border: 0; border-radius: 6px; cursor: pointer; transition: background 0.22s; white-space: nowrap; }
.lead-submit:hover { background: var(--blue-bright); }
.lead-submit:disabled { background: #9db8cd; cursor: not-allowed; }
.lead-msg { grid-column: 1 / -1; font-size: 13.5px; text-align: right; min-height: 18px; margin-top: 8px; }
.lead-msg.err { color: #d03050; }
.lead-msg.ok { color: #18a058; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-block: 58px 46px; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-brand b { display: block; color: #fff; font-size: 17px; margin-bottom: 10px; letter-spacing: 0.03em; }
.footer-brand p { line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15.5px; letter-spacing: 0.06em; margin-bottom: 18px; font-weight: 600; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a:hover { color: #fff; }
.footer-contact li { margin-bottom: 10px; line-height: 1.7; }
.footer-contact b { color: rgba(255, 255, 255, 0.55); font-weight: 400; margin-right: 6px; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bar .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 22px; min-height: 52px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.footer-bar a { color: rgba(255, 255, 255, 0.55); }
.footer-bar a:hover { color: #fff; }
.footer-bar .powered-by a { color: inherit; }

/* ==================== 内页：页头 / 面包屑 ==================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs i { font-style: normal; opacity: 0.6; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue); }
.page-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy-950) 0%, var(--navy-800) 100%); color: #fff; padding: 58px 0 52px; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 159, 224, 0.18) 0%, transparent 68%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: 0.05em; line-height: 1.3; }
.page-hero p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.72); max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; opacity: 0.55; }
.hero-line-sm { width: 46px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin-top: 16px; }

/* ==================== 内页：列表布局 ==================== */
.list-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; align-items: start; }
.side-nav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav h3 { padding: 15px 20px; font-size: 15px; font-weight: 700; color: #fff; background: var(--navy-900); letter-spacing: 0.05em; }
.side-nav a { display: block; padding: 12px 20px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); transition: background 0.2s, color 0.2s, padding-left 0.2s; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { background: var(--blue-ghost); color: var(--blue); padding-left: 26px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13.5px; color: var(--muted); }

/* 产品网格（列表页复用首页样式） */
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 案例卡片：浅底版本 */
.case-grid.light .case-card { background: #fff; border-color: var(--line); }
.case-grid.light .case-card:hover { background: #fff; border-color: var(--blue-bright); box-shadow: var(--shadow-md); }
.case-grid.light .case-meta b { color: var(--ink); }
.case-grid.light .case-meta i { color: var(--muted); }
.case-grid.light .case-more { color: var(--blue); }

/* 文章列表 */
.article-list { border-top: 1px solid var(--line); }
.article-item { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.article-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--paper); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-item:hover .article-thumb img { transform: scale(1.04); }
.article-body h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; transition: color 0.2s; }
.article-item:hover .article-body h3 { color: var(--blue); }
.article-body p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.article-meta .chip { padding: 2px 10px; border-radius: 999px; background: var(--blue-ghost); color: var(--blue); font-size: 12.5px; }

/* ==================== 详情页 ==================== */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.detail-head h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.4; letter-spacing: 0.02em; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; padding-bottom: 20px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.detail-meta .chip { padding: 3px 12px; border-radius: 999px; background: var(--blue-ghost); color: var(--blue); font-size: 12.5px; }
.detail-cover { margin: 24px 0; border-radius: 10px; overflow: hidden; background: var(--paper); }
.detail-cover img { width: 100%; max-height: 460px; object-fit: contain; background: #fff; }
.prose { font-size: 15.5px; line-height: 1.9; color: #33455a; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 21px; font-weight: 700; color: var(--ink); margin-top: 34px; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 26px; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose video { display: block; width: 100%; height: auto; border-radius: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--paper); }
.prose blockquote { margin: 0; padding: 14px 18px; border-left: 3px solid var(--blue-bright); background: var(--paper); color: var(--muted); }
.prose figure.hly-map { max-width: 100%; margin: 22px 0; }
.detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.detail-gallery a { display: block; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.detail-gallery img { width: 100%; height: 100%; object-fit: contain; }

.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-box + .side-box { margin-top: 22px; }
.side-box h3 { padding: 14px 20px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.side-box .bd { padding: 18px 20px; }
.side-box .bd p { font-size: 14px; color: var(--muted); }
.side-contact li { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.side-contact li b { font-weight: 400; color: #8b9aa8; flex: none; }
.side-contact li span, .side-contact li a { color: var(--ink); }

/* ==================== 分页 / 空态 ==================== */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 42px; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.pager a:hover { border-color: var(--blue-bright); color: var(--blue); }
.pager .is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .is-disabled { color: #b9c5cf; }
.empty { padding: 64px 0; text-align: center; color: var(--muted); font-size: 15px; }
.article-list:has(.result-item) + .empty { display: none; }

/* ==================== 关于 / 联系 ==================== */
.about-block + .about-block { margin-top: 56px; }
.about-block h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: 0.04em; }
.about-block .bar { width: 46px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin: 14px 0 22px; }
.about-block p { font-size: 15.5px; line-height: 1.95; color: #33455a; margin-bottom: 14px; text-align: justify; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.about-cards .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; }
.about-cards .card h4 { font-size: 16px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.about-cards .card p { font-size: 14.5px; margin: 0; }
.about-media { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.contact-info h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.contact-info .bar { width: 46px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin: 14px 0 22px; }
.contact-info > p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.contact-list { margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { flex: none; width: 76px; font-weight: 500; color: #8b9aa8; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.contact-form-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.map-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
figure.hly-map { max-width: 100%; margin: 0; position: relative; background: #eef3f8; }
figure.hly-map figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); }
.hly-map-hint { position: absolute; inset: 0 0 46px 0; display: flex; align-items: center; justify-content: center; font-size: 13.5px; color: #8b98a8; letter-spacing: 0.02em; }

/* ==================== 组织架构 / 团队 ==================== */
.org-root { display: flex; flex-direction: column; gap: 18px; }
.org-node { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.org-node > .hd { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.org-node > .hd b { font-size: 16px; color: var(--navy-800); }
.org-node > .hd span { font-size: 13px; color: var(--muted); }
.org-members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 16px 20px; }
.member-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 10px; border: 1px solid var(--line); border-radius: 8px; transition: border-color 0.2s, box-shadow 0.2s; }
.member-card:hover { border-color: var(--blue-bright); box-shadow: var(--shadow-sm); }
.member-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--paper); margin-bottom: 10px; }
.member-card b { font-size: 14.5px; }
.member-card span { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.org-children { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==================== 搜索 / 404 / MCP ==================== */
.search-form { display: flex; gap: 10px; max-width: 620px; margin-top: 18px; }
.search-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; outline: none; }
.search-form input:focus { border-color: var(--blue-bright); }
.search-form button { flex: none; height: 46px; padding: 0 30px; font-size: 15px; font-weight: 600; color: #fff; background: var(--blue); border: 0; border-radius: 6px; cursor: pointer; }
.search-form button:hover { background: var(--blue-bright); }
.result-item { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result-item .thumb { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--paper); }
.result-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.result-item h3 a:hover { color: var(--blue); }
.result-item p { font-size: 14px; color: var(--muted); }
.result-item .kind { display: inline-block; margin-right: 10px; padding: 1px 9px; font-size: 12px; border-radius: 999px; background: var(--blue-ghost); color: var(--blue); }
.err-code { font-size: clamp(72px, 14vw, 128px); font-weight: 700; line-height: 1; letter-spacing: 0.02em; color: var(--navy-900); opacity: 0.12; }
.mcp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mcp-table th, .mcp-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.mcp-table th { background: var(--paper); font-weight: 600; color: var(--ink); }
.mcp-table td code { padding: 2px 8px; border-radius: 4px; background: var(--blue-ghost); color: var(--navy-800); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 38px 34px; }
  .list-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
  .side-nav h3 { display: none; }
  .side-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; }
  .side-nav a:hover { padding-left: 16px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .org-members, .member-grid { grid-template-columns: repeat(3, 1fr); }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; }
  body.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { padding: 13px 28px; }
  .main-nav a::after { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .topbar .wrap { min-height: 36px; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero-carousel .swiper { height: clamp(150px, 42vw, 300px); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 36px; }
  .page-hero { padding: 40px 0 36px; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .article-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .article-thumb { aspect-ratio: 16 / 9; }
  .result-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .result-item .thumb { aspect-ratio: 16 / 9; }
  .detail-gallery { grid-template-columns: repeat(3, 1fr); }
  .about-cards { grid-template-columns: 1fr; }
  .org-members, .member-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-card { padding: 22px 18px; }
  .search-form { flex-wrap: nowrap; }
  .search-form button { padding: 0 18px; }
  .lead-panel { padding: 26px 16px; border-radius: 12px; }
  .lead-card { padding: 20px 16px; }
  .lead-fields { grid-template-columns: 1fr; gap: 12px; }
  .lead-captcha-row { gap: 8px; }
  .lead-bottom { flex-direction: column; align-items: stretch; }
  .lead-captcha-row { flex: 0 0 auto; }
  .lead-submit { width: 100%; }
  .lead-msg { text-align: center; }
  .topbar-name span { display: none; }
  .btn { padding: 11px 24px; }
}
