/**
 * style.css  —  浙江辉弘文旅集团有限公司
 * 全站公共样式（从 index.html 提取 + 子页面扩展）
 * 设计令牌另见 design/tokens.css
 */

/* ══════════════════════════════════════
   0. CSS 变量（Design Tokens）
══════════════════════════════════════ */
:root {
  --orange:        #FF5C28;
  --orange-light:  #FF7A4D;
  --orange-pale:   #FFF0EB;
  --dark:          #1A1A1A;
  --dark-card:     #222222;
  --dark-2:        #2D2D2D;
  --navy:          #0F1B2D;
  --navy-2:        #162236;
  --white:         #FFFFFF;
  --gray:          #F5F5F5;
  --gray-2:        #F0F2F5;
  --gray-text:     #888888;
  --text:          #1A1A1A;
  --radius:        16px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.18);
}

/* ══════════════════════════════════════
   1. 全局重置
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ══════════════════════════════════════
   2. TOP BAR
══════════════════════════════════════ */
#topbar { background: var(--orange); color: rgba(255,255,255,0.85); font-size: 12px; padding: 7px 0; }
#topbar .inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
#topbar a { color: rgba(255,255,255,0.85); transition: color .2s; }
#topbar a:hover { color: var(--white); text-decoration: underline; }
#topbar .hotline { color: var(--white); font-weight: 900; }

/* ══════════════════════════════════════
   3. 导航栏 NAV
══════════════════════════════════════ */
#navbar { position: sticky; top: 0; z-index: 1000; padding: 0; background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,0.08); transition: background .3s; }
#navbar .inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-left, .nav-right { display: flex; gap: 4px; }
.nav-item > a { display: block; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 8px; transition: all .2s; white-space: nowrap; position: relative; }
.nav-item > a:hover, .nav-item.active > a { color: var(--orange); background: var(--orange-pale); }
.nav-item { position: relative; }

/* PC 端下拉菜单 */
/* top: 100% + padding-top 填满鼠标移动的空隙，消除 8px 断层导致的菜单消失 bug */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); background: var(--white); border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.12); border: 1px solid #F0F0F0; min-width: 150px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 300; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 16px 8px 8px; /* padding-top 16px 覆盖鼠标移动空隙 */ }
.dropdown.single { grid-template-columns: 1fr; }
.nav-item:hover .dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 8px 12px; font-size: 13px; color: var(--gray-text); border-radius: 6px; transition: all .2s; white-space: nowrap; }
.dropdown a:hover { background: var(--orange-pale); color: var(--orange); }

.navbar-brand { display: flex; align-items: center; gap: 12px; z-index: 1005; }
.brand-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: var(--white); font-family: 'Noto Serif SC', serif; }
.brand-text .t1 { font-size: 16px; font-weight: 700; color: var(--text); }
.brand-text .t2 { font-size: 11px; color: var(--gray-text); margin-top: 1px; }

/* 移动端菜单开关 */
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--orange); cursor: pointer; z-index: 1005; }

/* ══════════════════════════════════════
   4. 移动端抽屉导航
══════════════════════════════════════ */
.drawer-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 2000;
  opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: -260px;
  width: 260px; height: 100vh; background: var(--white);
  z-index: 2001; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 60px 20px 20px; box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-drawer.active { transform: translateX(-260px); }
