/* ==========================================================================
   汽车 / 实业制造类 GEO 官网 · 前台样式系统
   版式参考：传统商用车企业官网范式（深蓝主色 + 红色点缀 + 影像驱动）
   设计令牌（色 / 字 / 距）全部来自对目标站的实测，非臆造
   ========================================================================== */

/* ------------------------------ 1. 设计令牌 ------------------------------ */
:root{
  /* 色 */
  --brand-blue:#114c80;      /* 主色：Tab 激活 / 按钮描边 / 标签底 / hover 填充 */
  --brand-red:#c6142c;       /* 强调色：导航激活 / 下拉顶条 / 悬浮栏 hover */
  --text:#232323;
  --text-2:#323232;
  --muted:#777;
  --muted-2:#999;
  --line:#afafaf;
  --divider:#cccccc;
  --bg-light:#f1f1f1;
  --bg-page:#ffffff;
  --footer-bg:#303030;
  --footer-title:#e0e0e0;
  --nav-grad:radial-gradient(ellipse at top left,rgba(33,45,83,1) 0%,rgba(55,75,138,1) 57%);

  /* 尺寸 */
  --container:1280px;
  --header-h:94px;

  /* 动效 */
  --ease:all .5s ease 0s;
  --ease-slow:all .8s ease 0s;

  /* 字体栈：中文思源黑体优先 */
  --font-cn:"Source Han Sans CN","Noto Sans SC","Microsoft YaHei","PingFang SC",
            "Hiragino Sans GB","Heiti SC","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-en:Arial,Helvetica,sans-serif;
  --font-num:"Bebas Neue","Oswald",Impact,Arial,sans-serif;
}

/* ------------------------------ 2. 基础重置 ------------------------------ */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font:400 14px/1.6 var(--font-cn);
  color:var(--text);
  background:var(--bg-page);
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,p,ul,ol,figure{margin:0;}
ul,ol{padding:0;list-style:none;}
img,video{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;transition:var(--ease);}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
/* 无障碍：保留焦点可见（原站 outline:none，键盘用户无法定位） */
:focus-visible{outline:2px solid var(--brand-red);outline-offset:2px;}

