:root {
  --ink: #17201d;
  --muted: #647168;
  --line: #dce4df;
  --paper: #fbfcfa;
  --soft: #eff5f1;
  --deep: #143c3a;
  --accent: #0f766e;
  --gold: #b7791f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 228, 223, 0.84);
  background: rgba(251, 252, 250, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.brand img {
  width: 96px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand span {
  color: var(--muted);
  font-size: 14px;
}

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

.site-nav a,
.nav-cta,
.primary-link,
.secondary-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
  background: var(--soft);
}

.site-nav .nav-cta,
.primary-link {
  color: #fff;
  background: var(--accent);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 34, 32, 0.78) 0%, rgba(12, 34, 32, 0.54) 42%, rgba(12, 34, 32, 0.06) 100%),
    linear-gradient(0deg, rgba(12, 34, 32, 0.42), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 88px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

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

.intro-band {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 50px rgba(20, 60, 58, 0.12);
}

.intro-band div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: #fff;
}

.intro-band strong {
  font-size: 18px;
}

.intro-band span {
  color: var(--muted);
  line-height: 1.5;
}

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

.section.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 64px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}

.copy {
  display: grid;
  gap: 18px;
}

.copy p,
.tool-callout p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.service-grid article,
.strength-grid div {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.service-grid h3,
.strength-grid strong {
  display: block;
  margin: 22px 0 10px;
  font-size: 20px;
}

.service-grid p,
.strength-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.muted {
  padding: 72px;
  border-radius: 8px;
  background: #f0f5f2;
}

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

.strength-grid div {
  min-height: 160px;
  background: rgba(255, 255, 255, 0.72);
}

.tool-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #0f766e);
}

.tool-callout .section-label,
.tool-callout p {
  color: rgba(255, 255, 255, 0.78);
}

.tool-callout h2 {
  color: #fff;
}

.primary-link.dark {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.contact-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
  outline: none;
}

.contact-form input {
  height: 44px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.contact-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

#formStatus {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(20, 60, 58, 0.14);
  }

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

  .site-nav a {
    justify-content: flex-start;
  }

  .hero {
    min-height: 590px;
  }

  .intro-band,
  .service-grid,
  .process-list,
  .section.split,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .muted {
    padding: 40px 24px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 86px;
    height: 36px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 70px;
  }

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

  .intro-band,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .intro-band {
    margin-top: -28px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid article,
  .strength-grid div {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
