:root {
  --bg: #0e1220;
  --panel: #171d30;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --brand: #d6a955;
  --brand-dark: #8b5f16;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #f7f5ef;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #f7df9d);
  color: #111827;
  font-weight: 800;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 169, 85, 0.28), transparent 30%),
    linear-gradient(135deg, #0e1220 0%, #151b2e 50%, #272033 100%);
  padding: 104px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-desc {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.card-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.card-line:last-child {
  border-bottom: 0;
}

.card-line span {
  color: rgba(255, 255, 255, 0.64);
}

.card-line strong {
  text-align: right;
  color: var(--white);
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: #ffffff;
}

.two-col {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #111827;
}

.content-block {
  font-size: 18px;
  color: #374151;
}

.content-block p:first-child {
  margin-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.section-head.compact {
  margin-bottom: 30px;
}

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

.service-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 28px;
  min-height: 245px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card .icon {
  display: inline-flex;
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  color: #111827;
}

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

.advantage-list {
  display: grid;
  gap: 16px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.advantage-item strong {
  font-size: 20px;
  color: #111827;
}

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

.contact-section {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  border-radius: 30px;
  background: var(--bg);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-info {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-link {
  display: block;
  color: var(--brand);
  font-weight: 700;
}

.site-footer {
  background: #0a0d16;
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  font-size: 14px;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--brand);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: #111827;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 10px;
  }

  .hero-grid,
  .two-col,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .advantage-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-text {
    max-width: 210px;
    white-space: normal;
    line-height: 1.3;
  }

  .hero {
    padding: 76px 0 70px;
  }

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

  .card-line {
    flex-direction: column;
    gap: 6px;
  }

  .card-line strong {
    text-align: left;
    word-break: break-all;
  }

  .contact-card {
    padding: 30px 24px;
  }
}
