:root {
  --ink: #22282a;
  --muted: #66706d;
  --line: #e2e7e3;
  --paper: #fbfcfb;
  --soft: #f1f6f2;
  --green: #156f43;
  --deep: #0d3825;
  --green-2: #2d8356;
  --red: #b9362f;
  --gold: #c99a46;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(13, 56, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 335px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green);
  font-size: 17px;
  line-height: 1.22;
}

.brand small {
  max-width: 310px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 27px);
  color: #2d3934;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

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

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

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: min(760px, calc(100vh - 78px));
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 38, 25, 0.86) 0%, rgba(7, 38, 25, 0.68) 38%, rgba(7, 38, 25, 0.12) 76%),
    linear-gradient(0deg, rgba(7, 38, 25, 0.4), rgba(7, 38, 25, 0.02) 42%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: clamp(20px, 6vw, 86px);
  width: min(720px, calc(100% - 40px));
  color: var(--white);
  transform: translateY(-48%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.55vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #0f5d38;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.44);
}

.quick-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -62px auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-facts div {
  min-height: 126px;
  padding: 26px;
  background: var(--white);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--green);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.quick-facts span {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.about .section-heading {
  max-width: none;
}

.about .section-heading h2 {
  white-space: nowrap;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.18;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
}

.about-copy {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--soft);
  border-left: 5px solid var(--green);
}

.about-copy p {
  margin: 0;
  font-size: 18px;
}

.belief-card {
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 111, 67, 0.94), rgba(13, 56, 37, 0.94)),
    var(--deep);
  border-radius: 8px;
}

.belief-card span {
  color: #e8c77d;
  font-weight: 800;
}

.belief-card h3 {
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.24;
}

.belief-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 9px 18px;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.tab.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1fr);
  gap: 28px;
  margin-bottom: 28px;
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 56, 37, 0.96), rgba(21, 111, 67, 0.9)),
    var(--deep);
  border-radius: 8px;
}

.service-panel h3 {
  margin: 0 0 12px;
  font-size: 27px;
}

.service-panel p,
.service-panel ul {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.service-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.service-cards,
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-cards article,
.strength-grid article {
  min-height: 196px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 45, 35, 0.05);
}

.service-cards span {
  color: var(--red);
  font-weight: 900;
}

.service-cards h3,
.strength-grid h3,
.timeline h3 {
  margin: 12px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.service-cards p,
.strength-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.strength {
  background: #f0f4f1;
}

.strength-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.strength-grid {
  grid-template-columns: repeat(4, 1fr);
}

.strength-grid article {
  min-height: 250px;
  border-top: 4px solid var(--green);
}

.history {
  padding-bottom: 58px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid #cbd6cf;
}

.timeline article {
  position: relative;
  min-height: 252px;
  padding: 30px 26px;
  border-right: 1px solid #d6dfda;
}

.timeline article:last-child {
  border-right: 0;
}

.timeline article::before {
  position: absolute;
  top: -7px;
  left: 26px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.timeline span {
  color: var(--red);
  font-weight: 900;
}

.cases {
  padding-top: 58px;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case-list span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  color: #36413d;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 42px;
  padding: 82px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background: var(--deep);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-qr {
  width: min(100%, 360px);
  justify-self: end;
  text-align: center;
}

.contact-qr img {
  width: 100%;
  aspect-ratio: 888 / 1185;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.contact-qr p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.76);
  background: #081b12;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .brand {
    min-width: 300px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .hero,
  .hero img {
    min-height: 650px;
    height: calc(100vh - 70px);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 38, 25, 0.86), rgba(7, 38, 25, 0.42));
  }

  .quick-facts,
  .service-cards,
  .strength-grid,
  .timeline,
  .case-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .service-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .timeline article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero,
  .hero img {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .quick-facts,
  .service-cards,
  .strength-grid,
  .timeline,
  .case-list {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section {
    padding: 66px 0;
  }

  .about .section-heading h2 {
    white-space: normal;
  }

  .strength-inner {
    padding: 66px 0;
  }

  .about-copy,
  .belief-card,
  .service-panel {
    padding: 22px;
  }

  .contact-qr {
    justify-self: center;
  }

  .timeline article {
    border-right: 0;
    border-bottom: 1px solid #d6dfda;
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
