:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef3f0;
  --text: #18201c;
  --muted: #62706a;
  --line: #dce4df;
  --accent: #1f7a5a;
  --accent-dark: #15543f;
  --accent-warm: #c28a2c;
  --shadow: 0 18px 50px rgba(19, 39, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100% - 48px, 1180px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  width: auto;
  max-width: 160px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(13, 36, 28, 0.86), rgba(21, 84, 63, 0.68)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Crect width='1600' height='900' fill='%233e6658'/%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='2'%3E%3Cpath d='M-40 620C210 500 250 310 520 350s360 280 660 150 310-250 500-170'/%3E%3Cpath d='M-80 760c300-150 430-70 650-160 260-106 390-340 680-250 210 65 280 190 430 160'/%3E%3Cpath d='M20 210c190-95 360-85 520 28 210 150 410 50 570-52 170-108 340-118 520-8'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.22'%3E%3Ccircle cx='330' cy='350' r='5'/%3E%3Ccircle cx='685' cy='514' r='5'/%3E%3Ccircle cx='1086' cy='453' r='5'/%3E%3Ccircle cx='1260' cy='266' r='5'/%3E%3Ccircle cx='520' cy='238' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  color: #fff;
  padding: 64px 0 72px;
}

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

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(38px, 5.8vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.section {
  padding: 84px 0;
}

.section.muted {
  background: var(--surface-soft);
}

.section-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.two-column,
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 80px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}

p {
  margin: 0;
}

p + p {
  margin-top: 18px;
}

.content-block {
  color: var(--muted);
  font-size: 18px;
}

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

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

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

.service-card p {
  color: var(--muted);
}

.contact-panel {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-panel p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  padding: 28px;
}

dl {
  margin: 0;
}

dl > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

dl > div:first-child {
  padding-top: 0;
}

dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  background: #111b17;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(100% - 48px, 1180px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  font-size: 14px;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    min-height: 68px;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 460px;
  }

  .two-column,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 100%);
  }
}

@media (max-width: 640px) {
  .brand {
    white-space: normal;
  }

  .brand-logo {
    height: 30px;
    max-width: 140px;
  }

  .hero {
    min-height: 440px;
  }

  .hero-inner {
    padding: 56px 0 64px;
  }

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

  .hero-copy,
  .content-block,
  .contact-panel p {
    font-size: 16px;
  }

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

  dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
