:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef2ec;
  --text: #202a25;
  --muted: #65726b;
  --line: #dce3dc;
  --brand: #1f5b48;
  --brand-deep: #143c31;
  --accent: #a44f34;
  --accent-soft: #f4e7df;
  --shadow: 0 12px 30px rgba(31, 47, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-shell {
  min-height: 100vh;
}

.hero {
  padding: 22px clamp(18px, 4vw, 56px) 72px;
  background:
    linear-gradient(90deg, rgba(31, 91, 72, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 91, 72, 0.04) 1px, transparent 1px),
    #f8faf6;
  background-size: 56px 56px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small,
.nav-links a,
.section-tag,
.eyebrow {
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--brand-deep);
  border-color: var(--accent);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1180px;
  margin: 58px auto 0;
  align-items: end;
}

.eyebrow,
.section-tag {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.18;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

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

.btn-secondary {
  background: transparent;
  color: var(--brand-deep);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: 0.92rem;
}

.hero-card,
.card,
.contact-form,
.contact-copy,
.process-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 0;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--brand-deep);
  color: #fff;
}

.status-dot {
  font-size: 0.9rem;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: #86d4a3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-grid article {
  min-height: 132px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.hero-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.hero-grid p,
.process-grid p,
.card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.85;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px clamp(18px, 4vw, 56px);
}

.intro-strip {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro-strip p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.cards,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card,
.contact-copy,
.contact-form,
.process-grid article {
  border-radius: 6px;
}

.card {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.card::before,
.process-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
}

.card:nth-child(2)::before,
.process-grid article:nth-child(2)::before {
  background: var(--accent);
}

.card-no {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.process-grid article {
  position: relative;
  padding: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  margin-top: 24px;
}

.contact-copy,
.contact-form {
  padding: 28px;
}

.contact-copy {
  background: var(--surface-soft);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-list p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  color: var(--text);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8d1;
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(31, 91, 72, 0.14);
  border-color: var(--brand);
}

.full-width,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#formMessage {
  min-height: 1.5em;
  margin: 0;
  color: var(--brand-deep);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 56px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .hero-content,
  .intro-strip,
  .contact-layout,
  .cards,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .hero {
    padding-top: 14px;
  }

  .hero-content {
    margin-top: 36px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

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

  .hero-grid article:nth-child(odd) {
    border-right: 0;
  }

  .form-actions,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
