:root {
  --ink: #14231c;
  --ink-soft: #40504a;
  --paper: #f7f5ef;
  --paper-2: #eef2e9;
  --green: #1e6b4f;
  --green-deep: #144a38;
  --green-dark: #0c3024;
  --amber: #e7a83b;
  --amber-dark: #c98b1f;
  --slate: #516a78;
  --line: #dfe4dc;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 6px 18px rgba(20, 35, 28, 0.08);
  --shadow-md: 0 14px 34px rgba(20, 35, 28, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--green-dark);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(12, 48, 36, 0.92);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--green-dark);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

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

.brand-text strong {
  font-size: 1.18rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

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

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

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-accent {
  background: var(--amber);
  color: var(--green-dark);
}

.btn-accent:hover {
  background: var(--amber-dark);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(100deg, rgba(8, 38, 28, 0.92) 0%, rgba(10, 46, 34, 0.78) 42%, rgba(10, 46, 34, 0.35) 72%, rgba(8, 38, 28, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 150px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid rgba(231, 168, 59, 0.65);
  border-radius: 999px;
  background: rgba(231, 168, 59, 0.14);
  color: #ffd68a;
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow svg {
  width: 1em;
  height: 1em;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin: 56px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-stats div {
  min-width: 150px;
}

.hero-stats dt {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--amber);
}

.hero-stats dt small {
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Section shells */
.section-head {
  max-width: 760px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.section-head h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-lead {
  margin: 16px auto 0;
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Pain band */
.pain-band {
  padding: 92px 0;
  background: var(--paper);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.pain-item {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pain-item h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.pain-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--green);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.icon-box-accent {
  background: #fdeed2;
  color: var(--amber-dark);
}

/* Values */
.values {
  padding: 100px 0;
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.value-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.value-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.value-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.value-card:hover .value-media img {
  transform: scale(1.04);
}

.value-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 48, 36, 0.82);
  color: #ffd68a;
  font-size: 0.82rem;
  font-weight: 700;
}

.value-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.value-body .icon-box {
  margin-bottom: 16px;
}

.value-body h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.4;
}

.value-body p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.value-body ul {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.value-body li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.value-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* Calculator */
.calculator {
  padding: 100px 0;
  background: var(--green-dark);
  color: var(--white);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.calc-intro h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.3;
}

.calc-intro > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.calc-intro strong {
  color: #ffd68a;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 5px;
  width: 19px;
  height: 19px;
  color: var(--amber);
}

.calc-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.calc-panel h3 {
  margin: 0 0 22px;
  font-size: 1.25rem;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 107, 79, 0.16);
}

.input-with-unit {
  display: flex;
  align-items: stretch;
}

.input-with-unit input {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius);
}

.input-with-unit span {
  display: grid;
  place-items: center;
  min-width: 56px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.result-title {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--green);
}

.calc-result dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.calc-result dl div {
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--paper);
}

.calc-result dt {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.calc-result dd {
  margin: 6px 0 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--green-dark);
}

.calc-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Trust */
.trust {
  position: relative;
  padding: 110px 0;
  color: var(--white);
  overflow: hidden;
}

.trust-media,
.trust-overlay {
  position: absolute;
  inset: 0;
}

.trust-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-overlay {
  background: linear-gradient(115deg, rgba(10, 42, 31, 0.94) 0%, rgba(10, 42, 31, 0.82) 52%, rgba(10, 42, 31, 0.58) 100%);
}

.trust-content {
  position: relative;
  z-index: 2;
}

.trust-content h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.3;
}

.trust blockquote {
  max-width: 820px;
  margin: 30px 0 0;
}

.trust blockquote p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}

.trust blockquote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #ffd68a;
  font-size: 0.95rem;
  font-weight: 700;
}

.quote-mark {
  font-size: 2rem;
  line-height: 1;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
}

.trust-stats div {
  min-width: 190px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.trust-stats strong {
  display: block;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1.1;
}

.trust-stats strong small {
  font-size: 1rem;
}

.trust-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

/* Service */
.service {
  padding: 100px 0;
  background: var(--paper);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.service-steps li {
  position: relative;
  padding: 30px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #b9c4b8;
}

.service-steps h3 {
  margin: 18px 0 8px;
  font-size: 1.06rem;
}

.service-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: var(--green-deep);
  color: var(--white);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.cta-copy h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.3;
}

.cta-copy > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta-copy strong {
  color: #ffd68a;
}

.cta-media {
  margin-top: 30px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.form-note svg {
  width: 15px;
  height: 15px;
}

.form-success {
  text-align: center;
  padding: 20px 8px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  background: #fdeed2;
  color: var(--amber-dark);
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.form-success p {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 44px;
  padding: 64px 0 44px;
}

.footer-brand p {
  margin: 18px 0 0;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--white);
}

.footer-links a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.94rem;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc-layout,
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 76px;
  }

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

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-content {
    padding: 128px 0 60px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stats div {
    min-width: 130px;
  }

  .section-head h2,
  .calc-intro h2,
  .trust-content h2,
  .cta-copy h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-text small {
    display: none;
  }

  .header-actions .btn-sm span {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 0 13px;
  }

  .hero-content {
    padding: 116px 0 48px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stats div {
    min-width: 110px;
  }

  .hero-stats dt {
    font-size: 1.7rem;
  }

  .pain-band,
  .values,
  .calculator,
  .trust,
  .service,
  .cta {
    padding: 70px 0;
  }

  .pain-grid,
  .value-grid,
  .service-steps,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .calc-result dl {
    grid-template-columns: 1fr;
  }

  .service-steps {
    margin-top: 34px;
  }

  .calc-panel,
  .form-card {
    padding: 24px 20px;
  }

  .footer-grid {
    gap: 32px;
  }

  .trust-stats div {
    min-width: 100%;
  }

  .cta-media {
    aspect-ratio: 16 / 10;
  }
}
