/* 乌鲁木齐开锁换锁 · 自适应官网样式 */
:root {
  --c-main: #333333;
  --c-red: #c82423;
  --c-red-dark: #a51d1c;
  --c-light: #ffffff;
  --c-gray: #f6f7f9;
  --c-text: #444;
  --c-muted: #777;
  --c-border: #e8e8e8;
  --shadow: 0 4px 18px rgba(0, 0, 0, .08);
  --radius: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--c-text);
  background: #fff;
}
a { color: var(--c-main); text-decoration: none; transition: .2s; }
a:hover { color: var(--c-red); }
img { max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部通栏 */
.topbar {
  background: var(--c-main);
  color: #bbb;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar strong { color: #fff; margin-left: 6px; }

/* 头部 */
.site-header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 68px; min-height: 68px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 48px; height: 48px; background: var(--c-red); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
  box-shadow: 0 2px 6px rgba(200,36,35,.25);
  flex-shrink: 0;
}
.logo-icon svg { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b.brand-shunda { color: var(--c-main); font-size: 26px; font-weight: 900; letter-spacing: 2px; }
.logo-text i { color: var(--c-red); font-size: 12px; font-style: normal; margin-top: 2px; letter-spacing: 1px; }
@media (max-width: 600px) {
  .logo-text b.brand-shunda { font-size: 22px; letter-spacing: 1px; }
  .logo-text i { font-size: 11px; }
  .logo-icon { width: 42px; height: 42px; }
}

/* 导航 */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: 22px 14px; color: var(--c-main); font-size: 15px; font-weight: 500;
}
.main-nav > li:hover > a, .main-nav > li.active > a { color: var(--c-red); }
.main-nav li:hover .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-nav {
  position: absolute; left: 0; top: 100%; min-width: 170px; background: #fff;
  box-shadow: var(--shadow); border-top: 2px solid var(--c-red);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.sub-nav li { border-bottom: 1px solid var(--c-border); }
.sub-nav a { display: block; padding: 10px 16px; font-size: 14px; color: var(--c-text); }
.sub-nav a:hover { background: var(--c-gray); color: var(--c-red); }

/* 移动端菜单 */
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--c-main); }
.nav-wrap { display: flex; align-items: center; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px;
  background: var(--c-red); color: #fff !important; padding: 8px 16px; border-radius: var(--radius); font-weight: 600; }
.nav-phone:hover { background: var(--c-red-dark); }

/* 轮播 */
.banner { position: relative; height: 520px; overflow: hidden; }
.banner-slides { position: relative; width: 100%; height: 100%; }
.banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.banner .slide.active { opacity: 1; z-index: 1; }
.banner .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner .caption {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center; background: rgba(0,0,0,.45);
}
.banner .caption .container { color: #fff; }
.banner h2 { font-size: 42px; line-height: 1.25; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.banner p { font-size: 18px; opacity: .95; max-width: 640px; }
.banner .btn { margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  background: var(--c-red); color: #fff; border-radius: var(--radius);
  font-weight: 600; border: 0; cursor: pointer; transition: .2s;
}
.btn:hover { background: var(--c-red-dark); color: #fff; }
.btn-main { background: var(--c-main); }
.btn-main:hover { background: #000; }

/* 板块通用 */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; color: var(--c-main); margin-bottom: 10px; }
.section-title p { color: var(--c-muted); max-width: 720px; margin: 0 auto; }

/* 业务卡片 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .icon {
  width: 64px; height: 64px; margin: 0 auto 16px; background: var(--c-gray); color: var(--c-red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; line-height: 1.6; }
.service-card .more { color: var(--c-red); font-weight: 600; font-size: 13px; }

/* 业务简介 */
.about-section { background: var(--c-gray); }
.about-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.about-text h1, .about-text h2 { font-size: 28px; margin-bottom: 18px; color: var(--c-main); }
.about-text p { margin-bottom: 12px; color: var(--c-text); }
.about-text .features { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-text .features li { display: flex; align-items: center; gap: 8px; color: var(--c-muted); }
.about-text .features li::before {
  content: ""; width: 18px; height: 18px; background: var(--c-red); border-radius: 50%; flex-shrink: 0;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 360px; object-fit: cover; }

/* 服务流程 */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.process-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; position: relative;
}
.process-card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; line-height: 36px; background: var(--c-red); color: #fff;
  border-radius: 50%; font-weight: 700;
}
.process-card h4 { margin-top: 8px; font-size: 16px; }
.process-card p { font-size: 13px; color: var(--c-muted); margin-top: 6px; }

/* 预约表单 */
.booking-section { background: linear-gradient(135deg, #2a2a2e 0%, #1f1f23 100%); color: #fff; }
.booking-section .section-title h2, .booking-section .section-title p { color: #fff; }
.booking-form {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.booking-form .wide { grid-column: span 2; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: #fff; border-radius: var(--radius);
  font-size: 14px; outline: none;
}
.booking-form input::placeholder, .booking-form textarea::placeholder { color: #aaa; }
.booking-form select option { color: #333; }
.booking-form textarea { min-height: 92px; resize: vertical; }
.booking-form .btn { grid-column: span 3; justify-self: center; margin-top: 8px; }
.form-row { display: contents; }
.booking-tips { text-align: center; margin-top: 16px; font-size: 13px; color: #aaa; }

/* 服务区域 */
.area-section { background: var(--c-gray); }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-tags span {
  background: #fff; border: 1px solid var(--c-border); border-radius: 20px;
  padding: 6px 16px; font-size: 13px; color: var(--c-text);
}

/* 底部 */
.site-footer { background: #222; color: #aaa; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid .intro p { line-height: 1.8; font-size: 14px; }
.footer-grid a { color: #aaa; display: block; padding: 5px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-contact p { margin-bottom: 10px; font-size: 14px; }
.footer-contact strong { color: var(--c-red); font-size: 20px; display: block; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { display: inline; color: #aaa; }
/* 页脚友情链接（gid=2 分组，无数据时 JS 自动隐藏整块） */
.footer-flink { margin-top: 34px; padding-top: 22px; border-top: 1px solid #333; }
.footer-flink .ff-title { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-flink .ff-list { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-flink .ff-list a { color: #aaa; font-size: 13px; text-decoration: none; transition: color .18s; }
.footer-flink .ff-list a:hover { color: #fff; text-decoration: underline; }

/* 子页横幅 */
.page-banner { position: relative; height: 280px; display: flex; align-items: center; background: var(--c-main); }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-banner .container { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { font-size: 34px; margin-bottom: 10px; }
.page-banner .crumb a { color: #ddd; }
.page-banner .crumb span { color: #fff; }

/* 内容页 */
.page-main { padding: 50px 0; }
.content-wrapper { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.side-menu { background: var(--c-gray); border-radius: var(--radius); overflow: hidden; }
.side-menu h3 { background: var(--c-red); color: #fff; padding: 14px 20px; font-size: 16px; }
.side-menu li a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--c-border); color: var(--c-text); font-size: 14px; }
.side-menu li a:hover, .side-menu li.active a { background: #fff; color: var(--c-red); }
.main-content { min-width: 0; }
.main-content h1 { font-size: 26px; color: var(--c-main); margin-bottom: 18px; }
.main-content .meta { color: var(--c-muted); font-size: 13px; margin-bottom: 20px; }
.main-content .body { line-height: 1.9; }
.main-content .body p { margin-bottom: 14px; }
.main-content .body img { max-width: 100%; border-radius: var(--radius); }

/* 列表页 */
.news-list { display: grid; gap: 18px; }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.news-item:hover { box-shadow: var(--shadow); }
.news-item .thumb { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.news-item h3 { font-size: 18px; margin: 16px 16px 8px; }
.news-item p { margin: 0 16px 12px; color: var(--c-muted); font-size: 14px; line-height: 1.6; }
.news-item .read { display: inline-block; margin: 0 16px 16px; color: var(--c-red); font-size: 13px; }

/* 服务小卡片（子栏目列表） */
.subservice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subservice-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); }
.subservice-card img { width: 100%; height: 180px; object-fit: cover; }
.subservice-card .info { padding: 20px; }
.subservice-card h3 { font-size: 17px; margin-bottom: 8px; }
.subservice-card p { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin-bottom: 12px; }

/* 分页 */
.pages { margin-top: 30px; text-align: center; }
.pages a, .pages span { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid var(--c-border); border-radius: var(--radius); }
.pages a:hover, .pages span.current { background: var(--c-red); color: #fff; border-color: var(--c-red); }

/* 悬浮电话 */
.float-tel {
  position: fixed; right: 18px; bottom: 80px; z-index: 99;
  width: 54px; height: 54px; border-radius: 50%; background: var(--c-red);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; box-shadow: var(--shadow); animation: float-tel-pulse 2s infinite;
}
@keyframes float-tel-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== 移动端底部导航 ===== */
.mobile-tabbar { display: none; }
@media (max-width: 768px) {
  .mobile-tabbar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: #fff;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -2px 14px rgba(0,0,0,.09);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-tabbar a {
    flex: 1;
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    height: 54px;
    color: var(--c-muted);
    font-size: 11px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s, background-color .18s;
  }
  .mobile-tabbar a svg {
    width: 22px; height: 22px;
    fill: currentColor;
    stroke: none;
  }
  .mobile-tabbar a[data-tab] svg path { fill: currentColor; }
  /* 点击/触摸即时反馈 */
  .mobile-tabbar a[data-tab]:active,
  .mobile-tabbar a[data-tab].is-pressed { background: rgba(200,36,35,.10); }
  /* 当前页高亮 */
  .mobile-tabbar a.active { color: var(--c-red); font-weight: 600; background: rgba(200,36,35,.08); }
  .mobile-tabbar a.active::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 28px; height: 2px; border-radius: 0 0 2px 2px; background: var(--c-red);
  }
  .mobile-tabbar a.active svg { transform: translateY(-1px); }

  /* 中间「一键呼叫」凸起按钮 */
  .mobile-tabbar a.tab-call { position: relative; color: var(--c-red); }
  .mobile-tabbar .call-circle {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--c-red), #8a1816);
    display: flex; align-items: center; justify-content: center;
    margin-top: -18px;
    box-shadow: 0 4px 10px rgba(200,36,35,.35);
    animation: call-pulse 2s infinite;
  }
  .mobile-tabbar .call-circle svg { width: 22px; height: 22px; fill: #fff; }
  .mobile-tabbar a.tab-call span:last-child { margin-top: 2px; font-size: 11px; }
  @keyframes call-pulse {
    0%,100% { box-shadow: 0 4px 10px rgba(200,36,35,.35); }
    50% { box-shadow: 0 4px 18px rgba(200,36,35,.6); }
  }

  /* 给页面底部留出导航高度，避免内容被遮挡 */
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
  /* 已有悬浮电话按钮与底部导航重复，移动端隐藏 */
  .float-tel { display: none !important; }
}

/* 表单提交成功提示 */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.alert-success { background: #e8f7ed; color: #237b37; }
.alert-danger { background: #fcecec; color: #a51d1c; }

/* 响应式 */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-wrapper { grid-template-columns: 1fr; }
  /* 单列时：正文在上，侧边栏沉到正文下方 */
  .content-wrapper .main-content { order: 1; }
  .content-wrapper .side-bar { order: 2; }
}
@media (max-width: 768px) {
  .topbar .container { justify-content: center; }
  .menu-toggle { display: block; }
  .nav-wrap {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
    display: none; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-wrap.open { display: flex; }
  .main-nav { flex-direction: column; }
  .main-nav > li > a { padding: 14px 20px; border-bottom: 1px solid var(--c-border); }
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding-left: 16px; }
  .main-nav li.open .sub-nav { display: block; }
  .sub-nav a { border-bottom: 1px solid var(--c-gray); }
  .nav-phone { margin: 12px 20px; justify-content: center; }
  .banner { height: 360px; }
  .banner .slide { height: 360px; }
  .banner h2 { font-size: 24px; }
  .banner p { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-flex { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form .wide, .booking-form .btn { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .thumb { min-height: 180px; }
  .subservice-grid { grid-template-columns: 1fr; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 24px; }
}

/* ==========================================================================
   蜜罐字段（防机器人灌水）：移出视口，真人看不到也填不到
   不用 display:none —— 部分机器人会跳过被隐藏的 input
   ========================================================================== */
.ks-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Tag 标签云（首页底部 + 内页侧边栏）
   14 个高亮色循环，保证相邻标签颜色不重复
   ========================================================================== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; line-height: 1.4; color: #fff; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.tag-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.18); color: #fff; opacity: .92; }
.tag-pill.is-dark { color: #333; }

.tag-c1  { background: #ff6b6b; }
.tag-c2  { background: #ffa94d; }
.tag-c3  { background: #ffd43b; color: #4a3b00; }
.tag-c4  { background: #51cf66; }
.tag-c5  { background: #20c997; }
.tag-c6  { background: #4dabf7; }
.tag-c7  { background: #845ef7; }
.tag-c8  { background: #f06595; }
.tag-c9  { background: #22b8cf; }
.tag-c10 { background: #94d82d; color: #2f3d0a; }
.tag-c11 { background: #fd7e14; }
.tag-c12 { background: #7950f2; }
.tag-c13 { background: #12b886; }
.tag-c14 { background: #e64980; }

/* 首页底部标签区 */
.tag-sec { padding: 46px 0; background: var(--c-gray); border-top: 1px solid var(--c-border); }
.tag-sec .sec-head { margin-bottom: 20px; }
.tag-sec .sec-head h2 { font-size: 20px; color: var(--c-main); }
.tag-sec .sec-head p { color: var(--c-muted); font-size: 13px; margin-top: 6px; }
.tag-sec .tag-cloud { gap: 12px; }
.tag-sec .tag-pill { padding: 9px 20px; font-size: 14px; }

/* 侧边栏标签 */
.side-tags { background: var(--c-gray); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.side-tags h3 { background: var(--c-main); color: #fff; padding: 14px 20px; font-size: 16px; }
.side-tags .tag-cloud { padding: 16px 18px; gap: 8px; }
.side-tags .tag-pill { padding: 6px 13px; font-size: 12px; }

/* ==========================================================================
   友情链接（首页底部，暂无数据时整块自动隐藏）
   ========================================================================== */
/* 首页常见问题（替换原首页友情链接板块） */
.faq-section { background: #f7f8fa; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.faq-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 14px 18px; color: var(--c-text); font-size: 15px; text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.faq-item:hover { border-color: var(--c-red); box-shadow: 0 4px 14px rgba(0,0,0,.06); transform: translateY(-2px); }
.faq-item .fi-q {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-red); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-item .fi-t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faq-item .fi-more { flex: 0 0 auto; color: var(--c-muted); font-size: 13px; }
.faq-item:hover .fi-more { color: var(--c-red); }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .faq-item { padding: 12px 14px; font-size: 14px; }
  .faq-item .fi-t { white-space: normal; }
}

/* 友情链接 */
.flink-sec { padding: 40px 0 46px; background: #fff; border-top: 1px solid var(--c-border); }
.flink-sec .sec-head { margin-bottom: 18px; }
.flink-sec .sec-head h2 { font-size: 20px; color: var(--c-main); }
.flink-list { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.flink-list a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--c-border);
  border-radius: var(--radius); color: var(--c-text); font-size: 14px; background: #fff;
  transition: border-color .18s, color .18s;
}
.flink-list a:hover { border-color: var(--c-red); color: var(--c-red); }
.flink-empty { color: var(--c-muted); font-size: 13px; }

/* 分页 */
.pager { margin-top: 26px; text-align: center; }
.pager a, .pager span { display: inline-block; padding: 7px 14px; margin: 0 3px; border: 1px solid var(--c-border); border-radius: 4px; color: var(--c-text); font-size: 14px; background: #fff; }
.pager a:hover { border-color: var(--c-red); color: var(--c-red); }
.pager .current, .pager span.current { background: var(--c-red); border-color: var(--c-red); color: #fff; }

@media (max-width: 768px) {
  .tag-sec { padding: 32px 0; }
  .tag-sec .tag-pill { padding: 8px 15px; font-size: 13px; }
  .flink-sec { padding: 28px 0 32px; }
}

/* 上一篇 / 下一篇 */
.prev-next { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--c-border); font-size: 14px; line-height: 2; color: var(--c-muted); }
.prev-next a { color: var(--c-text); }
.prev-next a:hover { color: var(--c-red); }

/* ==========================================================================
   侧边栏：修复 li 脱离 ul 导致的结构错乱，并统一右侧栏组件样式
   ========================================================================== */
.side-bar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.side-menu { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.side-menu ul { list-style: none; }
.side-menu h3 {
  background: var(--c-red); color: #fff; padding: 13px 18px; font-size: 15px; font-weight: 600;
  letter-spacing: .5px;
}
.side-menu li a {
  display: block; padding: 11px 18px 11px 30px; position: relative;
  color: var(--c-text); font-size: 14px; border-bottom: 1px solid var(--c-border);
  transition: background .15s, color .15s, padding-left .15s;
}
.side-menu li:last-child a { border-bottom: 0; }
.side-menu li a::before {
  content: ""; position: absolute; left: 18px; top: 50%; margin-top: -3px;
  width: 5px; height: 5px; border-radius: 50%; background: #cfcfcf; transition: background .15s;
}
.side-menu li a:hover { background: var(--c-gray); color: var(--c-red); padding-left: 34px; }
.side-menu li a:hover::before { background: var(--c-red); }

/* 侧边栏产品分组 */
.side-products .side-prod-group { border-bottom: 1px solid var(--c-border); }
.side-products .side-prod-group:last-child { border-bottom: 0; }
.side-products h4 { padding: 11px 18px 5px; font-size: 14px; color: var(--c-main); }
.side-products h4 a { color: var(--c-main); }
.side-products h4 a:hover { color: var(--c-red); }
.side-products ul { padding-bottom: 6px; }
.side-products li a { border-bottom: 0; padding: 6px 18px 6px 30px; font-size: 13px; color: var(--c-muted); }
.side-products li a:hover { background: transparent; padding-left: 34px; }

/* 侧边栏 CTA */
.side-cta {
  background: linear-gradient(135deg, #2f2f33 0%, #222226 100%); color: #fff;
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.side-cta p { font-size: 13px; color: #cfcfcf; margin-bottom: 6px; }
.side-cta strong { display: block; font-size: 21px; color: #fff; letter-spacing: .5px; margin-bottom: 12px; }
.side-cta .btn { display: inline-block; padding: 9px 22px; font-size: 14px; }

.side-tags { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.side-tags h3 { background: var(--c-main); color: #fff; padding: 13px 18px; font-size: 15px; }
.side-tags .tag-cloud { padding: 14px 16px; gap: 8px; }
.side-tags .tag-pill { padding: 5px 12px; font-size: 12px; }

/* ==========================================================================
   内页通用：二级标题 / 正文封面 / 底部 CTA / banner 副标题
   ========================================================================== */
.banner-sub { font-size: 15px; color: rgba(255,255,255,.85); margin-top: 4px; }
.sec-h2 { font-size: 20px; color: var(--c-main); margin: 34px 0 16px; padding-left: 12px; border-left: 4px solid var(--c-red); }
.art-title { font-size: 24px; color: var(--c-main); margin-bottom: 12px; line-height: 1.5; }
.art-cover { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.main-content .body h3 { font-size: 17px; color: var(--c-main); margin: 22px 0 10px; }
.main-content .body ul { margin: 0 0 14px 20px; }
.main-content .body li { margin-bottom: 6px; }
.main-content .body strong { color: var(--c-main); }
.cta-box {
  margin-top: 34px; padding: 22px 26px; background: var(--c-gray);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-box h2 { font-size: 19px; color: var(--c-main); margin-bottom: 6px; }
.cta-box p { font-size: 14px; color: var(--c-muted); }

/* 联系页信息条 */
.contact-info { background: var(--c-gray); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.contact-info p { display: flex; gap: 14px; padding: 6px 0; font-size: 15px; color: var(--c-text); }
.contact-info span { flex: 0 0 66px; color: var(--c-muted); font-size: 14px; }
.contact-info .tel { color: var(--c-red); font-size: 19px; font-weight: 700; }

/* ==========================================================================
   首页新闻资讯：两列紧凑列表（每行高度更小，每列条数更多）
   ========================================================================== */
.news-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.news-row {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 2px;
  border-bottom: 1px dashed var(--c-border); color: var(--c-text); font-size: 15px;
  transition: color .15s, padding-left .15s;
}
.news-row:hover { color: var(--c-red); padding-left: 6px; }
.news-row .nr-date { flex: 0 0 auto; color: var(--c-muted); font-size: 13px; }
.news-row .nr-title { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-row::after { content: "\203A"; color: #ccc; flex: 0 0 auto; font-size: 15px; }
.news-row:hover::after { color: var(--c-red); }

/* ==========================================================================
   预约表单：白底卡片 + 深色文字，彻底解决「和背景融合看不清」
   ========================================================================== */
.form-tip { text-align: center; color: #d8d8d8; font-size: 13px; margin: -22px 0 20px; }
.ks-form {
  max-width: 880px; margin: 0 auto; background: #fff; color: var(--c-text);
  border-radius: 10px; padding: 26px 28px 22px; box-shadow: 0 10px 34px rgba(0,0,0,.28);
}
.ks-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.ks-form .form-row { display: flex; flex-direction: column; }
.ks-form .form-row.full { grid-column: 1 / -1; }
.ks-form label { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.ks-form label i { color: var(--c-red); font-style: normal; margin-left: 2px; }
.ks-form input, .ks-form select, .ks-form textarea {
  width: 100%; padding: 11px 13px; font-size: 14px; color: #222;
  background: #fff; border: 1px solid #d5d8de; border-radius: 5px;
  outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.ks-form input::placeholder, .ks-form textarea::placeholder { color: #b3b8c0; }
.ks-form input:focus, .ks-form select:focus, .ks-form textarea:focus {
  border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(200,36,35,.13);
}
.ks-form textarea { min-height: 88px; resize: vertical; }
.ks-form input.invalid, .ks-form select.invalid, .ks-form textarea.invalid {
  border-color: #d93025; background: #fff7f6;
}
.ks-form .err-msg { min-height: 16px; margin-top: 3px; font-size: 12px; color: #d93025; line-height: 16px; }
.ks-form .form-foot {
  margin-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.ks-form .form-note { font-size: 12px; color: #999; }
.ks-form .btn { border: 0; cursor: pointer; padding: 12px 40px; font-size: 15px; }

/* 验证码 */
.ks-form .captcha-wrap {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ks-form .captcha-wrap input {
  flex: 1 1 160px; min-width: 0; max-width: 220px;
}
.ks-form .captcha-img {
  width: 120px; height: 40px; border: 1px solid var(--c-border);
  border-radius: 4px; cursor: pointer; background: #fff;
  display: block; object-fit: contain;
}
.ks-form .captcha-img:hover { border-color: var(--c-red); }

@media (max-width: 768px) {
  .side-bar { position: static; }
  .news-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .ks-form { padding: 18px 16px 16px; }
  .ks-form .form-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .contact-info p { flex-direction: column; gap: 2px; }
  .contact-info span { flex: none; }
}

/* 产品栏目页：首个小标题贴顶 + 小标题下的说明文字 */
.sec-h2-first { margin-top: 0; }
.sec-desc { color: var(--c-muted); font-size: 14px; margin: -8px 0 18px; line-height: 1.7; }

/* 品牌前缀（h1 内"顺达开锁"强调） */
.page-banner h1 .brand-prefix,
h1 .brand-prefix { color: var(--c-red); font-weight: 800; }
