:root {
  color-scheme: light;
  --ink: #13211c;
  --muted: #5e6a64;
  --line: #d9ded7;
  --paper: #f8f7f2;
  --white: #ffffff;
  --green: #163e33;
  --green-2: #24584a;
  --gold: #c59b4f;
  --sky: #e6f0ef;
  --stone: #e9e3d8;
  --shadow: 0 20px 50px rgba(19, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  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: 72px;
  padding: 0 6vw;
  background: rgba(248, 247, 242, 0.9);
  border-bottom: 1px solid rgba(217, 222, 215, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-logo-wrap {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  background: #f1eee5;
  border: 1px solid rgba(19, 33, 28, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(19, 33, 28, 0.12);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.nav a {
  min-width: 64px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
  background: var(--sky);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 8vw 6vw;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 28, 23, 0.78), rgba(12, 28, 23, 0.42) 42%, rgba(12, 28, 23, 0.04)),
    linear-gradient(0deg, rgba(19, 33, 28, 0.3), transparent 50%);
}

.hero-content {
  width: min(680px, 100%);
  color: var(--white);
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1d18a;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-2);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

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

.hero-copy {
  width: min(600px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

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

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

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

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

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

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

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

.cta-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-links span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.intro,
.services,
.process,
.inquiry-section {
  width: min(1120px, calc(100% - 12vw));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.services,
.process {
  padding: 74px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.contact-panel,
.message-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-card p,
.steps p,
.contact-hero p,
.contact-panel p,
.message-card p,
.check-list {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--green);
  background: var(--sky);
  border-radius: 50%;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.process {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps div {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
}

.steps div:last-child {
  border-right: 0;
}

.steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 6vw;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

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

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-contact span {
  color: var(--green);
  font-weight: 800;
}

.inquiry-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  padding: 76px 0 88px;
  border-top: 1px solid var(--line);
}

.inquiry-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-strip a,
.contact-strip span {
  color: var(--green);
  font-weight: 900;
}

.inquiry-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
}

.inquiry-form span {
  font-size: 0.95rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.inquiry-form input.is-invalid,
.inquiry-form textarea.is-invalid {
  border-color: #b42318;
  background: #fff8f7;
}

.inquiry-form input {
  min-height: 48px;
  padding: 10px 13px;
}

.inquiry-form textarea {
  min-height: 180px;
  padding: 13px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--green-2);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 88, 74, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.field-error {
  min-height: 20px;
  color: #b42318;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 28, 23, 0.82), rgba(12, 28, 23, 0.5)),
      linear-gradient(0deg, rgba(19, 33, 28, 0.35), transparent 50%);
  }

  .intro,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .steps div {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps div:last-child {
    border-bottom: 0;
  }

  .cta-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1;
  }

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

  .hero {
    min-height: 680px;
    padding-top: 96px;
  }

  .hero img {
    object-position: 64% center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro,
  .services,
  .process,
  .inquiry-section {
    width: min(100% - 36px, 1120px);
  }

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

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