/* =========================================================
   site1 仿站主题 (参考 zzkowloon.com) — 工业橙风格
   说明：本文件由首页仿站使用，主题色 #f7a12c
   ========================================================= */

/* 本地自托管字体（原 Google Fonts，已去除外链依赖） */
@font-face{
  font-family:'Open Sans';
  font-style:normal;
  font-weight:300 800;          /* 可变字体，覆盖 400/600/700 */
  font-display:swap;
  src:url('fonts/opensans.woff2') format('woff2');
}
@font-face{
  font-family:'Oswald';
  font-style:normal;
  font-weight:200 700;          /* 可变字体，覆盖 500/600/700 */
  font-display:swap;
  src:url('fonts/oswald.woff2') format('woff2');
}

:root{
  --orange:#f7a12c;
  --orange-dark:#e07d10;
  --dark:#262626;
  --text:#666;
  --text-dark:#333;
  --line:#eee;
}

*{ box-sizing:border-box; }
body{ font-family:'Open Sans','Microsoft YaHei',sans-serif; color:var(--text); }
img{ max-width:100%; }

/* 容器 */
.warper{ max-width:1500px; margin:0 auto; padding:0 4%; position:relative; }

/* ===================== 顶部联系栏 ===================== */
.he_top{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:var(--dark); height:50px; line-height:50px; overflow:hidden;
}
.he_top .warper{ text-align:right; }
.he_top a{ color:#c7c7c7; margin-left:30px; font-size:15px; }
.he_top a i{ color:var(--orange); margin-right:8px; font-size:18px; }
.he_top a:hover{ color:#fff; }

/* ===================== 主导航 ===================== */
#header{
  position:fixed; top:50px; left:0; right:0; z-index:999;
  height:90px; background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
#header .warper{ display:flex; align-items:center; justify-content:space-between; height:90px; }
.logo img{ height:58px; display:block; }
.logo .logo-sticky{ display:none; }

#nav{ display:flex; align-items:center; }
#nav nav{ }
#nav ul#show{ display:flex; align-items:center; list-style:none; margin:0; padding:0; }
#nav ul#show > li{ position:relative; }
#nav ul#show > li > a{
  display:block; padding:0 18px; line-height:90px;
  color:var(--text-dark); font-size:16px; font-weight:600; transition:color .2s;
  white-space:nowrap;
}
#nav ul#show > li:hover > a,
#nav ul#show > li.on > a,
#nav ul#show > li.dropdown:hover > a{ color:var(--orange); }

/* 有二级菜单的项显示下拉箭头 */
#nav ul#show > li:has(> ul.nav-sub > li) > a::after{
  content:''; display:inline-block; margin-left:7px; vertical-align:middle;
  border-left:4px solid transparent; border-right:4px solid transparent;
  border-top:5px solid currentColor; opacity:.55; transition:transform .2s;
}
#nav ul#show > li:has(> ul.nav-sub > li):hover > a::after{ transform:rotate(180deg); opacity:1; }

