/* ===== YALESHI 雅乐士 · 品牌单页样式 ===== */
:root {
  --green-900: #06241a;
  --green-800: #0c3b2e;
  --green-700: #11503c;
  --green-600: #1a6b4f;
  --gold: #c9a24b;
  --gold-light: #e6c97f;
  --ivory: #f5f1e6;
  --cream: #faf7ef;
  --ink: #0a1410;
  --text: #2c2519;
  --muted: #6f6657;
  --line: rgba(201, 162, 75, 0.25);
  --shadow: 0 18px 50px rgba(6, 36, 26, 0.18);
  --radius: 16px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

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

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

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(6, 36, 26, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: baseline; gap: 10px; color: #fff; }
.brand .logo { font-size: 22px; letter-spacing: 2px; font-family: "Noto Serif SC", serif; }
.brand .cn { font-size: 14px; color: var(--gold-light); letter-spacing: 4px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 15px; position: relative; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .25s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--green-900); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,75,.4); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--green-900), var(--green-800) 60%, #0a2e22);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/hero.png") center/cover no-repeat;
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,36,26,.92) 0%, rgba(6,36,26,.55) 55%, rgba(6,36,26,.2) 100%);
}
.hero .wrap { position: relative; z-index: 2; color: #fff; }
.hero .eyebrow {
  display: inline-block; letter-spacing: 6px; font-size: 13px; color: var(--gold-light);
  border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 7vw, 76px); color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); max-width: 560px; color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: 2px; z-index: 2;
}

/* ===== 通用区块 ===== */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag { color: var(--gold); letter-spacing: 4px; font-size: 13px; font-weight: 600; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 14px; color: var(--green-800); }
.section-head p { color: var(--muted); }

/* ===== 品牌故事 ===== */
.about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-grid .media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-copy h2 { color: var(--green-800); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy .name-meaning {
  display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap;
}
.about-copy .name-meaning .char {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; text-align: center;
  background: #fff; min-width: 88px;
}
.about-copy .name-meaning .char b { font-family: "Noto Serif SC", serif; font-size: 24px; color: var(--green-700); display: block; }
.about-copy .name-meaning .char span { font-size: 12px; color: var(--muted); }

/* ===== 产品 ===== */
.products { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card .thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--gold-light); position: relative;
}
.product-card .thumb svg { width: 76px; height: 76px; opacity: .9; }
.product-card .body { padding: 20px; }
.product-card .body h3 { font-size: 19px; color: var(--green-800); margin-bottom: 8px; }
.product-card .body p { font-size: 14px; color: var(--muted); }

/* ===== 工艺/优势 ===== */
.craft { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #fff; }
.craft .section-head h2 { color: #fff; }
.craft .section-head p { color: rgba(255,255,255,.7); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  text-align: center; padding: 30px 22px; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); background: rgba(255,255,255,.04);
}
.feature .icon { font-size: 34px; color: var(--gold-light); margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.feature p { font-size: 14px; color: rgba(255,255,255,.72); }

/* ===== 数据条 ===== */
.stats { background: var(--ivory); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: "Noto Serif SC", serif; font-size: clamp(34px, 5vw, 52px); color: var(--gold); }
.stat .label { color: var(--muted); font-size: 14px; letter-spacing: 1px; }

/* ===== 联系 ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { color: var(--green-800); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li .k { color: var(--gold); font-weight: 600; min-width: 64px; }
.info-list li .v { color: var(--text); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-size: 14px; color: var(--green-800); margin-bottom: 8px; font-weight: 600; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd4c2; border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fdfbf6; color: var(--text); transition: border .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 110px; }
.form .note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form .ok { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #eaf5ee; color: var(--green-700); font-size: 14px; }

/* ===== 页脚 ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 54px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .f-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.footer .f-col a, .footer .f-col p { color: rgba(255,255,255,.62); font-size: 14px; display: block; margin-bottom: 8px; }
.footer .f-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; text-align: center; color: rgba(255,255,255,.45); }

/* ===== 滚动揭示动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-grid, .feature-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; top: 64px; right: 16px; left: 16px;
    background: rgba(6,36,26,.97); flex-direction: column; gap: 18px;
    padding: 26px; border-radius: 16px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .product-grid, .feature-grid, .stat-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
