/* roulang page: index */
:root {
  --primary: #5B7F9E;
  --primary-dark: #4A6B88;
  --accent: #B08968;
  --green: #3F6B5B;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --light-blue: #EAF1F7;
  --text: #1F2A36;
  --text-muted: #5B6B7A;
  --border: #E6EAF0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(31,42,54,0.06);
  --shadow-hover: 0 8px 30px rgba(31,42,54,0.10);
  --container: 1200px;
  --space: 96px;
  --transition: 0.25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space) 0; }
.section-header { margin-bottom: 48px; max-width: 720px; }
.section-header .tagline {
  display: inline-block; background: var(--light-blue); color: var(--primary);
  font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 16px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .tagline { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-block; background: var(--light-blue); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 20px; line-height: 1.6;
}
.badge-brown { background: #F3EBE3; color: var(--accent); }
.badge-green { background: #E3EDE8; color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(91,127,158,0.28); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--light-blue); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--light-blue); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn:focus-visible { outline: 2px solid rgba(91,127,158,0.6); outline-offset: 2px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.site-header.scrolled { box-shadow: 0 4px 14px rgba(31,42,54,0.06); }
.header-brand { border-bottom: 1px solid var(--border); background: #fff; }
.brand-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); font-size: 26px; }
.brand-right { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.header-phone i { color: var(--primary); }
.header-nav { background: #fff; }
.nav-row { display: flex; align-items: center; height: 54px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-link {
  flex-shrink: 0; padding: 8px 20px; border-radius: 24px; font-size: 14px; font-weight: 500;
  color: var(--text); transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover { background: var(--light-blue); color: var(--primary); }
.nav-link.active { background: var(--primary); color: #fff; font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  background-image: url('/assets/images/backpic/back-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 130px 0 110px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.6);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .hero-tag {
  display: inline-block; background: rgba(255,255,255,0.9); border: 1px solid var(--border);
  color: var(--primary); font-size: 13px; font-weight: 600; padding: 6px 18px; border-radius: 30px;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
}
.hero p.lead {
  font-size: 18px; color: #3E4C5A; line-height: 1.7; margin-bottom: 32px; max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta .meta-chip {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92);
  border: 1px solid var(--border); border-radius: 28px; padding: 8px 18px; font-size: 13px;
  color: var(--text); box-shadow: var(--shadow);
}
.hero-meta .meta-chip i { color: var(--accent); }

/* Services */
.services { background: var(--bg); }
.services .section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.services .section-header .note { color: var(--text-muted); font-size: 14px; white-space: nowrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 36px 28px 30px;
  box-shadow: var(--shadow); border-left: 4px solid var(--primary);
  transition: all var(--transition);
}
.service-card:nth-child(2) { border-left-color: var(--accent); }
.service-card:nth-child(3) { border-left-color: var(--green); }
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.service-card:hover { border-left-color: var(--accent); }
.service-tag { margin-bottom: 14px; }
.service-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.service-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 18px; }
.service-meta .duration { font-size: 13px; color: var(--text-muted); }
.service-meta .duration i { color: var(--accent); margin-right: 4px; }
.service-meta .price { font-size: 14px; font-weight: 600; color: var(--text); }
.service-meta .price small { color: var(--text-muted); font-weight: 400; }
.service-card .btn { margin-top: 18px; }

/* Stats */
.stats { background: var(--light-blue); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 12px 24px; }
.stat-item + .stat-item { border-left: 1px solid rgba(91,127,158,0.20); }
.stat-num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-num i { font-size: 24px; color: var(--accent); margin-right: 6px; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* Reviews */
.reviews { background: var(--bg); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.review-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.review-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.review-img { position: relative; height: 220px; overflow: hidden; }
.review-img img { width: 100%; height: 100%; object-fit: cover; }
.review-img .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); }
.review-body { padding: 24px 28px 28px; }
.review-body .quote { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 16px; }
.review-body .quote i { color: var(--accent); margin-right: 6px; }
.review-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* Plans */
.plans { background: #fff; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 30px 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: all var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.plan-card.featured { border: 2px solid var(--primary); box-shadow: 0 8px 30px rgba(91,127,158,0.15); }
.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 20px; border-radius: 20px; letter-spacing: 0.02em;
}
.plan-name { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.plan-list { margin-bottom: 26px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); padding: 6px 0; }
.plan-list li i { color: var(--green); margin-top: 4px; font-size: 14px; }
.plan-duration { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.plan-duration i { color: var(--accent); margin-right: 6px; }

/* News */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.news-featured {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.news-featured:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.news-featured-img { height: 260px; overflow: hidden; background: var(--light-blue); }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-content { padding: 26px 30px 30px; }
.news-featured-content h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 12px 0 10px; }
.news-featured-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-featured .news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }
.news-featured .read-more { color: var(--primary); font-weight: 600; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list-item {
  background: var(--card); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow);
  transition: all var(--transition); display: block;
}
.news-list-item:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.news-list-item h4 { font-size: 16px; font-weight: 600; line-height: 1.45; margin: 10px 0 6px; transition: color var(--transition); }
.news-list-item:hover h4 { color: var(--primary); }
.news-list-item p { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.news-meta-line { display: flex; gap: 12px; font-size: 13px; color: var(--text-muted); align-items: center; }
.news-empty {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 60px 30px; text-align: center;
  background: #fff;
}
.news-empty .empty-icon { font-size: 48px; margin-bottom: 16px; }
.news-empty p { color: var(--text-muted); font-size: 15px; }
.news-empty p:first-of-type { font-size: 18px; font-weight: 600; color: var(--text); }

/* FAQ */
.faq { background: #fff; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: var(--card); overflow: hidden; transition: all var(--transition); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 26px;
  font-size: 16px; font-weight: 600; cursor: pointer; user-select: none;
}
.faq-question i { transition: transform var(--transition); font-size: 14px; color: var(--text-muted); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 26px 20px; font-size: 15px; line-height: 1.75; color: var(--text-muted); }

/* Contact */
.contact { background: var(--light-blue); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.contact-info-card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-item .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--light-blue); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.info-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.info-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-form-card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.contact-form-card .form-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group label .required { color: #D9534F; margin-left: 2px; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1px solid #D6DDE5; border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: #fff; transition: all var(--transition);
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,127,158,0.2); outline: none; }
textarea.form-input { min-height: 90px; resize: vertical; }

/* Footer */
.site-footer { background: #2E4356; color: #C9D4DE; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.75; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #B9C6D0; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-col .info-line { display: flex; gap: 10px; font-size: 14px; color: #B9C6D0; margin-bottom: 10px; align-items: flex-start; }
.footer-col .info-line i { color: var(--accent); margin-top: 3px; width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; text-align: center; font-size: 13px; color: #A5B2BD; }
.footer-bottom a { color: #C9D4DE; }

/* Responsive */
@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { order: -1; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(3) { border-left: 1px solid rgba(91,127,158,0.20); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --space: 64px; }
  .container { padding: 0 16px; }
  .brand-row { height: 64px; }
  .logo { font-size: 17px; }
  .logo i { font-size: 20px; }
  .header-phone { font-size: 12px; }
  .header-phone span { display: none; }
  .btn-sm { padding: 7px 14px; font-size: 13px; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .services .section-header { flex-direction: column; align-items: flex-start; }
  .reviews-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 16px 12px; }
  .stat-num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-featured-img { height: 180px; }
  .contact-info-card, .contact-form-card { padding: 28px 22px; }
}

/* roulang page: article */
/* ============================================================
   设计变量
============================================================ */
:root {
  --c-primary: #5B7F9E;
  --c-primary-dark: #4A6B88;
  --c-primary-dark-2: #3E5C75;
  --c-primary-light: #EAF1F7;
  --c-primary-alpha: rgba(91, 127, 158, 0.18);
  --c-accent: #B08968;
  --c-accent-light: #F5EEE7;
  --c-green: #3F6B5B;
  --c-green-light: #EAF2EF;
  --c-bg: #F7F8FA;
  --c-card: #FFFFFF;
  --c-border: #E6EAF0;
  --c-input-border: #D6DDE5;
  --c-text: #1F2A36;
  --c-text-secondary: #5B6B7A;
  --c-text-muted: #8A97A5;
  --radius-lg: 16px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(31, 42, 54, 0.06);
  --shadow-hover: 0 8px 30px rgba(31, 42, 54, 0.10);
  --space-section: 96px;
  --space-mobile: 64px;
  --container-w: 1200px;
  --font-base: 16px;
  --lh-base: 1.75;
}

/* ============================================================
   Reset 与基础排版
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--font-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
iframe { max-width: 100%; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   按钮组件
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
}
.btn:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91, 127, 158, .25);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--c-primary-alpha);
  outline-offset: 2px;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-outline:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  box-shadow: none;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============================================================
   顶部双层导航
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-card);
  box-shadow: 0 1px 0 var(--c-border);
}
.header-brand {
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.5px;
}
.logo i { color: var(--c-green); font-size: 22px; }
.brand-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-secondary);
  font-weight: 500;
}
.header-phone i { color: var(--c-primary); }
.header-nav {
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-secondary);
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.nav-link.active {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   文章页主体
============================================================ */
.article-main { background: var(--c-bg); }

/* 全宽头图区域 */
.article-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 72px 0 56px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--c-border);
}
.article-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.article-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.58) 100%);
  z-index: 2;
}
.article-hero .container {
  position: relative;
  z-index: 3;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-secondary);
  margin-bottom: 20px;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--c-primary); }
.crumb-sep { color: var(--c-text-muted); }
.breadcrumb .current { color: var(--c-primary); font-weight: 600; }

/* 文章标题区 */
.article-hero .article-title {
  max-width: 1000px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--c-text-secondary);
}
.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta .meta-item i { color: var(--c-primary); }
.article-meta .cat-tag {
  display: inline-block;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
}