.container{width:var(--container);max-width:100%;margin-inline:auto;padding-inline:20px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* 区块节奏：大标题 → 短距 → 英文副标 → 超长距(100px) → 内容 */
.section{padding:60px 0 0;}
.section-title{font-size:40px;line-height:1.1;font-weight:700;text-align:center;margin:0 0 30px;}
.section-subtitle{font:500 14px/1.1 var(--font-en);text-transform:uppercase;
  letter-spacing:.08em;text-align:center;margin-bottom:100px;color:var(--text);}
.section-subtitle span{position:relative;display:inline-block;}
.section-subtitle span::after{content:"";position:absolute;left:30px;right:30px;bottom:-10px;
  height:1px;background:var(--line);}

/* ------------------------------ 3. 顶栏 ------------------------------ */
.site-header{
  position:fixed;inset:0 0 auto;z-index:1000;
  background:rgba(255,255,255,.1);
  transition:var(--ease);
}
.site-header:hover,
.site-header.is-stuck{background:#fff;}
.site-header.is-stuck{box-shadow:0 0 5px #888;}
.header-inner{display:flex;align-items:center;height:var(--header-h);position:relative;}

/* 双 Logo 切换：默认白版（深底可见）→ hover/stuck 彩版。用透明度叠加避免首屏闪烁 */
.brand{position:relative;flex:0 0 200px;height:56px;margin-right:auto;}
.brand img{position:absolute;inset:0;height:56px;width:auto;transition:opacity .5s ease;}
.brand img:nth-child(1){opacity:1;}
.brand img:nth-child(2){opacity:0;}
.site-header:hover .brand img:nth-child(1),
.site-header.is-stuck .brand img:nth-child(1){opacity:0;}
.site-header:hover .brand img:nth-child(2),
.site-header.is-stuck .brand img:nth-child(2){opacity:1;}

.main-nav{flex:1 1 auto;display:flex;justify-content:center;}
.main-nav>ul{display:flex;width:100%;max-width:900px;}
.main-nav>ul>li{flex:1 1 0;text-align:center;}
.main-nav>ul>li>a{
  display:block;height:var(--header-h);line-height:var(--header-h);
  font-size:15px;font-weight:400;color:#fff;position:relative;
}
.site-header:hover .main-nav>ul>li>a,
.site-header.is-stuck .main-nav>ul>li>a{color:var(--text);}
.main-nav>ul>li.is-current>a{background:var(--brand-red);color:#fff;}
.main-nav>ul>li>a:hover{color:var(--brand-red);}
.main-nav>ul>li.is-current>a:hover{color:#fff;background:var(--brand-red);}

/* 搜索入口 */
.header-search{position:absolute;top:0;right:20px;width:60px;text-align:center;}
.header-search a{display:block;height:var(--header-h);line-height:var(--header-h);
  font-size:20px;color:#fff;}
.site-header:hover .header-search a,
.site-header.is-stuck .header-search a{color:var(--text);}
.header-search a:hover{color:var(--brand-red);}

/* 二级下拉 */
.has-mega{position:relative;}
.sub-menu{
  position:absolute;left:-20px;top:var(--header-h);min-width:150px;padding:10px 0;
  background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.12);text-align:left;z-index:20;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
}
.has-mega:hover .sub-menu,
.has-mega:focus-within .sub-menu{opacity:1;visibility:visible;transform:translateY(0);}
.sub-menu::before{content:"";position:absolute;top:0;left:0;height:3px;width:100%;background:var(--brand-red);}
.sub-menu a{display:block;height:auto;line-height:1.6;padding:9px 22px;font-size:13px;color:var(--text-2);}
.sub-menu a:hover{background:#f5f5f5;color:var(--brand-red);}

/* 车型超大浮层 */
.mega{
  position:absolute;left:50%;top:var(--header-h);width:100vw;margin-left:-50vw;
  background:var(--nav-grad);color:#fff;z-index:15;
  opacity:0;visibility:hidden;transform:scaleY(.96);transform-origin:top center;
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega{opacity:1;visibility:visible;transform:scaleY(1);}
.mega-inner{position:relative;padding:40px 20px 44px;}
.mega-groups{position:absolute;top:40px;bottom:44px;left:20px;width:20%;
  border-right:1px solid rgba(205,205,205,.11);}
.mega-groups a{display:inline-block;min-width:78px;height:40px;line-height:40px;
  font:400 20px var(--font-en);color:#a1a1a1;position:relative;}
.mega-groups a:hover,.mega-groups a.is-current{color:#fff;}
.mega-groups a.is-current::after{content:"";position:absolute;left:0;right:0;bottom:-7px;
  height:1px;background:rgba(205,205,205,.41);}
.mega-cars{margin-left:calc(20% + 50px);display:grid;grid-template-columns:repeat(4,1fr);gap:24px 10px;}
.mega-car{padding:6px 0;transition:transform .3s ease;}
.mega-car:hover{transform:translateY(-15px);}
.mega-car img{height:80px;width:auto;object-fit:contain;margin:6px 0;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.35));}
.mega-car h4{font-size:15px;font-weight:700;}
.mega-car .price{font-size:14px;font-weight:500;color:#a1a1a1;}
.mega-cta{margin-left:calc(20% + 50px);margin-top:34px;display:flex;gap:40px;}
.mega-cta a{display:inline-flex;align-items:center;gap:14px;border-radius:4px;
  padding:18px 40px;background:rgba(38,51,93,.9);color:#fff;transition:.3s ease-in-out;}
.mega-cta a:hover{background:var(--brand-red);}
.mega-cta svg{width:24px;height:24px;flex:0 0 24px;fill:currentColor;}

/* ------------------------------ 4. 首屏轮播 ------------------------------ */
.banner{
  position:relative;background:#000;height:810px;
  display:flex;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.banner::-webkit-scrollbar{display:none;}
.banner-slide{
  position:relative;flex:0 0 100%;height:100%;scroll-snap-align:center;
  display:flex;align-items:center;justify-content:center;
}
.banner-slide img{width:100%;height:100%;object-fit:cover;}
/* 文案压在图上 —— GEO 要点：真实文本，而非图片里的字 */
.banner-copy{position:absolute;inset:auto 0 0;padding:70px 20px 110px;
  background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0));color:#fff;text-align:center;}
.banner-copy .eyebrow{font:500 16px/1 var(--font-en);letter-spacing:.22em;
  text-transform:uppercase;opacity:.9;margin-bottom:18px;}
.banner-copy h1{font-size:56px;line-height:1.18;font-weight:800;margin-bottom:16px;}
.banner-copy p{font-size:18px;font-weight:200;opacity:.92;max-width:860px;margin:0 auto;}
.banner-bar{position:absolute;left:0;right:0;bottom:0;z-index:5;height:60px;
  background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;gap:10px;}
.banner-dot{width:30px;height:6px;border-radius:3px;background:rgba(255,255,255,.45);
  transition:var(--ease);}
.banner-dot.is-active{background:#fff;}
.banner-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:80px;height:120px;background:rgba(0,0,0,.05);color:#fff;font-size:26px;
  display:flex;align-items:center;justify-content:center;}
.banner-arrow:hover{background:rgba(0,0,0,.32);}
.banner-arrow.prev{left:5%;}
.banner-arrow.next{right:5%;}

/* ------------------------------ 5. 产品展示 ------------------------------ */
/* 底缘车阵用固定高度底带（210px）铺在区块底部；区块底内距 230px 保证卡片不侵入 */
.product-show{padding:60px 0 230px;
  background:#f7f8f9 url("/assets/img/car-bg.svg") no-repeat bottom center;
  background-size:100% 210px;}
.car-tabs{display:flex;width:70%;max-width:900px;margin:0 auto 46px;
  border-bottom:1px solid var(--line);}
.car-tabs button{flex:1 1 0;text-align:center;padding:0;}
.car-tabs span{display:inline-block;font-size:18px;font-weight:650;color:var(--text-2);
  transition:color .3s ease;}
.car-tabs span::after{display:block;content:"";height:4px;width:100%;margin-top:15px;
  background:transparent;transition:background .3s ease;}
.car-tabs button:hover span,
.car-tabs button[aria-selected="true"] span{color:var(--brand-blue);}
.car-tabs button[aria-selected="true"] span::after{background:var(--brand-blue);}

.car-group{padding-top:8px;}
.car-group[hidden]{display:none;}
.car-grid{display:grid;grid-template-columns:repeat(4,1fr);}
.car-card{display:block;text-align:center;padding:20px 14px 30px;transition:var(--ease);}
.car-card .car-name{font:300 20px/1.1 var(--font-en);margin:20px auto;letter-spacing:.02em;}
.car-card .car-figure{display:flex;align-items:flex-end;justify-content:center;height:140px;
  transition:var(--ease);}
.car-card .car-figure img{max-height:140px;width:auto;object-fit:contain;}
.car-card .car-btn{display:inline-block;padding:5px 15px;border:2px solid var(--brand-blue);
  border-radius:40px;color:var(--text-2);font-weight:400;transition:var(--ease);}
.car-card .car-price{font-size:13px;color:var(--muted-2);margin-top:8px;line-height:1.5;}
.car-card:hover .car-figure{transform:translateY(-15px);}
.car-card:hover .car-name{color:#000;}
.car-card:hover .car-btn{background:var(--brand-blue);color:#fff;}

/* ------------------------------ 6. 主推车型（静态渲染） ------------------ */
/* overflow-x:clip 是为了关掉一个隐蔽的移动端横向溢出：
   .reveal-left 未进场时带 transform:translate(110px,0)，右侧那张图会被推出视口 110px，
   于是手机端首屏（用户还没滚到这一节）整页可以横向拖动、露出空白。
   用 clip 而不是 hidden —— hidden 会把 overflow-y 一并算成 auto，凭空造出一个纵向滚动容器。 */
.hero-model{position:relative;overflow-x:clip;
  background:var(--brand-blue) url("/assets/img/hero-bg.svg") no-repeat left center;
  background-size:100% 100%;color:#fff;}
.hero-model .container{display:flex;align-items:flex-start;min-height:680px;}
.hero-left{flex:0 0 45%;padding:150px 0 60px;}
.hero-rule{width:25px;height:2px;background:#fff;margin-bottom:25px;}
.hero-tit{font-size:40px;line-height:1.6;font-weight:800;margin-bottom:10px;}
.hero-stit{font-size:24px;font-weight:100;line-height:1.4;}
/* 车型参数条 —— 客户未提供任何车型参数，这里用一句可执行的话承接咨询（见后端
   build_specs_block）。取代了原来那条三列数字规格条：那条在数据缺失时只能印
   【待补充】，而占位符一旦上线会被 AI 引擎当作事实收录，比不写更糟。 */
.hero-specs-note{margin:30px 0 42px;max-width:540px;padding-left:18px;
  border-left:3px solid var(--brand-red);font-size:16px;line-height:1.95;
  font-weight:300;color:rgba(255,255,255,.84);}
.hero-specs-note .tel{color:#fff;text-decoration:none;font-weight:600;
  border-bottom:1px solid rgba(255,255,255,.55);font-variant-numeric:tabular-nums;
  transition:border-color .3s ease;}
.hero-specs-note .tel:hover,.hero-specs-note .tel:focus-visible{border-bottom-color:#fff;}
.hero-actions{display:flex;gap:20px;flex-wrap:wrap;}
/* 按钮边框用 inset 阴影而非 border：hover 不改变盒模型，无抖动 */
.hero-actions a{width:160px;height:45px;line-height:45px;text-align:center;color:#fff;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.55);transition:all .4s ease;}
.hero-actions a:hover{box-shadow:inset 0 0 0 3px var(--brand-red);
  background:var(--brand-red);color:#fff;}
.hero-right{flex:1 1 55%;position:relative;padding:56px 0 0;text-align:right;}
.hero-right img{position:relative;z-index:2;width:88%;margin-left:auto;
  filter:drop-shadow(0 30px 40px rgba(0,0,0,.45));}
.hero-right .hero-ghost{position:absolute;right:34%;top:20px;height:200px;
  font:italic 700 150px/1 var(--font-en);color:#fff;opacity:.2;pointer-events:none;
  user-select:none;letter-spacing:-.02em;}

/* 滚动进场（替代原站 jQuery，零依赖 IntersectionObserver 驱动） */
.reveal{opacity:0;transform:translate(0,14px);transition:var(--ease-slow);}
.reveal-left{opacity:0;transform:translate(110px,0);transition:var(--ease-slow);}
.is-revealed .reveal,
.is-revealed .reveal-left{opacity:1;transform:translate(0,0);}
.is-revealed .reveal:nth-child(1){transition-delay:.2s;}
.is-revealed .reveal:nth-child(2){transition-delay:.35s;}
.is-revealed .reveal:nth-child(3){transition-delay:.5s;}
.is-revealed .reveal:nth-child(4){transition-delay:.65s;}
.is-revealed .reveal:nth-child(5){transition-delay:.8s;}
.is-revealed .reveal-left{transition-delay:.7s;}

/* ------------------------------ 7. 新闻条 ------------------------------ */
.news-bar{position:relative;padding:18px 0;}
.news-label{position:absolute;top:18px;left:20px;height:40px;line-height:40px;
  padding:0 20px;background:var(--brand-blue);color:#fff;font-size:20px;font-weight:400;z-index:2;}
.news-label::after{content:"";position:absolute;top:6px;right:-14px;
  width:28px;height:28px;background:var(--brand-blue);transform:rotate(45deg);z-index:-1;}
.news-track{position:relative;margin-left:180px;height:40px;overflow:hidden;}
.news-track ul{position:relative;height:40px;}
.news-track li{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;}
.news-track li.is-active{opacity:1;}
.news-track a{display:block;height:40px;line-height:40px;font-size:15px;position:relative;}
.news-track a span{position:absolute;left:0;right:215px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;}
.news-track time{position:absolute;right:0;top:0;color:var(--muted);font-size:14px;}

/* ------------------------------ 8. 内容四卡 ------------------------------ */
.content-cards{background:var(--bg-light);padding:56px 0;}
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);}
.card-grid>li{position:relative;padding:0 15px;}
.card-grid>li:not(:first-child)::before{content:"";position:absolute;left:0;top:0;bottom:0;
  width:1px;background:var(--divider);z-index:2;}
.card-grid .thumb{overflow:hidden;}
.card-grid img{width:100%;aspect-ratio:16/10;object-fit:cover;height:auto;transition:transform .5s ease;}
.card-grid h4{font-weight:700;margin-top:15px;font-size:18px;}
.card-grid .txt{margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--muted);font-size:14px;}
.card-grid .more{color:var(--brand-blue);font-size:14px;}
.card-grid a:hover img{transform:scale(1.03);}

/* ------------------------------ 9. 车型总览（AI 可读全量清单） ---------- */
.model-index{padding:72px 0;border-top:1px solid var(--divider);}
.model-index h2{font-size:24px;font-weight:700;text-align:center;margin-bottom:14px;}
.model-index .hint{text-align:center;color:var(--muted);margin-bottom:44px;font-size:14px;}
.model-index-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 44px;}
.model-index-grid h3{font-size:17px;font-weight:700;color:var(--brand-blue);
  padding-bottom:10px;border-bottom:2px solid var(--brand-blue);margin-bottom:14px;}
.model-index-grid li{padding:6px 0 6px 15px;position:relative;font-size:14px;color:var(--text-2);}
.model-index-grid li::before{content:"";position:absolute;left:0;top:14px;
  width:6px;height:6px;border-radius:50%;background:var(--brand-blue);}
.model-index-grid li em{font-style:normal;color:var(--muted-2);}

/* ------------------------------ 10. FAQ ------------------------------ */
.faq{padding:72px 0;}
.faq-list{max-width:900px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--divider);}
.faq-item summary{list-style:none;cursor:pointer;padding:22px 44px 22px 0;position:relative;
  font-size:17px;font-weight:650;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"";position:absolute;right:12px;top:50%;
  width:9px;height:9px;border-right:2px solid var(--brand-blue);
  border-bottom:2px solid var(--brand-blue);
  transform:translateY(-70%) rotate(45deg);transition:transform .3s ease;}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(-135deg);}
.faq-item p{padding:0 44px 24px 0;color:#444;line-height:1.85;}

/* ------------------------------ 11. 页脚 ------------------------------ */
.site-footer{background:var(--footer-bg);color:var(--muted);padding:48px 0 0;}
.footer-top{display:flex;gap:40px;padding-bottom:40px;}
/* 页脚品牌栏。宽度与字号都按「最长常见号码」反推，不能按占位符长度定：
   原设计是 260px 栏 + 40px 字号，那是照着「【待补充】」5 个字排的；
   换成真实号码（0575-85066666，13 字符）在 Arial 下宽约 34px×13×0.556 ≈ 246px 就顶边，
   实机会直接折成两行并顶出栏外。
   电话是一条不可断开的数字串，所以 ① 字号收到 34px ② 栏宽放到 300px ③ 明确 nowrap。 */
.footer-brand{flex:0 0 300px;}
.footer-brand img{height:44px;width:auto;margin-bottom:26px;}
.footer-brand .tel-label{color:var(--footer-title);font-size:14px;}
.footer-brand .tel-number{font-family:var(--font-num);font-size:34px;line-height:1.2;
  color:#fff;letter-spacing:0;white-space:nowrap;}
.footer-brand .tel-number a{color:inherit;}
.footer-brand .follow{margin-top:16px;color:var(--footer-title);font-size:14px;}
.footer-brand .follow-icons{display:flex;gap:12px;margin-top:10px;}
.footer-brand .follow-icons a{width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;}
.footer-brand .follow-icons a:hover{background:var(--brand-red);}
.footer-brand .follow-icons svg{width:16px;height:16px;fill:#fff;}
.footer-nav{flex:1 1 auto;display:grid;grid-template-columns:repeat(6,1fr);gap:24px 0;}
.footer-nav h4{margin:0 0 16px;font-size:17px;font-weight:700;color:var(--footer-title);}
.footer-nav h4+ul+h4{margin-top:28px;}
.footer-nav li{margin-top:10px;}
.footer-nav li a{position:relative;display:inline-block;padding-left:15px;
  color:var(--muted);font-size:14px;}
.footer-nav li a::before{content:"";position:absolute;left:0;top:8px;
  width:6px;height:6px;border-radius:50%;background:var(--muted);}
/* 对比度修正：原站 #777 on #303030 约 3.5:1，不达 WCAG AA */
.footer-nav li a:hover{color:#fff;}
.footer-info{background:#fff;padding:22px 0;}
.footer-info .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  font-size:14px;color:var(--text-2);}
.footer-info .links{display:flex;gap:20px;align-items:center;}
.footer-info .links span{font-weight:700;}
.footer-info a:hover{color:var(--brand-red);}

/* ------------------------------ 12. 右侧悬浮栏 ------------------------------ */
.rightnav{position:fixed;right:8px;bottom:20%;z-index:900;}
.rightnav li{position:relative;width:60px;height:60px;margin-bottom:5px;background:#fff;
  border-radius:6px;
  /* 原站用 0.8 黑投影会显脏，改为柔和投影 + 细描边 */
  box-shadow:0 2px 12px rgba(0,0,0,.12);outline:1px solid rgba(0,0,0,.05);}
.rightnav li>a{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  border-radius:6px;color:#666;transition:var(--ease);}
.rightnav svg{width:22px;height:22px;fill:currentColor;}
/* ⚠️ .rota 必须 absolute。它和 svg 同为 <a> 的 flex 子元素，若保持 static，
   即使 opacity:0 也照样占位（实测 32~44px），把 svg 挤到最左边
   （左边距 0~3px / 右边距 35~44px，看起来就是「图标没居中」）。
   改成覆盖整块的绝对定位层后，<a> 里只剩 svg 一个 flex item，自然居中。 */
.rightnav .rota{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  opacity:0;background:var(--brand-red);color:#fff;font-size:12px;
  line-height:1.2;padding:4px;text-align:center;border-radius:6px;transition:var(--ease);}
.rightnav li:hover .rota{opacity:.94;}
.rightnav li:hover svg{opacity:.18;}
.rightnav .qr{position:absolute;right:70px;top:50%;transform:translateY(-50%) scale(.96);
  width:150px;padding:10px;background:#fff;border:1px solid var(--divider);border-radius:6px;
  box-shadow:0 6px 24px rgba(0,0,0,.16);opacity:0;visibility:hidden;
  transition:.3s ease;text-align:center;}
.rightnav li:hover .qr{opacity:1;visibility:visible;transform:translateY(-50%) scale(1);}
/* height:auto 是必须的 —— 只写 width:100% 时，<img> 的 height 属性（480）
   会当成长度值生效，图片被纵向拉成 130×480。 */
.rightnav .qr img{width:100%;height:auto;}
.rightnav .qr p{font-size:12px;color:var(--text-2);margin-top:6px;}

/* ------------------------------ 13. 客户场地实景（居中卡片横向滑动） ------ */
/* 与首屏 banner 的「整宽滑轨」不同：这里是「居中卡片轮播」——
   左右两张只露边，中间那张完整可见，用户一眼就知道可以左右滑。
   实现靠 scroll-snap + 两端 site-spacer（宽度 = 容器外空白），
   所以第一张和最后一张也能被滚到视口正中，不需要 JS 参与定位。 */
.site-gallery{padding:72px 0;background:var(--bg-light);border-top:1px solid var(--divider);}
.site-gallery .section-title{margin-bottom:22px;}
.site-gallery .section-subtitle{margin-bottom:26px;}
.site-gallery-hint{text-align:center;color:var(--muted);font-size:14px;margin:0 0 40px;}

.site-track-wrap{position:relative;--site-gap:24px;}
.site-track{
  display:flex;gap:var(--site-gap);overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  padding-bottom:14px;scrollbar-width:none;
}
.site-track::-webkit-scrollbar{display:none;}
.site-track:focus{outline:none;}
.site-track:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px;}

/* 两端留白：宽度 =（滑轨宽 - 卡片宽）/ 2 - 一个 gap。
   ⚠️ 必须减掉 gap —— spacer 和滑片之间也会产生一个 gap，
   漏掉它会让第一张的居中位置比 scrollLeft=0 偏出正好一个 gap（表现为
   「首张看着居中，但 scrollLeft 不是 0 / 末张滚不到最右」）。
   表达式里的 min(960px,82vw) 必须与 .site-slide 的 flex-basis 完全一致，改一个就要改另一个。 */
.site-spacer{flex:0 0 calc((100% - min(960px,82vw)) / 2 - var(--site-gap));}

.site-slide{
  flex:0 0 min(960px,82vw);scroll-snap-align:center;margin:0;
  opacity:.45;transform:scale(.96);transition:var(--ease-slow);
}
.site-slide.is-active{opacity:1;transform:none;}
.site-figure{position:relative;overflow:hidden;border-radius:4px;background:#0f2033;
  aspect-ratio:4/3;box-shadow:0 18px 48px rgba(17,76,128,.18);}
.site-figure img{display:block;width:100%;height:100%;object-fit:cover;}
.site-slide figcaption{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
  margin-top:14px;padding-left:2px;}
.site-slide figcaption strong{font-size:17px;font-weight:700;color:var(--text);}
.site-slide figcaption span{font-size:14px;color:var(--muted);}

/* 箭头：贴在当前卡片左右两缘之外（卡片半宽 = min(480px,41vw)） */
.site-arrow{position:absolute;top:calc(50% - 34px);z-index:2;
  width:52px;height:52px;padding:0;border:0;border-radius:50%;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.94);color:var(--brand-blue);
  box-shadow:0 4px 18px rgba(0,0,0,.16);transition:var(--ease);}
.site-arrow svg{width:24px;height:24px;}
.site-arrow:hover{background:var(--brand-blue);color:#fff;}
.site-arrow.prev{left:calc(50% - min(480px,41vw) - 30px);}
.site-arrow.next{right:calc(50% - min(480px,41vw) - 30px);}
.site-arrow:disabled{opacity:.35;cursor:default;}

.site-dots{display:flex;justify-content:center;gap:10px;margin-top:20px;}
.site-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:rgba(17,76,128,.28);transition:var(--ease);}
.site-dots button.is-active{width:26px;border-radius:5px;background:var(--brand-red);}
.site-arrow:focus-visible,.site-dots button:focus-visible{
  outline:2px solid var(--brand-blue);outline-offset:3px;}

/* ------------------------------ 14. 联系区（列表 + 微信二维码） ---------- */
/* 列表样式放在类里而不是内联：内联声明优先级高于媒体查询中的类选择器，
   一写内联，移动端就再也压不回单栏。 */
.contact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 32px;
  font-size:15px;color:#444;}
.contact-list li{line-height:1.7;}
.contact-list strong{font-weight:650;color:var(--text);}
/* tel: / mailto: 用品牌蓝，下划线只在 hover 出现 —— 否则整块列表糊成一片蓝色 */
.contact-list .tel{color:var(--brand-blue);text-decoration:none;
  border-bottom:1px solid transparent;transition:border-color .3s ease;
  font-variant-numeric:tabular-nums;}
.contact-list .tel:hover,.contact-list .tel:focus-visible{border-bottom-color:var(--brand-blue);}

/* 二维码：480px 原图缩到 176px。微信建议扫码最小 120px；
   padding 8px 当安静区，白底避免深色背景压低识别率 */
.contact-qr{display:flex;flex-direction:column;align-items:center;gap:12px;
  margin-top:30px;padding-top:28px;border-top:1px solid var(--divider);}
.contact-qr img{width:176px;height:176px;padding:8px;border-radius:6px;background:#fff;
  box-shadow:0 8px 26px rgba(17,76,128,.14);}
.contact-qr p{margin:0;font-size:14px;color:var(--muted);letter-spacing:.02em;}

/* ------------------------------ 15. 响应式 ------------------------------ */
/* 断点取自实测：1400 / 1280 / 1000 / 767 */
@media (max-width:1400px){
  :root{--container:1180px;}
}
@media (max-width:1280px){
  :root{--container:1080px;}
  .banner{height:700px;}
  .banner-copy h1{font-size:46px;}
  .hero-right .hero-ghost{font-size:120px;}
}
@media (max-width:1000px){
  :root{--header-h:72px;--container:100%;}
  .banner{height:520px;}
  .banner-copy{padding:40px 20px 80px;}
  .banner-copy .eyebrow{font-size:13px;letter-spacing:.16em;margin-bottom:10px;}
  .banner-copy h1{font-size:34px;}
  .banner-copy p{font-size:15px;}
  .section{padding:44px 0 0;}
  .section-title{font-size:26px;margin-bottom:20px;}
  .section-subtitle{margin-bottom:44px;}
  /* 移动端收起内容型巨大浮层，只留二级菜单 */
  .mega{display:none;}
  .car-tabs{width:100%;max-width:none;overflow-x:auto;justify-content:flex-start;gap:4px;}
  .car-tabs button{flex:0 0 auto;padding:0 12px;}
  .car-tabs span{font-size:16px;white-space:nowrap;}
  .car-grid{grid-template-columns:repeat(2,1fr);}
  .car-card .car-figure,
  .car-card .car-figure img{height:110px;max-height:110px;}
  .hero-model .container{flex-direction:column;min-height:0;padding-top:44px;padding-bottom:48px;}
  .hero-left,.hero-right{flex:1 1 auto;width:100%;}
  .hero-left{padding:0;}
  .hero-tit{font-size:30px;line-height:1.4;}
  .hero-stit{font-size:18px;}
  .hero-specs-note{max-width:none;margin:22px 0 30px;font-size:15px;line-height:1.85;}
  .hero-right{padding-top:0;}
  .hero-right img{width:100%;margin-top:16px;}
  .hero-right .hero-ghost{display:none;}
  /* position 用 relative 而不是 static：
     .news-label::after 是 position:absolute 的蓝色箭头，靠 right:-11px 挂在标签右侧。
     桌面端 label 本身是 absolute（天然是定位祖先），移动端若改成 static，
     箭头就会改以整宽的 .news-bar 为参照，跑到屏幕右缘外 11px（旋转 45° 后约 16px），
     整页在手机端可以横向拖动。relative 不改变流内位置，视觉与桌面端一致。 */
  .news-label{position:relative;display:inline-block;height:30px;line-height:30px;
    font-size:16px;padding:0 12px;margin-bottom:14px;}
  .news-label::after{width:22px;height:22px;top:4px;right:-11px;}
  .news-track{margin-left:0;height:auto;overflow:visible;}
  .news-track ul{height:auto;}
  .news-track li{position:static;opacity:1;}
  .news-track a{height:auto;line-height:1.6;padding:6px 0;}
  .news-track a span{position:static;white-space:normal;padding-right:0;}
  .news-track time{position:static;display:block;font-size:13px;}
  .content-cards{padding:36px 0;}
  .card-grid{grid-template-columns:repeat(2,1fr);gap:28px 0;}
  .card-grid>li:nth-child(odd)::before{display:none;}
  .model-index{padding:48px 0;}
  .model-index-grid{grid-template-columns:repeat(2,1fr);gap:28px 24px;}
  .site-gallery{padding:48px 0;}
  .site-gallery .section-subtitle{margin-bottom:20px;}
  .site-gallery-hint{margin-bottom:28px;}
  .site-track-wrap{--site-gap:16px;}
  .site-arrow{width:40px;height:40px;top:calc(50% - 28px);}
  .site-arrow svg{width:18px;height:18px;}
  .site-slide figcaption{margin-top:12px;}
  .site-slide figcaption strong{font-size:16px;}
  .site-slide figcaption span{font-size:13px;}
  .faq{padding:48px 0;}
  .footer-top{flex-direction:column;gap:32px;}
  .footer-brand{flex:1 1 auto;}
  .footer-nav{grid-template-columns:repeat(2,1fr);gap:20px 16px;}
  .rightnav li{width:44px;height:44px;margin-bottom:4px;}
  .rightnav svg{width:18px;height:18px;}
}
@media (max-width:767px){
  .main-nav{display:none;}
  .brand{flex-basis:150px;height:44px;}
  .brand img{height:44px;}
  .banner{height:400px;}
  .banner-copy h1{font-size:26px;}
  .banner-copy p{font-size:13px;}
  .banner-arrow{display:none;}
  .car-tabs span{font-size:15px;}
  .car-grid{grid-template-columns:1fr;}
  .hero-actions a{flex:1 1 auto;min-width:140px;}
  .hero-specs-note{margin:18px 0 26px;padding-left:14px;font-size:14px;}
  .footer-nav{grid-template-columns:1fr;}
  .model-index-grid{grid-template-columns:1fr;}
  /* 移动端以「手势滑动 + 圆点」为主，箭头让位给画面 */
  .site-arrow{display:none;}
  .site-dots{gap:8px;margin-top:16px;}
  .site-dots button{width:8px;height:8px;}
  .site-dots button.is-active{width:22px;}
  .footer-info .container{flex-direction:column;gap:8px;}
  /* 联系区：两栏在 375px 下会把「标签：值」折成两行，还不如直接切单栏 */
  .contact-list{grid-template-columns:1fr;gap:10px;}
  .contact-qr{margin-top:24px;padding-top:22px;}
  .contact-qr img{width:150px;height:150px;}
}

/* 尊重系统「减少动态效果」偏好 */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;}
  .reveal,.reveal-left{opacity:1!important;transform:none!important;}
}

/* 打印 */
@media print{
  .site-header,.rightnav,.banner-arrow,.banner-bar,.site-arrow,.site-dots{display:none!important;}
  body{color:#000;background:#fff;}
  .hero-model,.site-footer{background:#fff!important;color:#000!important;}
  /* hero 在屏幕上是深蓝底白字，打印时底色被强制刷白 —— 描边与文字要跟着转黑 */
  .hero-rule{background:#000!important;}
  .hero-specs-note,.hero-specs-note .tel{color:#000!important;border-bottom-color:#000;}
  .hero-specs-note{border-left-color:#000;}
  /* 二维码是纸面物料里最有用的元素（名片/宣传单直接印），保留但去掉阴影与白底 */
  .contact-qr img{box-shadow:none;border:1px solid #ddd;padding:4px;}
  .contact-list .tel{color:#000;border-bottom:0;}
}
