/* =========================================================
   蓝见山云百货店 · 品牌官网样式
   目录：
   1. 基础变量与重置
   2. 通用组件（按钮 / 标题 / 容器）
   3. 顶部通告与导航
   4. 首屏 Hero
   5. 滚动标语
   6. 七大品类
   7. 精选商品
   8. 品牌故事
   9. 服务保障
   10. 联系我们
   11. 页脚 / 浮层
   12. 动效与响应式
   ========================================================= */

/* ---------- 1. 基础变量与重置 ---------- */
:root {
  --ink: #16313a;
  --ink-deep: #0f252c;
  --ink-soft: #24464f;
  --paper: #f7f3ea;
  --paper-deep: #efe7d8;
  --white: #fffdf8;
  --accent: #b58256;
  --accent-soft: #d9c3a6;
  --text: #22312f;
  --muted: #6f7d78;
  --line: #e2dac9;
  --line-dark: rgba(247, 243, 234, 0.16);
  --radius: 4px;
  --shadow-sm: 0 10px 30px rgba(22, 49, 58, 0.06);
  --shadow-md: 0 24px 60px rgba(22, 49, 58, 0.12);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, blockquote {
  margin: 0;
  padding: 0;
}

ul { list-style: none; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.skip-link:focus { top: 12px; }

/* ---------- 2. 通用组件 ---------- */
.container {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light { color: var(--accent-soft); }

.section-title {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-title--light { color: var(--paper); }

.section-desc {
  max-width: 560px;
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted);
}

.section-desc--right { margin-top: 0; max-width: 360px; }
.section-desc--light { color: rgba(247, 243, 234, 0.66); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ---------- 3. 顶部通告与导航 ---------- */
.topbar {
  background: var(--ink-deep);
  color: rgba(247, 243, 234, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 24px;
}

.topbar__note { white-space: nowrap; }

.topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar__links a:hover { color: var(--accent-soft); }

.topbar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 218, 201, 0.7);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 243, 234, 0.96);
  box-shadow: 0 8px 30px rgba(22, 49, 58, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.brand__mark svg { width: 100%; height: 100%; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.brand__text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.5);
}

.cart-pill:hover { border-color: var(--accent); color: var(--accent); }

.cart-pill__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.cart-pill.is-bump .cart-pill__count { transform: scale(1.25); background: var(--accent); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 60px) 28px 44px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.mobile-menu nav a:hover { color: var(--accent-soft); padding-left: 8px; }

.mobile-menu__foot p { font-size: 12px; letter-spacing: 0.2em; color: rgba(247, 243, 234, 0.55); }

.mobile-menu__foot a {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--paper);
}

.mobile-menu__hours { margin-top: 8px; font-size: 12px !important; letter-spacing: 0.08em !important; color: rgba(247, 243, 234, 0.55) !important; }

/* ---------- 4. 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: clamp(600px, calc(100vh - 112px), 780px);
  background: var(--paper);
  scroll-margin-top: var(--header-h);
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 92px) clamp(32px, 5vw, 76px) clamp(48px, 5vw, 70px) clamp(20px, 6vw, 88px);
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  right: -30px;
  bottom: 40px;
  width: min(460px, 60%);
  color: var(--ink);
  opacity: 0.12;
  pointer-events: none;
}

.hero__deco svg { width: 100%; height: auto; }

.hero__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.hero__lead {
  max-width: 470px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 44px);
  margin-top: 48px;
}

.hero__stats li {
  position: relative;
  padding-left: 18px;
}

.hero__stats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: 36px;
  background: var(--line);
}

.hero__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.hero__stats strong em {
  font-style: normal;
  font-size: 18px;
  color: var(--accent);
}

.hero__stats span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero__aside {
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 44, 0.04) 40%, rgba(15, 37, 44, 0.52) 100%);
  pointer-events: none;
}

.hero__vertical {
  position: absolute;
  top: 32px;
  right: 24px;
  z-index: 2;
  writing-mode: vertical-rl;
  padding: 12px 7px;
  border-radius: 2px;
  background: rgba(15, 37, 44, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(255, 253, 248, 0.88);
}

.hero__card {
  position: absolute;
  left: clamp(18px, 2.4vw, 32px);
  bottom: clamp(18px, 2.4vw, 32px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 330px;
  padding: 22px 26px;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(15, 37, 44, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(15, 37, 44, 0.26); }

.hero__card-kicker { font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent); }

.hero__card-title { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); }

.hero__card-link { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- 5. 滚动标语 ---------- */
.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink);
  color: rgba(247, 243, 234, 0.82);
  border-top: 1px solid rgba(247, 243, 234, 0.08);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__track span {
  position: relative;
  padding: 0 38px;
  font-size: 12px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 6. 七大品类 ---------- */
.categories { background: var(--paper); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-card {
  position: relative;
  grid-column: span 2;
  height: 296px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  isolation: isolate;
}

.cat-card--lg {
  grid-column: span 3;
  height: 392px;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 37, 44, 0.02) 24%, rgba(15, 37, 44, 0.82) 100%);
  transition: opacity 0.5s var(--ease);
}

.cat-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 26px 24px;
  color: var(--paper);
}

