/* ============================================================
   HANZ FURNITURE · 样式表
   ------------------------------------------------------------
   这个文件控制网站的外观。
   除非你想换配色/字体，否则不用改这个文件。
   常用颜色都在下面的 :root 里，改一处全站生效。
   ============================================================ */

:root {
  /* 品牌配色 —— 改这里就能换整站色调 */
  --ink: #1c1a17;          /* 主文字色（近黑） */
  --ink-soft: #4a453e;     /* 次级文字 */
  --muted: #837c72;        /* 弱化文字 */
  --line: #e5e0d8;         /* 分隔线 */
  --paper: #faf8f5;        /* 页面底色（暖白） */
  --card: #ffffff;         /* 卡片底色 */
  --accent: #8a6d4b;       /* 强调色（暖棕/黄铜） */
  --accent-dark: #6d5439;
  --sand: #f0ebe3;         /* 浅色块 */

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 26, 23, .04), 0 8px 24px rgba(28, 26, 23, .06);
  --shadow-lg: 0 2px 4px rgba(28, 26, 23, .05), 0 20px 48px rgba(28, 26, 23, .10);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --maxw: 1120px;
  --gap: 24px;
}

/* ───────────── 基础 ───────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.lead { font-size: 1.06rem; color: var(--ink-soft); }

/* ───────────── 导航 ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600;
  letter-spacing: .06em;
}

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: .9rem; color: var(--ink-soft);
  transition: color .18s;
}
.nav-links a:hover { color: var(--ink); }
/* 导航栏右侧 CTA：上面的 .nav-links a 优先级更高，会把按钮文字盖成深灰（黑底上看不清），这里强制白字 */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ───────────── 按钮 ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s, box-shadow .18s, background .18s, color .18s;
  text-align: center;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover {
  background: #000; transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(28, 26, 23, .22);
}

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }

.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ───────────── 区块 ───────────── */
section { padding: 76px 0; }
.section-tight { padding: 54px 0; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ───────────── Hero ───────────── */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 48px; }
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.12rem; max-width: 34em; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 22% 8%, #efe7db 0%, transparent 58%),
    radial-gradient(110% 80% at 88% 92%, #d9c6ab 0%, transparent 62%),
    linear-gradient(150deg, #f6f1e8 0%, #e2d5c1 100%);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}

.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 1px, transparent 1px 46px);
  opacity: .5;
}

.hero-art span {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 1.1rem;
  color: #6d5439; letter-spacing: .2em; text-transform: uppercase;
  text-align: center; padding: 0 24px; line-height: 1.8;
}

/* ───────────── 信任条 ───────────── */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
  padding: 26px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.trust-item .num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--accent);
  display: block; margin-bottom: 2px;
}
.trust-item .lbl { font-size: .84rem; color: var(--muted); }

/* ───────────── 卡片 ───────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .22s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 0; }

/* ───────────── 服务方案卡 ───────────── */
.plan { display: flex; flex-direction: column; height: 100%; }
.plan-price {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 600;
  line-height: 1; margin: 6px 0 2px;
}
.plan-price .cur { font-size: 1.3rem; vertical-align: top; margin-right: 2px; }
.plan-price .unit { font-size: .9rem; font-family: var(--sans); color: var(--muted); font-weight: 400; }
.plan-credit {
  font-size: .84rem; color: var(--accent); background: var(--sand);
  padding: 7px 12px; border-radius: var(--radius-sm);
  display: inline-block; margin: 14px 0 20px;
}
.plan-tagline {
  color: var(--accent); font-size: .9rem; font-weight: 500;
  margin: 4px 0 2px; line-height: 1.45;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-features li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  font-size: .93rem; color: var(--ink-soft);
}
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(.78);
}

/* ───────────── 流程步骤 ───────────── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 22px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  background: var(--sand); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600;
}
.step-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-body p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ───────────── 风格卡片 ───────────── */
/* ───────────── 商用 / 家用 两条路径 ───────────── */
.path-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 4px 0 44px;
}
@media (max-width: 820px) { .path-split { grid-template-columns: 1fr; } }

.path-card {
  display: flex; flex-direction: column;
  padding: 26px 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .22s, border-color .2s;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d6cfc2; }

