/* =========================================================
   深圳礼信礼品 · 全站样式
   配色（改这里即可全站换色，Tailwind 配置需同步）：
   主色 #594236  标题 #222222  辅助 #666666
   背景 #F8F8F8  卡片 #FFFFFF  边框 #E5E1DD  点缀 #C8A96E
   字体：英文 Inter，中文思源黑体 / 苹方
   圆角：8px    动效：轻微上浮，禁止花哨特效
   ========================================================= */

:root {
  --primary: #594236;
  --ink: #222222;
  --muted: #666666;
  --page: #f8f8f8;
  --card: #ffffff;
  --line: #e5e1dd;
  --gold: #c8a96e;
  --radius: 8px;
  --topbar-h: 64px;
  --nav-h: 72px;
  --header-h: 136px;
  --nav-break: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 15px;
}

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

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

button, input, select, textarea { font-family: inherit; }

/* 页面内容宽度与留白 */
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section-tight { padding: 56px 0 72px; }

.section-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.section-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 14px;
  background: var(--gold);
}

.lead {
  margin: 14px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

/* 首页首屏：3072×1410 高清图完整显示，页面按比例缩小，不裁切 */
.hero {
  position: relative;
  display: block;
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: #f7f4ef;
}

.hero-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: 5.6%;
  bottom: 7%;
  top: auto;
  max-width: none;
}

.hero .btn-row { margin-top: 0; }

.hero-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.block { padding: 72px 0; }
.band { background: #fff; }

.hero-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero-sub {
  margin: 14px 0 0;
  color: #3f322c;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.hero-desc {
  margin: 16px 0 0;
  max-width: 480px;
  color: #4a403b;
}

.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

@media (max-width: 800px) {
  .hero {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background: #f3e6d4;
    padding: 0 0 20px;
  }
  .hero-bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    order: 1;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    order: 2;
    width: min(1120px, calc(100% - 40px));
    margin: 16px auto 0;
  }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .block { padding: 52px 0; }
}

/* ---------- 顶部导航 ---------- */
/* 导航底色参考首页方案：暖深咖 #67544D，文字浅色 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #67544d;
  border-bottom: none;
}

/* 导航上方右侧：白底电话条，比导航内容更宽 */
.topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  width: min(1440px, calc(100% - 48px));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.topbar-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.topbar-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.topbar-phone-label {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.topbar-phone a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-phone strong {
  margin-left: 0;
  color: var(--gold);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.topbar-phone:hover,
.topbar-phone:hover strong,
.topbar-phone a:hover,
.topbar-phone a:hover strong { color: #dfc48a; }

/* 首页抬头预览：左标识、中说明、右定位，电话仍在最右 */
.site-header.has-banner {
  height: auto;
  --header-h: 168px;
}

.topbar.topbar-rich {
  height: auto;
  min-height: 96px;
  padding: 14px 0 12px;
}

.topbar.topbar-rich .wrap {
  align-items: center;
  gap: 28px;
}

.topbar-lead {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  flex: none;
}

.topbar-brand {
  display: flex;
  align-items: center;
  flex: none;
  margin-left: 0;
}

.topbar-brand img {
  height: 58px;
  width: auto;
  display: block;
}

.topbar-brand strong {
  display: block;
  color: #222;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.topbar-brand em {
  display: block;
  margin-top: 4px;
  color: #888;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.topbar-mid {
  flex: none;
  text-align: left;
}

.topbar-mid strong {
  display: block;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.topbar-mid span {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 14px;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.topbar-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-left: auto;
}

.topbar-side span {
  color: #8a3a42;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border-bottom: 1px solid #8a3a42;
  padding-bottom: 3px;
}

.topbar.topbar-rich .topbar-phone {
  flex: none;
  font-size: 14px;
}

.topbar.topbar-rich .topbar-phone strong {
  font-size: 28px;
}

@media (max-width: 1100px) {
  .topbar-mid { display: none; }
  .topbar-lead { margin-left: 0; }
  .topbar-brand { margin-left: 24px; }
  .topbar-side span { font-size: 14px; }
  .topbar.topbar-rich .topbar-phone strong { font-size: 24px; }
}

@media (max-width: 800px) {
  .topbar-side { display: none; }
  .topbar-brand { margin-left: 8px; }
  .topbar.topbar-rich .topbar-phone { font-size: 12px; letter-spacing: 0.02em; }
  .topbar.topbar-rich .topbar-phone strong { font-size: 20px; }
  .site-header.has-banner { --header-h: 148px; }
}

.nav-bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}


.brand strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
}

.brand em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: #fff;
}

.main-nav { display: none; }

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: #67544d;
  border-bottom: none;
  padding: 8px 20px 18px;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
  z-index: 40;
}

