/*
Theme Name: 意卡里家具
Theme URI: https://yikali.com
Author: 意卡里家具
Description: 成都原木全屋定制工厂官网主题。按设计稿 1:1 还原，PC 1440 / 移动 390 双端。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: yikali
*/

/* ============ 1. Tokens ============ */
:root {
  --brand: #a2633a;
  --brand-dark: #985a32;
  --brand-light: #af7146;

  --ink: #050202;
  --ink-2: #1b1613;
  --muted: #6e6459;
  --muted-2: #8a8078;

  --bg: #f7f2e9;
  --bg-warm: #f6efdc;
  --card: #ffffff;
  --cream: #f1e7d6;

  --dark: #161210;
  --dark-2: #2e211a;

  --line: #e3d9c8;
  --line-soft: #efe7d9;

  --serif: "Source Han Serif CN", "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  --wrap: 1240px;
  --pad: 100px;
  --header-h: 88px;
  --radius: 2px;
}

/* ============ 2. Reset ============ */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

ul, ol { padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; }

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

/* ============ 3. Layout ============ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 0;
}

.section { padding: var(--pad) 0; }
.section--bg { background: var(--bg); }
.section--warm { background: var(--bg-warm); }
.section--card { background: var(--card); }

.section__head { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
}

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-top: 16px;
}

.lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 760px;
  margin-top: 18px;
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--brand);
  margin-top: 24px;
}

/* ============ 4. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost { border: 1px solid #c9b8a2; color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream); }

.btn--outline-light { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }

/* ============ 5. Header ============ */
.site-header {
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { width: 180px; height: 42px; object-fit: contain; }

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

.nav a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

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

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

.header-phone { font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: .02em; }

.nav-toggle { display: none; }

/* ============ 6. Hero ============ */
.hero {
  background: var(--bg);
  min-height: 720px;
  display: flex;
  align-items: stretch;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero__text { max-width: 600px; }

.hero__kicker {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.12em;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: 22px;
}

.hero__sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 16px;
}

.hero__desc {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
  margin-top: 22px;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.hero__stat { flex: 1; border-right: 1px solid var(--line); padding-right: 18px; }
.hero__stat:last-child { border-right: 0; padding-left: 18px; padding-right: 0; }
.hero__stat:nth-child(2) { padding-left: 18px; }

.hero__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
}

.hero__label { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: .04em; }

.hero__media {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--cream);
}

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

/* ============ 7. Facts ============ */
.facts { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; margin-top: 46px; }

.facts__body p { font-size: 14px; line-height: 2.05; color: var(--muted); }
.facts__body p + p { margin-top: 20px; }

.fact-table { border-top: 1px solid var(--line); }

.fact-table__row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.fact-table__k { font-size: 13px; color: var(--muted-2); }
.fact-table__v { font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: pre-line; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 54px;
  width: 100%;
}

.stat { padding: 26px 24px 0; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }

.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.3;
}

.stat__label { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: .04em; }

/* ============ 8. Species / craft ============ */
.species-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.chip--main { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }

.craft-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
  width: 100%;
}

.craft-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 34px 30px 36px;
}

.craft-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.craft-card__body { font-size: 13px; line-height: 1.95; color: var(--muted); margin-top: 14px; }

/* ============ 9. Factory ============ */
.factory-media { position: relative; margin-top: 46px; width: 100%; }
.factory-media img { width: 100%; height: 400px; object-fit: cover; }
.factory-media figcaption { margin-top: 12px; }

/* 工厂页：料场 + 榫卯 两图并排 */
.plant-pics {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-top: 46px;
  align-items: start;
}
.plant-pics figure { margin: 0; }
.plant-pics img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--cream);
}
.plant-pics .pic-43 img { aspect-ratio: 4 / 3; }
.plant-pics .pic-wide img { aspect-ratio: 16 / 9; }

.media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(22, 18, 16, .78);
  color: #f7f2e9;
  font-size: 11px;
  line-height: 1;
  padding: 8px 12px;
  letter-spacing: .02em;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 46px;
  width: 100%;
}

