/* =============================================================
   FUKUMARU 福丸 · 官网样式(自包含,字体本地,页面对外零请求)
   设计语言:暖橘印章 + 黄豆粉米色 + 圆体日系
   配色取自品牌 theme-color #E9910C;材料色取自豆腐 / 玉米 / 绿茶 / 苹果木
   ============================================================= */

/* ---------- 自托管字体 ---------- */
/* 展示字:Zen Maru Gothic(日系圆体,拉丁子集);中文回退系统黑体 */
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/zenmaru-400.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/zenmaru-500.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/zenmaru-700.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/zenmaru-900.woff2') format('woff2'); }
/* 正文字:Inter */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }

/* ---------- 设计变量 ---------- */
:root {
  --orange:    #E9910C;   /* 品牌橘 */
  --orange-d:  #C8760A;
  --orange-l:  #F7B23F;
  --rice:      #FFFBF3;   /* 页面底色 */
  --kinako:    #F6E9D2;   /* 黄豆粉 */
  --kinako-2:  #FBF2E2;
  --sumi:      #2E241C;   /* 墨棕 */
  --sumi-2:    #241C15;
  --matcha:    #6F8A4E;
  --clay:      #C98B4B;
  --line:      #EADFCC;
  --line-2:    #F0E6D6;
  --ink:       #3B2F25;
  --muted:     #8A7C6C;

  --font-display: 'Zen Maru Gothic', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;

  --r-sm: 14px;
  --r:    22px;
  --r-lg: 34px;
  --r-xl: 46px;
  --shadow:      0 26px 50px -30px rgba(46, 36, 28, .40);
  --shadow-soft: 0 14px 30px -20px rgba(46, 36, 28, .30);
  --container: 1180px;

  /* 颗粒纹理:猫砂本体,全站复用 */
  --granule: radial-gradient(circle at 20% 30%, rgba(201,171,117,.30) 0 2px, transparent 2.5px),
             radial-gradient(circle at 70% 65%, rgba(201,171,117,.22) 0 2.5px, transparent 3px),
             radial-gradient(circle at 45% 85%, rgba(201,171,117,.18) 0 1.8px, transparent 2.3px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--rice);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; margin: 0; font-family: var(--font-display); color: var(--sumi); font-weight: 700; line-height: 1.24; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.section { position: relative; padding: 96px 0; }
.text-muted { color: var(--muted); }

/* 眉标:字距标签 + 前置印章点 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--orange-d); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--orange); box-shadow: 0 0 0 3px rgba(233,145,12,.20);
}

/* 印章:品牌签名元素 */
.seal {
  display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-display);
  font-weight: 700; line-height: 1; flex: none;
}
.seal-sm { width: 30px; height: 30px; font-size: 15px; }
.seal-md { width: 46px; height: 46px; font-size: 23px; }
.seal-lg { width: 92px; height: 92px; font-size: 44px; box-shadow: 0 10px 24px -10px rgba(200,118,10,.7); }