.nav-link,
.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-drop-btn:hover,
.nav-link.is-active,
.nav-drop-btn.is-active {
  align-self: flex-start;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  font-weight: 500;
}

/* 首页保持普通文字；联系我们固定为贴字的金色椭圆 */
.nav-link[href$="index.html"]:hover,
.nav-link[href$="index.html"].is-active {
  align-self: stretch;
  height: auto;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.nav-link[href$="contact.html"] {
  align-self: flex-start;
  height: 32px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 500;
}

/* 在线询价：最初的椭圆，点缀金 #C8A96E */
.nav-link[href$="inquiry.html"] {
  align-self: flex-start;
  min-height: 32px;
  margin: 4px 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4a3828;
  background: var(--gold);
  background-image: none;
  background-size: 100% 100%;
  background-position: center;
}

.nav-link[href$="inquiry.html"]:hover {
  color: #3a2c22;
}

@media (min-width: 1180px) {
  .nav-link:hover,
  .nav-drop-btn:hover,
  .nav-link.is-active,
  .nav-drop-btn.is-active {
    align-self: center;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
  }

  .nav-link[href$="inquiry.html"] {
    align-self: center;
    min-height: 34px;
    margin: 0 4px 0 8px;
    background-size: 100% 100%;
    background-position: center;
  }
}

.nav-drop-btn::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-panel { display: none; padding: 0 8px 8px 16px; }

.nav-drop.is-open .nav-panel { display: grid; }

.nav-panel a {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.nav-panel a.is-active,
.nav-panel a:hover { color: var(--primary); }

.main-nav.is-open .nav-panel a { color: rgba(255, 255, 255, 0.82); }
.main-nav.is-open .nav-panel a:hover,
.main-nav.is-open .nav-panel a.is-active { color: #fff; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }

  .main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 36px;
  }

  .nav-link,
  .nav-drop-btn {
    min-height: 72px;
    padding: 0 2px;
    font-size: 14px;
  }

  .nav-drop { position: relative; }

  .nav-panel {
    display: grid;
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    min-width: 188px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 10px 28px rgba(34, 34, 34, 0.06);
  }

  .nav-drop:hover .nav-panel,
  .nav-drop:focus-within .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-panel a { padding: 0 10px; border-radius: 6px; }
  .nav-panel a:hover { background: var(--page); }

  .nav-link:hover,
  .nav-drop-btn:hover,
  .nav-drop:hover .nav-drop-btn,
  .nav-link.is-active,
  .nav-drop-btn.is-active {
    align-self: center;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
  }

  .nav-link[href$="index.html"]:hover,
  .nav-link[href$="index.html"].is-active {
    align-self: center;
    height: auto;
    min-height: 72px;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
  }

  .nav-link[href$="contact.html"],
  .nav-link[href$="contact.html"]:hover,
  .nav-link[href$="contact.html"].is-active {
    align-self: center;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-weight: 500;
  }
}

/* ---------- 按钮 / 卡片 ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

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

/* 首页主按钮保持最初椭圆：深咖实心 + 白底描边 */
.hero .btn { border-radius: 999px; padding: 0 26px; }

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

.lift-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(89, 66, 54, 0.08);
}

.media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee;
}

.media-wide { aspect-ratio: 16 / 9; }