.path-kicker {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 9px;
}
.path-card h3 {
  margin: 0 0 9px; font-family: var(--serif);
  font-size: 1.3rem; line-height: 1.3; font-weight: 400;
}
.path-card p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; line-height: 1.62; }

.path-tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.path-tags li {
  font-size: .75rem; padding: 4px 10px; border-radius: 999px;
  background: var(--sand); color: var(--ink-soft); white-space: nowrap;
}
.path-card-biz .path-tags li { background: #ecebe6; }

.path-cta {
  margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.path-cta::after { content: "→"; transition: transform .2s; }
.path-card:hover .path-cta::after { transform: translateX(3px); }
.path-card:not(.path-card-biz):hover .path-cta::after { transform: translateY(3px); }
.path-card:not(.path-card-biz) .path-cta::after { content: "↓"; }

.style-sub-head { margin: 0 0 18px; }
.style-sub-head h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.style-sub-head p { margin: 0; color: var(--muted); font-size: .88rem; }

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

/* 首页风格区下方：说明另外 6 个族只在测评里出现 */
@media (max-width: 900px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .style-grid { grid-template-columns: 1fr; } }

.style-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  transition: transform .2s, box-shadow .22s;
}
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.style-swatch { height: 128px; position: relative; }
.style-swatch-inner {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.style-swatch-inner i { display: block; }

.style-card-body { padding: 16px 18px 20px; }
.style-card-body h4 { font-size: 1rem; margin-bottom: 4px; }
.style-card-body p { font-size: .82rem; color: var(--muted); margin: 0; }

/* 兜底卡：「以上我都不喜欢」—— 视觉上明确区分，不做成第 9 种风格。
   2026-11-08：8 张实景卡改成 4:5 竖版后，这张纯色块卡被撑成同尺寸大灰块、独占一行很难看。
   改成横跨整行的窄条：左侧色带 + 右侧文案。 */
.style-card-none {
  border-style: dashed;
  background: transparent;
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
}
.style-card-none .style-swatch {
  aspect-ratio: auto; height: auto; min-height: 96px;
  flex: 0 0 116px; align-self: stretch;
  opacity: .55;
}
.style-card-none .style-card-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 20px;
}
.style-card-none .style-card-body h4 { font-weight: 500; color: var(--ink-soft); }
.style-card-none:hover { border-color: var(--accent); }
.style-card-none-tag {
  position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 600;
  font-family: var(--sans);
}

/* ───────────── FAQ ───────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent);
  font-family: var(--sans); font-weight: 300; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ───────────── CTA 区块 ───────────── */
.cta-band {
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: 58px 44px; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.76); max-width: 40em; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--sand); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ───────────── 页脚 ───────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 34px;
  color: var(--muted); font-size: .88rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-bottom: 30px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.foot-grid h4 { font-size: .95rem; margin-bottom: 12px; color: var(--ink); }
.foot-grid a { display: block; margin-bottom: 8px; color: var(--muted); transition: color .18s; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem;
}