.ic svg { width: 100%; height: 100%; display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  font-family: var(--font-body); white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 24px -14px rgba(200,118,10,.85); }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(200,118,10,.9); }
.btn-ink { background: var(--sumi); color: var(--kinako-2); }
.btn-ink:hover { background: var(--sumi-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sumi); border: 2px solid rgba(46,36,28,.16); }
.btn-ghost:hover { border-color: var(--sumi); transform: translateY(-2px); }
.btn-light { background: var(--rice); color: var(--sumi); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ---------- 顶部导航(实色 + 细线,非毛玻璃) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--rice); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { height: 42px; width: auto; }
.site-header .brand img { height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-en { font-family: var(--font-display); font-size: 21px; font-weight: 900; color: var(--sumi); letter-spacing: .05em; }
.brand-zh { font-size: 11px; font-weight: 600; color: var(--orange-d); letter-spacing: .32em; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 8px 0; position: relative; }
.nav-links > a:hover { color: var(--orange-d); }
.nav-links > a.active { color: var(--sumi); }
.nav-links > a.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; background: var(--kinako); border-radius: 999px; padding: 4px; }
.lang-switch a { color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.lang-switch a.active { color: #fff; background: var(--sumi); }
.lang-switch .sep { display: none; }
.btn-wa { padding: 11px 20px; font-size: 14px; }
.nav-lang { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 4px; }
.nav-lang .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.nav-toggle { display: none; color: var(--sumi); padding: 4px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 74px 0 96px;
  background: linear-gradient(168deg, #FDF3E1 0%, var(--kinako) 58%, #F1E1C0 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--granule); background-size: 74px 74px, 96px 96px, 58px 58px; opacity: .9;
}
.hero-sun {
  position: absolute; top: -180px; right: -150px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--orange-l), var(--orange) 70%);
  opacity: .22; pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
/* Hero 背景大图模式(上传横/竖 banner,整屏显示) */
.hero-banner { width: 100%; line-height: 0; background: var(--sumi); }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-title { font-size: clamp(38px, 5.4vw, 64px); font-weight: 900; line-height: 1.14; }
.hero-title em { font-style: normal; color: var(--orange-d); }
.hero-sub { margin: 20px 0 30px; font-size: 17px; color: #6C5F51; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 数据条:后台以「数值|说明」逐行维护 */
.hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .st .n { font-family: var(--font-display); font-size: 30px; font-weight: 900; color: var(--sumi); line-height: 1; }
.hero-stats .st .l { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1.04; background: var(--kinako-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-seal { position: absolute; top: -20px; left: -20px; z-index: 3; border: 5px solid var(--rice); }
.hero-tag {
  position: absolute; right: -14px; bottom: 34px; z-index: 3;
  background: var(--rice); border-radius: 999px; padding: 11px 20px 11px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-soft);
  font-size: 14px; font-weight: 700; color: var(--sumi);
}
.hero-tag .ic { width: 22px; height: 22px; color: var(--matcha); flex: none; }

/* ---------- 价值带(整幅橘色:全站最响的一处) ---------- */
.values { background: var(--orange); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.values::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,.14) 0 2.5px, transparent 3px);
  background-size: 60px 60px;
}
.values-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; padding-right: 18px; position: relative; }
.value-item + .value-item::before {
  content: ''; position: absolute; left: -10px; top: 4px; bottom: 4px; width: 1px; background: rgba(255,255,255,.30);
}
.value-item .ic { width: 34px; height: 34px; flex: none; color: #fff; margin-top: 2px; }
.value-item h3 { font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: 13.5px; color: rgba(255,255,255,.86); line-height: 1.55; }

/* ---------- 通用区块头 ---------- */
.section-head { max-width: 620px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 产品系列 ---------- */
.series { background: var(--rice); }
.series-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.series-top .section-head { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--rice); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--kinako); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px 22px 24px; }
.product-card .name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--sumi); }
.product-card .mat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font-size: 13px; color: var(--muted); margin-top: 7px; }
.product-card .mat .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.product-card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--orange-d); }
.product-card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.product-card:hover .more svg { transform: translateX(4px); }

/* 猫咪偷看:每张卡片背后藏一只猫,随机从上沿探头偷看你(逻辑见 main.js) */
.card-wrap { position: relative; }
.card-wrap .product-card { display: block; position: relative; z-index: 1; }
.peek-cat {
  position: absolute; top: 0; left: 32%; z-index: 0; width: 50px; height: 41px;
  pointer-events: none; color: #9C8A76; transform: translateY(8px);
  transition: transform .42s cubic-bezier(.55, .06, .68, .19); /* 缩回:干脆利落 */
  visibility: hidden; /* 等卡片入场(.in,不透明)后才现身,避免透出/悬浮 */
}
.product-card.in ~ .peek-cat { visibility: visible; }
.peek-cat svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(46, 36, 28, .22)); }
.peek-cat.peeking { transform: translateY(-70%); transition: transform .6s cubic-bezier(.34, 1.42, .56, 1); } /* 顶部探头:带一点回弹 */
/* 左侧探头:躲在卡片后,从左边缘探半张脸出来 */
.peek-cat.pk-left { top: 34%; left: 0; transform: translateX(10px); }
.peek-cat.pk-left.peeking { transform: translateX(-58%) rotate(-8deg); transition: transform .6s cubic-bezier(.34, 1.42, .56, 1); }
/* 右侧探头:镜像 */
.peek-cat.pk-right { top: 34%; left: auto; right: 0; transform: translateX(-10px); }
.peek-cat.pk-right.peeking { transform: translateX(58%) rotate(8deg); transition: transform .6s cubic-bezier(.34, 1.42, .56, 1); }
@media (prefers-reduced-motion: reduce) { .peek-cat { display: none; } }

