:root {
  --blue: #0b5ed7;
  --blue-dark: #084aa8;
  --amber: #f6a821;
  --ink: #1f2733;
  --muted: #5b6675;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --line: #e6eaf0;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(15, 40, 80, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn-call {
  background: linear-gradient(135deg, var(--amber), #f08a1d);
  color: #fff;
  box-shadow: 0 6px 18px rgba(246, 168, 33, .35);
}
.btn-call:hover { background: linear-gradient(135deg, #f7b13a, #f18a1d); transform: translateY(-1px); }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.btn-lg { padding: 14px 34px; font-size: 17px; }
.btn-xl { padding: 18px 46px; font-size: 22px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #3d8bff);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; color: var(--ink); }
.brand-text small { font-size: 12px; color: var(--muted); }
.btn-header { padding: 10px 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(13, 94, 215, .16), transparent 60%),
    linear-gradient(180deg, #eef4fd, #ffffff 70%);
  text-align: center;
  padding: 64px 0 72px;
}
.hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(11, 94, 215, .08);
  border: 1px solid rgba(11, 94, 215, .18);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 44px; letter-spacing: 2px; }
.hero-sub { margin-top: 12px; font-size: 20px; color: var(--blue-dark); font-weight: 600; }
.hero-desc { margin-top: 12px; color: var(--muted); font-size: 16px; }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-hotline { margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-hotline a { color: var(--blue); font-weight: 700; font-size: 16px; }

/* ---------- 通用区块 ---------- */
.section { padding: 60px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { text-align: center; font-size: 30px; }
.section-sub { text-align: center; color: var(--muted); margin-top: 6px; margin-bottom: 36px; }

.grid { display: grid; gap: 20px; }
.services { grid-template-columns: repeat(5, 1fr); }
.areas { grid-template-columns: repeat(3, 1fr); }
.perks { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 40, 80, .14); }

.service { text-align: center; }
.service-icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(11, 94, 215, .08);
  color: var(--blue);
}
.service-icon svg { width: 32px; height: 32px; fill: currentColor; }
.service h3 { font-size: 19px; margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--muted); }

.area { text-align: center; }
.area-pin {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(246, 168, 33, .12);
  color: #d97e0a;
}
.area-pin svg { width: 30px; height: 30px; fill: currentColor; }
.area h3 { font-size: 19px; }
.area p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.perk strong { color: var(--blue); font-size: 17px; }
.perk p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 正规资质 ---------- */
.badges { grid-template-columns: repeat(4, 1fr); }
.badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.badge-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
}
.badge-icon svg { width: 32px; height: 32px; fill: currentColor; }
.badge-green { background: rgba(15, 138, 77, .1); color: #0f8a4d; }
.badge-blue { background: rgba(11, 94, 215, .08); color: var(--blue); }
.badge-amber { background: rgba(246, 168, 33, .14); color: #c97a08; }
.badge h3 { font-size: 18px; }
.badge p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 锁具批发 ---------- */
.products-section {
  background: linear-gradient(135deg, #0a4bb0, #3d8bff);
  color: #fff;
}
.products-section .section-sub { color: rgba(255, 255, 255, .85); }
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.product {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(10, 40, 90, .25); }
.product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--amber);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.product-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(11, 94, 215, .08);
  color: var(--blue);
}
.product-icon svg { width: 34px; height: 34px; fill: currentColor; }
.product h3 { font-size: 21px; }
.product p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.products-cta { margin-top: 30px; text-align: center; }
.products-cta .btn-call { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* ---------- 联系 ---------- */
.contact {
  background: linear-gradient(135deg, var(--blue), #3d8bff);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.contact h2 { font-size: 30px; }
.contact p { margin-top: 10px; opacity: .9; }
.contact .btn-xl { margin-top: 26px; }

/* ---------- 底部 ---------- */
.site-footer { background: #15202e; color: #aeb9c6; font-size: 14px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand p { margin-top: 4px; }
.footer-links { list-style: none; }
.footer-links li { padding: 2px 0; }
.footer-links a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-copy .container { padding: 14px 0; font-size: 13px; color: #7e8b99; }

/* ---------- 移动端底部操作栏 ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  background: var(--blue);
  box-shadow: 0 -4px 16px rgba(15, 40, 80, .15);
}
.mobile-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.mobile-bar-item svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .btn-header { padding: 10px 14px; font-size: 14px; }
  .section { padding: 46px 0; }
  .section-title { font-size: 25px; }

  .services { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card { padding: 20px 14px; }
  .service-icon { width: 52px; height: 52px; }
  .service-icon svg { width: 28px; height: 28px; }
  .service p { font-size: 13px; }

  .badges { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .badge { padding: 20px 12px; }
  .badge-icon { width: 48px; height: 48px; margin-bottom: 10px; }
  .badge-icon svg { width: 26px; height: 26px; }
  .badge h3 { font-size: 16px; }
  .badge p { font-size: 12px; }

  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product { padding: 22px 16px; }

  .areas { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .area { padding: 18px 8px; }
  .area-pin { width: 44px; height: 44px; margin-bottom: 10px; }
  .area-pin svg { width: 24px; height: 24px; }
  .area h3 { font-size: 15px; }

  .perks { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .perk { padding: 18px 14px; }

  .contact h2 { font-size: 24px; }
  .btn-xl { padding: 16px 34px; font-size: 19px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  body { padding-bottom: 60px; }
  .mobile-bar { display: grid; }
}
