/* 途鹿官网 · 全站共享（2026-09 视觉收口 — 对齐 logo 鲜红）
   语义纪律：
     红 = 品牌 / 可点击 / 强调
     绿 = 仅状态（完成、成功、0 事故），不做装饰
     墨 = 文字与深色面
     琥珀 = 星级 / 警示
   共享视觉（按钮 / CTA / 页脚 / 徽标 / 卡片）只在本文件定义，页面只写布局。 */
:root {
  /* type scale */
  --font-hero: 48px;
  --font-h2: 28px;
  --font-h3: 20px;
  --font-card: 18px;
  --font-body: 15px;
  --font-lead: 16px;
  --font-small: 13px;
  --font-xs: 12px;
  /* radius */
  --r-btn: 10px;
  --r-card: 14px;
  --r-media: 18px;
  --r-pill: 999px;
  /* space */
  --sp-section: 72px;
  --sp-card: 24px;
  /* 品牌红（对齐 logo） */
  --primary: #E23A2E;
  --primary-dark: #B8271C;
  --primary-soft: #F8D4D0;
  --primary-wash: #FCEDEC;
  --primary-on-dark: #FF8F86;
  /* 状态 — 仅表示完成/成功/正向 */
  --success: #1F9D55;
  --success-soft: #D9F2E4;
  /* 星级 / 警示 */
  --warn: #F59E0B;
  /* 中性 */
  --ink: #141B26;
  --dark: #141B26;
  --ink-700: #3D4A5C;
  --ink-600: #5F6E86;
  --gray: #6B7A8D;
  --gray-soft: #8B97A8;
  --light: #F6F8FA;
  --band: #F4F5F7;
  --card: #FFFFFF;
  --border: #E4E9EF;
  /* 兼容别名（历史调用点） */
  --red-400: var(--primary-dark);
  --red-50: var(--primary-wash);
  --ink-100: var(--light);
  /* 深色面：CTA 略浅、页脚最深，拉开上下层次 */
  --surface-cta: #1C2836;
  --surface-dark: #0F1520;
  --radius: 14px;
  --nav-h: 80px;
  --shadow: 0 10px 30px rgba(20, 27, 38, 0.08);
  --shadow-hover: 0 14px 36px rgba(20, 27, 38, 0.12);
  --overlay: rgba(20, 27, 38, 0.72);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── 双语 ─────────────────────────────────── */
.zh { display: inline; }
.en { display: none; }
body.lang-en .zh { display: none; }
body.lang-en .en { display: inline; }

.lang-switch {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  margin-left: 12px;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }

/* ── 导航 ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20,27,38,0.06);
  z-index: 1000;
  padding: 0 40px;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  font-size: 22px; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-right { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  background: none; border: none; font-size: 22px;
  color: var(--dark); cursor: pointer;
}
.nav-links {
  display: flex; gap: 22px; list-style: none; align-items: center; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--gray); font-size: 15.5px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.on { color: var(--primary); text-decoration: none; }


/* ── 导航下拉（全站共用，含服务支持） ────── */
.nav-dropdown { position: relative; }
.dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  opacity: .7;
  transition: transform .2s;
}
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -8px;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--primary);
  border-radius: var(--r-card);
  box-shadow: 0 16px 40px rgba(20,27,38,0.14);
  padding: 0;
  min-width: 480px;
  z-index: 100;
  list-style: none;
  overflow: hidden;
}
.dropdown-menu .dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dropdown-menu .dropdown-col {
  padding: 18px 8px 14px;
}
.dropdown-menu .dropdown-col + .dropdown-col {
  border-left: 1px solid var(--border);
}
.dropdown-menu .dropdown-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  margin: 0 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  border-radius: 8px;
}
.dropdown-menu li a:hover {
  background: var(--primary-wash);
  color: var(--primary);
  text-decoration: none;
}
.dropdown-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  cursor: default;
  pointer-events: none;
}
.dropdown-group-label::before {
  content: '';
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
body.lang-en .dropdown-group-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.dropdown-foot {
  display: block;
  margin: 0;
  padding: 12px 20px;
  background: var(--light);
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}
.dropdown-foot:hover {
  background: var(--primary-wash);
  color: var(--primary-dark);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: block; }
}

