/* ============================================================
   澄肌 CENGJI · 护肤品行业官网
   设计系统 / 共享样式
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 色彩 */
  --c-bg: #faf8f4;
  --c-bg-soft: #f3efe7;
  --c-surface: #ffffff;
  --c-ink: #26221d;
  --c-ink-soft: #5c564d;
  --c-ink-faint: #8d867a;
  --c-brand: #3f5a4a;
  --c-brand-deep: #2e4639;
  --c-brand-soft: #e6ede7;
  --c-gold: #b0925f;
  --c-gold-soft: #f0e8d8;
  --c-line: #e7e0d5;
  --c-danger: #b5574e;

  /* 字体（国内可用的系统字体栈，无外链依赖） */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;

  /* 尺寸 */
  --container: 1200px;
  --header-h: 76px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(46, 60, 45, 0.07);
  --shadow-md: 0 12px 32px rgba(46, 60, 45, 0.12);
  --shadow-lg: 0 24px 60px rgba(46, 60, 45, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--c-brand);
  color: #fff;
}

/* ---------- 通用布局 ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding-block: 88px;
}

.section--tint {
  background: var(--c-bg-soft);
}

.section--brand {
  background: var(--c-brand-deep);
  color: #f4f0e8;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.section-head--center .section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-desc {
  margin-top: 16px;
  color: var(--c-ink-soft);
  font-size: 15px;
}

.section--brand .section-desc {
  color: rgba(244, 240, 232, 0.78);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn--primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(63, 90, 74, 0.3);
}

.btn--primary:hover {
  background: var(--c-brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(63, 90, 74, 0.36);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  background: var(--c-surface);
}

.btn--outline:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 14px;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 4px 20px rgba(46, 60, 45, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-brand-deep);
}

.brand small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--c-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--c-ink-soft);
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--c-brand-deep);
}

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

/* 桌面端隐藏导航内的 CTA，避免与右上角按钮重复；移动端菜单中再显示 */
.nav .btn {
  display: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #211f1b;
  color: #cfc8bb;
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #f2ede3;
}

.footer__intro {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(207, 200, 187, 0.75);
  max-width: 300px;
}

.footer__col-title {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #f2ede3;
  margin-bottom: 18px;
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(207, 200, 187, 0.75);
  transition: color 0.25s;
}

.footer__col a:hover {
  color: var(--c-gold);
}

.footer__hotline {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f2ede3;
}

.footer__hotline span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(207, 200, 187, 0.6);
  margin-bottom: 4px;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}

.footer__socials a:hover {
  border-color: var(--c-gold);
  background: rgba(176, 146, 95, 0.14);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: #cfc8bb;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(207, 200, 187, 0.55);
}

.footer__bottom a {
  color: inherit;
}

.footer__bottom a:hover {
  color: var(--c-gold);
}

/* ---------- 首页：Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1000px 600px at 85% 18%, rgba(176, 146, 95, 0.16), transparent 60%),
    radial-gradient(800px 520px at 8% 88%, rgba(63, 90, 74, 0.14), transparent 62%),
    linear-gradient(160deg, #f6f2ea 0%, #efe9dd 48%, #e8efe8 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-block: 130px 96px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-brand);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--c-gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.28;
  letter-spacing: 0.05em;
  color: var(--c-brand-deep);
}

.hero__title em {
  font-style: normal;
  color: var(--c-gold);
}

.hero__subtitle {
  margin-top: 22px;
  max-width: 480px;
  color: var(--c-ink-soft);
  font-size: 16px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--c-ink-faint);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
  fill: var(--c-gold);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-ring {
  position: absolute;
  width: min(480px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(150deg, rgba(63, 90, 74, 0.18), rgba(176, 146, 95, 0.18));
  border: 1px solid rgba(63, 90, 74, 0.16);
  animation: heroFloat 7s ease-in-out infinite;
}

.hero__visual-ring::before,
.hero__visual-ring::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(63, 90, 74, 0.22);
  animation: heroSpin 36s linear infinite;
}

.hero__visual-ring::after {
  inset: 19%;
  border-color: rgba(176, 146, 95, 0.32);
  animation-direction: reverse;
  animation-duration: 52s;
}

.hero__bottle {
  position: relative;
  width: min(290px, 60vw);
  filter: drop-shadow(0 30px 40px rgba(46, 60, 45, 0.22));
  animation: heroFloat 7s ease-in-out infinite;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: heroFloat 6s ease-in-out infinite reverse;
}

.hero__badge svg {
  width: 30px;
  height: 30px;
  fill: var(--c-brand);
}

.hero__badge strong {
  display: block;
  font-size: 15px;
  color: var(--c-ink);
}

.hero__badge span {
  font-size: 12px;
  color: var(--c-ink-faint);
}

.hero__badge--left {
  left: -6px;
  bottom: 18%;
}

.hero__badge--right {
  right: -4px;
  top: 16%;
  animation-delay: 1.2s;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes heroSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 首页：品牌标语条 ---------- */
