@charset "utf-8";
/* ==========================================================================
   kt-hf.css — gateway/ 品牌页统一页头（logo+服务热线+主导航）与统一页脚（#foot）
   样式提取自 tech.css（主站 index.html 同源），独立成文件供不加载
   main.css/tech.css 的 gateway/ 静态页使用，避免整站样式冲突。
   深圳市科特时控技术有限公司  /  2026-10-30
   ========================================================================== */

:root{
  --cyan:#00c2ff;
  --cyan-d:#0b9ecf;
  --blue:#1668ff;
  --mono:Consolas,"SF Mono",Menlo,"Courier New",monospace;
  --page-w:min(1440px, calc(100vw - 40px));
}

/* gateway.css 给 body 加了 0 10px 内边距，会让 100vw 满宽页头/页脚错位，去掉 */
body{ padding-left:0; padding-right:0; }
@media screen and (max-width:1460px){
  header,main,footer{ padding-left:10px; padding-right:10px; box-sizing:border-box; }
}

.clear{ clear:both; height:0; font-size:0; line-height:0; overflow:hidden; }

#header,#navMenu,#foot{
  font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB","Segoe UI",Arial,sans-serif;
}

/* ---------- 页头（背景满宽，logo+文字内容收窄至版心，与主站一致） ---------- */
#header{ position:relative; }
#header .logo-set{
  width:100vw;
  left:50%;
  transform:translateX(-50%);
  box-sizing:border-box;
  padding:0 max(0px, calc((100vw - var(--page-w))/2));
  height:127px;
  position:relative;
  background-color:#0a1826;
  background-image:url(../images/logo_dark.png);
  background-repeat:no-repeat;
  background-position:0 0;
  box-shadow:0 1px 0 rgba(0,194,255,.22), 0 10px 26px rgba(6,15,27,.20);
  border-bottom:1px solid rgba(0,194,255,.16);
}
#header .logo-set.is-tech{
  background-image:
    radial-gradient(560px 170px at 6% -30%, rgba(0,194,255,.20), transparent 68%),
    radial-gradient(520px 200px at 88% 120%, rgba(22,104,255,.18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 56px),
    linear-gradient(100deg,#081522 0%,#0c2236 52%,#08131f 100%);
  display:flex;
  align-items:center;
  padding:0 max(14px, calc((100vw - var(--page-w))/2)) 0 max(14px, calc((100vw - var(--page-w))/2));
  box-sizing:border-box;
}
#header .logo-set.is-tech .logo{
  float:none;
  flex:0 0 222px;
  width:222px;
  height:116px;
  margin:0 0 0 18px;
  background:url(../images/logo_mark.png) no-repeat left center;
  background-size:206px 116px;
}
#header .logo-set.is-tech .set-ad{
  float:none;
  flex:1 1 auto;
  width:auto;
  margin:0;
  display:flex;
  align-items:center;
  gap:26px;
  min-width:0;
}
#header .logo-set.is-tech .tech-brand{
  border-left:1px solid rgba(0,194,255,.40);
  box-shadow:-6px 0 18px -8px rgba(0,194,255,.55);
  padding-left:24px;
  min-width:0;
}
#header .logo-set.is-tech .tech-brand p{ margin:0; }
#header .logo-set.is-tech .tb-1{
  font-size:25px;
  font-weight:700;
  color:#e2eefa;
  letter-spacing:1.2px;
  line-height:1.35;
  white-space:nowrap;
  text-shadow:0 0 18px rgba(0,194,255,.18);
}
#header .logo-set.is-tech .tb-2{
  font-size:17px;
  color:#93aec9;
  letter-spacing:.8px;
  line-height:1.5;
  white-space:nowrap;
}
#header .logo-set.is-tech .tech-tel{
  margin-left:auto;
  font-family:var(--mono);
  font-size:32px;
  font-weight:700;
  letter-spacing:1.5px;
  color:#ff5746 !important;
  text-shadow:0 0 22px rgba(255,70,60,.40);
  white-space:nowrap;
  text-decoration:none;
  transition:color .18s ease,text-shadow .18s ease;
}
#header .logo-set.is-tech .tech-tel:hover{
  color:#ff8676 !important;
  text-shadow:0 0 26px rgba(255,110,90,.65);
}
#header .logo-set::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:linear-gradient(90deg,var(--blue),var(--cyan) 38%,rgba(0,194,255,0) 78%);
  pointer-events:none;
}
#header .logo-set::before{
  content:"";position:absolute;right:14px;top:12px;width:78px;height:10px;
  background-image:repeating-linear-gradient(90deg,rgba(120,200,240,.45) 0 1px,transparent 1px 8px);
  opacity:.5;pointer-events:none;
}

