/* roulang page: index */
:root {
  --primary: #0F9D58;
  --primary-light: #1FC163;
  --primary-dark: #0B7A45;
  --accent: #FF6B1A;
  --accent-light: #FF8A4D;
  --accent-dark: #E85A0F;
  --bg-warm: #F7F5EF;
  --bg-dark: #122217;
  --bg-dark-2: #1A3325;
  --white: #FFFFFF;
  --gray-line: #E8E4DA;
  --gray-mid: #5A6657;
  --text-main: #3A4438;
  --text-deep: #122217;
  --radius-btn: 8px;
  --radius-card: 14px;
  --radius-large: 18px;
  --shadow-default: 0 2px 8px rgba(18,34,23,0.06);
  --shadow-hover: 0 8px 24px rgba(18,34,23,0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --space-section: clamp(40px, 8vw, 100px);
  --container-max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-deep);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 40px;
  background: var(--primary);
  border-radius: 2px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--gray-mid);
  margin-bottom: 32px;
  line-height: 1.8;
}
.text-center .section-title { justify-content: center; }

/* ========== Header / Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--gray-line);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-deep);
  letter-spacing: -0.5px;
}
.logo-divider {
  width: 1px;
  height: 22px;
  background: var(--gray-line);
}
.logo-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(15, 157, 88, 0.08);
}
.nav-link.active {
  background: var(--bg-dark);
  color: var(--white);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box input {
  width: 220px;
  height: 38px;
  border: 1px solid var(--gray-line);
  border-radius: 20px;
  background: var(--white);
  padding: 0 14px 0 36px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: all 0.25s;
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.15);
}
.search-box .icon-search {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-mid);
  pointer-events: none;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-deep);
  border: 1px solid var(--gray-line);
  background: var(--white);
  transition: all 0.2s;
  font-size: 15px;
  font-weight: 600;
}
.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 24px;
  border: none;
  transition: all 0.25s;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 157, 88, 0.3);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 107, 26, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-deep);
  border: 1.5px solid var(--text-deep);
}
.btn-outline:hover {
  background: var(--text-deep);
  color: var(--white);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.text-link:hover { color: var(--primary-dark); }
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-deep);
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding-top: 68px;
  background: url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F7F5EF 0%, rgba(247,245,239,0.72) 48%, rgba(247,245,239,0.08) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: clamp(40px, 8vw, 100px) 0;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-deep);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-mid);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  border-top: 1px solid var(--gray-line);
  padding-top: 24px;
  gap: 0;
  max-width: 540px;
}
.hero-stat-item {
  flex: 1;
  padding-right: 16px;
}
.hero-stat-item + .hero-stat-item {
  border-left: 1px solid var(--gray-line);
  padding-left: 24px;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 2px;
}

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-default);
  border: 1px solid var(--gray-line);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(15, 157, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-mid);
}

/* ========== Steps ========== */
.steps-section {
  background: var(--white);
}
.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 1px;
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  background: var(--bg-warm);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid var(--gray-line);
  transition: all 0.3s;
}
.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.step-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.step-link:hover { color: var(--primary-dark); }
.steps-note {
  background: var(--bg-warm);
  border: 1px dashed var(--gray-line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.steps-note::before {
  content: '🔗';
  font-size: 16px;
}

/* ========== Cases ========== */
.cases-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.cases-track::-webkit-scrollbar { height: 6px; }
.cases-track::-webkit-scrollbar-track { background: var(--gray-line); border-radius: 3px; }
.cases-track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.case-card {
  flex: 0 0 340px;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-default);
  border: 1px solid var(--gray-line);
  overflow: hidden;
  transition: all 0.3s;
  scroll-snap-align: start;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.case-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--gray-line);
}
.case-card-body { padding: 22px; }
.case-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 6px;
}
.case-card-location {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(15, 157, 88, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.case-card-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-stat {
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(15, 157, 88, 0.04);
}
.case-source {
  text-align: right;
  font-size: 12px;
  color: var(--gray-mid);
  margin-top: 12px;
}

/* ========== News CMS ========== */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-default);
  border: 1px solid var(--gray-line);
  transition: all 0.3s;
}
.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-card-body { padding: 20px; }
.news-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-deep);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-mid);
}
.news-card-footer a {
  font-weight: 600;
}
.empty-state {
  grid-column: 1 / -1;
  background: var(--bg-warm);
  border: 1px dashed var(--gray-line);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
  color: var(--gray-mid);
}
.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 12px;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--white);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.faq-intro h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-deep);
  margin-bottom: 18px;
  line-height: 1.25;
}
.faq-intro p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.8;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-warm);
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  transition: all 0.25s;
}
.faq-item.open {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-deep);
  text-align: left;
  gap: 16px;
}
.faq-item.open .faq-question {
  color: var(--primary);
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 157, 88, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-mid);
  border-left: 3px solid var(--primary);
  margin-left: 20px;
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  background: var(--bg-dark);
  border-radius: 0;
  padding: clamp(40px, 8vw, 90px) 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.webp') center / cover no-repeat;
  opacity: 0.25;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-text {
  color: var(--white);
}
.cta-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.cta-form-wrap {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-large);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form input,
.cta-form select {
  height: 46px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.95);
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s;
}
.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.25);
}
.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6657' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.cta-form .btn { width: 100%; height: 46px; font-size: 16px; }
.form-success {
  text-align: center;
  padding: 24px;
  color: var(--white);
  font-size: 15px;
  background: rgba(15, 157, 88, 0.3);
  border-radius: var(--radius-btn);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
  padding-bottom: 24px;
}
.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: var(--primary-light); }
.footer-brand .logo-divider { background: rgba(255,255,255,0.2); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: all 0.2s;
}
.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}
.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .header-actions .icon-btn { display: none; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .main-nav { display: none; }
  .search-box { display: none; }
  .mobile-toggle { display: flex; }
  .header-inner { height: 60px; }
  .hero { padding-top: 60px; }
  .hero-title { font-size: 30px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .hero-stat-item { flex: 1 1 40%; border-left: none !important; padding-left: 0 !important; padding-right: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: 1fr; gap: 16px; }
  .steps-track::before { display: none; }
  .step-card { display: flex; gap: 16px; align-items: flex-start; }
  .step-num { font-size: 24px; margin-bottom: 0; }
  .case-card { flex-basis: 280px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-form-wrap { padding: 24px; }
}
@media (max-width: 520px) {
  .hero-btns .btn { width: 100%; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .news-card h3 { font-size: 15px; }
  .case-card { flex-basis: 260px; }
}

/* roulang page: article */
:root {
  --primary: #0F9D58;
  --primary-dark: #0B8043;
  --primary-light: #1FC163;
  --accent: #FF6B1A;
  --accent-light: #FF8A4A;
  --bg: #F7F5EF;
  --dark: #122217;
  --dark-light: #1A3A28;
  --white: #FFFFFF;
  --gray-line: #E8E4DA;
  --gray-text: #5A6657;
  --text-main: #3A4438;
  --text-strong: #122217;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(18,34,23,0.06);
  --shadow-md: 0 8px 24px rgba(18,34,23,0.12);
  --container: 1200px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: var(--container);
  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-sm);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Header 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.header-left {
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: 0.5px;
}

.logo-divider {
  width: 1px;
  height: 22px;
  background: var(--gray-line);
}

.logo-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(15, 157, 88, 0.08);
  color: var(--primary);
}

.nav-link.active {
  background: var(--dark);
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.command-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 44px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.command-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.15);
}

.command-search svg {
  width: 16px;
  height: 16px;
  color: var(--gray-text);
  flex-shrink: 0;
}

.command-search input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  color: var(--text-main);
}

