:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #2b2b2b;
  --muted: #6d6d6d;
  --primary: #4169e1;
  --accent: #8b4513;
  --border: #e4e0db;
  --shadow: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

.hero {
  padding: 96px 0 64px;
  background: linear-gradient(180deg, rgba(65, 105, 225, 0.08), rgba(139, 69, 19, 0.05));
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.hero p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.overview,
.page-content {
  padding: 60px 0;
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.service-card,
.about-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px -30px var(--shadow);
}

.card h2,
.service-card h2,
.about-card h2,
.contact-card h2 {
  margin: 0 0 14px;
  color: var(--accent);
}

.feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.feature-text h2,
.page-head h1,
.team-section h2 {
  margin-top: 0;
}

.feature-text p,
.page-head p,
.team-section p {
  color: var(--muted);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
}

.feature-item h3 {
  margin: 0 0 12px;
}

.page-head {
  margin-bottom: 36px;
}

.page-head h1 {
  margin-bottom: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-grid,
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-section {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.site-footer {
  padding: 24px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.beian-icon {
  display: inline-block;
  width: 18px;
  height: auto;
  vertical-align: middle;
  margin: 0 6px 0 4px;
}

@media (max-width: 940px) {
  .overview,
  .feature,
  .services-grid,
  .about-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    display: none;
  }

  .site-nav.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .page-head,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding: 72px 0 52px;
  }
}