/* 分类标签(产品页) */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700;
  background: var(--kinako-2); color: var(--ink); border: 1px solid var(--line);
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.cat-tab:hover { transform: translateY(-2px); border-color: var(--orange); }
.cat-tab .n { font-size: 12px; font-weight: 600; color: var(--muted); }
.cat-tab.on { background: var(--sumi); color: var(--kinako-2); border-color: var(--sumi); }
.cat-tab.on .n { color: rgba(246,233,210,.6); }

/* ---------- 结块演示(签名交互) ---------- */
.clump { background: var(--kinako); }
.clump-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }

.stage {
  position: relative; aspect-ratio: 1/.86; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #F3E5C6, #E8D6AF); overflow: hidden;
  box-shadow: inset 0 3px 18px rgba(46,36,28,.10); border: 1px solid var(--line);
}
.stage .bed {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background-color: #E3D0A6;
  background-image: radial-gradient(circle at 25% 30%, #F6EDD9 0 5px, transparent 5.5px),
                    radial-gradient(circle at 70% 60%, #EFE2C4 0 6px, transparent 6.5px),
                    radial-gradient(circle at 46% 85%, #D8C193 0 4.5px, transparent 5px);
  background-size: 44px 44px, 52px 52px, 38px 38px;
}
.stage .drop {
  position: absolute; left: 50%; top: 8%; width: 40px; height: 50px;
  transform: translate(-50%, -160%); opacity: 0;
  background: #C88F3E; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transition: transform .7s cubic-bezier(.5,.05,.6,1), opacity .3s ease;
}
.stage .puddle {
  position: absolute; left: 50%; bottom: 30%; width: 0; height: 0; transform: translateX(-50%);
  border-radius: 50%; background: rgba(178,124,52,.55); transition: width .5s ease, height .5s ease;
}
.stage .lump {
  position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%) scale(.2);
  width: 46%; aspect-ratio: 1/.8; opacity: 0;
  background: linear-gradient(160deg, #C79A55, #A87A38);
  border-radius: 58% 42% 46% 54% / 54% 50% 50% 46%;
  box-shadow: inset 0 -6px 14px rgba(0,0,0,.16);
  transition: transform .5s cubic-bezier(.2,1.3,.5,1), opacity .35s ease;
}
.stage .ring {
  position: absolute; left: 50%; bottom: 19%; width: 62%; aspect-ratio: 1/1;
  transform: translate(-50%, 0) scale(.7); opacity: 0;
  border: 3px dashed var(--orange); border-radius: 50%;
  transition: transform .45s ease, opacity .35s ease;
}
.stage .timer {
  position: absolute; top: 16px; right: 18px; z-index: 4;
  background: var(--rice); border-radius: 999px; padding: 6px 15px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--sumi);
  box-shadow: var(--shadow-soft);
}
/* 三个状态 */
.stage.s1 .drop { transform: translate(-50%, 300%); opacity: 1; }
.stage.s2 .drop { transform: translate(-50%, 340%); opacity: 0; }
.stage.s2 .puddle { width: 42%; height: 13%; }
.stage.s3 .puddle { width: 0; height: 0; }
.stage.s3 .lump { transform: translateX(-50%) scale(1); opacity: 1; }
.stage.s3 .ring { transform: translate(-50%, 0) scale(1); opacity: .9; }

.steps { display: grid; gap: 12px; margin-top: 30px; }
.step {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; width: 100%;
  padding: 16px 20px; border-radius: var(--r); background: var(--kinako-2);
  border: 2px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.step:hover { transform: translateX(3px); }
.step .ic { width: 30px; height: 30px; color: var(--muted); flex: none; margin-top: 3px; transition: color .2s; }
.step h4 { font-size: 16px; margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--muted); }
.step.on { background: var(--rice); border-color: var(--orange); box-shadow: var(--shadow-soft); }
.step.on .ic { color: var(--orange); }

/* ---------- 品牌故事(深色锚点) ---------- */
.story { background: var(--sumi); color: rgba(246,233,210,.78); padding: 100px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.story-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4.1; box-shadow: var(--shadow); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { color: var(--kinako-2); font-size: clamp(28px, 3.6vw, 42px); }
.story .eyebrow { color: var(--orange-l); }
.story .lede { margin: 20px 0 28px; font-size: 16.5px; max-width: 480px; }
.story-quote {
  border-left: 3px solid var(--orange); padding: 4px 0 4px 20px; margin-bottom: 30px;
  font-family: var(--font-display); font-size: 19px; color: var(--kinako-2); line-height: 1.55;
}

/* ---------- 客户评价 ---------- */
.reviews { background: var(--rice); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--kinako-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px 26px; }
.review-card:nth-child(even) { background: var(--rice); border-color: var(--line); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; }
.review-card .quote { font-size: 15px; color: #574A3D; }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.review-card .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-card .who .nm { font-weight: 700; color: var(--sumi); font-size: 15px; }
.review-card .who .loc { font-size: 13px; color: var(--muted); }

/* ---------- Instagram ---------- */
.gram { background: var(--rice); padding-bottom: 24px; }
.gram-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.gram-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.gram-head .at { color: var(--orange-d); }
/* 五个社交媒体方块(替换原 Instagram 图集) */
.social-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.social-tile { aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--kinako);
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease; }
.social-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--granule); background-size: 70px 70px, 90px 90px, 54px 54px; opacity: .5; }
.social-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.social-tile-ic { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; transition: transform .22s ease; }
.social-tile-ic svg { width: 31px; height: 31px; }
.social-tile:hover .social-tile-ic { transform: scale(1.08); }
.social-tile-label { position: relative; z-index: 1; font-size: 13.5px; font-weight: 700; color: var(--sumi); letter-spacing: .02em; }
.social-tile--instagram .social-tile-ic { background: var(--orange); }
.social-tile--facebook  .social-tile-ic { background: var(--clay); }
.social-tile--tiktok    .social-tile-ic { background: var(--sumi); }
.social-tile--shopee    .social-tile-ic { background: var(--orange-d); }
.social-tile--whatsapp  .social-tile-ic { background: var(--matcha); }
.gram-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gram-grid a { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r); position: relative; background: var(--kinako); }
.gram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gram-grid a::after { content: ''; position: absolute; inset: 0; background: rgba(46,36,28,0); transition: background .3s; }
.gram-grid a:hover img { transform: scale(1.07); }
.gram-grid a:hover::after { background: rgba(46,36,28,.16); }

