@charset "utf-8";
/* =========================================================================
   高辰科技（常州）有限公司 — 响应式样式
   现代化：流式容器 + CSS Grid 栅格降列 + 小屏结构切换
   断点：1200 / 1080 / 900 / 700 / 520
   ========================================================================= */

/* ───────── ≤1200px：栈距与字号微调 ───────── */
@media screen and (max-width:1200px){
  .head .nav li a{padding:0 12px;font-size:14.5px;}
  .head .nav li a::after{left:12px;right:12px;}
  .head .search{width:186px;margin-left:12px;}
  .i_box{padding:76px 0;}
  .box_h .title{font-size:31px;}
  .banner img{height:clamp(300px,36vw,560px);}
}

/* ───────── ≤1080px：桌面窄屏 → 主要栅格降列 ───────── */
@media screen and (max-width:1080px){
  .head .nav li a{padding:0 9px;font-size:14px;}
  .head .nav li a::after{left:9px;right:9px;}
  .head .search{width:158px;margin-left:10px;}

  .adv_l{grid-template-columns:repeat(2,1fr);gap:18px;}
  .adv .spec{grid-template-columns:repeat(2,1fr);}
  .solution.i_solution{grid-template-columns:repeat(2,1fr);gap:18px;}
  .solution.service{grid-template-columns:repeat(2,1fr);gap:18px;}
  .pro_l ul{grid-template-columns:repeat(2,1fr);gap:20px;}
  .sv_l{grid-template-columns:repeat(2,1fr);gap:18px;}
  .contact_m ul{grid-template-columns:repeat(2,1fr);gap:18px;}
  .part{grid-template-columns:repeat(3,1fr);gap:14px;}

  .scd{gap:32px;}
  .pro_da{gap:30px;}
  .solution dl{padding:26px;gap:26px;}

  .f_bg .f_top{grid-template-columns:1fr 1fr;gap:36px 40px;padding:48px 0 40px;}
  .f_about{grid-column:1 / -1;}
  .f_about > p{max-width:560px;}
}

/* ───────── ≤900px：头部切两行式，内页侧栏横排 ───────── */
@media screen and (max-width:900px){
  .header .head{height:auto;flex-wrap:wrap;gap:14px;padding:14px 0;}
  .head .logo{flex:1;}
  .head .logo img{height:38px;}
  .head .nav{display:none;}
  .head .search{order:2;width:200px;margin:0;}
  .head .nav_m{display:block;order:3;width:100%;margin:0;}

  /* 内页：左栏改为标签式横排，正文整行 */
  .scd{flex-direction:column;gap:24px;padding:30px 0 56px;}
  .scd .scd_l{width:100%;}
  .scd .scd_r{width:100% !important;}
  .scd_l .title{padding:0 0 14px;font-size:20px;}
  .scd_l .s_nav{display:flex;flex-wrap:wrap;gap:10px;}
  .scd_l .s_nav li{width:auto;margin:0;flex:0 1 auto;}
  .scd_l .s_nav li a{padding:9px 16px;font-size:13.5px;}
  .scd_l .s_nav li a:hover{transform:none;}
  .scd_l .s_nav li.on a{box-shadow:0 10px 22px -14px rgba(21,88,214,.7);}

  /* 下单流程示意图：小屏改为横向多列 */
  .scd_l .flow{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0;}
  .scd_l .flow li{flex:none;padding:0;}
  .scd_l .flow li::before{display:none;}

  .pro_da{grid-template-columns:1fr;gap:26px;}
  .pro_da .pro_dar{order:-1;}
  .pro_db{grid-template-columns:1fr;gap:16px;padding:22px;}
  .pro_db .h_bg{padding:0 0 14px;border-right:0;border-bottom:1px dashed var(--line-2);}
  .service_a{grid-template-columns:1fr;gap:22px;}
  .solution dl{grid-template-columns:1fr;gap:22px;padding:24px;}
  .solution dl dt,.solution dl dt img{width:120px;height:120px;}
  .solution dl dd h5{white-space:normal;}

  .scd_r .head{font-size:25px;}
  .i_box{padding:64px 0;}
  .fw{padding:68px 0;}
}

