/* =========================================================
   水木企服 — 严谨略司法视觉系统
   色板：深藏青 / 墨 / 雾白 / 边线 / 金 / 警示红
   字体：思源宋体（标题） / 思源黑体（正文）
   ========================================================= */

:root {
  --navy: #0a2e57;
  --navy-dark: #061e3a;
  --navy-soft: #16467f;
  --ink: #1a2230;
  --ink-2: #3a4458;
  --muted: #6a7383;
  --mist: #f6f5f0;
  --paper: #ffffff;
  --line: #e2dccb;
  --line-soft: #ece6d5;
  --gold: #b5894b;
  --gold-soft: #d8b988;
  --warn: #a13a2a;
  --serif: "Source Han Serif SC", "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

p { margin: 0 0 16px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.container-xxl { max-width: 1200px; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-top {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  border: 1px solid var(--navy);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-search {
  height: 40px;
  display: none;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--paper);
}

.site-search input {
  width: 240px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
}

.site-search button {
  width: 44px;
  border: 0;
  color: var(--paper);
  background: var(--navy);
  cursor: pointer;
}

.consult-btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--navy);
  padding: 0 22px;
  color: var(--paper);
  background: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.consult-btn i { font-size: 15px; }

.consult-btn:hover {
  color: var(--gold);
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

/* ---------- Nav ---------- */

.main-nav {
  min-height: 56px;
  padding: 0;
  background: var(--navy);
  color: var(--paper);
}

.main-nav .navbar-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.main-nav .nav-item { flex: 0 0 auto; }

.main-nav .nav-link {
  position: relative;
  min-width: 0;
  height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: color .15s ease;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.main-nav .nav-link:hover { color: var(--paper); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

.main-nav .nav-link.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler {
  margin: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.navbar-toggler-icon { filter: invert(1); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--paper);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 30, 58, 0.94) 0%, rgba(10, 46, 87, 0.78) 50%, rgba(10, 46, 87, 0.4) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(216, 185, 136, 0.28);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-soft);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__actions .btn {
  height: 50px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  border-width: 1px;
}

.hero__actions .btn-light {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--paper);
}

.hero__actions .btn-light:hover {
  color: var(--paper);
  background: var(--gold);
  border-color: var(--gold);
}

.hero__actions .btn-outline-light {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__actions .btn-outline-light:hover {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--paper);
}

.hero__actions i { margin-right: 8px; font-size: 14px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 185, 136, 0.28);
}

.hero__badges span {
  position: relative;
  padding: 4px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.hero__badges span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; background: var(--paper); }

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-heading--left { text-align: left; margin-bottom: 32px; }

.section-heading__en {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 18px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.section-heading--left h2::after { left: 0; transform: none; }

/* ---------- Business cards (homepage scope) ---------- */

.business-section { background: var(--mist); }
.business-grid { padding: 0; }

.business-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}

.business-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.business-card__head {
  min-height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--paper);
  background: var(--navy);
  position: relative;
}

.business-card__head::before,
.business-card__head::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 36px;
  height: 1px;
  background: var(--gold-soft);
  transform: translateX(-50%);
}

.business-card__head::before { top: 14px; }
.business-card__head::after { bottom: 14px; }

.business-card__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.business-card__body { padding: 28px 28px 12px; }

.business-card__body p {
  min-height: 84px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14.5px;
}

.business-card ul { margin: 0; padding: 0; list-style: none; }

.business-card li {
  border-top: 1px solid var(--line-soft);
}

.business-card li:last-child { border-bottom: 1px solid var(--line-soft); }

.business-card li a {
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color .15s ease, padding .15s ease;
}

.business-card li a::before {
  content: "—";
  display: inline-block;
  width: 16px;
  margin-right: 10px;
  color: var(--gold);
  font-weight: 600;
}

.business-card li a:hover {
  color: var(--navy);
  padding-left: 4px;
}

/* ---------- Service / advantage / process / news cards ---------- */

.service-section,
.related-knowledge-section { background: var(--mist); }

.process-section { background: var(--paper); }

.service-section h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.lead { color: var(--ink-2); font-size: 16px; }

.btn-primary {
  border-color: var(--navy);
  background: var(--navy);
  border-radius: 0;
  padding: 12px 26px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
}