.cat-card__index {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent-soft);
}

.cat-card h3 {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cat-card p {
  max-width: 360px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.76);
}

.cat-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.9);
}

.cat-card__meta span { transition: transform 0.35s var(--ease); }

.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover .cat-card__meta span { transform: translateX(4px); }
.cat-card:hover::after { background: linear-gradient(180deg, rgba(15, 37, 44, 0.06) 10%, rgba(15, 37, 44, 0.9) 100%); }

/* ---------- 7. 精选商品 ---------- */
.products { background: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}

.product-card.is-hidden { display: none; }

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 0.94;
  overflow: hidden;
  background: var(--paper);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(247, 243, 234, 0.92);
  border-radius: 2px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.product-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.price em {
  font-family: var(--sans);
  font-style: normal;
  margin-left: 2px;
  font-size: 11px;
  color: var(--muted);
}

.add-btn {
  padding: 6px 0 3px;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.add-btn:hover { color: var(--accent); border-color: var(--accent); }

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.filter__btn {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.filter__btn:hover { border-color: var(--accent); color: var(--ink); }

.filter__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.products__empty {
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.products__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.products__foot p { font-size: 12px; color: var(--muted); }

/* ---------- 8. 品牌故事 ---------- */
.story { background: var(--paper); overflow: hidden; }

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.story__media {
  position: relative;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}

.story__caption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  padding: 8px 14px;
  background: rgba(15, 37, 44, 0.72);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.story__stamp {
  position: absolute;
  top: 34px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(181, 130, 86, 0.8);
  color: #8c5f38;
  background: rgba(247, 243, 234, 0.9);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  transform: rotate(-6deg);
}

.story__text {
  max-width: 540px;
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--muted);
}

.story__quote {
  margin-top: 32px;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--accent);
}

.story__quote p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.7;
  color: var(--ink);
}

.story__quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.story__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.story__values strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.story__values span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 9. 服务保障 ---------- */
.service {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(181, 130, 86, 0.14), transparent 65%),
    radial-gradient(900px 500px at 5% 100%, rgba(36, 70, 79, 0.55), transparent 70%);
  pointer-events: none;
}

.service .container { position: relative; z-index: 1; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.03);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover {
  background: rgba(255, 253, 248, 0.07);
  border-color: rgba(217, 195, 166, 0.45);
  transform: translateY(-4px);
}

.service-card__icon {
  display: inline-flex;
  color: var(--accent-soft);
}

.service-card__icon svg { width: 34px; height: 34px; }

.service-card h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.service-card p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(247, 243, 234, 0.62);
}

.service-card__no {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(247, 243, 234, 0.28);
}

.service__note {
  margin-top: 28px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.42);
}

/* ---------- 10. 联系我们 ---------- */
.contact { background: var(--paper); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: start;
}