/* ---------- 行动带(订阅 + WhatsApp) ---------- */
.cta { background: var(--rice); padding: 60px 0 96px; }
.cta-card {
  background: var(--kinako); border-radius: var(--r-xl); padding: 52px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.cta-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--granule); background-size: 70px 70px, 90px 90px, 54px 54px; opacity: .8;
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-card .lede { color: var(--muted); margin-top: 10px; }
.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input {
  flex: 1; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--rice); font-size: 15px; font-family: inherit; color: var(--ink);
}
.subscribe-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233,145,12,.18); }
.cta-msg { font-size: 13px; color: var(--orange-d); margin-top: 10px; min-height: 18px; font-weight: 600; }
.cta-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--muted); }
.cta-or::before, .cta-or::after { content: ''; height: 1px; background: var(--line); flex: 1; }

/* ---------- 页脚(深色) ---------- */
.site-footer { background: var(--sumi); color: rgba(246,233,210,.72); padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 34px; }
.footer-about .brand { margin-bottom: 16px; }
.footer-about .brand img { filter: brightness(0) invert(1); opacity: .9; }
.footer-about .brand-en { color: var(--kinako-2); }
.footer-about .brand-zh { color: var(--orange-l); }
.footer-about p { font-size: 14px; max-width: 280px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(246,233,210,.10); color: var(--kinako-2);
  display: grid; place-items: center; transition: transform .18s, background .18s, color .18s;
}
.social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 14px; color: var(--kinako-2); font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; }
.footer-col ul a:hover { color: var(--orange-l); }
.footer-contact .row { font-size: 14px; margin-bottom: 14px; }
.footer-contact .row .lbl { color: rgba(246,233,210,.45); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.footer-contact .row .val { color: var(--kinako-2); overflow-wrap: anywhere; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(246,233,210,.12);
  font-size: 13px; color: rgba(246,233,210,.55);
}
.footer-bottom a:hover { color: var(--orange-l); }

/* ---------- 内页:Coming Soon / Contact ---------- */
.page-hero {
  background: linear-gradient(168deg, #FDF3E1, var(--kinako)); padding: 72px 0; text-align: center;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--granule); background-size: 74px 74px, 96px 96px, 58px 58px; opacity: .85;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 48px); }
.page-hero .lede { color: var(--muted); max-width: 520px; margin: 14px auto 0; }
.page-hero .eyebrow { justify-content: center; }

.coming { text-align: center; padding: 104px 0; }
.coming .seal { margin: 0 auto 22px; }
.coming h1 { font-size: clamp(32px, 5vw, 52px); }
.coming .lede { color: var(--muted); max-width: 460px; margin: 16px auto 30px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .row { margin-bottom: 24px; }
.contact-info .row .lbl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-d); font-weight: 700; }
.contact-info .row .val { font-size: 18px; color: var(--sumi); margin-top: 5px; font-family: var(--font-display); font-weight: 500; }
.contact-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-photo img { width: 100%; height: auto; display: block; }
.alert { padding: 13px 18px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 18px; }
.alert-ok { background: #EEF3E4; color: #4C6330; border: 1px solid #D3E0BC; }
.alert-err { background: #FBEBE6; color: #8F3A1E; border: 1px solid #F2CFC3; }

/* ---------- 滚动出场 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================= 产品详情页 ================= */
.pd-crumb { background: var(--kinako-2); border-bottom: 1px solid var(--line); }
.pd-crumb .container { display: flex; align-items: center; gap: 8px; padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; color: #6C5F51; flex-wrap: wrap; }
.pd-crumb a { color: #6C5F51; }
.pd-crumb a:hover { color: var(--orange-d); }
.pd-crumb span { color: var(--clay); opacity: .6; }
.pd-crumb em { color: var(--sumi); font-style: normal; font-weight: 600; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.pd-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--kinako); aspect-ratio: 1 / 1; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info h1 { font-size: clamp(26px, 3.4vw, 38px); color: var(--sumi); margin: 10px 0 8px; }
.pd-origin { font-family: var(--font-display); font-weight: 600; color: var(--orange-d); font-size: 16px; margin-bottom: 20px; }
.pd-desc { font-size: 15.5px; color: #6C5F51; line-height: 1.8; margin-bottom: 26px; }
.pd-hl-head { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sumi); margin-bottom: 14px; }
.pd-highlights { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.pd-highlights li { display: flex; align-items: flex-start; gap: 12px; }
.pd-hl-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #FBEAD2; color: var(--orange-d); margin-top: 1px; }
.pd-hl-ic svg { width: 15px; height: 15px; }
.pd-hl-tx strong { display: block; color: var(--sumi); font-size: 15px; }
.pd-hl-sub { display: block; font-size: 13.5px; color: #6C5F51; margin-top: 2px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-gallery-sec { background: var(--kinako); }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-gitem { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1; background: var(--kinako); display: block; cursor: zoom-in; }
.pd-gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.pd-gitem::after { content: ''; position: absolute; inset: 0; background: rgba(46,36,28,0); transition: background .3s; }
.pd-gitem:hover img { transform: scale(1.06); }
.pd-gitem:hover::after { background: rgba(46,36,28,.14); }
/* 图集灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(22,16,11,.9); display: none;
  align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r); box-shadow: 0 24px 70px rgba(0,0,0,.55); }

/* ================= Solution for Cats(首页·猫砂医生) ================= */
.solution { background: var(--kinako); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 50px 0 58px; }
.flow-step { text-align: center; }
.flow-ic-wrap { position: relative; display: inline-block; margin-bottom: 18px; }
.flow-ic { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--orange-d); box-shadow: var(--shadow-soft); }
.flow-ic svg { width: 30px; height: 30px; }
.flow-no { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 13px;
  display: grid; place-items: center; border: 2px solid var(--rice); }
.flow-step h3 { font-size: 19px; color: var(--sumi); margin-bottom: 8px; }
.flow-step p { font-size: 14.5px; color: #6C5F51; line-height: 1.7; max-width: 30ch; margin: 0 auto; }
.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.match-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .22s ease, box-shadow .22s ease; }
.match-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.match-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #FBEAD2; color: var(--orange-d); margin-bottom: 14px; }
.match-ic svg { width: 25px; height: 25px; }
.match-need { font-weight: 700; color: var(--sumi); font-size: 15px; line-height: 1.4; }
.match-arrow { margin: 10px 0; }
.match-arrow svg { width: 18px; height: 18px; transform: rotate(90deg); display: block; color: var(--orange-l); }
.match-litter { font-family: var(--font-display); font-weight: 700; color: var(--orange-d); font-size: 14.5px; line-height: 1.4; }
.solution-cta { text-align: center; margin-top: 54px; }
.solution-cta-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); color: var(--sumi); margin-bottom: 20px; }
.solution-cta .btn { margin: 0 5px 8px; }

/* ================= Our Story 页(横幅 + 图文交替行,仿 about.php) ================= */
/* 顶部横幅 */
.story-banner { position: relative; min-height: 340px; display: flex; align-items: flex-end;
  background: var(--sumi) center / cover no-repeat; }
.story-banner::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,36,28,.12) 0%, rgba(46,36,28,.58) 100%); }
.story-banner .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 44px; }
.story-banner .eyebrow { color: var(--orange-l); margin-bottom: 10px; }
.story-banner h1 { color: #fff; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 5vw, 54px); line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* 图文交替行(zigzag) */
.story-rows { display: flex; flex-direction: column; gap: 74px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-row:nth-child(even) .story-row-photo { order: 2; }
.story-row-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 3 / 2; background: var(--kinako); }
.story-row-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-row-copy .eyebrow { margin-bottom: 12px; }
.story-row-copy h2 { font-size: clamp(24px, 3vw, 34px); color: var(--sumi); margin-bottom: 12px; }
.story-row-sub { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-d); margin-bottom: 14px; }
.story-row-copy > p { font-size: 15.5px; color: #6C5F51; line-height: 1.8; max-width: 48ch; }

/* 结尾 CTA(暖色带) */
.story-cta { position: relative; overflow: hidden; text-align: center; padding: 78px 0;
  background: linear-gradient(168deg, var(--kinako-2) 0%, var(--kinako) 100%); }
.story-cta::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--granule); background-size: 74px 74px, 96px 96px, 58px 58px; opacity: .7; }
.story-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; }
.story-cta-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.8vw, 32px);
  color: var(--sumi); line-height: 1.32; margin-bottom: 26px; max-width: 18ch; }
