/* =========================================================
   泰州市皓宸达工艺品有限公司 - 官网首页样式
   style.css
   ========================================================= */

:root{
  --red:        #c62b2b;
  --red-dark:   #9e1d1d;
  --red-deep:   #7a1414;
  --green:      #2f6b3a;
  --green-dark: #1f4a29;
  --green-deep: #16351d;
  --gold:       #d9ad3d;
  --gold-light: #e9c96d;
  --cream:      #faf5ec;
  --cream-2:    #f4ebdd;
  --paper:      #ffffff;
  --ink:        #2b241d;
  --ink-soft:   #554c42;
  --muted:      #8a7f70;
  --line:       #eadfce;
  --shadow-sm:  0 6px 18px rgba(90, 50, 20, .08);
  --shadow-md:  0 18px 40px rgba(90, 50, 20, .12);
  --radius:     18px;
  --radius-sm:  12px;
  --wrap:       1500px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans SC","Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul,ol{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
.iconfont{ line-height:1; }

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

/* 滚动条美化 */
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--cream-2); }
::-webkit-scrollbar-thumb{ background:#d8c4a3; border-radius:8px; }
::-webkit-scrollbar-thumb:hover{ background:var(--gold); }

/* ---------- 顶部信息条 ---------- */
.topbar{
  background:linear-gradient(90deg, var(--green-deep), var(--green-dark));
  color:#e9f2e4;
  font-size:13.5px;
}
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; height:42px; gap:16px; }
.topbar .tb-left, .topbar .tb-right{ display:flex; align-items:center; gap:22px; }
.topbar a{ display:inline-flex; align-items:center; gap:6px; transition:color .3s; }
.topbar a:hover{ color:#fff; }
.topbar .iconfont{ font-size:15px; color:var(--gold-light); }
.topbar .tb-right a .iconfont{ font-size:16px; }

/* ---------- 头部导航 ---------- */
.header{
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 var(--line);
  transition:box-shadow .35s, background .35s;
  position: sticky; /*核心*/
  top: 0;
  z-index: 999;
  /* 可选优化，减少重绘 */
  contain: layout paint;
}
.header.scrolled{ box-shadow:0 8px 24px rgba(90,50,20,.10); }
.header .wrap{ display:flex; align-items:center; justify-content:space-between; height:86px; gap:24px; transition:height .35s; }
.header.scrolled .wrap{ height:72px; }

.brand{ display:flex; align-items:center; gap:13px; }
.brand .logo{
  width:52px; height:52px; border-radius:14px; flex:none;
  background:linear-gradient(135deg, var(--red), var(--red-dark));
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(198,43,43,.35);
}
.brand .logo .iconfont{ font-size:30px; color:#fff; }
.brand .logo i{ font-style:normal; font-size:30px; }
.brand .b-name{ font-size:24px; font-weight:800; letter-spacing:2px; color:var(--ink); }
.brand .b-name span{ color:var(--red); }
.brand .b-en{ font-size:11px; letter-spacing:2.5px; color:var(--muted); text-transform:uppercase; }

.nav ul{ display:flex; align-items:center; gap:6px; }
.nav a{
  position:relative; display:block; padding:10px 13px;
  font-size:15.5px; color:var(--ink-soft); 
  /*font-weight:600;   letter-spacing:1px;*/
  transition:color .3s;
}
.nav a::after{
  content:""; position:absolute; left:15px; right:15px; bottom:4px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease);
  border-radius:2px;
}
.nav a:hover, .nav a.active{ color:var(--red); }
.nav a:hover::after, .nav a.active::after{ transform:scaleX(1); }

.header-cta{ display:flex; align-items:center; gap:12px; }
.header-tel{ display:flex; align-items:center; gap:9px; color:var(--ink); }
.header-tel .iconfont{ font-size:22px; color:var(--red); }
.header-tel .t-num{ font-size:19px; font-weight:800; color:var(--red); letter-spacing:.5px; }
.header-tel .t-tip{ font-size:11.5px; color:var(--muted); line-height:1.2; }
.hamburger{ display:none; width:44px; height:44px; border-radius:10px; background:var(--cream-2); color:var(--ink); font-size:22px; }
.hamburger .iconfont{ font-size:22px; }

/* ---------- 通用按钮 ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 30px; border-radius:40px; font-size:15px; font-weight:700; letter-spacing:1px;
  transition:transform .3s, box-shadow .3s, background .3s, color .3s;
}
.btn .iconfont{ font-size:16px; }
.btn-red{ background:linear-gradient(135deg, var(--red), var(--red-dark)); color:#fff; box-shadow:0 12px 24px rgba(198,43,43,.32); }
.btn-red:hover{ transform:translateY(-3px); box-shadow:0 18px 32px rgba(198,43,43,.42); }
.btn-outline{ background:rgba(255,255,255,.14); color:#fff; border:1.5px solid rgba(255,255,255,.65); }
.btn-outline:hover{ background:#fff; color:var(--red-dark); transform:translateY(-3px); }
.btn-gold{ background:linear-gradient(135deg, var(--gold), #b98a1f); color:#fff; box-shadow:0 12px 24px rgba(217,173,61,.35); }
.btn-gold:hover{ transform:translateY(-3px); }

/* ---------- 主视觉 Hero ---------- */
.hero{ padding:34px 0 0; }
.hero .hero-swiper{ border-radius:24px; overflow:hidden; box-shadow:var(--shadow-md); }
.hero-slide{ position:relative; height:520px; overflow:hidden; background:var(--red-deep); }
.hero-slide .bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.hero-slide .shade{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(52,14,10,.82) 0%, rgba(90,22,15,.55) 42%, rgba(30,10,6,.15) 75%);
}
.hero-content{
  position:relative; z-index:2; max-width:680px; padding:0 70px;
  height:100%; display:flex; flex-direction:column; justify-content:center; gap:18px; color:#fff;
}
.hero-content .tag{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  padding:7px 16px; border-radius:30px; font-size:13px; letter-spacing:2px;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35);
}
.hero-content .tag .iconfont{ color:var(--gold-light); }
.hero-content h1{ font-size:46px; line-height:1.22; font-weight:800; letter-spacing:2px; }
.hero-content h1 .hl{ color:var(--gold-light); }
.hero-content .sub{ font-size:17px; letter-spacing:2px; color:#f3dfb8; }
.hero-content .desc{ font-size:16.5px; color:rgba(255,255,255,.92); max-width:560px; }
.hero-content .btns{ display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; }

.hero-swiper .swiper-pagination{ bottom:24px; }
.hero-swiper .swiper-pagination-bullet{ width:11px; height:11px; background:#fff; opacity:.45; transition:.3s; }
.hero-swiper .swiper-pagination-bullet-active{ opacity:1; background:var(--gold-light); width:28px; border-radius:6px; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev{
  width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.14);
  color:#fff; border:1px solid rgba(255,255,255,.4); transition:.3s;
}
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover{ background:var(--gold); border-color:var(--gold); }
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after{ font-size:20px; }

/* ---------- 快速特性 ---------- */
.features{ padding:56px 0 12px; }
.features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.feature-card{
  background:var(--paper); border-radius:var(--radius); padding:32px 28px;
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
  display:flex; align-items:flex-start; gap:16px;
  transition:transform .35s var(--ease), box-shadow .35s;
}
.feature-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.feature-card .fic{
  width:58px; height:58px; border-radius:16px; flex:none;
  display:flex; align-items:center; justify-content:center; font-size:28px;
  background:linear-gradient(135deg, var(--red), var(--red-dark)); color:#fff;
}
.feature-card:nth-child(2) .fic{ background:linear-gradient(135deg, var(--green), var(--green-dark)); }
.feature-card:nth-child(3) .fic{ background:linear-gradient(135deg, var(--gold), #b98a1f); }
.feature-card:nth-child(4) .fic{ background:linear-gradient(135deg, #b06a3b, #8c4f24); }
.feature-card h4{ font-size:18px; font-weight:800; margin-bottom:5px; letter-spacing:1px; }
.feature-card p{ font-size:14px; color:var(--muted); }

/* ---------- 通用 section ---------- */
.section{ padding:92px 0; }
.section.alt{ background:var(--cream-2); }
.wrap .section-head{ text-align:center; max-width:760px; margin:0 auto 56px; }
.wrap .section-head .kicker{
  display:inline-flex; align-items:center; gap:8px; padding:7px 18px; border-radius:30px;
  background:rgba(198,43,43,.08); color:var(--red); font-size:13.5px; font-weight:700; letter-spacing:2px; margin-bottom:16px;
}
.wrap .section-head .kicker .iconfont{ font-size:15px; }
.wrap .section-head h3{ font-size:38px; font-weight:800; letter-spacing:3px; line-height:1.25; }
.wrap .section-head h3 .accent{ color:var(--red); }
.wrap .section-head .bar{ width:66px; height:4px; margin:18px auto 16px; border-radius:4px; background:linear-gradient(90deg, var(--gold), var(--red)); }
.wrap .section-head .lead{ font-size:15.5px; color:var(--muted); }

/* ---------- 关于我们 ---------- */
.about-grid{ display:grid; grid-template-columns:1.02fr 1fr; gap:64px; align-items:center; }
.about-media{ position:relative; padding:0 0 46px 0; }
.about-media .big{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow-md); height:460px; }
.about-media .big img{ width:100%; height:100%; object-fit:cover; }
.about-media .small{
  position:absolute; right:6%; bottom:0; width:44%;
  border-radius:18px; overflow:hidden; border:6px solid #fff; box-shadow:var(--shadow-md); height:200px;
}
.about-media .small img{ width:100%; height:100%; object-fit:cover; }
.about-media .badge{
  position:absolute; left:22px; top:22px; z-index:3;
  background:linear-gradient(135deg, var(--red), var(--red-dark)); color:#fff;
  padding:14px 18px; border-radius:14px; box-shadow:var(--shadow-md); text-align:center;
}
.about-media .badge .n{ font-size:26px; font-weight:800; letter-spacing:1px; }
.about-media .badge .t{ font-size:11.5px; letter-spacing:1px; opacity:.9; }

.about-text h3{ font-size:29px; font-weight:800; letter-spacing:1px; line-height:1.35; margin-bottom:18px; }
.about-text h3 .accent{ color:var(--red); }
.about-text .p{ color:var(--ink-soft); font-size:15.5px; margin-bottom:14px; }
.about-points{ margin:22px 0 26px; display:grid; gap:13px; }
.about-points li{ display:flex; align-items:flex-start; gap:11px; font-size:15px; color:var(--ink-soft); }
.about-points .ic{ width:26px; height:26px; border-radius:50%; flex:none; background:rgba(47,107,58,.12); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:14px; }

.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
.stat{ background:var(--cream); border:1px solid var(--line); border-radius:var(--radius-sm); padding:20px 16px; text-align:center; }
.stat .num{ font-size:34px; font-weight:800; color:var(--red); line-height:1.1; }
.stat .num .unit{ font-size:16px; }
.stat .label{ font-size:13.5px; color:var(--muted); margin-top:4px; letter-spacing:1px; }

/* ---------- 产品中心 ---------- */
.products-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.product-card{
  background:var(--paper); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
  transition:transform .4s var(--ease), box-shadow .4s;
}
.product-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-md); }
.product-card .thumb{ position:relative; height:250px; overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.product-card:hover .thumb img{ transform:scale(1.09); }
.product-card .thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(40,15,8,.35)); }
.product-card .p-icon{
  position:absolute; z-index:2; top:16px; left:16px;
  width:50px; height:50px; border-radius:14px; background:rgba(255,255,255,.92);
  color:var(--red); display:flex; align-items:center; justify-content:center; font-size:25px; box-shadow:0 6px 16px rgba(0,0,0,.15);
}
.product-card .p-body{ padding:22px 22px 24px; }
.product-card .p-body .en{ font-size:11.5px; letter-spacing:2px; color:var(--gold); text-transform:uppercase; font-weight:700; }
.product-card h3{ font-size:21px; font-weight:800; margin:6px 0 9px; letter-spacing:1px; }
.product-card p{ font-size:14px; color:var(--muted); min-height:44px; }
.product-card .more{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; color:var(--red); font-weight:700; font-size:14.5px; }
.product-card .more .iconfont{ transition:transform .3s; }
.product-card .more:hover .iconfont{ transform:translateX(5px); }

.tags{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:42px; }
.tags .chip{
  display:inline-flex; align-items:center; gap:7px; padding:10px 20px; border-radius:30px;
  background:var(--paper); border:1px solid var(--line); color:var(--ink-soft); font-size:14.5px;
  transition:.3s;
}
.tags .chip .iconfont{ color:var(--gold); }
.tags .chip:hover{ border-color:var(--gold); color:var(--red-dark); transform:translateY(-3px); }

/* ---------- 核心优势 ---------- */
.advantages{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(217,173,61,.25), transparent 60%),
    linear-gradient(135deg, var(--green-deep), var(--green-dark) 60%, #285837);
  color:#fff;
}
.advantages::before{
  content:""; position:absolute; inset:0; opacity:.05; pointer-events:none;
  background-image:repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 14px);
}
.advantages .section-head .kicker{ background:rgba(255,255,255,.12); color:var(--gold-light); }
.advantages .section-head .lead{ color:rgba(255,255,255,.75); }
.advantages .section-head .bar{ background:linear-gradient(90deg, var(--gold-light), #fff); }
.adv-grid{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.adv-card{
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius); padding:36px 30px; backdrop-filter:blur(4px);
  transition:transform .4s var(--ease), background .4s, border-color .4s;
}
.adv-card:hover{ transform:translateY(-8px); background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.35); }
.adv-card .a-top{ display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.adv-card .aic{ width:62px; height:62px; border-radius:18px; flex:none; display:flex; align-items:center; justify-content:center; font-size:30px; color:#fff; background:linear-gradient(135deg, var(--gold), #b98a1f); box-shadow:0 10px 22px rgba(0,0,0,.25); }
.adv-card h4{ font-size:20px; font-weight:800; letter-spacing:1px; }
.adv-card p{ font-size:14.5px; color:rgba(255,255,255,.78); }

/* ---------- 工厂实景 ---------- */
.gallery-swiper{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow-md); }
.gallery-swiper .swiper-slide{ position:relative; height:440px; }
.gallery-swiper .swiper-slide img{ width:100%; height:100%; object-fit:cover; }
.gallery-slide .cap{
  position:absolute; left:0; right:0; bottom:0; padding:30px 34px; color:#fff;
  background:linear-gradient(180deg, transparent, rgba(20,8,4,.78));
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.gallery-slide .cap h5{ font-size:20px; font-weight:800; letter-spacing:1px; }
.gallery-slide .cap span{ font-size:13px; opacity:.85; }
.gallery-swiper .swiper-pagination-fraction{ color:#fff; background:rgba(0,0,0,.35); padding:5px 14px; border-radius:20px; font-size:13px; width:auto; left:auto; right:18px; bottom:18px; }
.gallery-swiper .swiper-button-next, .gallery-swiper .swiper-button-prev{ color:#fff; width:46px; height:46px; background:rgba(0,0,0,.28); border-radius:50%; transition:.3s; }
.gallery-swiper .swiper-button-next:hover, .gallery-swiper .swiper-button-prev:hover{ background:var(--red); }
.gallery-swiper .swiper-button-next::after, .gallery-swiper .swiper-button-prev::after{ font-size:18px; }

/* ---------- 定制流程 ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.process-grid .iconfont{font-size: 30px;}
.process-step{ position:relative; text-align:center; padding:38px 26px 30px; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s; }
.process-step:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.process-step .p-num{
  position:absolute; top:-20px; left:50%; transform:translateX(-50%);
  width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg, var(--red), var(--red-dark));
  color:#fff; font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 16px rgba(198,43,43,.35);
}
.process-step .pic{ width:70px; height:70px; margin:6px auto 18px; border-radius:20px; display:flex; align-items:center; justify-content:center; font-size:34px; color:#fff; background:linear-gradient(135deg, var(--green), var(--green-dark)); }
.process-step:nth-child(2) .pic{ background:linear-gradient(135deg, var(--gold), #b98a1f); }
.process-step:nth-child(3) .pic{ background:linear-gradient(135deg, #b06a3b, #8c4f24); }
.process-step:nth-child(4) .pic{ background:linear-gradient(135deg, var(--red), var(--red-dark)); }
.process-step h4{ font-size:19px; font-weight:800; margin-bottom:8px; letter-spacing:1px; }
.process-step p{ font-size:14px; color:var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-band{
  position:relative; overflow:hidden; border-radius:24px; color:#fff;
  background:linear-gradient(100deg, var(--red-deep), var(--red) 55%, #d94f3a);
  padding:56px 60px; display:flex; align-items:center; justify-content:space-between; gap:36px;
  box-shadow:var(--shadow-md);
}
.contact-band::after{ content:""; position:absolute; right:-40px; top:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.08); }
.contact-band::before{ content:""; position:absolute; left:-30px; bottom:-70px; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.07); }
.contact-band .cb-left{ position:relative; z-index:2; }
.contact-band .cb-left h3{ font-size:30px; font-weight:800; letter-spacing:2px; margin-bottom:10px; }
.contact-band .cb-left p{ color:rgba(255,255,255,.9); font-size:15.5px; }
.contact-band .cb-right{ position:relative; z-index:2; text-align:center; flex:none; }
.contact-band .cb-right .big{ font-size:34px; font-weight:800; letter-spacing:1px; display:flex; align-items:center; gap:12px; }
.contact-band .cb-right .big .iconfont{ font-size:30px; }
.contact-band .cb-right .small{ font-size:13px; opacity:.85; margin-top:4px; }

.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:36px; }
/*.contact-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; box-shadow:var(--shadow-sm); display:flex; gap:16px; align-items:flex-start; transition:transform .35s, box-shadow .35s; }
.contact-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.contact-card .cic{ width:56px; height:56px; flex:none; border-radius:16px; background:rgba(198,43,43,.1); color:var(--red); display:flex; align-items:center; justify-content:center; font-size:27px; }
.contact-card h5{ font-size:17px; font-weight:800; margin-bottom:6px; letter-spacing:1px; }
.contact-card p{ font-size:15px; color:var(--ink-soft); word-break:break-all; }
*/
/* ---------- 页脚 ---------- */
.footer{ background:#201813; color:#cabfae; padding:70px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:48px; }
.footer .f-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer .f-brand .logo{ width:46px; height:46px; border-radius:12px; background:linear-gradient(135deg, var(--red), var(--red-dark)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; }
.footer .f-brand .b-name{ font-size:20px; font-weight:800; color:#fff; letter-spacing:2px; }
.footer .f-about{ font-size:14px; color:#a99d8b; margin-bottom:20px; }
.footer h4{ color:#fff; font-size:17px; font-weight:800; letter-spacing:2px; margin-bottom:22px; position:relative; padding-left:14px; }
.footer h4::before{ content:""; position:absolute; left:0; top:3px; bottom:3px; width:4px; border-radius:3px; background:var(--gold); }
.footer ul li{ margin-bottom:12px; }
.footer ul a{ color:#a99d8b; font-size:14.5px; transition:color .3s, padding-left .3s; }
.footer ul a:hover{ color:var(--gold-light); padding-left:6px; }
.footer .f-contact li{ display:flex; gap:10px; color:#a99d8b; font-size:14.5px; }
.footer .f-contact .iconfont{ color:var(--gold); font-size:17px; margin-top:3px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:22px 0; text-align:center; font-size:13px; color:#8c8172; }
.footer-bottom .disc{ margin-top:6px; font-size:12px; color:#6f6658; }

/* ---------- 返回顶部 ---------- */
.backtop{
  position:fixed; right:26px; bottom:30px; z-index:300;
  width:50px; height:50px; border-radius:14px; background:linear-gradient(135deg, var(--red), var(--red-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px;
  box-shadow:0 12px 24px rgba(198,43,43,.4); opacity:0; visibility:hidden; transform:translateY(16px);
  transition:.35s;
}
.backtop.show{ opacity:1; visibility:visible; transform:none; }
.backtop:hover{ transform:translateY(-4px); }

/* ---------- 动效：滑入 ---------- */
.reveal{ opacity:0; transform:translateY(46px); transition:opacity .9s var(--ease), transform .9s var(--ease); will-change:opacity, transform; }
.reveal.from-left{ transform:translateX(-60px); }
.reveal.from-right{ transform:translateX(60px); }
.reveal.zoom{ transform:scale(.9); }
.reveal.is-visible{ opacity:1; transform:none; }
.d1{ transition-delay:.08s; } .d2{ transition-delay:.18s; } .d3{ transition-delay:.28s; }
.d4{ transition-delay:.38s; } .d5{ transition-delay:.48s; } .d6{ transition-delay:.58s; }

/* ---------- 响应式 ---------- */
@media (max-width:1280px){
  .hero-slide{ height:460px; }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1024px){
  .about-grid{ grid-template-columns:1fr; gap:48px; }
  .adv-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .nav, .header-tel{ display:none; }
  .hamburger{ display:flex; align-items:center; justify-content:center; }
  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:34px; }
}
@media (max-width:768px){
  .section{ padding:68px 0; }
  .wrap{ padding:0 20px; }
  .hero-slide{ height:420px; }
  .hero-content{ padding:0 28px; max-width:100%; }
  .hero-content h1{ font-size:34px; }
  .hero-content .desc{ font-size:15px; }
 .wrap  .section-head h3{ font-size:30px; }
  .stats{ grid-template-columns:repeat(3,1fr); }
  .contact-band{ flex-direction:column; text-align:center; padding:44px 28px; }
  .topbar .tb-left{ display:none; }
  .topbar .wrap{ justify-content:center; }
  .features-grid, .adv-grid, .process-grid, .products-grid{ grid-template-columns:1fr; }
  .gallery-swiper .swiper-slide{ height:320px; }
  .about-media .big{ height:320px; }
}
@media (max-width:480px){
  .hero-slide{ height:400px; }
  .hero-content h1{ font-size:28px; }
  .hero-content .tag{ font-size:12px; }
  .brand .b-name{ font-size:20px; }
  .footer-grid{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr 1fr 1fr; gap:10px; }
  .stat .num{ font-size:26px; }
}
/* ---------- 移动端导航（补丁） ---------- */
@media (max-width:1024px){
  .header .wrap{ position:relative; }
  .nav{
    position:absolute; top:100%; left:0; right:0;
    background:#fff; display:none; border-radius:0 0 16px 16px;
    box-shadow:0 18px 34px rgba(60,35,15,.16); overflow:hidden;
  }
  .nav.open{ display:block; }
  .nav ul{ flex-direction:column; align-items:stretch; gap:0; padding:6px 0; }
  .nav li{ border-bottom:1px solid var(--line); }
  .nav li:last-child{ border-bottom:none; }
  .nav a{ padding:15px 22px; font-size:15.5px; }
  .nav a::after{ display:none; }
  .nav a:hover, .nav a.active{ background:var(--cream); }
}
@media (max-width:600px){
  .header-cta .btn{ display:none; }
}

/*===== 新闻资讯板块样式，匹配原网站风格 =====*/
/* 新闻资讯板块 高权重版本 !important仅用于强制覆盖旧样式，保证grid生效 */
.news-section {
  padding: 60px 0 !important;
  background-color: #fff !important;
}
.news-section .container {
  /*max-width: 1200px !important;*/
  margin: 0 auto !important;
  padding: 0 20px !important;
}
.news-section .section-title {
  text-align: center !important;
  margin-bottom: 40px !important;
}
.news-section .section-title h3 {
  font-size: 28px !important;
  color: #222 !important;
  margin: 0 0 12px !important;
  font-weight: 600 !important;
}
.news-section .section-title p {
  font-size: 15px !important;
  color: #666 !important;
  margin: 0 !important;
}

/* 核心：网格布局，PC一行4个卡片，强制覆盖原有flex/float */
.news-section .news-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.news-section .news-item {
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
  display: block !important;
  width: 100% !important;
}
.news-section .news-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  transform: translateY(-4px) !important;
}

/* 图片区域 */
.news-section .news-img {
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
}
.news-section .news-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s !important;
  display:block !important;
}
.news-section .news-item:hover .news-img img {
  transform: scale(1.05) !important;
}

/* 文字信息区 */
.news-section .news-info {
  padding: 18px !important;
}
.news-section .news-date {
  font-size: 13px !important;
  color: #999 !important;
  margin-bottom: 10px !important;
}
.news-section .news-info h4 {
  margin: 0 0 10px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.news-section .news-info h4 a {
  color: #222 !important;
  text-decoration: none !important;
}
.news-section .news-info h4 a:hover {
  color: #c8102e !important;
}
.news-section .news-info p {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.6 !important;
  margin: 0 0 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.news-section .news-read {
  display: inline-block !important;
  font-size:14px !important;
  color:#c8102e !important;
  text-decoration:none !important;
}
.news-section .news-read:hover {
  text-decoration: underline !important;
}

.news-section .news-more {
  text-align:center !important;
  margin-top:40px !important;
}
.news-section .more-btn {
  display: inline-block !important;
  padding:10px 28px !important;
  background:#c8102e !important;
  color:#fff !important;
  text-decoration:none !important;
  border-radius:4px !important;
  transition:0.25s !important;
}
.news-section .more-btn:hover {
  background:#a80c24 !important;
}

/* 响应式 */
@media (max-width:992px){
  .news-section .news-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width:768px){
  .news-section .news-list {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .news-section .news-img {
    height: 200px !important;
  }
}