.command-search input::placeholder {
  color: var(--gray-text);
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.header-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header-icon svg {
  width: 18px;
  height: 18px;
}

/* ===== 面包屑 ===== */
.breadcrumb-wrap {
  padding: 28px 0 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.bc-sep {
  color: var(--gray-line);
  font-weight: 700;
}

.breadcrumb .current {
  color: var(--text-main);
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 文章区 ===== */
.article-main {
  padding: 20px 0 80px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-strong);
  margin: 12px 0 20px;
  letter-spacing: 0.5px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 13px;
  color: var(--gray-text);
}

.meta-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: rgba(15, 157, 88, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
}

.meta-sep {
  color: var(--gray-line);
}

/* 正文 */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 30px;
}

.article-body p {
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-strong);
  border-top: 1px solid var(--gray-line);
  padding-top: 28px;
  margin: 1.5em 0 0.6em;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 1.2em 0 0.6em;
}

.article-body img {
  max-width: 100%;
  border-radius: 16px;
  height: auto;
  margin: 1.5em 0;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: #EAF3EC;
  padding: 16px 22px;
  border-radius: 0 10px 10px 0;
  margin: 1.2em 0;
  color: var(--text-main);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 0.4em;
}

.article-body strong {
  font-weight: 700;
  color: var(--text-strong);
}