.drawer-close { position: absolute; top: 15px; right: 20px; font-size: 28px; color: var(--gray-text); cursor: pointer; }
.drawer-nav-item { border-bottom: 1px solid #F0F0F0; }
.drawer-nav-item > a { display: block; padding: 15px 10px; font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; }
.drawer-nav-item > a:active, .drawer-nav-item > a.active { color: var(--orange); }

/* ══════════════════════════════════════
   5. HERO 主轮播
══════════════════════════════════════ */
#hero {
  position: relative; height: 600px;
  width: 100%; overflow: hidden; background: #000; display: block;
  padding: 0; margin: 0;
}
.hero-slides { display: flex; height: 100%; width: 100%; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); touch-action: pan-y; }
.hero-slide { flex: 0 0 100%; height: 100%; position: relative; background-size: 100% 100% !important; background-position: center center !important; background-repeat: no-repeat !important; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); }
.hero-content { position: absolute; left: 10%; top: 50%; transform: translateY(-50%); color: var(--white); max-width: 600px; z-index: 10; }
.hero-tag { display: inline-block; background: var(--orange); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; letter-spacing: 1px; margin-bottom: 20px; }
.hero-content h1 { font-family: 'Noto Serif SC', serif; font-size: 54px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-content h1 span { color: var(--orange); }
.hero-content .sub { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 30px; line-height: 1.7; }
.hero-badges { display: flex; gap: 20px; }
.hero-badge { text-align: center; color: rgba(255,255,255,.9); }
.hero-badge .icon-wrap { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,92,40,0.20); border: 1px solid rgba(255,92,40,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 20px; backdrop-filter: blur(4px); }
.hero-badge span { font-size: 12px; }

/* PC 端 Banner 表单 */
.hero-form { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); width: 300px; padding: 30px 25px; z-index: 20; max-height: 90%; overflow-y: auto; }
.hero-form h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.hero-form p { font-size: 12px; color: var(--gray-text); margin-bottom: 20px; }
.hero-form input, .hero-form select, .hero-form textarea { width: 100%; border: 1px solid #E8E8E8; border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; background: #FAFAFA; outline: none; font-family: inherit; }
.hero-form textarea { height: 80px; resize: none; }
.hero-form .btn-submit { width: 100%; background: var(--orange); color: var(--white); border: none; border-radius: 8px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: inherit; }
.hero-form .btn-submit:hover { background: var(--orange-light); }

/* Banner 控制 */
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 15; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.hero-dot.active { background: var(--orange); width: 30px; border-radius: 5px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: 0.3s; z-index: 10; }
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: calc(8% + 330px); }

/* ══════════════════════════════════════
   6. TICKER 跑马灯
══════════════════════════════════════ */
#ticker { background: var(--orange); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-track span { display: inline-block; padding: 0 40px; font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.ticker-sep { color: rgba(255,255,255,0.5); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════
   7. 公共 SECTION / 容器
══════════════════════════════════════ */
section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: 'Noto Serif SC', serif; font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.section-title span { color: var(--orange); }
.section-sub { font-size: 15px; color: var(--gray-text); max-width: 500px; margin: 0 auto; }
.section-divider { width: 48px; height: 3px; background: var(--orange); margin: 16px auto 0; border-radius: 2px; }

/* fade-up 动画 */
.fade-up { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   8. STATS 数据统计栏
══════════════════════════════════════ */
#stats { background: var(--white); padding: 50px 0; border-bottom: 1px solid #F0F0F0; }
.stats-row { display: flex; justify-content: space-between; }
.stat-item { flex: 1; text-align: center; border-right: 1px solid rgba(0,0,0,0.08); padding: 10px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 42px; font-weight: 900; color: var(--orange); font-family: 'Noto Serif SC', serif; }
.stat-label { font-size: 14px; color: var(--gray-text); margin-top: 5px; }

/* ══════════════════════════════════════
   9. PROJECTS 热门项目
══════════════════════════════════════ */
#projects { background: var(--gray-2); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: 0.3s; cursor: pointer; border: 1px solid rgba(0,0,0,0.05); }
.proj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.proj-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--gray); position: relative; }
.proj-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.proj-card:hover .img-wrap img { transform: scale(1.05); }
.proj-card .img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #FFF0EB, #FFD5C5); }
.proj-card .info { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.proj-card .info h4 { font-size: 16px; font-weight: 700; color: var(--text); }
.proj-card .info p { font-size: 13px; color: var(--gray-text); margin-top: 4px; }
.proj-card .info .arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: 0.2s; }
.proj-card:hover .info .arrow { background: var(--orange); color: var(--white); }