/* ───────────── 浮动联系按钮 ───────────── */
.float-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.float-contact a {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 6px 20px rgba(28,26,23,.28);
  transition: transform .18s, background .18s;
  font-size: 1.3rem;
}
.float-contact a:hover { transform: scale(1.07); background: var(--accent); }
.float-contact .wa { background: #25d366; }
.float-contact .wa:hover { background: #1eb955; }

/* ───────────── 通用工具类 ───────────── */
.bg-sand { background: var(--sand); }
.bg-white { background: #fff; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 18px; }
.mb-3 { margin-bottom: 18px; }
.mt-4 { margin-top: 30px; }
.mb-4 { margin-bottom: 30px; }
.hidden { display: none !important; }
/* 元素自带 display:flex / grid 时，浏览器对 hidden 属性的默认 display:none 会被盖掉。
   测评页的 roActions 就是这么在每一题底部露出「See my result」的，这里统一兜住。 */
[hidden] { display: none !important; }

/* 加载动画 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp .55s ease both; }

/* ═══════════════════════════════════════════════════════════
   风格测评页
   ═══════════════════════════════════════════════════════════ */
/* 2026-11-08 用户反馈：选项图太小、文字太大，看不清整体就没法判断。
   容器 1060 → 1400，四列单张图宽从约 250px 到约 330px，标签字号缩小。 */
.quiz-wrap { max-width: 1400px; margin: 0 auto; padding: 26px 22px 70px; }

.progress-track {
  height: 4px; background: var(--line);
  border-radius: 999px; overflow: hidden; margin-bottom: 12px;
}
.progress-fill {
  height: 100%; width: 0; background: var(--accent);
  border-radius: 999px; transition: width .35s ease;
}
.progress-text {
  font-size: .82rem; color: var(--muted); letter-spacing: .04em;
  display: flex; justify-content: space-between; margin-bottom: 40px;
}

.quiz-head { margin-bottom: 20px; max-width: 780px; }
.quiz-head h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

.options-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  /* 图片按各自比例撑开后高度不一，让卡片各随内容，别拉成一样高留白条 */
  align-items: start;
}
/* 平板：两列；手机：仍然两列，但间距收紧 —— 竖版图四列在手机上会窄到看不清 */
@media (max-width: 980px) { .options-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .options-grid { gap: 10px; } }

.opt {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font-family: var(--sans);
  text-align: left;
  transition: border-color .18s, transform .18s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.opt:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.opt.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 109, 75, .16), var(--shadow);
}

.opt-img {
  /* 统一 4:5 竖框 —— 2026-11-08 用户拍板：四个选项必须一样高。
     不再按原图比例逐个改写，横图竖图一律 cover 居中裁切。 */
  aspect-ratio: 4 / 5; height: auto; overflow: hidden; background: var(--sand);
  display: block; flex: 0 0 auto;
}
.opt-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.opt-label {
  padding: 9px 11px 11px;
  font-size: .79rem;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
}

/* 「以上我都不喜欢」—— 与 4 个风格选项明确分开，不做成第 5 个平级选项 */
.quiz-skip-btn {
  display: block; width: 100%;
  margin-top: 16px; padding: 15px 18px;
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--sans); font-size: .92rem;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.quiz-skip-btn:hover {
  border-color: var(--accent); color: var(--accent); background: var(--card);
}
.quiz-skip-btn::before { content: "— "; }

.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;  margin-top: 34px;
}
.link-back {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .9rem; font-family: var(--sans);
  padding: 8px 0;
}
.link-back:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   结果页
   ═══════════════════════════════════════════════════════════ */
.result-wrap { max-width: 1080px; margin: 0 auto; padding: 46px 22px 100px; }

.result-hero {
  border-radius: var(--radius);
  padding: 46px 40px;
  background: var(--sand);
  border: 1px solid var(--line);
  margin-bottom: 44px;
}
@media (max-width: 640px) { .result-hero { padding: 32px 24px; } }

.result-style-name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin: 6px 0 10px;
}

/* ───────────── 「以上我都不喜欢」人工匹配页 ───────────── */
.none-panel {
  border-radius: var(--radius);
  padding: 46px 40px;
  background: var(--card);
  border: 1px dashed var(--line);
  margin-bottom: 44px;
}
@media (max-width: 640px) { .none-panel { padding: 32px 24px; } }

.none-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 34px 0 32px;
}
@media (max-width: 780px) { .none-steps { grid-template-columns: 1fr; gap: 14px; } }