/* 正文阅读区 */
.article-body-wrap { padding: 48px 0 72px; }

.article-content {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 40px 48px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  transition: box-shadow .3s ease;
}

.article-cover {
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.article-cover img { width: 100%; height: auto; }
.cover-caption {
  font-size: 13px;
  color: var(--c-text-secondary);
  text-align: center;
  padding: 12px 16px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

/* 正文排版 */
.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
}
.article-body > p { margin-bottom: 20px; }
.article-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--c-text);
  padding-left: 16px;
  border-left: 4px solid var(--c-primary);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--c-text);
}
.article-body h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 12px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--c-primary);
  background: rgba(241, 245, 249, .85);
  padding: 20px 24px;
  border-radius: var(--radius-xs);
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
}
.article-body blockquote p { margin-bottom: 0; }
.article-body img {
  border-radius: 12px;
  margin: 24px 0;
  width: 100%;
  height: auto;
}
.article-body figure {
  margin: 28px 0;
  text-align: center;
}
.article-body figcaption {
  font-size: 13px;
  color: var(--c-text-secondary);
  text-align: center;
  margin-top: 8px;
}
.article-body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--c-primary-dark); }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-body table th,
.article-body table td {
  border: 1px solid var(--c-border);
  padding: 10px 14px;
  text-align: left;
}
.article-body table th {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-weight: 600;
}