.contact__list {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}

.contact__icon svg { width: 19px; height: 19px; }

.contact__list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 400;
}

.contact__list span,
.contact__list a {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

.contact__list a:hover { color: var(--accent); }

.contact__form {
  padding: clamp(28px, 3.6vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact__form h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.form__hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.form__hint span { color: var(--accent); }

.field { margin-top: 20px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text);
}

.field label span { color: var(--accent); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  font-size: 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 116px; }

.field input::placeholder,
.field textarea::placeholder { color: #a3aca7; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 130, 86, 0.12);
}

.field.has-error input,
.field.has-error textarea { border-color: #b0553f; }

.field__error {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 11.5px;
  color: #b0553f;
}

.contact__form .btn { margin-top: 26px; }

.form__status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #2f6b52;
}

.form__privacy {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 11. 页脚 / 浮层 ---------- */
.site-footer {
  padding: 72px 0 26px;
  background: var(--ink-deep);
  color: rgba(247, 243, 234, 0.66);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}

.brand--light .brand__text strong { color: var(--paper); }

.brand--light .brand__text em { color: rgba(247, 243, 234, 0.5); }

.footer__slogan {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--paper);
}

.footer__addr {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer__col h4 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--accent-soft);
}

.footer__col a,
.footer__col p {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.62);
}

.footer__col a:hover { color: var(--accent-soft); }

.footer__col--contact a { font-family: var(--serif); font-size: 15px; color: var(--paper); }

.footer__wechat { margin-top: 14px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 243, 234, 0.1);
}

.footer__bottom p {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 234, 0.4);
}

.footer__icp a {
  color: rgba(247, 243, 234, 0.55);
  border-bottom: 1px solid rgba(247, 243, 234, 0.18);
}

.footer__icp a:hover {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), visibility 0.35s;
}

.back-top svg { width: 20px; height: 20px; }

.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-top:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 160;
  max-width: min(90vw, 420px);
  padding: 13px 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 12. 动效与响应式 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 平板与小屏笔记本 */
@media (max-width: 1120px) {
  .site-nav { gap: 20px; }
  .nav-link { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 64px clamp(20px, 5vw, 48px) 52px; }
  .hero__media { min-height: 380px; order: 2; }
  .hero__media img { object-position: center 62%; }
  .hero__vertical { display: none; }
  .hero__card { left: 20px; bottom: 20px; max-width: 300px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card,
  .cat-card--lg { grid-column: span 1; height: 280px; }

  .section-head--row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .section-desc--right { max-width: 520px; }

  .story__grid { grid-template-columns: 1fr; gap: 46px; }
  .story__media { order: 2; }
  .story__copy { order: 1; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; gap: 44px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}

@media (max-width: 720px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card__body { padding: 16px 16px 15px; }
  .product-card h3 { font-size: 16px; }
  .price { font-size: 19px; }

  .story__values { grid-template-columns: 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .products__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }

  .brand__mark { width: 36px; height: 36px; }
  .brand__text strong { font-size: 18px; }
  .cart-pill span:not(.cart-pill__count) { display: none; }

  .hero__title { font-size: 38px; }
  .hero__lead { font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 18px; margin-top: 36px; }
  .hero__stats strong { font-size: 25px; }
  .hero__stats li { padding-left: 13px; }
  .hero__stats li::before { height: 30px; }
  .hero__media { min-height: 300px; }
  .hero__card { max-width: 260px; padding: 16px 18px; }
  .hero__card-title { font-size: 14px; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-card,
  .cat-card--lg { height: 250px; }
  .cat-card__body { padding: 20px; }

  .section-title { font-size: 30px; }
  .section { padding: 64px 0; }

  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1 / 0.82; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  .contact__form { padding: 24px 20px; }
  .contact__list span,
  .contact__list a { font-size: 15px; }

  .footer__bottom p { font-size: 10.5px; }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .toast { bottom: 20px; padding: 12px 18px; font-size: 12px; }
}
