:root {
  --bg: #fafaf8;
  --alt: #f0efeb;
  --ink: #141414;
  --muted: #6b6b66;
  --accent: #e4572e;
  --line: #deddd8;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(250, 250, 248, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.logo span { color: var(--accent); }
.nav nav { display: flex; gap: 28px; font-size: 15px; }
.nav nav a:hover { color: var(--accent); }
.lang {
  border: 1px solid var(--ink); background: none; border-radius: 999px;
  padding: 6px 16px; cursor: pointer; font: inherit; font-size: 14px;
}
.lang:hover { background: var(--ink); color: var(--bg); }

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 140px 32px 120px;
}
.eyebrow { color: var(--accent); letter-spacing: .15em; text-transform: uppercase; font-size: 13px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.05; letter-spacing: -.02em; max-width: 14em; }
.lead { color: var(--muted); font-size: 19px; max-width: 36em; margin: 24px 0 36px; }
.btn {
  display: inline-block; background: var(--ink); color: var(--bg);
  padding: 14px 32px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 16px; transition: background .2s;
}
.btn:hover { background: var(--accent); }

.section { max-width: var(--max); margin: 0 auto; padding: 96px 32px; }
.alt { max-width: none; background: var(--alt); }
.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 40px; letter-spacing: -.01em; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.card .num { color: var(--accent); font-weight: 700; }
.card h3 { margin: 12px 0 10px; font-size: 22px; }
.card p { color: var(--muted); }

.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.work figcaption {
  width: 100%; padding: 20px 24px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  display: flex; justify-content: space-between; align-items: flex-end;
}
.work small { opacity: .85; }
.w1 { background: linear-gradient(135deg, #3b2a20, #c98b5a); }
.w2 { background: linear-gradient(135deg, #1f3a4d, #7fb3c8); }
.w3 { background: linear-gradient(135deg, #3d2a6b, #e4572e); }
.w4 { background: linear-gradient(135deg, #2e4a3a, #b7c79a); }
.note { color: var(--muted); font-size: 14px; margin-top: 24px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; counter-increment: s; }
.steps li::before { content: "0" counter(s); color: var(--accent); font-weight: 700; display: block; margin-bottom: 6px; }
.steps b { display: block; font-size: 20px; }
.steps span { color: var(--muted); font-size: 15px; }

.about p { font-size: 22px; max-width: 30em; }

.form { display: grid; gap: 14px; max-width: 560px; margin-top: 8px; }
.form input, .form textarea {
  font: inherit; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .btn { justify-self: start; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 32px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; max-width: var(--max); margin: 0 auto;
}

@media (max-width: 800px) {
  .nav { padding: 14px 20px; }
  .nav nav { display: none; }
  .hero { padding: 80px 20px; }
  .section { padding: 64px 20px; }
  .grid3, .works, .steps { grid-template-columns: 1fr; }
}