.btn-primary:hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.btn-outline-primary {
  border-color: var(--navy);
  color: var(--navy);
  border-radius: 0;
  padding: 12px 26px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
}

.btn-outline-primary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.service-card,
.advantage-card,
.process-card,
.news-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}

.service-card:hover,
.advantage-card:hover,
.process-card:hover,
.news-card:hover {
  border-color: var(--gold);
}

.service-card {
  padding: 36px 28px 32px;
  text-align: center;
}

.service-card i {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--paper);
  background: var(--navy);
  font-size: 22px;
  position: relative;
}

.service-card i::before { z-index: 1; }

.service-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.service-card p,
.advantage-card p,
.process-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- CTA strip ---------- */

.cta-strip {
  padding: 64px 0;
  text-align: center;
  color: var(--paper);
  background: var(--navy);
  position: relative;
}

.cta-strip::before,
.cta-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 60px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.cta-strip::before { top: 28px; }
.cta-strip::after { bottom: 28px; }

.cta-strip h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.cta-strip p {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 2;
}

/* ---------- Achievements ---------- */

.achievement-section { background: var(--paper); }

.achievement-row {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

.achievement-item {
  min-height: 156px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 24px 12px;
}

.achievement-row > div:last-child .achievement-item { border-right: 0; }

.achievement-item strong {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
}

.achievement-item span {
  margin-left: 6px;
  color: var(--gold);
  font-size: 16px;
  font-family: var(--serif);
}

.achievement-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ---------- About ---------- */

.about-section { background: var(--mist); }

.about-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: none;
  border: 1px solid var(--line);
}

.about-section p {
  color: var(--ink-2);
  line-height: 1.95;
  font-size: 15.5px;
}

/* ---------- Advantage ---------- */

.advantage-section { background: var(--paper); }

.advantage-card { padding: 32px 28px; }

.advantage-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.advantage-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Process ---------- */

.process-card {
  position: relative;
  padding: 32px 28px;
}

.process-card::after { display: none; }

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--paper);
  background: var(--navy);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.process-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

/* ---------- Compliance ---------- */

.compliance-section {
  padding: 80px 0;
  color: var(--paper);
  background: var(--navy);
  position: relative;
}

.compliance-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 32px;
  width: 60px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.compliance-section h2 {
  font-family: var(--serif);
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.compliance-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.95;
  font-size: 15px;
}

.compliance-list { margin: 0; padding: 0; list-style: none; }

.compliance-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14.5px;
  line-height: 1.7;
}

.compliance-list li i { color: var(--gold-soft); font-size: 18px; margin-top: 2px; }

/* ---------- News ---------- */

.news-section { background: var(--mist); }

.news-card { padding: 30px 26px; }

.news-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.news-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--navy); }

/* ---------- Footer ---------- */

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-dark);
  padding-top: 0;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(216, 185, 136, 0.18);
}

.footer-contact > div { line-height: 1.6; }

.footer-contact span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-contact a {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-contact a:hover { color: var(--gold-soft); }

.footer-main { padding: 40px 0 28px; }

.site-footer h3 {
  margin: 0 0 18px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 12px;
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }

.site-footer li { padding: 6px 0; font-size: 14px; }

.site-footer a { color: rgba(255, 255, 255, 0.74); }

.site-footer a:hover { color: var(--paper); }

.qr-box {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  border: 1px dashed rgba(216, 185, 136, 0.4);
  font-size: 12px;
}

.footer-mini {
  display: inline-grid;
  margin: 0 18px 10px 0;
  line-height: 1.4;
}

.footer-mini strong { color: var(--paper); font-size: 13px; font-weight: 600; }

.footer-mini span { color: rgba(255, 255, 255, 0.6); font-size: 12px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(216, 185, 136, 0.18);
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Floating contact ---------- */

.float-contact {
  position: fixed;
  right: 18px;
  top: 60%;
  z-index: 40;
  display: grid;
  gap: 4px;
  transform: translateY(-50%);
}

.float-contact a {
  width: 88px;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--paper);
  text-align: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  transition: background .15s ease;
}

.float-contact a:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }

.float-contact i { font-size: 22px; margin-bottom: 4px; }

.float-contact span,
.float-contact strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.float-contact strong { font-family: var(--serif); font-weight: 500; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding: 88px 0 76px;
  color: var(--paper);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(216, 185, 136, 0.24);
  pointer-events: none;
}

