/* PiliMerch - 配色复刻 Shopify 主题 piliplus-v2-0（ride）
   页头 / 主体 / 页脚统一使用同一条渐变：#FFD3E2 → #A8FFFB
   文字 #000，强调色 #EB5680，柔和粉 #FFC0D6，按钮 #010101 */

:root {
  --grad-top: #FFD3E2;
  --grad-bottom: #A8FFFB;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, 0.72);
  --pink: #EB5680;
  --pink-soft: #FFC0D6;
  --surface: #FFFFFF;
  --line: rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
  min-height: 100%;
}

html {
  /* 渐变铺在 html 上，内容不足一屏时也不会露出空白底色 */
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--grad-bottom) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--grad-bottom);
}

body {
  /* 至少撑满一屏，避免内容短时底部露出兜底色 */
  min-height: 100vh;
  background: transparent;
  color: var(--ink);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航栏：渐变底、无描边、无阴影（复刻主题 header 方案） ========== */
header {
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  /* 与 body 同一条渐变，视口对齐，滚动时页头始终保持顶部粉调 */
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--grad-bottom) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  border-bottom: none;
  box-shadow: none;
  z-index: 99;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

/* 页头 logo 图片（原图裁掉透明留白后的版本，避免视觉偏小） */
.logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  transition: color 0.24s ease;
}

.nav-links a:hover {
  color: var(--pink);
}

/* Cases下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  padding: 12px 0;
  display: none;
  overflow: hidden;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 192, 214, 0.22);
  color: var(--pink);
}

.dropdown-menu.show {
  display: block;
}

/* ========= Hero首页横幅 ========= */
.hero {
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero p {
  font-size: 1.12rem;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #010101;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.btn:hover {
  background: var(--pink);
  color: #FFFFFF;
}

/* =========通用区块========= */
.section {
  padding: 4rem 0;
}

/* section 同时带 container 时，保留左右内边距（否则 .section 的 padding 会覆盖 .container 的 24px） */
.section.container {
  padding: 4rem 24px;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--ink);
}

.intro-text {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 2.8rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ========= 工厂实拍图：4 列 × 2 行 ========= */
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.factory-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 192, 214, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.factory-gallery img:hover {
  transform: translateY(-3px);
}

/* =========产品/案例网格卡片========= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: rgba(255, 192, 214, 0.25);
}

.product-card .card-body {
  padding: 1.2rem 1.3rem;
}

.product-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.product-card p {
  color: var(--ink-soft);
}

/* =========联系页面表单========= */
.form-box {
  max-width: 620px;
  margin: 0 auto;
  padding: 2.4rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--ink);
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.20);
  border-radius: 10px;
  font-size: 16px;
  background: #FFFFFF;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: #010101;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
  background: var(--pink);
}

.success-msg {
  display: none;
  background: #EAF7F0;
  color: #156B4E;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 22px;
}

/* =========页脚 ========= */
footer {
  padding: 2.4rem 0;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

footer p {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

footer a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--pink);
  text-decoration: underline;
}

/* 社交媒体二维码占位容器 */
.footer-social-qr {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 1.4rem 0;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  /* 用户后期替换图片src，这里仅占位 */
}

.qr-item span {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}


/* ========= 首页 Hero（左文右图） ========= */
.home-hero {
  padding: 3.6rem 0 3rem;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 1rem;
}
.home-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.home-hero-sub {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 2rem;
}
.home-hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.6px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #FFFFFF;
}
.home-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

/* ========= 首页数据条 ========= */
.stats-bar {
  padding-bottom: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.stats-grid .stat + .stat {
  border-left: 1px solid rgba(20, 18, 30, .09);
}
.stat strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ========= 首页 What We Make 两张卡 ========= */
.make-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.make-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.make-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.make-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  padding: 1.5rem 1.6rem 1.8rem;
}
.make-body h3 {
  font-size: 1.35rem;
}
.make-body p {
  font-size: 0.99rem;
  color: var(--ink-soft);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.2rem 0 0.5rem;
}
.tag-list li {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 192, 214, 0.22);
  color: var(--ink);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
  margin-top: auto;
  padding-bottom: 2px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pink);
  transition: color 0.2s ease;
}
.link-arrow:hover {
  color: var(--pink);
}
.link-arrow span {
  transition: transform 0.2s ease;
}
.link-arrow:hover span {
  transform: translateX(3px);
}

