/* 重庆昀佑财税服务有限公司 官网样式
   桌面 / 平板 / 手机三档自适应 */

/* ============ 设计变量 ============ */
:root {
  --brand: #a70911;        /* 主红：图1 采样红提亮一档，按钮与链接用 */
  --brand-dark: #86070e;   /* 背景红主体：图1 采样色，深色区块的中段 */
  --brand-deep: #68050a;   /* 渐变左端压深的红 */
  --brand-hot: #c00e17;    /* 渐变亮端，仍为红不偏橙 */
  --brand-light: #fae8e9;
  --accent: #ffff17;       /* 亮黄：图2 采样色，只用在红底上的文字、色块与按钮 */
  --accent-ink: #a70911;   /* 白底上的强调位改用红，黄字在白底看不清 */
  --accent-dark: #e0e000;  /* 黄色渐变暗端 */
  --accent-soft: #ffffd1;  /* 淡黄提示底 */
  --on-accent: #241608;    /* 黄底上的文字色（近黑） */
  --ink: #1f1512;
  --ink-2: #5f4a44;
  --ink-3: #927c75;
  --line: #f0dcd8;
  --bg: #ffffff;
  --bg-soft: #fdf6f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(134, 7, 14, .07);
  --shadow: 0 12px 32px rgba(134, 7, 14, .12);
  --shadow-lg: 0 22px 48px rgba(134, 7, 14, .18);
  --container: 1200px;
  --header-h: 76px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============ 基础 ============ */
*, *::before, *::after { box-sizing: border-box; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 1em; }
strong { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
/* 深色红底区块内的焦点描边改用亮金，避免与背景同度 */
.hero :focus-visible, .cta-band :focus-visible, .page-hero :focus-visible,
.stat-band :focus-visible, .side-card.dark :focus-visible, .site-footer :focus-visible {
  outline-color: var(--accent);
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-dark); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============ 导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  object-fit: contain;
}
.brand-text { line-height: 1.2; }
.brand-text .bt-cn { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--brand-dark); }
.brand-text .bt-en { font-size: 11px; color: var(--ink-3); letter-spacing: 2.5px; text-transform: uppercase; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 10px 16px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap;
}
.nav-menu > li > a:hover { background: var(--brand-light); color: var(--brand); }
.nav-menu > li.active > a { color: var(--brand); font-weight: 700; }
.nav-menu > li.active > a::after {
  content: ""; display: block; width: 22px; height: 3px; border-radius: 3px;
  background: var(--accent-ink); margin: 2px auto 0;
}

.has-drop > a::before {
  content: ""; float: right; width: 7px; height: 7px; margin: 12px 0 0 6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
}
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  min-width: 232px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: 15px; line-height: 1.5;
}
.dropdown a small { display: block; font-size: 12px; color: var(--ink-3); }
.dropdown a:hover { background: var(--brand-light); color: var(--brand); }

/* 11 项子菜单：桌面两列并整行居中，避免竖排过高 */
@media (min-width: 769px) {
  .has-drop { position: static; }
  .dropdown {
    display: grid; grid-template-columns: repeat(2, minmax(246px, 1fr)); gap: 0 10px;
    top: 100%; left: 50%; width: min(680px, 94vw); min-width: 0; padding: 12px;
  }
  .dropdown a { padding: 9px 12px; }
  .dropdown a small { font-size: 11.5px; }
}

.nav-tel {
  display: flex; align-items: center; gap: 8px;
  margin-left: 14px; padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--on-accent) !important; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 20px rgba(255, 255, 23, .38);
  white-space: nowrap;
}
.nav-tel:hover { color: var(--on-accent); transform: translateY(-1px); }

