/* ============================================
   途安客运全站 CSS — 企业商务藏青版 v3
   完整样式 — 已包含所有页面组件
   ============================================ */

/* ====== CSS VARIABLES ====== */
:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2440;
  --primary-deep: #091a33;
  --accent: #3b6ea8;
  --accent-light: #5a8fc8;
  --accent-soft: #d6e3f0;
  --accent-bg: #edf2f8;
  --white: #ffffff;
  --bg-warm: #f7f9fb;
  --bg-neutral: #eef1f5;
  --bg-mid: #dde5ed;
  --text-dark: #0f1b2d;
  --text-body: #3a4a5c;
  --text-light: #6b7a8d;
  --text-muted: #8a96a6;
  --border: #dbe3ec;
  --success: #2d8a4e;
  --warning: #d48806;
  --danger: #d4380d;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --transition: all 0.25s ease;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
  padding-top: 60px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; vertical-align: middle; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ====== CONTAINER ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--primary); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--white); font-weight: 600;
}
.nav-logo-text { font-size: 16px; font-weight: 600; color: var(--primary-dark); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-light);
  transition: var(--transition);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  padding-left: 16px; border-left: 1px solid var(--bg-mid);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: none;
  cursor: pointer;
  margin-right: 12px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ====== HERO ====== */
.hero-visual {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero-visual--image {
  background-size: cover;
  background-position: center right;
}
.hero-visual--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 36, 64, 0.96) 0%,
    rgba(15, 36, 64, 0.82) 42%,
    rgba(15, 36, 64, 0.45) 72%,
    rgba(15, 36, 64, 0.25) 100%
  );
  z-index: 1;
}
.hero-visual .container { position: relative; z-index: 2; width: 100%; }
.hero-visual__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-visual__content { max-width: 640px; padding: 80px 0; }
.hero-visual__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 80px 0;
}
.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.hero-stat-card--accent {
  background: rgba(91, 143, 200, 0.22);
  border-color: rgba(155, 184, 224, 0.45);
}
.hero-stat-card__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero-stat-card__num span {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-light);
  margin-left: 2px;
}
.hero-stat-card__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
a.hero-trust-badge {
  text-decoration: none;
  transition: var(--transition);
}
a.hero-trust-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.hero-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85);
}
.hero-trust-badge::before {
  content: ''; display: inline-block; width: 5px; height: 5px;
  background: #4ade80; border-radius: 50%;
}
.hero-visual h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 20px;
}
.hero-visual h1 em { font-style: normal; font-weight: 700; color: var(--accent-light); }
.hero-visual__desc {
  font-size: 16px; color: rgba(255,255,255,0.65);
  margin-bottom: 32px; max-width: 440px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg {
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-dark {
  background: var(--primary); color: var(--white);
  border: 1px solid var(--primary);
}
.btn-dark:hover { background: var(--primary-dark); }
.btn-link {
  background: transparent; color: var(--accent);
  font-size: 13px; font-weight: 500;
}

/* ====== CONTACT HERO ====== */
.contact-hero {
  background: var(--primary-dark);
  color: var(--white);
  padding: 48px 0;
}
.contact-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ====== SECTIONS ====== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-neutral); }
.section-warm { background: var(--bg-warm); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  color: var(--accent); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700; color: var(--text-dark);
  line-height: 1.3;
}
.section-title span { color: var(--accent); }
.section-desc {
  color: var(--text-light); font-size: 14px;
  margin-top: 12px; max-width: 520px; margin-left: auto; margin-right: auto;
}