/* ---------- 主导航（背景满宽，导航项收窄至版心） ---------- */
#navMenu{
  width:100vw;
  left:50%;
  transform:translateX(-50%);
  box-sizing:border-box;
  height:48px !important;
  padding:0 max(20px, calc((100vw - var(--page-w))/2)) !important;
  margin:0 !important;
  display:flex;align-items:stretch;justify-content:center;
  position:relative;
  background-image:none !important;
  background:linear-gradient(180deg,#0e2439 0%,#091828 55%,#060f1b 100%) !important;
  box-shadow:0 10px 26px rgba(6,15,27,.22), inset 0 1px 0 rgba(255,255,255,.07);
}
#navMenu::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,194,255,.75),rgba(0,194,255,0));
  pointer-events:none;
}
#navMenu::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 64px);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.6),transparent 80%);
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.6),transparent 80%);
}
#navMenu ul{ display:flex;align-items:stretch;height:48px; margin:0; padding:0; list-style:none; }
#navMenu li{
  float:none;display:block;height:48px;line-height:48px;
  padding:0 !important;margin:0;position:relative;
}
#navMenu li > a{
  display:block;height:48px;line-height:48px;
  padding:0 17px;
  font-size:14.5px;font-weight:400;letter-spacing:.6px;
  color:#c2d5e9 !important;
  text-decoration:none;
  white-space:nowrap;
}
#navMenu li > a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:0;height:2px;
  background:linear-gradient(90deg,var(--cyan),#8ef3ff);
  box-shadow:0 0 10px rgba(0,194,255,.9);
  transition:left .22s ease,right .22s ease;
}
#navMenu li:hover > a{ color:#fff !important; text-shadow:0 0 12px rgba(0,194,255,.55); }
#navMenu li:hover > a::after{ left:14px;right:14px; }
#navMenu li > a.tech-active{ color:#fff !important; }
#navMenu li > a.tech-active::after{
  left:14px;right:14px;
  background:linear-gradient(90deg,var(--cyan),#b6f7ff);
  box-shadow:0 0 14px rgba(0,194,255,.85);
}

/* ---------- 统一页脚 #foot（满视口宽，深空蓝 + 青色光带，与主站一致） ---------- */
#foot{
  width:100vw;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  box-sizing:border-box;
  margin:22px 0 0 !important;
  padding:26px 40px 14px;
  background:
    radial-gradient(900px 220px at 50% 0%, rgba(0,194,255,.14), transparent 72%),
    linear-gradient(180deg,#0b1a2b,#060f1b 70%);
  border-radius:0;
  border-top:1px solid rgba(0,194,255,.28);
  box-shadow:0 -12px 34px rgba(6,15,27,.20);
}
#foot::before{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:260px;height:2px;
  background:linear-gradient(90deg,transparent,var(--cyan),transparent);
}
#foot .nav{
  background-image:none !important;
  background:transparent !important;
  color:#a8bdd2 !important;
  border-bottom:1px solid rgba(255,255,255,.08);
  height:auto !important;line-height:2 !important;
  padding:0 0 10px !important;margin-bottom:14px;
}
#foot .nav a{ color:#a8bdd2 !important; }
#foot .nav a:hover{ color:var(--cyan) !important; }
#foot .info{
  color:#7f93a9 !important;
  line-height:1.9 !important;
  padding-top:6px !important;
  font-size:12.5px;
}
#foot .info a{ color:#8fa6bd !important; }
#foot .info a:hover{ color:var(--cyan) !important; }
/* 页脚胶囊：按类型分 3 组，每组独占一行、行内居中；整块限宽到正文列宽并居中 */
#foot .info .grid-container3{
  display:block !important;
  width:100%;
  max-width:1097px;
  margin:0 auto 16px;
  padding:0;
  box-sizing:border-box;
}
#foot .info .grid-container3 .fg{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px 10px;
}
#foot .info .grid-container3 .fg + .fg{ margin-top:14px; }
#foot .info .grid-container3 > .fg{ flex:0 0 100% !important; min-width:0; }
/* 桌面窄窗口：与正文列同宽（正文列 = 100vw - 383px） */
@media (min-width:960px) and (max-width:1479px){
  #foot .info .grid-container3{ max-width:calc(100vw - 383px); }
}
/* 覆盖 gateway.css 的 .grid-container3>* 三等分 flex，链接按内容自适应 */
#foot .info .grid-container3 a{
  flex:0 0 auto !important;
  display:inline-block;
  padding:4px 11px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  font-size:12px;
  line-height:1.6;
  background:rgba(255,255,255,.03);
  transition:all .18s ease;
}
#foot .info .grid-container3 a:hover{
  border-color:rgba(0,194,255,.55);
  background:rgba(0,194,255,.10);
  color:#d8f6ff !important;
  box-shadow:0 0 14px rgba(0,194,255,.22);
}
/* 备案小图标：不受 gateway.css img{width:100%} 影响 */
#foot .info img{
  width:20px !important; max-width:20px !important; height:20px !important;
  display:inline-block !important; margin:0 4px; border-radius:3px !important;
  vertical-align:-4px;
}
/* 页脚底部：版权 / 备案 / 服务热线 / 三码（联系人·公众号·抖音号） */
#foot .fbot{ display:block; max-width:1097px; margin:0 auto; text-align:center; line-height:1.85; }
#foot .fbot p{ margin:0; }
#foot .fb-copy{ color:#8fa6bd; font-size:12.5px; }
#foot .fb-copy a{ color:#b9cbdb !important; }
#foot .fb-copy a:hover{ color:var(--cyan) !important; }
#foot .fb-reg{ margin-top:2px; font-size:12px; }
#foot .fb-reg a{ display:inline-block; margin:0 5px; color:#7f93a9 !important; }
#foot .fb-reg a:hover{ color:var(--cyan) !important; }
#foot .fb-ic{ width:16px !important; max-width:16px !important; height:16px !important; margin:0 4px 0 0; border:0 !important; vertical-align:-3px; }
#foot .fb-tel{ margin-top:11px; font-size:13px; color:#93a9c1; letter-spacing:.5px; }
#foot .fb-tel a{ font-size:19px; font-weight:700; color:var(--cyan) !important; text-decoration:none; letter-spacing:.6px; }
#foot .fb-tel a:hover{ color:#d8f6ff !important; }
#foot .fb-qr{ display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:24px; margin-top:15px; }
#foot .fb-qr .qr{ text-align:center; flex:0 0 auto; }
#foot .fb-qr .qr img{ display:block; width:108px !important; max-width:108px !important; height:108px !important; padding:6px !important;
  margin:0 auto !important; box-sizing:border-box; background:#fff; border:0;
  border-radius:8px !important; vertical-align:top; object-fit:contain !important; }