.story-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================= Dealer 经销页 ================= */
.dealer-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dealer-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 34px; }
.dealer-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--orange); }
.dealer-card:nth-child(2)::before { background: var(--matcha); }
.dealer-step { position: absolute; top: 14px; right: 24px; z-index: 0; font-family: var(--font-display);
  font-weight: 900; font-size: 56px; line-height: 1; color: var(--kinako); }
.dealer-card > :not(.dealer-step) { position: relative; z-index: 1; }
.dealer-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: #FBEAD2; color: var(--orange-d); margin-bottom: 20px; }
.dealer-card:nth-child(2) .dealer-ic { background: #E7EEDA; color: var(--matcha); }
.dealer-ic svg { width: 27px; height: 27px; }
.dealer-card h2 { font-size: 24px; margin-bottom: 12px; color: var(--sumi); }
.dealer-card > p { font-size: 15px; color: #6C5F51; line-height: 1.75; }
.dealer-card .btn { margin-top: 22px; }
.dealer-reqs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.dealer-reqs li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--sumi); font-weight: 500; line-height: 1.5; }
.req-ic { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--kinako); color: var(--orange-d); margin-top: 1px; }
.req-ic svg { width: 15px; height: 15px; }
/* 品牌保护声明 */
.dealer-notice-sec { padding: 0 0 96px; }
.dealer-notice { display: flex; gap: 18px; align-items: flex-start; max-width: 900px; margin: 0 auto;
  background: var(--kinako-2); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--r); padding: 26px 30px; }
