/* =========================================================
   湖北耕耘农机官网 - 主样式
   设计定位：农机工业感 + 科技蓝 + 简洁易浏览
   ========================================================= */

:root {
  --primary: #0b2c4d;
  --primary-deep: #071e36;
  --primary-soft: #123a63;
  --accent: #0a84ff;
  --accent-deep: #0067d6;
  --green: #0fa968;
  --amber: #f59e0b;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #16233b;
  --text-2: #5b6b84;
  --text-3: #8a97ab;
  --border: #e5eaf2;
  --border-2: #d5dce8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(11, 44, 77, 0.06);
  --shadow-lg: 0 10px 30px rgba(11, 44, 77, 0.10);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- 顶部栏 ---------- */
.topbar {
  background: var(--primary-deep);
  color: #b9c6d6;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; white-space: nowrap; }
.topbar .container > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar a { color: #dce5ef; }
.topbar a:hover { color: #fff; }
.topbar .tel { color: var(--accent); font-weight: 600; flex-shrink: 0; padding-left: 10px; }

/* ---------- 头部 + 导航 ---------- */
.header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.header .container { display: flex; align-items: center; height: 68px; }
.logo { flex-shrink: 0; }
.logo a { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo img { height: 40px; width: auto; }
.logo .logo-text small { display: block; font-size: 11px; font-weight: 400; color: #9fb3c8; letter-spacing: 2px; }
.nav { margin-left: auto; }
.nav ul { display: flex; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 0 20px; line-height: 68px; color: #e6edf5; font-size: 15px;
  transition: color .2s;
}
.nav > ul > li > a:hover, .nav > ul > li.active > a { color: #fff; }
.nav > ul > li.active > a { background: linear-gradient(180deg, transparent 92%, var(--accent) 92%); }
.dropdown-box {
  position: absolute; left: 50%; transform: translateX(-50%); top: 68px; min-width: 150px;
  background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: .2s; overflow: hidden; padding: 8px 0;
}
.nav > ul > li:hover .dropdown-box { opacity: 1; visibility: visible; }
.dropdown-box a { display: block; padding: 9px 20px; color: var(--text); font-size: 14px; white-space: nowrap; }
.dropdown-box a:hover { background: #f0f6ff; color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: #eef2f8; border-bottom: 1px solid var(--border); }
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 46px; padding: 10px 20px; font-size: 13px; color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-3); }
.breadcrumb .container a, .breadcrumb .container .sep { white-space: nowrap; flex-shrink: 0; }
.breadcrumb .container > :last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---------- 首页 hero ---------- */
.hero { position: relative; background: var(--primary-deep); color: #fff; overflow: hidden; }
.hero .hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 30, 54, 0.96) 0%, rgba(11, 44, 77, 0.84) 45%, rgba(18, 58, 99, 0.55) 100%);
}
.hero .hero-grid { position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero .container { position: relative; padding: 90px 20px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.25; font-weight: 700; letter-spacing: 1px; }
.hero h1 .hl { color: var(--accent); }
.hero .sub { margin-top: 18px; font-size: 17px; color: #c3d2e2; max-width: 520px; }
.hero .hero-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .hero-tags span {
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; font-size: 13px; color: #dbe6f2;
}
.hero .hero-cta { margin-top: 30px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero .hero-cta .phone { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.hero .hero-cta .phone small { display: block; font-size: 12px; color: #9fb3c8; font-weight: 400; }
.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); }
.hero-panel .num { font-size: 34px; font-weight: 700; color: var(--accent); }
.hero-panel .label { color: #b9c6d6; font-size: 13px; margin-top: 2px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: .2s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0b8b57; }
.btn-lg { padding: 14px 34px; font-size: 16px; }

/* ---------- 区块 ---------- */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; font-weight: 700; letter-spacing: 1px; }
.section-head h2 .en { display: block; font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.section-head p { color: var(--text-2); margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head .line { width: 44px; height: 3px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column; position: relative;
}
.product-card .card-link::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c8dcf5; }
.product-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eef2f8; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .thumb .tag {
  position: absolute; left: 12px; top: 12px; background: var(--accent); color: #fff;
  font-size: 12px; padding: 3px 10px; border-radius: 4px;
}
.product-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card .body h3 { font-size: 16px; font-weight: 600; line-height: 1.45; }
.product-card .body h3 a:hover { color: var(--accent); }
.product-card .body .desc {
  margin-top: 8px; font-size: 13px; color: var(--text-2); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .body .meta { margin-top: 14px; display: flex; gap: 8px; }
.product-card .body .meta a { flex: 1; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--border); align-items: center;
}
.news-item:last-child { border-bottom: 0; }
.news-item .thumb { width: 180px; height: 110px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: #eef2f8; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .info { flex: 1; min-width: 0; }
.news-item .info h3 { font-size: 16px; font-weight: 600; }
.news-item .info h3 a:hover { color: var(--accent); }
.news-item .info p { font-size: 13px; color: var(--text-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .date { color: var(--text-3); font-size: 13px; flex-shrink: 0; text-align: right; }
.news-item .date .d { display: block; font-size: 22px; font-weight: 700; color: var(--primary); }

/* ---------- 相关新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8dcf5; }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #eef2f8; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 14px; }
.news-card .body h4 { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.news-card .body .date { display: block; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.news-card .card-link::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }

/* ---------- 现场作业 ---------- */
.site-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.site-item { position: relative; border-radius: var(--radius); overflow: hidden; background: #eef2f8; aspect-ratio: 16/10; }
.site-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.site-item:hover img { transform: scale(1.05); }
.site-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(7, 30, 54, 0.75));
  color: #fff; font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
}

/* ---------- 栏目页 ---------- */
.page-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 40px 0 60px; }
.sidebar { align-self: start; }
.sidebar .side-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.sidebar .side-title {
  background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; padding: 15px 20px;
}
.sidebar .side-menu a { display: block; padding: 12px 20px; font-size: 14px; color: var(--text); border-left: 3px solid transparent; }
.sidebar .side-menu a:hover, .sidebar .side-menu a.active { color: var(--accent); border-left-color: var(--accent); background: #f5f9ff; }
.sidebar .side-contact { padding: 20px; font-size: 13px; color: var(--text-2); line-height: 2; }
.sidebar .side-contact strong { color: var(--text); }
.main-col { min-width: 0; }
.main-col .panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.main-col .panel-head { font-size: 18px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }

/* ---------- 文章详情 ---------- */
.article-header { text-align: center; padding: 10px 0 20px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 26px; line-height: 1.4; font-weight: 700; }
.article-header .meta { margin-top: 14px; color: var(--text-3); font-size: 13px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.article-content { padding: 28px 0; font-size: 16px; line-height: 1.9; color: #2a3a52; }
.article-content p { margin-bottom: 16px; }
.article-content img { max-width: 100%; height: auto; margin: 12px auto; border-radius: var(--radius-sm); }
.article-content h2, .article-content h3 { margin: 22px 0 12px; color: var(--text); }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content iframe { max-width: 100%; width: 100%; }
.article-content video { max-width: 100%; height: auto; display: block; margin: 16px 0; background: #000; border-radius: var(--radius-sm); }
.article-content video::-webkit-media-controls-download-button { display: none; }
.pdf-tip { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #f0f6ff; border: 1px solid #cfe0f7; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.pdf-tip .pdf-tip-txt { color: #66788f; flex: 1; min-width: 180px; }
.pdf-tip a { color: var(--accent); font-weight: 600; }
.pdf-tip a:hover { text-decoration: underline; }
.article-content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.article-content table td, .article-content table th { border: 1px solid var(--border-2); padding: 10px 14px; font-size: 14px; }
.article-content table th { background: #f5f8fc; font-weight: 600; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; font-size: 14px; }
.article-nav a { color: var(--text-2); }
.article-nav a:hover { color: var(--accent); }
.article-back { margin-top: 30px; text-align: center; }
.article-back .btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.article-back .btn:hover { background: var(--accent); color: #fff; }
/* 中间点：用 CSS 画的圆点，规避字体/编码缺失导致的方框 */
.sep-dot {
  display: inline-block;
  width: .26em;
  height: .26em;
  border-radius: 50%;
  background: currentColor;
  margin: 0 .35em;
  vertical-align: middle;
}
/* 客户评价（留言卡片样式） */
.prod-reviews { margin-top: 32px; }
.prod-reviews > h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item { display: flex; gap: 12px; align-items: flex-start; background: #f7f9fc; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.rv-avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.rv-body { flex: 1; min-width: 0; }
.rv-name { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.rv-text { font-size: 15px; line-height: 1.8; color: #333; }

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #eef2f8; }
.product-gallery .main-img img { width: 100%; height: 380px; object-fit: contain; }
.product-info h1 { font-size: 26px; font-weight: 700; line-height: 1.4; }
.product-info .summary { margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.9; }
.product-info .attrs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.product-info .attrs span { background: #f0f6ff; color: var(--accent-deep); font-size: 13px; padding: 6px 14px; border-radius: 6px; }
.product-info .contact-box {
  margin-top: 22px; background: #f7fafd; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.product-info .contact-box .phone { font-size: 24px; font-weight: 700; color: var(--accent-deep); }
.product-info .contact-box .btn { margin-top: 14px; width: 100%; }
.product-tabs { margin-top: 40px; }
.product-tabs .tab-nav { display: flex; border-bottom: 2px solid var(--border); }
.product-tabs .tab-nav button {
  padding: 12px 24px; font-size: 15px; font-weight: 600; color: var(--text-2); background: none; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.product-tabs .tab-nav button.active { color: var(--accent); border-bottom-color: var(--accent); }
.product-tabs .tab-panel { padding: 24px 0; }

/* ---------- 咨询表单 ---------- */
.inquiry-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.inquiry-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.form-group label .req { color: #e24b4a; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text); background: #fbfcfe; transition: .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-msg { display: none; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 16px; line-height: 1.7; }
.form-msg.ok { display: block; background: #e8f8f0; color: #0b8b57; border: 1px solid #bce8d4; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---------- 优势卖点 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: .25s; }
.adv-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv-item .icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #eaf3ff; color: var(--accent); }
.adv-item h3 { font-size: 16px; font-weight: 600; }
.adv-item p { font-size: 13px; color: var(--text-2); margin-top: 8px; }

/* ---------- 关于我们 ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-intro .text h2 { font-size: 26px; font-weight: 700; }
.about-intro .text p { margin-top: 16px; color: var(--text-2); line-height: 1.9; }
.about-intro .img img { border-radius: var(--radius); }

/* ---------- CTA 条 ---------- */
.cta-bar { background: linear-gradient(120deg, var(--primary-deep), var(--primary)); color: #fff; position: relative; overflow: hidden; }
.cta-bar::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/site-baling-3.jpg) center 80%/cover no-repeat; opacity: .16; }
.cta-bar .container { display: flex; align-items: center; justify-content: space-between; padding: 36px 20px; flex-wrap: wrap; gap: 16px; position: relative; z-index: 1; }
.cta-bar h3 { font-size: 24px; font-weight: 700; }
.cta-bar p { color: #b9c6d6; margin-top: 6px; }
.cta-bar .phone { font-size: 28px; font-weight: 700; }
.cta-bar .cta-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }

/* ---------- 页脚 ---------- */
.footer { background: var(--primary-deep); color: #b9c6d6; }
.footer .footer-top { display: grid; grid-template-columns: 1.4fr auto 1.2fr; gap: 48px; padding: 50px 20px 40px; align-items: start; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer .about-txt { font-size: 13px; line-height: 1.9; }
.footer .footer-links a { display: block; font-size: 13px; padding: 5px 0; color: #b9c6d6; }
.footer .footer-links a:hover { color: var(--accent); }
.footer .contact-info { font-size: 13px; line-height: 2.1; }
.footer .contact-info strong { color: #fff; }
.footer .copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px; text-align: center; font-size: 12px; color: #7f92a8; }
.footer .copyright a { color: #9fb3c8; }
.footer .copyright a:hover { color: #fff; }
.footer .footer-douyin { text-align: center; }
.footer .footer-douyin img { width: 110px; height: 110px; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.footer .footer-qrs { display: flex; flex-direction: row; gap: 26px; align-items: center; }
.footer .footer-wechat { text-align: center; }
.footer .footer-wechat img { width: 110px; height: 110px; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.footer .footer-qrs p { margin-top: 10px; font-size: 14px; color: #fff; letter-spacing: 1px; }

/* ---------- 移动端固定栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 6px; font-size: 14px; color: var(--text-2); }
.pagination .cur { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 空状态 ---------- */
.empty { text-align: center; color: var(--text-3); padding: 60px 20px; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; padding: 60px 20px; }
  .footer .footer-top { grid-template-columns: 1fr 1fr; }
  .footer .footer-qrs { grid-column: 1 / -1; justify-self: center; order: 3; }
}
@media (max-width: 768px) {
  .topbar { font-size: 12px; }
  .nav { display: none; }
  .nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary); }
  .nav.open ul { flex-direction: column; }
  .nav.open > ul > li > a { line-height: 46px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open .dropdown-box { display: none; position: static; transform: none; opacity: 1; visibility: visible; background: rgba(0,0,0,.15); border-radius: 0; }
  .nav.open li.has-child.expanded .dropdown-box { display: block !important; }
  .nav.open li.has-child > a { display: flex; align-items: center; justify-content: space-between; }
  .caret { display: none; }
  .nav.open li.has-child > a .caret { display: inline-block; width: 0; height: 0; border-left: 6px solid #cdd9e6; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .2s; margin-left: 10px; }
  .nav.open li.has-child.expanded > a .caret { transform: rotate(90deg); border-left-color: #fff; }
  .nav.open .dropdown-box a { color: #dbe6f2; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .site-gallery { display: block; position: relative; aspect-ratio: 16/10; }
  .site-gallery .site-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
  .site-gallery .site-item.active { opacity: 1; }
  .page-wrap { grid-template-columns: 1fr; }
  .page-wrap .sidebar { display: none; }
  .article-content iframe { height: 70vh; }
  .product-detail { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; }
  .news-item .thumb { width: 100%; height: 160px; }
  .news-item .date { text-align: left; }
  .hero h1 { font-size: 28px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .article-header h1 { font-size: 21px; }
  .footer .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); z-index: 99; }
  .mobile-bar a { flex: 1; text-align: center; padding: 10px 4px; font-size: 12px; color: var(--text-2); }
  .mobile-bar a.tel { background: var(--accent); color: #fff; font-weight: 600; }
  body { padding-bottom: 56px; }
}

/* ---------- 产品介绍 · 分段式卖点（小米风格） ---------- */
.feat-hero { text-align: center; padding: 30px 20px 10px; }
.feat-hero .en { display: block; font-size: 12px; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.feat-hero h2 { font-size: 30px; font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.feat-hero p { color: var(--text-2); font-size: 15px; margin-top: 12px; }
.feat-block { margin-top: 40px; }
.feat-title { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.feat-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin: 12px auto 20px; }
.feat-desc { text-align: center; color: var(--text-2); font-size: 15px; line-height: 1.9; max-width: 680px; margin: 0 auto; }
.feat-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 6px; }
.feat-step { background: #f7fafd; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: .25s; }
.feat-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8dcf5; }
.feat-step .num { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; }
.feat-step .name { font-size: 16px; font-weight: 600; margin-top: 12px; }
.feat-step .desc { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.7; }
.feat-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.feat-point { background: #f7fafd; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.feat-point .num { font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.feat-point .name { font-size: 15px; font-weight: 600; margin-top: 8px; }
.feat-point .desc { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.feat-tags span { background: #f0f6ff; color: var(--accent-deep); padding: 9px 20px; border-radius: 22px; font-size: 14px; border: 1px solid #cfe0f7; }
.feat-img { margin-top: 24px; }
.feat-img img { border-radius: var(--radius); }
.feat-video { margin-top: 20px; text-align: center; }
.feat-video iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.feat-video video { max-width: 100%; width: 100%; border-radius: var(--radius); }
.feat-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.feat-params { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); margin-top: 6px; }
.feat-params.compare { min-width: 560px; }
.feat-params th { background: var(--primary); color: #fff; padding: 16px 18px; text-align: center; font-weight: 600; font-size: 15px; letter-spacing: 2px; }
.feat-params td { padding: 14px 18px; font-size: 14px; border-top: 1px solid var(--border); }
.feat-params tr:first-child td { border-top: 0; }
.feat-params td.k { background: #f7fafd; color: var(--text); font-weight: 600; width: 36%; }
.feat-params td.v { color: var(--accent-deep); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 768px) {
  .feat-hero h2 { font-size: 24px; }
  .feat-steps { grid-template-columns: 1fr; }
  .feat-points { grid-template-columns: repeat(2, 1fr); }
  .feat-params th { padding: 13px 14px; font-size: 14px; }
  .feat-params td { padding: 11px 12px; font-size: 13px; }
  .section-head h2 { font-size: 24px; }
  .product-info h1 { font-size: 22px; }
  .product-gallery .main-img img { height: 240px; }
  .cta-bar h3 { font-size: 20px; }
  .cta-bar .phone { font-size: 24px; }
  .hero-panel .num { font-size: 28px; }
  .article-content { overflow-wrap: break-word; word-break: break-word; }
  .article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 返回顶部（半隐藏小箭头，滚动后显示） ---------- */
.back-top {
  position: fixed; right: 16px; bottom: 88px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(22, 86, 153, .82); border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; z-index: 88;
  display: none; opacity: .45; transition: opacity .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.back-top:hover { opacity: 1; }
.back-top::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; margin-left: -5px; margin-top: -9px;
  border-top: 2px solid #fff; border-left: 2px solid #fff;
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .back-top { right: 12px; bottom: 72px; }
}

/* 彻底隐藏视频下载按钮（WebKit 兜底，配合 <video controlslist="nodownload">） */
.feat-video video::-webkit-media-controls-download-button { display: none; }
.feat-video video::-webkit-media-controls-enclosure { overflow: hidden; }

/* ================= 404 页面 ================= */
.not-found {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: #f3f6f9;
}
.not-found-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/site-baling-2.jpg') center center / cover no-repeat;
  opacity: 0.22;
  z-index: 0;
}
.not-found-inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px;
  max-width: 640px;
}
.not-found-code {
  font-size: 132px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: 6px;
  text-shadow: 0 3px 10px rgba(255, 255, 255, 0.65);
}
.not-found-title {
  font-size: 26px;
  margin: 18px 0 12px;
  color: #222;
  font-weight: 700;
}
.not-found-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 28px;
}
.not-found .btn-home {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}
.not-found .btn-home:hover { background: var(--primary-dark, #a93226); }
@media (max-width: 768px) {
  .not-found { min-height: 56vh; }
  .not-found-code { font-size: 88px; }
  .not-found-title { font-size: 21px; }
  .not-found-desc { font-size: 14px; }
}