/* 标签区 */
.article-foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 0;
  border-top: 1px solid var(--gray-line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--primary);
  color: var(--white);
}

.article-back {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* 无内容占位 */
.article-missing {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px dashed var(--gray-line);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.article-missing p {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.article-missing a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.article-skeleton {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  border: 1px solid var(--gray-line);
}

.sk-line {
  background: linear-gradient(90deg, #EDEAE2 0%, #F7F5EF 50%, #EDEAE2 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 6px;
  margin-bottom: 14px;
}

.sk-title {
  background: linear-gradient(90deg, #E0DDD4 0%, #EDEAE2 50%, #E0DDD4 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 8px;
  margin-bottom: 28px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== 相关推荐 ===== */
.related-section {
  background: var(--white);
  padding: 70px 0;
  border-top: 1px solid var(--gray-line);
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 32px;
  padding-left: 18px;
  border-left: 4px solid var(--primary);
  line-height: 1.3;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  transition: all 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.related-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.5;
}

.related-card span {
  font-size: 13px;
  color: var(--gray-text);
}

/* ===== CTA ===== */
.article-cta {
  position: relative;
  padding: 90px 0;
  background-image: url('/assets/images/coverpic/cover-4.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.article-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 34, 23, 0.78);
}

.article-cta .container {
  position: relative;
  z-index: 2;
}

.cta-inner {
  max-width: 640px;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-image-slice: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-main {
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .header-inner {
    gap: 14px;
  }
  .command-search {
    width: 170px;
  }
  .header-icon {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 64px;
  }
  .logo-main {
    font-size: 20px;
  }
  .logo-sub {
    font-size: 15px;
  }
  .main-nav {
    overflow-x: auto;
    gap: 4px;
    flex: 1;
    margin: 0 4px;
    padding: 4px 0;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
  }
  .command-search {
    display: none;
  }
  .header-right .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
  .article-title {
    font-size: 28px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .header-left .logo-divider {
    display: none;
  }
  .header-left .logo-sub {
    display: none;
  }
  .header-right .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .article-content {
    padding: 0;
  }
  .article-body {
    padding-top: 24px;
  }
  .related-card {
    padding: 20px;
  }
  .article-cta {
    padding: 64px 0;
  }
  .cta-inner h2 {
    font-size: 26px;
  }
}

/* roulang page: category1 */
:root {
  --primary: #0F9D58;
  --primary-light: #1FC163;
  --primary-dark: #0B7A44;
  --accent: #FF6B1A;
  --accent-light: #FF8A47;
  --bg: #F7F5EF;
  --dark: #122217;
  --dark-light: #1D3427;
  --white: #FFFFFF;
  --line: #E8E4DA;
  --text: #3A4438;
  --muted: #5A6657;
  --text-main: #3A4438;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(18, 34, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 34, 23, 0.12);
  --container: 1200px;
  --section-space: clamp(40px, 8vw, 100px);
  --header-height: 72px;
  --font-h1: clamp(32px, 5vw, 56px);
  --font-h2: clamp(26px, 3.5vw, 40px);
}

*,
*::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", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--primary);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 14px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.logo-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
}

.main-nav .nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.main-nav .nav-link:hover {
  background: var(--line);
  color: var(--dark);
}

.main-nav .nav-link.active {
  background: var(--dark);
  color: var(--white);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  justify-content: flex-end;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  width: 200px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.15);
}

.search-box svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--text);
}

.search-box input::placeholder {
  color: var(--muted);
}

.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}

.header-icon:hover {
  background: var(--line);
  color: var(--dark);
}

.header-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 157, 88, 0.3);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  font-size: 15px;
  padding: 12px 26px;
}

.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 26, 0.3);
  color: var(--white);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.btn-text:hover {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle:hover {
  background: var(--line);
}

/* Mobile Sheet */
.mobile-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-sheet.open {
  pointer-events: auto;
  visibility: visible;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(18, 34, 23, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-sheet.open .sheet-mask {
  opacity: 1;
}

.sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 24px 24px 32px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 32px rgba(18, 34, 23, 0.18);
}

.mobile-sheet.open .sheet-panel {
  transform: translateY(0);
}

.sheet-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  margin-bottom: 20px;
}

.sheet-search svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
}

.sheet-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

.sheet-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.sheet-nav a {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.sheet-nav a.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.sheet-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sheet-panel .btn {
  width: 100%;
}

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(40px, 7vw, 80px)) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(90deg, #F7F5EF 0%, rgba(247, 245, 239, 0.72) 48%, rgba(247, 245, 239, 0.08) 100%), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--muted);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
}

.hero-title {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  max-width: 680px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .accent-text {
  color: var(--primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  padding: 18px 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 4px 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--line);
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-space) 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-bar {
  width: 4px;
  height: 40px;
  background: var(--primary);
  border-radius: 4px;
  flex-shrink: 0;
}

.section-head h2 {
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 720px;
}

/* ---------- Category Intro Layout ---------- */
.cat-intro-section {
  background: var(--bg);
}

.cat-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(24px, 4vw, 48px);
}

.cat-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.cat-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 28px;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  background: rgba(15, 157, 88, 0.04);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  background: var(--bg);
}