/* ── 按钮 ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  font-weight: 700; font-size: 15px;
  margin: 0 8px 8px 0;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-accent,
.nav-links a.nav-cta,
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--r-pill);
}
.btn-accent:hover,
.nav-links a.nav-cta:hover,
.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: none;
  text-decoration: underline;
  padding-left: 8px;
  padding-right: 8px;
}
/* 描边胶囊 + hover 填充（参考 feibot .btn_more） */
.btn-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--font-body);
  color: var(--dark);
  background: linear-gradient(to left, transparent 50%, var(--primary) 50%);
  background-position: right bottom;
  background-size: 200% 100%;
  transition: background-position .35s ease, color .35s ease;
  overflow: hidden;
}
.btn-more::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--border);
  border-radius: var(--r-pill);
  transition: border-color .35s ease;
}
.btn-more:hover {
  background-position: left bottom;
  color: #fff;
  text-decoration: none;
}
.btn-more:hover::before { border-color: var(--primary); }

/* 深色面上的次要按钮 */
.btn-cta-white,
.bottom-cta .btn,
.cta .btn,
.case-cta .btn {
  background: #fff;
  color: var(--primary);
}
.bottom-cta .btn:hover,
.cta .btn:hover,
.case-cta .btn:hover,
.btn-cta-white:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  text-decoration: none;
}

/* ── 页面壳 ───────────────────────────────── */
.page {
  padding-top: calc(var(--nav-h) + 28px);
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
  padding-bottom: 64px;
}

/* ── 区块节奏（参考 teoform：灰底分块 + 标签层级） ── */
.section-band {
  background: var(--band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* 灰底通栏：section 本身限宽，band 要满屏，内容再收回 1200 */
.section.section-band,
.news-section.section-band {
  max-width: none;
  width: 100%;
}
.section.section-band > *,
.news-section.section-band > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.25;
}
.section-desc {
  color: var(--gray);
  font-size: var(--font-card);
  margin-bottom: 48px;
  max-width: 720px;
  line-height: 1.75;
}

/* ── 徽标 ─────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--primary-wash);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}
/* 深底 SKU 码 */
.sku {
  display: inline-block;
  background: var(--ink);
  color: var(--primary-on-dark);
  font-size: var(--font-xs);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-btn);
  letter-spacing: .5px;
}
.case-badge {
  display: inline-block;
  background: var(--primary-wash);
  color: var(--primary);
  font-size: var(--font-small);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ── 卡片 ─────────────────────────────────── */
.product-card, .solution-card, .p-card, .rel-card, .case-card, .testimonial-card, .block {
  border-radius: var(--r-card);
}
.product-card, .solution-card, .p-card, .rel-card {
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
/* 浅灰填充卡（参考 feibot 产品/新闻卡） */
.card-fill {
  background: var(--band);
  border-color: transparent;
}
.card-fill:hover {
  background: var(--card);
  border-color: var(--primary-soft);
}
.product-card:hover, .solution-card:hover, .p-card:hover, .rel-card:hover {
  box-shadow: 0 15px 30px rgba(20, 27, 38, 0.10);
  border-color: var(--primary-soft);
  transform: translateY(-3px);
}
.product-card:hover h3,
.solution-card:hover h3,
.p-card:hover .n,
.rel-card:hover .n {
  color: var(--primary);
}

/* ── 里程碑条 ─────────────────────────────── */
.milestone-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}
.ms-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 14px 16px;
  font-size: var(--font-small);
  color: var(--gray);
}
.ms-item b {
  display: block;
  color: var(--primary);
  font-size: var(--font-h3);
  margin-bottom: 4px;
}