/* ══════════════════════════════════════
   10. BUSINESS 业务中心
══════════════════════════════════════ */
#business { background: #FFF5F0; }
#business .section-title { color: var(--text); }
#business .section-sub { color: var(--gray-text); }
.biz-tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #F0E8E4; }
.biz-tab-btn { padding: 8px 18px; font-size: 14px; color: var(--gray-text); background: var(--white); border: 1px solid #E8E0DC; border-radius: 6px; cursor: pointer; transition: 0.2s; white-space: nowrap; user-select: none; font-family: inherit; }
.biz-tab-btn:hover { background: var(--orange-pale); color: var(--orange); border-color: var(--orange-light); }
.biz-tab-btn.active { color: var(--white); background: var(--orange); border-color: var(--orange); box-shadow: 0 5px 15px rgba(255,92,40,0.3); }

.biz-content { display: grid; grid-template-columns: 1fr 280px; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid #F0E8E4; min-height: 350px; box-shadow: var(--shadow); }
.biz-detail { padding: 40px; border-right: 1px solid #F0E8E4; }
.biz-detail-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.biz-detail-icon { width: 60px; height: 60px; background: var(--orange-pale); border: 1px solid rgba(255,92,40,.3); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.biz-detail-name { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.biz-detail-en { font-size: 12px; color: var(--gray-text); text-transform: uppercase; letter-spacing: 1px; }
.biz-detail-desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 20px; }
.biz-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.biz-detail-tag { background: var(--orange-pale); border: 1px solid rgba(255,92,40,.3); color: var(--orange); font-size: 12px; padding: 5px 15px; border-radius: 20px; }
.biz-detail-btn { display: inline-flex; background: var(--orange); color: var(--white); padding: 12px 25px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; border: none; text-decoration: none; font-family: inherit; }
.biz-detail-btn:hover { background: var(--orange-light); transform: translateY(-2px); }

.biz-sub-panel { display: flex; flex-direction: column; background: #FFF8F5; }
.biz-sub-inner { padding: 30px 20px; flex: 1; overflow-y: auto; }
.biz-sub-title { font-size: 12px; color: var(--gray-text); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }
.biz-sub-list { display: flex; flex-direction: column; gap: 8px; }
.biz-sub-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; background: var(--white); border-radius: 8px; cursor: pointer; transition: 0.2s; border: 1px solid #F0E8E4; }
.biz-sub-item:hover { background: var(--orange-pale); border-color: rgba(255,92,40,.2); }
.biz-sub-icon { font-size: 18px; }
.biz-sub-name { font-size: 14px; color: var(--text); flex: 1; }
.biz-sub-item:hover .biz-sub-name { color: var(--orange); }
.biz-sub-arrow { color: var(--orange); opacity: 0; transition: 0.2s; }
.biz-sub-item:hover .biz-sub-arrow { opacity: 1; transform: translateX(3px); }

/* ══════════════════════════════════════
   11. ADVANTAGES 企业优势
══════════════════════════════════════ */
#advantages { background: var(--gray); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { background: var(--white); border-radius: var(--radius); padding: 40px 25px; text-align: center; box-shadow: var(--shadow); transition: 0.3s; position: relative; border-top: 3px solid transparent; }
.adv-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transition: 0.3s; }
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.adv-card:hover::after { transform: scaleX(1); }
.adv-num { font-size: 70px; font-weight: 900; color: rgba(255,92,40,0.05); font-family: 'Noto Serif SC'; line-height: 0.8; margin-bottom: -15px; }
.adv-icon { font-size: 45px; margin-bottom: 15px; }
.adv-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; }
.adv-desc { font-size: 14px; color: var(--gray-text); line-height: 1.8; }

/* ══════════════════════════════════════
   12. CASES 工程案例
══════════════════════════════════════ */
#cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid #f0f0f0; transition: 0.3s; cursor: pointer; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card .img-wrap { aspect-ratio: 4/3; background: #ffeae3; display: flex; align-items: center; justify-content: center; font-size: 40px; overflow: hidden; }
.case-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.case-card:hover .img-wrap img { transform: scale(1.05); }
.case-card .info { padding: 15px; text-align: center; font-size: 14px; font-weight: bold; color: var(--text); }

/* ── 工程案例横向自动滚动跑马灯 ── */
.cases-marquee { width: 100%; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
.cases-track { display: flex; gap: 20px; width: max-content; animation: cases-scroll 60s linear infinite; will-change: transform; }
.cases-track .case-card { flex: 0 0 280px; }
@keyframes cases-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .cases-track .case-card { flex: 0 0 220px; }
  .cases-track { animation-duration: 40s; }
}

/* ══════════════════════════════════════
   13. PROCESS 合作流程
══════════════════════════════════════ */
#process { background: linear-gradient(135deg, var(--orange) 0%, #FF8550 50%, var(--orange) 100%); }
#process .section-title { color: var(--white); }
#process .section-title span { color: var(--white); }
#process .section-tag { color: rgba(255,255,255,0.85); letter-spacing: 3px; }
#process .section-divider { background: rgba(255,255,255,0.5); }
#process .section-sub { color: rgba(255,255,255,.8); }
.process-steps { display: flex; position: relative; margin-top: 30px; gap: 0; }
.process-steps::before { content: ''; position: absolute; top: 34px; left: calc(100%/12); right: calc(100%/12); height: 2px; background: rgba(255,255,255,.35); z-index: 0; }
.process-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-circle { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; box-shadow: 0 0 20px rgba(0,0,0,0.1); transition: 0.3s; }
.process-step:hover .step-circle { background: var(--white); transform: scale(1.1); box-shadow: 0 0 30px rgba(0,0,0,0.15); }
.process-step h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.process-step p { font-size: 12px; color: rgba(255,255,255,.85); }

/* ══════════════════════════════════════
   14. CTA 行动召唤
══════════════════════════════════════ */
#cta { background: var(--orange); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; }
.cta-text h2 { font-family: 'Noto Serif SC'; font-size: 36px; color: var(--white); margin-bottom: 10px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,.8); }
.cta-right { display: flex; align-items: center; gap: 30px; }
.cta-tel { text-align: right; color: #fff; }
.cta-tel .num { font-size: 28px; font-weight: 900; }
.btn-cta { background: var(--white); color: var(--orange); padding: 15px 40px; border-radius: 50px; font-size: 16px; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; cursor: pointer; font-family: inherit; border: none; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

/* ══════════════════════════════════════
   15. TRUST & ABOUT
══════════════════════════════════════ */
#trust { padding: 40px 0; border-top: 1px solid #eee; display: flex; justify-content: space-between; text-align: center; }
.trust-item { flex: 1; border-right: 1px solid #eee; }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 36px; margin-bottom: 10px; }

#about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-family: 'Noto Serif SC'; font-size: 42px; margin-bottom: 20px; }
.about-text h2 span { color: var(--orange); }
.about-text p { font-size: 15px; color: var(--gray-text); line-height: 2; margin-bottom: 15px; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-img { border-radius: 10px; overflow: hidden; height: 180px; background: #ffeae3; display: flex; align-items: center; justify-content: center; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════
   16. HONORS 荣誉资质
══════════════════════════════════════ */
#honors { background: var(--gray-2); }
.honors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.honor-card { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid #F0F0F0; }
.honor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.honor-card .honor-img { aspect-ratio: 3/4; background: var(--gray); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.honor-card .honor-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.honor-card:hover .honor-img img { transform: scale(1.05); }
.honor-card .honor-img .honor-placeholder { font-size: 48px; }
.honor-card .honor-name { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--text); text-align: center; }

/* ══════════════════════════════════════
   17. FOOTER 页脚（无导航列版）
══════════════════════════════════════ */
#footer { background: #2A1506; color: rgba(255,255,255,.6); padding: 64px 0 0; }

/* 三栏：品牌介绍 | 联系方式 | 微信二维码 */
.footer-new {
  display: grid;
  grid-template-columns: 1.8fr 1.6fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  align-items: start;
}

/* 品牌列 */
.footer-brand-col .footer-brand .t1 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-brand-col .footer-brand span { color: var(--orange); }
.footer-tagline { font-size: 13px; color: var(--orange); font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.footer-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.5); }

/* 联系方式列 */
.footer-contact-col h4,
.footer-qr-col h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,92,40,.35);
  display: block;
}
.footer-tel-big { font-size: 22px; font-weight: 900; color: var(--orange); margin-bottom: 6px; }
.footer-tel-sub { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.footer-info-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.45);
  margin-bottom: 10px; line-height: 1.6;
}
.footer-info-row .fi { flex-shrink: 0; font-size: 14px; }

/* 二维码列 */
.footer-qr-col { display: flex; flex-direction: column; }
.footer-qr-img {
  width: 120px; height: 120px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,.12);
  object-fit: cover; display: block;
}
.footer-qr-label { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 10px; text-align: center; width: 120px; }

/* 底部备案栏 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: .2s; }
.footer-bottom a:hover { color: var(--orange); }

/* 响应式 */
@media (max-width: 1024px) {
  .footer-new { grid-template-columns: 1fr 1fr; }
  .footer-qr-col { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; }
  .footer-qr-col h4 { display: none; }
}
@media (max-width: 768px) {
  .footer-new { grid-template-columns: 1fr; gap: 30px; }
  .footer-qr-col { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════
   18. 右侧悬浮按钮
══════════════════════════════════════ */
#float-btns {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 999; display: flex; flex-direction: column; gap: 8px;
}
.float-btn {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--orange); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,92,40,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; font-family: inherit;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(255,92,40,0.55); }
.float-btn .f-icon { font-size: 22px; line-height: 1; }
.float-btn .f-label { font-size: 10px; font-weight: 600; margin-top: 3px; white-space: nowrap; }
.float-btn.dark { background: #2d2d2d; box-shadow: 0 4px 16px rgba(0,0,0,0.35); }
.float-btn.dark:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.5); }

/* 折叠控制 */
#float-toggle {
  width: 28px; height: 56px; position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 998; background: var(--orange); border-radius: 8px 0 0 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; font-size: 14px;
  box-shadow: -2px 0 10px rgba(255,92,40,0.3);
  transition: right 0.3s;
}
#float-btns.collapsed { right: -76px; }
#float-btns.collapsed + #float-toggle,
#float-toggle.collapsed { right: 0; }
#float-toggle:not(.collapsed) { right: 84px; }

/* ══════════════════════════════════════
   19. 弹窗 Modal
══════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 9999;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px; padding: 36px 32px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 320px; width: 90%; position: relative;
}
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 22px; color: #999; cursor: pointer; line-height: 1; background: none; border: none; }
.modal-tel-num { font-size: 28px; font-weight: 900; color: var(--orange); letter-spacing: 1px; }
.modal-qr { width: 200px; height: 200px; border-radius: 10px; border: 1px solid #eee; display: block; margin: 0 auto; }

/* ══════════════════════════════════════
   20. 子页面 Hero（页面顶部横幅）
══════════════════════════════════════ */
.page-hero {
  height: 280px; position: relative; overflow: hidden;
  background: var(--navy) center/cover no-repeat;
  display: flex; align-items: center;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero-content h1 { font-family: 'Noto Serif SC', serif; font-size: 42px; font-weight: 700; margin-bottom: 12px; }
.page-hero-content .page-sub { font-size: 15px; color: rgba(255,255,255,.75); }

/* 面包屑 */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--white); }