.entry-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: var(--white);
}

.entry-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.entry-item h3 a:hover {
  color: var(--primary);
}

.entry-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.entry-meta a {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.entry-meta a::after {
  content: '→';
  transition: transform 0.2s;
}

.entry-meta a:hover::after {
  transform: translateX(3px);
}

/* Side */
.cat-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rel-cats {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.rel-cats h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tags a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.cat-tags a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.side-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.side-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.side-card:hover img {
  transform: scale(1.03);
}

.side-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18, 34, 23, 0.35));
  pointer-events: none;
}

/* ---------- Features ---------- */
.features-section {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 157, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Scenes ---------- */
.scenes-section {
  background: var(--bg);
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.scene-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.scene-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.scene-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scene-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.scene-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.scene-tag {
  margin-top: 16px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(15, 157, 88, 0.08);
  border: 1px solid rgba(15, 157, 88, 0.2);
  border-radius: 999px;
  padding: 4px 12px;
  align-self: flex-start;
}

/* ---------- Process ---------- */
.process-section {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  margin-bottom: 32px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 4px;
  opacity: 0.35;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px 22px;
  text-align: left;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.process-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.step-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.9;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.step-link::after {
  content: '→';
  transition: transform 0.2s;
}

.step-link:hover::after {
  transform: translateX(3px);
}

.step-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(90, 102, 87, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
}

.process-note {
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-note::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(24px, 4vw, 48px);
}

.faq-left {
  padding-right: 10px;
}

.faq-left .section-bar {
  margin-bottom: 18px;
}

.faq-left h2 {
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.faq-left p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: transparent;
  transition: background 0.25s;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-question:hover {
  background: rgba(15, 157, 88, 0.03);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  border-left: 3px solid var(--primary);
  margin-left: 22px;
  background: rgba(15, 157, 88, 0.02);
  border-radius: 0 0 0 8px;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--white);
  padding-bottom: var(--section-space);
}

.cta-block {
  position: relative;
  background: linear-gradient(rgba(18, 34, 23, 0.78), rgba(18, 34, 23, 0.78)), url('/assets/images/backpic/back-3.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  color: var(--white);
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.cta-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
}

.cta-form input,
.cta-form select {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.cta-form input::placeholder {
  color: var(--muted);
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.2);
}

.cta-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6657' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.cta-form .btn-accent {
  padding: 12px 28px;
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(40px, 6vw, 64px) 0 32px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-main {
  color: var(--white);
}

.footer-brand .logo-divider {
  background: rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-sub {
  color: var(--primary-light);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box {
    width: 160px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-icon {
    display: none;
  }

  .search-box {
    display: none;
  }

  .btn-sm {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: row;
    padding: 14px 0;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .cat-layout {
    grid-template-columns: 1fr;
  }

  .cat-side {
    flex-direction: row;
    gap: 16px;
  }

  .rel-cats {
    flex: 1;
  }

  .side-card {
    flex: 1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .scenes-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-steps::before {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .logo-main {
    font-size: 17px;
  }

  .logo-sub {
    font-size: 14px;
  }

  .logo-divider {
    height: 16px;
  }

  .btn-sm {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .stat-item {
    padding: 6px 12px;
  }

  .stat-item:not(:last-child)::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
  }

  .cat-side {
    flex-direction: column;
  }

  .cta-block {
    padding: 28px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
