:root {
  --green: #118943;
  --green-dark: #087237;
  --green-light: #eaf6ee;
  --text: #333333;
  --muted: #6b7a70;
  --line: #dce9e1;
  --white: #ffffff;
  --surface: #f7fbf8;
  --ink: #17251d;
  --shadow: 0 18px 45px rgba(8, 114, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--green-dark);
}

.topbar {
  color: var(--white);
  background: var(--green-dark);
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.custom-logo,
.brand-link img {
  max-height: 58px;
  width: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 8px;
  font-weight: 800;
  font-size: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  color: var(--green-dark);
  font-size: 22px;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 25px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-dark);
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--green-light);
}

.hero-track,
.hero-slide {
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 24%, rgba(234, 246, 238, 0.78), transparent 34%),
    linear-gradient(90deg, rgba(8, 114, 55, 0.92), rgba(17, 137, 67, 0.72) 48%, rgba(255, 255, 255, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 96px 0 130px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content .eyebrow {
  color: var(--green-light);
}

.hero-content h1,
.page-hero h1,
.article-hero h1 {
  margin: 14px 0 18px;
  color: inherit;
  font-size: 56px;
  line-height: 1.15;
}

.hero-content p {
  max-width: 640px;
  margin: 0 0 30px;
  font-size: 20px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

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

.btn-light {
  color: var(--green-dark);
  background: var(--white);
}

.btn-outline {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--green);
}

.hero-dots {
  position: absolute;
  right: 40px;
  bottom: 36px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots button {
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.hero-dots span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section {
  padding: 82px 0;
}

.pale-section {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head h2,
.split-layout h2,
.detail-content h2,
.side-panel h2,
.contact-info h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.25;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 48px;
  align-items: center;
}

.intro-panel,
.side-panel,
.contact-form-card,
.contact-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
  min-height: 280px;
}

.intro-panel::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: var(--green-light);
}

.intro-panel strong {
  display: block;
  color: var(--green-dark);
  font-size: 40px;
  line-height: 1.1;
}

.intro-panel span {
  display: block;
  margin: 12px 0 22px;
  color: var(--green);
  font-weight: 800;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-width: 0;
}

.card-image {
  display: block;
  aspect-ratio: 1.45 / 1;
  background: var(--green-light);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-card:hover .card-image img {
  transform: scale(1.035);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card-body h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.card-body p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--green);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.advantage-item {
  padding: 28px;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 37, 29, 0.08);
}

.advantage-item span {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.advantage-item h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 21px;
}

.advantage-item p {
  margin: 0;
  color: var(--muted);
}

.page-hero,
.article-hero {
  position: relative;
  padding: 82px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 114, 55, 0.96), rgba(17, 137, 67, 0.88)),
    url("../images/placeholder.svg") center / cover;
}

.page-hero p,
.article-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.page-hero .section-kicker,
.article-hero .section-kicker {
  color: var(--green-light);
}

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.term-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.toolbar-row .term-filter {
  margin: 0;
}

.term-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 700;
}

.term-filter a.is-active,
.term-filter a:hover {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.detail-hero {
  padding: 64px 0;
  background: var(--surface);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-light);
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

.detail-summary h1 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.18;
}

.detail-summary p {
  color: var(--muted);
  font-size: 18px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: start;
}

.detail-content,
.article-content {
  min-width: 0;
}

.prose {
  color: var(--text);
  font-size: 17px;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  line-height: 1.3;
}

.prose img {
  border-radius: 8px;
}

.spec-table {
  width: 100%;
  margin: 18px 0 36px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 150px;
  color: var(--green-dark);
  background: var(--green-light);
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-gallery a {
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-light);
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.detail-sidebar {
  position: sticky;
  top: 116px;
}

.side-panel {
  padding: 24px;
  margin-bottom: 18px;
}

.side-panel p {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.article-cover {
  width: 100%;
  margin-bottom: 26px;
  border-radius: 8px;
}

.tag-list {
  margin-top: 24px;
  color: var(--muted);
}

.tag-list a {
  display: inline-flex;
  margin: 4px 6px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--green-light);
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.post-nav a {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 700;
}

.search-form {
  display: flex;
  width: min(100%, 420px);
  gap: 8px;
}

.search-form label {
  flex: 1;
}

.search-field,
.shuotu-contact-form input,
.shuotu-contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.search-form button,
.shuotu-contact-form button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: start;
}

.contact-info,
.contact-form-card {
  padding: 28px;
}

.wechat-box {
  display: block;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.wechat-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 440px;
}

.wechat-qr-item {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.wechat-box img,
.footer-qr img {
  width: min(100%, 180px);
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.wechat-box > span,
.footer-qr > p {
  display: block;
  margin-top: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label {
  color: var(--ink);
  font-weight: 700;
}

.form-grid input,
.form-grid textarea {
  margin-top: 6px;
  font-weight: 400;
}

.form-full {
  grid-column: 1 / -1;
}

.shuotu-hp {
  position: absolute;
  left: -9999px;
}

.form-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-notice.is-success {
  color: var(--green-dark);
  background: var(--green-light);
}

.form-notice.is-error {
  color: #8a1f11;
  background: #fff1ef;
}

.cta-section {
  color: var(--white);
  background: linear-gradient(120deg, var(--green-dark), var(--green));
}

.cta-section .section-kicker {
  color: var(--green-light);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-inner h2 {
  margin: 6px 0;
  color: var(--white);
  font-size: 34px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.88);
  background: #0b2e1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 0.8fr;
  gap: 34px;
  padding: 56px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

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

.site-footer li {
  margin-bottom: 8px;
}

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

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1.1;
}

.footer-bottom {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.mobile-consult-bar {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.page-numbers {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

@media (max-width: 960px) {
  .container,
  .narrow {
    width: min(100% - 28px, 760px);
  }

  .topbar-inner {
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 112px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .menu-open .main-navigation {
    display: block;
  }

  .main-navigation ul {
    display: block;
  }

  .main-navigation a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }

  .main-navigation li:last-child a {
    border-bottom: 0;
  }

  .hero-slider,
  .hero-track,
  .hero-slide {
    min-height: 560px;
  }

  .hero-content {
    padding: 80px 0 110px;
  }

  .card-grid,
  .advantage-grid,
  .news-list,
  .detail-hero-grid,
  .detail-layout,
  .split-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .footer-grid {
    padding-bottom: 92px;
  }

  .mobile-consult-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(23, 37, 29, 0.12);
  }

  .mobile-consult-bar a {
    padding: 12px 8px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .main-navigation {
    top: 78px;
  }

  .hero-slider,
  .hero-track,
  .hero-slide {
    min-height: 520px;
  }

  .hero-content h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: 34px;
  }

  .hero-content p,
  .detail-summary p {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .cta-inner {
    display: block;
  }

  .card-body,
  .contact-info,
  .contact-form-card,
  .side-panel,
  .intro-panel {
    padding: 20px;
  }

  .detail-summary h1 {
    font-size: 32px;
  }

  .detail-gallery,
  .form-grid,
  .post-nav,
  .wechat-qr-list {
    grid-template-columns: 1fr;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .search-form {
    width: 100%;
  }
}