.marquee {
  background: var(--c-brand-deep);
  color: rgba(244, 240, 232, 0.72);
  overflow: hidden;
  padding-block: 16px;
}

.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: 14px;
  letter-spacing: 0.24em;
}

.marquee__track span::after {
  content: "✦";
  color: var(--c-gold);
}

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

/* ---------- 首页：三大承诺 ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promise-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.promise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.promise-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--c-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.promise-card__icon svg {
  width: 30px;
  height: 30px;
  fill: var(--c-brand);
}

.promise-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.promise-card p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* ---------- 首页：明星产品 ---------- */
.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff, transparent 55%),
    var(--c-bg-soft);
}

.product-card__visual svg {
  width: 58%;
  filter: drop-shadow(0 16px 20px rgba(46, 60, 45, 0.16));
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__visual svg {
  transform: translateY(-8px) scale(1.03);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--c-gold-soft);
  color: #8a6d3d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__cat {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.product-card__desc {
  font-size: 13px;
  color: var(--c-ink-faint);
  line-height: 1.6;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-brand-deep);
}

.product-card__price::before {
  content: "¥";
  font-size: 13px;
  margin-right: 2px;
  font-weight: 600;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-brand);
  font-weight: 600;
  transition: gap 0.25s var(--ease);
}

.product-card__more:hover {
  gap: 10px;
}

.product-card__more svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

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

.section-actions {
  margin-top: 48px;
  text-align: center;
}

/* ---------- 首页：成分科技 ---------- */
.ingredient-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.ingredient-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(155deg, #dfe9e0, #c9d9c7 55%, #e4dcc6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-art svg {
  width: 62%;
  filter: drop-shadow(0 24px 30px rgba(46, 60, 45, 0.2));
}

.ingredient-art__caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--c-ink-soft);
  box-shadow: var(--shadow-sm);
}

.ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.ingredient-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ingredient-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.ingredient-item__no {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--c-gold);
  text-align: center;
}

.ingredient-item h4 {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.ingredient-item p {
  font-size: 13px;
  color: var(--c-ink-faint);
}

.ingredient-item__pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand);
  white-space: nowrap;
}

/* ---------- 首页：用户评价 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  display: flex;
  gap: 4px;
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--c-gold);
}

.review-card blockquote {
  font-size: 14px;
  color: var(--c-ink-soft);
  flex: 1;
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}

.review-card__user strong {
  display: block;
  font-size: 14px;
}

.review-card__user span {
  font-size: 12px;
  color: var(--c-ink-faint);
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(176, 146, 95, 0.28), transparent 60%),
    linear-gradient(135deg, #33493c, #22382c);
  color: #f4f0e8;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 40px;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(244, 240, 232, 0.75);
  font-size: 15px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 页面横幅（内页共用） ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 56px;
  background:
    radial-gradient(700px 300px at 88% 0%, rgba(176, 146, 95, 0.18), transparent 60%),
    linear-gradient(165deg, #f6f2ea, #ece6da);
  border-bottom: 1px solid var(--c-line);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.06em;
  color: var(--c-brand-deep);
}

.page-hero__desc {
  margin-top: 14px;
  max-width: 560px;
  color: var(--c-ink-soft);
  font-size: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-ink-faint);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--c-brand);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ---------- 产品页：筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-bar__label {
  font-size: 14px;
  color: var(--c-ink-faint);
  margin-right: 4px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  font-size: 14px;
  color: var(--c-ink-soft);
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.filter-btn.is-active {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(63, 90, 74, 0.26);
}

.product-grid.is-filtering .product-card {
  animation: cardIn 0.45s var(--ease) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-grid__empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: var(--c-ink-faint);
}

.product-grid__empty.is-visible {
  display: block;
}

/* ---------- 品牌故事页 ---------- */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-layout--reverse .story-layout__text {
  order: -1;
}