/* 内容未找到空态 */
.article-not-found {
  text-align: center;
  padding: 64px 24px;
}
.not-found-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
}
.article-not-found h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.article-not-found p {
  color: var(--c-text-secondary);
  margin-bottom: 28px;
}

/* ============================================================
   文末工具条（上一篇/下一篇）
============================================================ */
.article-tools {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tool-item {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--c-text-secondary);
  transition: all .25s ease;
}
.tool-item:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.tool-next {
  justify-content: flex-end;
  text-align: right;
}
.tool-item i { font-size: 13px; }

/* ============================================================
   相关推荐区
============================================================ */
.related-posts {
  max-width: 1040px;
  margin: 64px auto 0;
}
.related-posts h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.related-posts .related-sub {
  font-size: 14px;
  color: var(--c-text-secondary);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.related-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-primary-light);
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.related-card:hover .related-thumb img {
  transform: scale(1.03);
}
.related-info {
  padding: 16px 20px 20px;
}
.related-info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.related-info h3 a { transition: color .25s; }
.related-info h3 a:hover { color: var(--c-primary); }
.related-date {
  font-size: 13px;
  color: var(--c-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.related-date i { color: var(--c-accent); }

/* ============================================================
   返回入口
============================================================ */
.back-entry {
  max-width: 1040px;
  margin: 24px auto 0;
  padding-bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.back-entry a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-primary);
  padding: 8px 22px;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-pill);
  transition: all .25s ease;
}
.back-entry a:hover {
  background: var(--c-primary-light);
  transform: translateY(-2px);
}
.back-entry a i { font-size: 13px; }

