/* 宁波金穗电子商务有限公司 — 企业介绍网站样式 */

:root {
  --blue-900: #0d3557;
  --blue-700: #14507e;
  --blue-600: #1a5fa3;
  --gold-500: #d9a527;
  --gold-600: #c18f1b;
  --ink: #22303f;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(13, 53, 87, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

.container { width: min(1080px, 92%); margin: 0 auto; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 顶部 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
  flex: none;
}
.brand-text { font-size: 19px; font-weight: 700; color: var(--blue-900); letter-spacing: 0.5px; }
.brand-sub { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 2px; }

.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
}
.site-nav a:hover { background: var(--bg); text-decoration: none; }
.site-nav a.active { background: var(--blue-700); color: #fff; }

/* ---------- 首屏 ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(217, 165, 39, 0.18), transparent 60%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero h1 { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: 2px; }
.hero .hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ffe9b3;
}
.hero p.hero-lead {
  margin-top: 18px;
  max-width: 720px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 15px;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-gold { background: var(--gold-500); color: #fff; font-weight: 600; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }

/* ---------- 通用分节 ---------- */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 {
  font-size: 26px;
  color: var(--blue-900);
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-head h2::before,
.section-head h2::after {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
}
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- 产品卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(13, 53, 87, 0.12); }
.card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf2fa, #f6f9fd);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; color: var(--blue-900); margin-bottom: 8px; letter-spacing: 1px; }
.card p { font-size: 14px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--gold-600); font-weight: 600; }

/* ---------- 首页简介 ---------- */
.intro-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.intro-wrap h2 { font-size: 24px; color: var(--blue-900); letter-spacing: 1px; margin-bottom: 16px; }
.intro-wrap p { color: #46586b; margin-bottom: 12px; text-align: justify; }
.intro-stats {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius);
  color: #fff;
  padding: 30px 26px;
}
.intro-stats .stat { padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); }
.intro-stats .stat:last-child { border-bottom: none; }
.intro-stats .stat b { display: block; font-size: 20px; color: #ffd77a; }
.intro-stats .stat span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* ---------- 产品中心分类 ---------- */
.cat-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; margin-bottom: 28px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.cat-head .icon {
  width: 52px; height: 52px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2fa, #f6f9fd);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
}
.cat-head h3 { font-size: 20px; color: var(--blue-900); letter-spacing: 1px; }
.cat-head small { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0; font-size: 13px; }
.cat-block > p { color: #46586b; font-size: 15px; }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 5px 14px;
  background: #f1f5fa;
  border: 1px solid #dbe5f0;
  border-radius: 999px;
  font-size: 13px;
  color: var(--blue-700);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 优势/理念 ---------- */
.point-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ---------- 联系条 ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-size: 22px; letter-spacing: 1px; }
.cta-strip p { color: rgba(255, 255, 255, 0.85); font-size: 15px; margin-top: 6px; }

/* ---------- 联系页 ---------- */
.contact-card { text-align: center; }
.contact-card .icon { margin: 0 auto 16px; }
.contact-card b { display: block; font-size: 17px; color: var(--blue-900); margin-bottom: 6px; letter-spacing: 1px; }
.contact-card p { font-size: 15px; color: #46586b; word-break: break-all; }
.card-p-small { font-size: 13px !important; color: var(--muted) !important; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 30px 0 26px;
  margin-top: 64px;
}
.site-footer .footer-inner { text-align: center; }
.footer-copy { font-size: 14px; }
.footer-icp { margin-top: 8px; font-size: 14px; }
.footer-icp a { color: #ffd77a; }
.footer-icp a:hover { color: #ffe9b3; }
.footer-nav { margin-top: 10px; font-size: 13px; }
.footer-nav a { color: rgba(255, 255, 255, 0.7); margin: 0 10px; }
.footer-nav a:hover { color: #fff; }

/* ---------- 页面顶部横幅（内页） ---------- */
.page-banner {
  background:
    radial-gradient(900px 300px at 90% -20%, rgba(217, 165, 39, 0.16), transparent 60%),
    linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 46px 0;
}
.page-banner h1 { font-size: 26px; letter-spacing: 2px; }
.page-banner p { margin-top: 8px; color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .intro-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 66px; }
  .header-inner { justify-content: center; }
  .brand-text { font-size: 17px; }
  .cat-block { padding: 24px 20px; }
}
