:root {
  --ink: #13231f;
  --ink-soft: #344b44;
  --green: #17624f;
  --green-deep: #0f4035;
  --mint: #dcebe3;
  --amber: #e8a83f;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(19, 35, 31, 0.14);
  --shadow: 0 24px 60px rgba(15, 64, 53, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 3px;
  opacity: 0.72;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  position: relative;
}

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

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

.nav-cta {
  padding: 10px 17px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  color: currentColor;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background: url("../img/hero-office.jpg") center / cover no-repeat;
  animation: hero-scale 12s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 28, 23, 0.96) 0%, rgba(8, 28, 23, 0.74) 48%, rgba(8, 28, 23, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 28, 23, 0.28), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 132px;
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #d8eee5;
}

.hero h1 {
  max-width: 810px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1.12;
}

.hero h1 em {
  color: #f3c76e;
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #10251f;
  background: #f1be5b;
}

.button-primary:hover {
  background: #ffd276;
}

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

.button-dark:hover {
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.light-link {
  color: rgba(255, 255, 255, 0.86);
}

.hero-facts {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  padding: 23px 24px 0 0;
}

.hero-facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.trust-strip {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner > span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.trust-inner ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
}

.services {
  background:
    radial-gradient(circle at 10% 0%, rgba(220, 235, 227, 0.72), transparent 26%),
    var(--paper);
}

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

.service-card {
  min-height: 405px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(19, 35, 31, 0.04);
}

.service-card.featured {
  color: var(--white);
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: var(--shadow);
}

.service-index {
  display: inline-flex;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 14px;
}

.service-card.featured .service-index {
  color: #f3c76e;
}

.service-card h3 {
  margin: 50px 0 16px;
  font-size: 23px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.service-card.featured li {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.about-media::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 65%;
  height: 45%;
  background: var(--amber);
  border-radius: 8px;
  content: "";
}

.about-note {
  position: absolute;
  right: -28px;
  bottom: 28px;
  display: grid;
  width: 230px;
  padding: 21px 22px;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-note strong {
  font-size: 16px;
}

.about-note span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
}

.check-list span {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.check-list span::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 11px;
}

.method {
  color: var(--white);
  background: var(--green-deep);
}

.section-heading.centered {
  display: block;
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  color: #f3c76e;
}

.section-heading.centered p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 66px;
}

.method-track::before {
  position: absolute;
  top: 20px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.method-track article {
  position: relative;
  padding-top: 58px;
}

.method-track article > span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--green-deep);
  background: #f3c76e;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 13px;
}

.method-track h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.method-track p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
}

.proof {
  color: var(--white);
  background: #102a24;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}

.proof-quote blockquote {
  margin: 0 0 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.42;
}

.proof-quote > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-stats div {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-stats strong {
  display: block;
  color: #f3c76e;
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
}

.proof-stats span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.contact {
  background:
    linear-gradient(135deg, rgba(220, 235, 227, 0.7), transparent 48%),
    var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 60px;
  align-items: center;
  padding: 64px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact .eyebrow {
  color: #f3c76e;
}

.contact-card p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  display: grid;
  gap: 10px;
}

.contact-meta > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-meta > strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.contact-meta .button {
  margin-top: 12px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #091813;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding-top: 58px;
  padding-bottom: 34px;
}

.footer-inner strong {
  color: var(--white);
  font-size: 18px;
}

.footer-inner p {
  max-width: 480px;
  margin: 10px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-bottom a {
  color: inherit;
}

@keyframes hero-scale {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 50px;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    margin-top: 30px;
  }

  .about-grid,
  .proof-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-media {
    max-width: 620px;
  }

  .method-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 24px;
  }

  .method-track::before {
    display: none;
  }
}

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

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

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    padding: 24px 22px 30px;
    color: var(--ink);
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(19, 35, 31, 0.12);
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 110px;
  }

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

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
  }

  .hero-facts div,
  .hero-facts div + div {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }

  .trust-inner ul {
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact h2 {
    font-size: 34px;
  }

  .about-media::before {
    display: none;
  }

  .about-note {
    right: 12px;
    bottom: 12px;
    width: min(230px, calc(100% - 24px));
  }

  .method-track {
    grid-template-columns: 1fr;
  }

  .proof-quote blockquote {
    font-size: 27px;
  }

  .proof-stats {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 34px 26px;
  }

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

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
