:root {
  --ink: #10211f;
  --muted: #61716f;
  --paper: #f7f3ea;
  --panel: #ffffff;
  --line: #d9dfd7;
  --green: #116149;
  --green-dark: #0b3f33;
  --gold: #d49b38;
  --coral: #d45f4b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 24, 22, 0.78), rgba(10, 24, 22, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 108px clamp(22px, 7vw, 88px) 72px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 20, 18, 0.88) 0%, rgba(7, 20, 18, 0.68) 36%, rgba(7, 20, 18, 0.16) 72%),
    linear-gradient(0deg, rgba(7, 20, 18, 0.28), rgba(7, 20, 18, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 12vw, 124px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: var(--coral);
}

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

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section-band {
  background: #edf3ef;
}

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

.intro {
  padding: 40px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.content-section {
  padding: 86px 0;
}

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

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

.service-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  min-height: 256px;
  padding: 24px;
}

.service-index {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.case-card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  background: #fff;
}

.method-item strong {
  color: var(--green-dark);
  font-size: 18px;
}

.method-item span {
  color: var(--muted);
}

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

.case-card {
  padding: 24px;
}

.case-card h3 {
  margin-top: 0;
}

.contact-section {
  padding: 0 0 82px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), #173f5f 58%, #4b4b2b);
}

.contact-panel h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  color: #6b7774;
  background: #fff;
  font-size: 14px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

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

  .hero {
    min-height: 86vh;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 20, 18, 0.9), rgba(7, 20, 18, 0.42));
  }

  .intro-grid,
  .method-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 96px 22px 54px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 20, 18, 0.92), rgba(7, 20, 18, 0.5)),
      linear-gradient(0deg, rgba(7, 20, 18, 0.26), rgba(7, 20, 18, 0.14));
  }

  .hero-actions,
  .contact-panel,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro {
    padding: 34px 0;
  }

  .content-section {
    padding: 62px 0;
  }

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

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

  .method-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