/* ══════════════════════════════════════
   21. 子页面通用内容区
══════════════════════════════════════ */
/* 关于我们 */
.about-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 60px 0; }
.about-page-text h2 { font-family: 'Noto Serif SC', serif; font-size: 36px; margin-bottom: 20px; color: var(--text); }
.about-page-text h2 span { color: var(--orange); }
.about-page-text p { font-size: 15px; color: #555; line-height: 2; margin-bottom: 16px; }
.about-page-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.about-stat-box { background: var(--orange-pale); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.about-stat-box .num { font-size: 36px; font-weight: 900; color: var(--orange); font-family: 'Noto Serif SC', serif; }
.about-stat-box .label { font-size: 13px; color: var(--gray-text); margin-top: 4px; }
.about-page-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-page-img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--gray); }
.about-page-img img { width: 100%; height: 100%; object-fit: cover; }

/* 联系页 */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 0; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-info-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.contact-info-text h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.contact-info-text p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid #F0F0F0; }
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; border: 1px solid #E8E8E8; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; font-family: inherit;
  margin-bottom: 14px; background: #FAFAFA; outline: none;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { height: 120px; resize: none; }
.contact-form .btn-submit { width: 100%; background: var(--orange); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: inherit; }
.contact-form .btn-submit:hover { background: var(--orange-light); }

