/* =========================================================
   四川省华天能矿科技有限公司 官网样式
   纯静态站点，无外部依赖，可部署于任意静态服务器
   ========================================================= */
:root{
  --primary:#17335c;
  --primary-2:#20497e;
  --primary-deep:#122643;
  --accent:#e08e2b;
  --accent-deep:#c9751a;
  --ink:#2b2f36;
  --muted:#69707c;
  --line:#e4e8ef;
  --bg:#f5f7fa;
}
*{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 CN",sans-serif;
  color:var(--ink);
  font-size:15px;
  line-height:1.8;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
.container{max-width:1120px;margin:0 auto;padding:0 24px}

/* ---------- 顶部导航 ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:74px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{width:44px;height:44px;flex:none}
.brand-text .cn{display:block;font-size:19px;font-weight:700;color:var(--primary);letter-spacing:.5px;line-height:1.35;white-space:nowrap}
.brand-text .en{display:block;font-size:10px;color:var(--muted);letter-spacing:.6px;line-height:1.3;white-space:nowrap}
.main-nav{display:flex;gap:4px}
.main-nav a{display:block;padding:9px 17px;font-size:15.5px;color:#3c4450;border-radius:4px}
.main-nav a:hover{color:var(--primary);background:var(--bg)}
.main-nav a.active{color:var(--primary);font-weight:700;background:#eef2f8}

/* ---------- 首页 Hero ---------- */
.hero{position:relative;color:#fff;overflow:hidden;background:linear-gradient(118deg,#101f38 0%,#1a3a66 52%,#255085 100%)}
.hero-inner{position:relative;z-index:2;padding:104px 0 170px;max-width:780px}
.hero-glow{position:absolute;right:-160px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(224,142,43,.22) 0%,rgba(224,142,43,0) 65%);z-index:1;pointer-events:none}
.kicker{display:inline-block;font-size:12.5px;letter-spacing:4px;color:#f6c87e;border:1px solid rgba(246,200,126,.5);padding:5px 16px;border-radius:999px;margin-bottom:26px}
.hero h1{font-size:40px;font-weight:700;line-height:1.42;letter-spacing:1px}
.hero h1 em{font-style:normal;color:#f2b45c}
.hero .sub{margin-top:20px;font-size:16.5px;color:rgba(255,255,255,.82);letter-spacing:1.5px}
.hero .actions{margin-top:38px;display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-block;padding:11px 32px;border-radius:4px;font-size:15px;letter-spacing:1px;transition:all .22s ease}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-deep);transform:translateY(-1px)}
.btn-ghost{border:1px solid rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}
.hero-deco{position:absolute;left:0;right:0;bottom:-2px;z-index:1;pointer-events:none;width:100%;height:200px}

/* ---------- 通用区块 ---------- */
.section{padding:78px 0}
.section.alt{background:var(--bg)}
.sec-head{text-align:center;margin-bottom:46px}
.sec-head .tag{font-size:13px;letter-spacing:4px;color:var(--accent-deep);font-weight:600}
.sec-head h2{margin-top:8px;font-size:28px;font-weight:700;color:var(--primary);letter-spacing:2px}
.sec-head .bar{display:block;width:46px;height:3px;background:var(--accent);margin:16px auto 0;border-radius:2px}
.sec-head .desc{margin-top:14px;color:var(--muted);max-width:660px;margin-left:auto;margin-right:auto;font-size:14.5px}

/* ---------- 首页：公司简介 ---------- */
.intro{display:flex;gap:52px;align-items:center}
.intro .text{flex:1.25}
.intro .text h3{font-size:21px;color:var(--primary);margin-bottom:14px;letter-spacing:1px}
.intro .text p{color:var(--muted);margin-bottom:12px;text-align:justify}
.intro .text .more{display:inline-block;margin-top:8px;color:var(--accent-deep);font-weight:600;font-size:14.5px}
.intro .text .more:hover{text-decoration:underline}
.intro .panel{flex:1;background:linear-gradient(150deg,#16325c,#20497e);border-radius:10px;color:#fff;padding:34px 32px;position:relative;overflow:hidden}
.intro .panel::after{content:"";position:absolute;right:-40px;bottom:-40px;width:170px;height:170px;border:1px solid rgba(255,255,255,.15);border-radius:50%}
.intro .panel h4{font-size:16px;letter-spacing:2px;margin-bottom:16px;color:#f2b45c}
.intro .panel li{padding:7px 0;border-bottom:1px dashed rgba(255,255,255,.18);font-size:14.5px;color:rgba(255,255,255,.88);display:flex;gap:10px;align-items:center}
.intro .panel li:last-child{border-bottom:none}
.intro .panel li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}

/* ---------- 服务卡片 ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.svc-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:30px 26px;transition:all .25s ease}
.svc-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(18,38,67,.12);border-color:rgba(224,142,43,.55)}
.svc-icon{width:54px;height:54px;border-radius:10px;background:#fbf1e0;color:var(--accent-deep);display:flex;align-items:center;justify-content:center;margin-bottom:18px;flex:none}
.svc-icon svg{width:26px;height:26px}
.svc-card h3{font-size:17.5px;color:var(--primary);margin-bottom:10px;letter-spacing:.5px}
.svc-card p{font-size:14px;color:var(--muted)}

/* ---------- 新闻列表 ---------- */
.news-list{max-width:860px;margin:0 auto}
.news-item{display:flex;gap:24px;padding:22px 6px;border-bottom:1px dashed var(--line);align-items:flex-start}
.news-date{flex:none;width:80px;text-align:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.news-date .d{display:block;font-size:23px;font-weight:700;color:var(--primary);line-height:1.3;padding-top:8px}
.news-date .m{display:block;font-size:12px;color:#fff;background:var(--primary-2);padding:3px 0;letter-spacing:1px}
.news-item h3{font-size:16.5px;color:var(--ink);margin:2px 0 8px}
.news-item h3 a:hover{color:var(--primary)}
.news-item p{font-size:14px;color:var(--muted)}
.news-more{text-align:center;margin-top:28px}
.news-more a{color:var(--accent-deep);font-weight:600;font-size:14.5px}
.news-more a:hover{text-decoration:underline}

/* ---------- 首页 CTA ---------- */
.cta-strip{background:linear-gradient(118deg,#101f38,#20497e);color:#fff}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:44px 0;flex-wrap:wrap}
.cta-inner h3{font-size:22px;letter-spacing:1px}
.cta-inner p{color:rgba(255,255,255,.75);font-size:14px;margin-top:6px}

/* ---------- 子页横幅 ---------- */
.page-banner{position:relative;color:#fff;background:linear-gradient(118deg,#101f38 0%,#1a3a66 55%,#255085 100%);padding:60px 0 66px;overflow:hidden}
.page-banner h1{font-size:30px;letter-spacing:3px;font-weight:700}
.page-banner .crumb{margin-top:12px;font-size:13px;color:rgba(255,255,255,.62);letter-spacing:1px}
.page-banner .crumb a:hover{color:#fff}
.page-banner .hero-deco{height:110px}

/* ---------- 关于我们 ---------- */
.prose{max-width:860px;margin:0 auto}
.prose p{margin-bottom:14px;color:#3a414c;text-align:justify}
.culture-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.culture-card{background:#fff;border-top:3px solid var(--accent);box-shadow:0 4px 16px rgba(18,38,67,.06);padding:30px 22px;text-align:center}
.culture-card .t{display:block;font-size:13px;color:var(--accent-deep);letter-spacing:3px;font-weight:600;margin-bottom:10px}
.culture-card p{font-size:15px;color:var(--primary);font-weight:600}
.flow{display:flex;align-items:stretch;margin-top:8px}
.flow .step{flex:1;background:#fff;border:1px solid var(--line);padding:28px 18px;text-align:center;position:relative}
.flow .step .no{width:40px;height:40px;line-height:40px;border-radius:50%;background:var(--primary);color:#fff;font-weight:700;margin:0 auto 12px}
.flow .step h4{font-size:16px;color:var(--primary);margin-bottom:6px}
.flow .step p{font-size:13px;color:var(--muted)}
.flow .step:not(:last-child)::after{content:"›";position:absolute;right:-14px;top:50%;transform:translateY(-50%);color:var(--accent);font-size:24px;font-weight:700;z-index:2}

/* ---------- 业务范围 ---------- */
.biz-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:34px 34px 30px;margin-bottom:26px}
.biz-item .head{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.biz-item .head .svc-icon{margin-bottom:0}
.biz-item h3{font-size:19px;color:var(--primary);letter-spacing:.5px}
.biz-item .head .en{font-size:12px;color:var(--muted);letter-spacing:1px}
.biz-item>p{color:var(--muted);margin-bottom:16px;text-align:justify}
.biz-item ul{display:flex;flex-wrap:wrap;gap:10px}
.biz-item li{font-size:13.5px;color:var(--primary-2);background:#eef2f8;border-radius:999px;padding:6px 16px}

/* ---------- 联系我们 ---------- */
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;max-width:900px;margin:0 auto}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:30px 28px;display:flex;gap:18px;align-items:flex-start}
.contact-card .c-icon{flex:none;width:48px;height:48px;border-radius:10px;background:#fbf1e0;color:var(--accent-deep);display:flex;align-items:center;justify-content:center}
.contact-card .c-icon svg{width:24px;height:24px}
.contact-card h3{font-size:16px;color:var(--primary);margin-bottom:6px}
.contact-card p{font-size:14.5px;color:var(--muted)}
.contact-note{max-width:900px;margin:26px auto 0;background:#eef2f8;border-left:3px solid var(--accent);border-radius:6px;padding:16px 20px;font-size:13.5px;color:var(--muted)}

/* ---------- 页脚 ---------- */
.site-footer{background:#0e1f3c;color:rgba(255,255,255,.72);font-size:14px}
.footer-main{display:flex;justify-content:space-between;gap:44px;flex-wrap:wrap;padding:52px 0 40px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-col h4{color:#fff;font-size:16px;letter-spacing:2px;margin-bottom:16px}
.footer-col li{margin-bottom:9px}
.footer-col a:hover{color:#fff}
.footer-col .f-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.footer-col .f-brand .cn{font-size:16px;font-weight:700;color:#fff;letter-spacing:.5px}
.footer-col .f-desc{color:rgba(255,255,255,.55);font-size:13.5px;max-width:280px}
.footer-bar{padding:20px 0;text-align:center;font-size:13px;color:rgba(255,255,255,.5);letter-spacing:.5px}
.footer-bar p{margin:3px 0}
.footer-bar a{color:rgba(255,255,255,.78);transition:color .2s}
.footer-bar a:hover{color:#fff}

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .brand-text .en{display:none}
}
@media (max-width:920px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .culture-grid{grid-template-columns:repeat(2,1fr)}
  .intro{flex-direction:column}
  .flow{flex-wrap:wrap;gap:14px}
  .flow .step{flex:1 1 42%}
  .flow .step::after{display:none}
  .contact-grid{grid-template-columns:1fr}
  .footer-main{flex-direction:column}
}
@media (max-width:640px){
  .header-inner{height:auto;flex-direction:column;gap:10px;padding:14px 0}
  .main-nav{flex-wrap:wrap;justify-content:center}
  .hero h1{font-size:29px}
  .hero-inner{padding:70px 0 140px}
  .hero-deco{height:120px}
  .page-banner .hero-deco{height:80px}
  .grid-3{grid-template-columns:1fr}
  .culture-grid{grid-template-columns:1fr}
  .flow .step{flex:1 1 100%}
  .biz-item{padding:26px 20px}
  .news-item{flex-direction:column;gap:12px}
}
