﻿/* ==========================================================================
   南京睿艺智电子科技有限公司 - 官网首页
   设计风格参考：明亮工业蓝(#00a0e9) + 深藏青(#121e42) + 金黄(#ffbb02)
   ========================================================================== */

:root{
  --blue:      #00a0e9;
  --blue-dark: #0078b8;
  --blue-deep: #005a8c;
  --navy:      #121e42;
  --navy-2:    #1b2a5b;
  --yellow:    #ffbb02;
  --yellow-d:  #e6a800;
  --text:      #333333;
  --muted:     #666666;
  --muted2:    #999999;
  --bg:        #f5f7fa;
  --bg-2:      #eef6fc;
  --line:      #e5e5e5;
  --white:     #ffffff;
  --container: 1500px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 46px rgba(18,30,66,.10);
}

*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:96px; -webkit-text-size-adjust:100%; }
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  color:var(--text); background:var(--white); font-size:15px; line-height:1.8;
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; transition:color .3s var(--ease); }
ul,ol{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input{ font-family:inherit; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 40px; }
section{ position:relative; } section[id]{ scroll-margin-top:96px; }

/* ---------- 板块标题 ---------- */
.sec-head{ text-align:center; margin-bottom:46px; }
.sec-head .en{ display:block; font-size:13px; letter-spacing:3px; color:var(--blue); text-transform:uppercase; margin-bottom:8px; font-weight:700; }
.sec-head h2{ font-size:34px; color:var(--navy); font-weight:800; letter-spacing:1px; line-height:1.3; }
.sec-head h2::after{
  content:""; display:block; width:44px; height:4px; border-radius:2px; margin:14px auto 0;
  background:linear-gradient(90deg,var(--blue),var(--yellow));
}
.sec-head p{ color:var(--muted); margin-top:14px; font-size:15px; }
.sec-head .more{
  display:inline-flex; align-items:center; gap:6px; margin-top:18px; color:var(--blue);
  font-size:14px; font-weight:600;
}
.sec-head .more:hover{ color:var(--blue-dark); }

/* ---------- 顶部信息条 ---------- */
.top-strip{ background:var(--navy); color:#b9c5dc; font-size:13px; }
.top-strip .container{ display:flex; align-items:center; justify-content:space-between; height:40px; }
.top-strip .l, .top-strip .r{ display:flex; align-items:center; gap:22px; }
.top-strip a:hover{ color:var(--yellow); }
.top-strip .iconfont{ color:var(--yellow); margin-right:5px; font-size:14px; }
.top-strip .keys{ color:#8fa0bd; }
.top-strip .keys a{ margin-left:12px; color:#c7d2e5; }
.top-strip .keys a:hover{ color:var(--yellow); }

/* ---------- 页头 ---------- */
.header{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line); transition:box-shadow .35s var(--ease);
}
.header.scrolled{ box-shadow:0 10px 28px rgba(18,30,66,.10); }
.header .container{ display:flex; align-items:center; height:84px; gap:30px; }
.brand{ display:flex; align-items:center; gap:13px; flex:0 0 auto; }
.brand .logo{
  width:50px; height:50px; border-radius:50%; 
  /*background:linear-gradient(135deg,var(--blue),var(--blue-deep));*/
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:27px;
  /*box-shadow:0 8px 18px rgba(0,160,233,.3);*/
}
.brand .txt b{ display:block; font-size:22px; color:var(--navy); letter-spacing:1px; line-height:1.2; }
.brand .txt span{ font-size:11px; color:var(--muted2); letter-spacing:1px; }

.nav{ display:flex; align-items:center; margin-left:auto; }
.nav a{ position:relative; padding:12px 17px; font-size:16px; color:var(--text); font-weight:500; }
.nav a::after{
  content:""; position:absolute; left:50%; bottom:4px; width:0; height:3px; border-radius:2px;
  background:linear-gradient(90deg,var(--blue),var(--yellow)); transform:translateX(-50%);
  transition:width .35s var(--ease);
}
.nav a:hover, .nav a.active{ color:var(--blue); }
.nav a:hover::after, .nav a.active::after{ width:70%; }

.header .tel{
  flex:0 0 auto; display:flex; align-items:center; gap:12px; padding:10px 18px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark)); color:#fff; border-radius:30px;
  box-shadow:0 10px 20px rgba(0,160,233,.28);
}
.header .tel .iconfont{ font-size:22px; }
.header .tel b{ font-size:17px; letter-spacing:.5px; display:block; line-height:1.1; }
.header .tel span{ font-size:11px; opacity:.85; }
.nav-toggle{ display:none; font-size:28px; color:var(--navy); }

/* ---------- Hero 轮播 ---------- */
.hero{ position:relative; width:100%; /*height:min(660px,92vh);*/height:89vh; min-height:540px; background:var(--navy); overflow:hidden; }
.hero .swiper{ width:100%; height:100%; }
.hero .swiper-slide{ position:relative; overflow:hidden; }
.hero .slide-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.08); transition:transform 7.5s linear;
}
.hero .swiper-slide-active .slide-bg{ transform:scale(1); }
.hero .slide-bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.8) 42%, rgba(255,255,255,.08) 78%);
}
.hero .slide-content{ position:relative; z-index:5; height:100%; display:flex; align-items:center; }
.hero .inner{ max-width:640px; }
.hero .tag{
  display:inline-flex; align-items:center; gap:8px; font-size:13px; letter-spacing:2px; color:var(--blue);
  padding:7px 16px; border:1px solid rgba(0,160,233,.4); border-radius:30px; background:rgba(255,255,255,.7); margin-bottom:22px;
}
.hero h1{ font-size:50px; line-height:1.22; color:var(--navy); font-weight:800; letter-spacing:2px; margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--blue); }
.hero p{ font-size:17px; color:var(--muted); max-width:520px; margin-bottom:34px; }
.hero .btns{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:9px; padding:13px 32px; font-size:15px; border-radius:30px;
  letter-spacing:1px; font-weight:600; transition:all .35s var(--ease);
}
.btn-primary{ background:linear-gradient(90deg,var(--blue),var(--blue-dark)); color:#fff; box-shadow:0 12px 26px rgba(0,160,233,.35); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 18px 34px rgba(0,160,233,.45); }
.btn-outline{ background:rgba(255,255,255,.7); color:var(--navy); border:2px solid var(--navy); }
.btn-outline:hover{ background:var(--navy); color:#fff; transform:translateY(-3px); }
.btn-yellow{ background:linear-gradient(90deg,var(--yellow),var(--yellow-d)); color:var(--navy); box-shadow:0 12px 26px rgba(255,187,2,.35); }
.btn-yellow:hover{ transform:translateY(-3px); }

.hero .swiper-pagination{ bottom:28px; z-index:6; }
.hero .swiper-pagination-bullet{ width:30px; height:4px; border-radius:2px; background:rgba(18,30,66,.28); opacity:1; transition:all .4s var(--ease); }
.hero .swiper-pagination-bullet-active{ width:52px; background:var(--blue); }
.hero .swiper-button-next, .hero .swiper-button-prev{
  width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.8); color:var(--navy);
  box-shadow:0 8px 18px rgba(18,30,66,.12); transition:all .3s var(--ease);
}
.hero .swiper-button-next:hover, .hero .swiper-button-prev:hover{ background:var(--blue); color:#fff; }
.hero .swiper-button-next::after, .hero .swiper-button-prev::after{ font-size:17px; }

/* 轮播文字入场 */
.hero .anim{ opacity:0; transform:translateY(32px); }
.hero .swiper-slide-active .anim{ opacity:1; transform:none; transition:opacity .8s var(--ease), transform .8s var(--ease); }
.hero .swiper-slide-active .anim.d1{ transition-delay:.1s; }
.hero .swiper-slide-active .anim.d2{ transition-delay:.24s; }
.hero .swiper-slide-active .anim.d3{ transition-delay:.38s; }
.hero .swiper-slide-active .anim.d4{ transition-delay:.52s; }

/* ---------- 快速服务条 ---------- */
.quickbar{ background:var(--navy); }
.quickbar .container{ display:grid; grid-template-columns:repeat(3,1fr); }
.quick{
  display:flex; align-items:center; gap:16px; padding:26px 40px; color:#dfe7f4;
  border-left:1px solid rgba(255,255,255,.08); transition:background .35s var(--ease);
}
.quick:first-child{ border-left:none; }
.quick:hover{ background:rgba(255,255,255,.06); }
.quick .iconfont{ font-size:34px; color:var(--yellow); }
.quick b{ display:block; color:#fff; font-size:16px; }
.quick span{ font-size:13px; color:#9fb1cc; }

/* ---------- 产品服务 ---------- */
.products{ padding:84px 0; }
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.prod{
  background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden;
  transition:all .4s var(--ease); position:relative;
}
.prod:hover{ box-shadow:var(--shadow); transform:translateY(-8px); border-color:transparent; }
.prod .ph{ position:relative; overflow:hidden; }
.prod .ph img{ width:100%; height:210px; object-fit:cover; transition:transform .6s var(--ease); }
.prod:hover .ph img{ transform:scale(1.1); }
.prod .ph .mask{
  position:absolute; inset:0; background:linear-gradient(180deg, rgba(18,30,66,0) 40%, rgba(18,30,66,.65));
  display:flex; align-items:flex-end; padding:16px; color:#fff; opacity:0; transition:opacity .4s var(--ease);
}
.prod:hover .ph .mask{ opacity:1; }
.prod .body{ padding:22px 22px 26px; text-align:center; }
.prod .body .iconfont{ font-size:28px; color:var(--blue); }
.prod h3{ font-size:18px; color:var(--navy); margin:8px 0 8px; }
.prod p{ color:var(--muted); font-size:13.5px; }

/* ---------- 应用领域 ---------- */
.fields{ padding:84px 0; background:var(--bg); }
.fields .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.field{
  background:#fff; padding:30px 30px; border:1px solid var(--line); border-radius:8px;
  position:relative; transition:all .4s var(--ease);
}
.field:hover{ border-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-6px); }
.field .no{ font-size:40px; font-weight:800; color:var(--bg-2); line-height:1; display:block; }
.field .iconfont{ font-size:30px; color:var(--blue); margin:6px 0 10px; }
.field h3{ font-size:18px; color:var(--navy); margin-bottom:8px; }
.field p{ color:var(--muted); font-size:14px; }

/* ---------- 核心优势（四大优势） ---------- */
.adv{ padding:84px 0; background:var(--bg);}
.adv .grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.adv-block{
  position:relative; background:var(--bg); border-radius:10px; padding:42px 40px; overflow:hidden;
  transition:all .45s var(--ease);
}
.adv-block::before{
  content:""; position:absolute; left:0; top:0; width:5px; height:100%;
  background:linear-gradient(180deg,var(--blue),var(--yellow));
}
.adv-block:hover{ background:var(--white); box-shadow:var(--shadow); transform:translateY(-8px); }
.adv-block .no{
  position:absolute; right:26px; top:18px; font-size:76px; font-weight:800; line-height:1;
  color:rgba(0,160,233,.12);
}
.adv-block .sub{ color:var(--blue); font-size:14px; letter-spacing:1px; margin-bottom:8px; display:block; }
.adv-block h3{ font-size:23px; color:var(--navy); margin-bottom:14px; }
.adv-block p{ color:var(--muted); font-size:14.5px; margin-bottom:22px; position:relative; z-index:2; }
.adv-block .link{ display:inline-flex; align-items:center; gap:8px; color:var(--blue); font-weight:700; font-size:15px; }
.adv-block .link:hover{ gap:12px; color:var(--blue-dark); }

/* ---------- 走进我们 ---------- */
.about{ padding:84px 0; background:linear-gradient(180deg,#fff,var(--bg-2)); }
.about .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about .media{ position:relative; }
.about .media .main{ border-radius:10px; overflow:hidden; box-shadow:var(--shadow); }
.about .media .main img{ width:100%; height:460px; object-fit:cover; }
.about .media .tag{
  position:absolute; left:-12px; bottom:34px; background:var(--navy); color:#fff; padding:18px 26px;
  border-radius:8px; box-shadow:var(--shadow);
}
.about .media .tag b{ font-size:32px; color:var(--yellow); display:block; line-height:1; }
.about .media .tag span{ font-size:13px; color:#b9c5dc; }
.about .txt h3{ font-size:28px; color:var(--navy); line-height:1.4; margin-bottom:16px; }
.about .txt h3 em{ font-style:normal; color:var(--blue); }
.about .txt p{ color:var(--muted); margin-bottom:14px; }
.about .btns{ display:flex; gap:14px; margin-top:24px; flex-wrap:wrap; }
.counts{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:60px; }
.count{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:28px 16px; text-align:center; transition:all .4s var(--ease); }
.count:hover{ border-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-6px); }
.count .n{ font-size:42px; font-weight:800; color:var(--blue); line-height:1; }
.count .n i{ font-style:normal; color:var(--yellow); font-size:22px; }
.count .lbl{ color:var(--muted); font-size:13.5px; margin-top:10px; }

/* ---------- 设备能力 ---------- */
.capability{ padding:84px 0; background:var(--navy); color:#fff; }
.capability .sec-head h2{ color:#fff; }
.capability .sec-head p{ color:#9fb1cc; }
.capability .steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-bottom:54px; }
.step{ text-align:center; padding:32px 20px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:10px; transition:all .4s var(--ease); }
.step:hover{ background:rgba(0,160,233,.14); border-color:var(--blue); transform:translateY(-8px); }
.step .iconfont{ font-size:38px; color:var(--yellow); }
.step h4{ font-size:18px; margin:14px 0 8px; letter-spacing:1px; }
.step p{ color:#9fb1cc; font-size:13px; }
.capability .bottom{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.capability .media{ border-radius:10px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.35); }
.capability .media img{ width:100%; height:400px; object-fit:cover; }
.equip-list{ display:grid; gap:16px; }
.equip{ display:flex; align-items:center; gap:16px; padding:18px 22px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:8px; transition:all .35s var(--ease); }
.equip:hover{ background:rgba(0,160,233,.16); border-color:var(--blue); transform:translateX(8px); }
.equip .iconfont{ font-size:26px; color:var(--yellow); }
.equip b{ display:block; font-size:16px; }
.equip span{ color:#9fb1cc; font-size:13px; }

/* ---------- 资质专利 ---------- */
.patents{ padding:84px 0; }
.patents .strip{
  display:flex; align-items:center; gap:60px; background:linear-gradient(120deg,var(--blue),var(--blue-dark));
  border-radius:12px; padding:52px 64px; color:#fff; box-shadow:0 24px 56px rgba(0,160,233,.3);
}
.patents .strip .big{ flex:0 0 auto; text-align:center; }
.patents .strip .big .n{ font-size:92px; font-weight:800; line-height:.9; color:var(--yellow); }
.patents .strip .big .n i{ font-style:normal; font-size:26px; }
.patents .strip .big p{ color:#d9f1ff; letter-spacing:2px; margin-top:8px; }
.patents .strip h3{ font-size:26px; margin-bottom:12px; }
.patents .strip p{ color:#d9f1ff; font-size:15px; margin-bottom:16px; }
.patents .strip .tags{ display:flex; flex-wrap:wrap; gap:10px; }
.patents .strip .tags span{ padding:6px 16px; border-radius:20px; background:rgba(255,255,255,.16); font-size:13px; }

/* ---------- 合作客户（Tab） ---------- */
.clients{ padding:84px 0; background:var(--bg); }
.tabs{ display:flex; justify-content:center; gap:12px; margin-bottom:34px; flex-wrap:wrap; }
.tab-btn{
  padding:12px 34px; border-radius:30px; background:#fff; border:1px solid var(--line); color:var(--muted);
  font-size:15px; font-weight:600; letter-spacing:1px; transition:all .35s var(--ease);
}
.tab-btn:hover{ color:var(--blue); border-color:var(--blue); }
.tab-btn.active{ background:linear-gradient(90deg,var(--blue),var(--blue-dark)); color:#fff; border-color:transparent; box-shadow:0 10px 22px rgba(0,160,233,.3); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation:fadeIn .5s var(--ease); }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none;} }
.client-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.client{
  background:#fff; border:1px solid var(--line); border-radius:8px; padding:26px 20px; text-align:center;
  transition:all .35s var(--ease); display:flex; flex-direction:column; align-items:center; gap:10px; min-height:130px; justify-content:center;
}
.client:hover{ border-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-5px); }
.client .iconfont{ font-size:30px; color:var(--blue); }
.client b{ font-size:16px; color:var(--navy); font-weight:600; }

/* ---------- 新闻动态 ---------- */
/*.news{ padding:84px 0; }*/
/*.news .list{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }*/
/*.news-item{ display:flex; align-items:center; gap:18px; background:var(--bg); border-radius:8px; padding:26px 26px; transition:all .4s var(--ease); }*/
/*.news-item:hover{ background:var(--white); box-shadow:var(--shadow); transform:translateY(-6px); }*/
/*.news-item .iconfont{ font-size:28px; color:var(--blue); flex:0 0 auto; }*/
/*.news-item b{ display:block; color:var(--navy); font-size:16px; line-height:1.5; margin-bottom:6px; }*/
/*.news-item span{ color:var(--muted2); font-size:13px; }*/
/*.news-item .arrow{ margin-left:auto; color:var(--blue); }*/

.news{ padding:84px 0; }
.news .list{ display:flex; flex-direction:column; gap:26px; }
.news-item{
  display:flex; align-items:stretch; background:#fff; border:1px solid var(--line);
  border-radius:10px; overflow:hidden; transition:all .4s var(--ease);
}
.news-item:hover{ box-shadow:var(--shadow); transform:translateY(-6px); border-color:transparent; }
.news-item .pic{ flex:0 0 300px; min-height:200px; overflow:hidden; }
.news-item .pic img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.news-item:hover .pic img{ transform:scale(1.08); }
.news-item .txt{ flex:1; padding:26px 30px; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.news-item .cate{ display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-size:13px; }
.news-item h3{ font-size:19px; color:var(--navy); line-height:1.5; transition:color .3s var(--ease); }
.news-item:hover h3{ color:var(--blue); }
.news-item .txt p{ color:var(--muted); font-size:14px; line-height:1.8; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-item .meta{ display:flex; align-items:center; gap:18px; color:var(--muted2); font-size:13px; }
.news-item .meta .iconfont{ color:var(--blue); margin-right:4px; }
.news-item .more{ color:var(--blue); font-weight:600; font-size:14px; display:inline-flex; align-items:center; gap:6px; }


@media (max-width:680px){
  .news-item{ flex-direction:column; }
.news-item .pic{ flex:none; height:200px; }
}


/* ---------- 页脚 ---------- */
.footer{ background:var(--navy); color:#9fb1cc; }
.footer .top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:44px; padding:62px 0 46px; }
.footer h4{ color:#fff; font-size:17px; margin-bottom:20px; letter-spacing:1px; position:relative; padding-bottom:10px; }
.footer h4::after{ content:""; position:absolute; left:0; bottom:0; width:30px; height:3px; background:var(--yellow); border-radius:2px; }
.footer .brand-line{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer .brand-line .logo{ width:46px; height:46px; border-radius:50%; 
background:linear-gradient(135deg,var(--blue),var(--blue-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:24px; }
.footer .brand-line b{ color:#fff; font-size:18px; }
.footer .about-txt p{ font-size:13.5px; line-height:1.9; margin-bottom:14px; }
.footer .links a{ display:block; padding:5px 0; font-size:14px; color:#9fb1cc; }
.footer .links a:hover{ color:var(--yellow); padding-left:6px; }
.footer .links a .iconfont{ font-size:11px; color:var(--yellow); margin-right:6px; }
.footer .hot{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.footer .hot span{ padding:4px 12px; border:1px solid rgba(255,255,255,.16); border-radius:20px; font-size:12px; color:#c7d2e5; }
.footer .contact-lines li{ display:flex; gap:10px; margin-bottom:13px; font-size:14px; align-items:flex-start; }
.footer .contact-lines .iconfont{ color:var(--yellow); font-size:16px; }
.footer .bottom{ border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#7d8ea9; flex-wrap:wrap; gap:8px; }
.footer .bottom a{ color:#9fb1cc; }
.footer .bottom a:hover{ color:var(--yellow); }

/* ---------- 右侧悬浮联系条 ---------- */
.sidebar{ position:fixed; right:0; top:40%; transform:translateY(-40%); z-index:200; display:flex; flex-direction:column; box-shadow:0 10px 30px rgba(18,30,66,.15); border-radius:10px 0 0 10px; overflow:hidden; }
.sidebar a{
  width:56px; height:56px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  background:var(--blue); color:#fff; font-size:11px; transition:background .3s var(--ease);
}
.sidebar a:hover{ background:var(--blue-dark); }
.sidebar a.top{ background:var(--navy); }
.sidebar a .iconfont{ font-size:18px;line-height:1; }

/* ---------- 回到顶部按钮（备用） ---------- */
.to-top{ display:none; }

/* ---------- 滚动入场动画（可反复触发） ---------- */
.reveal{ opacity:0; transform:translateY(46px); transition:opacity .8s var(--ease), transform .8s var(--ease); will-change:opacity,transform; }
.reveal.from-left{ transform:translateX(-60px); }
.reveal.from-right{ transform:translateX(60px); }
.reveal.zoom{ transform:scale(.88); }
.reveal.in-view{ opacity:1; transform:none; }

/* ---------- 响应式 ---------- */
@media (max-width:1280px){
  .prod-grid{ grid-template-columns:repeat(2,1fr); }
  .fields .grid{ grid-template-columns:repeat(2,1fr); }
  .client-grid{ grid-template-columns:repeat(2,1fr); }
  .news .list{ grid-template-columns:1fr 1fr; }
  .footer .top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:1024px){
  .container{ padding:0 24px; }
  .header .tel{ display:none; }
  .nav{ position:fixed; inset:0 0 0 auto; width:80%; max-width:340px; background:#fff; flex-direction:column; align-items:flex-start; padding:92px 30px 30px; gap:4px; box-shadow:-20px 0 50px rgba(18,30,66,.18); transform:translateX(100%); transition:transform .4s var(--ease); z-index:99; }
  .nav.open{ transform:none; }
  .nav a{ width:100%; padding:14px 8px; border-bottom:1px solid var(--line); }
  .nav a::after{ display:none; }
  .nav-toggle{ display:block; z-index:101; }
  .about .wrap, .capability .bottom{ grid-template-columns:1fr; gap:40px; }
  .adv .grid{ grid-template-columns:1fr; }
  .counts{ grid-template-columns:repeat(2,1fr); }
  .capability .steps{ grid-template-columns:repeat(2,1fr); }
  .patents .strip{ flex-direction:column; text-align:center; padding:44px 34px; gap:32px; }
  .quickbar .container{ grid-template-columns:1fr; }
  .quick{ border-left:none; border-top:1px solid rgba(255,255,255,.08); padding:18px 24px; }
  .quick:first-child{ border-top:none; }
}
@media (max-width:680px){
  .top-strip .keys{ display:none; }
  .header .container{ height:72px; }
  .hero{ height:min(560px,86vh); min-height:480px; }
  .hero h1{ font-size:31px; }
  .hero p{ font-size:15px; }
  .hero .slide-bg::after{ background:linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.72) 60%, rgba(255,255,255,.25)); }
  .hero .swiper-button-next, .hero .swiper-button-prev{ display:none; }
  .sec-head h2{ font-size:26px; }
  .prod-grid, .fields .grid, .client-grid, .news .list{ grid-template-columns:1fr; }
  .counts{ grid-template-columns:1fr 1fr; }
  .footer .top{ grid-template-columns:1fr; gap:30px; }
  .patents .strip .big .n{ font-size:68px; }
  .sidebar a{ width:48px; height:48px; }
  .btn{ padding:11px 24px; }
}