/* 产品 / 案例展示栏：桌面一行 4 张，一页正好三排，图片加大 */
.show-grid {
  display: grid;
  gap: 28px 20px;
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.show-card .media { aspect-ratio: 1 / 1; }

.show-card .card-body { padding: 16px 18px 20px; }

.show-card h3 {
  font-size: 16px;
  letter-spacing: 0.06em;
}

.show-card p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.biz-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.biz-card h3 {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.page-nav {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.page-nav a.is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

@media (min-width: 1200px) {
  .block:has(.show-grid) > .wrap {
    width: min(1320px, calc(100% - 72px));
  }

  .show-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 28px;
  }
}

.card-body { padding: 18px 18px 20px; }

.card-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.card-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- 内页 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.crumb a:hover { color: var(--primary); }

.page-title {
  margin: 18px 0 0;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 16px;
  background: var(--gold);
}

/* 资讯中心：六篇图文 */
.geo-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.geo-article {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.geo-article img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.geo-body { padding: 26px 24px 28px; }

.geo-body h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.geo-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.geo-body p:last-child { margin-bottom: 0; }

.geo-body a {
  color: var(--primary);
  border-bottom: 1px solid var(--gold);
}

.geo-body a.btn { border-bottom: 0; }
.geo-body a.btn-primary { color: #fff; }
.geo-body a.btn-line { color: var(--primary); }

@media (min-width: 900px) {
  .geo-article { grid-template-columns: 340px minmax(0, 1fr); }
  .geo-article img { aspect-ratio: auto; min-height: 100%; }
  .geo-article.is-flip { grid-template-columns: minmax(0, 1fr) 340px; }
  .geo-article.is-flip img { order: 2; }
  .geo-body { padding: 32px 36px; }
}

/* 资讯中心配图：方图完整显示，不裁切 */
.geo-list .geo-article img {
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: #f7f4ef;
}

.geo-article img.consult-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #f3efe9;
  min-height: 0;
  height: auto;
}

.spec-list { list-style: none; margin: 28px 0 0; padding: 0; }

.spec-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  display: block;
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.spec-list p { margin: 4px 0 0; color: var(--ink); }

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.icon-badge {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.icon-badge svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.section-head { text-align: center; }
.section-head .section-title::after { margin-left: auto; margin-right: auto; }
.section-head .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

.service-row {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 28px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-row li { text-align: center; }

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.service-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.service-num {
  display: block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.service-num span { font-size: 28px; }

.service-num small {
  margin-left: 4px;
  font-size: 18px;
  font-weight: 600;
}

.service-row h3 {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.partner-band { background: #f3f1ef; overflow: hidden; }

.partner-en {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.logo-marquee { margin-top: 36px; overflow: hidden; }

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}

.logo-marquee:hover .logo-track { animation-play-state: paused; }

.logo-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.logo-card {
  width: 210px;
  height: 84px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.logo-card svg { width: 168px; height: 46px; display: block; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-products,
.home-cases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-products .media { aspect-ratio: 1 / 1; }

.home-featured {
  grid-template-columns: 1fr;
  gap: 28px 22px;
}

.block:has(.home-featured) > .wrap {
  width: min(1180px, calc(100% - 48px));
}

.home-featured .media {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.home-featured .feat-photo { display: block; }

.home-featured .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.home-featured h3 {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.feat-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.feat-btn:hover { background: #b89558; color: #fff; }

@media (min-width: 760px) {
  .home-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .service-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .home-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* 定制流程时间线：桌面横排，窄屏竖排 */
.process-line {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.process-line li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  position: relative;
}

.process-line .step-no {
  display: block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.process-line h3 { margin: 8px 0 0; font-size: 16px; font-weight: 600; }
.process-line p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

@media (min-width: 900px) {
  .process-line {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .process-line li { padding-top: 22px; }

  .process-line li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: var(--gold);
  }
}

/* ---------- 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; }

.field span { font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }

.field .opt { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); }

/* ---------- 弹窗 ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(34, 34, 34, 0.28);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open { display: flex; }

.modal-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.modal-card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.modal-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.modal-card .btn { margin-top: 22px; }

/* 右侧悬浮询价 */
.float-inquiry {
  position: fixed;
  right: 16px;
  top: 46%;
  z-index: 35;
  writing-mode: vertical-rl;
  background: var(--primary);
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 14px;
  padding: 16px 11px;
  border-radius: var(--radius);
}

.float-inquiry:hover { background: #463429; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #67544d;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 169, 110, 0.7);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-footer p {
  margin: 0;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.9;
}

.site-footer li { font-size: 13px; line-height: 2; }

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

.footer-phones {
  white-space: nowrap;
}

.footer-phones a {
  white-space: nowrap;
}

.footer-wechat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wechat-qrs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 0;
  line-height: 0;
}

.wechat-qrs img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  background: #fff;
  padding: 1px;
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.spec-list .wechat-qrs {
  margin-top: 10px;
}

.site-footer a:hover { color: var(--gold); }

.footer-label {
  margin: 14px 0 2px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.footer-copy {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin-left: 10px;
}

.footer-copy a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 240px minmax(0, 1fr) minmax(340px, 400px);
    gap: 28px 40px;
  }

  /* 快速导航两列，与顶部 8 项一致，每列 4 个 */
  .footer-grid > div:nth-child(2) ul {
    columns: 2;
    column-gap: 48px;
  }

  .footer-grid > div:nth-child(2) li { break-inside: avoid; }

  .footer-grid > div:nth-child(2) li:nth-child(5) { break-before: column; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .page-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .topbar-phone { font-size: 12px; }
  .topbar-phone strong { font-size: 20px; }
  .topbar-logo img { height: 36px; }
  .float-inquiry { top: auto; bottom: 18px; writing-mode: horizontal-tb; letter-spacing: 0.08em; padding: 10px 14px; }
}

/* Tailwind 未加载时，仍保持栅格与间距 */
.grid { display: grid; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.items-center { align-items: center; }
.items-start { align-items: start; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-\[0\.8fr_1\.2fr\] { grid-template-columns: 0.8fr 1.2fr; }
  .lg\:items-start { align-items: start; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:order-2 { order: 2; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .lift-card,
  .btn,
  .nav-panel { transition: none; }
  .lift-card:hover { transform: none; }
}
