/* ==========================================================================
   雅居家私 · 官网模板全局样式
   设计语言：暖胡桃木棕 + 象牙白，衬线标题 + 无衬线正文，轻量动效
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --brand: #6b4f3a;
  --brand-deep: #4a3527;
  --brand-dark: #2e2015;
  --accent: #b97a3d;
  --accent-light: #d8a86a;
  --bg: #f7f2ea;
  --bg-soft: #efe7da;
  --white: #ffffff;
  --text: #2f2a24;
  --text-soft: #6e6559;
  --line: #e3dacb;
  --success: #4c7a4f;
  --danger: #b0503a;

  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", "STSong", serif;
  --font-sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(43, 32, 21, 0.08);
  --shadow-md: 0 8px 28px rgba(43, 32, 21, 0.12);
  --shadow-lg: 0 18px 50px rgba(43, 32, 21, 0.18);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 重置与基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--brand); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-deep);
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  line-height: 1.4; cursor: pointer; border: 1px solid transparent;
  transition: all .25s ease; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(185,122,61,.35); }
.btn-primary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }

/* ---------- 分区标题 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--accent); opacity: .55; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 16px; margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .eyebrow::before { display: none; }

/* ==========================================================================
   顶部信息栏 + 导航
   ========================================================================== */
.topbar {
  background: var(--brand-dark); color: #d9cdbd; font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; gap: 4px 16px; }
.topbar a { color: #d9cdbd; }
.topbar a:hover { color: var(--accent-light); }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--accent-light); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; fill: #fff; }
.brand-text { line-height: 1.25; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 800; color: var(--brand-deep); letter-spacing: 2px; }
.brand-sub { font-size: 11px; letter-spacing: 3px; color: var(--text-soft); text-transform: uppercase; }

.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; font-size: 15.5px; font-weight: 500;
  color: var(--text); border-radius: 8px; position: relative;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-weight: 700; color: var(--brand-deep);
  font-size: 15px;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--accent); }

/* 移动端菜单按钮 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero（首页）
   ========================================================================== */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background: linear-gradient(100deg, rgba(46,32,21,.82) 0%, rgba(74,53,39,.55) 45%, rgba(74,53,39,.15) 100%), url("../pic/hero-home.jpg") center/cover no-repeat;
  color: #fff;
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); max-width: 720px; margin-bottom: 20px; letter-spacing: 1px; }
.hero p.lead { font-size: clamp(16px, 1.8vw, 19px); max-width: 640px; color: #f0e7d8; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-tags span {
  font-size: 13px; letter-spacing: 2px; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  color: #f6efe4; background: rgba(255,255,255,.08);
}