.factory-item { border-top: 1px solid var(--line); padding-top: 22px; }

.factory-item__no {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--brand);
  line-height: 1;
}

.factory-item__title { font-size: 17px; font-weight: 500; color: var(--ink); margin-top: 12px; }

.factory-item__desc { font-size: 13px; line-height: 1.95; color: var(--muted); margin-top: 10px; }

.factory-note {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  letter-spacing: .02em;
  width: 100%;
}

/* ============ 10. Steps & price ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 46px;
  width: 100%;
  border-top: 1px solid var(--line);
}

.step { padding: 24px 18px 0 0; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: 0; }
.step:nth-child(n+2) { padding-left: 18px; }

.step__name { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.step__desc { font-size: 12px; color: var(--muted-2); margin-top: 8px; line-height: 1.6; }

.price-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 40px;
  margin-top: 54px;
  width: 100%;
}

.price-bar__amount {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
  line-height: 1.2;
}

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

.price-bar__list li {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.9;
}

.price-bar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
}

/* ============ 11. Cases ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
  width: 100%;
}

.case-card { background: var(--bg); border: 1px solid var(--line-soft); }

.case-card__media {
  height: 220px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 16px;
}

.case-card__body { padding: 24px 24px 26px; }

.case-card__title { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.5; }

.case-card__meta {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 12px;
  white-space: pre-line;
}

/* ============ 12. CTA ============ */
.cta {
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
  overflow: hidden;
}

.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 16, .58) 0%, rgba(22, 18, 16, .72) 100%);
}

.cta__inner { position: relative; z-index: 2; text-align: center; padding: 0 24px; }

.cta__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: .01em;
}

.cta__desc { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 16px; }

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta__phone {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1;
}

/* ============ 13. Footer ============ */
.site-footer { background: var(--dark); color: #f7f2e9; padding: 64px 0; }

.footer__inner { max-width: var(--wrap); margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 242, 233, .14);
}

.footer__logo img { width: 180px; height: 42px; object-fit: contain; }

.footer__phone { font-size: 13px; color: rgba(247, 242, 233, .72); margin-top: 18px; letter-spacing: .02em; }

.footer__col-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(247, 242, 233, .5);
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(247, 242, 233, .8);
  white-space: pre-line;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 26px;
  font-size: 12px;
  color: rgba(247, 242, 233, .5);
  flex-wrap: wrap;
}

.footer__bottom a { color: rgba(247, 242, 233, .5); }
.footer__bottom a:hover { color: rgba(247, 242, 233, .8); }

/* ============ 14. Inner page ============ */
.page-hero { background: var(--bg); padding: 56px 0 72px; }

.breadcrumb { font-size: 12.5px; color: var(--muted-2); letter-spacing: .02em; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 8px; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: .02em;
  margin-top: 26px;
}

.page-hero__desc {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
  margin-top: 20px;
  max-width: 820px;
}

.page-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}

.ph-stat { padding: 22px 24px 0 0; border-right: 1px solid var(--line); }
.ph-stat:nth-child(n+2) { padding-left: 24px; }
.ph-stat:last-child { border-right: 0; }

.ph-stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}

.ph-stat__label { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: .04em; }

/* grid cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; width: 100%; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; width: 100%; }

.part-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 32px 28px 34px;
}

.section--card .part-card { background: var(--bg); }

.part-card__no {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .1em;
}

.part-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 12px;
}

.part-card__body {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  margin-top: 14px;
  white-space: pre-line;
}

/* reason cards 4 */
.reason-card { border-top: 1px solid var(--line); padding-top: 22px; }
.reason-card__title { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); }
.reason-card__body { font-size: 12.5px; line-height: 1.95; color: var(--muted); margin-top: 12px; }

/* pricing methods */
.method-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; width: 100%; }
.method {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px 32px;
}
.method__title { font-size: 17px; font-weight: 500; color: var(--ink); }
.method__body { font-size: 13px; line-height: 1.95; color: var(--muted); margin-top: 12px; }

