/* ============================================================
   Scandic House — 官网全局样式
   风格：Forest & Clay（墨绿 × 陶土红）× 暖中性色阶
   米白暖底 · 墨绿主色 · 陶土红点缀 · 暖沙/亚麻/燕麦层次 · 衬线粗标题
   ============================================================ */

:root {
  --bg: #faf8f3;          /* 净暖白底（页面背景，提亮去浊） */
  --card: #ffffff;        /* 纯白卡片 */
  --ink: #181d1a;         /* 近黑炭（标题，高对比） */
  --muted: #5c615c;       /* 正文灰（加深） */
  --line: #e8e4da;        /* 暖灰分隔线 */
  --soft: #f3f0e8;        /* 极浅暖调（次级区块背景） */
  --sand: #ece4d5;        /* 沙色（图片底衬） */
  --oat: #e0d6c4;         /* 燕麦（错位色块） */
  --stone: #9a9283;       /* 石材灰（caption/小标签） */
  --accent: #2f4a3c;      /* 深墨绿（唯一主强调） */
  --rust: #b5533c;        /* 陶土红（仅签名点缀：eyebrow/序号/标签） */
  --accent-deep: #22362b; /* 更深墨绿（渐变端点） */
  --shadow-sm: 0 1px 2px rgba(24,29,26,.05), 0 10px 28px -12px rgba(24,29,26,.10);
  --shadow-md: 0 2px 6px rgba(24,29,26,.05), 0 26px 60px -20px rgba(24,29,26,.16);
  --radius: 2px;
  --serif: Georgia, "Palatino Linotype", "Times New Roman", "Songti SC", serif;
  --sans: "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--muted);
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 22px; }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 36px; }

/* ---------- 顶部导航 ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 24px; color: var(--ink); text-decoration: none; letter-spacing: .5px; font-weight: 600; display: inline-flex; align-items: center; }
.brand .brand-logo { height: 42px; width: auto; display: block; }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a { position: relative; color: var(--ink); font-size: 14px; letter-spacing: .04em; transition: color .18s; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--accent); transition: width .22s ease; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--accent); }
.nav-menu a.lang { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.nav-menu a.lang:hover { color: var(--accent); }
.nav-menu a.lang.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); font-size: 20px; padding: 4px 12px; cursor: pointer; color: var(--ink); }

/* ---------- Hero / 页首 ---------- */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbf9f4 0%, var(--bg) 100%); }
.hero-inner { padding: 96px 0 92px; max-width: 900px; text-align: center; }
.hero .kicker { color: var(--rust); font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 26px; font-weight: 600; }
.hero .kicker::before { content: ""; display: block; width: 48px; height: 1px; background: var(--rust); margin: 0 auto 20px; }
.hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; font-size: clamp(36px, 5vw, 62px); }
.hero p { font-size: 18px; color: var(--muted); line-height: 1.85; max-width: 640px; margin-left: auto; margin-right: auto; }

/* 首页 hero 分栏（左文案 + 右产品场景图） */
.hero-split .hero-inner { max-width: 1200px; padding: 56px 36px 60px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; text-align: left; }
.hero-split .hero-copy { text-align: left; }
.hero-split .kicker::before { margin: 0 0 20px; }
.hero-split h1 { margin-left: 0; margin-right: 0; font-size: clamp(30px, 3.4vw, 48px); }
.hero-split p { margin-left: 0; margin-right: 0; }
.hero-split .btn { margin-top: 30px; }
.hero .btn { margin-top: 30px; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; top: 22px; left: 22px; right: -22px; bottom: -22px; background: var(--oat); }
@media (max-width: 960px) { .hero-media::before { top: 14px; left: 14px; right: -14px; bottom: -14px; } }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head h2 { position: relative; padding-top: 18px; }
.section-head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 1px; background: var(--rust); }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.muted { color: var(--muted); }