/* 视频案例网格 */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: var(--dark); cursor: pointer; box-shadow: var(--shadow); transition: 0.3s; position: relative; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #111; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; opacity: 0.8; }
.video-card:hover .thumb img { transform: scale(1.05); opacity: 1; }
.video-card .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,92,40,0.85); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--white); transition: 0.3s; }
.video-card:hover .play-btn { background: var(--orange); transform: translate(-50%, -60%) scale(1.1); }
.video-card .v-title { padding: 12px; font-size: 13px; color: rgba(255,255,255,.8); text-align: center; }

/* 产品详情页 */
.product-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 60px 0 40px; }
.product-intro-text h2 { font-family: 'Noto Serif SC', serif; font-size: 34px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.product-intro-text h2 span { color: var(--orange); }
.product-intro-text p { font-size: 15px; color: #555; line-height: 2; margin-bottom: 14px; }
.product-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.product-feature-tag { background: var(--orange-pale); border: 1px solid rgba(255,92,40,.3); color: var(--orange); font-size: 13px; padding: 6px 16px; border-radius: 20px; }
.product-intro-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray); }
.product-intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* 产品案例网格 */
.product-cases { padding: 40px 0 80px; }
.product-cases h3 { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; margin-bottom: 30px; color: var(--text); }
.product-cases h3 span { color: var(--orange); }
.product-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-case-card { border-radius: var(--radius-sm); overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid #F0F0F0; transition: 0.3s; }
.product-case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-case-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--gray); }
.product-case-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.product-case-card:hover .img-wrap img { transform: scale(1.05); }
.product-case-card .card-info { padding: 14px 16px; }
.product-case-card .card-info h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.product-case-card .card-info p { font-size: 12px; color: var(--gray-text); }

