/* ===== 变量：现代东方色调 ===== */
:root {
  --gold: #b29759;
  --gold-light: #c9b07a;
  --gold-deep: #8a7340;
  --ink: #1a1510;
  --ink-soft: #2c2416;
  --ink-muted: #4a4035;
  --cream: #f7f3eb;
  --cream-dark: #ebe4d6;
  --paper: #faf8f4;
  --white: #ffffff;
  --text: #2c2416;
  --text-muted: #5c5348;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(26, 21, 16, 0.06);
  --shadow-lg: 0 12px 40px rgba(26, 21, 16, 0.1);
  --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', 'WenQuanYi Micro Hei', sans-serif;
  --font-serif: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', 'Source Han Serif SC', serif;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(178, 151, 89, 0.2);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-mark-wrap {
  position: relative;
  display: block;
  height: 32px;
  width: 212px;
  flex-shrink: 0;
}
.logo-mark {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}
.logo-mark-white { opacity: 1; }
.logo-mark-gold {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
}
.header.scrolled .logo-mark-white { opacity: 0; }
.header.scrolled .logo-mark-gold { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.nav a:hover { color: var(--gold-light); }
.header.scrolled .nav a { color: var(--ink-soft); }
.header.scrolled .nav a:hover { color: var(--gold-deep); }
.nav-cta {
  padding: 7px 18px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}
.header.scrolled .nav-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--ink); }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 21, 16, 0.92) 0%,
    rgba(44, 36, 22, 0.82) 45%,
    rgba(90, 70, 40, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 88px;
  max-width: 720px;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 540px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(201, 176, 122, 0.5);
  border-radius: 11px;
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-bounce 1.8s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.35; transform: translateX(-50%) translateY(8px); }
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  transition: all var(--transition);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(178, 151, 89, 0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(178, 151, 89, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(201, 176, 122, 0.55);
}
.btn-outline:hover {
  background: rgba(178, 151, 89, 0.15);
  border-color: var(--gold-light);
}
.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

/* ===== 区块通用 ===== */
.section {
  padding: 96px 0;
}
.section-header {
  margin-bottom: 52px;
  max-width: 600px;
}
.section-header.light { color: var(--cream); }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section-header.light .section-tag {
  color: var(--gold-light);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.35;
}
.section-header.light h2 {
  color: var(--cream);
}
.section-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 16px;
}
.section-line.light {
  background: var(--gold-light);
}
.section-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== 关于我们 ===== */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.about-text strong {
  color: var(--ink);
  font-weight: 600;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(178, 151, 89, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== 核心技术 ===== */
.technology {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-soft) 55%, #3d3428 100%);
  color: var(--cream);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(178, 151, 89, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.tech-card:hover {
  background: rgba(178, 151, 89, 0.08);
  border-color: rgba(178, 151, 89, 0.4);
  transform: translateY(-3px);
}
.tech-icon {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.tech-card h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.tech-card p {
  font-size: 0.94rem;
  opacity: 0.82;
  line-height: 1.75;
  font-weight: 300;
}

/* ===== 服务领域 ===== */
.services {
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(178, 151, 89, 0.14);
  border-left: 3px solid var(--gold);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-left-color: var(--gold-deep);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.service-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== 独特优势 ===== */
.advantages {
  background: linear-gradient(165deg, var(--ink-soft) 0%, var(--ink) 100%);
  color: var(--cream);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
}
.adv-item { position: relative; }
.adv-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(178, 151, 89, 0.35);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.adv-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.adv-item p {
  font-size: 0.94rem;
  opacity: 0.82;
  line-height: 1.75;
  font-weight: 300;
}

/* ===== 联系区 ===== */
.cta {
  background: var(--cream);
  padding: 80px 0;
}
.cta-box {
  background: linear-gradient(145deg, var(--ink-soft), var(--ink));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(178, 151, 89, 0.2);
}
.cta-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.cta-box > p {
  font-size: 1.02rem;
  opacity: 0.88;
  max-width: 480px;
  margin: 0 auto 26px;
  font-weight: 300;
}
.cta-regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.cta-regions span {
  background: rgba(178, 151, 89, 0.12);
  border: 1px solid rgba(178, 151, 89, 0.28);
  padding: 5px 14px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.contact-hint {
  margin-top: 16px;
  font-size: 0.88rem;
  opacity: 0.9;
  letter-spacing: 0.04em;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color: var(--gold-light);
}
.cta-box .btn {
  border: none;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--ink);
  color: rgba(247, 243, 235, 0.65);
  padding: 44px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer .logo-mark-wrap {
  height: 28px;
  width: 186px;
}
.footer .logo-mark {
  height: 28px;
}
.footer-tagline {
  font-size: 0.88rem;
  margin-top: 6px;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.8;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.5;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ===== 滚动显现 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    color: var(--ink-soft) !important;
    padding: 12px 16px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
  }
  .nav a:hover { background: var(--cream-dark); }
  .nav-cta {
    background: var(--gold) !important;
    color: var(--ink) !important;
    border: none;
    margin-top: 6px;
  }
  .logo-mark-wrap {
    width: 160px;
    height: 24px;
  }
  .logo-mark { height: 24px; }

  .hero-content { padding-bottom: 64px; }
  .section { padding: 72px 0; }
  .cta-box { padding: 44px 24px; }
  .about-stats { gap: 12px; }
  .stat-card { padding: 18px 12px; }
  .stat-number { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .services-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .logo-mark-wrap {
    width: 140px;
    height: 21px;
  }
  .logo-mark { height: 21px; }
}
