:root {
  --bg: #ffffff;
  --bg-gray: #fafaf9;
  --ink: #0a0a0a;
  --ink-2: #525252;
  --muted: #737373;
  --muted-2: #a3a3a3;
  --accent: #c2542a;
  --accent-soft: #fbeae3;
  --border: #e5e5e5;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 60px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, background 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #a8451f; }
.btn-ghost { background: #f5f5f4; color: var(--ink); }
.btn-ghost:hover { background: #ececea; }
.btn-sm { padding: 10px 22px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0; }
.hero-inner {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: space-between;
}
.hero-left { width: 600px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--muted-2); }
.hero-title { font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -0.2px; }
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.72; }
.cta-row { display: flex; gap: 16px; }
.trust { font-size: 13px; color: var(--muted-2); }
.hero .btn-accent { background: var(--accent-soft); color: var(--accent); }
.hero .btn-accent:hover { background: #f3d9cd; }
.hero-right { width: 440px; max-width: 100%; }
.hero-image {
  width: 440px;
  height: 520px;
  max-width: 100%;
  border-radius: 16px;
  background: #f2efea url('/static/img/hero.png') center / cover no-repeat;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-image::after { display: none; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 640px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.section-desc { font-size: 17px; color: var(--ink-2); }

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.project-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.project-thumb {
  height: 240px;
  background: linear-gradient(135deg, #f2efea 0%, #e7ddd2 100%);
  display: flex; align-items: center; justify-content: center;
  color: #8a7d6f; font-size: 15px;
  background-size: cover; background-position: center;
}
.project-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.project-status { color: var(--accent); font-weight: 600; font-size: 13px; }
.project-title { font-size: 21px; font-weight: 700; }
.project-desc { color: var(--ink-2); font-size: 14px; line-height: 1.64; }
.project-link { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 2px; }
.project-link:hover { text-decoration: underline; }

.loading { color: var(--muted); padding: 40px 0; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-3px); }
.service-icon { width: 32px; height: 32px; }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card p { color: var(--ink-2); font-size: 15px; }
.card-link { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 2px; }
.card-link:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-body {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-info { width: 360px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-label { color: var(--accent); font-weight: 600; font-size: 13px; }
.info-value { font-size: 17px; font-weight: 500; color: var(--ink); }
.contact-form { flex: 1; max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 2px; }
.field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease;
}
.field:focus { outline: none; border-color: var(--accent); }
.field-area { resize: vertical; min-height: 120px; }
.form-msg { font-size: 14px; min-height: 18px; }
.form-msg.ok { color: #2e7d32; }
.form-msg.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.brand-col { width: 380px; max-width: 100%; display: flex; flex-direction: column; gap: 18px; }
.footer-statement { font-size: 30px; font-weight: 800; line-height: 1.35; }
.brand-tag { color: var(--muted-2); font-size: 15px; }
.link-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.link-col { display: flex; flex-direction: column; gap: 14px; width: 140px; }
.col-head { color: #fff; font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.link-col a { color: var(--muted-2); font-size: 15px; transition: color 0.2s; }
.link-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav { display: none; }
  .hero { padding: 64px 0; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-left { width: 100%; }
  .hero-title { font-size: 30px; }
  .hero-image { height: 320px; width: 100%; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .project-grid, .service-grid { grid-template-columns: 1fr; }
  .contact-body { flex-direction: column; gap: 40px; }
  .footer-statement { font-size: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
