/* 好亿安新材料 - 多页面站点共享样式 */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif;color:#24344d;background:#fff;line-height:1.7}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
:root{--blue:#0757ad;--deep:#063d82;--cyan:#09a8d1;--gold:#f3a633;--light:#f5f9fd;--text:#24344d}
.container{width:min(1180px,92%);margin:auto}

/* ===== 顶部导航 ===== */
.topbar{height:72px;background:rgba(255,255,255,.96);position:absolute;left:0;right:0;top:0;z-index:20;box-shadow:0 1px 8px rgba(0,0,0,.08)}
.nav{height:72px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:11px;min-width:255px}
.brand img{height:52px;width:auto}
.menu{display:flex;height:100%}
.menu a{padding:0 25px;display:flex;align-items:center;font-size:14px;color:#333;transition:.25s}
.menu a:hover,.menu a.active{background:#0757ad;color:#fff}
.menu-toggle{display:none;background:none;border:0;font-size:24px;color:#0757ad;cursor:pointer;padding:6px 10px}

/* ===== 首页 Hero ===== */
.hero{min-height:590px;padding-top:72px;position:relative;overflow:hidden;color:#fff;background:
  radial-gradient(circle at 18% 72%,rgba(98,177,255,.35),transparent 30%),
  linear-gradient(105deg,rgba(5,67,142,.92),rgba(19,119,184,.65) 54%,rgba(10,47,94,.9)),
  linear-gradient(135deg,#0c559d,#0b79ad)}
.hero:before{content:"";position:absolute;inset:72px 0 0;background:
  repeating-linear-gradient(72deg,transparent 0 38px,rgba(255,255,255,.06) 39px 40px),
  repeating-linear-gradient(0deg,transparent 0 48px,rgba(255,255,255,.04) 49px 50px);
  transform:skewX(-8deg);opacity:.8}
.hero:after{content:"";position:absolute;right:-10%;top:90px;width:62%;height:100%;background:
  linear-gradient(90deg,transparent,rgba(255,255,255,.1)),
  repeating-linear-gradient(25deg,transparent 0 42px,rgba(255,255,255,.14) 43px 45px),
  repeating-linear-gradient(115deg,transparent 0 55px,rgba(255,255,255,.1) 56px 58px);
  transform:perspective(500px) rotateY(-20deg) rotateZ(-4deg);opacity:.7}
.hero-content{position:relative;z-index:2;text-align:center;padding:110px 10px 120px}
.eyebrow{font-size:14px;letter-spacing:2px;opacity:.85}
.hero h1{font-size:40px;line-height:1.25;margin:10px 0 12px;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.18)}
.hero .sub{font-size:21px;margin:0 auto 22px}
.slogan{display:inline-block;background:#fff;color:#174d91;padding:7px 18px;font-weight:700;font-size:15px;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.scroll{margin:68px auto 0;width:40px;height:40px;border:2px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;font-size:22px;animation:bounce 1.8s infinite}
@keyframes bounce{50%{transform:translateY(8px)}}

/* ===== 首页关于我们 ===== */
.about{position:relative;padding:78px 0 104px;background:
  radial-gradient(circle at 12% 60%,rgba(255,255,255,.22),transparent 14%),
  radial-gradient(circle at 82% 70%,rgba(255,255,255,.18),transparent 17%),
  linear-gradient(160deg,#0795bb,#0d63aa 60%,#07549d);color:#fff;overflow:hidden}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;position:relative;z-index:2}
.factory img{height:310px;width:100%;object-fit:cover;border:2px solid rgba(255,255,255,.75)}
.about-card{background:rgba(255,255,255,.97);color:#3d4a5c;padding:28px 32px;box-shadow:0 14px 35px rgba(0,0,0,.14)}
.section-kicker{font-size:12px;letter-spacing:1px;text-transform:uppercase;opacity:.8}
.about-card h2,.section-title h2{margin:0 0 12px;font-size:26px;color:#104f9a}
.gold-line{height:3px;width:56px;background:var(--gold);margin:0 0 20px}
.about-card p{font-size:14px;margin:0 0 12px;text-align:justify}
.more{display:inline-block;margin-top:8px;background:#124fa5;color:#fff;padding:9px 25px;font-size:13px;transition:.25s}
.more:hover{background:#f3a633;color:#104f9a}

/* ===== 首页产品 ===== */
.products{padding:78px 0 92px;position:relative;color:#fff;background:
  radial-gradient(circle at 50% 55%,rgba(161,91,196,.27),transparent 30%),
  linear-gradient(135deg,#073b83,#075e9f 50%,#06366f)}
.products:before{content:"";position:absolute;inset:0;opacity:.16;background:
  radial-gradient(circle at 9% 50%,transparent 0 100px,rgba(52,190,255,.9) 101px 103px,transparent 104px 165px,rgba(52,190,255,.6) 166px 168px,transparent 169px),
  radial-gradient(circle at 93% 36%,transparent 0 110px,rgba(52,190,255,.8) 111px 113px,transparent 114px 180px)}
.section-title{position:relative;z-index:2;margin-bottom:28px}
.section-title h2{color:#fff}
.section-title .gold-line{margin-bottom:8px}
.section-title span{font-size:12px;opacity:.85}
.tabs{display:flex;overflow:auto;margin-bottom:28px;position:relative;z-index:2}
.tabs span{white-space:nowrap;padding:9px 17px;background:rgba(4,24,71,.72);font-size:12px;border-right:1px solid rgba(255,255,255,.1);cursor:pointer;transition:0.25s}
.tabs span.active-tab{background:#f3a633;color:#000}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;position:relative;z-index:2}
.product{background:#05245e;padding:18px 12px 15px;text-align:center;border:1px solid rgba(255,255,255,.1);transition:.25s}
.product.hide-product{display:none}
.product:hover{transform:translateY(-7px);box-shadow:0 15px 30px rgba(0,0,0,.25)}
.product-visual{height:145px;background:#49acd0;display:grid;place-items:center;overflow:hidden;margin-bottom:16px}
.product-visual img{width:100%;height:100%;object-fit:cover}
.product h3{font-size:13px;margin:0;color:#fff;font-weight:600}
.product p{font-size:10px;color:#a9c5e8;margin:4px 0 0}

/* ===== 首页新闻 ===== */
.news{padding:76px 0 92px;position:relative;overflow:hidden;color:#fff;background:
  radial-gradient(circle at 16% 25%,rgba(42,195,225,.35),transparent 25%),
  radial-gradient(circle at 75% 35%,rgba(35,84,177,.35),transparent 30%),
  linear-gradient(160deg,#07557e,#071d53)}
.news-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;position:relative;z-index:2}
.news-list{border-top:1px solid rgba(255,255,255,.15)}
.news-item{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.news-item:hover h3{color:#f3c06a}
.date{background:#fff;color:#244e8b;text-align:center;height:52px;display:flex;flex-direction:column;justify-content:center;line-height:1.1}
.date b{font-size:20px}.date small{font-size:9px}
.news-item h3{font-size:13px;font-weight:500;margin:2px 0;color:#fff}
.news-item p{font-size:11px;color:#a9c6e3;margin:0}
.news-note{padding-top:14px;border-top:1px solid rgba(255,255,255,.15);font-size:12px;color:#9abbdc}

/* ===== 首页联系 ===== */
.contact{padding:74px 0 86px;background:linear-gradient(135deg,#0c4b92,#1672bc);color:#fff}
.contact .section-title h2{color:#fff}
.contact-grid{display:grid;grid-template-columns:.95fr 1.25fr;gap:45px;background:rgba(255,255,255,.12);padding:34px;backdrop-filter:blur(5px)}
.contact-info{background:#fff;color:#3f4d5e;padding:12px 18px;align-self:start}
.contact-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5ebf2;font-size:13px}
.contact-row:last-child{border-bottom:0}
.icon{width:34px;height:34px;border-radius:50%;background:#0d56a8;color:#fff;display:grid;place-items:center;font-size:16px;flex:none}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.contact-form input,.contact-form textarea{width:100%;border:0;padding:12px 14px;background:rgba(255,255,255,.92);font:inherit;outline:none}
.contact-form textarea{grid-column:1/-1;min-height:115px;resize:vertical}
.contact-form button{border:0;background:#f39d39;color:#fff;padding:11px 28px;font-weight:700;cursor:pointer;grid-column:1/-1;justify-self:start}

/* ===== 子页面 Banner ===== */
.page-banner{padding:130px 0 46px;color:#fff;background:
  radial-gradient(circle at 18% 72%,rgba(98,177,255,.35),transparent 30%),
  linear-gradient(105deg,rgba(5,67,142,.92),rgba(19,119,184,.65) 54%,rgba(10,47,94,.9)),
  linear-gradient(135deg,#0c559d,#0b79ad)}
.page-banner h1{margin:0 0 6px;font-size:30px}
.breadcrumb{font-size:13px;opacity:.85}
.breadcrumb a:hover{color:#f3c06a}

/* ===== 子页面主体 ===== */
.page-body{padding:55px 0 80px;background:var(--light)}
.about-detail{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:start}
.about-text h2{color:#104f9a;font-size:24px;margin:0 0 4px}
.about-text .gold-line{margin:10px 0 22px}
.about-text p{font-size:14px;text-align:justify;margin:0 0 14px;color:#3d4a5c}
.about-photo img{width:100%;height:360px;object-fit:cover;border:6px solid #fff;box-shadow:0 14px 35px rgba(16,79,154,.18)}
.honor-strip{margin-top:34px;background:#fff;padding:26px 30px;box-shadow:0 8px 24px rgba(16,79,154,.08)}
.honor-strip h3{margin:0 0 12px;color:#104f9a;font-size:18px}
.honor-strip ul{margin:0;padding-left:20px;font-size:14px;color:#3d4a5c}
.honor-strip li{margin-bottom:6px}

/* 新闻列表页 */
.news-page-list{background:#fff;box-shadow:0 8px 24px rgba(16,79,154,.08);padding:10px 30px}
.news-row{display:grid;grid-template-columns:64px 1fr auto;gap:20px;align-items:center;padding:20px 0;border-bottom:1px dashed #dfe7f0}
.news-row:last-child{border-bottom:0}
.news-row .date{height:56px}
.news-row h3{font-size:15px;margin:0 0 4px;color:#24344d;font-weight:600}
.news-row:hover h3{color:#0757ad}
.news-row p{margin:0;font-size:12px;color:#8798ad}
.news-tag{font-size:12px;color:#0d56a8;background:#e8f2fc;padding:3px 12px;border-radius:20px;white-space:nowrap}

/* 文章详情页 */
.article{background:#fff;box-shadow:0 8px 24px rgba(16,79,154,.08);padding:36px 42px}
.article h1{font-size:24px;color:#104f9a;margin:0 0 10px;line-height:1.4}
.article-meta{font-size:12px;color:#8798ad;border-bottom:1px solid #e5ebf2;padding-bottom:16px;margin-bottom:24px}
.article p{font-size:15px;text-align:justify;margin:0 0 16px;color:#3d4a5c}
.article h2{font-size:18px;color:#104f9a;margin:26px 0 12px}
.article ul,.article ol{padding-left:22px;font-size:15px;color:#3d4a5c;margin:0 0 16px}
.article li{margin-bottom:8px}
.article-footer{margin-top:30px;padding-top:18px;border-top:1px solid #e5ebf2;display:flex;justify-content:space-between;font-size:13px}
.article-footer a{color:#0757ad}
.article-footer a:hover{color:#f3a633}

/* 联系/留言页 */
.contact-page-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:38px}
.contact-card{background:#fff;box-shadow:0 8px 24px rgba(16,79,154,.08);padding:26px 28px}
.contact-card h3{margin:0 0 14px;color:#104f9a;font-size:18px}
.message-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#fff;box-shadow:0 8px 24px rgba(16,79,154,.08);padding:28px}
.message-form label{font-size:13px;color:#3d4a5c;display:grid;gap:6px}
.message-form input,.message-form select,.message-form textarea{width:100%;border:1px solid #d8e2ee;padding:11px 13px;font:inherit;font-size:14px;background:#fbfdff;outline:none}
.message-form input:focus,.message-form select:focus,.message-form textarea:focus{border-color:#0757ad}
.message-form textarea{grid-column:1/-1;min-height:130px;resize:vertical}
.message-form button{border:0;background:#f39d39;color:#fff;padding:12px 32px;font-weight:700;cursor:pointer;font-size:14px;grid-column:1/-1;justify-self:start;transition:.25s}
.message-form button:hover{background:#0757ad}
.form-tip{grid-column:1/-1;margin:0;font-size:12px;color:#8798ad}

footer{background:#062b5b;color:#a9c1df;text-align:center;padding:22px 10px;font-size:12px}
footer a:hover{color:#fff}

/* ===== 响应式 ===== */
@media (max-width:900px){
  .menu a{padding:0 13px;font-size:12px}.brand{min-width:auto}
  .hero h1{font-size:34px}.about-grid,.news-layout,.contact-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{gap:25px}
  .about-detail,.contact-page-grid{grid-template-columns:1fr}
  .news-row{grid-template-columns:56px 1fr}
  .news-tag{display:none}
}
@media (max-width:620px){
  .topbar,.nav{height:auto}.nav{min-height:68px;align-items:center;padding:10px 0}
  .brand img{height:44px}
  .menu-toggle{display:block}
  .menu{display:none;width:100%;height:auto;order:3;flex-direction:column;background:#fff;box-shadow:0 10px 18px rgba(0,0,0,.1)}
  .menu.open{display:flex}
  .menu a{padding:13px 18px;border-top:1px solid #eef2f7}
  .hero{padding-top:110px;min-height:560px}.hero-content{padding:75px 5px}.hero h1{font-size:27px}.hero .sub{font-size:17px}
  .about{padding:55px 0 70px}.factory img{height:230px}.about-card{padding:22px}
  .product-grid{grid-template-columns:1fr 1fr;gap:9px}.product-visual{height:115px}
  .news-layout{gap:35px}.contact-grid{padding:20px}.contact-form{grid-template-columns:1fr}.contact-form textarea{grid-column:auto}
  .page-banner{padding:118px 0 36px}.page-banner h1{font-size:24px}
  .article{padding:26px 20px}.news-page-list{padding:6px 18px}
  .message-form{grid-template-columns:1fr;padding:20px}
  .about-photo img{height:230px}
}
