:root {
  --green-950: #092f2a;
  --green-900: #0d3d36;
  --green-800: #145047;
  --gold: #b9945b;
  --gold-strong: #a57b3f;
  --paper: #f7f3eb;
  --paper-2: #efebe2;
  --ink: #18221f;
  --muted: #66736f;
  --line: #ded7c9;
  --white: #fffdf8;
  --red-deep: #c62828;
  --shadow: 0 18px 45px rgba(14, 39, 34, .12);
}

/* Contact conversion widgets are intentionally hidden for the current information-first positioning. */
.mobile-contact-bar,
.qr-modal {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.mobile-contact-bar,
.qr-modal {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(222, 215, 201, .78);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--green-950);
}
.brand-logo {
  width: 58px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 6px;
}
.brand strong { display: block; font-size: 20px; letter-spacing: 0; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.header-hotline {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 180px;
  padding: 8px 14px;
  border-left: 1px solid var(--line);
  color: var(--green-950);
  line-height: 1.18;
}
.header-hotline span {
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 800;
}
.header-hotline strong {
  margin-top: 3px;
  color: #c62828;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: #31413d;
  font-size: 15px;
  white-space: nowrap;
}
.site-nav a:hover, .text-link:hover { color: var(--gold-strong); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 64px) 42px;
  background: linear-gradient(135deg, #fffdf8 0%, #f5efe4 62%, #e7e9dc 100%);
}
.hero h1 {
  margin: 12px 0 18px;
  color: var(--green-950);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.hero p {
  max-width: 650px;
  margin: 0 0 22px;
  color: #46534f;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.eyebrow {
  display: inline-flex;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.tag-row span {
  padding: 7px 12px;
  border: 1px solid rgba(185, 148, 91, .45);
  border-radius: 6px;
  color: var(--green-900);
  background: rgba(255, 253, 248, .68);
  font-size: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}
.button.primary { color: #fff; background: var(--green-900); }
.button.secondary { color: var(--green-900); border: 1px solid var(--gold); background: rgba(255, 253, 248, .72); }
.hero-media {
  margin: 0;
  border: 1px solid rgba(185, 148, 91, .34);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-carousel {
  position: relative;
}
.carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 38, 32, .48);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--gold);
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 64px);
}
.section.muted { background: var(--paper); }
.section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head h2, .brand-copy h2, .page-hero h1, .article-detail h1 {
  margin: 8px 0 10px;
  color: var(--green-950);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.24;
  letter-spacing: 0;
}
.section-head p { margin: 0; color: var(--muted); }

.process-grid, .feature-grid, .category-grid, .reading-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.process-card, .feature-card, .category-card, .article-card, .role-card, .list-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(14, 39, 34, .06);
}
.process-card, .feature-card, .category-card, .role-card, .list-panel { padding: 22px; }
.line-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(185, 148, 91, .55);
  border-radius: 8px;
  color: var(--gold-strong);
  background: rgba(247, 243, 235, .8);
  font-weight: 800;
}
h3 { margin: 14px 0 8px; color: var(--green-950); font-size: 19px; line-height: 1.35; }
.process-card p, .feature-card p, .category-card p, .role-card p, .article-card p { margin: 0; color: var(--muted); font-size: 15px; }

.service-consult-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 24px;
  border: 1px solid rgba(185, 148, 91, .38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 253, 248, .96), rgba(247, 243, 235, .96));
  box-shadow: 0 14px 34px rgba(14, 39, 34, .08);
}
.service-consult-card h3 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.25;
}
.service-consult-card p {
  margin: 0;
  color: var(--muted);
}
.service-consult-card .consult-phone {
  margin-top: 10px;
  color: var(--green-900);
  font-weight: 900;
}
.consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.consult-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 900;
}
.consult-actions .secondary {
  border: 1px solid var(--line);
  color: var(--green-900);
  background: var(--white);
}
.consult-actions .primary {
  color: var(--white);
  background: var(--green-900);
}

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