/* ---------- 品类卡片 ---------- */
.grid { display: grid; gap: 36px; }
.grid.cats { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid.products { grid-template-columns: repeat(2, 1fr); gap: 48px 36px; }
.cat { display: block; color: var(--ink); background: var(--card); border: 1px solid transparent; box-shadow: var(--shadow-sm); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.cat:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat img { width: 100%; height: 300px; object-fit: cover; background: var(--sand); transition: transform .6s ease; }
.cat:hover img { transform: scale(1.03); }
.cat .body { padding: 22px 24px 26px; }
.cat h3 { margin-bottom: 5px; font-size: 19px; }
.cat p { margin: 0; font-size: 12px; color: var(--stone); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 产品卡片（图片铺满，无白框，高级场景图卡） ---------- */
.product { display: block; background: var(--card); padding: 0; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, transform .3s ease; }
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .6s ease; }
.product:hover img { transform: scale(1.05); }

/* ---------- 卖点 ---------- */
.points { display: grid; gap: 40px 32px; grid-template-columns: repeat(3, 1fr); }
.point { border-top: 2px solid var(--accent); padding-top: 22px; }
.point h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: .01em; }
.point p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 认证徽章（胶囊，衬线） ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.certs span { border: 1px solid var(--line); background: transparent; border-radius: var(--radius); padding: 8px 18px; font-family: var(--serif); font-weight: 600; font-size: 14px; color: var(--ink); letter-spacing: .04em; transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease; }
.certs span:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); background: var(--card); padding: 0 24px; }
.faq summary { cursor: pointer; padding: 22px 0; font-family: var(--serif); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); letter-spacing: .01em; transition: color .2s ease; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--stone); font-weight: 300; transition: color .2s ease, transform .2s ease; }
.faq summary:hover::after { color: var(--accent); }
.faq[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- 设计服务 ---------- */
.design-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.dstep { border-top: 1px solid var(--line); padding-top: 22px; }
.dstep-num { display: block; font-family: var(--serif); font-size: 15px; color: var(--rust); font-weight: 600; letter-spacing: .08em; margin-bottom: 12px; }
.dstep h3 { font-size: 18px; margin-bottom: 8px; }
.dstep p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* 双栏合并布局（Design Service + Materials 并排） */
.duo { display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: start; }
.duo .section-head { margin-bottom: 22px; }

/* 竖排设计步骤（紧凑） */
.design-steps.vert { display: grid; grid-template-columns: 1fr; gap: 18px; }
.design-steps.vert .dstep { border-top: 1px solid var(--line); padding-top: 16px; display: flex; gap: 14px; align-items: baseline; }
.design-steps.vert .dstep-num { flex: 0 0 34px; margin-bottom: 0; font-size: 14px; line-height: 1.16; }
.design-steps.vert .dstep-body { flex: 1; min-width: 0; }
.design-steps.vert .dstep h3 { margin-bottom: 2px; }
.design-steps.vert .dstep p { margin: 0; }

/* ---------- 材质工艺（胶囊标签，衬线，与认证徽章字体统一） ---------- */
.finish-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.finish-tags span { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 13px; font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--ink); letter-spacing: .02em; transition: border-color .25s ease, color .25s ease; }
.finish-tags span:hover { border-color: var(--accent); color: var(--accent); }
.materials-more { display: inline-block; margin-top: 26px; font-family: var(--serif); font-size: 15px; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .2s ease, border-color .2s ease; }
.materials-more:hover { color: var(--rust); border-color: var(--rust); }