.dealer-notice-ic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: #FBEAD2; color: var(--orange-d); }
.dealer-notice-ic svg { width: 22px; height: 22px; }
.dealer-notice p { font-size: 14px; color: #6C5F51; line-height: 1.7; }

/* 电话号码列表(页脚 / 联系页 / dealer 页复用;每个号码可点击直达 WhatsApp) */
.phone-list { display: inline-flex; flex-direction: column; gap: 6px; vertical-align: top; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; width: fit-content; transition: color .15s ease; }
.phone-link svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.phone-link:hover { color: var(--orange); }
.phone-link:hover span { text-decoration: underline; }
.dealer-phones { margin-top: 16px; }
.dealer-phones .phone-link { font-size: 15px; color: var(--sumi); }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .section { padding: 74px 0; }
  .hero { padding: 56px 0 78px; }

  /* 顶栏在 700–950px 之间放不下五个导航项 + 语言 + WhatsApp,
     所以汉堡菜单从 1023px 就开始接管(不是 700px)。 */
  .nav { height: 68px; gap: 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: var(--rice);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 22px 20px;
    box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .3s ease;
    border-bottom: 1px solid var(--line); z-index: 55; overflow-y: auto;
    max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .nav-links > a.active::after { left: auto; right: 4px; transform: none; top: 50%; bottom: auto; margin-top: -3px; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 520px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .value-item:nth-child(odd)::before { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .clump-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .pillars { grid-template-columns: 1fr; }
  .dealer-steps { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { grid-template-columns: repeat(2, 1fr); }
  .story-row { grid-template-columns: 1fr; gap: 30px; }
  .story-row:nth-child(even) .story-row-photo { order: 0; }
  .story-rows { gap: 54px; }
  .story-photo { order: -1; }
  .review-grid { grid-template-columns: 1fr; }
  .gram-grid { grid-template-columns: repeat(3, 1fr); }
  .social-tiles { grid-template-columns: repeat(3, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 40px 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .section { padding: 58px 0; }
  .container { padding: 0 20px; }
  .nav { gap: 12px; }
  .btn-wa .txt { display: none; }
  .btn-wa { padding: 11px 13px; }
  .lang-switch a { padding: 7px 11px; }
  .hero-stats { gap: 22px; }
  .hero-stats .st .n { font-size: 25px; }
  .hero-seal { top: -14px; left: -8px; width: 68px; height: 68px; font-size: 32px; }
  .hero-tag { right: 0; bottom: 18px; }
  .values-grid { grid-template-columns: 1fr; }
  .story-banner { min-height: 260px; }
  .story-cta { padding: 60px 0; }
  .value-item + .value-item::before { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 34px; margin: 40px 0 46px; }
  .gram-grid { grid-template-columns: repeat(2, 1fr); }
  .social-tiles { grid-template-columns: repeat(2, 1fr); }
  .subscribe-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 超窄屏(≤560px):顶栏只留「品牌 + WhatsApp + 汉堡」,
   语言切换移进汉堡菜单里,否则 320–430px 会挤爆。 */
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-actions .lang-switch { display: none; }
  .nav-lang { display: flex; }
  .nav-lang .lang-switch { display: flex; }
  .brand { gap: 9px; }
  .brand .seal-md { width: 36px; height: 36px; font-size: 18px; }
  .brand-en { font-size: 17px; }
  .brand-zh { font-size: 10px; letter-spacing: .26em; }
  .brand img { height: 34px; }
  .nav-toggle svg { width: 26px; height: 26px; }
}