#foot .fb-qr .qr span{ display:block; margin-top:6px; font-size:12px; color:#8fa6bd; line-height:1.5; }
@media (max-width:720px){
  #foot .fb-qr{ gap:10px; }
  #foot .fb-tel a{ font-size:18px; }
}

/* ---------- 响应式（与主站 tech.css 同断点） ---------- */
@media screen and (max-width:1300px){
  html, body{ overflow-x:hidden !important; max-width:100% !important; }
  #navMenu{
    justify-content:flex-start !important;
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  #navMenu::-webkit-scrollbar{ height:0; width:0; display:none; }
  #navMenu ul{ flex-wrap:nowrap; }
  #navMenu li{ flex:0 0 auto; }
}

@media screen and (max-width:960px){
  :root{ --page-w:calc(100vw - 20px); }
  html, body{ overflow-x:hidden !important; }
  #header .logo-set,
  #navMenu{
    width:100% !important;
    left:0 !important;
    transform:none !important;
  }
  #foot{
    width:100% !important;
    left:0 !important;
    transform:none !important;
  }
  #header .logo-set{ height:auto !important; }
  #header .logo-set.is-tech{
    height:auto !important;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 10px;
    padding:8px 10px !important;
  }
  #header .logo-set.is-tech .logo{
    flex:0 0 116px;
    width:116px;
    height:62px;
    margin:0 !important;
    background-size:116px 62px;
    background-position:left center;
  }
  #header .logo-set.is-tech .set-ad{
    flex:1 1 140px;
    width:auto;
    min-width:0;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
  }
  #header .logo-set.is-tech .tech-brand{
    border-left:0 !important;
    box-shadow:none !important;
    padding-left:0 !important;
    width:100%;
  }
  #header .logo-set.is-tech .tb-1{
    font-size:13px;
    letter-spacing:0;
    white-space:normal !important;
    line-height:1.38;
  }
  #header .logo-set.is-tech .tb-2{
    font-size:11.5px;
    letter-spacing:0;
    white-space:normal;
    line-height:1.38;
  }
  #header .logo-set.is-tech .tech-tel{
    flex:1 1 100%;
    width:100%;
    margin:2px 0 0 !important;
    font-size:16px;
    letter-spacing:.5px;
    line-height:1.5;
    text-align:left;
  }
  #navMenu{ height:42px !important; padding:0 4px !important; }
  #navMenu ul{ height:42px; }
  #navMenu li{ height:42px; line-height:42px; }
  #navMenu li > a{
    height:42px; line-height:42px;
    padding:0 12px;
    font-size:13px;
    letter-spacing:0;
  }
  #foot{ padding-left:12px !important; padding-right:12px !important; box-sizing:border-box; }
}

@media screen and (max-width:560px){
  #header .logo-set.is-tech .logo{
    flex:0 0 96px; width:96px; height:52px; background-size:96px 52px;
  }
  #header .logo-set.is-tech .tb-1{ font-size:12px; }
  #header .logo-set.is-tech .tb-2{ font-size:11px; }
  #header .logo-set.is-tech .tech-tel{ font-size:15px; }
  #navMenu{ height:40px !important; }
  #navMenu ul{ height:40px; }
  #navMenu li{ height:40px; line-height:40px; }
  #navMenu li > a{ height:40px; line-height:40px; padding:0 10px; font-size:12.5px; }
}