/* ---------- 信任条（认证徽章 + 数据胶囊，框与间距完全统一） ---------- */
.trust-strip { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-strip .certs { margin: 0; }
.trust-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.tstat { display: inline-flex; align-items: baseline; gap: 7px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px; font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.tstat strong { font-family: var(--serif); font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: .01em; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; border-radius: var(--radius); padding: 46px 44px; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.8); margin: 0 0 26px; font-size: 15px; }
.btn { display: inline-block; background: #fff; color: var(--ink); padding: 15px 38px; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); color: var(--accent); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-deep); color: #fff; }

/* ---------- About 页 ---------- */
.about-pillars { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
.pillar { display: block; background: var(--card); padding: 30px 26px; border-top: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
.pillar-num { display: block; font-family: var(--serif); font-size: 24px; color: var(--rust); letter-spacing: .02em; font-weight: 600; margin-bottom: 16px; }
.pillar h2 { font-size: 21px; margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 28px 0 68px; }
.stat { background: var(--card); padding: 32px 28px; border-top: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--serif); font-size: 46px; color: var(--ink); font-weight: 600; letter-spacing: .01em; line-height: 1; }
.stat .lbl { font-size: 12px; color: var(--stone); margin-top: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Contact 页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: stretch; }

.contact-aside { display: flex; flex-direction: column; justify-content: flex-start; padding: 0 72px 0 0; }
.contact-aside .kicker { color: var(--rust); font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 24px; }
.contact-aside .kicker::before { content: ""; display: block; width: 48px; height: 1px; background: var(--rust); margin-bottom: 20px; }
.contact-aside h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.14; margin-bottom: 18px; }
.contact-aside .muted { margin: 0 0 32px; font-size: 16px; max-width: 46ch; }
.contact-aside .btn { align-self: flex-start; }

.contact-details { display: flex; flex-direction: column; justify-content: flex-end; border-left: 1px solid var(--line); padding-left: 72px; }
.cd-kicker { font-size: 11px; color: var(--stone); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 18px; }
.cd-name { font-family: var(--serif); font-size: 27px; color: var(--ink); font-weight: 600; margin: 0 0 6px; letter-spacing: .01em; line-height: 1.2; }
.cd-tel, .cd-email { display: block; width: fit-content; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 5px; margin-top: 14px; line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.cd-tel:hover, .cd-email:hover { color: var(--accent); border-color: var(--accent); }
.cd-addr { margin: 22px 0 0; font-size: 13px; color: var(--stone); line-height: 1.6; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--card); color: var(--muted); margin-top: 72px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.5fr; gap: 40px; padding: 60px 36px 44px; }
.footer-brand .brand-logo { height: 42px; width: auto; display: block; }
.footer-tag { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); max-width: 30ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--stone); text-transform: uppercase; letter-spacing: .14em; margin: 4px 0 16px; line-height: 1.3; }
.footer-col a { display: block; width: fit-content; font-size: 14px; color: var(--muted); margin-bottom: 11px; line-height: 1.4; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-cert { margin: 14px 0 0; font-size: 13px; color: var(--stone); letter-spacing: .02em; }
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 16px 36px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.legal p { margin: 0; font-size: 12px; }
.legal a { display: inline; color: var(--muted); margin: 0; }
.legal a:hover { color: var(--accent); }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 12px; color: var(--stone); margin-bottom: 24px; letter-spacing: .06em; text-transform: uppercase; }
.crumb a { color: var(--muted); }
.crumb span { color: var(--rust); }

/* ---------- 资源中心（Resources） ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.resource { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow-sm); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.resource:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource .rtag { font-size: 11px; color: var(--rust); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.resource h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.resource p { margin: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.resource .rmeta { font-size: 12px; color: var(--stone); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- 文章正文 ---------- */
.article-hero .hero-inner { max-width: 900px; text-align: left; padding: 60px 36px 52px; }
.article-hero .kicker::before { margin: 0 0 20px; }
.article-hero h1 { margin-left: 0; margin-right: 0; font-size: clamp(30px, 4vw, 44px); }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 26px; margin: 42px 0 14px; letter-spacing: .01em; }
.article h3 { font-size: 19px; margin: 28px 0 10px; }
.article p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0 0 18px; }
.article ul, .article ol { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article a { color: var(--accent); text-decoration: underline; }
.article a:hover { color: var(--accent); }

/* ---------- 首页 Buyer's Guide 入口（内联链接） ---------- */
.guide-inline { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.guide-inline a { font-family: var(--serif); font-size: 17px; color: var(--accent); padding-bottom: 5px; border-bottom: 1px solid var(--line); transition: color .2s ease, border-color .2s ease; }
.guide-inline a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid.cats { grid-template-columns: repeat(2, 1fr); }
  .grid.products { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { padding: 0 0 36px; }
  .contact-details { border-left: 0; border-top: 1px solid var(--line); padding: 36px 0 0; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .hero-split .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .duo { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 32px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav-menu.open { display: flex; }
  .grid.products { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .grid.cats { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .design-steps { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 48px 0; }
  .hero-inner { padding: 56px 0 48px; }
}