/* 二级下拉 */
.nav-sub{
  position:absolute; top:90px; left:0; min-width:230px;
  background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.12);
  list-style:none; margin:0; padding:8px 0; display:none; z-index:1000;
}
#nav ul#show > li:hover > .nav-sub{ display:block; }
.nav-sub:not(:has(li)){ display:none !important; }
.nav-sub li a{
  display:block; padding:11px 22px; color:#555; font-size:15px;
  border-bottom:1px solid #f3f3f3; transition:.2s;
  white-space:nowrap;
}
.nav-sub li:last-child a{ border-bottom:none; }
.nav-sub li a:hover{ color:var(--orange); background:#fafafa; padding-left:28px; }

.nav-button{ display:none; font-size:24px; color:var(--text-dark); cursor:pointer; margin-left:14px; }

/* ===================== 通用区块标题 ===================== */
.hp-sec-title{ text-align:center; margin-bottom:50px; }
.hp-sec-title h2{
  font-family:'Oswald',sans-serif; font-size:46px; font-weight:700; color:#333;
  letter-spacing:.5px; margin:0; padding-bottom:16px; position:relative;
}
.hp-sec-title h2:after{
  content:''; display:block; width:72px; height:4px; background:var(--orange);
  margin:14px auto 0;
}
.hp-sec-title p{ color:var(--text); font-size:16px; line-height:26px; margin-top:14px; }

/* ===================== Hero 首屏 ===================== */
.hp-hero{
  position:relative; min-height:620px; overflow:hidden;
  /* 默认背景仅作“后台未配置轮播图”时的兜底，配置后由轮播图覆盖 */
  background:url(../img1/hero.jpg) center/cover no-repeat;
}
.hp-hero-swiper{ position:absolute; top:0; right:0; bottom:0; left:0; }
.hp-hero-swiper .swiper-slide{ position:relative; height:100%; background-size:cover; background-position:center; }
.hp-hero-slide-link{ position:absolute; inset:0; z-index:2; }
.hp-hero .swiper-pagination{ bottom:16px; z-index:4; }
.hp-hero .swiper-pagination-bullet{ background:#fff; opacity:.6; }
.hp-hero .swiper-pagination-bullet-active{ background:var(--orange); opacity:1; }
.hp-hero-inner{ position:absolute; inset:0; z-index:3; display:flex; align-items:center; justify-content:center; }
.hp-btn{
  display:inline-block; background:var(--orange); color:#fff; padding:14px 42px;
  font-size:17px; font-weight:600; border-radius:3px; transition:.25s;
}
.hp-btn:hover{ background:var(--orange-dark); color:#fff; }

/* ===================== 解决方案 ===================== */
.hp-solutions{ background:#fff; padding:80px 0; }
.hp-sol-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.hp-sol-card{ position:relative; height:300px; background:#1f2a30 center/cover no-repeat; background-size:cover; background-position:center; display:block; overflow:hidden; border-radius:3px; }
.hp-sol-mask{ position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.18)); transition:.3s; }
.hp-sol-card:hover .hp-sol-mask{ background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.4)); }
.hp-sol-info{ position:absolute; left:0; right:0; bottom:0; padding:24px; text-align:center; color:#fff; }
.hp-sol-name{ font-family:'Oswald',sans-serif; font-size:22px; letter-spacing:.5px; margin:0 0 10px; }
.hp-sol-more{
  display:inline-block; background:var(--orange); color:#fff; padding:8px 28px;
  font-size:14px; opacity:0; transform:translateY(10px); transition:.3s;
}
.hp-sol-card:hover .hp-sol-more{ opacity:1; transform:translateY(0); }

/* ===================== 热门设备 ===================== */
.hp-equip{ background:#f7f7f7; padding:80px 0; }
.hp-eq-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.hp-eq-card{ background:#fff; border:1px solid var(--line); transition:.3s; text-align:center; }
.hp-eq-card:hover{ box-shadow:0 12px 32px rgba(0,0,0,.1); transform:translateY(-4px); border-color:var(--orange); }
.hp-eq-img{ height:230px; display:flex; align-items:center; justify-content:center; background:#fafafa; overflow:hidden; }
.hp-eq-img img{ max-width:100%; max-height:100%; object-fit:contain; transition:.3s; }
.hp-eq-card:hover .hp-eq-img img{ transform:scale(1.05); }
.hp-eq-card p{ font-family:'Oswald',sans-serif; font-size:19px; color:#333; padding:18px 10px 4px; margin:0; }
.hp-eq-card span{ display:inline-block; color:var(--orange); font-size:14px; padding-bottom:18px; transition:.2s; }
.hp-eq-card:hover span{ letter-spacing:1px; }

/* ===================== 可靠伙伴 ===================== */
.hp-partner{ background:#fff; padding:70px 0; }
.hp-partner-ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; margin-top:10px; }
.hp-partner-ul li{
  flex:1 1 170px; max-width:220px; text-align:center; padding:32px 15px;
  background:#f7f7f7; border-bottom:3px solid transparent; transition:.3s;
}
.hp-partner-ul li:hover{ border-bottom-color:var(--orange); background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.06); }
.hp-partner-ul i{ font-size:46px; color:var(--orange); display:block; margin-bottom:14px; }
.hp-partner-ul p{ color:#444; font-size:16px; font-weight:600; margin:0; }

/* ===================== 合作伙伴 logo ===================== */
.hp-partners{ background:#f7f7f7; padding:44px 0; text-align:center; }
.hp-partners img{ max-width:100%; }

/* ===================== 新闻动态 ===================== */
.hp-news{ background:#fff; padding:80px 0; }
.hp-news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.hp-news-card{ border:1px solid var(--line); transition:.3s; background:#fff; }
.hp-news-card:hover{ box-shadow:0 12px 32px rgba(0,0,0,.1); }
.hp-news-img{ height:200px; overflow:hidden; }
.hp-news-img img{ width:100%; height:100%; object-fit:cover; transition:.3s; }
.hp-news-card:hover .hp-news-img img{ transform:scale(1.06); }
.hp-news-txt{ padding:22px; }
.hp-news-link{ display:block; }
.hp-news-txt h3{ font-size:18px; color:#333; line-height:1.45; margin:0 0 12px; min-height:50px; transition:.2s; }
.hp-news-link:hover .hp-news-txt h3{ color:var(--orange); }
.hp-news-txt p{
  color:#888; font-size:14px; line-height:24px; margin:0 0 14px; transition:.2s;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.hp-news-link:hover .hp-news-txt p{ color:#555; }
.hp-news-txt span{ color:var(--orange); font-size:14px; font-weight:600; display:inline-block; transition:.2s; }
.hp-news-txt span:after{ content:" \2192"; }
.hp-news-link:hover .hp-news-txt span{ letter-spacing:1px; }

/* ===================== 页脚顶部 Get Price 带（fometop） ===================== */
.fometop{ width:100%; overflow:hidden; padding:60px 0 50px 0; background:var(--orange); position:relative; z-index:0; }
.fometop:before{ content:""; position:absolute; top:0; left:0; z-index:-1; width:43%; height:100%; background:url('../img1/fotolp.jpg') no-repeat; background-size:cover; }
.fomle{ width:43%; float:left; padding-top:50px; padding-left:30px; }
.fomle img{ max-width:100%; display:block; }
.fomri{ width:57%; float:right; padding-right:200px; padding-left:76px; }
.fo_mess h2{ text-shadow:0 0 7px rgba(181,133,1,.4); margin:0 0 5px; font-family:'Oswald',sans-serif; font-size:44px; color:#fff; }
.fo_mess p{ color:#fff; line-height:24px; text-shadow:0 0 7px rgba(181,133,1,.4); }
.fo_dime{ margin-top:24px; }
.fo_dime > p{ color:#f9f1e6; font-size:14px; margin:10px 0 0; }

/* fomri 表单（fo_mfoul） */
.fo_mfoul{ width:100%; list-style:none; margin:0; padding:0; }
.fo_mfoul li{ position:relative; z-index:1; list-style:none; margin-bottom:10px; }
.fo_mfoul li.fo-row{ display:flex; gap:10px; }
.fo_mfoul li.fo-row input{ flex:1 1 50%; min-width:0; }
.fo_mfoul li input, .fo_mfoul li textarea{
  font-family:'Open Sans',sans-serif; width:100%; border:none; background:#fff;
  font-size:14px; color:#000; pointer-events:auto;
}
.fo_mfoul li input{ height:58px; padding:0 18px; }
.fo_mfoul li textarea{ resize:none; padding:18px; height:178px; }
.fo_mfoul li input::placeholder, .fo_mfoul li textarea::placeholder{ color:#999; }
.fo_mfoul li.fo-submit{ margin:25px 0 0; }
.fo_mfoul li button{ transition:.3s; border:none; width:176px; cursor:pointer; height:44px; line-height:44px; font-family:'Open Sans',sans-serif; background:#fff; font-size:16px; text-align:center; color:#000; }
.fo_mfoul li button:hover{ transform:translateX(10px); background:var(--dark); color:#fff; }
.fo_mfoul li.fo-code{ display:flex; gap:10px; align-items:center; }
.fo_mfoul li.fo-code input{ flex:1; width:auto; }
.fo_mfoul li.fo-code img{ height:46px; cursor:pointer; border-radius:2px; flex:none; }

/* ===================== 响应式 ===================== */
@media (max-width:1200px){
  .hp-sol-grid{ grid-template-columns:repeat(2,1fr); }
  .hp-eq-grid,.hp-news-grid{ grid-template-columns:repeat(2,1fr); }
  .fomri{ padding-left:55px; padding-right:95px; }
  .fomle{ padding-right:12px; padding-left:15px; }
}
@media (max-width:991px){
  .he_top{ display:none; }
  #header{ top:0; height:70px; }
  #header .warper{ height:70px; }
  .logo img{ height:44px; }
  #nav nav{
    position:absolute; top:70px; left:0; right:0; background:#fff;
    max-height:0; overflow:hidden; transition:.3s; box-shadow:0 8px 20px rgba(0,0,0,.1);
  }
  #nav.open nav{ max-height:82vh; overflow:auto; }
  #nav ul#show{ flex-direction:column; align-items:stretch; }
  #nav ul#show > li{ border-top:1px solid #f2f2f2; }
  #nav ul#show > li > a{ line-height:52px; padding:0 20px; }
  .nav-sub{ position:static; display:none; box-shadow:none; }
  .dropdown.sub-open .nav-sub{ display:block; }
  .nav-button{ display:block; }
  .head-sm-height{ height:70px !important; }
  .hp-hero{ min-height:460px; }
  .hp-hero h1{ font-size:40px; }
  .hp-hero p{ font-size:18px; }
  .fometop{ padding:32px 0 40px 0; }
  .fomle,.fometop:before{ display:none; }
  .fomri{ width:100%; float:none; padding:0 30px; }
  .fo_mess h2{ font-size:34px; }
  .fo_mfoul li input{ height:50px; }
}
@media (max-width:768px){
  .hp-sol-grid,.hp-eq-grid,.hp-news-grid{ grid-template-columns:1fr; }
  .hp-hero h1{ font-size:30px; }
  .hp-sec-title h2{ font-size:32px; }
  .fomri{ padding:0 20px; }
  .fo_mess h2{ font-size:28px; }
  .fo_mfoul li{ margin-bottom:5px; }
  .fo_mfoul li.fo-row{ flex-direction:column; }
  .fo_mfoul li.fo-submit{ margin-top:10px; }
  .fo_mfoul li button{ width:100%; }
}

/* ===================== 全站页脚信息带（fobotdi） ===================== */
.fobotdi{ background:#1f1f1f; color:#bbb; padding:56px 0 0; }
.fobotdi .fobowb{ display:flex; flex-wrap:wrap; gap:36px; }
.fobotdi .fobitem1{ flex:1 1 300px; }
.fobotdi .fobitem2,.fobotdi .fobitem3{ flex:1 1 160px; }
.fobotdi .fobitem4{ flex:1 1 200px; }
.fobotdi h4{ color:#fff; font-size:17px; margin:0 0 18px; padding-left:12px; border-left:3px solid var(--orange); font-family:'Oswald',sans-serif; letter-spacing:.5px; }
.fobotdi .fobitem1 p{ color:#9a9a9a; line-height:1.9; font-size:14px; margin:0 0 18px; }
.fobotdi .media a{ display:inline-block; width:36px; height:36px; line-height:36px; text-align:center; border:1px solid #444; border-radius:50%; color:#bbb; margin-right:10px; transition:.25s; }
.fobotdi .media a:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }
.fobotdi .foull{ list-style:none; padding:0; margin:0; }
.fobotdi .foull li{ margin-bottom:11px; }
.fobotdi .foull a{ color:#aeaeae; font-size:14px; transition:.2s; }
.fobotdi .foull a:hover{ color:var(--orange); padding-left:5px; }
.fobotdi .flinkul{ list-style:none; padding:0; margin:0; }
.fobotdi .flinkul li{ margin-bottom:14px; color:#aeaeae; font-size:14px; line-height:1.6; }
.fobotdi .flinkul i{ color:var(--orange); margin-right:8px; }
.fobotdi .flinkul a{ color:#aeaeae; }
.fobotdi .flinkul a:hover{ color:var(--orange); }
.fobotdi .flinkul li.fo-wechat{ display:block; }
.fobotdi .fo-wechat-label{ display:block; margin-bottom:8px; }
.fobotdi .fo-wechat-qr{ display:block; width:90px; max-width:100%; padding:5px; background:#fff; border-radius:4px; }
.fobotdi .copyright{ background:#171717; margin-top:44px; padding:18px 0; text-align:center; }
.fobotdi .copyright p{ margin:0; color:#888; font-size:13px; }
.fobotdi .copyright a{ color:var(--orange); }

@media (max-width:991px){
  .fobotdi .fobowb{ gap:24px; }
  .fobotdi .fobitem1{ flex:1 1 100%; }
}
@media (max-width:768px){
  .fobotdi .fobitem2,.fobotdi .fobitem3,.fobotdi .fobitem4{ flex:1 1 100%; }
}
