/* ============================================================
   NANFAN 南帆 · 全局共享样式表
   技术：纯 CSS3，移动端优先（Mobile First）
   维护：修改品牌色/字体只需改下方 :root 变量，全站自动生效
   ============================================================ */

/* ---------- 1. 品牌设计 Token ---------- */
:root {
  /* 主色板 */
  --cream:        #F6F2E9;  /* 暖米白：页面主背景 */
  --cream-light:  #FCFAF5;  /* 浅米白：卡片/导航底 */
  --olive:        #636B4F;  /* 橄榄绿：主品牌色/主按钮 */
  --olive-dark:   #4C533D;  /* 深橄榄绿：按钮悬停 */
  --olive-soft:   #E4E6DB;  /* 浅橄榄绿：标签底 */
  --charcoal:     #252721;  /* 深炭黑：标题/正文/深色页脚 */
  --brown:        #987654;  /* 自然棕：辅助强调 */
  --line:         #DDD3C2;  /* 发丝线/边框 */
  --muted:        #6A675E;  /* 次要文字 */
  --white:        #FFFFFF;

  /* WhatsApp 品牌色（用于即时聊天入口） */
  --whatsapp:      #25D366;
  --whatsapp-dark: #1DA851;

  /* 字体 */
  --font-serif: "Marcellus", Georgia, "Times New Roman", serif;
  --font-sans:  "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* 布局尺寸 */
  --container: 1240px;
  --gutter: 20px;
  --nav-h: 72px;

  /* 节奏 */
  --radius: 2px;          /* 克制的小圆角，保持画册感 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 40px -24px rgba(37, 39, 33, 0.35);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* 无障碍：键盘焦点可见 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* ---------- 3. 通用容器与排版 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 72px; }

/* 章节标题（居中结构，首页通用） */
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-weight: 400; }

/* ---------- 4. 按钮体系 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 30px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background-color: var(--olive); color: var(--white); }
.btn-primary:hover { background-color: var(--olive-dark); }
.btn-outline {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover { background-color: var(--charcoal); color: var(--cream); }
.btn-light { background-color: var(--cream); color: var(--charcoal); }
.btn-light:hover { background-color: var(--white); }
.btn-outline-light {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 242, 233, 0.7);
}
.btn-outline-light:hover { background-color: var(--cream); color: var(--charcoal); }

/* WhatsApp 首屏按钮 */
.btn-whatsapp { background-color: var(--whatsapp); color: var(--white); white-space: normal; line-height: 1.4; text-align: center; }
.btn-whatsapp:hover { background-color: var(--whatsapp-dark); }
.btn-whatsapp svg { width: 18px; height: 18px; flex: none; }

/* 右下角固定悬浮 WhatsApp 圆形图标 */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 12px 28px -10px rgba(29, 168, 81, 0.65);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.whatsapp-float:hover { background-color: var(--whatsapp-dark); transform: translateY(-2px); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- 5. 顶部导航栏 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* 滚动后加实底（JS 切换 .scrolled） */
.site-header.scrolled {
  background-color: rgba(252, 250, 245, 0.96);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-top: 5px;
}

/* 桌面端导航菜单 */
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background-color: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta { display: none; }

/* 移动端汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端展开菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background-color: var(--cream-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
}
.mobile-menu .btn { margin-top: 32px; width: 100%; }

/* ---------- 6. 首页 Hero 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background-color: var(--cream);
  overflow: hidden;
}
/* 第二阶段占位背景：米白 + 帆布纹理，第三阶段替换为真实摄影图 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 移动端：纵向柔和米白遮罩，袋子作为若隐若现的背景纹理，文字为主导 */
  background-image:
    linear-gradient(180deg, rgba(246,242,233,0.92) 0%, rgba(246,242,233,0.8) 52%, rgba(246,242,233,0.93) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero p {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: var(--cream); }
.footer-brand .brand small { color: rgba(246,242,233,0.6); }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(246,242,233,0.65);
  max-width: 320px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,242,233,0.55);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: rgba(246,242,233,0.82);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(246,242,233,0.72);
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(246,242,233,0.14);
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(246,242,233,0.5);
}