.role-grid, .checklist-grid, .brand-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.role-card { padding: 30px; }
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-900);
  font-weight: 800;
}
.list-panel h3 { margin-top: 0; }
.list-panel ul { margin: 14px 0 0; padding: 0; list-style: none; }
.list-panel li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  color: #33413d;
}
.list-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.boundary-band { background: #f8f6ef; }
.feature-grid.four, .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card {
  display: flex;
  flex-direction: column;
  min-height: 214px;
}
.category-card .text-link { margin-top: auto; }
.sub-category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.sub-category-row a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-900);
  background: var(--white);
}

.reading-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.reading-group h3 { margin: 0 0 14px; }
.reading-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.article-card { overflow: hidden; }
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-2);
}
.article-card-body { padding: 16px; }
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--gold-strong); font-size: 13px; font-weight: 700; }
.article-card h4 { margin: 8px 0; color: var(--green-950); font-size: 17px; line-height: 1.35; }
.article-card .text-link { margin-top: 12px; }

.brand-section {
  align-items: center;
  max-width: none;
  background: linear-gradient(90deg, var(--green-950), var(--green-800));
  color: #fff;
}
.brand-copy { max-width: 620px; justify-self: end; }
.brand-copy h2, .brand-copy p { color: #fff; }
.brand-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(185, 148, 91, .48);
}
.brand-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(320px, 1.25fr) minmax(220px, .9fr);
  align-items: center;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  color: rgba(255,255,255,.84);
  background: #082620;
}
.site-footer p { margin: 4px 0 0; }
.footer-consult-card {
  padding: 20px;
  border: 1px solid rgba(185, 148, 91, .46);
  border-radius: 8px;
  color: var(--green-950);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}
