/* ============================================================
   佛山市三富新能源科技有限公司 · 企业官网
   设计风格：简约大气 / 新能源绿 + 深石板
   说明：纯静态、无外部依赖，所有图标为内联 SVG，背景为渐变/纯色
   ============================================================ */

:root {
  --brand: #0E9F6E;          /* 新能源绿（主色） */
  --brand-dark: #0B7A54;
  --brand-soft: #E7F5EF;
  --ink: #12202E;            /* 深石板（深色区块） */
  --ink-2: #1C3245;
  --text: #2B3440;
  --muted: #6B7785;
  --bg: #FFFFFF;
  --bg-soft: #F4F7F6;
  --line: #E6EBE9;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 30px rgba(18, 32, 46, .08);
  --shadow-lg: 0 24px 60px rgba(18, 32, 46, .14);
  --maxw: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===================== 导航 ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: .5px;
}
.brand .logo {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(14,159,110,.32);
  flex: none;
}
.brand .logo svg { width: 22px; height: 22px; }
.brand small { display:block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  transition: .2s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--brand-dark); }
.nav-links a.active { color: var(--brand-dark); background: var(--brand-soft); }

.nav-cta {
  margin-left: 10px;
  background: var(--brand);
  color: #fff !important;
  padding: 11px 20px !important;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(14,159,110,.3);
}
.nav-cta:hover { background: var(--brand-dark); }