/* ---------- 8. 产品展示区 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.product-card {
  background-color: var(--cream-light);
  border: 1px solid var(--line);
}
.product-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--olive-soft);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 24px 22px 28px; }
.product-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.product-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover { border-bottom-color: var(--olive); }

/* ---------- 9. 面料克重区 ---------- */
.weights { background-color: var(--cream-light); }
.weight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.weight-card {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--line);
  background-color: var(--cream);
}
.weight-no {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
  color: var(--olive);
  margin-bottom: 14px;
}
.weight-card h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.weight-card p {
  font-size: 14px;
  color: var(--muted);
  max-width: 260px;
  margin-inline: auto;
}

/* ---------- 10. 定制服务区 ---------- */
.customize-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.customize-media {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--olive-soft);
}
.customize-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line);
  background-color: var(--cream-light);
  transition: border-color 0.25s, transform 0.25s;
}
.option-item:hover { border-color: var(--olive); transform: translateY(-3px); }
.option-item:last-child { grid-column: span 2; }
.option-icon { width: 34px; height: 34px; color: var(--olive); }
.option-icon svg { width: 100%; height: 100%; }
.option-name { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.option-item p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 11. 供应链流程 ---------- */
.process { background-color: var(--cream-light); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.process-step {
  padding: 32px 26px;
  background-color: var(--cream);
  border: 1px solid var(--line);
}
.step-no {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--olive);
  margin-bottom: 18px;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 10px;
}
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- 12. 品牌介绍 ---------- */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--olive-soft);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-content .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}
.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 22px;
}
.about-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-quote {
  font-family: var(--font-serif);
  font-size: 20px !important;
  color: var(--charcoal) !important;
  margin-block: 22px;
}
.about-content .btn { margin-top: 12px; }

/* ---------- 13. 底部询价区 ---------- */
.cta-band {
  background-color: var(--olive);
  padding-block: 84px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 44px);
  color: var(--cream);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 16px;
  color: rgba(246,242,233,0.82);
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

/* ---------- 15. 内页通用 ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 56px;
  text-align: center;
  background-color: var(--cream-light);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 50px);
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--muted);
  max-width: 620px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.7;
}

/* 文字排版 */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 16px;
}
.prose p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.prose ul { margin-bottom: 18px; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background-color: var(--olive);
  border-radius: 50%;
}
.prose h3 svg {
  width: 23px; height: 23px;
  vertical-align: -5px;
  margin-right: 9px;
  color: var(--olive);
}

/* 详细产品行 */
.detail-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-media { flex: 1; min-width: 0; overflow: hidden; background-color: var(--olive-soft); }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-body { flex: 1.1; min-width: 0; align-self: center; }
.detail-body h3 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 12px; }
.detail-body p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }

/* 联系分栏 */
.contact-layout { display: flex; flex-direction: column; gap: 44px; }
.contact-info h3 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 20px; }
.contact-info dl { display: flex; flex-direction: column; gap: 20px; }
.contact-info dt {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 4px;
}
.contact-info dd { color: var(--muted); font-size: 15px; line-height: 1.6; }
.form-placeholder {
  padding: 48px 32px;
  text-align: center;
  border: 1px dashed var(--brown);
  background-color: var(--cream-light);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 询价表单 ---------- */
.inquiry-form {
  background-color: var(--cream-light);
  border: 1px solid var(--line);
  padding: 36px 30px;
}
.form-row { margin-bottom: 20px; }
.form-row.two-col { display: flex; flex-direction: column; gap: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--charcoal);
}
.form-row label .req { color: var(--olive); margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--charcoal);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .2s ease;
}
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--olive);
}
.form-row .field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #9a3b2e;
}
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: #9a3b2e; }
.form-row.invalid .field-error { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); margin-bottom: 26px; line-height: 1.65; }
.form-success {
  display: none;
  padding: 32px 26px;
  text-align: center;
  border: 1px solid var(--olive);
  background-color: var(--olive-soft);
}
.form-success.show { display: block; }
.form-success h3 { font-family: var(--font-serif); font-size: 25px; margin-bottom: 12px; }
.form-success p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; }