/* ========= 首页流程 ========= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.process-step {
  padding: 1.5rem 1.3rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.step-num {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink);
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.process-step p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ========= 首页 Cases 两个分类封面 ========= */
.case-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.case-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  text-decoration: none;
}
.case-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.case-tile:hover img {
  transform: scale(1.04);
}
.case-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.3rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
}
.case-tile-body h3 {
  font-size: 1.1rem;
  color: var(--ink);
}
.case-tile-body span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ========= 首页黑色 CTA 条 ========= */
.cta-band {
  margin-top: 3.5rem;
  padding: 4.5rem 0;
  background: #010101;
  color: #FFFFFF;
  text-align: center;
}
.cta-band h2 {
  font-size: 2.1rem;
  color: #FFFFFF;
  margin-bottom: 0.9rem;
}
.cta-band p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.72);
}
.btn-light {
  background: #FFFFFF;
  color: #010101;
}
.btn-light:hover {
  background: var(--pink);
  color: #FFFFFF;
}

/* ========= 首页工厂实拍条 ========= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.section-head h2 {
  margin-bottom: 0;
  text-align: left;
}
.factory-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.factory-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}


/* ========= 联系页（左表单 + 右联系卡） ========= */
.contact-head {
  max-width: 920px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.contact-head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.contact-head p {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.contact-form-box {
  max-width: none;
  margin: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.20);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #FFFFFF;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
select:focus {
  outline: none;
  border-color: var(--pink);
}
.optional {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.field-hint {
  margin: -12px 0 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}
.error-msg {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #FDECEF;
  color: #9B1C31;
}
.error-msg a {
  color: #9B1C31;
  font-weight: 600;
}

.contact-card {
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}
.contact-card h2 {
  font-size: 1.25rem;
  text-align: left;
  margin-bottom: 0.5rem;
}
.contact-card-sub {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.contact-email {
  display: block;
  margin: 1.1rem 0;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 2px;
}
.contact-email strong {
  font-size: 0.95rem;
  word-break: break-all;
}
.contact-qr {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.contact-qr .qr-item img {
  width: 96px;
  height: 96px;
}
.contact-facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin-bottom: 1.3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.contact-facts strong {
  color: var(--ink);
}
.next-steps h3 {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
}
.next-steps ol {
  margin-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.contact-qr .qr-item a {
  display: block;
  width: max-content;
  margin: 6px auto 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
}
.contact-qr .qr-item a:hover {
  color: var(--pink);
}
.contact-proof {
  margin-top: 1.2rem;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.contact-proof img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.contact-proof p {
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* =========移动端适配 ========= */
@media(max-width: 768px) {
  .nav-wrap {
    flex-direction: column;
    gap: 0.85rem;
  }
  .logo img {
    height: 34px;
  }
  .nav-links {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .factory-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .footer-social-qr {
    flex-direction: column;
    align-items: center;
  }
}

/* ========= 首页响应式 ========= */
@media (max-width: 900px) {
  .home-hero {
    padding: 2.4rem 0 2rem;
  }
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    padding: 1.2rem 0.8rem;
  }
  .make-grid {
    grid-template-columns: 1fr;
  }
  .make-card img {
    height: 220px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-tiles {
    grid-template-columns: 1fr;
  }
  .factory-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band {
    padding: 3.2rem 0;
  }
  .cta-band h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========= 联系页响应式 ========= */
@media (max-width: 900px) {
  .contact-head {
    text-align: left;
    margin-bottom: 1.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-box {
    padding: 1.6rem 1.3rem;
  }
}

/* ========= Cases 下拉：文字进总览页，▾ 才展开 ========= */
.dropdown-wrap {
  display: flex;
  align-items: center;
  gap: .28rem;
}

.dropdown-caret {
  background: none;
  border: 0;
  padding: 0 .1rem;
  margin: 0;
  font-size: .8rem;
  line-height: 1;
  color: var(--ink);
  opacity: .55;
  cursor: pointer;
  font-family: inherit;
  transition: color .24s ease, opacity .24s ease;
}

.dropdown-caret:hover {
  color: var(--pink);
  opacity: 1;
}

/* hover 展开时的鼠标“桥”，避免从文字移向菜单时菜单消失 */
.dropdown-wrap:hover::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 10px;
}

@media (hover: hover) and (min-width: 769px) {
  .dropdown-wrap:hover .dropdown-menu {
    display: block;
  }
}

/* ========= 案例页通用 ========= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb span {
  color: var(--ink-soft);
  opacity: .8;
}

.hub-head {
  max-width: 820px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.hub-head h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hub-head p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

/* 品类页页头 */
.cat-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.6rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cat-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.16;
  margin-bottom: 1rem;
}

.cat-hero p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

.cat-hero .eyebrow {
  color: var(--pink);
}

.cat-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
  display: block;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.chip-row li {
  padding: .5rem 1rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--ink);
}

.block-title {
  text-align: left;
  font-size: 1.5rem;
  margin: 3rem 0 1.4rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.case-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .07);
  transition: transform .26s ease, box-shadow .26s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

.case-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.case-card-body {
  padding: .95rem 1.15rem 1.2rem;
}

.case-card-body h3 {
  font-size: 1.02rem;
  margin-bottom: .3rem;
  color: var(--ink);
}

.case-card-body p {
  font-size: .87rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.craft-card {
  background: rgba(255, 255, 255, .78);
  border-radius: 14px;
  padding: 1.3rem 1.4rem 1.45rem;
}

.craft-card h3 {
  font-size: 1.02rem;
  margin-bottom: .5rem;
}

.craft-card p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.craft-grid + .factory-strip {
  margin-top: 1.4rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: center;
  margin-top: 2.6rem;
  background: rgba(255, 255, 255, .78);
  border-radius: 18px;
  padding: 1.4rem;
}

.split-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.split-feature-copy h3 {
  font-size: 1.25rem;
  margin-bottom: .7rem;
}

.split-feature-copy p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.spec-list {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .82);
  border-radius: 16px;
  padding: .4rem 1.6rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  font-weight: 600;
  font-size: .95rem;
  margin: 0;
}

.spec-row dd {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
  flex: 1 1 auto;
  text-align: left;
}

.cross-link {
  text-align: center;
  margin: 2rem 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

.cross-link a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
}

.cross-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hub-grid,
  .cat-hero,
  .craft-grid,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-hero {
    gap: 1.6rem;
  }

  .cat-hero p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .block-title {
    font-size: 1.3rem;
  }

  .spec-list {
    padding: .2rem 1.1rem;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }

  .spec-row dd {
    text-align: left;
  }
}

/* 案例页标题左对齐（覆盖 .section h2 的居中） */
.section .block-title {
  text-align: left;
}

.hub-grid .make-body h2 {
  text-align: left;
  font-size: 1.35rem;
  margin: 0;
}

/* ========= About 页 ========= */
.about-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 1.6rem;
}

.about-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 1.4rem;
}

.about-list-col {
  background: rgba(255, 255, 255, .78);
  border-radius: 16px;
  padding: 1.4rem 1.5rem 1.5rem;
}

.about-list-col h3 {
  font-size: 1.05rem;
  margin-bottom: .7rem;
}

.about-list-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list-col li {
  font-size: .92rem;
  color: var(--ink-soft);
  padding: .32rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.about-list-col li:last-child {
  border-bottom: 0;
}

.factory-gallery figure {
  margin: 0;
}

.factory-gallery figcaption {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  padding: .5rem .2rem 0;
}

.about-note {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 1.6rem auto 0;
  text-align: center;
}

.faq-item {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
}

.faq-item p {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

/* ========= 页脚 ========= */
footer {
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.15fr 1.15fr;
  gap: 2.2rem;
  align-items: start;
}

.footer-brand .logo img {
  height: 34px;
  width: auto;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: .9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  font-size: .9rem;
  color: var(--ink-soft);
  padding: .2rem 0;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--pink);
  text-decoration: underline;
}

.footer-qr {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-qr .qr-item img {
  width: 72px;
  height: 72px;
}

.footer-qr .qr-item span {
  display: block;
  font-size: .75rem;
  color: var(--ink-soft);
  margin-top: .3rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--ink-soft);
}

.footer-bottom a {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .about-lists {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: .3rem .9rem;
    font-size: .8rem;
  }
}

/* About 页头证明卡 */
.about-proof {
  background: rgba(255, 255, 255, .78);
  border-radius: 20px;
  padding: 1.7rem 1.9rem 1.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.proof-since {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.proof-grid {
  display: block;
  margin-top: .35rem;
}

.proof-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.proof-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.proof-item strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.proof-item span {
  font-size: .84rem;
  color: var(--ink-soft);
}

/* 规格表左列固定宽度，避免长条目换行挤压 */
.spec-row dt {
  flex: 0 0 190px;
}

/* About 正文统一左对齐 */
.section.about-block h2 {
  text-align: left;
  font-size: 1.7rem;
  margin-bottom: .9rem;
}

.section.about-block .intro-text {
  text-align: left;
  margin-bottom: 1.8rem;
  max-width: 760px;
}

.section.about-block .about-note {
  text-align: left;
  margin: 0 auto;
  max-width: 820px;
}

.section.about-block .about-note + .about-note {
  margin-top: 1.05rem;
}

.section.about-block .spec-list {
  margin-left: 0;
  max-width: 880px;
}

/* About 正文块统一左起点 */
.section.about-block .about-note {
  margin: 0;
  max-width: 820px;
}

.section.about-block .intro-text {
  margin: 0 0 1.8rem;
  max-width: 760px;
}

/* About 正文各节收紧一点留白 */
.section.about-block {
  padding: 3.2rem 24px;
}

.section.about-block .faq-item {
  margin: 0;
  max-width: 820px;
}

/* About 小标题（按客户要求新增） */
.about-tagline {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-soft);
  margin: .1rem 0 1rem;
}
.about-block .about-sub {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 2.2rem 0 .55rem;
}
.about-block .about-sub:first-of-type { margin-top: 1.4rem; }


/* ========= 案例页：按简化品类分组排版 ========= */
.case-groups {
  display: grid;
  gap: 2.6rem;
  margin-top: 1rem;
}

.case-group-head {
  margin-bottom: 1rem;
}

.case-group-head h3 {
  font-size: 1.16rem;
  letter-spacing: -.01em;
  margin-bottom: .3rem;
}

.case-group-head p {
  font-size: .95rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
}

.case-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-group-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.case-group-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #f5f5f7;
}

@media (max-width: 900px) {
  .case-group-grid,
  .case-group-grid.two {
    grid-template-columns: repeat(2, 1fr);
    gap: .7rem;
  }

  .case-groups {
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .case-group-grid,
  .case-group-grid.two {
    grid-template-columns: 1fr;
  }
}

/* ========= 语言切换 ========= */
.lang-switch{display:flex;align-items:center;gap:.45rem;margin-left:1.9rem;font-size:.86rem;letter-spacing:.02em;white-space:nowrap}
.lang-switch a{color:var(--ink);opacity:.55;text-decoration:none;font-weight:500;padding-bottom:2px;border-bottom:2px solid transparent;transition:opacity .2s,color .2s,border-color .2s}
.lang-switch a:hover{opacity:1;color:var(--pink)}
.lang-switch a.active{opacity:1;color:var(--pink);font-weight:700;border-bottom-color:var(--pink)}
.lang-switch .sep{opacity:.28;font-size:.8rem}
@media(max-width:768px){.lang-switch{margin-left:0;margin-top:.1rem;font-size:.82rem}}
html[lang="ko"] body{font-family:'Pretendard','Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic','Segoe UI',Roboto,Helvetica,Arial,sans-serif;word-break:keep-all}
html[lang="zh-Hant"] body{font-family:'Noto Sans TC','PingFang TC','Microsoft JhengHei','Segoe UI',Roboto,Helvetica,Arial,sans-serif}
/* 移动端：下拉菜单浮层需盖住语言切换行，避免文字重叠 */
@media(max-width:768px){
  .dropdown-menu{left:50%;transform:translateX(-50%);min-width:0;width:calc(100vw - 48px);max-width:420px;z-index:60;padding:10px 0;top:calc(100% + 42px)}
  .dropdown-menu a{padding:12px 22px;text-align:center}
}
.dropdown-menu{z-index:60}
/* 让导航与语言切换靠右成组 */
.nav-wrap > .nav-links{margin-left:auto}
@media(max-width:768px){.nav-wrap > .nav-links{margin-left:0}}