.page-hero__en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.page-hero__en::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-soft);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-hero p {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.95;
}

/* ---------- Generic content / detail panels ---------- */

.page-content,
.service-detail,
.article-detail { background: var(--mist); }

.content-panel,
.detail-panel,
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

.content-panel {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 48px 40px;
}

.rich-section + .rich-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.rich-section h2,
.detail-panel h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 16px;
}

.rich-section h2::before,
.detail-panel h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--gold);
}

.rich-section p,
.detail-panel p,
.faq-item p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.95;
  margin: 0 0 14px;
}

.rich-section h3 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rich-section ul,
.detail-panel ul {
  margin: 12px 0 16px;
  padding-left: 22px;
}

.rich-section li,
.detail-panel li {
  padding: 6px 0;
  color: var(--ink-2);
  line-height: 1.8;
  font-size: 15px;
}

/* ---------- Fact card (AI extraction target) ---------- */

.ai-fact-box {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding: 22px 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  border-left: 3px solid var(--gold);
  font-size: 14.5px;
  line-height: 1.85;
}

.ai-fact-box strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ai-fact-box span { color: rgba(255, 255, 255, 0.85); }

.ai-fact-box a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: rgba(216, 185, 136, 0.4); text-underline-offset: 3px; }

.ai-fact-box a:hover { color: var(--paper); }

.ai-fact-box--recommend {
  background: var(--mist);
  color: var(--ink);
  border-left-color: var(--navy);
}

.ai-fact-box--recommend strong { color: var(--ink); }

.ai-fact-box--recommend span { color: var(--ink-2); }

.ai-fact-box--recommend a { color: var(--navy); text-decoration-color: rgba(10, 46, 87, 0.4); }
.ai-fact-box--recommend a:hover { color: var(--gold); }