.sub-toggle { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 11px;
  background: var(--brand-light); border: 0; border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px; background: var(--brand-dark);
  transition: transform .25s, opacity .2s;
}
.nav-toggle span + span { margin-top: 5px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mask { display: none; }

/* ============ 首页 Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(255, 255, 23, .26), transparent 60%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 40%, var(--brand) 74%, var(--brand-hot) 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  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: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-top: 78px; padding-bottom: 78px;
}
.hero h1 {
  margin: 22px 0 14px; color: #fff;
  font-size: 46px; line-height: 1.24; letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 30em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 32px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.hero-points li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-tel { font-size: 15px; color: rgba(255, 255, 255, .72); }
.hero-tel b { display: block; font-size: 27px; color: #fff; letter-spacing: 1px; }

.hero-photo { position: relative; }
.hero-photo .ph-main {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .18);
}
.hero-photo .ph-main img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-gold { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: var(--on-accent); box-shadow: 0 10px 24px rgba(255, 255, 23, .34); }
.btn-gold:hover { color: var(--on-accent); transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-light); color: var(--brand); }
.btn-lg { padding: 15px 38px; font-size: 17px; }

/* ============ 信任条 ============ */
.trust {
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(134, 7, 14, .07);
}
.trust ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 26px 0;
}
.trust li { display: flex; align-items: center; gap: 14px; }
.trust .ti {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: var(--brand-light); display: grid; place-items: center;
}
.trust .ti svg { width: 24px; height: 24px; stroke: var(--brand); }
.trust b { display: block; font-size: 16px; }
.trust span { font-size: 13px; color: var(--ink-3); }

/* ============ 区块 ============ */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand);
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.section-head h2 { margin: 16px 0 12px; font-size: 34px; letter-spacing: .5px; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ============ 服务卡片 ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(167, 9, 17, .32); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center;
}
.svc-icon svg { width: 30px; height: 30px; stroke: var(--brand); }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
/* 卡片正文后面接清单时不能拉伸，否则段落和清单之间出现空洞；链接钉到卡片底边 */
.svc-card.has-list p { flex: none; }
.svc-card.has-list .svc-more { margin-top: auto; padding-top: 20px; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.svc-card .tags li {
  padding: 3px 10px; border-radius: 6px; background: var(--bg-soft);
  color: var(--ink-2); font-size: 12.5px;
}
.svc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 15px; font-weight: 600; color: var(--brand);
}
.svc-more::after { content: "→"; transition: transform .2s; }
.svc-card:hover .svc-more::after { transform: translateX(4px); }

/* ============ 流程步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.step {
  position: relative; padding: 30px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: st; content: "0" counter(st);
  display: block; margin-bottom: 12px;
  font-size: 30px; font-weight: 800; color: var(--accent-ink); letter-spacing: 1px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ============ 图文两栏 ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 420px; object-fit: cover; }
.split h2 { font-size: 32px; margin: 16px 0 18px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.check-list li b { color: var(--ink); }

/* ============ 数据条 ============ */
.stat-band {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 46%, var(--brand) 100%);
  color: #fff; padding: 52px 0;
}
.stat-band ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat-band b { display: block; font-size: 34px; color: var(--accent); letter-spacing: 1px; }
.stat-band span { font-size: 14.5px; color: rgba(255, 255, 255, .82); }

/* ============ 区域标签 ============ */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-tags li {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 14.5px;
  transition: all .2s;
}
.area-tags li:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