/* ====== STATS STRIP ====== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.stat-card__number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.stat-card__number span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 2px;
}
.stat-card__label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* ====== SERVICE CARDS ====== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { border-color: var(--accent-light); background: var(--bg-warm); }
a.service-card.service-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.service-card__img {
  height: 170px; position: relative; overflow: hidden;
}
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card__img img { transform: scale(1.03); }
.service-card__body { padding: 20px; }
.service-card__body h3 {
  font-size: 16px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
}
.service-card__body p { font-size: 13px; color: var(--text-light); line-height: 1.65; }
.service-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.service-tag {
  font-size: 11px; font-weight: 500; padding: 3px 8px;
  border-radius: var(--radius); background: var(--bg-neutral); color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ====== FLEET CARDS ====== */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fleet-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border); transition: var(--transition);
}
.fleet-card:hover { border-color: var(--accent-light); }
.fleet-card__img { height: 160px; position: relative; overflow: hidden; }
.fleet-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.fleet-card:hover .fleet-card__img img { transform: scale(1.03); }
.fleet-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius);
}
.fleet-card__body { padding: 16px; }
.fleet-card__body h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.fleet-card__body .fleet-desc { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.fleet-card__body .fleet-capacity { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ====== COVERAGE MAP ====== */
.coverage-map {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.coverage-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.city-pin circle:first-child {
  transform-origin: center;
  transform-box: fill-box;
}
.city-pin circle:nth-child(2) {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.3s ease, stroke-width 0.3s ease;
}
.city-pin {
  cursor: pointer;
  opacity: 0;
  animation: pinAppear 0.6s ease-out forwards;
  transform-origin: center;
  transform-box: fill-box;
}
.city-pin circle:first-child {
  animation: pinPulseOuter 3s ease-in-out infinite;
}
.city-pin circle:nth-child(2) {
  animation: pinPulseInner 3s ease-in-out infinite;
}
@keyframes pinPulseOuter {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes pinPulseInner {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.city-pin--hq circle:first-child {
  animation: pinPulseOuterHq 2.4s ease-in-out infinite;
}
.city-pin--hq circle:nth-child(2) {
  animation: pinPulseInnerHq 2.4s ease-in-out infinite;
}
@keyframes pinPulseOuterHq {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes pinPulseInnerHq {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes pinAppear {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}
.city-pin:hover circle:first-child {
  animation-play-state: paused;
  opacity: 0.6;
  transform: scale(1.4);
}
.city-pin:hover circle:nth-child(2) {
  animation-play-state: paused;
  transform: scale(1.2);
}

.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  stroke-dashoffset: 0;
}
.route-long {
  stroke: var(--accent);
  stroke-width: 2.5;
  opacity: 0;
  animation: routeDrawLong 1.8s ease-out forwards, routeFlowLong 4s ease-in-out 1.8s infinite;
}
.route-mid {
  stroke: var(--accent-light);
  stroke-width: 2;
  opacity: 0;
  animation: routeDrawMid 1.5s ease-out forwards, routeFlowMid 5s ease-in-out 1.5s infinite;
}
.route-short {
  stroke: var(--text-muted);
  stroke-width: 1.5;
  opacity: 0;
  animation: routeDrawShort 1.2s ease-out forwards, routeFlowShort 6s ease-in-out 1.2s infinite;
}
@keyframes routeDrawLong {
  to { opacity: 0.7; }
}
@keyframes routeDrawMid {
  to { opacity: 0.55; }
}
@keyframes routeDrawShort {
  to { opacity: 0.6; }
}
@keyframes routeFlowLong {
  0%, 100% { stroke-dasharray: 30 70; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 30 70; stroke-dashoffset: -70; }
}
@keyframes routeFlowMid {
  0%, 100% { stroke-dasharray: 25 75; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 25 75; stroke-dashoffset: -75; }
}
@keyframes routeFlowShort {
  0%, 100% { stroke-dasharray: 20 80; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 20 80; stroke-dashoffset: -80; }
}

/* Full-width layout */
.coverage { background: var(--bg-neutral); padding: 80px 0; }
.coverage-layout { display: flex; flex-direction: column; gap: 32px; }
.coverage-routes h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.coverage-routes > p { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.coverage-route-list { display: flex; flex-direction: column; gap: 8px; }
.coverage-route-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.coverage-route-item:hover { border-color: var(--accent-light); }
.coverage-route-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.coverage-route-detail { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.coverage-route-tag {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; background: var(--bg-neutral); color: var(--text-muted); border: 1px solid var(--border);
}

/* ====== WHY US ====== */
.why-us { padding: 80px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  display: flex; gap: 16px; padding: 24px;
  border-radius: var(--radius-md); border: 1px solid var(--border); transition: var(--transition);
}
.why-card:hover { border-color: var(--accent-light); }
.why-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.why-card h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.why-card p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ====== PROCESS ====== */
.process { background: var(--bg-warm); padding: 70px 0; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 15%; right: 15%;
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin: 0 auto 16px;
}
.process-step h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.process-step p { font-size: 12px; color: var(--text-light); }

/* ====== NEWS CARDS ====== */
.latest-news { padding: 70px 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border); transition: var(--transition);
}
.news-card:hover { border-color: var(--accent-light); }
.news-card__img { height: 150px; position: relative; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-card__img img { transform: scale(1.03); }
.news-card__body { padding: 16px; }
.news-card__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-light); margin-bottom: 8px;
}
.news-card__cat {
  display: inline-block; font-size: 10px; font-weight: 500; padding: 2px 8px;
  border-radius: var(--radius); background: var(--bg-neutral); color: var(--text-muted); border: 1px solid var(--border);
}
.news-card__title {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  line-height: 1.5; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__excerpt {
  font-size: 12px; color: var(--text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more { text-align: center; margin-top: 32px; }
.news-more a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--accent); transition: var(--transition);
}
.news-more a:hover { gap: 10px; }

/* ====== CTA SECTION ====== */
.cta-section {
  background: var(--primary-dark); padding: 60px 0; text-align: center;
}
.cta-section h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.cta-section p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-contact-row {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 32px; flex-wrap: wrap;
}
.cta-contact-item { text-align: center; }
.cta-contact-item .label {
  font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px;
}
.cta-contact-item .value { font-size: 16px; font-weight: 600; color: var(--white); margin-top: 4px; }

/* ====== FOOTER ====== */
/* ====== FRIEND LINKS ====== */
.friend-links {
  background: var(--bg-neutral);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}
.friend-links-group { margin-bottom: 20px; }
.friend-links-group:last-child { margin-bottom: 0; }
.friend-links-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.friend-links-list a {
  color: var(--text-light);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}
.friend-links-list a:hover { color: var(--accent); }
.friend-link-logo {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}
.friend-links-partners .friend-link-logo {
  max-height: 44px;
  max-width: 140px;
}

/* ====== FOOTER ====== */
.footer { background: var(--primary-deep); padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer h4 span { color: var(--accent-light); }
.footer-col h5 {
  font-size: 12px; font-weight: 600; color: var(--white);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.footer p, .footer a { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer a { display: block; padding: 3px 0; transition: var(--transition); }
.footer a:hover { color: var(--accent-light); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.footer-bottom span { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ====== BREADCRUMB ====== */
.breadcrumb {
  padding: 20px 0 20px;
  font-size: 12px;
  color: var(--text-light);
  max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ====== PAGE HEADER ====== */
.page-header {
  background: var(--bg-warm); padding: 40px 0 32px; text-align: center;
}
.page-header h1 { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.page-header p { font-size: 14px; color: var(--text-light); }

/* ====== LIST / LIST ITEMS ====== */
.list-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding: 40px 0 80px; }
.list-main { display: flex; flex-direction: column; gap: 16px; }
.list-item {
  display: flex; gap: 20px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: var(--transition);
}
.list-item:hover { border-color: var(--accent-light); }
.list-item__img {
  flex-shrink: 0; width: 200px; height: 140px;
  border-radius: var(--radius); overflow: hidden;
}
.list-item__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.list-item__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.list-item__body h3 {
  font-size: 17px; font-weight: 600; color: var(--text-dark); line-height: 1.4;
}
.list-item__body h3 a:hover { color: var(--accent); }
.list-item__excerpt { font-size: 13px; color: var(--text-light); line-height: 1.65; }
.list-item__meta {
  display: flex; gap: 12px; font-size: 11px; color: var(--text-light); margin-top: auto;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
}
.sidebar-card h4 {
  font-size: 14px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-card li a { font-size: 13px; color: var(--text-light); transition: var(--transition); }
.sidebar-card li a:hover { color: var(--accent); }
.sidebar-tag { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: var(--radius); background: var(--bg-neutral); color: var(--text-muted); border: 1px solid var(--border); margin: 2px; }

/* ====== DETAIL PAGE ====== */
.detail-layout { padding: 40px 0 80px; }
.detail-main { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.article {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
}
.article__title {
  font-size: 26px; font-weight: 700; color: var(--text-dark);
  line-height: 1.3; margin-bottom: 12px;
}
.article__meta {
  display: flex; gap: 16px; font-size: 12px; color: var(--text-light);
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.article__content {
  font-size: 15px; color: var(--text-body); line-height: 1.85;
}
.article__content h2 {
  font-size: 20px; font-weight: 700; color: var(--text-dark);
  margin: 28px 0 12px;
  padding-left: 10px; border-left: 3px solid var(--accent);
}
.article__content h3 {
  font-size: 17px; font-weight: 600; color: var(--text-dark);
  margin: 20px 0 10px;
}
.article__content p { margin-bottom: 14px; }
.article__content ul, .article__content ol { padding-left: 20px; margin-bottom: 14px; }
.article__content li { list-style: disc; margin-bottom: 4px; }
.article__content blockquote {
  padding: 14px 18px; background: var(--bg-warm); border-left: 3px solid var(--accent);
  margin: 16px 0; color: var(--text-body);
}

/* Related list */
.related-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
}
.related-card h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.related-card ul { display: flex; flex-direction: column; gap: 10px; }
.related-card li a { font-size: 13px; color: var(--text-light); line-height: 1.5; display: block; transition: var(--transition); }
.related-card li a:hover { color: var(--accent); }

/* ====== TOC ====== */
.toc {
  position: sticky;
  top: 80px;
  padding: 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.toc__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.toc__list { display: flex; flex-direction: column; gap: 6px; }
.toc__list a {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  display: block;
  padding: 2px 0;
  transition: var(--transition);
}
.toc__list a:hover { color: var(--accent); }
.toc__list a.indent { padding-left: 12px; font-size: 11px; }

/* ====== DETAIL PAGE ENHANCED ====== */

/* Service Hero */
.service-hero {
  padding: 60px 0;
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.95) 0%, rgba(30,58,95,0.8) 100%);
  z-index: 1;
}
.service-hero .container { position: relative; z-index: 2; }
.service-hero__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: rgba(91,143,200,0.3);
  border: 1px solid rgba(91,143,200,0.5);
  color: #9bb8e0;
  margin-bottom: 16px;
}
.service-hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.service-hero__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 640px;
}
.service-hero--image {
  background-size: cover;
  background-position: center;
}
.service-hero--image::before {
  background: linear-gradient(135deg, rgba(15,36,64,0.92) 0%, rgba(30,58,95,0.78) 55%, rgba(15,36,64,0.85) 100%);
}
.service-hero .breadcrumb {
  justify-content: flex-start;
  margin-bottom: 20px;
  font-size: 12px;
}
.service-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.service-hero .breadcrumb a:hover { color: var(--white); }
.service-hero .breadcrumb span { color: rgba(255,255,255,0.45); }

.service-detail-tabs-wrap {
  margin-top: -22px;
  position: relative;
  z-index: 5;
  margin-bottom: 0;
}
.page-tabs--service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(15,36,64,0.08);
  border-bottom: none;
  margin-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.page-tabs--service::-webkit-scrollbar { display: none; }
.page-tabs--service .page-tab {
  border-bottom: none;
  margin-bottom: 0;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  flex-shrink: 0;
}
.page-tabs--service .page-tab.active {
  background: var(--primary);
  color: var(--white);
  border-bottom-color: transparent;
}
.page-tabs--service .page-tab:hover:not(.active) {
  background: var(--bg-warm);
  color: var(--primary);
}

.article .service-item-content.cms-html-content {
  padding: 0;
}
.article .service-item-content h2:first-child {
  margin-top: 0;
}
.article .service-item-content blockquote {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-warm) 100%);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  font-size: 14px;
}
.article .service-item-content ul li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.sidebar .btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .service-hero { padding: 48px 0 56px; }
  .service-hero__title { font-size: 26px; }
  .service-detail-tabs-wrap { margin-top: -18px; }
  .page-tabs--service .page-tab { padding: 8px 12px; font-size: 12px; }
  .quick-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ====== UNIFIED INNER PAGE SECTIONS ====== */
.page-section {
  padding: 56px 0 80px;
}
.page-section--light {
  background: var(--bg-neutral);
}
.page-section--compact {
  padding-top: 0;
  padding-bottom: 56px;
}
.page-intro-card {
  margin-bottom: 0;
}
.page-tabs--inline {
  margin-bottom: 32px;
  box-shadow: none;
  border: 1px solid var(--border);
}
.contact-info.article,
.contact-form.article {
  padding: 28px;
  height: fit-content;
}
.empty-state-card {
  text-align: center;
  padding: 48px 32px;
}
.empty-state-card .empty-state {
  margin: 0;
  color: var(--text-light);
}

/* Quick Stats */
.quick-stats {
  background: var(--accent-bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.quick-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quick-stat { text-align: center; }
.quick-stat__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.quick-stat__num span {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  margin-left: 2px;
}
.quick-stat__label {
  font-size: 12px;
  color: var(--text-light);
}

/* Article Summary Highlight */
.article__summary {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.article__summary h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.article__summary ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.article__summary li {
  font-size: 13px;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.article__summary li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* Scope Cards */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}
.scope-card {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  transition: var(--transition);
}
.scope-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(59,110,168,0.08);
}
.scope-card__icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scope-card__info strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.scope-card__info p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-list li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Spec Mini Table */
.spec-mini {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0 24px;
}
.spec-mini__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.spec-mini__row:last-child { border-bottom: none; }
.spec-mini__row span:first-child {
  font-weight: 600;
  color: var(--text-dark);
  flex-shrink: 0;
}
.spec-mini__row span:last-child {
  color: var(--text-light);
  text-align: right;
}

/* Route Mini */
.route-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 24px;
}
.route-mini__item {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.route-mini__item:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.route-mini__path {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.route-mini__tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: var(--radius);
}

/* CTA Strip */
.cta-strip {
  padding: 32px 0;
  background: var(--primary-dark);
  color: var(--white);
}
.cta-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-strip h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-strip p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Related Card CTA Variant */
.related-card--cta {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.related-card--cta h4 {
  border-bottom-color: var(--accent-soft);
  color: var(--primary);
}
.related-card--cta p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}
.related-card__active {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  margin-left: 6px;
  vertical-align: middle;
}
.related-card__safe {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ====== SERVICE DETAIL PAGE ====== */
.service-detail__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.service-detail__summary-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.service-detail__summary-text p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 10px;
}
.service-detail__summary-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  min-width: 280px;
}
.stat-mini {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
}
.stat-mini strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-mini span {
  font-size: 12px;
  color: var(--text-light);
}

.service-detail__block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.service-detail__block:last-child {
  border-bottom: none;
}
.service-detail__block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.service-detail__block p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 10px;
}

.service-detail__scopes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.scope-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  transition: var(--transition);
}
.scope-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(59,110,168,0.08);
}
.scope-item__icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scope-item__body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.scope-item__body p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.service-detail__cta {
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.service-detail__cta h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.service-detail__cta p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.service-detail__cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.service-detail__related {
  background: var(--bg-warm);
  padding: 60px 0;
}
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  display: block;
}
.related-service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.related-service-card--active {
  border-color: var(--accent);
  background: var(--accent-bg);
  pointer-events: none;
}
.related-service-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.related-service-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* ====== BLOG LIST PAGE ====== */
.blog-layout {
  padding: 40px 0 80px;
}
.blog-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.blog-filter__tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
}
.blog-filter__tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-filter__tab.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.blog-card__img {
  flex-shrink: 0;
  width: 220px;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}
.blog-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
}
.blog-card__date {
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card__body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}
.blog-card__link:hover {
  text-decoration: underline;
}

.blog-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.blog-pagination__btn,
.blog-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-light);
  background: var(--white);
  transition: var(--transition);
}
.blog-pagination__btn:hover,
.blog-pagination__num:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-pagination__num.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ====== ARTICLE DETAIL PAGE ====== */
.article-layout {
  padding: 40px 0 80px;
}
.article-layout .container-narrow {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article__header {
  margin-bottom: 24px;
}
.article__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.article__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
}
.article__meta time,
.article__meta span {
  font-size: 12px;
  color: var(--text-muted);
}
.article__header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.article__excerpt {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  padding: 14px 18px;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.article__image {
  margin-bottom: 28px;
}
.article__image img {
  width: 100%;
  border-radius: var(--radius-md);
}

.article__body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 32px;
}
.article__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}
.article__body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 10px;
}
.article__body p {
  margin-bottom: 14px;
}
.article__body ul,
.article__body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.article__body li {
  list-style: disc;
  margin-bottom: 6px;
}

.article__footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 40px;
}
.article__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.article__tags span {
  font-size: 12px;
  color: var(--text-muted);
}
.article__tags a {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: var(--radius);
  transition: var(--transition);
}
.article__tags a:hover {
  background: var(--accent-soft);
}
.article__actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.article__share-btn {
  padding: 8px 16px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.article__share-btn:hover {
  background: var(--accent-soft);
}
.article__btn {
  padding: 8px 16px;
  background: var(--bg-neutral);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}
.article__btn:hover {
  background: var(--border);
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-sidebar__block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.article-sidebar__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.related-post {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.related-post:last-child {
  border-bottom: none;
}
.related-post:hover {
  padding-left: 4px;
}
.related-post__tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
}
.related-post h5 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 6px 0 4px;
  line-height: 1.5;
}
.related-post time {
  font-size: 11px;
  color: var(--text-muted);
}

/* CTA Card */
.cta-card {
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.cta-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cta-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* TOC JS highlighting */
.toc__list a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ====== Responsive for new pages ====== */
@media (max-width: 1024px) {
  .service-detail__summary { grid-template-columns: 1fr; gap: 24px; }
  .service-detail__summary-stats { grid-template-columns: repeat(4, 1fr); min-width: auto; }
  .related-services-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout .container-narrow { grid-template-columns: 1fr; }
  .blog-card { flex-direction: column; }
  .blog-card__img { width: 100%; height: 180px; }
}

@media (max-width: 768px) {
  .service-detail__summary-stats { grid-template-columns: repeat(2, 1fr); }
  .service-detail__cta-actions { flex-direction: column; }
  .related-services-grid { grid-template-columns: 1fr; }
  .blog-card__img { height: 160px; }
  .blog-card__body h3 { font-size: 16px; }
  .article__header h1 { font-size: 22px; }
  .article__actions { flex-direction: column; }
  .service-detail__scopes { gap: 8px; }
  .scope-item { padding: 12px 14px; }
  .scope-item__icon { width: 40px; height: 40px; font-size: 22px; }
}


/* ====== CONTACT PAGE ====== */
.contact-hero + .breadcrumb { padding-top: 16px; }

/* contact-layout 在 .section > .container 内部 */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}

/* 两个列容器 */
.contact-layout > div {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
}

.contact-section { padding: 40px 0 80px; }

.contact-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.contact-info__item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--bg-warm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-info__label { font-size: 12px; color: var(--text-light); line-height: 1.3; }
.contact-info__value { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

/* Map area */
.map-area {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px;
  margin-top: 12px;
}

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.form-row label .required { color: var(--danger); margin-left: 3px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; font-family: inherit; color: var(--text-body);
  transition: var(--transition); background: var(--white);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,110,168,0.1);
}
.form-row textarea { resize: vertical; min-height: 100px; }

/* ====== SEARCH BAR ====== */
.search-bar {
  display: flex; gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
}
.search-bar input {
  flex: 1; padding: 10px 14px; border: none;
  font-size: 13px; font-family: inherit; color: var(--text-body);
}
.search-bar input:focus { outline: none; }
.search-bar button {
  padding: 10px 18px; background: var(--primary);
  color: var(--white); font-size: 13px; font-weight: 500;
  transition: var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

/* ====== PAGINATION ====== */
.pagination {
  display: flex; gap: 6px; justify-content: center; margin-top: 32px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; color: var(--text-light); transition: var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ====== FILTER BAR ====== */
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-bar .search-bar { flex: 1; min-width: 200px; }
.filter-bar select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-body);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.filter-bar select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ====== PAGE TABS ====== */
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  padding-bottom: 0;
  overflow-x: auto;
}
.page-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.page-tab:hover { color: var(--primary); }
.page-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* ====== ROUTE TABLE ====== */
.route-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.route-table th,
.route-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.route-table th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.route-table tr:last-child td { border-bottom: none; }
.route-table tr:hover td { background: var(--accent-bg); }
.route-table .route-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  background: var(--bg-neutral);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ====== VEHICLE SPEC TABLE ====== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.spec-table thead th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-dark);
}
.spec-table tbody th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-dark);
  width: 25%;
}