/* ---------- 16. WHY NANFAN 优势 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-item {
  padding: 32px 28px;
  background-color: var(--cream-light);
  border: 1px solid var(--line);
}
.feature-icon { width: 38px; height: 38px; color: var(--olive); margin-bottom: 18px; }
.feature-item h3 { font-family: var(--font-serif); font-size: 21px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 17. 品牌视频占位 ---------- */
.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.play-button {
  position: relative;
  z-index: 2;
  width: 78px; height: 78px;
  border-radius: 50%;
  background-color: rgba(246, 242, 233, 0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background-color .25s;
}
.play-button:hover { transform: scale(1.06); background-color: var(--white); }
.play-button svg { width: 26px; height: 26px; color: var(--charcoal); margin-left: 4px; }
.video-caption { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }

/* ---------- 18. 六步生产流程（3 列 × 2 行） ---------- */
.process-grid.six { grid-template-columns: 1fr; }

/* ---------- 19. 产品规格列表 ---------- */
.spec-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.spec-list li {
  font-size: 14px; color: var(--muted);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background-color: var(--brown);
}
.spec-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 8px;
}
.spec-size {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--charcoal); margin-bottom: 18px; line-height: 1.2;
}

/* ---------- 20. 图片标注与照片占位 ---------- */
.img-note { margin-top: 8px; font-size: 12px; color: var(--muted); font-style: italic; }
.photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background-color: var(--olive-soft);
  border: 1px dashed var(--brown);
  color: var(--muted); font-size: 13.5px; line-height: 1.7;
}
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* ---------- 21. 页脚统一服务信息 ---------- */
.footer-services {
  font-size: 13px; color: rgba(246, 242, 233, 0.62);
  letter-spacing: 0.05em; line-height: 1.7;
}

/* ============================================================
   14. 桌面端扩展（≥768px）
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding-block: 100px; }

  /* 显示桌面导航，隐藏汉堡 */
  .main-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }

  /* 桌面端：左侧文字区干净，右侧产品清晰可见 */
  .hero::before {
    background-position: center right;
    background-image:
      linear-gradient(90deg, rgba(246,242,233,0.96) 0%, rgba(246,242,233,0.74) 44%, rgba(246,242,233,0.2) 76%, rgba(246,242,233,0) 100%),
      url("../images/hero.jpg");
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .weight-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* 定制选项四列，七项最后一行三个，无孤立项 */
  .option-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .option-item:last-child { grid-column: auto; }

  /* 流程四步横向排列 */
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* 六步流程：3 列 × 2 行 */
  .process-grid.six { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* 优势卡：桌面两列 */
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  /* 品牌图文左右两栏 */
  .about-layout { flex-direction: row; align-items: center; gap: 56px; }
  .about-media { flex: 1; min-width: 0; }
  .about-content { flex: 1.1; min-width: 0; }
  .about-media img { aspect-ratio: 3 / 4; }

  /* 内页详细行横向、偶数行交错 */
  .detail-row { flex-direction: row; gap: 48px; }
  .detail-row:nth-child(even) { flex-direction: row-reverse; }

  /* 联系页左右分栏 */
  .contact-layout { flex-direction: row; gap: 56px; align-items: flex-start; }
  .contact-info { flex: 1; min-width: 0; }
  .contact-form-wrap { flex: 1.35; min-width: 0; }

  /* 表单内两列并排 */
  .form-row.two-col { flex-direction: row; }
  .form-row.two-col > .form-row { flex: 1; min-width: 0; }
}

/* 大屏：产品四列 */
@media (min-width: 992px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature-grid.two-by-two { grid-template-columns: repeat(2, 1fr); }
}

/* 超宽屏微调 */
@media (min-width: 1200px) {
  .hero-inner { max-width: 760px; }
}

/* ============================================================
   22. 生产场景图卡片（Manufacturing 六环节，统一 16:9）
   ============================================================ */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.stage-card {
  background-color: var(--cream-light);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stage-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--olive-soft);
}
.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.stage-card:hover .stage-media img { transform: scale(1.04); }
.stage-body { padding: 22px 22px 26px; }
.stage-no {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}
.stage-body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 8px;
}
.stage-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.stage-disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  background-color: var(--olive-soft);
  border-left: 3px solid var(--brown);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .stage-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (min-width: 992px) {
  .stage-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* 首页生产流程引导横幅（单图，16:9） */
.process-banner { margin: 0; }
.process-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.process-cta-head { margin-top: 40px; margin-bottom: 0; }
.process-cta-head .btn { margin-top: 10px; }

/* 尊重系统"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
