/* ============================================================
 * 未来造物 · 官网主样式
 * 品牌 VI v3（2026-09-07）：主紫 #544499 / 天蓝 #7EC2DD / 淡紫 #C9B9DE（与小程序、logo 统一）
 * 说明：印刷分类色（名片橙/画册绿等 8 色）属「行业标识色」，保留不随主色变
 * 字体：思源黑体（Noto Sans SC）+ Inter，中文系统字体兜底
 * ============================================================ */

:root {
  /* ---- 未来造物品牌 VI 标准色（RGB 屏幕） ---- */
  --brand: #544499;        /* 主紫 · 品牌主色（logo 同色） */
  --brand-2: #7EC2DD;      /* 天蓝 · 次要强调 / 渐变辅色 */
  --accent: #7EC2DD;       /* 天蓝点缀 */
  --brand-soft: #C9B9DE;   /* 淡紫 · 标签/淡背景/描边 */
  --silver: #D8DDE2;       /* 曲面银灰高光 */
  --brand-grad: linear-gradient(135deg, #544499 0%, #7EC2DD 100%);
  --dark: #1A1A1A;         /* 主体炭黑 */
  --ink: #2C2C2C;
  --muted: #6E7578;
  --line: #EAE6F1;
  --bg: #ffffff;
  --bg-soft: #F5F2FA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --shadow-hover: 0 16px 40px rgba(26, 26, 26, 0.16);
  --header-h: 76px;        /* 主导航条高度 · sticky 基准（顶栏不参与吸顶，勿把顶栏高度算进来） */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==================== 顶部细条 ==================== */
/* 顶栏：独立节点，渲染在 #header 之前，随页面滚动自然消失（不参与吸顶）
   2026-09-08 修复：原方案把 topbar 包在 sticky 的 #header 内并做「滚动收起」动画，
   会使 #header 高度从 116px 收缩到 76px → 页面内容整体上移 40px → 顶部抖动 */
.topbar {
  background: var(--dark);
  color: #C6CDCF;
  font-size: 13px;
  padding: 6px 0;
  overflow: hidden;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #C6CDCF; }
.topbar a:hover { color: #fff; }
.topbar .btn-link { background: none; border: none; color: #C6CDCF; cursor: pointer; font-size: 13px; padding: 0; }
.topbar .btn-link:hover { color: #fff; }
.topbar .login-name { color: #fff; font-weight: 600; }
/* 顶部用户区：名字/会员中心/退出统一横排 + 等距分隔，避免按钮贴一起 */
.topbar #loginBox { display: flex; align-items: center; gap: 16px; }
.topbar #loginBox a,
.topbar #loginBox .btn-link { margin-left: 0; text-decoration: none; }
.topbar #loginBox .login-name { white-space: nowrap; }
/* 会员中心 = 描边胶囊按钮（明显），退出 = hover 变红（区分动作） */
.topbar #loginBox a.btn-link {
  border: 1px solid rgba(255,255,255,.35); border-radius: 20px;
  padding: 3px 14px; line-height: 1.6; color: #E5EAEC;
}
.topbar #loginBox a.btn-link:hover { border-color: #fff; color: #fff; }
.topbar #loginBox button.btn-link { color: #9BA3A6; }
.topbar #loginBox button.btn-link:hover { color: #FF6B6B; }

/* ==================== 主头部 ====================
 * 方案B：整条页眉（黑色细条 + LOGO导航条）固定在顶部，
 * 页面向下滚动后黑色细条自动收起，只留 76px 的 LOGO + 导航条
 * 注意：sticky 必须挂在外层 #header 上，挂在 .header 上会被父容器高度限制而失效
 */
#header { position: sticky; top: 0; z-index: 100; }
/* 服务大厅页：一级导航不固定，仅二级导航(hall-nav)吸顶，用 body 类单独抵消 */
body.no-sticky-header #header { position: relative; }
/* （已移除）原「滚动收起顶栏」规则 body.scrolled .topbar{max-height:0}：
   会让 sticky 的 #header 高度变化，导致页面内容整体上移产生抖动，2026-09-08 移除 */
.header { background: #fff; box-shadow: 0 2px 12px rgba(26,26,46,0.06); position: relative; z-index: 2; }
body.scrolled .header { box-shadow: 0 4px 18px rgba(26,26,46,0.12); }
.header .container { display: flex; align-items: center; height: 76px; }
html { scroll-padding-top: var(--header-h); }   /* 一级导航固定时锚点跳转不被遮住；服务大厅页 header 不固定，偏移无副作用 */

.brand { display: flex; align-items: center; gap: 12px; margin-right: 40px; }
.brand-img { height: 46px; width: auto; flex-shrink: 0; display: block; }
.brand-mark { height: 50px; width: auto; flex-shrink: 0; display: block; }
.brand-text b { font-size: 20px; letter-spacing: 1px; display: block; color: var(--dark); }
.brand-text span { font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: #9BA3A6; }

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  transition: all .2s; color: var(--ink);
}
.nav a:hover, .nav a.active { color: var(--brand); background: var(--bg-soft); }
.nav a.active { font-weight: 600; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-right .btn-primary { margin-left: 8px; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px rgba(26,26,26,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,26,26,0.38); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ==================== 全宽大轮播 ==================== */
.hero {
  position: relative; height: 640px; overflow: hidden; background: var(--dark);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex;
  align-items: stretch; justify-content: center; color: #fff;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-slide .bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,24,26,0.30) 0%, rgba(20,24,26,0.08) 45%, rgba(20,24,26,0.48) 100%);
}
/* 文字在上、按钮固定在轮播底部（切换轮播时按钮不上下跳） */
.hero-content {
  position: relative; z-index: 3; width: 100%; max-width: 780px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 176px 24px 104px;
}
.hero-text { margin-bottom: auto; }
.hero-actions { margin-top: 28px; }

/* 已停用：轮播分类小胶囊（2026-09-03 按用户要求移除，样式保留备用） */
.hero-kicker {
  display: inline-block; padding: 6px 18px; border-radius: 30px; background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30); font-size: 13px; letter-spacing: 2px; margin-bottom: 20px;
  backdrop-filter: blur(4px); text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; letter-spacing: 1px; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero p { font-size: 18px; opacity: 0.96; margin-bottom: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all .3s;
}
.hero-dots button.active { width: 28px; border-radius: 6px; background: #fff; }

/* ==================== 通用区块 ==================== */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .tag { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
.section-head h2 { font-size: 34px; color: var(--dark); margin-bottom: 12px; letter-spacing: 1px; }
.section-head p { color: var(--muted); }

/* ==================== 服务分类卡片 ==================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
  transition: all .3s; border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--brand-2); }
.service-ico {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(26,26,26,0.28);
}
/* 服务项目大图（替代原来的小图标） */
.service-img { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 18px; background: var(--bg-soft); }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--dark); }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.service-price { color: var(--brand); font-weight: 700; font-size: 20px; }
.service-card .go { color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 16px; display: inline-block; }

/* ==================== 案例卡片 ==================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: all .3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-cover { height: 220px; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .55s; }
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-body { padding: 20px 22px 24px; }
.case-body h3 { font-size: 17px; margin-bottom: 6px; color: var(--dark); }
.case-body p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.case-date { font-size: 12px; color: #9BA3A6; }

/* ==================== 案例详情页（case.html） ==================== */
.case-detail { padding: 48px 0 64px; }
.case-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 22px; transition: color .2s; }
.case-back:hover { color: var(--brand); }
.cd-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
.cd-gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cd-main { width: 100%; aspect-ratio: 4/3; background: var(--bg-soft); }
.cd-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.cd-main img.loading { opacity: 0; }
.cd-thumbs { display: flex; gap: 10px; padding: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.cd-thumb { width: 84px; height: 64px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: .7; transition: all .2s; flex: none; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd-thumb:hover { opacity: 1; }
.cd-thumb.active { border-color: var(--brand); opacity: 1; }
.cd-info h1 { font-size: 30px; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.cd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.cd-meta .tag { background: var(--bg-soft); color: var(--brand); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.cd-desc { color: var(--ink); font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
.cd-date { color: var(--muted); font-size: 13px; margin-top: 22px; }
.cd-related { margin-top: 56px; }
.cd-related h2 { font-size: 24px; color: var(--dark); margin-bottom: 24px; }
.cd-related .cases-grid { margin-top: 0; }
@media (max-width: 900px) { .cd-top { grid-template-columns: 1fr; gap: 28px; } }

/* ==================== 合作主理人卡片（复用 .cases-grid 容器，自定义内部） ==================== */
.case-card.designer-card { padding: 48px 22px 24px; text-align: center; position: relative; }
.designer-avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
  border: 4px solid #fff; box-shadow: 0 6px 18px rgba(26,26,46,.12);
  background: var(--bg-soft); position: relative; z-index: 1;
}
.designer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.designer-card .case-body h3 { margin-bottom: 4px; }
.designer-direction {
  color: var(--brand); font-size: 13px; font-weight: 500; margin: -2px 0 10px;
  display: inline-block; padding: 2px 10px; background: var(--bg-soft); border-radius: 999px;
}
.designer-intro { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 8px 0 18px; min-height: 44px; }
.designer-go { color: var(--brand); font-size: 14px; font-weight: 500; cursor: pointer; }
.designer-go:hover { color: var(--brand-2); }

/* 登录页"记住密码"复选框行 */
.auth-remember {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); margin: -4px 4px 14px; cursor: pointer;
  user-select: none;
}
.auth-remember input { width: auto; margin: 0; cursor: pointer; }
.auth-remember:hover { color: var(--brand); }

/* ==================== 服务优势 ==================== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; padding: 30px 20px; }
.adv-ico { font-size: 36px; margin-bottom: 14px; }
.adv-item h3 { font-size: 17px; margin-bottom: 6px; color: var(--dark); }
.adv-item p { color: var(--muted); font-size: 14px; }

/* ==================== 页脚 ==================== */
.footer { background: var(--dark); color: #A9B3B7; padding: 64px 0 0; }
/* 注意：仅 footer 的直接子级 .container 才是 4 列 grid（避免影响 footer-bottom 内的 .container） */
.footer > .container { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.2fr; gap: 48px; padding-bottom: 48px; }

/* 各列统一标题：小装饰线对齐列头 */
.footer h4 {
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .4px;
  margin-bottom: 22px; padding-bottom: 10px; position: relative;
}
.footer h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 22px; height: 2px; border-radius: 2px; background: var(--brand-2);
}

/* ① 品牌区 */
.footer .about .f-brand { display: flex; align-items: center; gap: 12px; }
.footer .about .f-brand .brand-text b { color: #fff; font-size: 20px; letter-spacing: 1px; display: block; line-height: 1.3; }
.footer .about .f-brand .brand-text span { font-size: 11px; letter-spacing: 2px; color: #7C878B; }
.footer .f-slogan { font-size: 14px; color: #C6CDCF; margin: 20px 0 12px; line-height: 1.7; }
.footer .f-desc { font-size: 13px; color: #8A9599; margin: 0; line-height: 1.8; }

/* ②③④ 链接列：统一样式 */
.footer .f-col a {
  display: block; color: #A9B3B7; font-size: 14px; line-height: 1.4;
  margin-bottom: 14px; transition: color .2s, transform .2s;
}
.footer .f-col a:hover { color: #fff; transform: translateX(3px); }

/* 小程序：两张图统一白色卡片，左对齐整齐排列 */
.f-mp { display: flex; gap: 14px; align-items: center; }
.f-mp-card {
  flex: none; background: #fff; border-radius: 10px; padding: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
}
.f-mp-card img { display: block; width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.f-mp-card { width: 92px; height: 92px; }
.f-mp-card-wide { width: 122px; height: 72px; padding: 4px 6px; }
.f-mp-card-wide img { object-fit: contain; }
.f-mp-tip { font-size: 12px; color: #7C878B; margin-top: 14px; line-height: 1.7; }

/* 联系方式：小图标 + 文本，整齐对齐 */
.f-ci { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; color: #A9B3B7; line-height: 1.6; }
.f-ci a { display: inline !important; margin-bottom: 0 !important; line-height: inherit !important; }
.f-ci a:hover { transform: none !important; }
.f-ci-ico {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,.07); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.f-ci span:last-child { word-break: break-all; }

/* 底部版权 */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 22px 0 28px; text-align: center; font-size: 12px; color: #8A9599; }
.footer-bottom .container { display: block; padding: 0 20px; }
.footer-bottom .fb-row { line-height: 2; }
.footer-bottom .fb-legal { font-size: 11px; opacity: .85; letter-spacing: .3px; white-space: nowrap; }
.footer-bottom a { display: inline; margin: 0 4px; color: #8A9599; }
.footer-bottom a:hover { color: #fff; }

/* ==================== 内部页共用 ==================== */
.page-hero {
  background: var(--brand-grad); color: #fff; text-align: center; padding: 64px 0;
}
.page-hero h1 { font-size: 38px; margin-bottom: 8px; }
.page-hero p { opacity: 0.9; }

/* ==================== 表单 ==================== */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; max-width: 520px; margin: 0 auto;
}
.form-card h2 { text-align: center; margin-bottom: 24px; color: var(--dark); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-tip { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-tip a { color: var(--brand); }

/* ==================== 提示条 ==================== */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: var(--dark); color: #fff; padding: 12px 24px; border-radius: 10px; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2); transition: all .3s; z-index: 999; opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: #e5484d; }

/* ==================== 联系区块 ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .ci { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci:last-child { border-bottom: none; }
.contact-info .ci i {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--bg-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info .ci b { display: block; font-size: 15px; color: var(--dark); }
.contact-info .ci span { color: var(--muted); font-size: 14px; }

/* ==================== 印刷产品专区 ==================== */
.print-cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.print-cats button {
  padding: 10px 22px; border-radius: 30px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 14px; cursor: pointer; transition: all .2s;
}
.print-cats button:hover { border-color: var(--brand); color: var(--brand); }
.print-cats button.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(26,26,26,0.22); }
.print-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.print-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: all .3s; border: 1px solid transparent;
}
.print-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--brand-2); }
.print-cover { height: 180px; overflow: hidden; background: var(--bg-soft); }
.print-cover img { width: 100%; height: 100%; object-fit: cover; }
.print-body { padding: 22px; }
.print-tag { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.print-body h3 { font-size: 16px; margin-bottom: 8px; color: var(--dark); line-height: 1.45; min-height: 46px; }
.print-body p { color: var(--muted); font-size: 13px; margin-bottom: 14px; line-height: 1.5; height: 40px; overflow: hidden; }
.print-price { color: var(--brand); font-weight: 700; font-size: 18px; margin-bottom: 12px; }

/* 印刷详情 */
.print-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.pd-gallery { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.pd-info { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.pd-info h1 { font-size: 26px; margin: 10px 0 10px; color: var(--dark); }
.pd-desc { color: var(--muted); margin-bottom: 18px; }
.pd-price { font-size: 32px; color: var(--brand); font-weight: 800; margin-bottom: 22px; }
.pd-price span { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.pd-price del { font-size: 16px; color: #aaa; margin-left: 14px; font-weight: 400; }
.spec-group { margin-bottom: 18px; }
.spec-group > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.spec-options { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-btn {
  padding: 9px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13px; cursor: pointer; transition: all .2s;
}
.spec-btn span { color: var(--muted); margin-left: 4px; font-size: 12px; }
.spec-btn:hover { border-color: var(--brand); color: var(--brand); }
.spec-btn.active { background: var(--brand-grad); border-color: transparent; color: #fff; }
.spec-btn.active span { color: rgba(255,255,255,0.85); }
.pd-qty { margin: 22px 0; }
.pd-qty label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.qty-row { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-row button { width: 38px; height: 38px; border: none; background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty-row input { width: 56px; height: 38px; border: none; text-align: center; font-size: 15px; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 28px; }
.pd-features h4, .pd-detail h4 { font-size: 15px; margin-bottom: 10px; color: var(--dark); }
.pd-features ul { list-style: disc; padding-left: 18px; margin-bottom: 18px; }
.pd-features li { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.pd-detail p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* 购物车 */
.cart-item { display: grid; grid-template-columns: 90px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 90px; height: 68px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-main h4 { font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.cart-specs { color: var(--muted); font-size: 13px; }
.cart-price { color: var(--muted); font-size: 14px; }
.cart-sub { color: var(--brand); font-weight: 700; font-size: 16px; }
.cart-total { text-align: right; font-size: 20px; font-weight: 800; color: var(--dark); margin-top: 18px; }

/* 服务大厅印刷专区入口 */
.print-zone { background: linear-gradient(135deg, rgba(88,112,117,0.07), rgba(26,26,26,0.12)); border-radius: var(--radius); padding: 40px; margin-top: 36px; }
.print-zone-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.print-zone-head h3 { font-size: 22px; color: var(--dark); }
.print-zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.print-zone-card {
  background: #fff; border-radius: 12px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
  transition: all .2s;
}
.print-zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.print-zone-ico { width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.print-zone-card h4 { font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.print-zone-card p { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .print-grid { grid-template-columns: repeat(2, 1fr); }
  .print-detail { grid-template-columns: 1fr; }
  .print-zone-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-item { grid-template-columns: 80px 1fr auto; gap: 10px; }
  .cart-price, .cart-sub { text-align: right; }
}
@media (max-width: 560px) {
  .print-grid { grid-template-columns: 1fr; }
  .print-zone-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-actions { flex-direction: column; }
  .cart-item { grid-template-columns: 70px 1fr; }
}

/* ==================== 响应式 ==================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { height: 520px; }
  .hero-content { padding: 120px 20px 88px; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 560px) {
  .services-grid, .cases-grid, .adv-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .nav { display: none; }
  .brand-img { height: 36px; max-width: 170px; object-fit: contain; }
  .hero { height: 460px; }
  .hero-content { padding: 104px 18px 80px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
}

/* ============================================================
 * 服务大厅二级导航（4 板块互跳 + 当前高亮）
 * 用法：页面 body 顶部 <div id="header"></div> 之后放 <div id="hallNav"></div>，
 *      然后在脚本中调用 renderHallNav('products'|'print'|'cases'|'designer'|'')
 * ============================================================ */
/* 服务大厅二级导航：默认一级吸顶占 76px，二级 top:76px 在其下方吸顶 */
.hall-nav {
  position: -webkit-sticky; position: sticky; top: var(--header-h); z-index: 90;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 6px rgba(26,26,46,0.04);
}
/* 服务大厅页（body.no-sticky-header）：一级不吸顶，二级单独顶格吸顶 */
body.no-sticky-header #header { position: relative; }
body.no-sticky-header .hall-nav { top: 0; }
.hall-nav .container {
  display: flex; align-items: center; gap: 10px; height: 54px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
}
.hall-nav .container::-webkit-scrollbar { display: none; }
/* 「返回首页」胶囊按钮（特别化：home 图标 + 白底描边） */
.hall-nav .hn-home {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: all .2s;
}
.hall-nav .hn-home svg { display: block; }
.hall-nav .hn-home:hover { background: var(--brand-2); transform: translateY(-1px); }
/* 面包屑：分隔符 › + 当前页粗体（去掉中间的「服务大厅」层） */
.hall-nav .crumb-sep { color: #C6CDCF; margin: 0 4px; font-size: 14px; }
.hall-nav b { color: var(--dark); font-weight: 600; font-size: 14px; }
.hall-nav .hn-spacer { flex: 1; }
.hall-nav .hn-link {
  white-space: nowrap; padding: 7px 16px; border-radius: 30px; font-size: 14px;
  font-weight: 500; color: var(--ink); transition: all .2s;
}
.hall-nav .hn-link:hover { color: var(--brand); background: var(--bg-soft); }
.hall-nav .hn-link.active {
  background: var(--brand-grad); color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px rgba(26,26,26,0.22);
}
@media (max-width: 560px) {
  .hall-nav .container { height: 46px; }
  .hall-nav .crumb { display: none; }
  .hall-nav .hn-link { padding: 6px 12px; font-size: 13px; }
}

/* ============================================================
 * 报价锁定态（游客模式）
 * ============================================================ */
.prod-lock-tip {
  background: var(--bg-soft); border: 1px dashed var(--line); color: var(--muted);
  border-radius: 10px; padding: 10px 16px; font-size: 13px; margin: -22px 0 26px;
}
.prod-price.locked {
  color: var(--muted); font-weight: 600; font-size: 18px; cursor: pointer;
}
.prod-price.locked:hover { color: var(--brand); }

/* ============================================================
 * 登录弹窗（当前页免跳转）
 * ============================================================ */
.lmask {
  position: fixed; inset: 0; background: rgba(15,18,20,0.55); z-index: 9998;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(2px);
}
.lmodal {
  width: 100%; max-width: 420px; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.32); padding: 30px 30px 20px;
  position: relative; max-height: 92vh; overflow: auto;
}
.lm-close {
  position: absolute; top: 12px; right: 16px; border: none; background: none;
  font-size: 26px; line-height: 1; color: #9BA3A6; cursor: pointer;
}
.lm-close:hover { color: var(--dark); }
.lm-head { text-align: center; margin-bottom: 4px; }
.lm-head h3 { margin: 0 0 6px; color: var(--dark); }
.lm-head p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.lm-tabs {
  display: flex; background: var(--bg-soft); border-radius: 12px;
  padding: 4px; margin: 18px 0 16px;
}
.lm-tab {
  flex: 1; text-align: center; padding: 9px; border-radius: 9px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--muted); transition: all .2s;
}
.lm-tab.active { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.lm-form .field { margin-bottom: 14px; }
.lm-submit { width: 100%; }
.lm-agree {
  display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.7;
  margin: 10px 0 14px; cursor: pointer; color: var(--ink);
}
.lm-agree input { width: auto; margin-top: 3px; }
.lm-links { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.lm-links a { color: var(--brand); font-weight: 600; margin: 0 4px; }
.lm-guest {
  display: block; margin: 14px auto 0; border: none; background: none;
  color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline;
}
.lm-guest:hover { color: var(--brand); }

/* ===== 案例详情 · 项目详情文字板块（20260913 增强） ===== */
.cd-detail-block {
  margin-top: 24px; padding: 22px 24px;
  background: var(--bg-soft); border-radius: 14px;
  border-left: 3px solid var(--brand);
}
.cd-detail-label {
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--brand); margin-bottom: 12px;
}
.cd-desc { color: var(--ink); font-size: 15px; line-height: 2; white-space: normal; }
.cd-desc p { margin: 0 0 12px; }
.cd-desc p:last-child { margin-bottom: 0; }
.cd-desc-empty { color: var(--muted); }
.cd-date { margin-top: 20px; }