/* TL;DR card */
.tldr-card {
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.tldr-card h2 {
  margin: 0 0 12px;
  padding-left: 0;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.tldr-card h2::before { display: none; }

.tldr-card p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

.tldr-card p:last-child { margin-bottom: 0; }

/* Key facts table */
.key-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.key-facts__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.key-facts__row:last-child { border-bottom: 0; }

.key-facts__key {
  padding: 14px 20px;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--line);
}

.key-facts__val {
  padding: 14px 20px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Detail panel ---------- */

.detail-panel { padding: 28px 28px 24px; }

.detail-panel h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.related-list { margin: 0; padding-left: 0; list-style: none; }

.related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 14.5px;
}

.related-list li:last-child { border-bottom: 0; }

.related-list a { color: var(--ink); display: inline-flex; align-items: baseline; gap: 8px; }

.related-list a::before {
  content: "—";
  color: var(--gold);
  font-weight: 600;
}

.related-list a:hover { color: var(--navy); }

.reviewed,
.article-meta {
  color: var(--gold) !important;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 16px; }

.faq-item {
  padding: 26px 30px;
  transition: border-color .2s ease;
}

.faq-item:hover { border-color: var(--gold); }

.faq-item span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.faq-item h2 {
  margin: 0 0 10px;
  padding-left: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.faq-item h2::before { display: none; }

.faq-item h2 a { color: var(--ink); }
.faq-item h2 a:hover { color: var(--navy); }

.faq-toolbar {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 26px;
  box-shadow: none;
  margin-bottom: 28px;
}

.faq-search { position: relative; display: flex; align-items: center; }

.faq-search i {
  position: absolute;
  left: 14px;
  color: var(--muted);
  font-size: 15px;
}

.faq-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  font-size: 14.5px;
  font-family: var(--sans);
}

.faq-search input:focus { border-color: var(--navy); }

.faq-categories { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.faq-categories .btn {
  border-radius: 0;
  padding: 6px 16px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-family: var(--sans);
}

.faq-categories .btn-primary,
.faq-categories .btn-primary.active {
  background: var(--navy);
  border-color: var(--navy);
}

.faq-categories .btn-outline-primary {
  color: var(--navy);
  border-color: var(--line);
}

.faq-categories .btn-outline-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.faq-item.hidden { display: none; }

.faq-item.highlight { border-left: 3px solid var(--gold); }

/* ---------- Tag grid ---------- */

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.tag-grid span,
.tag-grid a {
  display: inline-flex;
  padding: 8px 14px;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.tag-grid a:hover {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

/* ---------- Testimonials ---------- */

.testimonials-section { background: var(--mist); }

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 28px;
  box-shadow: none;
  transition: border-color .2s ease;
  position: relative;
}

.testimonial-card::before {
  content: "「";
  position: absolute;
  top: 14px;
  left: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.testimonial-card:hover { border-color: var(--gold); transform: none; }

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px 24px;
  flex-wrap: wrap;
}

.testimonial-card__meta .badge {
  background: var(--navy) !important;
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 10px;
}

.testimonial-card__text {
  margin: 0 0 0 24px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
  font-family: var(--serif);
}

.testimonial-card__text::before { display: none; }

/* ---------- Partners ---------- */

.partners-section { background: var(--paper); }

.partner-item {
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .2s ease;
  text-align: center;
}

.partner-item:hover { border-color: var(--gold); box-shadow: none; }

.partner-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-icon i { font-size: 22px; color: var(--paper); }

.partner-item h5 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ---------- Article ---------- */

.article-detail .content-panel { max-width: 920px; }

.article-meta {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* ---------- Sitemap groups ---------- */

.sitemap-group + .sitemap-group {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.sitemap-group .section-heading { margin-bottom: 24px; }

.sitemap-group .section-heading h2 {
  font-size: 22px;
  padding-bottom: 14px;
}

.sitemap-group .section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Responsive ---------- */

@media (min-width: 992px) {
  .site-search { display: inline-flex; }
}

@media (max-width: 991.98px) {
  .header-top { min-height: 76px; grid-template-columns: 1fr auto; gap: 14px; }
  .brand strong { font-size: 20px; }
  .brand small { display: none; }
  .consult-btn { height: 40px; font-size: 14px; padding: 0 16px; }

  .main-nav .navbar-nav { flex-direction: column; padding: 12px 0 16px; }
  .main-nav .nav-link { height: 46px; padding: 0 20px; font-size: 15px; width: 100%; }
  .main-nav .nav-link::after { display: none; }

  .hero { min-height: 460px; }
  .hero h1 { font-size: 34px; }
  .hero__content { padding-top: 60px; padding-bottom: 60px; }

  .section { padding: 64px 0; }
  .section-heading h2 { font-size: 26px; }

  .content-panel { padding: 32px 28px; }
  .page-hero { padding: 60px 0 50px; }
  .page-hero h1 { font-size: 30px; }

  .float-contact {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    transform: none;
  }
  .float-contact a { width: auto; min-height: 56px; border-right: 1px solid rgba(255,255,255,0.18); }
  .float-contact a:last-child { border-right: 0; }
  .float-contact i { font-size: 18px; margin-bottom: 2px; }

  .site-footer { padding-bottom: 64px; }

  .key-facts__row { grid-template-columns: 110px 1fr; }
}

@media (max-width: 767.98px) {
  .container-xxl { padding-left: 16px; padding-right: 16px; }
  .header-top { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; font-size: 24px; }
  .brand strong { font-size: 18px; }
  .consult-btn { max-width: 130px; font-size: 13px; height: 38px; padding: 0 12px; }

  .hero { min-height: 520px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero__badges span { padding: 4px 12px; font-size: 12px; }
  .hero__badges span + span { border-left: 0; }

  .section { padding: 48px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 23px; }

  .business-card__body p { min-height: 0; }

  .achievement-item { border-bottom: 1px solid var(--line); }
  .achievement-row > div:nth-child(2) .achievement-item { border-right: 0; }
  .achievement-row > div:nth-last-child(-n + 2) .achievement-item { border-bottom: 0; }

  .compliance-section { padding: 56px 0; }
  .cta-strip { padding: 48px 0; }

  .footer-contact { grid-template-columns: 1fr; padding: 28px 0; }
  .footer-contact a { font-size: 22px; }

  .content-panel { padding: 24px 20px; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14.5px; }

  .key-facts__row { grid-template-columns: 96px 1fr; }
  .key-facts__key { padding: 10px 14px; font-size: 13px; }
  .key-facts__val { padding: 10px 14px; font-size: 13.5px; }

  .rich-section h2, .detail-panel h2 { font-size: 19px; padding-left: 12px; }

  .tldr-card { padding: 18px 20px; }
}
