/* ============================================================
   京津冀激光熔覆加工 · 全站共享样式 (jgrf.cn)
   工业 B2B · 深海军蓝 + 激光橙
   ============================================================ */

:root {
  --navy-900: #0a2340;
  --navy-800: #0e2f52;
  --navy-700: #16406a;
  --blue-600: #1f6fb2;
  --blue-500: #2f86cf;
  --orange-500: #f59a1e;
  --orange-600: #e8860a;
  --orange-700: #d47605;
  --ink-900: #1a2430;
  --ink-700: #3d4a58;
  --ink-500: #6b7887;
  --gray-100: #f4f7fa;
  --gray-200: #e9eef4;
  --line: #dde5ee;
  --white: #ffffff;
  --maxw: 1180px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 35, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 35, 64, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--orange-600); }
ul { list-style: none; }

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

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-900);
  color: #c6d4e4;
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #c6d4e4; }
.topbar .phone strong { color: var(--orange-500); font-size: 15px; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.site-header {
  background: var(--navy-800);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(6, 20, 38, .25);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand .logo svg { width: 24px; height: 24px; }
.brand .brand-name { line-height: 1.25; }
.brand .brand-name .cn { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.brand .brand-name .en { font-size: 11px; color: #9db4cd; letter-spacing: 1px; text-transform: uppercase; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  color: #dfe8f3; font-size: 15.5px; padding: 8px 14px; border-radius: 6px;
  transition: background .18s, color .18s; display: block;
}
.nav-list a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-list a.active { color: #fff; background: var(--orange-600); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer;
  width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-900);
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.hero .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding-block: 74px 86px; padding-inline: 20px; }
.hero .crumb { color: #bcd0e6; font-size: 13.5px; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 800; max-width: 760px; letter-spacing: 1px; }
.hero h1 .accent { color: var(--orange-500); }
.hero .lead { margin-top: 18px; font-size: 17px; color: #dbe7f3; max-width: 720px; line-height: 1.9; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-size: 16px; font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .15s; border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-600); color: #fff; box-shadow: 0 6px 18px rgba(232,134,10,.35); }
.btn-primary:hover { background: var(--orange-700); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 820px; }
.hero-stats .stat { border-left: 3px solid var(--orange-500); padding-left: 16px; }
.hero-stats .num { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: 13.5px; color: #bcd0e6; margin-top: 2px; }

/* ---------- Section 通用 ---------- */
.section { padding: 64px 0; }
.section.gray { background: var(--gray-100); }
.section.dark { background: var(--navy-800); color: #dfe8f3; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-head .eyebrow { color: var(--orange-600); font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.sec-head h2 { font-size: 30px; font-weight: 800; margin-top: 8px; color: var(--navy-900); line-height: 1.4; }
.sec-head p { margin-top: 12px; color: var(--ink-500); font-size: 16px; }
.section.dark .sec-head h2 { color: #fff; }
.section.dark .sec-head p { color: #bcd0e6; }

/* ---------- 核心业务卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-500); }
.card .ic {
  width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #eef5fb; color: var(--blue-600); margin-bottom: 16px;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--ink-700); font-size: 14.5px; line-height: 1.8; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; }

/* ---------- 服务流程 时间轴 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.flow .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; position: relative;
}
.flow .step .n {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.flow .step h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 6px; }
.flow .step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 图文介绍 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.split .media { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h3 { font-size: 24px; color: var(--navy-900); margin-bottom: 16px; line-height: 1.5; }
.split p { color: var(--ink-700); margin-bottom: 14px; line-height: 1.9; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; color: var(--ink-700); font-size: 15px; }
.tick-list .tk { color: var(--orange-600); font-weight: 800; line-height: 1.5; }

/* ---------- 技术特性 ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange-500);
  border-radius: 8px; padding: 18px 20px;
}
.feature h4 { font-size: 16.5px; color: var(--navy-900); margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-700); line-height: 1.75; }

/* ---------- 服务区域 ---------- */
.region-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.region-card h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.region-card h3 .badge { background: var(--orange-600); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-link {
  display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  color: var(--ink-700); font-size: 15px; background: #fbfcfe; transition: all .18s;
}
.city-link:hover { border-color: var(--orange-500); color: var(--orange-600); background: #fff7ec; }
.city-link .cn { font-weight: 600; }

/* ---------- 行业应用 ---------- */
.industry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry .item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: #fff; text-align: center; transition: all .18s;
}
.industry .item:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.industry .item svg { width: 34px; height: 34px; color: var(--blue-600); margin: 0 auto 10px; }
.industry .item h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 6px; }
.industry .item p { font-size: 13px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 文章 / 内容排版 ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 24px; color: var(--navy-900); margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--orange-500); }
.prose h3 { font-size: 19px; color: var(--navy-900); margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-700); line-height: 2; }
.prose ul { margin-bottom: 14px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--ink-700); line-height: 1.9; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange-500); }
.prose strong { color: var(--navy-900); }
.page-title {
  background: var(--navy-800); color: #fff; padding: 46px 0;
}
.page-title .container { display: flex; flex-direction: column; gap: 6px; }
.page-title h1 { font-size: 30px; font-weight: 800; }
.page-title p { color: #bcd0e6; font-size: 15px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.case-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-item .tag { display: inline-block; background: #eef5fb; color: var(--blue-600); font-size: 12.5px; padding: 3px 10px; border-radius: 20px; margin: 18px 20px 0; }
.case-item h3 { font-size: 17px; color: var(--navy-900); margin: 12px 20px 8px; }
.case-item p { font-size: 14px; color: var(--ink-500); margin: 0 20px 18px; line-height: 1.75; }

/* ---------- 联系 CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 800; }
.cta-band p { color: #c6d4e4; margin-top: 8px; }
.cta-band .phone-big { font-size: 30px; font-weight: 800; color: var(--orange-500); letter-spacing: 1px; }
.cta-band .phone-big a { color: inherit; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: #aebfd2; padding: 48px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid a { color: #aebfd2; display: block; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--orange-500); }
.footer-about p { line-height: 1.9; color: #9fb1c6; }
.footer-contact li { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-start; }
.footer-contact .phone { color: var(--orange-500); font-size: 20px; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8497ad; font-size: 13px;
}
.footer-bottom a { color: #8497ad; }

/* ---------- 面包屑 ---------- */
.crumbs { background: var(--gray-100); padding: 12px 0; font-size: 13.5px; color: var(--ink-500); border-bottom: 1px solid var(--line); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--orange-600); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 18px; }
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 9px; background: #eef5fb; color: var(--blue-600); display: flex; align-items: center; justify-content: center; }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line .lbl { font-size: 12.5px; color: var(--ink-500); }
.contact-line .val { font-size: 18px; font-weight: 700; color: var(--navy-900); }
.contact-line .val a { color: var(--navy-900); }
.contact-line .val.orange { color: var(--orange-600); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; color: var(--ink-700); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--ink-900); background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue-500); }
.form-tip { font-size: 13px; color: var(--ink-500); margin-top: 10px; }
.form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 8px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: #e9f7ef; color: #1f7a44; }
.form-msg.warn { display: block; background: #fff3e0; color: #9a5b00; }

/* ---------- FAQ 手风琴 ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item .q { padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; }
.faq-item .q::after { content: "+"; font-size: 22px; color: var(--orange-600); transition: transform .2s; line-height: 1; }
.faq-item.open .q::after { transform: rotate(45deg); }
.faq-item .a { display: none; padding: 0 18px 18px; color: var(--ink-700); line-height: 1.9; font-size: 14.5px; }
.faq-item.open .a { display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .industry { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--navy-800); flex-direction: column; padding: 10px 16px 16px; gap: 2px;
    box-shadow: 0 10px 20px rgba(6,20,38,.3);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 12px; font-size: 16px; }
  .topbar .container { justify-content: center; }
  .hero h1 { font-size: 28px; }
  .hero .hero-inner { padding-block: 50px 60px; }
  .grid-3, .grid-4, .industry, .case-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sec-head h2 { font-size: 25px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band .phone-big { font-size: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand .brand-name .en { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
