:root {
  --ink: #17251f;
  --muted: #5d7168;
  --line: #d7e4de;
  --paper: #f8fbf8;
  --surface: #ffffff;
  --green: #168a61;
  --green-2: #2ebd7d;
  --amber: #f2b84b;
  --blue: #1e6d8d;
  --deep: #273832;
  --shadow: 0 18px 50px rgba(37, 62, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(176px, 260px) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(248, 251, 248, 0.92);
  border-bottom: 1px solid rgba(215, 228, 222, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 220px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
}

.button {
  padding: 0 22px;
}

.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(22, 138, 97, 0.2);
}

.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  min-height: calc(100vh - 77px);
  padding: clamp(44px, 8vw, 90px) clamp(18px, 5vw, 72px) 44px;
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9em;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.nowrap {
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.quick-contact a {
  color: var(--green);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 520px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats div {
  padding: 18px 18px 18px 0;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 850;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 10% 4% auto auto;
  width: 42%;
  aspect-ratio: 1;
  content: "";
  background: var(--amber);
  border-radius: 999px;
  opacity: 0.25;
  transform: translate(16%, -12%);
}

.hero-media img {
  position: relative;
  width: min(760px, 58vw);
  border: 1px solid rgba(199, 219, 209, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
}

.trust-strip span {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--deep);
  background: #fff;
  font-weight: 750;
  text-align: center;
}

.section,
.band,
.value-section,
.contact {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 70px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading .eyebrow {
  align-self: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 258px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 850;
}

.card-icon.amber {
  background: var(--amber);
  color: #4c3712;
}

.card-icon.blue {
  background: var(--blue);
}

.card-icon.dark {
  background: var(--deep);
}

.card-icon.mint {
  background: #d9f2e6;
  color: var(--green);
}

.band {
  background: var(--deep);
  color: #fff;
}

.band .section-heading .eyebrow {
  color: var(--amber);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.category-item {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.category-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.category-item span {
  color: rgba(255, 255, 255, 0.76);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 214px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 850;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  background: #eaf4ef;
}

.value-grid {
  display: grid;
  gap: 12px;
}

.value-grid p {
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(37, 62, 52, 0.08);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-panel {
  padding: 26px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.contact-row {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-row strong {
  font-size: 1.05rem;
}

.contact-row a {
  color: var(--green);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.full {
  width: 100%;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 28px;
  height: 28px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media img {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand img {
    width: 154px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 28px 16px 34px;
    gap: 26px;
  }

  .hero-media {
    border-radius: 14px;
  }

  .hero-media img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(37, 62, 52, 0.1);
  }

  h1 {
    font-size: clamp(2.7rem, 12.2vw, 3.35rem);
    line-height: 1.02;
  }

  h2 {
    font-size: 1.92rem;
    line-height: 1.15;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: grid;
    margin-bottom: 12px;
  }

  .button,
  .header-cta {
    border-radius: 7px;
  }

  .quick-contact {
    display: grid;
    gap: 4px;
    margin-bottom: 24px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(37, 62, 52, 0.06);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .hero-stats div,
  .hero-stats div + div {
    padding: 12px 8px;
    border-left: 1px solid var(--line);
    text-align: center;
  }

  .hero-stats div:first-child {
    border-left: 0;
  }

  .hero-stats div + div {
    border-top: 0;
  }

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

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .trust-strip span:last-child {
    grid-column: 1 / -1;
  }

  .section,
  .band,
  .value-section,
  .contact {
    padding: 52px 16px;
  }

  .section-heading,
  .value-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list li,
  .category-item {
    min-height: auto;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}