/* ============================================================
   联系 CTA 条（文章页底部轻量版）
============================================================ */
.article-cta {
  max-width: 1040px;
  margin: 48px auto 0;
  background: var(--c-primary-light);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.article-cta p {
  font-size: 14px;
  color: var(--c-text-secondary);
}
.article-cta .btn {
  flex-shrink: 0;
}

/* ============================================================
   页脚
============================================================ */
.site-footer {
  background: #2E4356;
  color: rgba(255, 255, 255, .85);
  padding-top: 56px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .7);
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  transition: color .25s;
}
.footer-col ul a:hover { color: #fff; }
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 8px;
}
.info-line i {
  color: var(--c-primary);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom a {
  color: rgba(255, 255, 255, .85);
  transition: color .25s;
}
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   响应式断点
============================================================ */
@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .brand-row { height: 64px; }
  .logo { font-size: 17px; }
  .header-phone { display: none; }
  .nav-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    height: 50px;
    scrollbar-width: none;
  }
  .nav-row::-webkit-scrollbar { display: none; }
  .nav-link {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 14px;
  }

  .article-hero {
    min-height: 260px;
    padding: 48px 0 40px;
  }
  .breadcrumb { margin-bottom: 16px; }
  .article-hero .article-title {
    font-size: clamp(26px, 6vw, 34px);
    margin-bottom: 16px;
  }
  .article-meta {
    gap: 12px;
    font-size: 13px;
  }

  .article-body-wrap { padding: 32px 0 48px; }
  .article-content {
    padding: 24px 20px 32px;
    border-radius: var(--radius-md);
  }
  .article-cover { margin-bottom: 20px; }

  .related-grid { grid-template-columns: 1fr; }
  .related-posts { margin-top: 48px; }
  .related-posts .related-sub { margin-bottom: 16px; }

  .article-tools { flex-direction: column; }
  .tool-item { min-width: 100%; }

  .back-entry {
    flex-direction: column;
    align-items: center;
  }
  .back-entry a { width: 100%; justify-content: center; }

  .article-cta {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .article-cta .btn { width: 100%; }

  .site-footer { padding-top: 40px; margin-top: 48px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 24px;
  }
  .footer-bottom {
    text-align: center;
    line-height: 1.6;
  }
}

@media (max-width: 520px) {
  .logo { font-size: 15px; gap: 6px; }
  .brand-right .btn-sm { padding: 7px 14px; font-size: 13px; }
  .article-tools .tool-item {
    font-size: 13px;
    padding: 14px 16px;
  }
}