.none-step { display: flex; gap: 14px; align-items: flex-start; }
.none-step-n {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sand); color: var(--accent);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.none-step-b h3 { font-size: .97rem; margin: 0 0 5px; }
.none-step-b p { font-size: .87rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.none-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.bars { margin-top: 26px; max-width: 520px; }.bar-row { margin-bottom: 15px; }.bar-row-rest { opacity: .62; margin-top: 2px; }
.bar-top {
  display: flex; justify-content: space-between;
  font-size: .88rem; margin-bottom: 6px; color: var(--ink-soft);
}
.bar-track {
  height: 10px; background: rgba(0,0,0,.09);
  border-radius: 999px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 999px;
  transform-origin: left center;
  animation: barGrow .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .bar-fill { animation: none; }
}

/* 结果页 · 元素清单（客户反复选中的材质/特征词） */
.taste-elements {
  margin-top: 26px; max-width: 620px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.taste-elements-title {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.taste-elements .product-tags { margin-top: 0; }
.taste-elements-note {
  margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6;
}

/* 款式卡片 */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ── 结果页「实景图墙」──
   2026-11-08 用户：结论图直接从她的风格照片里配，不必等新的产品图上传。
   所以某一族还没有单品图时，这里改成该族的实景照片墙（不是产品卡，不可勾选）。 */
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
.room-cell {
  margin: 0; overflow: hidden; background: var(--sand);
  border-radius: 12px; aspect-ratio: 4 / 5;
}
.room-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.room-cell:hover img { transform: scale(1.04); }

.product {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .2s;
  position: relative;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 109, 75, .16), var(--shadow);
}

.product-img {
  height: 186px; background: var(--sand);
  display: grid; place-items: center;
  color: var(--muted); font-size: .8rem;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-body { padding: 15px 17px 18px; }
.product-body h4 { font-size: .98rem; margin-bottom: 5px; }
.product-id {
  font-size: .74rem; letter-spacing: .1em; color: var(--accent);
  font-weight: 600; margin-bottom: 8px; display: block;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.product-tags span {
  font-size: .72rem; color: var(--muted);
  background: var(--sand); padding: 3px 9px; border-radius: 999px;
}

.check-mark {
  position: absolute; top: 12px; right: 12px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: none; place-items: center;
  font-size: .8rem; font-weight: 700;
}
.product.selected .check-mark { display: grid; }

/* 提交区 */
.submit-panel {
  margin-top: 52px; padding: 34px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .85rem; color: var(--ink-soft);
  margin-bottom: 7px; font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .95rem;
  background: var(--paper); color: var(--ink);
  transition: border-color .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.field textarea { resize: vertical; min-height: 88px; }

.selection-summary {
  background: var(--sand); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 22px; font-size: .9rem;
  color: var(--ink-soft);
}
.selection-summary strong { color: var(--ink); }

.notice {
  border-radius: var(--radius-sm); padding: 14px 17px;
  font-size: .88rem; margin-bottom: 18px;
}
.notice-ok { background: #eef5ed; color: #2f5d33; border: 1px solid #cfe2cd; }
.notice-info { background: var(--sand); color: var(--ink-soft); border: 1px solid var(--line); }


/* ════════════════════════════════════════════════════════════
   首页专用样式
   ════════════════════════════════════════════════════════════ */

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 32px; width: auto; }
@media (max-width: 560px) { .logo img { height: 26px; } }

/* ── Hero：全宽实景大图 + 深色遮罩 ── */
.hero.hero-photo {
  padding: 132px 0 108px;
  background-color: #1c1a17;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.hero-photo .hero-copy { max-width: 620px; }
.hero-photo .eyebrow { color: rgba(255, 255, 255, .74); }

.hero-photo h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero-photo .lead {
  color: rgba(255, 255, 255, .84);
  font-size: 1.12rem;
  max-width: 32em;
  margin-bottom: 32px;
}
.hero-photo .btn-primary { background: #fff; color: var(--ink); }
.hero-photo .btn-primary:hover { background: var(--sand); }
.hero-photo .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}
.hero-photo .btn-ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: #fff;
}
@media (max-width: 760px) {
  .hero.hero-photo { padding: 80px 0 68px; }
  .hero-photo h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
}

/* ── 风格卡片：改用实景图 ──
   2026-11-08 用户要求「统一大小的竖版」。素材库的实景图本身就是 1125×1400（4:5），
   原来用 178px 固定高的横框，上下被裁掉 44%，房间只剩中间一条。
   改成 4:5 竖框后：8 张同宽同高，且几乎零裁剪（原图比例 0.804 vs 4:5 = 0.800）。 */
.style-swatch { aspect-ratio: 4 / 5; height: auto; position: relative; overflow: hidden; background: var(--sand); }
.style-swatch img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.style-card:hover .style-swatch img { transform: scale(1.05); }

/* ── 三档服务在窄屏下的排布 ── */
.grid-3 .plan .plan-features li { font-size: .87rem; }
.grid-3 .plan .plan-price { font-size: 2.1rem; }
@media (max-width: 980px) and (min-width: 621px) {
  .grid-3 .plan .plan-features li { font-size: .82rem; }
}

/* ── 关于我们 ── */
/* 2026-11-10 定稿：居中版，与站内 section-head（FAQ / Contact us）同一语言。
   标题组居中，正文窄栏居中但文字左对齐（长段落居中不可读）。 */
.about-grid { max-width: 820px; margin: 0 auto; }

.about-head { text-align: center; }
.about-head .eyebrow { margin-bottom: clamp(14px, 1.7vw, 20px); }
.about-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.024em;
  line-height: 1.04;
  text-wrap: balance;
}
.about-head .lead {
  max-width: 32em;
  margin: clamp(22px, 2.8vw, 32px) auto 0;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  color: var(--muted);
}

.about-copy { margin-top: clamp(48px, 6.6vh, 82px); }

.about-body {
  max-width: 66ch;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-body p,
.about-qc p {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--ink-soft);
}
.about-body p:last-child,
.about-qc p:last-child { margin-bottom: 0; }

.about-qc {
  max-width: 66ch;
  margin: 46px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-qc h3 {
  margin: 0 0 18px;
  font-size: 1.26rem;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.34;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .about-body, .about-qc { max-width: none; }
}
@media (max-width: 560px) {
  .about-head h2 { font-size: clamp(2.1rem, 8.6vw, 2.7rem); }
  .about-head .lead { font-size: 1rem; }
}

/* ── 结果页：风格实景大图 ── */
.style-banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  background: var(--sand);
}
.style-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .style-banner img { height: 200px; }
}

/* ── 测评第 9 步：排除法（勾掉最不要的方向）── */
.ro-hint {
  max-width: 46em;
  margin: -4px 0 18px;
  font-size: .92rem;
  color: var(--muted);
}
/* 13 张族卡：原来 5 列小方块，用户反馈看不清。
   改 4 列 + 竖版比例，单张面积约翻倍。 */
.options-grid.ruleout { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) {
  .options-grid.ruleout { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .options-grid.ruleout { grid-template-columns: repeat(2, 1fr); }
}
.ro-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .18s, transform .18s;
}
.ro-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity .18s, filter .18s;
}
.ro-card span {
  display: block;
  padding: 9px 11px 12px;
  font-size: .84rem;
  line-height: 1.3;
  color: var(--ink-soft);
  text-align: left;
}
.ro-card:hover { border-color: var(--ink-soft); }
.ro-card:active { transform: scale(.98); }
.ro-card.on { border-color: var(--accent); }
.ro-card.on img { opacity: .4; filter: grayscale(.65); }
.ro-card.on::after {
  content: '✕';
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  line-height: 22px;
  text-align: center;
}
.ro-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.ro-count { font-size: .85rem; color: var(--muted); }

/* 结果页：客户自己排除掉的族 */
.ro-ruled {
  margin: -8px 0 20px;
  font-size: .84rem;
  color: var(--muted);
  max-width: 52em;
}

/* 结果页：前三大匹配的实景图（按含量排序，第一张稍宽） */
.top-shots {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  margin: 4px 0 30px;
  align-items: end;
}
.shot { margin: 0; }
.shot img {
  display: block; width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
}
.shot figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 9px 2px 0;
  font-size: .84rem;
}
.shot-name { color: var(--ink); font-weight: 500; }
.shot-pct { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .top-shots { grid-template-columns: 1fr 1fr; }
  .shot-lead { grid-column: 1 / -1; }
}
.ro-ruled strong { color: var(--ink-soft); font-weight: 500; }

/* ───────────── Contact us / 团队卡片 ───────────── */
.section-head p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  margin: 14px 0 0;
}

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

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.team-avatar {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .06em;
  display: flex; align-items: center; justify-content: center;
}

.team-name { font-size: 1.02rem; font-weight: 600; color: var(--ink); }

.team-role {
  min-height: 20px;
  margin-top: 3px;
  font-size: .8rem;
  color: var(--muted);
}

.team-acts {
  display: flex; flex-direction: column; align-items: center;
  gap: 9px;
  margin-top: 16px;
}
.team-acts a {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.team-acts a:hover { background: var(--sand); border-color: var(--sand); }
.team-acts a.tm-wa { background: #eef8f2; border-color: #cfe9db; color: #128c4b; }
.team-acts a.tm-wa:hover { background: #dff2e7; border-color: #b7ddc8; }

/* 邮箱：不再藏成 "Email" 三个字，直接把地址写出来 —— 能看见、能长按选中、能复制 */
.team-acts a.tm-mail {
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.team-acts a.tm-mail:hover {
  background: transparent;
  color: var(--accent);
  text-decoration-color: currentColor;
}
.team-acts a.tm-mail[data-copied]::after {
  content: 'copied';
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--accent);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}