/* ============ 资讯 ============ */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-item {
  display: flex; gap: 20px; padding: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .22s, transform .22s;
}
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-date {
  flex: none; width: 74px; text-align: center; align-self: flex-start;
  padding: 10px 0; border-radius: 10px; background: var(--accent);
}
.news-date b { display: block; font-size: 24px; color: var(--brand); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--ink-2); }
.news-item h3 { font-size: 18px; margin-bottom: 8px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.news-meta { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

.yy-slot { display: none; }

/* ============ 栏目空态 ============ */
.empty-state {
  border: 1px dashed rgba(167, 9, 17, .4); border-radius: var(--radius);
  background: var(--bg-soft); padding: 48px 40px; text-align: center;
}
.empty-state h2 { font-size: 26px; margin-bottom: 14px; color: var(--brand-dark); }
.empty-state p { max-width: 640px; margin: 0 auto 12px; color: var(--ink-2); font-size: 15.5px; }
.empty-state .es-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

.news-empty {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 40px 34px; text-align: center;
}
.news-empty .ne-title { font-size: 20px; font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; }
.news-empty p { max-width: 620px; margin: 0 auto 10px; color: var(--ink-2); font-size: 15px; }
.news-empty .ne-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }

/* ============ 公司案例 ============ */
.case-notice {
  margin-top: 34px; padding: 22px 26px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border-left: 4px solid var(--accent-dark);
}
.case-notice b { display: block; font-size: 16px; margin-bottom: 8px; color: var(--brand-dark); }
.case-notice p { margin: 0; font-size: 14.5px; color: #7a4f10; line-height: 1.85; }

/* ============ FAQ ============ */
.faq { max-width: 900px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  position: relative; padding: 20px 56px 20px 24px; cursor: pointer;
  font-size: 17px; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brand); transition: transform .2s;
}
.faq details[open] { border-color: rgba(167, 9, 17, .35); box-shadow: var(--shadow-sm); }
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ============ CTA 带 ============ */
.cta-band {
  position: relative; overflow: hidden; padding: 62px 0;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 44%, var(--brand) 100%);
  color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 23, .22);
}
.cta-band h2 { position: relative; color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-band p { position: relative; color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.cta-band .cta-row { position: relative; display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-band .cta-tel { font-size: 17px; color: #fff; }
.cta-band .cta-tel b { font-size: 30px; letter-spacing: 1px; color: var(--accent); }

/* ============ 内页头部 ============ */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(255, 255, 23, .26), transparent 65%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 42%, var(--brand) 100%);
  padding: 52px 0 56px;
}
.page-hero h1 { color: #fff; font-size: 40px; letter-spacing: 1px; margin-bottom: 14px; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255, 255, 255, .86); font-size: 16.5px; }
.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255, 255, 255, .88); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "/"; margin: 0 9px; opacity: .6; }
/* 地区提示的文字写在 HTML 里（CSS 生成的内容爬虫读不到），这里只管排版 */
.bc-area { margin-left: 18px; color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.bc-area::before { content: "\ff5c"; margin-right: 8px; opacity: .45; }
/* ul 本身是块级元素，不改掉会把地区提示挤到第二行 */
.breadcrumb > ul { display: inline; }
@media (max-width: 700px) {
  .bc-area { display: block; margin-left: 0; }
  .bc-area::before { content: none; }
}

/* ============ 内页正文 ============ */
.layout-side { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
/* 栏目页的文章列表挤在侧栏左边那一列里，多列会窄成小卡片，桌面宽度下一律铺满整列 */
@media (min-width: 1025px) {
  .layout-side .news-grid, .layout-side .card-grid { grid-template-columns: 1fr; gap: 18px; }
}
.prose { color: var(--ink-2); font-size: 16px; }
.prose h2 {
  font-size: 25px; color: var(--ink); margin: 40px 0 16px; padding-left: 14px;
  border-left: 4px solid var(--accent-ink); line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--brand-dark); }
.prose p { margin-bottom: 1.1em; }
.prose ul.bullet li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.prose ul.bullet li::before {
  content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand); opacity: .55;
}
.prose ol.num { counter-reset: nn; }
.prose ol.num li { counter-increment: nn; position: relative; padding-left: 38px; margin-bottom: 12px; }
.prose ol.num li::before {
  content: counter(nn); position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand); font-weight: 700; font-size: 14px; display: grid; place-items: center;
}
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; }
.prose th { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; width: 32%; }
.prose tr:nth-child(even) td { background: #fdfaf5; }
.prose .note {
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border-left: 4px solid var(--accent-dark);
  color: #7a4f10; font-size: 15px;
}
.prose .note p:last-child { margin-bottom: 0; }

/* 后台编辑器生成的正文（无版式类名的裸标签） */
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 24px; margin-bottom: 20px; }
.prose ul:not([class]) > li { list-style: disc; margin-bottom: 8px; }
.prose ol:not([class]) > li { list-style: decimal; margin-bottom: 8px; }
.prose ul:not([class]) > li::marker { color: var(--brand); }
.prose ol:not([class]) > li::marker { color: var(--brand); font-weight: 600; }
.prose a { color: var(--brand); border-bottom: 1px solid rgba(167, 9, 17, .28); }
.prose a:hover { color: var(--brand-dark); border-bottom-color: var(--brand-dark); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 6px 0 20px; }
.prose figure { margin: 6px 0 22px; }
.prose figcaption { font-size: 14px; color: var(--ink-3); text-align: center; }
.prose blockquote {
  margin: 0 0 20px; padding: 14px 20px;
  border-left: 4px solid var(--brand); background: var(--bg-soft);
  color: var(--ink-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose pre, .prose code {
  font-family: Consolas, "Courier New", monospace; font-size: 14px;
  background: var(--bg-soft); border-radius: 6px;
}
.prose code { padding: 2px 6px; }
.prose pre { padding: 14px 16px; overflow-x: auto; margin-bottom: 20px; }

/* ============ 留言与评论 ============ */
.cmt-wrap { max-width: 880px; }
.cmt-list { display: grid; gap: 16px; margin-bottom: 34px; }
.cmt-item {
  padding: 20px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cmt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cmt-head b { font-size: 15px; color: var(--brand-dark); }
.cmt-head span { font-size: 13px; color: var(--ink-3); }
.cmt-text { white-space: pre-wrap; word-break: break-word; font-size: 15px; color: var(--ink-2); }
.cmt-reply {
  margin-top: 14px; padding: 14px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cmt-reply .cmt-head b { color: var(--brand); }
.cmt-empty {
  margin-bottom: 34px; padding: 22px; text-align: center; font-size: 14.5px;
  color: var(--ink-3); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}
.cmt-form {
  padding: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.cmt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmt-field { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cmt-field input, .cmt-field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px;
  font: inherit; font-weight: 400; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.cmt-field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.cmt-field input:focus, .cmt-field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(167, 9, 17, .12);
}
.cmt-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cmt-actions .btn { border: 0; cursor: pointer; }
.cmt-tip { font-size: 13px; color: var(--ink-3); }
.cmt-notice {
  margin: 16px 0 0; padding: 12px 16px; font-size: 14px; color: #7a4f10;
  background: var(--accent-soft); border-left: 4px solid var(--accent-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
/* 蜜罐：真人看不到，机器人填了就丢弃 */
.cmt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 侧栏 */
.side-card {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.side-card.dark {
  background: linear-gradient(150deg, var(--brand-dark), var(--brand));
  color: #fff; border-color: transparent;
}
.side-card.dark h3 { color: #fff; }
.side-card h3 { font-size: 19px; margin-bottom: 14px; }
.side-card p { font-size: 14.5px; color: var(--ink-2); }
.side-card.dark p { color: rgba(255, 255, 255, .85); }
.side-card .big-tel, .side-card.dark .big-tel { font-size: 25px; font-weight: 800; color: var(--accent); letter-spacing: .5px; }
.side-card ul.link-list li { border-top: 1px dashed var(--line); }
.side-card ul.link-list li:first-child { border-top: 0; }
.side-card ul.link-list a { display: block; padding: 11px 2px; font-size: 15px; color: var(--ink-2); }
.side-card ul.link-list a:hover { color: var(--brand); padding-left: 6px; }
.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* 图片墙 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 14px 18px; font-size: 14.5px; color: var(--ink-2); }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.info-card {
  display: flex; gap: 18px; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.info-card .ii {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  background: var(--brand-light); display: grid; place-items: center;
}
.info-card .ii svg { width: 26px; height: 26px; stroke: var(--brand); }
.info-card h3 { font-size: 18px; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.info-card .val { font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }

/* 分页 */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span {
  min-width: 42px; padding: 9px 14px; text-align: center; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 15px;
}
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }

/* ============ 页脚 ============ */
.site-footer { background: #5a0509; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px;
  padding-top: 62px; padding-bottom: 44px;
}
.site-footer h3 {
  color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px;
}
.site-footer h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent);
}
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer .brand-mark { background: #fff; border-radius: 10px; padding: 5px; width: 50px; height: 50px; }
.site-footer .f-brand .bt-cn { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.site-footer p { margin-bottom: 12px; line-height: 1.9; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: 11px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; line-height: 1.7; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; stroke: var(--accent); }
.footer-contact .fc-tel { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: var(--accent); }
/* 公安备案那一条：警徽图标和文字同一行居中，图标不被行高挤变形 */
.footer-bottom .police-beian { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .police-beian img { display: block; }

/* ============ 手机底部操作条 ============ */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(134, 7, 14, .1);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px; border-radius: 999px; font-size: 15.5px; font-weight: 700;
}
.mobile-bar .mb-tel { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--on-accent); }
.mobile-bar .mb-home { flex: 0 0 88px; border: 1px solid var(--line); color: var(--ink-2); }

/* ============ 回到顶部 ============ */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--brand); box-shadow: var(--shadow);
  font-size: 20px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }

/* ============ 1151–1500px：导航 7 项 + 电话按钮，收一档让 logo 副标题不折行 ============ */
@media (min-width: 1151px) and (max-width: 1500px) {
  .brand-text .bt-en { font-size: 10px; letter-spacing: 1.2px; }
  .nav-menu { gap: 2px; }
  .nav-menu > li > a { padding: 10px 11px; }
  .nav-tel { margin-left: 10px; padding: 9px 14px; }
}

/* ============ 小屏笔记本 / 平板横屏：收紧导航，避免菜单文字折行 ============ */
@media (min-width: 769px) and (max-width: 1150px) {
  .brand-text .bt-en { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-menu { gap: 2px; }
  .nav-menu > li > a { padding: 9px 12px; font-size: 15px; }
  .nav-tel { margin-left: 8px; padding: 8px 14px; font-size: 14.5px; }
}

/* ============ 平板 ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 60px; }
  .hero h1 { font-size: 38px; }
  .hero-photo { max-width: 560px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .media img { height: 340px; }
  .layout-side { grid-template-columns: 1fr; gap: 34px; }
  .side-sticky { position: static; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .trust ul { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section { padding: 64px 0; }
}

/* ============ 手机 ============ */
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; line-height: 1.8; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .container { padding: 0 18px; }

  .nav-toggle { display: block; position: relative; z-index: 96; }
  .nav-tel-li { width: 100%; }
  .nav-tel { width: 100%; margin: 24px 0 0; justify-content: center; padding: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text .bt-cn { font-size: 17px; }
  .brand-text .bt-en { font-size: 9.5px; letter-spacing: 1.6px; }

  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(80vw, 320px); flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 82px 18px 30px; overflow-y: auto;
    background: #fff; box-shadow: -12px 0 34px rgba(134, 7, 14, .2);
    transform: translateX(100%); transition: transform .3s ease;
  }
  body.nav-open .nav-menu { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-mask {
    display: block; position: fixed; inset: 0; z-index: 94; background: rgba(58, 10, 8, .48);
    opacity: 0; visibility: hidden; transition: opacity .25s;
  }
  body.nav-open .nav-mask { opacity: 1; visibility: visible; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li > a { padding: 15px 6px; font-size: 16.5px; border-radius: 0; }
  .nav-menu > li.active > a::after { display: none; }
  .has-drop > a::before { display: none; }
  .has-drop.open > a::before { display: none; }
  .has-drop { position: relative; }
  .sub-toggle {
    display: block; position: absolute; right: 0; top: 0; z-index: 2;
    width: 46px; height: 46px; margin-top: 2px;
    background: none; border: 0; cursor: pointer; color: var(--brand); font-size: 22px; line-height: 1;
  }
  .has-drop.open .sub-toggle { transform: rotate(45deg); }
  .dropdown, .has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 10px 12px; border: 0; box-shadow: none; background: var(--bg-soft);
    border-radius: var(--radius-sm); display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .dropdown a { padding: 11px 12px; font-size: 15px; }
  .nav-menu .m-tel {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 22px; padding: 13px; border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--on-accent); font-weight: 700;
  }

  .hero .container { padding-top: 44px; padding-bottom: 50px; }
  .hero h1 { font-size: 28px; letter-spacing: .5px; margin: 16px 0 12px; }
  .hero-sub { font-size: 15.5px; }
  .hero-points { gap: 8px 16px; margin: 20px 0 26px; }
  .hero-points li { font-size: 13.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-tel { text-align: center; font-size: 13.5px; }
  .hero-tel b { font-size: 22px; }

  .trust ul { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 0; }
  .trust li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust b { font-size: 14.5px; }
  .trust span { font-size: 12px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14.5px; }

  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 26px 22px; }
  .svc-icon { width: 50px; height: 50px; margin-bottom: 16px; }
  .svc-card h3 { font-size: 19px; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 22px; }
  .step::before { font-size: 24px; margin-bottom: 6px; }

  .split h2 { font-size: 24px; }
  .split .media img { height: 220px; }

  .stat-band { padding: 34px 0; }
  .stat-band ul { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .stat-band b { font-size: 24px; }
  .stat-band span { font-size: 13px; }

  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-item { flex-direction: column; padding: 18px; gap: 10px; }
  .news-date { width: auto; display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 6px 12px; }
  .news-date b { font-size: 18px; }
  .news-item h3 { font-size: 16.5px; }
  .news-item p { font-size: 13.5px; }

  .faq summary { padding: 16px 46px 16px 16px; font-size: 15.5px; }
  .faq .faq-body { padding: 0 16px 18px; font-size: 14.5px; }

  .page-hero { padding: 32px 0 36px; }
  .page-hero h1 { font-size: 26px; margin-bottom: 10px; }
  .page-hero p { font-size: 14.5px; }
  .breadcrumb { margin-bottom: 14px; font-size: 13px; }

  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 20px; margin: 30px 0 12px; padding-left: 11px; }
  .prose h3 { font-size: 17px; }
  .prose th, .prose td { padding: 10px 12px; font-size: 14px; }
  .prose th { width: 36%; }

  .cmt-row { grid-template-columns: 1fr; gap: 0; }
  .cmt-form, .cmt-item { padding: 20px; }
  .cmt-head { flex-direction: column; align-items: flex-start; gap: 2px; }

  .side-card { padding: 22px; }
  .gallery, .gallery.two { grid-template-columns: 1fr; gap: 14px; }
  .gallery img { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .info-card { padding: 22px; gap: 14px; }
  .info-card .val { font-size: 18px; }

  .cta-band { padding: 44px 0; }
  .cta-band h2 { font-size: 23px; }
  .cta-band p { font-size: 14.5px; }
  .cta-band .cta-tel b { font-size: 24px; }
  .cta-band .btn { width: 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 0; padding-top: 34px; padding-bottom: 24px; }
  .footer-main > div { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .footer-main > div:first-child { padding-top: 0; }
  .footer-main > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .site-footer h3 { font-size: 16px; margin-bottom: 13px; padding-bottom: 0; }
  .site-footer h3::after { display: none; }
  .site-footer p { font-size: 13.5px; line-height: 1.85; margin-bottom: 10px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .footer-main > div:nth-child(3) .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-links li { margin-bottom: 9px; font-size: 13.5px; line-height: 1.5; }
  .footer-contact li { font-size: 13.5px; margin-bottom: 11px; }
  .footer-contact .fc-tel { font-size: 19px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 12.5px; }

  .mobile-bar { display: flex; }
  .to-top { bottom: 84px; right: 14px; width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 25px; }
  .trust ul { grid-template-columns: 1fr; }
}

/* ============ 触屏：取消 hover 残留状态 ============ */
@media (hover: none) {
  .btn-gold:hover, .nav-tel:hover, .to-top:hover,
  .svc-card:hover, .news-item:hover { transform: none; box-shadow: none; }
  .svc-card:hover { border-color: var(--line); }
  .svc-card:hover .svc-more::after { transform: none; }
  .gallery figure:hover img { transform: none; }
}

/* ============ 打印 ============ */
@media print {
  .site-header, .mobile-bar, .to-top, .cta-band, .hero::after { display: none !important; }
  body { color: #000; }
}

/* ============ 减弱动效 ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* ============ 招聘岗位（/jobs.html 的「在招岗位」列表） ============ */
.job-list { display: grid; gap: 20px; margin: 6px 0 10px; }
.job-card {
  padding: 26px 28px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--brand); border-radius: var(--radius);
}
.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.job-head h3 { margin: 0; font-size: 20px; color: var(--ink); }
.job-track {
  padding: 4px 12px; border-radius: 999px; background: var(--accent);
  color: var(--accent-ink); font-size: 13px; font-weight: 700;
}
.job-summary { margin: 12px 0 0; font-size: 15.5px; color: var(--ink-2); }
.job-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 34px; margin-top: 18px; }
.job-cols h4 { margin: 0 0 10px; font-size: 15px; color: var(--brand-dark); }
.job-cols ul { margin: 0; padding: 0; list-style: none; }
.job-cols li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 15px; line-height: 1.75; color: var(--ink-2);
}
.job-cols li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand); opacity: .55;
}
.job-loc {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--ink-3);
}
@media (max-width: 768px) {
  .job-card { padding: 20px 18px; }
  .job-cols { grid-template-columns: 1fr; gap: 4px; }
}