.quote-note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  padding: 22px 26px;
  background: var(--cream);
  width: 100%;
}

/* pit cards */
.pit-card { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
.pit-card__no { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--brand); line-height: 1.4; }
.pit-card__title { font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.6; }
.pit-card__body { font-size: 13.5px; line-height: 2; color: var(--muted); margin-top: 10px; }

/* species detail grid */
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; width: 100%; }

.sp-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.sp-card--main { background: var(--dark-2); border-color: var(--dark-2); }
.sp-card--main .sp-card__name,
.sp-card--main .sp-card__desc { color: #fff; }
.sp-card--main .sp-card__en { color: rgba(247, 242, 233, .55); }
.sp-card--main .sp-card__fit { color: var(--brand-light); }
.sp-card--main .sp-card__warn { color: rgba(247, 242, 233, .6); border-top-color: rgba(247, 242, 233, .16); }

.sp-card__name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.4; }
.sp-card__en { font-size: 10.5px; font-weight: 500; letter-spacing: .1em; color: var(--muted-2); margin-top: 6px; }
.sp-card__desc { font-size: 12.5px; line-height: 1.9; color: var(--muted); margin-top: 14px; }
.sp-card__fit { font-size: 12.5px; font-weight: 500; line-height: 1.85; color: var(--ink-2); margin-top: 12px; }
.sp-card__warn {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted-2);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* craft detail */
.craft-detail {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 34px 30px 36px;
}
.craft-detail__title { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.craft-detail__lead { font-size: 13px; line-height: 1.95; color: var(--muted); margin-top: 12px; }
.craft-detail__use { font-size: 12.5px; font-weight: 500; color: var(--brand); margin-top: 16px; line-height: 1.8; }
.craft-detail__body { font-size: 12.5px; line-height: 1.95; color: var(--ink-2); margin-top: 12px; }
.craft-detail__warn { font-size: 11.5px; line-height: 1.85; color: var(--muted-2); margin-top: 16px; }

/* check list */
.check-list { margin-top: 46px; width: 100%; border-top: 1px solid var(--line); }

.check-item {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.check-item__no { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--brand); line-height: 1.3; }
.check-item__title { font-size: 16px; font-weight: 500; color: var(--ink); }
.check-item__body { font-size: 13px; line-height: 1.95; color: var(--muted); }

/* cta variant for inner pages */
.cta--inner { height: auto; padding: 76px 0; }

/* ============ 15. Responsive ============ */
@media (max-width: 1280px) {
  :root { --wrap: 1080px; --pad: 76px; }
  .hero__inner { grid-template-columns: 1fr 460px; gap: 40px; }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 1024px) {
  :root { --wrap: 100%; --pad: 64px; }
  .wrap, .site-header__inner, .hero__inner, .footer__inner { padding-left: 40px; padding-right: 40px; }
  .nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: transparent;
  }
  .nav-toggle span { display: block; width: 16px; height: 1px; background: var(--ink-2); position: relative; }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink-2);
  }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 6px 40px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 18, 16, .06);
  }
  .nav.is-open a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
  }
  .nav.is-open a:last-child { border-bottom: 0; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { height: 460px; }
  .facts { grid-template-columns: 1fr; gap: 36px; }
  .craft-row, .factory-grid, .case-grid, .grid-3, .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .step { border-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .check-item { grid-template-columns: 64px 180px 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  :root { --pad: 52px; --header-h: 64px; }
  .wrap, .site-header__inner, .hero__inner, .footer__inner { padding-left: 24px; padding-right: 24px; }

  .site-logo img { width: 140px; height: 33px; }
  .header-phone { display: none; }
  .header-actions .btn { height: 36px; padding: 0 14px; font-size: 12.5px; }

  .hero { min-height: 0; }
  .hero__inner { padding: 40px 0 0; gap: 36px; grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; margin-top: 16px; }
  .hero__sub { font-size: 17px; margin-top: 12px; }
  .hero__desc { font-size: 13px; line-height: 1.95; margin-top: 18px; }
  .hero__actions { margin-top: 26px; gap: 12px; }
  .hero__actions .btn { flex: 1 1 auto; height: 44px; }
  .hero__stats { flex-wrap: wrap; margin-top: 34px; padding-top: 22px; }
  .hero__stat { flex: 0 0 50%; border-right: 0; padding: 0 0 18px !important; }
  .hero__num { font-size: 20px; }
  .hero__media { height: 320px; }

  .h2 { font-size: 26px; margin-top: 12px; }
  .lead { font-size: 13px; margin-top: 14px; }

  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 22px; margin-top: 34px; }
  .stat { padding: 18px 16px 0 0; border-right: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }

  .species-row { gap: 8px; margin-top: 28px; }
  .chip { height: 34px; padding: 0 14px; font-size: 12.5px; }

  .craft-row, .factory-grid, .case-grid, .grid-3, .grid-2, .sp-grid, .method-row, .plant-pics { grid-template-columns: 1fr; }
  .craft-card, .part-card { padding: 26px 22px 28px; }

  .factory-media img { height: 220px; }
  .factory-item { padding-top: 18px; }
  .factory-note { margin-top: 34px; text-align: left; line-height: 1.9; }

  .steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 30px; }
  .step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .step:nth-child(n+2) { padding-left: 0; }
  .step__desc { margin-top: 0; }

  .price-bar { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; margin-top: 34px; }
  .price-bar__amount { font-size: 26px; }

  .case-card__media { height: 180px; }

  .cta { height: auto; padding: 56px 0; }
  .cta--inner { padding: 56px 0; }
  .cta__title { font-size: 26px; }
  .cta__actions { margin-top: 24px; gap: 14px; }
  .cta__phone { font-size: 21px; }

  .site-footer { padding: 44px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11.5px; }

  .page-hero { padding: 32px 0 44px; }
  .page-hero h1 { font-size: 32px; margin-top: 18px; }
  .page-hero__desc { font-size: 14px; margin-top: 16px; }
  .page-hero__stats { grid-template-columns: 1fr; margin-top: 32px; border-top: 1px solid var(--line); }
  .ph-stat {
    padding: 16px 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }
  .ph-stat:last-child { border-bottom: 0; }
  .ph-stat__num { font-size: 18px; }
  .ph-stat__label { margin-top: 0; text-align: right; }

  .check-item { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; }
  .check-item__body { grid-column: 2; }
  .check-item__title { font-size: 15px; }

  .pit-card { grid-template-columns: 44px 1fr; gap: 14px; }
  .pit-card__title { font-size: 16px; }

  .quote-note { padding: 18px 20px; font-size: 12.5px; }
}