.footer-consult-card h2 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}
.footer-consult-card p {
  margin: 0;
  color: #53635f;
  font-size: 14px;
  line-height: 1.65;
}
.footer-consult-card .footer-phone {
  margin-top: 10px;
  color: var(--green-900);
  font-size: 17px;
  font-weight: 900;
}
.footer-consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer-consult-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
}
.footer-consult-actions .secondary {
  border: 1px solid var(--line);
  color: var(--green-900);
  background: var(--white);
}
.footer-consult-actions .primary {
  color: var(--white);
  background: var(--green-900);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.mobile-contact-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 2.5cm;
  box-shadow: 0 -8px 22px rgba(8, 38, 32, .18);
}
.mobile-contact-bar a, .mobile-contact-bar button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 0;
  color: #fff;
  font: inherit;
  line-height: 1.28;
  text-align: center;
}
.mobile-contact-bar button {
  background: #07c160;
  cursor: pointer;
}
.mobile-contact-bar a {
  flex-direction: column;
  gap: 2px;
  background: var(--red-deep);
}
.contact-qr {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
  color: #07a652;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
  cursor: zoom-in;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.mobile-contact-bar strong {
  max-width: 100%;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: normal;
}
.contact-copy > span,
.mobile-contact-bar a > span {
  font-size: 24px;
  font-weight: 900;
  opacity: .94;
}
.contact-copy > span,
.mobile-contact-bar a > span {
  letter-spacing: 0;
}

.template-main, .article-shell { max-width: 1180px; margin: 0 auto; }
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 32px;
  align-items: center;
  padding: 48px 18px 18px;
}
.page-hero p { color: var(--muted); }
.page-hero img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pager {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.pager a, .pager span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.category-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  padding: 42px 18px 72px;
}
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-detail {
  min-width: 0;
}
.article-detail h1 { font-size: clamp(28px, 4vw, 46px); }
.article-cover {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-content {
  color: #283631;
  font-size: 17px;
}
.article-content p { margin: 0 0 16px; }
.article-content h2 {
  margin: 30px 0 12px;
  color: var(--green-950);
  font-size: 24px;
  line-height: 1.35;
}
.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}
.article-aside section {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.article-aside h2 { margin: 0 0 12px; font-size: 20px; color: var(--green-950); }
.aside-link {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #30413c;
  font-weight: 700;
}
.aside-link:first-child { border-top: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 90;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: rgba(8, 38, 32, .95);
  box-shadow: var(--shadow);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(8, 38, 32, .72);
}
.qr-modal.open { display: grid; }
.qr-modal-image img {
  width: min(420px, 82vw);
  height: auto;
  border: 12px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}
.qr-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px;
  color: #fff;
  background: rgba(8, 38, 32, .88);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .site-header { gap: 14px; }
  .site-nav { gap: 12px; font-size: 14px; }
  .header-hotline { min-width: 158px; padding: 7px 10px; }
  .header-hotline span { font-size: 12px; }
  .header-hotline strong { font-size: 18px; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  body { padding-bottom: 0; }
  .site-header {
    min-height: 86px;
    padding: 0 14px;
  }
  .brand small { display: none; }
  .brand { gap: 8px; }
  .brand strong {
    font-size: 24px;
    line-height: 1.08;
  }
  .header-hotline {
    min-width: 0;
    margin-left: auto;
    padding: 3px 6px;
    border-left: 0;
    text-align: right;
  }
  .header-hotline span {
    font-size: 10px;
    line-height: 1.1;
  }
  .header-hotline strong {
    margin-top: 2px;
    font-size: 19px;
    line-height: 1.08;
  }
  .brand-logo {
    width: 64px;
    height: 48px;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--green-900);
    background: var(--white);
    font-weight: 800;
  }
  .site-nav {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 11px 0;
    border-top: 1px solid var(--line);
  }
  .site-nav a:nth-child(n+8) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 16px 34px;
  }
  .hero-copy, .hero-media { min-width: 0; }
  .hero h1 { font-size: 30px; line-height: 1.22; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .process-grid, .feature-grid.four, .category-grid, .reading-groups, .reading-grid, .role-grid, .checklist-grid, .brand-section, .page-hero, .article-shell, .article-list, .category-grid.compact {
    grid-template-columns: 1fr;
  }
  .service-consult-card {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
  }
  .consult-actions {
    justify-content: stretch;
  }
  .consult-actions a {
    flex: 1 1 140px;
  }
  .section { padding: 48px 16px; }
  .section-head { text-align: left; margin-bottom: 24px; }
  .brand-copy { justify-self: auto; }
  .site-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding-bottom: 34px;
  }
  .footer-consult-card {
    order: 2;
    padding: 18px;
  }
  .footer-consult-card h2 { font-size: 20px; }
  .footer-consult-actions a {
    flex: 1 1 138px;
  }
  .footer-links {
    order: 3;
    justify-content: flex-start;
  }
  .mobile-contact-bar {
    height: 3cm;
  }
  .mobile-contact-bar a, .mobile-contact-bar button {
    gap: 8px;
  }
  .contact-qr {
    display: none;
  }
  .contact-copy {
    align-items: center;
  }
  .mobile-contact-bar strong {
    padding: 0 6px;
    font-size: 14px;
  }
  .contact-copy > span,
  .mobile-contact-bar a > span { font-size: 24px; }
  .article-shell { padding-top: 28px; }
  .article-aside { position: static; }
}

@media (max-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-service-bar {
    display: none;
  }
  .mobile-service-bar .bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 6px 10px;
    font-weight: 900;
    line-height: 1.12;
    text-align: center;
  }
  .mobile-service-bar .secondary {
    color: var(--green-900);
    background: var(--paper);
  }
  .mobile-service-bar .primary {
    flex-direction: column;
    gap: 2px;
    color: var(--white);
    background: var(--green-900);
  }
  .mobile-service-bar .primary span {
    display: block;
    color: #f0d8a8;
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* Final override: hide fixed contact bar and QR modal on all viewports. */
.mobile-contact-bar,
.mobile-service-bar,
.qr-modal,
.qr-modal.open {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