/* ====== FAQ ACCORDION ====== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item__question {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-item__question:hover { background: var(--bg-warm); }
.faq-item__question::after {
  content: '+';
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}
.faq-item.open .faq-item__question::after { content: '\2212'; }
.faq-item__answer {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-item__answer {
  padding: 14px 16px;
  max-height: 500px;
  border-top: 1px solid var(--border);
}

/* ====== NOTIFICATION BOX ====== */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice-info {
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  color: var(--primary-dark);
}
.notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ====== GALLERY GRID ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-grid__item:hover img { transform: scale(1.05); }
.gallery-grid__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* ====== CERTIFICATE WALL ====== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cert-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
  text-align: center;
}
.cert-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.cert-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.cert-card__desc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ====== TIMELINE ====== */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 24px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}
.timeline-item__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item__event {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ====== MAP PLACEHOLDER ====== */
.map-area {
  height: 380px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #dbe3ec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 99;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .nav-links.is-open { display: flex; }
  .nav-phone { border-left: none; padding-left: 0; margin-top: 8px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .coverage-layout { gap: 24px; }
  .coverage-map { height: 320px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-grid::before { display: none; }
  .list-layout { grid-template-columns: 1fr; }
  .detail-main { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .hero-visual__layout { grid-template-columns: 1fr; gap: 0; }
  .hero-visual__content { padding: 50px 0 24px; max-width: none; }
  .hero-visual__stats { padding: 0 0 50px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stat-card { padding: 16px 14px; }
  .hero-stat-card__num { font-size: 26px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-visual h1 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; gap: 12px; }
  .cta-contact-row { gap: 20px; flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .list-item { flex-direction: column; }
  .list-item__img { width: 100%; height: 180px; }
  .article { padding: 20px; }
  .article__title { font-size: 22px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar .search-bar { width: 100%; }
  .route-table { font-size: 12px; }
  .route-table th, .route-table td { padding: 8px 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .page-tabs { gap: 0; }
  .page-tab { padding: 8px 12px; font-size: 12px; }
}

/* ====== CMS 子系统：文章列表 / 知识库 / AI 问答 ====== */
.article-list-detailed,
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 0 80px;
}
.article-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.article-card .cover-link {
  flex-shrink: 0;
  width: 220px;
  display: block;
}
.article-card .cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.article-card .body {
  flex: 1;
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card .meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-card .meta .category {
  color: var(--accent);
  font-weight: 500;
}
.article-card .title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.article-card .title a {
  color: var(--text-dark);
  transition: var(--transition);
}
.article-card .title a:hover { color: var(--accent); }
.article-card .summary {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
}
.article-card--featured .body { padding: 20px; }
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  background: var(--bg-warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-light);
  transition: var(--transition);
}
.pagination a.page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination .page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.cms-search-form,
.search-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  max-width: 520px;
}
.cms-search-form input[type="search"],
.search-form input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-body);
  background: var(--white);
}
.cms-search-form input[type="search"]:focus,
.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
}
.kb-section {
  padding: 40px 0 80px;
}
.kb-grid,
.doc-grid,
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.doc-list { margin-top: 24px; }
.kb-card,
.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}
.kb-card:hover,
.doc-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.kb-card h2,
.doc-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.kb-card h2 a,
.doc-card h3 a {
  color: var(--text-dark);
}
.kb-card h2 a:hover,
.doc-card h3 a:hover { color: var(--accent); }
.kb-card p,
.doc-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.doc-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.search-result-info {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-body);
}
.search-results { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.search-result-item {
  padding: 20px 24px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #dbe3ec);
  border-radius: var(--radius, 8px);
}
.search-result-item__kind {
  display: inline-block;
  font-size: 12px;
  color: var(--primary, #1e3a5f);
  background: rgba(30, 58, 95, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.search-result-item__title { font-size: 18px; margin: 0 0 8px; }
.search-result-item__title a { color: var(--text-heading, #1a1a1a); text-decoration: none; }
.search-result-item__title a:hover { color: var(--primary, #1e3a5f); }
.search-result-item__summary { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cms-contact-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text-light); }
.featured-category-html,
.cms-html-content.ckeditor-content {
  padding: 40px 0 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
}
.featured-category-html h2,
.cms-html-content.ckeditor-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 28px 0 12px;
}
.featured-category-html h3,
.cms-html-content.ckeditor-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 10px;
}
@media (max-width: 768px) {
  .article-card { flex-direction: column; }
  .article-card .cover-link { width: 100%; }
  .article-card .cover { height: 200px; }
  .article-card .body { padding: 16px; }
  .kb-grid, .doc-grid, .doc-list { grid-template-columns: 1fr; }
}

/* CMS toast + contact form helpers */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--primary); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 14px; opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cms-contact-form .form-hint { font-size: 12px; color: var(--text-muted); margin: 8px 0 12px; }
.cms-contact-form .form-status { font-size: 13px; margin-top: 8px; color: var(--success); }