/* ============ 16. Utils ============ */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0 !important; }

/* ============ 17. 案例 / 服务 / 关于 ============ */

/* 白底区块里的卡片改用米底，否则白卡贴白底看不见边 */
.section--card .craft-card { background: var(--bg); }

/* --- 案例：大图 + 配置清单 --- */
.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 46px;
  align-items: start;
}

.case-feature + .case-feature { margin-top: 96px; }

.case-feature__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  background: var(--cream);
}

.case-feature--flip .case-feature__media { order: 2; }

.case-figure-cap {
  display: block;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted-2);
  margin-top: 10px;
  letter-spacing: .02em;
}

.case-feature__kicker {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .1em;
}

.case-feature__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 14px;
  letter-spacing: .01em;
}

.case-feature__desc {
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
  margin-top: 16px;
}

.case-spec { border-top: 1px solid var(--line); margin-top: 26px; }

.case-spec__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.case-spec__k { font-size: 12.5px; color: var(--muted-2); }
.case-spec__v { font-size: 13px; line-height: 1.9; color: var(--ink-2); }

.case-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.case-strip img { width: 100%; height: 260px; object-fit: cover; background: var(--cream); }

.case-wide { margin-top: 44px; }
.case-wide img { width: 100%; height: 360px; object-fit: cover; background: var(--cream); }