/* ───────── ≤700px：单列为主 ───────── */
@media screen and (max-width:700px){
  .i_box{padding:54px 0;}
  .fw{padding:58px 0;}
  .box_h .title{font-size:25px;padding-bottom:14px;}
  .box_h p{letter-spacing:.24em;font-size:11px;margin-top:12px;}
  .i_box .box_m{margin-top:38px;}
  .scd_r .head{font-size:22px;}
  .scd_r .head em{display:block;margin:8px 0 0;}
  .scd_r .s_ctn{padding:32px 0 12px;}

  .adv_l{grid-template-columns:1fr;gap:16px;}
  .adv .spec{grid-template-columns:1fr 1fr;}
  .adv .spec dl{padding:20px 16px;}
  .adv .spec dt{font-size:18px;}
  .adv .spec dd{font-size:12.5px;}

  .solution.i_solution{grid-template-columns:1fr;}
  .solution.service{grid-template-columns:repeat(2,1fr);gap:14px;}
  .pro_l ul{grid-template-columns:1fr;}
  .sv_l{grid-template-columns:1fr;}
  .contact_m ul{grid-template-columns:1fr;}
  .part{grid-template-columns:repeat(2,1fr);}
  .part li{height:82px;}

  .scd_l .flow{grid-template-columns:1fr 1fr;}

  .banner img{height:clamp(210px,44vw,320px);}
  .banner_s img{height:clamp(130px,26vw,200px);}
  .banner::after{height:70px;}
  .banner .flex-control-nav{bottom:14px;}

  .msg{padding:26px 20px 24px;}
  .f_row{grid-template-columns:1fr;gap:16px;margin-bottom:16px;}
  .msg_h .title{font-size:19px;}
  .btn-sub{width:100%;padding:0 24px;}

  .f_bg .f_top{grid-template-columns:1fr;gap:32px;padding:40px 0 34px;}
  .f_about{grid-column:auto;}
  .f_contact .f_tel .num em{font-size:22px;}
  .f_bg .bq_bg .bq{flex-direction:column;align-items:flex-start;gap:6px;padding:16px 0;font-size:12.5px;}

  .about h1{font-size:23px;}
  .about h2{font-size:18.5px;}
  .to-top{right:14px;bottom:16px;width:42px;height:42px;border-radius:12px;}
}

/* ───────── ≤520px：手机细节 ───────── */
@media screen and (max-width:520px){
  .header .head{padding:12px 0;gap:10px;}
  .head .logo img{height:32px;}
  .head .search{order:3;width:100%;}
  .head .nav_m{order:4;}

  .i_box{padding:44px 0;}
  .box_h .title{font-size:22px;padding-bottom:12px;}
  .box_h p{letter-spacing:.2em;font-size:10.5px;}

  .solution li .l_up{padding:28px 18px 0;}
  .solution li .l_up .tu img{width:74px;}
  .solution li .l_up .title{font-size:16.5px;}
  .solution.service{grid-template-columns:1fr;}
  .service li .tu{width:96px;height:96px;background-size:38px 38px;}

  .adv .spec{grid-template-columns:1fr;}
  .adv .spec dl{display:flex;align-items:baseline;justify-content:space-between;gap:12px;text-align:left;padding:16px;}

  .scd_r .head{font-size:20px;}
  .about p,.about ol li,.scd_r .s_ctn{font-size:14px;}
  .pro_da .pro_dal h5{font-size:19px;}
  .solution dl dd h5,.solution dl dd h5 a{font-size:17px;}
  .his li{padding-bottom:24px;}

  .banner_s img{height:120px;}
  .pages a{height:40px;line-height:40px;padding:0 20px;font-size:13px;}
  .f_about .code img{width:72px;height:72px;}
  .f_contact .f_tel .num em{font-size:19px;}
  .msg{padding:22px 16px;}
}

/* ───────── 首页主视觉 / 内页横幅 ───────── */
@media screen and (max-width:1080px){
  .hero_kpi{grid-template-columns:repeat(2,1fr);}
}
@media screen and (max-width:900px){
  .banner.hero{padding-top:54px;}
  .hero_d{max-width:none;}
}
@media screen and (max-width:700px){
  .banner.hero{padding-top:46px;}
  .hero_k{font-size:11.5px;letter-spacing:.16em;}
  .hero_t{font-size:26px;margin-top:16px;}
  .hero_d{font-size:14.5px;line-height:1.95;margin-top:16px;}
  .hero_btns{margin-top:26px;gap:12px;}
  .hero_btns .btn{width:100%;height:48px;}
  .hero_kpi{margin-top:34px;}
  .hero_kpi li{padding:16px 16px 18px;}
  .hero_kpi b{font-size:15px;}
  .hero_kpi span{font-size:12px;}
  .banner.banner_s{height:140px;}
}
@media screen and (max-width:520px){
  .hero_kpi{grid-template-columns:repeat(2,1fr);}
  .banner.banner_s{height:120px;}
}
@media screen and (max-width:380px){
  .hero_kpi{grid-template-columns:1fr;}
}