.hero-stats {
  display: flex; gap: 0; margin-top: 52px; max-width: 760px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; overflow: hidden; backdrop-filter: blur(4px);
}
.hero-stats .stat { flex: 1; padding: 22px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .num { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; color: var(--accent-light); }
.hero-stats .lab { font-size: 13px; color: #eadfce; letter-spacing: 1px; }

/* ==========================================================================
   优势条
   ========================================================================== */
.advantage-bar { background: var(--brand); color: #f4ede2; }
.advantage-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.adv-item { display: flex; align-items: center; gap: 14px; }
.adv-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.adv-ico svg { width: 24px; height: 24px; fill: var(--accent-light); }
.adv-item b { display: block; font-family: var(--font-serif); font-size: 16px; }
.adv-item small { color: #d8c9b3; font-size: 13px; }

/* ==========================================================================
   产品区
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 12px; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: #fff;
}
.product-tag.hot { background: #c2543a; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 19px; margin-bottom: 8px; }
.product-body h3 a { color: var(--brand-deep); }
.product-body h3 a:hover { color: var(--accent); }
.product-body p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 14px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 14px; }
.product-price { font-family: var(--font-serif); color: var(--accent); font-weight: 700; font-size: 18px; }
.product-price small { font-size: 12px; color: var(--text-soft); margin-right: 4px; font-family: var(--font-sans); font-weight: 400; }
.more-link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.more-link::after { content: "→"; transition: transform .25s ease; }
.more-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   关于我们预览
   ========================================================================== */
.about-preview { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media .img-float {
  position: absolute; right: -18px; bottom: -22px; width: 46%;
  border-radius: var(--radius); border: 6px solid var(--bg);
  box-shadow: var(--shadow-md);
}
.about-media .exp-badge {
  position: absolute; left: -16px; top: -18px;
  background: var(--accent); color: #fff; border-radius: 14px; padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-md);
}
.exp-badge .n { font-family: var(--font-serif); font-size: 30px; font-weight: 800; line-height: 1; }
.exp-badge small { font-size: 12px; letter-spacing: 2px; }
.about-copy h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.about-copy p { color: var(--text-soft); }
.about-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list .ck { width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.stat-box {
  background: #fff; border-radius: var(--radius); padding: 24px 14px; text-align: center;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent);
}
.stat-box .num { font-family: var(--font-serif); font-size: 30px; font-weight: 800; color: var(--brand); }
.stat-box .num i { font-style: normal; color: var(--accent); font-size: 22px; }
.stat-box .lab { font-size: 13.5px; color: var(--text-soft); margin-top: 4px; }

/* ==========================================================================
   匠心工艺流程
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .3s ease; }
.process-step:hover { transform: translateY(-5px); }
.process-step .no {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--font-serif); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-soft); margin: 0; }
.process-step::after {
  content: ""; position: absolute; top: 46px; right: -12px; width: 14px; height: 2px; background: var(--accent-light);
}
.process-step:last-child::after { display: none; }

/* ==========================================================================
   新闻预览
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.news-date .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.news-body h3 { font-size: 18px; margin-bottom: 10px; }
.news-body h3 a { color: var(--brand-deep); }
.news-body h3 a:hover { color: var(--accent); }
.news-body p { color: var(--text-soft); font-size: 14.5px; flex: 1; }
.news-body .more-link { align-self: flex-start; }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */
.cta-band {
  background: linear-gradient(100deg, var(--brand-deep), var(--brand));
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(216,168,106,.35), transparent 55%);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 54px 20px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-band p { color: #e9dcc8; margin: 0; }
.cta-band .cta-phone { font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--accent-light); display: block; margin-top: 6px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--brand-dark); color: #cbbba8; }
.footer .container { padding: 64px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #cbbba8; font-size: 14.5px; }
.footer a:hover { color: var(--accent-light); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #a9957c; }
.footer .desc { color: #cbbba8; font-size: 14.5px; margin: 16px 0 0; }
.footer .contact-list li { display: flex; gap: 10px; align-items: flex-start; color: #cbbba8; font-size: 14.5px; }
.footer .contact-list svg { width: 16px; height: 16px; fill: var(--accent-light); flex: none; margin-top: 4px; }
.footer .qr { width: 110px; height: 110px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 13px; margin-top: 6px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9c8a72; }
.footer-bottom a { color: #9c8a72; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ==========================================================================
   内页横幅 + 面包屑
   ========================================================================== */
.page-banner {
  position: relative; color: #fff; padding: 90px 0; text-align: center;
  background: linear-gradient(100deg, rgba(46,32,21,.82) 0%, rgba(74,53,39,.55) 100%), url("../pic/inner-banner.jpg") center/cover no-repeat;
}
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; letter-spacing: 2px; }
.page-banner .crumb { font-size: 14px; color: #e6d8c2; display: flex; justify-content: center; gap: 8px; align-items: center; }
.page-banner .crumb a { color: #e6d8c2; }
.page-banner .crumb a:hover { color: var(--accent-light); }
.page-banner .crumb .sep { opacity: .6; }

/* ==========================================================================
   新闻列表页
   ========================================================================== */
.news-list { display: grid; gap: 30px; }
.news-row {
  display: grid; grid-template-columns: 360px 1fr; gap: 30px; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-row .thumb { overflow: hidden; position: relative; min-height: 230px; }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-row:hover .thumb img { transform: scale(1.05); }
.news-row .thumb .cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: 1px;
}
.news-row .body { padding: 26px 30px; display: flex; flex-direction: column; }
.news-row .body h2 { font-size: 21px; margin-bottom: 10px; }
.news-row .body h2 a { color: var(--brand-deep); }
.news-row .body h2 a:hover { color: var(--accent); }
.news-row .body .meta { font-size: 13px; color: var(--text-soft); display: flex; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.news-row .body .meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-row .body p { color: var(--text-soft); font-size: 15px; flex: 1; }
.news-row .body .more-link { align-self: flex-start; }

/* 两栏布局（新闻页 / 内页） */
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.layout-main { min-width: 0; }

.aside-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.aside-card h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-soft); position: relative; }
.aside-card h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--accent); }
.hot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hot-list li { display: flex; gap: 12px; }
.hot-list .rank { font-family: var(--font-serif); font-weight: 800; color: var(--accent-light); font-size: 20px; line-height: 1.2; flex: none; width: 26px; }
.hot-list .rank.top { color: var(--accent); }
.hot-list a { color: var(--text); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-list a:hover { color: var(--accent); }
.hot-list small { display: block; color: var(--text-soft); font-size: 12.5px; margin-top: 2px; }

.cat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cat-list a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 8px; background: var(--bg); color: var(--text); font-size: 14.5px; }
.cat-list a:hover { background: var(--accent); color: #fff; }
.cat-list .cnt { font-size: 12.5px; opacity: .7; }

.aside-cta { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; }
.aside-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.aside-cta h3::after { background: var(--accent-light); }
.aside-cta p { color: #e9dcc8; font-size: 14px; }
.aside-cta .big-phone { font-family: var(--font-serif); font-size: 22px; font-weight: 800; color: var(--accent-light); display: block; margin: 10px 0 6px; }

/* 分类筛选 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 22px; border-radius: 999px; font-size: 14px; font-family: var(--font-sans);
  cursor: pointer; transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.news-row.hide { display: none; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #fff; color: var(--text); border: 1px solid var(--line); font-size: 14.5px;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .cur { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .dots { border: 0; background: none; }

/* ==========================================================================
   关于我们页
   ========================================================================== */
.about-story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-story .story-media { position: relative; }
.about-story .story-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.story-media .badge { position: absolute; bottom: -20px; left: 24px; background: var(--accent); color: #fff; border-radius: 12px; padding: 14px 22px; box-shadow: var(--shadow-md); }
.story-media .badge b { font-family: var(--font-serif); font-size: 20px; display: block; line-height: 1.3; }
.story-media .badge small { font-size: 12px; letter-spacing: 1px; opacity: .92; }
.about-story h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.about-story p { color: var(--text-soft); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .3s ease; }
.value-card:hover { transform: translateY(-6px); }
.value-card .vi { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.value-card .vi svg { width: 30px; height: 30px; fill: var(--accent); }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-soft); margin: 0; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-left: 62px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 12px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent); border: 4px solid var(--bg-soft); box-shadow: 0 0 0 2px var(--accent);
}
.tl-item .yr { font-family: var(--font-serif); color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: 1px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.factory-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.factory-card img { width: 100%; height: 320px; object-fit: cover; transition: transform .5s ease; }
.factory-card:hover img { transform: scale(1.06); }
.factory-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff;
  background: linear-gradient(transparent, rgba(30,20,12,.85));
}
.factory-card figcaption h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.factory-card figcaption p { font-size: 13px; margin: 0; opacity: .9; }

/* ==========================================================================
   联系我们页
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 20px; }
.contact-card {
  display: flex; gap: 18px; background: #fff; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); align-items: flex-start;
}
.contact-card .ci { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.contact-card .ci svg { width: 26px; height: 26px; fill: var(--accent); }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.contact-card a { font-size: 18px; font-family: var(--font-serif); font-weight: 700; color: var(--brand); }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.contact-form-wrap h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--brand-deep); }
.form-group label em { color: var(--danger); font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-sans); font-size: 14.5px; color: var(--text); background: #fdfbf7; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(185,122,61,.15); background: #fff;
}
.form-group .tip { font-size: 12.5px; color: var(--text-soft); }
.form-note { font-size: 13px; color: var(--text-soft); margin-top: 14px; }
.form-message { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.form-message.ok { display: block !important; background: #eaf4ec; color: var(--success); border: 1px solid #cfe5d3; }
.form-message.error { display: block !important; background: #fbeeea; color: var(--danger); border: 1px solid #f0d4ca; }

.map-box { margin-top: 46px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.map-box .map-placeholder { height: 380px; background: linear-gradient(135deg, var(--bg-soft), #e7dcc9); position: relative; display: flex; align-items: center; justify-content: center; }
.map-box .map-pin { text-align: center; color: var(--brand); }
.map-box .map-pin svg { width: 46px; height: 46px; fill: var(--accent); margin: 0 auto 8px; }
.map-box .map-pin b { display: block; font-family: var(--font-serif); font-size: 16px; }
.map-box .map-pin small { color: var(--text-soft); }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 24px; cursor: pointer; font-weight: 600; color: var(--brand-deep); }
.faq-q .plus { font-size: 20px; color: var(--accent); transition: transform .3s ease; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-soft); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   返回顶部 / 浮动咨询
   ========================================================================== */
.back-top {
  position: fixed; right: 24px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 20px; height: 20px; fill: #fff; }

.float-consult {
  position: fixed; left: 24px; bottom: 30px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 13px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: transform .25s ease, background .25s ease;
}
.float-consult:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.float-consult svg { width: 18px; height: 18px; fill: #fff; }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .layout-2col { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .news-grid, .values-grid, .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview, .about-story, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar .tb-right { display: none; }
  .header .container { height: 64px; }
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-phone { display: none; }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    background: #fff; transform: translateX(100%); transition: transform .32s ease;
    padding: 30px 22px; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 17px; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--accent); }

  .hero { min-height: 520px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat { flex: 1 1 45%; border-bottom: 1px solid rgba(255,255,255,.15); }

  .advantage-bar .container { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 1fr; }
  .news-row .thumb { aspect-ratio: 16 / 9; }
  .form-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .about-media .img-float { width: 55%; right: 0; bottom: -12px; }
}

@media (max-width: 520px) {
  .product-grid, .news-grid, .values-grid, .factory-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .float-consult { display: none; }
}