.story-layout__text p {
  margin-top: 18px;
  color: var(--c-ink-soft);
  font-size: 15px;
}

.story-layout__text p:first-of-type {
  margin-top: 22px;
}

.story-layout__visual {
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-layout__visual--leaf {
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(255, 255, 255, 0.85), transparent 60%),
    linear-gradient(150deg, #e2ece1, #cfe0cd);
}

.story-layout__visual--lab {
  background:
    radial-gradient(80% 70% at 70% 20%, rgba(255, 255, 255, 0.85), transparent 60%),
    linear-gradient(150deg, #efe7d6, #dde7da);
}

.story-layout__visual svg {
  width: 58%;
  filter: drop-shadow(0 20px 26px rgba(46, 60, 45, 0.18));
}

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

.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--c-brand-deep);
  line-height: 1.2;
}

.stat-card strong i {
  font-style: normal;
  font-size: 18px;
  color: var(--c-gold);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--c-ink-faint);
}

.timeline {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--c-gold), var(--c-brand));
}

.timeline-item {
  position: relative;
  padding-bottom: 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-gold);
}

.timeline-item__year {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--c-ink-soft);
}

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

.value-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.value-card svg {
  width: 34px;
  height: 34px;
  fill: var(--c-gold);
  margin: 0 auto 18px;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.72);
}

/* ---------- 联系我们页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-brand);
}

.contact-card h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: var(--c-ink-soft);
}

.contact-card a:hover {
  color: var(--c-brand);
}

.contact-form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group label em {
  font-style: normal;
  color: var(--c-danger);
}

.form-control {
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-bg);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-control:focus {
  border-color: var(--c-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(63, 90, 74, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-group.is-error .form-control {
  border-color: var(--c-danger);
}

.form-group.is-error .form-hint {
  color: var(--c-danger);
  display: block;
}

.form-hint {
  display: none;
  font-size: 12px;
  margin-top: 6px;
  color: var(--c-ink-faint);
}

.form-privacy.is-error {
  color: var(--c-danger);
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-ink-faint);
  margin-bottom: 24px;
}

.form-privacy input {
  margin-top: 4px;
  accent-color: var(--c-brand);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success.is-visible {
  display: block;
  animation: cardIn 0.5s var(--ease) both;
}

.form-success svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  fill: var(--c-brand);
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--c-ink-soft);
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.is-open {
  box-shadow: var(--shadow-sm);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.faq-item__q svg {
  width: 18px;
  height: 18px;
  fill: var(--c-brand);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__a p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--c-ink-soft);
}

/* ---------- 合作流程 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
}

.process-card__no {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--c-gold-soft);
  font-weight: 700;
  line-height: 1;
}

.process-card h3 {
  font-size: 17px;
  letter-spacing: 0.06em;
  margin: 16px 0 8px;
}

.process-card p {
  font-size: 13px;
  color: var(--c-ink-faint);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}

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

.back-top:hover {
  background: var(--c-brand-deep);
}

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

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 120px 80px;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__cta,
  .hero__meta {
    justify-content: center;
  }

  .hero__eyebrow::before {
    display: none;
  }

  .hero__visual {
    order: -1;
  }

  .hero__bottle {
    width: min(230px, 55vw);
  }

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

  .ingredient-layout,
  .story-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .cta-banner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }

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

  .nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--c-line);
  }

  .nav a::after {
    display: none;
  }

  .nav .btn {
    margin-top: 14px;
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .promise-grid,
  .product-grid,
  .review-grid,
  .stats-grid,
  .value-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 40px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 22px;
  }

  .hero__badge {
    padding: 10px 14px;
    border-radius: 12px;
  }

  .hero__badge--left {
    left: 0;
    bottom: 12%;
  }

  .hero__badge--right {
    right: 0;
    top: 10%;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }
}