.lang-link {
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  background: #fff;
  transition: .2s;
  white-space: nowrap;
}
.lang-link:hover { background: var(--brand-soft); color: var(--brand-dark); }
.lang-sep { color: var(--muted); font-weight: 600; margin: 0 2px; }
.lang-cur { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span { display:block; width:20px; height:2px; background:var(--ink); position:relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content:""; position:absolute; left:0; width:20px; height:2px; background:var(--ink);
}
.nav-toggle span::before { top:-6px; }
.nav-toggle span::after { top:6px; }

/* ===================== 通用区块 ===================== */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section.dark .eyebrow { color: #7CE0B6; background: rgba(124,224,182,.14); }
.section-head h2 {
  font-size: 34px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: .5px;
}
.section.dark .section-head h2 { color: #fff; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ===================== 首页 Hero ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(14,159,110,.22), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(28,50,69,.5), transparent 60%),
    linear-gradient(135deg, #0E2233, #12202E 60%, #0B1B28);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 380px at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 116px 0 96px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.hero h1 .hl { color: #5FE3A6; }
.hero p.lead {
  font-size: 18px;
  color: #C5D2DC;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  transition: .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(14,159,110,.36); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(4px);
}
.hero-card h3 { font-size: 17px; color:#fff; margin-bottom: 18px; display:flex; align-items:center; gap:10px; }
.hero-card h3 svg { width:20px; height:20px; color:#5FE3A6; }
.fact-row { display:flex; justify-content:space-between; padding: 13px 0; border-top:1px solid rgba(255,255,255,.1); font-size:14px; }
.fact-row:first-of-type { border-top: none; }
.fact-row span:first-child { color:#A9B8C4; }
.fact-row span:last-child { color:#fff; font-weight:700; }

/* 数据条 */
.stats {
  position: relative;
  background: var(--brand);
  color: #fff;
}
.stats .container { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align:center; padding: 38px 12px; }
.stat .num { font-size: 42px; font-weight: 800; line-height:1; }
.stat .num small { font-size: 20px; font-weight:700; }
.stat .label { margin-top: 12px; font-size: 15px; opacity:.92; }

/* ===================== 卡片网格 ===================== */
.grid { display:grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tag {
  display:inline-block; margin-top:14px;
  font-size:12px; font-weight:700; color: var(--brand-dark);
  background: var(--brand-soft); padding:5px 12px; border-radius:999px;
}

/* 应用领域标签 */
.chips { display:flex; flex-wrap:wrap; gap: 12px; justify-content:center; }
.chip {
  border:1px solid var(--line); background:#fff;
  padding: 12px 22px; border-radius: 999px; font-weight:600; color: var(--text);
  display:flex; align-items:center; gap:9px; transition:.2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip svg { width:18px; height:18px; color: var(--brand); }

/* ===================== 关于：历程时间轴 ===================== */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 28px; }
.timeline::before {
  content:""; position:absolute; left: 7px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(var(--brand), var(--brand-soft));
}
.tl-item { position: relative; padding: 0 0 34px 30px; }
.tl-item::before {
  content:""; position:absolute; left:-28px; top:4px;
  width:16px; height:16px; border-radius:50%;
  background:#fff; border:4px solid var(--brand);
}
.tl-item .year { font-weight:800; color: var(--brand-dark); font-size:16px; }
.tl-item h4 { font-size:18px; color: var(--ink); margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size:15px; }

/* 资质列表 */
.cert-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.cert { text-align:center; padding:26px 16px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.cert .ic { width:50px;height:50px;margin:0 auto 14px;border-radius:13px;background:var(--brand-soft);color:var(--brand-dark);display:grid;place-items:center; }
.cert .ic svg{width:26px;height:26px;}
.cert b { display:block; color: var(--ink); font-size:16px; }
.cert span { color: var(--muted); font-size:13px; }

/* 工商信息表 */
.info-table { width:100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); }
.info-table tr { border-bottom:1px solid var(--line); }
.info-table tr:last-child { border-bottom:none; }
.info-table th, .info-table td { padding: 15px 20px; text-align:left; font-size:15px; vertical-align: top; }
.info-table th { width: 200px; background: var(--bg-soft); color: var(--ink); font-weight:700; }
.info-table td { color: var(--text); }

/* ===================== 产品页 ===================== */
.product {
  display:grid; grid-template-columns: 88px 1fr; gap: 22px;
  align-items: start;
  border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background:#fff; transition:.25s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product .pic {
  width:88px;height:88px;border-radius:16px;background:linear-gradient(135deg,var(--brand-soft),#fff);
  color: var(--brand-dark); display:grid; place-items:center; border:1px solid var(--line);
}
.product .pic svg { width:42px; height:42px; }
.product h3 { color: var(--ink); font-size:19px; margin-bottom:8px; }
.product p { color: var(--muted); font-size:15px; }
.product .specs { margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.product .specs span { font-size:12px; font-weight:700; color:var(--brand-dark); background:var(--brand-soft); padding:5px 12px; border-radius:999px; }

/* ===================== 联系页 ===================== */
.contact-wrap { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:start; }
.contact-info .item { display:flex; gap:16px; padding: 18px 0; border-bottom:1px solid var(--line); }
.contact-info .item:last-child { border-bottom:none; }
.contact-info .ic { width:46px;height:46px;flex:none;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);display:grid;place-items:center; }
.contact-info .ic svg { width:22px; height:22px; }
.contact-info .item b { display:block; color: var(--ink); font-size:15px; margin-bottom:3px; }
.contact-info .item span { color: var(--muted); font-size:14px; }

.form { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form h3 { color: var(--ink); font-size:20px; margin-bottom: 6px; }
.form p.sub { color: var(--muted); font-size:14px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:14px; font-weight:600; color: var(--text); margin-bottom:8px; }
.field input, .field textarea, .field select {
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius:10px;
  font-size:15px; font-family: inherit; color: var(--text); background:#fff; transition:.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn-primary { width:100%; justify-content:center; border:none; }

.map {
  height: 320px; border-radius: var(--radius-lg); overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, #dceee5, transparent 40%),
    linear-gradient(135deg, #eef4f1, #e4ece9);
  position: relative;
  display:grid; place-items:center; color: var(--muted);
}
.map .pin { width:54px;height:54px;border-radius:50%;background:var(--brand);display:grid;place-items:center;color:#fff;box-shadow:0 12px 28px rgba(14,159,110,.4);margin-bottom:12px; }
.map .pin svg { width:26px; height:26px; }

/* ===================== 客户 logo 墙 ===================== */
.clients { display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
.client {
  border:1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align:center;
  background:#fff; font-weight:700; color: var(--ink); transition:.2s;
}
.client:hover { border-color: var(--brand); color: var(--brand-dark); }
.client small { display:block; font-weight:500; color: var(--muted); font-size:12px; margin-top:4px; }

/* ===================== CTA 区块 ===================== */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color:#fff; border-radius: var(--radius-lg);
  padding: 54px 48px; text-align:center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 30px; margin-bottom: 14px; }
.cta-band p { opacity:.92; margin-bottom: 26px; font-size:16px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); }

/* ===================== 页脚 ===================== */
.site-footer { background: var(--ink); color: #B7C4CF; padding: 60px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-grid h4 { color:#fff; font-size:15px; margin-bottom:18px; letter-spacing:1px; }
.footer-grid .brand { color:#fff; margin-bottom: 16px; }
.footer-grid .brand small { color:#7E8C99; }
.footer-grid p { font-size:14px; line-height:1.9; }
.footer-links a { display:block; padding:6px 0; font-size:14px; color:#B7C4CF; transition:.2s; }
.footer-links a:hover { color:#5FE3A6; padding-left:5px; }
.footer-contact p { display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg { width:18px;height:18px;color:#5FE3A6;flex:none;margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:22px; text-align:center; font-size:13px; color:#7E8C99; }

/* ===================== 产品分类（新版含实拍图 + 型号表） ===================== */
.product-list { display: flex; flex-direction: column; gap: 28px; }
.product {
  display: grid; grid-template-columns: 170px 1fr; gap: 28px;
  align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: #fff; transition: .25s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product .pic {
  width: 170px; height: 170px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg,var(--brand-soft),#fff);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .pic svg { width: 56px; height: 56px; color: var(--brand-dark); }
.product-body { min-width: 0; }
.product-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.product-head h3 { margin-bottom: 0; }
.product-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.product-meta .material { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.spec-table th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.spec-table td { color: var(--text); }

/* ===================== 实拍图库 ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-item span { display: block; padding: 12px 14px; font-size: 14px; color: var(--text); font-weight: 600; }

/* ===================== 行业新闻 / 技术信息 ===================== */
.ac-grid { gap: 26px; }
.ac {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ac:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(14,159,110,.14); border-color: var(--brand); }
.ac-cover { width: 100%; height: 180px; overflow: hidden; background: var(--bg-soft); }
.ac-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ac-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.ac-cat { color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.ac-date { color: var(--muted); }
.ac-title { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 10px; }
.ac-sum { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; flex: 1; }
.ac-more { margin-top: 14px; color: var(--brand-dark); font-weight: 700; font-size: 14px; }
.empty-tip { color: var(--muted); padding: 40px 0; text-align: center; }

.article { max-width: 820px; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 28px; display: block; }
.article-body { font-size: 16px; line-height: 2; color: var(--text); }
.article-body p { margin: 0 0 20px; }
.back-link { display: inline-block; color: #7CE0B6; font-weight: 600; text-decoration: none; font-size: 14px; }
.back-link:hover { text-decoration: underline; }

/* ===================== 响应式 ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap:32px; }
  .hero h1 { font-size: 36px; }
  .stats .container { grid-template-columns: repeat(2,1fr); }
  .grid-3, .grid-4, .grid-2, .cert-grid, .clients, .contact-wrap, .gallery-grid, .ac-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product .pic { width: 100%; height: 220px; }
  .clients { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: var(--nav-h); left:0; right:0;
    background:#fff; flex-direction:column; align-items:stretch; gap:0;
    border-bottom:1px solid var(--line); padding: 10px 16px 18px;
    display:none;
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding: 14px 12px; border-radius:8px; }
  .nav-cta { margin: 10px 0 0; text-align:center; }
  .nav-toggle { display:grid; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  .cta-band { padding: 40px 24px; }
  .info-table th { width: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
}