/* --- 服务：流程表 --- */
.flow-list { margin-top: 46px; border-top: 1px solid var(--line); width: 100%; }

.flow-row {
  display: grid;
  grid-template-columns: 56px 1fr 260px 190px;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.flow-row__no {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  line-height: 1.4;
}

.flow-row__name { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.6; }
.flow-row__desc { font-size: 13px; line-height: 1.9; color: var(--muted); }
.flow-row__fee { font-size: 12.5px; line-height: 1.85; color: var(--brand); }

.flow-legend {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted-2);
}

/* --- 答疑 --- */
.faq { margin-top: 46px; border-top: 1px solid var(--line); width: 100%; }
.faq__item { border-bottom: 1px solid var(--line-soft); }

.faq__q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.7;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
}

.faq__item[open] .faq__q::after { content: "—"; font-size: 15px; }
.faq__q:hover { color: var(--brand); }

.faq__a {
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--muted);
  max-width: 920px;
  padding: 0 0 24px;
}

/* --- 关于：时间线 / 引言 --- */
.timeline { margin-top: 46px; border-top: 1px solid var(--line); width: 100%; }

.timeline__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.timeline__year {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--brand);
  line-height: 1.4;
}

.timeline__text { font-size: 13.5px; line-height: 2; color: var(--muted); }
.timeline__text b { font-weight: 500; color: var(--ink-2); }

.pull-quote {
  margin-top: 50px;
  padding: 6px 0 6px 30px;
  border-left: 2px solid var(--brand);
  max-width: 900px;
}

.pull-quote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: .01em;
}

.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 14px;
  letter-spacing: .02em;
}

/* --- 关于：证件号 --- */
.cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }

.cred-item { border-top: 1px solid var(--line); padding-top: 20px; }
.cred-item__k { font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }
.cred-item__v { font-size: 15px; font-weight: 500; color: var(--ink); margin-top: 8px; line-height: 1.6; }
.cred-item__n { font-size: 12px; line-height: 1.85; color: var(--muted-2); margin-top: 6px; }

@media (max-width: 1024px) {
  .case-feature { grid-template-columns: 1fr; gap: 32px; }
  .case-feature + .case-feature { margin-top: 68px; }
  .case-feature--flip .case-feature__media { order: 0; }
  .case-feature__media img { height: 420px; }
  .case-wide img { height: 300px; }
  .case-feature__title { font-size: 27px; }
  .flow-row { grid-template-columns: 48px 1fr 200px 160px; gap: 18px; }
  .timeline__row { grid-template-columns: 120px 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .case-feature { margin-top: 30px; }
  .case-feature__media img { height: 320px; }
  .case-feature__title { font-size: 23px; margin-top: 10px; }
  .case-feature__desc { font-size: 13px; margin-top: 12px; }
  .case-strip { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .case-strip img { height: 210px; }
  .case-wide { margin-top: 26px; }
  .case-wide img { height: 220px; }
  .case-spec__row { grid-template-columns: 76px 1fr; gap: 14px; }

  .flow-list { margin-top: 30px; }
  .flow-row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "no name"
      ". desc"
      ". fee";
    gap: 6px 14px;
    padding: 18px 0;
  }
  .flow-row__no { grid-area: no; }
  .flow-row__name { grid-area: name; font-size: 15px; }
  .flow-row__desc { grid-area: desc; margin-top: 2px; }
  .flow-row__fee { grid-area: fee; margin-top: 4px; }

  .faq { margin-top: 30px; }
  .faq__q { font-size: 14.5px; padding: 17px 0; gap: 16px; }
  .faq__a { font-size: 13px; padding-bottom: 20px; }

  .timeline { margin-top: 30px; }
  .timeline__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .timeline__year { font-size: 19px; }

  .pull-quote { margin-top: 34px; padding-left: 18px; }
  .pull-quote p { font-size: 17.5px; line-height: 1.8; }

  .cred-list { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
}
