/* ============================================================
   景观施工图设计师作品集站 · 样式
   主题：深色「景观绿」轻奢风，中文优先思源黑体
   ============================================================ */

:root {
  --bg:        #0B0F0D;   /* 近黑带绿调 */
  --bg-soft:   #101713;
  --panel:     #14201B;
  --ink:       #E5ECE7;   /* 主文字 */
  --ink-dim:   #9FB2A8;   /* 次级文字 */
  --line:      rgba(159,178,168,0.18);
  --green-1:   #1B5E3A;
  --green-2:   #3FA66A;
  --green-3:   #6FCFA0;
  --gold:      #C9A24B;   /* 高级金，作点睛 */
  --accent:    linear-gradient(123deg, #1B5E3A 0%, #3FA66A 45%, #6FCFA0 78%, #C9A24B 100%);
  --shadow:    0 10px 40px rgba(0,0,0,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ── 渐变文字 ── */
.grad-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── 滚动淡入 ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.25,.1,.25,1), transform .8s cubic-bezier(.25,.1,.25,1);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  border-radius: 9999px;
  padding: 14px 34px;
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; border: none;
  transition: transform .25s ease, opacity .2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #06140D;
  box-shadow: 0 6px 20px rgba(63,166,106,.28), inset 0 0 0 1px rgba(255,255,255,.25);
  font-weight: 700;
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn:active { transform: translateY(0); }

/* ── 导航 ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(10px);
  background: rgba(11,15,13,.55);
  border-bottom: 1px solid var(--line);
}
.nav .logo { font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.nav .logo span { color: var(--green-3); }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { font-size: .9rem; color: var(--ink-dim); transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
.nav .menu-btn { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(16px,4vw,40px) 60px;
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(63,166,106,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201,162,75,.10), transparent 55%);
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .35em; font-size: .78rem;
  color: var(--green-3); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero p.lead {
  max-width: 620px; color: var(--ink-dim);
  font-size: clamp(1rem, 2vw, 1.18rem); margin-bottom: 38px;
}
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .25em; color: var(--ink-dim); text-transform: uppercase;
}

/* ── 通用 section ── */
section.block { padding: clamp(70px, 10vw, 130px) clamp(16px,4vw,40px); }
.section-head { margin-bottom: 54px; }
.section-head .kicker {
  text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; color: var(--green-3);
}
.section-head h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; margin-top: 14px; line-height: 1.15;
}
.section-head p { color: var(--ink-dim); margin-top: 16px; max-width: 640px; }

/* ── 关于 ── */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-grid .stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.stat b { font-size: 2rem; display: block; color: var(--green-3); }
.stat span { font-size: .85rem; color: var(--ink-dim); }
.about-text p { color: var(--ink-dim); margin-bottom: 16px; }
.about-text strong { color: var(--ink); }

/* ── 服务 ── */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; transition: transform .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-4px); border-color: rgba(111,207,160,.5); }
.service .no { font-size: .8rem; color: var(--gold); letter-spacing: .2em; }
.service h3 { font-size: 1.25rem; margin: 12px 0 10px; }
.service p { color: var(--ink-dim); font-size: .95rem; }

/* ── 作品 ── */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.work:hover { transform: translateY(-4px); border-color: rgba(111,207,160,.5); }
.work .thumb { aspect-ratio: 16/10; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.work .thumb svg { width: 100%; height: 100%; }
.work .meta { padding: 22px 24px 26px; }
.work .cat { font-size: .75rem; letter-spacing: .2em; color: var(--green-3); text-transform: uppercase; }
.work h3 { font-size: 1.2rem; margin: 8px 0 8px; }
.work p { color: var(--ink-dim); font-size: .92rem; }

/* ── 联系 CTA ── */
.contact-cta {
  text-align: center;
  background: radial-gradient(700px 400px at 50% 0%, rgba(63,166,106,.16), transparent 60%);
}
.contact-cta h2 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; margin-bottom: 20px; }
.contact-cta p { color: var(--ink-dim); max-width: 560px; margin: 0 auto 36px; }

/* ── 页脚 ── */
.footer { padding: 40px clamp(16px,4vw,40px); border-top: 1px solid var(--line); color: var(--ink-dim); font-size: .85rem; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ── 表单页 ── */
.form-page { padding: 130px clamp(16px,4vw,40px) 80px; }
.form-card {
  width: min(760px, 100%); margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow);
}
.form-card h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.form-card .sub { color: var(--ink-dim); margin: 10px 0 30px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .9rem; margin-bottom: 8px; font-weight: 600; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-soft); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: .95rem;
  font-family: inherit; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-3); }
.field textarea { resize: vertical; min-height: 90px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip input { width: auto; accent-color: var(--green-2); }
.chip span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; cursor: pointer; transition: border-color .2s, color .2s;
}
.chip input:checked + span { border-color: var(--green-3); color: var(--green-3); }
.upload {
  border: 1.5px dashed var(--line); border-radius: 14px; padding: 26px; text-align: center;
  color: var(--ink-dim); font-size: .9rem; cursor: pointer; transition: border-color .2s;
}
.upload:hover { border-color: var(--green-3); }
.form-note { font-size: .8rem; color: var(--ink-dim); margin-top: 10px; }
.success { text-align: center; padding: 40px 0; }
.success h1 { color: var(--green-3); margin-bottom: 12px; }

/* ── 响应式 ── */
@media (max-width: 860px) {
  .nav ul { display: none; position: absolute; top: 100%; right: clamp(16px,4vw,40px);
    flex-direction: column; gap: 14px; background: var(--bg-soft); padding: 20px 26px;
    border: 1px solid var(--line); border-radius: 14px; }
  .nav ul.open { display: flex; }
  .nav .menu-btn { display: block; }
  .about-grid, .services, .works { grid-template-columns: 1fr; }
  .about-grid .stats { grid-template-columns: repeat(2,1fr); }
}

/* ── 服务流程 ── */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.step .num { font-size: .8rem; color: var(--gold); letter-spacing: .2em; margin-bottom: 10px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-dim); font-size: .9rem; }

/* ── 常驻联系信息 ── */
.contact-line { margin-top: 22px; color: var(--ink-dim); font-size: .95rem; line-height: 1.8; }
.contact-line a { color: var(--green-3); }
.direct-contact { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.direct-contact span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: .92rem; color: var(--ink);
}
.direct-contact b { color: var(--green-3); font-weight: 600; }

/* ── 提交成功提示 ── */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--panel); border: 1px solid var(--green-3); color: var(--ink);
  padding: 14px 26px; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; font-size: .92rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
}