/* ── 底部 CTA（深色实底，全站统一） ───────── */
.bottom-cta,
.case-cta,
.cta {
  background: linear-gradient(145deg, #D4453C 0%, #B8352C 48%, #9C2C26 100%);
  color: #fff;
  border-radius: var(--r-media);
}
.bottom-cta h2,
.case-cta h2,
.cta h2 { color: #fff; }
.bottom-cta p,
.case-cta p,
.cta p {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
}
.phone a, .bottom-cta .phone a { color: #fff; }

/* ── 表单（深色面 · 轻量预约条） ───────────── */
.form-submit {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: var(--r-pill);
  font-weight: 800;
  cursor: pointer;
  padding: 12px 22px;
}
.form-submit:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.cta-banner .form-input {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-banner .form-input::placeholder { color: rgba(255,255,255,0.55); }

/* ── 页脚（三段式，参考 teoform） ────────────
   f1 链接+联系 | f2 社交/品牌 | f3 版权条 */
.footer {
  background: #2F3338;
  color: #8A9198;
  font-size: 14px;
}
.footer a {
  color: #8A9198;
  text-decoration: none;
}
.footer a:hover { color: #E8EAEC; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer h4 {
  color: #B8BFC6;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-main {
  padding: 40px 0 28px;
}
.footer-main .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  flex: 1 1 520px;
}
.footer-col {
  min-width: 120px;
}
.footer-col p {
  margin: 0;
  line-height: 2.1;
  font-size: 14px;
}
.footer-contact {
  flex: 0 1 300px;
  min-width: 240px;
}
.footer-contact p {
  margin: 0;
  line-height: 2.1;
}
.footer-social {
  border-top: 1px solid #3A3F45;
  border-bottom: 1px solid #3A3F45;
  padding: 22px 0;
}
.footer-social .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.social-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-item img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  display: block;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
}
.social-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.social-item p {
  margin: 0;
  line-height: 1.7;
  font-size: 13px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}
.footer-brand .brand-name {
  color: #E8EAEC;
  font-size: 16px;
  font-weight: 800;
}
.footer-brand .brand-tag {
  color: #8A9198;
  font-size: 13px;
  margin-top: 2px;
}
.footer-copy {
  background: #24282C;
  padding: 16px 0;
}
.footer-copy .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6E767E;
  line-height: 1.8;
}
.footer-copy a { color: #6E767E; }
.footer-copy a:hover { color: #B8BFC6; }
.footer-copy .fb-brand {
  color: #9AA1A8;
  font-weight: 600;
}

/* 旧的单行页脚（保留兼容） */
.page-footer {
  color: var(--ink-600);
  font-size: 14px;
  background: transparent;
  text-align: center;
}
.page-footer a { color: var(--ink-600); }

@media (max-width: 860px) {
  .footer-main .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-inner { padding: 0 20px; }
  .footer-main { padding: 28px 0 20px; }
  .footer-cols { gap: 20px 28px; }
}

/* ── 品牌红渐变（卡片艺术 / 方案 hero） ───── */
.grad-brand {
  background: linear-gradient(145deg, #E23A2E 0%, #B8271C 55%, #141B26 100%);
  color: #fff;
}

/* ── 移动端吸底 CTA ───────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: var(--font-body);
  box-shadow: 0 10px 30px rgba(20,27,38,.18);
}
.sticky-cta:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

/* ── 移动端通用 ───────────────────────────── */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec, .spec table { min-width: 480px; }

/* ── 移动端（全站强约束，覆盖页面内联/多列网格） ── */
@media (max-width: 900px) {
  .navbar { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none !important;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    width: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 16px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { display: flex !important; }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  /* 不要给 .nav-right 加 position:relative —— 会让绝对定位菜单只在按钮栏宽度内 */
  .nav-right { z-index: 1001; }
  .nav-links a { display: block; padding: 12px 8px; }
  .nav-links a.nav-cta {
    display: block;
    text-align: center;
    margin-top: 8px;
  }
  /* 下拉 mega：手机单栏；触屏禁用 hover 粘滞 */
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: none !important; }
  .nav-dropdown.open .dropdown-menu { display: block !important; }
  .dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu .dropdown-cols {
    grid-template-columns: 1fr !important;
  }
  .dropdown-menu .dropdown-col + .dropdown-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .dropdown-menu li a,
  .dropdown-menu .dropdown-col a {
    margin: 0;
    border-radius: 0;
    padding: 10px 12px;
    white-space: normal;
  }
  .dropdown-foot { text-align: left; border-radius: 0; }

  .page { padding-top: calc(var(--nav-h) + 16px); }
  .sticky-cta { display: block; }
  body { padding-bottom: 72px; }
  .milestone-strip { grid-template-columns: repeat(2, 1fr) !important; }

  /* 预约条 / CTA */
  .cta-banner, .bottom-cta, .case-cta, .cta { padding-left: 20px; padding-right: 20px; }
  .cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: left;
  }
  .cta-open { width: 100%; }
  .modal-backdrop { padding: 12px; align-items: flex-end; }
  .modal {
    max-width: none;
    border-radius: 18px 18px 12px 12px;
    padding: 24px 18px 18px;
    max-height: 92vh;
    overflow-y: auto;
  }

  /* 页脚 */
  .footer-main .footer-inner { flex-direction: column; }
  .footer-social .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  h1, .page-title { font-size: 26px; }
  h2, .section h2, .cta-banner h2, .section-title { font-size: 24px; }
  .lead, .page-lead { font-size: 15px; }
  .block, .case-block { padding: 20px 16px; }
  .section { padding: 48px 18px; }
  .news-section { padding: 48px 18px; }
  .page { padding-top: calc(var(--nav-h) + 16px); padding-left: 16px; padding-right: 16px; }

  /* 多列一律单列（含内联 grid 的常见容器） */
  .hero-grid, .tabs, .scenes, .related, .combo, .biz, .case-row,
  .team-grid, .scope-grid, .featured-products, .pricing-tiers,
  .case-gallery, .gal-grid, .pain, .gain, .p-grid, .client-grid,
  .footer-cols, .form-row, .dash-body, .news-grid, .stats-row,
  .solution-grid, .product-grid, .testimonial-grid, .adv-shots {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 12px !important;
  }
  .footer-cols { gap: 20px !important; }
  .stats-row { display: flex !important; flex-direction: column; gap: 20px !important; }

  .btn { width: 100%; margin-right: 0; }
  .bottom-cta .btn, .cta .btn, .case-cta .btn, .cta-open {
    width: 100%;
    min-width: 0;
  }

  .pricing-strip { padding: 22px 14px; }
  .price-amount { font-size: 18px; }
  .case-featured { grid-template-columns: 1fr !important; }
  .case-featured-visual { min-height: 180px; }
  .hero-art img, .hero-art { min-height: 200px; }
  .hero-inner { padding: 72px 18px 56px; }
  .hero h1 { font-size: 32px; }

  .footer-main { padding: 28px 0 20px; }
  .footer { }
  .social-item { align-items: flex-start; }
  .social-item img { width: 64px; height: 64px; }

  /* 可点击目标与文字 */
  .nav-links a, .btn, .btn-more, .cta-open, .form-submit {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sticky-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    left: 12px;
    right: 12px;
    width: auto;
    min-height: 48px;
    box-sizing: border-box;
    padding: 14px 12px;
  }
  .news-list-item { flex-direction: column; }
  .news-list-item .item-image { width: 100%; max-height: 200px; }
  table { font-size: 13px; }
  .spec, .spec table { min-width: 0; width: 100%; }
  .spec { display: block; overflow-x: auto; }
  html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
  body { overflow-x: hidden; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .featured-products,
  .pricing-tiers,
  .scenes,
  .related,
  .combo,
  .team-grid,
  .gal-grid,
  .case-gallery,
  .p-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
  }
}


/* 桌面精确指针：hover 展开下拉（触屏不粘滞） */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: block; }
}
