/* ============================================================
   tsad.css — 拓商式站点结构样式（ad- 命名体系）
   主色 #ff2002 / 辅助色 #0b7285
   ============================================================ */
:root {
  --red: #ff2002;
  --red-d: #d61700;
  --red-l: #fff0ee;
  --teal: #0b7285;
  --teal-d: #085867;
  --teal-l: #e7f2f4;
  --ink: #171a21;
  --gray: #5b6472;
  --gray-l: #8a93a3;
  --line: #e8eaef;
  --bg: #f6f7f9;
  --white: #fff;
  --wrap: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "Segoe UI", Roboto, -apple-system, "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--ink); background: var(--white);
  font-size: 14px; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.ad-wrap { max-width: var(--wrap); margin: 0 auto; }

/* ============ 顶部信息条 ============ */
.ad-topbar { background: var(--teal); color: #dcedf1; font-size: 13px; }
.ad-topbar .ad-wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.ad-top-left { display: flex; gap: 18px; align-items: center; }
.ad-top-left i,.ad-top-right i { color: #9fd4de; margin-right: 5px; }
.ad-top-right { display: flex; gap: 18px; align-items: center; }
.ad-topbar a:hover { color: #fff; }

/* ============ 页头 ============ */
.ad-header {
  position: sticky; top: 0; z-index: 900; background: #fff;
  border-bottom: 1px solid var(--line);
}
.ad-header .ad-wrap { display: flex; align-items: center; height: 74px; gap: 26px; }
.ad-logo img { height: 56px; width: auto; }
.ad-nav { flex: 1; position: relative; }
.ad-nav-menu > li.ad-mega { position: static; }
.ad-nav-menu > li.ad-mega > a { position: relative; } /* 使选中下划线::after仍以a为基准，不受li static影响 */
.ad-nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.ad-nav-menu > li { position: relative; }
.ad-nav-menu > li > a {
  display: block; padding: 0 14px; line-height: 74px; font-size: 16.5px;
  font-weight: 500; color: var(--ink); white-space: nowrap;
}
.ad-nav-menu > li > a:hover, .ad-nav-menu > li.ad-active > a { color: var(--red); }
.ad-nav-menu > li.ad-active > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px;
  height: 3px; background: var(--red);
}
.ad-nav-cta {
  margin-left: 10px; background: var(--red); color: #fff !important;
  padding: 0 16px !important; line-height: 40px !important; font-weight: 600;
}
.ad-nav-cta:hover { background: var(--red-d); }
.ad-nav-cta::after { display: none !important; }
.ad-nav-tel { margin-left: 8px; text-align: right; line-height: 1.25; }
.ad-nav-tel-label { font-size: 12px; color: var(--gray-l); }
.ad-nav-tel-num { font-size: 19px; font-weight: 800; color: var(--red); letter-spacing: .5px; }

/* 下拉面板 */
.ad-drop { position: relative; }
.ad-drop-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line);
  padding: 10px; min-width: 200px; opacity: 0; visibility: hidden; transition: .2s; z-index: 50;
}
.ad-drop:hover .ad-drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ad-drop-panel a { display: block; padding: 8px 14px; font-size: 14px; color: var(--gray); white-space: nowrap; }
.ad-drop-panel a:hover { background: var(--red-l); color: var(--red); }

.ad-mega-panel {
  position: absolute; right: 0; transform: translateY(10px); top: 100%;
  width: min(980px, 94vw); background: #fff; border: 1px solid var(--line); padding: 26px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 240px; gap: 26px;
  opacity: 0; visibility: hidden; transition: .22s; z-index: 60;
}
.ad-mega:hover .ad-mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.ad-mega-col h4 { font-size: 13px; color: var(--gray-l); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; }
.ad-mega-col a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 15.5px; font-weight: 500; }
.ad-mega-col a:hover { background: var(--bg); color: var(--red); }
.ad-mega-col a i { color: var(--teal); font-size: 13px; }
.ad-mega-cta { background: var(--teal-l); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.ad-mega-cta p { font-size: 13.5px; color: var(--teal-d); margin-bottom: 12px; line-height: 1.6; }
.ad-mega-cta strong { display: block; font-size: 15px; color: var(--teal-d); margin-bottom: 6px; }
.ad-mega-cta a { margin-top: auto; }

/* 汉堡与抽屉 */
.ad-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--ink); font-size: 18px; margin-left: auto; }
.ad-mask { position: fixed; inset: 0; background: rgba(15,18,25,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 990; }
.ad-mask.on { opacity: 1; visibility: visible; }
.ad-drawer {
  position: fixed; top: 0; right: -320px; width: 300px; max-width: 86vw; height: 100vh;
  background: #fff; z-index: 995; transition: right .28s ease; display: flex; flex-direction: column;
}
.ad-drawer.on { right: 0; }
.ad-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ad-drawer-head img { height: 38px; }
.ad-drawer-close { font-size: 20px; color: var(--gray); }
.ad-drawer ul { flex: 1; overflow-y: auto; padding: 10px 0; }
.ad-drawer li a { display: block; padding: 13px 22px; font-weight: 600; border-left: 3px solid transparent; }
.ad-drawer li.ad-active a { color: var(--red); border-left-color: var(--red); background: var(--red-l); }
.ad-drawer li.ad-sub a { padding-left: 40px; font-weight: 500; font-size: 13.5px; color: var(--gray); }
.ad-drawer-tel { margin: 14px 20px; background: var(--red); color: #fff; text-align: center; padding: 13px; font-weight: 700; }

/* ============ Hero 轮播 ============ */
.ad-hero { position: relative; background: var(--ink); overflow: hidden; }
.ad-hero-slides { position: relative; height: 520px; }
.ad-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 1; }
.ad-hero-slide.on { opacity: 1; z-index: 2; }
.ad-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.ad-hero-slide .ad-hero-shade { position: absolute; inset: 0; background: rgba(10,14,20,.55); }
.ad-hero-cap { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; align-items: center; }
.ad-hero-cap .ad-wrap { width: 100%; }
.ad-hero-cap .ad-h2 { display: block; color: #fff; font-size: 40px; font-weight: 700; max-width: 640px; line-height: 1.3; }
.ad-hero-cap .ad-p { display: block; color: rgba(255,255,255,.88); font-size: 17px; max-width: 560px; margin-top: 12px; }
.ad-hero-cap .ad-tagline { display: inline-block; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; margin-bottom: 14px; }
.ad-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; background: rgba(255,255,255,.16);
  color: #fff; font-size: 16px; backdrop-filter: blur(4px); transition: .2s;
}
.ad-hero-arrow:hover { background: var(--red); }
.ad-hero-prev { left: 22px; } .ad-hero-next { right: 22px; }
.ad-hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.ad-hero-dots button { width: 26px; height: 5px; background: rgba(255,255,255,.4); transition: .25s; }
.ad-hero-dots button.on { background: var(--red); width: 40px; }

/* Hero 浮动消息卡 */
.ad-hero-float { position: relative; z-index: 6; margin-top: -46px; }
.ad-hero-float-card {
  background: #fff;
  display: grid; grid-template-columns: 1fr 320px; overflow: hidden;
}
.ad-hero-msgs { padding: 26px 30px; position: relative; min-height: 150px; }
.ad-hero-msg { display: none; }
.ad-hero-msg.on { display: block; animation: adFade .45s ease; }
@keyframes adFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ad-hero-msg h3 { font-size: 19px; color: var(--teal-d); margin-bottom: 6px; }
.ad-hero-msg p { color: var(--gray); font-size: 14px; }
.ad-hero-tabs { display: flex; gap: 6px; margin-top: 16px; }
.ad-hero-tabs button { font-size: 12px; color: var(--gray-l); border: 1px solid var(--line); padding: 3px 12px; }
.ad-hero-tabs button.on { color: var(--red); border-color: var(--red); background: var(--red-l); font-weight: 700; }
.ad-hero-btns { background: var(--teal); padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ad-hero-btn { display: block; text-align: center; background: var(--red); color: #fff; font-weight: 700; padding: 13px 18px; }
.ad-hero-btn:hover { background: var(--red-d); color: #fff; }
.ad-hero-tel { display: block; text-align: center; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.ad-hero-tel small { display: block; font-size: 12px; font-weight: 400; color: #bfe0e7; letter-spacing: 0; }

/* ============ 跑马灯 ============ */
.ad-marquee { background: var(--red); color: #fff; overflow: hidden; margin-top: 34px; }
.ad-marquee-track { display: flex; width: max-content; animation: adMarquee 28s linear infinite; }
.ad-marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 26px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ad-marquee-track span i { opacity: .7; }
@keyframes adMarquee { to { transform: translateX(-50%); } }

/* ============ 统计 ============ */
.ad-stats { padding: 56px 0 10px; }
.ad-stats .ad-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ad-stat { text-align: center; padding: 22px 10px; background: var(--bg); }
.ad-stat b { display: block; font-size: 34px; color: var(--teal); font-weight: 800; letter-spacing: .5px; }
.ad-stat b i { font-size: 24px; margin-right: 6px; color: var(--teal); }
.ad-stat p, .ad-stat span { display: block; color: var(--gray); font-size: 14px; margin-top: 4px; }

/* ============ 通用区块 ============ */
.ad-section { padding: 72px 0; }
.ad-bg-gray { background: var(--bg); }
.ad-sec-head { text-align: center; margin-bottom: 44px; }
.ad-sec-sub { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.ad-sec-title { font-size: 32px; margin-top: 8px; }
.ad-sec-title em { font-style: normal; color: var(--red); }
.ad-sec-line { width: 54px; height: 4px; background: var(--red); margin: 16px auto 0; position: relative; }
.ad-sec-line::after { content: ""; position: absolute; left: 50%; top: 0; width: 14px; height: 4px; background: var(--teal); transform: translateX(-50%); }
.ad-sec-desc { color: var(--gray); margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

.ad-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
  font-weight: 700; padding: 12px 26px; font-size: 15px; transition: .2s;
}
.ad-btn:hover { background: var(--red-d); color: #fff; transform: translateY(-1px); }
.ad-btn-line { background: transparent; border: 2px solid var(--red); color: var(--red); }
.ad-btn-line:hover { background: var(--red); color: #fff; }
.ad-btn-teal { background: var(--teal); }
.ad-btn-teal:hover { background: var(--teal-d); }

/* ============ 服务分组卡 ============ */
.ad-group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ad-group-card {
  background: #fff; border: 1px solid var(--line); padding: 28px;
  transition: .25s; display: flex; flex-direction: column;
}
.ad-group-card:hover { transform: translateY(-5px); border-color: transparent; }
.ad-group-ico { width: 52px; height: 52px; background: var(--teal-l); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.ad-group-card h3 { font-size: 19px; }
.ad-group-desc { color: var(--gray); font-size: 13.5px; margin: 8px 0 16px; }
.ad-g-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg); margin-bottom: 8px;
  font-size: 14px; font-weight: 600; transition: .2s;
}
.ad-g-item i { color: var(--gray-l); font-size: 12px; transition: .2s; }
.ad-g-item:hover { background: var(--red-l); color: var(--red); }
.ad-g-item:hover i { color: var(--red); transform: translateX(3px); }
.ad-hot { position: relative; }
.ad-hot::after { content: "HOT"; position: absolute; right: 44px; top: 50%; transform: translateY(-50%); background: var(--red); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 6px; letter-spacing: .5px; }
.ad-group-more { margin-top: auto; padding-top: 14px; color: var(--teal); font-weight: 700; font-size: 14px; }
.ad-group-more i { margin-left: 4px; font-size: 12px; transition: .2s; }
.ad-group-more:hover i { transform: translateX(4px); }
.ad-srv-note { margin-top: 30px; background: var(--teal-l); border: 1px dashed var(--teal); padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ad-srv-note p { color: var(--teal-d); font-size: 14.5px; }
.ad-srv-note strong { font-size: 16px; display: block; }

/* ============ 关于 ============ */
.ad-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ad-about-fig { position: relative; }
.ad-about-fig img { width: 100%; height: 400px; object-fit: cover; }
.ad-about-badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--red); color: #fff; padding: 18px 24px; text-align: center;
}
.ad-about-badge b { display: block; font-size: 30px; line-height: 1.1; }
.ad-about-badge span { font-size: 12.5px; opacity: .9; }
.ad-about-desc { color: var(--gray); margin-bottom: 18px; }
.ad-about-points li { position: relative; padding: 9px 0 9px 30px; color: var(--ink); font-weight: 600; }
.ad-about-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "FontAwesome"; font-weight: 900; position: absolute; left: 0; top: 10px; color: var(--teal); }
.ad-about-points li span { display: block; font-weight: 400; color: var(--gray); font-size: 13.5px; }

/* ============ 优势 ============ */
.ad-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ad-adv-item { background: #fff; padding: 30px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: .25s; }
.ad-adv-item::before { content: attr(data-n); position: absolute; right: 10px; top: -8px; font-size: 74px; font-weight: 800; color: var(--bg); z-index: 0; }
.ad-adv-item > * { position: relative; z-index: 1; }
.ad-adv-item:hover { border-color: var(--red); transform: translateY(-4px); }
.ad-adv-item i { font-size: 26px; color: var(--red); margin-bottom: 14px; display: block; }
.ad-adv-item h3 { font-size: 17px; margin-bottom: 8px; }
.ad-adv-item p { color: var(--gray); font-size: 13.5px; }

/* ============ 流程 ============ */
.ad-proc-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.ad-proc-step { background: #fff; border: 1px solid var(--line); padding: 22px 16px; text-align: center; position: relative; transition: .2s; }
.ad-proc-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 24px; font-weight: 800; color: var(--teal); margin-bottom: 8px;
}
.ad-proc-step:not(:last-child)::after {
  content: "\f105"; font-family: "Font Awesome 6 Free", "FontAwesome"; font-weight: 900;
  position: absolute; right: -11px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 16px; z-index: 2;
}
.ad-proc-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.ad-proc-step p { font-size: 12.5px; color: var(--gray); }
.ad-proc-step:hover { border-color: var(--red); }

/* ============ 案例网格 ============ */
.ad-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ad-case-item { background: #fff; overflow: hidden; border: 1px solid var(--line); transition: .25s; display: block; }
.ad-case-item:hover { transform: translateY(-5px); border-color: transparent; }
.ad-case-pic { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.ad-case-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ad-case-item:hover .ad-case-pic img { transform: scale(1.06); }
.ad-case-cat { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(11,114,133,.9); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; }
.ad-case-item h3 { font-size: 15px; padding: 14px 16px 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.ad-case-date { padding: 0 16px 14px; color: var(--gray-l); font-size: 12.5px; display: flex; justify-content: space-between; }
.ad-case-date i { color: var(--red); margin-right: 5px; }
.ad-case-more { text-align: center; margin-top: 34px; }

/* ============ 资讯双栏 ============ */
.ad-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ad-news-col { background: #fff; border: 1px solid var(--line); padding: 26px; }
.ad-news-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ad-news-col-head h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.ad-news-col-head h3 i { color: var(--red); }
.ad-news-col-head a { font-size: 13px; color: var(--gray-l); }
.ad-news-feat { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin-bottom: 16px; }
.ad-news-feat-pic { overflow: hidden; aspect-ratio: 4/3; }
.ad-news-feat-pic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.ad-news-feat:hover .ad-news-feat-pic img { transform: scale(1.05); }
.ad-news-feat h4 { font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-news-feat p { font-size: 13px; color: var(--gray); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-news-date { font-size: 12px; color: var(--gray-l); margin-top: 8px; }
.ad-news-rows li { border-top: 1px dashed var(--line); }
.ad-news-rows li a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px; font-size: 14px; }
.ad-news-rows li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-news-rows li a time { color: var(--gray-l); font-size: 12.5px; flex-shrink: 0; }
.ad-news-rows li a:hover { color: var(--red); }

/* ============ CTA ============ */
.ad-cta { background: var(--teal); padding: 58px 0; }
.ad-cta .ad-wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.ad-cta h3 { color: #fff; font-size: 27px; }
.ad-cta p { color: #cfe7ec; margin-top: 8px; font-size: 15px; }
.ad-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ad-cta .ad-btn-w { background: #fff; color: var(--teal-d); }
.ad-cta .ad-btn-w:hover { background: var(--red); color: #fff; }
.ad-cta .ad-btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.ad-cta .ad-btn-ghost:hover { background: #fff; color: var(--teal-d); border-color: #fff; }

/* ============ 地区覆盖 ============ */
.ad-area-list { justify-content: center; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2.5rem; }
.ad-area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ad-area-chips a { border: 1px solid var(--line); background: #fff; padding: 6px 16px; font-size: 13.5px; color: var(--gray); }
.ad-area-chips a:hover { border-color: var(--red); color: var(--red); background: var(--red-l); }

/* ============ 内页页头 ============ */
.ad-page-hero { background: var(--teal-d); padding: 52px 0 46px; position: relative; overflow: hidden; }
.ad-page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 60px solid rgba(255,32,2,.14); }
.ad-page-hero h1 { color: #fff; font-size: 32px; }
.ad-page-hero p { color: #bcdde4; margin-top: 10px; max-width: 720px; }
.ad-crumb { margin-bottom: 14px; font-size: 13px; color: #8fb9c2; position: relative; z-index: 1; }
.ad-crumb a:hover { color: #fff; }
.ad-crumb i { margin: 0 7px; font-size: 10px; }

/* ============ 筛选 tabs ============ */
.ad-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.ad-tabs a, .ad-tabs button {
  border: 1px solid var(--line); background: #fff; padding: 8px 20px;
  font-size: 14px; font-weight: 600; color: var(--gray); transition: .2s;
}
.ad-tabs a:hover, .ad-tabs button:hover { border-color: var(--red); color: var(--red); }
.ad-tabs .on { background: var(--red); border-color: var(--red); color: #fff !important; }

/* ============ 卡片网格（列表页） ============ */
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ad-grid.two { grid-template-columns: repeat(2, 1fr); }
.ad-card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.ad-card:hover { transform: translateY(-5px); border-color: transparent; }
.ad-card-pic { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.ad-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ad-card:hover .ad-card-pic img { transform: scale(1.05); }
.ad-card-cat { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; }
.ad-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ad-card-body h3 { font-size: 16.5px; line-height: 1.5; }
.ad-card-body h3 a:hover { color: var(--red); }
.ad-card-sub { color: var(--gray); font-size: 13px; margin-top: 7px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--gray-l); }
.ad-card-meta i { margin-right: 4px; color: var(--teal); }
.ad-card-link { color: var(--red); font-weight: 700; }
.ad-card-link i { margin-left: 4px; font-size: 11px; transition: .2s; color: var(--red); }
.ad-card:hover .ad-card-link i { transform: translateX(4px); }

/* ============ 分页 ============ */
.ad-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; font-size: 14px; }
.ad-pagination .page-status { display: none; }
.ad-pagination .page-numbar { display: flex; gap: 6px; }
.ad-pagination .page-index a, .ad-pagination .page-pre a, .ad-pagination .page-next a, .ad-pagination .page-last a, .ad-pagination .page-num {
  display: inline-block; min-width: 38px; text-align: center; line-height: 38px; padding: 0 10px;
  border: 1px solid var(--line); background: #fff; color: var(--gray); transition: .2s;
}
.ad-pagination a:hover { border-color: var(--red); color: var(--red); }
.ad-pagination .page-num-current { background: var(--red); border-color: var(--red); color: #fff !important; font-weight: 700; }

/* ============ 详情布局 ============ */
.ad-detail { padding: 50px 0 70px; }
.ad-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.ad-article { background: #fff; border: 1px solid var(--line); padding: 36px 40px; }
.ad-article > h1 { font-size: 26px; line-height: 1.4; }
.ad-article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--gray-l); font-size: 13px; margin: 14px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ad-article-meta i { margin-right: 5px; color: var(--teal); }
.ad-body { font-size: 15.5px; color: #2c313a; line-height: 1.9; }
.ad-body h2, .ad-body h3 { margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--red); font-size: 19px; }
.ad-body h4 { margin: 20px 0 8px; }
.ad-body p { margin: 12px 0; }
.ad-body img { margin: 16px auto; }
.ad-body figure { margin: 22px 0; }
.ad-body figure img { margin: 0 auto; }
.ad-body figcaption { text-align: center; font-size: 13px; color: var(--gray-l); margin-top: 10px; }
.ad-body ul, .ad-body ol { margin: 12px 0 12px 8px; }
.ad-body li { position: relative; padding: 5px 0 5px 22px; }
.ad-body ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; background: var(--teal); }
.ad-body ol { counter-reset: ob; }
.ad-body ol li { counter-increment: ob; }
.ad-body ol li::before { content: counter(ob); position: absolute; left: 0; top: 7px; width: 17px; height: 17px; background: var(--red-l); color: var(--red); font-size: 11px; font-weight: 800; text-align: center; line-height: 17px; }
.ad-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.ad-body th, .ad-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.ad-body th { background: var(--teal-l); color: var(--teal-d); }
.ad-body blockquote { background: var(--bg); border-left: 4px solid var(--teal); padding: 14px 18px; margin: 16px 0; color: var(--gray); }
.ad-body a { color: var(--teal); text-decoration: underline; }

/* 侧栏 */
.ad-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 94px; }
.ad-side-card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.ad-side-card h4 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.ad-side-card h4 i { color: var(--red); }
.ad-side-links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 14px; color: var(--gray); }
.ad-side-links a i { font-size: 11px; color: var(--gray-l); }
.ad-side-links a:hover, .ad-side-links a.on { background: var(--red-l); color: var(--red); }
.ad-side-links a.on { font-weight: 700; }
.ad-side-hot li { border-top: 1px dashed var(--line); padding: 10px 0; }
.ad-side-hot li:first-child { border-top: none; padding-top: 0; }
.ad-side-hot a { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.ad-side-hot a b { color: var(--red); font-size: 15px; flex-shrink: 0; }
.ad-side-hot a:hover span { color: var(--red); }
.ad-side-cta { background: var(--teal); color: #fff; border: none; }
.ad-side-cta h4 { color: #fff; }
.ad-side-cta h4 i { color: #fff; }
.ad-side-cta p { font-size: 13px; color: #cfe7ec; margin-bottom: 12px; }
.ad-side-cta .ad-tel-big { font-size: 22px; font-weight: 800; color: #fff; display: block; margin-bottom: 12px; }
.ad-side-cta .ad-btn { width: 100%; justify-content: center; }

/* 上一篇/下一篇 */
.ad-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.ad-post-nav a { border: 1px solid var(--line); padding: 14px 18px; background: #fff; }
.ad-post-nav a:hover { border-color: var(--red); }
.ad-post-nav small { display: block; color: var(--gray-l); font-size: 12px; margin-bottom: 4px; }
.ad-post-nav span { font-size: 14px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-post-nav .next { text-align: right; }

/* 案例数据条 */
.ad-case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.ad-case-stats > div { background: var(--teal-l); padding: 14px; text-align: center; }
.ad-case-stats b { display: block; font-size: 19px; color: var(--teal-d); }
.ad-case-stats span { font-size: 12.5px; color: var(--gray); }
.ad-quote { background: var(--red-l); border-left: 4px solid var(--red); padding: 18px 22px; margin: 24px 0; font-size: 15px; color: #7a2018; }
.ad-quote p { font-weight: 700; }
.ad-quote small { color: var(--gray); display: block; margin-top: 6px; }

/* 数据库扩展字段兼容（ext_stats / ext_tags_html） */
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 24px 0; }
.case-stats .stat-item { background: var(--teal-l); padding: 14px; text-align: center; }
.case-stats .stat-value { font-size: 20px; font-weight: 800; color: var(--teal-d); }
.case-stats .stat-label { font-size: 12.5px; color: var(--gray); }
.case-tag { display: inline-block; background: var(--red-l); color: var(--red); font-size: 12px; font-weight: 700; padding: 3px 10px; margin: 0 6px 6px 0; }
p.case-description { margin: 10px 0; }

/* ============ 表单 ============ */
.ad-form { background: #fff; border: 1px solid var(--line); padding: 34px; }
.ad-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ad-field { margin-bottom: 18px; }
.ad-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.ad-field label .req { color: var(--red); margin-left: 3px; }
.ad-field input, .ad-field select, .ad-field textarea {
  width: 100%; border: 1.5px solid var(--line); padding: 12px 14px;
  background: var(--bg); transition: .2s; outline: none;
}
.ad-field input:focus, .ad-field select:focus, .ad-field textarea:focus { border-color: var(--teal); background: #fff; }
.ad-field textarea { min-height: 120px; resize: vertical; }
.ad-field .err-msg { color: var(--red); font-size: 12.5px; min-height: 18px; display: block; margin-top: 4px; }
.ad-submit { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }
.ad-form-ok { display: none; text-align: center; padding: 40px 20px; }
.ad-form-ok i { font-size: 52px; color: var(--teal); }
.ad-form-ok h3 { margin: 14px 0 6px; }

/* 联系方式卡 */
.ad-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.ad-method { background: #fff; border: 1px solid var(--line); padding: 28px; text-align: center; transition: .2s; }
.ad-method:hover { border-color: var(--red); }
.ad-method i.big { font-size: 30px; color: var(--red); background: var(--red-l); width: 66px; height: 66px; line-height: 66px; margin-bottom: 16px; }
.ad-method h3 { font-size: 17px; margin-bottom: 8px; }
.ad-method .val { font-size: 19px; font-weight: 800; color: var(--red); }
.ad-method p { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* FAQ 手风琴 */
.ad-faq-item { background: #fff; border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.ad-faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative; }
.ad-faq-item summary::-webkit-details-marker { display: none; }
.ad-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 20px; font-weight: 400; transition: .2s; }
.ad-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ad-faq-item .ans { padding: 0 20px 16px; color: var(--gray); font-size: 14px; }

/* ============ 页脚 ============ */
.ad-footer { background: #121820; color: #9aa4b2; padding: 56px 0 0; font-size: 14px; }
.ad-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.ad-f-logo img { height: 42px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.ad-f-intro p { line-height: 1.9; margin-bottom: 10px; }
.ad-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.ad-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--red); }
.ad-f-links li { padding: 5px 0; }
.ad-f-links a { color: #9aa4b2; }
.ad-f-links a:hover { color: var(--red); padding-left: 4px; }
.ad-f-contact li { display: flex; gap: 10px; padding: 6px 0; line-height: 1.6; }
.ad-f-contact i { color: var(--teal); margin-top: 4px; }
.ad-f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #6b7686; }
.ad-f-bottom a { color: #6b7686; }
.ad-f-bottom a:hover { color: var(--red); }

/* 返回顶部 & 移动端工具条 */
.ad-backtop { position: fixed; right: 22px; bottom: 90px; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); color: var(--teal); opacity: 0; visibility: hidden; transition: .25s; z-index: 800; font-size: 16px; }
.ad-backtop.on { opacity: 1; visibility: visible; }
.ad-backtop:hover { background: var(--red); color: #fff; border-color: var(--red); }
.ad-mobar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; background: #fff; border-top: 1px solid var(--line); }
.ad-mobar a { flex: 1; display: block; text-align: center; padding: 11px 0; font-weight: 700; font-size: 14px; }
.ad-mobar .wrap { display: flex; }
.ad-mobar a i { margin-right: 6px; }
.ad-mobar .m-tel { background: var(--red); color: #fff; }
.ad-mobar .m-msg { background: var(--teal); color: #fff; }

/* 淡入动画 */
.ad-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.ad-reveal.on { opacity: 1; transform: none; }

/* ============ 电话弹出表单 ============ */
.ad-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ad-modal[hidden] { display: none; }
.ad-modal-mask { position: absolute; inset: 0; background: rgba(23,26,33,.55); }
.ad-modal-box { position: relative; width: 100%; max-width: 420px; background: #fff; padding: 30px 28px; animation: adModalIn .25s ease; }
@keyframes adModalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.ad-modal-close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; font-size: 22px; color: var(--gray); line-height: 1; }
.ad-modal-close:hover { background: var(--bg); color: var(--red); }
.ad-modal-box h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.ad-modal-box .ad-modal-sub { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.ad-modal-box .ad-modal-field { margin-bottom: 16px; }
.ad-modal-box input[type=tel] { width: 100%; height: 50px; border: 1.5px solid var(--line); padding: 0 16px; font-size: 16px; color: var(--ink); }
.ad-modal-box input[type=tel]:focus { outline: none; border-color: var(--red); }
.ad-modal-box .ad-modal-btn { width: 100%; height: 50px; background: var(--red); color: #fff; font-size: 16px; font-weight: 700; transition: .2s; }
.ad-modal-box .ad-modal-btn:hover { background: var(--red-d); }
.ad-modal-box .ad-modal-btn[disabled] { opacity: .6; cursor: not-allowed; }
.ad-modal-tip { font-size: 12px; color: var(--gray); text-align: center; margin-top: 12px; }
.ad-modal-err { color: var(--red); font-size: 13px; margin-top: 10px; text-align: center; min-height: 18px; }
.ad-modal-ok { text-align: center; padding: 14px 0 4px; }
.ad-modal-ok i { font-size: 46px; color: #1a9c5b; }
.ad-modal-ok h3 { margin-top: 12px; }
.ad-modal-ok p { color: var(--gray); font-size: 14px; margin-top: 6px; }

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .ad-nav-menu > li > a { padding: 0 9px; font-size: 14px; }
  .ad-mega-panel { grid-template-columns: 1fr 1fr; }
  .ad-adv-grid, .ad-case-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-proc-track { grid-template-columns: repeat(3, 1fr); }
  .ad-proc-step::after { display: none; }
  .ad-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ad-wrap { padding: 0 20px; }
  .ad-topbar { display: none; }
  .ad-nav, .ad-nav-tel, .ad-nav-cta { display: none; }
  .ad-burger { display: block; }
  .ad-logo img { height: 44px; }
  .ad-header .ad-wrap { height: 62px; }
  .ad-hero-slides { height: 380px; }
  .ad-hero-cap .ad-h2 { font-size: 26px; }
  .ad-hero-cap .ad-p { font-size: 14px; }
  .ad-hero-float-card { grid-template-columns: 1fr; }
  .ad-hero-btns { flex-direction: row; align-items: center; }
  .ad-hero-btn { flex: 1; }
  .ad-stats .ad-wrap { grid-template-columns: repeat(2, 1fr); }
  .ad-section { padding: 52px 0; }
  .ad-sec-title { font-size: 25px; }
  .ad-about-grid { grid-template-columns: 1fr; gap: 34px; }
  .ad-about-fig img { height: 300px; }
  .ad-about-badge { right: 12px; bottom: 12px; padding: 12px 16px; }
  .ad-news-grid { grid-template-columns: 1fr; }
  .ad-detail-grid { grid-template-columns: 1fr; }
  .ad-side { position: static; }
  .ad-footer-grid { grid-template-columns: 1fr 1fr; }
  .ad-methods { grid-template-columns: 1fr; }
  .ad-case-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ad-hero-slides { height: 300px; }
  .ad-hero-cap .ad-h2 { font-size: 21px; }
  .ad-hero-cap .ad-p { display: none; }
  .ad-hero-arrow { display: none; }
  .ad-hero-float { margin-top: -30px; }
  .ad-hero-msgs { padding: 20px; min-height: 120px; }
  .ad-hero-btns { flex-direction: column; padding: 18px; }
  .ad-marquee { margin-top: 24px; }
  .ad-grid, .ad-grid.two, .ad-case-grid, .ad-adv-grid, .ad-group-grid { grid-template-columns: 1fr; }
  .ad-proc-track { grid-template-columns: repeat(2, 1fr); }
  .ad-news-feat { grid-template-columns: 110px 1fr; }
  .ad-article { padding: 22px 18px; }
  .ad-article > h1 { font-size: 21px; }
  .ad-form { padding: 22px 18px; }
  .ad-form-row { grid-template-columns: 1fr; gap: 0; }
  .ad-post-nav { grid-template-columns: 1fr; }
  .ad-page-hero { padding: 36px 0 32px; }
  .ad-page-hero h1 { font-size: 24px; }
  .ad-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .ad-mobar { display: block; }
  .ad-backtop { bottom: 84px; }
  body { padding-bottom: 0; }
  .ad-cta .ad-wrap { flex-direction: column; text-align: center; }
}
