/* =========================================================
   临沂同行智能科技有限公司 · 官网样式
   企业级版式：白底 + 单一主色 + 大留白 + 小圆角
   ========================================================= */

:root{
  --ink:      #101828;
  --ink-2:    #344054;
  --gray:     #667085;
  --gray-2:   #98a2b3;
  --line:     #e4e7ec;
  --line-2:   #d0d5dd;
  --bg:       #ffffff;
  --soft:     #f8f9fb;
  --brand:    #1652c4;
  --brand-d:  #0f3d96;
  --warm:     #b45309;
  --maxw:     1280px;
  --ease:     cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; font-weight:700; line-height:1.3; letter-spacing:-.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
table{ border-collapse:collapse; width:100%; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

::selection{ background:rgba(22,82,196,.14); }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:#f2f4f7; }
::-webkit-scrollbar-thumb{ background:#c8cfd8; }
::-webkit-scrollbar-thumb:hover{ background:#aab4c0; }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 32px; }

/* ---------- 通用按钮 ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding:0 28px; border-radius:2px;
  font-size:15px; font-weight:500; white-space:nowrap;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--brand-d); }
.btn-line{ border:1px solid var(--line-2); color:var(--ink); background:#fff; }
.btn-line:hover{ border-color:var(--ink-2); color:var(--brand); }
.btn-sm{ height:38px; padding:0 20px; font-size:14px; }

.arrow{ display:inline-block; transition:transform .25s var(--ease); }
.link-more:hover .arrow,
.sec-link:hover .arrow{ transform:translateX(4px); }

/* ---------- 顶部 ---------- */
.header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  background:#fff; border-bottom:1px solid transparent;
  transition:border-color .3s, box-shadow .3s;
}
.header.scrolled{ border-bottom-color:var(--line); box-shadow:0 1px 3px rgba(16,24,40,.06); }
.header-inner{
  height:72px; display:flex; align-items:center; justify-content:space-between; gap:32px;
}

.logo{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.logo-mark{ width:32px; height:32px; color:var(--brand); flex:0 0 32px; }
.logo-text{ display:flex; flex-direction:column; line-height:1.15; }
.logo-text strong{ font-size:17px; font-weight:700; letter-spacing:.04em; color:var(--ink); }
.logo-text em{
  font-style:normal; font-size:8.5px; letter-spacing:.2em;
  color:var(--gray-2); margin-top:3px;
}

.nav{ display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav a{
  position:relative; padding:10px 16px; font-size:15px; color:var(--ink-2);
  transition:color .2s;
}
.nav a:hover{ color:var(--brand); }
.nav a.active{ color:var(--brand); }
.nav a.active::after{
  content:""; position:absolute; left:16px; right:16px; bottom:2px;
  height:2px; background:var(--brand);
}

.header-right{ display:flex; align-items:center; gap:20px; flex:0 0 auto; }
.header-tel{
  font-size:15px; font-weight:600; color:var(--ink); letter-spacing:.02em;
  font-variant-numeric:tabular-nums;
}
.header-tel:hover{ color:var(--brand); }

.nav-toggle{
  display:none; width:40px; height:40px; margin-left:4px;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ width:20px; height:1.5px; background:var(--ink); transition:transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero{ padding:136px 0 72px; border-bottom:1px solid var(--line); }
.hero-inner{
  display:grid; grid-template-columns:1fr 1.05fr; gap:64px; align-items:center;
}
.hero-eyebrow{
  font-size:13px; letter-spacing:.08em; color:var(--gray);
  margin-bottom:20px; padding-left:14px; position:relative;
}
.hero-eyebrow::before{
  content:""; position:absolute; left:0; top:50%; width:6px; height:6px;
  background:var(--brand); transform:translateY(-50%);
}
.hero h1{
  font-size:clamp(2rem,3.6vw,3.1rem);
  font-weight:700; letter-spacing:-.025em; line-height:1.22;
  margin-bottom:24px; color:var(--ink);
}
.hero-desc{
  font-size:16px; line-height:1.85; color:var(--gray);
  max-width:520px; margin-bottom:36px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:48px; }

.hero-meta{
  display:flex; flex-wrap:wrap;
  border-top:1px solid var(--line); padding-top:20px;
}
.hero-meta li{
  font-size:13.5px; color:var(--gray); padding-right:24px; margin-right:24px;
  border-right:1px solid var(--line);
}
.hero-meta li:last-child{ border-right:0; margin-right:0; padding-right:0; }

.hero-media img{ width:100%; height:auto; border-radius:2px; background:#f2f4f6; }

/* ---------- 区块通用 ---------- */
.section{ padding:88px 0; }
.section-soft{ background:var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.sec-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  padding-bottom:24px; border-bottom:1px solid var(--line-2); margin-bottom:48px;
}
.sec-en{
  display:block; font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gray-2); margin-bottom:12px; font-weight:500;
}
.sec-head h2{ font-size:clamp(1.6rem,2.4vw,2rem); font-weight:700; letter-spacing:-.02em; }
.sec-desc{
  margin-top:12px; font-size:15px; line-height:1.8; color:var(--gray); max-width:600px;
}
.sec-link{
  font-size:14.5px; color:var(--gray); white-space:nowrap;
  display:inline-flex; align-items:center; gap:6px; padding-bottom:4px;
  transition:color .2s;
}
.sec-link:hover{ color:var(--brand); }

/* ---------- 业务板块 ---------- */
.biz{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.biz-item{
  display:block; padding-top:24px; border-top:1px solid var(--line-2);
  transition:border-color .3s;
}
.biz-item:hover{ border-top-color:var(--brand); }
.biz-no{
  display:block; font-size:13px; font-weight:600; letter-spacing:.1em;
  color:var(--brand); font-variant-numeric:tabular-nums;
}
.biz-item h3{ font-size:20px; margin:14px 0 10px; }
.biz-item p{ font-size:14.5px; line-height:1.8; color:var(--gray); }
.link-more{
  display:inline-flex; align-items:center; gap:6px; margin-top:20px;
  font-size:14px; color:var(--brand);
}

/* ---------- 产品网格 ---------- */
.pgrid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.pcard{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line);
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover{
  border-color:var(--brand);
  box-shadow:0 10px 28px -14px rgba(16,24,40,.22);
  transform:translateY(-2px);
}
.pcard-media{
  aspect-ratio:1/1; background:#f4f6f8; overflow:hidden;
  display:grid; place-items:center;
}
.pcard-media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease);
}
.pcard:hover .pcard-media img{ transform:scale(1.04); }

/* 竖构图产品（如包装实拍）：contain + 正片叠底，让白底融进灰底 */
.pcard-media-fit img{
  object-fit:contain; padding:10px;
  mix-blend-mode:multiply;
}

.pcard-body{ padding:20px 20px 22px; flex:1; }
.pcard-cat{
  display:block; font-size:12px; letter-spacing:.06em; color:var(--brand);
  margin-bottom:8px;
}
.pcard-cat-warm{ color:var(--warm); }
.pcard-body h3{ font-size:17px; font-weight:700; margin-bottom:6px; }
.pcard-spec{ font-size:13px; color:var(--gray); line-height:1.6; }

.pcard-plain .pcard-media{ background:#f4f6f8; }
.pcard-icon{
  width:88px; height:88px; fill:none; stroke:var(--gray-2); stroke-width:2.4;
  stroke-linecap:round; stroke-linejoin:round;
  transition:stroke .3s;
}
.pcard-plain:hover .pcard-icon{ stroke:var(--brand); }

.pcard-more{ border-style:dashed; border-color:var(--line-2); background:#fbfcfd; }
.pcard-more:hover{ border-color:var(--brand); transform:none; box-shadow:none; }
.pcard-more-inner{ padding:24px 22px; display:flex; flex-direction:column; height:100%; justify-content:center; }
.pcard-more h3{ font-size:17px; margin:8px 0 10px; }
.pcard-more p{ font-size:13px; line-height:1.7; color:var(--gray); }

.grid-note{ margin-top:28px; font-size:13px; color:var(--gray-2); line-height:1.7; }

/* ---------- 铁皮剪 ---------- */
.snips{ display:grid; grid-template-columns:1.45fr 1fr; gap:56px; align-items:start; }
.snip-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.snip-thumb{
  margin:0; background:#fff; border:1px solid var(--line);
  transition:border-color .3s;
}
.snip-thumb:hover{ border-color:var(--brand); }
.snip-thumb img{ width:100%; height:auto; aspect-ratio:3/4; object-fit:contain; background:#fff; }
.snip-thumb figcaption{
  padding:12px 10px; font-size:13px; color:var(--gray); text-align:center;
  border-top:1px solid var(--line);
}

.snip-table table{ font-size:14px; }
.snip-table th{
  text-align:left; font-weight:500; font-size:12.5px; color:var(--gray-2);
  padding:0 0 12px; border-bottom:1px solid var(--line-2); letter-spacing:.04em;
}
.snip-table td{ padding:15px 0; border-bottom:1px solid var(--line); color:var(--ink-2); }
.snip-table tbody tr:hover td{ color:var(--brand); }
.snip-note{ margin:20px 0 24px; font-size:13.5px; line-height:1.8; color:var(--gray); }

/* ---------- 解决方案 ---------- */
.sol-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line); border-left:1px solid var(--line);
}
.sol{
  padding:32px 28px 36px;
  border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  background:#fff; transition:background .25s;
}
.sol:hover{ background:#f4f7fb; }
.sol-no{
  display:block; font-size:12.5px; font-weight:600; letter-spacing:.1em;
  color:var(--gray-2); margin-bottom:14px; font-variant-numeric:tabular-nums;
}
.sol h3{ font-size:18px; margin-bottom:8px; }
.sol p{ font-size:14px; line-height:1.75; color:var(--gray); }

/* ---------- 服务 ---------- */
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.svc{ padding-top:22px; border-top:2px solid var(--brand); }
.svc-no{
  display:block; font-size:12.5px; font-weight:600; letter-spacing:.1em;
  color:var(--brand); margin-bottom:12px; font-variant-numeric:tabular-nums;
}
.svc h3{ font-size:18px; margin-bottom:10px; }
.svc p{ font-size:14px; line-height:1.8; color:var(--gray); }

/* ---------- 数据条 ---------- */
.stats-bar{
  display:grid; grid-template-columns:repeat(4,1fr);
  margin-top:72px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.stats-item{ padding:32px 28px; border-right:1px solid var(--line); }
.stats-item:last-child{ border-right:0; }
.stats-item b{
  display:block; font-size:40px; font-weight:700; letter-spacing:-.03em;
  line-height:1.1; color:var(--ink); font-variant-numeric:tabular-nums;
}
.stats-item .unit{ font-size:16px; color:var(--brand); margin-left:3px; font-weight:600; }
.stats-item > span{ display:block; margin-top:8px; font-size:13.5px; color:var(--gray); }

/* ---------- 新闻 ---------- */
.news-list{ }
.news-item{
  display:grid; grid-template-columns:110px 1fr; gap:32px;
  padding:28px 0; border-bottom:1px solid var(--line);
}
.news-item time{
  font-size:13px; color:var(--gray-2); font-variant-numeric:tabular-nums;
  letter-spacing:.02em; padding-top:3px;
}
.news-item h3{
  font-size:16.5px; font-weight:600; margin-bottom:8px; transition:color .2s;
}
.news-item:hover h3{ color:var(--brand); }
.news-item p{ font-size:14px; line-height:1.75; color:var(--gray); }

/* ---------- 关于 ---------- */
.about{ display:grid; grid-template-columns:1.6fr 1fr; gap:72px; align-items:start; }
.about-copy .sec-en{ margin-bottom:14px; }
.about-copy h2{ font-size:clamp(1.6rem,2.4vw,2rem); margin-bottom:28px; }
.about-lead{ font-size:17px; line-height:1.85; color:var(--ink-2); margin-bottom:20px; }
.about-copy p{ font-size:15px; line-height:1.95; color:var(--gray); margin-bottom:18px; }

.info-list{ margin:0; border-top:1px solid var(--line-2); }
.info-list > div{ padding:18px 0; border-bottom:1px solid var(--line); }
.info-list dt{ font-size:12.5px; color:var(--gray-2); margin-bottom:6px; }
.info-list dd{ margin:0; font-size:14.5px; line-height:1.7; color:var(--ink-2); }
.info-list dd a{ color:var(--brand); font-weight:600; }

/* ---------- 联系 ---------- */
.contact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.contact-card{
  display:block; padding:28px 24px 30px;
  background:#fff; border:1px solid var(--line);
  transition:border-color .25s, box-shadow .25s;
}
a.contact-card:hover{
  border-color:var(--brand); box-shadow:0 10px 24px -16px rgba(16,24,40,.25);
}
.contact-label{
  display:block; font-size:12.5px; color:var(--gray-2); margin-bottom:12px;
  letter-spacing:.04em;
}
.contact-card b{
  display:block; font-size:23px; font-weight:700; letter-spacing:-.01em;
  color:var(--ink); font-variant-numeric:tabular-nums;
}
.contact-addr{ font-size:17px !important; line-height:1.5; }
.contact-card em{
  display:block; margin-top:8px; font-style:normal; font-size:12.5px; color:var(--gray-2);
}

/* ---------- 页脚 ---------- */
.footer{ background:#0f1729; color:#98a2b3; padding:64px 0 28px; }
.footer-top{
  display:grid; grid-template-columns:1fr 2fr; gap:48px;
  padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1);
}
.footer .logo-text strong{ color:#fff; }
.footer .logo-text em{ color:#5c6b82; }
.footer .logo-mark{ color:#4f7fe0; }
.footer-slogan{ margin-top:20px; font-size:13.5px; color:#8b98ab; }
.footer-tel{
  display:inline-block; margin-top:14px; font-size:20px; font-weight:700; color:#fff;
  letter-spacing:.02em; font-variant-numeric:tabular-nums;
}
.footer-tel:hover{ color:#7aa2f0; }

.footer-nav{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.footer-col h4{ font-size:14px; color:#fff; font-weight:600; margin-bottom:16px; }
.footer-col a{
  display:block; font-size:13.5px; color:#8b98ab; padding:5px 0;
  transition:color .2s;
}
.footer-col a:hover{ color:#fff; }

.footer-bottom{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding-top:24px; font-size:12.5px; color:#6b7a90;
}

/* ---------- 移动端悬浮拨号 ---------- */
.call-fab{
  display:none; position:fixed; right:16px; bottom:18px; z-index:90;
  align-items:center; gap:7px; padding:11px 18px; border-radius:2px;
  background:var(--brand); color:#fff; font-size:14px; font-weight:500;
  box-shadow:0 10px 24px -10px rgba(15,23,41,.6);
}
.call-fab svg{ width:17px; height:17px; }

/* ---------- 滚动淡入 ---------- */
[data-reveal]{ opacity:0; transform:translateY(14px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width:1120px){
  .pgrid{ grid-template-columns:repeat(3,1fr); }
  .hero-inner{ gap:40px; }
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
  .snips{ grid-template-columns:1fr; gap:40px; }
  .about{ gap:48px; }
}

@media (max-width:980px){
  .hero{ padding:120px 0 64px; }
  .hero-inner{ grid-template-columns:1fr; gap:48px; }
  .hero-desc{ max-width:none; }
  .biz{ grid-template-columns:1fr; gap:32px; }
  .svc-grid{ grid-template-columns:1fr; gap:32px; }
  .sol-grid{ grid-template-columns:repeat(2,1fr); }
  .about{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:40px; }
}

@media (max-width:820px){
  .container{ padding:0 20px; }
  .header-inner{ height:64px; gap:16px; }
  .nav{
    position:fixed; inset:64px 0 auto 0;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-bottom:1px solid var(--line);
    padding:8px 20px 20px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:transform .25s var(--ease), opacity .25s var(--ease);
    box-shadow:0 12px 24px -16px rgba(16,24,40,.3);
  }
  .nav.open{ transform:none; opacity:1; pointer-events:auto; }
  .nav a{ padding:14px 0; border-bottom:1px solid var(--line); font-size:15.5px; }
  .nav a.active::after{ display:none; }
  .nav-toggle{ display:flex; }
  .header-tel{ display:none; }
  .header-right .btn{ display:none; }
  .call-fab{ display:inline-flex; }

  .section{ padding:64px 0; }
  .sec-head{ flex-direction:column; align-items:flex-start; gap:16px; margin-bottom:36px; }
  .pgrid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .stats-bar{ grid-template-columns:repeat(2,1fr); margin-top:48px; }
  .stats-item{ border-bottom:1px solid var(--line); }
  .stats-item:nth-child(2n){ border-right:0; }
  .stats-item:nth-last-child(-n+2){ border-bottom:0; }
}

@media (max-width:620px){
  .hero{ padding:104px 0 56px; }
  .hero-meta li{ font-size:12.5px; padding-right:16px; margin-right:16px; }
  .hero-actions .btn{ flex:1; }
  .pgrid{ grid-template-columns:1fr; }
  .sol-grid{ grid-template-columns:1fr; }
  .snip-gallery{ gap:10px; }
  .news-item{ grid-template-columns:1fr; gap:8px; padding:22px 0; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-nav{ grid-template-columns:repeat(2,1fr); gap:32px 24px; }
  .footer-bottom{ flex-direction:column; }
  .stats-item b{ font-size:32px; }
  .contact-card b{ font-size:20px; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important; scroll-behavior:auto !important;
  }
  [data-reveal]{ opacity:1; transform:none; }
}
