/* 湘知古香事 · 莲馨香囊宣传站
   配色：宣纸米白 + 湘绣朱红 + 黛青 + 金线，衬线体标题，突出湖湘非遗质感。
   响应式：桌面三列 -> 平板两列 -> 手机单列。 */
:root {
  --paper: #f7f2e7;
  --paper-2: #fbf7ec;
  --ink: #2b2b26;
  --ink-soft: #5c5648;
  --red: #a93226;
  --red-deep: #7a2a20;
  --teal: #2f4a4a;
  --gold: #c9a86a;
  --gold-soft: #e8dcc0;
  --line: #ddd2b8;
  --card: #fffdf6;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(43, 43, 38, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3, .fra-name {
  font-family: "Songti SC", "Noto Serif SC", "STSong", serif;
  line-height: 1.35;
  margin: 0 0 .5em;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 231, .96);
  border-bottom: 3px double var(--gold);
  backdrop-filter: blur(4px);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 6px;
  background: var(--red); color: var(--paper-2);
  font-family: "Songti SC", serif; font-size: 19px; letter-spacing: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-family: "Songti SC", serif; font-size: 19px; }
.brand-text small { color: var(--ink-soft); font-size: 12px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a {
  color: var(--ink); text-decoration: none; padding: 8px 12px;
  border-radius: 999px; white-space: nowrap; font-size: 15px;
}
.nav a:hover { background: var(--gold-soft); }

/* 首屏 */
.hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(720px 320px at 85% 0%, rgba(201, 168, 106, .25), transparent 70%),
  linear-gradient(180deg, var(--paper-2), var(--paper)); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 56px 20px 48px; align-items: center; }
.kicker { color: var(--red); letter-spacing: .14em; font-size: 13px; margin: 0 0 12px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.hero h1 span { display: block; font-size: .62em; color: var(--teal); margin-top: 6px; }
.lede { color: var(--ink-soft); font-size: 17px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  text-decoration: none; font-size: 16px; cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-ghost:hover { background: rgba(169, 50, 38, .08); }
.btn-big { width: 100%; padding: 14px; font-size: 17px; }
.hero-facts { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.5; }
.hero-facts span { color: var(--ink-soft); font-size: 13px; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.caption { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 10px; }

/* 源头三条 */
.origin { background: var(--teal); color: #eef2ea; }
.origin-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 28px 20px; }
.origin-item { display: flex; gap: 14px; }
.origin-no {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: "Songti SC", serif; font-size: 19px;
}
.origin-item strong { font-family: "Songti SC", serif; font-size: 17px; }
.origin-item p { margin: 4px 0 0; font-size: 14px; opacity: .88; }

/* 区块 */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sec-kicker { color: var(--red); letter-spacing: .2em; font-size: 13px; margin: 0 0 8px; font-weight: 600; }
.sec-head h2 { font-size: clamp(26px, 4vw, 34px); }
.sec-sub { color: var(--ink-soft); margin: 0; }
.grid { display: grid; gap: 22px; }
.products { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.product { display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee7d6; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 12px; top: 12px;
  background: var(--red); color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 999px;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; }
.card-body p { color: var(--ink-soft); font-size: 15px; margin: 0 0 12px; }
.card-body ul { margin: 0 0 14px; padding-left: 18px; color: var(--ink); font-size: 14.5px; }
.card-body ul li { margin-bottom: 4px; }
.price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.price strong { color: var(--red); font-size: 19px; font-family: "Songti SC", serif; }
.price small { color: var(--ink-soft); font-size: 12px; margin-left: 6px; }

/* 香型 */
.fragrances { grid-template-columns: repeat(4, 1fr); }
.fragrance { padding: 22px; border-top: 4px solid var(--red); }
.fra-name { font-size: 22px; color: var(--red); }
.fra-use { font-weight: 700; color: var(--ink); }
.fragrance p { font-size: 14.5px; color: var(--ink-soft); }
.fra-herbs { color: var(--teal); font-size: 13.5px; }

/* AI 定制 */
.ai-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; border-top: 4px solid var(--gold);
}
.ai-group { margin-bottom: 20px; }
.ai-q { font-weight: 700; margin: 0 0 10px; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper-2);
  font-size: 15px; font-family: inherit; color: var(--ink);
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.35;
}
.chip small { color: var(--ink-soft); font-size: 12px; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip.active small { color: #f3d9d4; }
.ai-hint { color: var(--ink-soft); font-size: 13.5px; text-align: center; margin: 12px 0 0; }
.ai-result {
  margin-top: 26px; padding-top: 26px; border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start;
}
.ai-svg svg { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.ai-persona { display: inline-block; background: var(--teal); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin: 0 0 10px; }
.ai-info h3 { font-size: 26px; color: var(--red); }
.ai-info p { color: var(--ink-soft); }
.ai-info dl { display: grid; grid-template-columns: 88px 1fr; gap: 6px 12px; margin: 16px 0; font-size: 15px; }
.ai-info dt { color: var(--ink-soft); }
.ai-info dd { margin: 0; }

/* 工艺 */
.craft { grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.craft-step { padding: 22px; }
.craft-no { display: block; font-family: "Songti SC", serif; font-size: 30px; color: var(--gold); }
.craft-step strong { font-family: "Songti SC", serif; font-size: 19px; }
.craft-step p { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 0; }

/* 须知与页脚 */
.notice { max-width: 760px; }
.notice h2 { font-size: 26px; }
.notice ul { color: var(--ink-soft); }
.footer { background: var(--ink); color: #cfc9b8; padding: 36px 0; font-size: 14px; }
.footer strong { color: var(--paper-2); font-family: "Songti SC", serif; }
.foot-small { opacity: .75; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hero-img { max-width: 560px; margin: 0 auto; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .fragrances { grid-template-columns: repeat(2, 1fr); }
  .craft { grid-template-columns: repeat(2, 1fr); }
  .origin-in { grid-template-columns: 1fr; gap: 18px; }
  .ai-result { grid-template-columns: 1fr; }
  .ai-svg { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 44px 0; }
  .products, .fragrances, .craft { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .ai-box { padding: 20px 16px; }
  .chip { padding: 9px 13px; font-size: 14px; }
  .ai-info dl { grid-template-columns: 76px 1fr; }
}
