/* Cherry Equipment — 全站样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0e0f11;
  --bg2: #16181c;
  --card: #1c1f24;
  --line: #2a2e35;
  --text: #e8eaed;
  --muted: #9aa0a8;
  --accent: #d4a94e;
  --accent2: #f0c96a;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* 顶部导航 */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,15,17,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.brand small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: 1px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent2); }
.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }

/* Hero 横幅 */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero .container { position: relative; z-index: 1; padding: 120px 0 80px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; }
.hero p { font-size: clamp(16px, 2vw, 20px); color: #d8dbe0; max-width: 720px; margin: 0 auto 32px; }
.btn {
  display: inline-block; padding: 13px 42px; background: var(--accent); color: #141414;
  font-weight: 600; font-size: 16px; border-radius: 4px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent2); transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent2); margin-left: 14px; }
.btn.ghost:hover { background: var(--accent); color: #141414; }

/* 通用区块 */
section { padding: 90px 0; }
.section-alt { background: var(--bg2); }
.sec-title { text-align: center; margin-bottom: 14px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; }
.sec-sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 56px; font-size: 16px; }

/* 卡片网格 */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card .body { padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .price { color: var(--accent2); font-weight: 700; font-size: 18px; margin-bottom: 8px; }

/* 图文并排 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 8px; height: 380px; width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 14px; }

/* 优势图标块 */
.feat { text-align: center; padding: 34px 26px; }
.feat .icon {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  background: rgba(212,169,78,.12); color: var(--accent2);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.feat h3 { font-size: 20px; margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 16px; list-style: none; }
.faq summary::before { content: "+"; color: var(--accent2); margin-right: 12px; font-weight: 700; }
.faq details[open] summary::before { content: "−"; }
.faq details p { padding: 0 24px 20px 48px; color: var(--muted); font-size: 15px; }

/* 联系表单 */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-wrap input, .form-wrap textarea {
  width: 100%; padding: 14px 16px; margin-bottom: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-size: 15px; font-family: inherit;
}
.form-wrap input:focus, .form-wrap textarea:focus { outline: none; border-color: var(--accent); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 44px 0 30px; background: var(--bg2); text-align: center; }
footer .fname { font-size: 18px; font-weight: 700; }
footer .fcmp { color: var(--accent2); font-size: 13px; letter-spacing: .8px; margin: 6px 0 14px; }
footer .fnav { display: flex; gap: 22px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
footer .fnav a { color: var(--muted); font-size: 14px; }
footer .fnav a:hover { color: var(--accent2); }
footer .copy { color: #666c74; font-size: 13px; }

/* 响应式 */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split img { height: 260px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg2); padding: 18px 0; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
  section { padding: 60px 0; }
}