/* 合作伙伴 */
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.partner-card { background: var(--white); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow); border: 1px solid #F0F0F0; display: flex; align-items: center; justify-content: center; aspect-ratio: 2/1; transition: 0.3s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-card img { max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(30%); transition: 0.3s; }
.partner-card:hover img { filter: none; }
.partner-text { font-size: 13px; font-weight: 600; color: var(--gray-text); text-align: center; }
.btn-outline { display: inline-block; padding: 12px 36px; border: 2px solid var(--orange); color: var(--orange); border-radius: 30px; font-size: 15px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn-outline:hover { background: var(--orange); color: #fff; }

/* 留言板 */
.message-form { max-width: 700px; margin: 60px auto; background: var(--white); border-radius: var(--radius); padding: 50px; box-shadow: var(--shadow); border: 1px solid #F0F0F0; }
.message-form h2 { font-family: 'Noto Serif SC', serif; font-size: 28px; margin-bottom: 8px; color: var(--text); }
.message-form .sub { font-size: 14px; color: var(--gray-text); margin-bottom: 32px; }
.message-form input,
.message-form textarea { width: 100%; border: 1px solid #E8E8E8; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-family: inherit; margin-bottom: 16px; background: #FAFAFA; outline: none; transition: border-color .2s; }
.message-form input:focus,
.message-form textarea:focus { border-color: var(--orange); }
.message-form textarea { height: 140px; resize: vertical; }
.message-form .btn-submit { width: 100%; background: var(--orange); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: inherit; }
.message-form .btn-submit:hover { background: var(--orange-light); }

/* 施工知识列表 */
.news-grid { display: grid; gap: 20px; }
.news-card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; background: var(--white); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow); border: 1px solid #F0F0F0; transition: 0.3s; cursor: pointer; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card .img-wrap { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--gray); }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.news-card:hover .img-wrap img { transform: scale(1.05); }
.news-card .card-body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; transition: 0.2s; }
.news-card:hover .card-body h3 { color: var(--orange); }
.news-card .card-body p { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.news-card .card-date { font-size: 12px; color: #aaa; margin-top: 12px; }

/* ══════════════════════════════════════
   22. 媒体查询（响应式）
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-left, .nav-right { display: none; }
  .mobile-toggle { display: block; }
  .hero-content { left: 5%; width: 90%; text-align: center; }
  .hero-form { display: none; }
  .hero-arrow { display: none; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; margin-bottom: 20px; border: none; }
  .proj-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .honors-grid { grid-template-columns: repeat(3, 1fr); }
  .biz-content { grid-template-columns: 1fr; }
  .biz-detail { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; gap: 30px; }
  /* 子页面 */
  .about-page-layout, .contact-layout, .product-intro { grid-template-columns: 1fr; gap: 30px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .product-case-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  #topbar { display: none; }
  #hero { height: 450px; padding: 0; }
  .hero-content h1 { font-size: 36px; }
  .hero-content .sub { font-size: 14px; }
  .hero-badges { justify-content: center; flex-wrap: wrap; }
  .proj-grid, .cases-grid, .adv-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-tab-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .biz-tab-bar::-webkit-scrollbar { display: none; }
  .biz-tab-btn { flex: 0 0 auto; }
  .process-steps { flex-direction: column; gap: 30px; margin-top: 40px; }
  .process-steps::before { left: 40px; top: 0; bottom: 0; width: 2px; height: 100%; }
  .process-step { display: flex; align-items: center; text-align: left; gap: 20px; }
  .step-circle { margin: 0; flex-shrink: 0; }
  #trust { flex-direction: column; gap: 30px; }
  .trust-item { border-right: none; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-col h4 { border-bottom: none; }
  /* 子页面 */
  .page-hero { height: 200px; }
  .page-hero-content h1 { font-size: 28px; }
  .video-grid { grid-template-columns: 1fr; }
  .product-case-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-card .img-wrap { aspect-ratio: 16/9; }
  .about-page-stats { grid-template-columns: 1fr 1fr; }
  /* 移动端悬浮按钮 */
  #float-btns { top: auto; bottom: 16px; right: 12px; transform: none; flex-direction: column; gap: 8px; }
  #float-btns.collapsed { right: -76px; }
  .float-btn { width: 52px; height: 52px; border-radius: 12px; }
  .float-btn .f-icon { font-size: 20px; }
  .float-btn .f-label { font-size: 9px; }
  #float-toggle { display: flex; top: auto; bottom: 132px; right: 72px; transform: none; }
  #float-btns.collapsed + #float-toggle { right: 0; }
}

/* ══════════════════════════════════════
   分页组件
══════════════════════════════════════ */
.pg-wrapper { text-align: center; margin-top: 48px; padding-bottom: 20px; }
.pg-info { font-size: 13px; color: var(--gray-text); margin-bottom: 14px; }
.pg-btns { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pg-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid #E8E8E8; border-radius: 8px;
  background: var(--white); color: var(--text);
  font-size: 14px; cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.pg-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.pg-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); font-weight: 700; }
.pg-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pg-ellipsis { line-height: 36px; color: var(--gray-text); font-size: 14px; }

/* 施工知识侧边栏布局 */
.news-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.news-sidebar { background: var(--gray); border-radius: 16px; padding: 20px; position: sticky; top: 90px; }
.news-sidebar h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.news-sidebar a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--gray-text); transition: all 0.2s; margin-bottom: 4px;
}
.news-sidebar a:hover,
.news-sidebar a.active { background: var(--orange); color: #fff; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  background: var(--white); border-radius: 12px;
  border: 1px solid #F0F0F0; overflow: hidden;
  transition: box-shadow 0.2s; text-decoration: none; color: inherit;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .img-wrap img { transform: scale(1.05); }
.news-card .info { padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-card .info h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.news-card .info .meta { font-size: 12px; color: var(--gray-text); }
.news-card .info .arrow { color: var(--orange); font-size: 18px; margin-top: 12px; }

@media (max-width: 960px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
}

/* ══════════════════════════════════════
   响应式网格（分页列表通用）
   内联样式无法被媒体查询覆盖，
   改用 .pg-grid class 统一管理
══════════════════════════════════════ */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ══════════════════════════════════════
   平板补丁 ≤768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* 分页网格：3列→2列 */
  .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* 新闻卡片（proj-card 风格）在 pg-grid 中的图片高度 */
  .pg-grid .proj-card .img-wrap { height: 160px; }

  /* 分页按钮触摸区域放大 */
  .pg-btn { min-width: 40px; height: 40px; font-size: 14px; }
  .pg-btns { gap: 4px; }

  /* 留言/表单内边距缩减 */
  .message-form { padding: 28px 20px; margin: 30px 16px; }
  .contact-form { padding: 24px 20px; }

  /* 子页面内容区竖向间距 */
  .about-page-layout { padding: 30px 0; }
  .contact-layout { padding: 30px 0; }
  .product-intro { padding: 30px 0 20px; }
  .product-cases { padding: 20px 0 50px; }

  /* Hero 字体 */
  .hero-content h1 { font-size: 32px; }

  /* 子页面 Hero */
  .page-hero { height: 180px; }
  .page-hero-content h1 { font-size: 26px; }

  /* CTA 区 */
  .cta-text h2 { font-size: 26px; }
  .cta-tel .num { font-size: 22px; }

  /* 工程案例跑马灯卡片 */
  .cases-track .case-card { flex: 0 0 200px; }

  /* 视频详情页侧边栏：转为下方 */
  .video-detail-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════
   手机补丁 ≤480px
══════════════════════════════════════ */
@media (max-width: 480px) {
  /* 容器内边距 */
  .container { padding: 0 14px; }

  /* 分页网格：2列→1列 */
  .pg-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Hero */
  #hero { height: 380px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content .sub { font-size: 13px; margin-bottom: 20px; }
  .hero-badges { gap: 12px; }
  .hero-badge .icon-wrap { width: 40px; height: 40px; font-size: 16px; }
  .hero-badge span { font-size: 11px; }

  /* Section 通用间距 */
  section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 13px; }

  /* 统计栏每项全宽 */
  .stat-item { flex: 0 0 100%; border-right: none; border-bottom: 1px solid #eee; padding-bottom: 16px; }
  .stat-item:last-child { border-bottom: none; }

  /* 项目卡片单列 */
  .proj-grid { grid-template-columns: 1fr; }

  /* 核心业务 Tab 横向滚动 */
  .biz-tab-bar { gap: 8px; }
  .biz-tab-btn { font-size: 13px; padding: 7px 14px; }

  /* 企业优势：2列保持，字号缩小 */
  .adv-card { padding: 24px 16px; }
  .adv-title { font-size: 15px; }
  .adv-desc { font-size: 13px; }

  /* 荣誉资质单列 */
  .honors-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* CTA */
  .cta-text h2 { font-size: 22px; }
  .btn-cta { padding: 12px 28px; font-size: 14px; }
  .cta-right { flex-direction: column; gap: 16px; }

  /* 子页面 Hero */
  .page-hero { height: 150px; }
  .page-hero-content h1 { font-size: 22px; }
  .page-hero-content .page-sub { font-size: 13px; }

  /* 关于页 */
  .about-page-layout { padding: 24px 0; gap: 20px; }
  .about-page-text h2 { font-size: 26px; }
  .about-page-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-stat-box .num { font-size: 28px; }

  /* 联系页 */
  .contact-layout { padding: 24px 0; gap: 20px; }
  .contact-form { padding: 20px 16px; }
  .contact-form h3 { font-size: 18px; }
  .message-form { padding: 22px 16px; margin: 20px 0; }

  /* 视频网格 2列（手机也能一眼看到多个） */
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* 产品详情页 */
  .product-intro { gap: 20px; padding: 20px 0; }
  .product-intro-text h2 { font-size: 24px; }
  .product-case-grid { grid-template-columns: 1fr; }

  /* 合作伙伴 */
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* 新闻卡片 */
  .news-card { padding: 12px; }
  .news-card .card-body h3 { font-size: 15px; }

  /* 分页组件 */
  .pg-btn { min-width: 36px; height: 38px; font-size: 13px; padding: 0 8px; }
  .pg-info { font-size: 12px; }

  /* 弹窗二维码图片缩小 */
  .modal-qr { width: 160px; height: 160px; }

  /* 页脚 */
  .footer-tel-big { font-size: 20px; }
  #footer { padding: 40px 0 0; }

  /* 工程案例流 */
  .cases-track .case-card { flex: 0 0 180px; }

  /* 悬浮按钮在超小屏更紧凑 */
  .float-btn { width: 46px; height: 46px; border-radius: 10px; }
  .float-btn .f-icon { font-size: 18px; }
  .float-btn .f-label { font-size: 9px; }
}

/* ══════════════════════════════════════
   浏览器兼容性补丁
══════════════════════════════════════ */
/* Safari flex gap 兼容 */
.hero-badges { gap: 20px; }
/* aspect-ratio 不支持时的兜底 */
@supports not (aspect-ratio: 1) {
  .video-card .thumb { padding-bottom: 56.25%; height: 0; position: relative; overflow: hidden; }
  .video-card .thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .proj-card .img-wrap { height: 200px; }
  .honor-card .honor-img { height: 240px; }
  .product-intro-img { height: 300px; }
}
/* iOS Safari 100vh 修正 */
#hero { min-height: -webkit-fill-available; }
/* 移动端点击高亮去除 */
a, button { -webkit-tap-highlight-color: transparent; }
/* 防止 iOS 表单元素自动缩放 */
input, select, textarea { font-size: 16px !important; }
@media (min-width: 769px) {
  input, select, textarea { font-size: 14px !important; }
}

/* ══════════════════════════════════════
   产品页/联系页 两栏布局
══════════════════════════════════════ */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .two-col-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .two-col-layout { gap: 20px; }
}

/* ══════════════════════════════════════
   详情页 主内容+侧边栏布局
══════════════════════════════════════ */
.detail-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .detail-sidebar-layout { grid-template-columns: 1fr; gap: 30px; }
  .video-detail-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}
@media (max-width: 768px) {
  .detail-sidebar-layout aside { order: -1; }
}
