/* ============================================================
   防爆硅胶加热毯 / 防爆硅胶加热套 — 冠博科技
   explosionproof-heating.yinliushi.store
   Design system: industrial steel-blue + safety amber
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-2: #12365a;
  --steel: #1d5a8a;
  --steel-2: #2f7fb8;
  --amber: #f5a524;
  --amber-deep: #e07f00;
  --orange: #ff7a1a;
  --bg: #f7f9fc;
  --bg-soft: #eef3f8;
  --card: #ffffff;
  --ink: #1f2a37;
  --ink-2: #3b4a5a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #d4dde8;
  --ok: #0e9f6e;
  --danger: #d92d20;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 67, .06), 0 2px 8px rgba(15, 42, 67, .05);
  --shadow: 0 4px 16px rgba(15, 42, 67, .08), 0 12px 40px rgba(15, 42, 67, .08);
  --shadow-lg: 0 8px 28px rgba(15, 42, 67, .14), 0 24px 70px rgba(15, 42, 67, .16);
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--steel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-deep); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
button { font-family: inherit; cursor: pointer; }

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

.section { padding: 72px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--steel) 100%); color: #eaf1f8; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--amber); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.lead { color: var(--muted); font-size: 17px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; font-size: 18px; }
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  display: grid; place-items: center; color: #fff;
}
.brand .logo-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink-2);
  font-weight: 600; font-size: 15px;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); background: var(--bg-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; transition: all .18s; white-space: nowrap;
}
.btn--primary { background: var(--amber); color: #241a05; box-shadow: 0 4px 14px rgba(245, 165, 36, .35); }
.btn--primary:hover { background: var(--amber-deep); color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--steel); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--steel); color: var(--steel); }
.btn--lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }

.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; border-radius: 9px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--steel) 100%); color: #eaf1f8; padding: 84px 0 96px; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245, 165, 36, .18), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.18; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .sub { font-size: 18px; color: #c7d7e6; max-width: 560px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #dbe7f2;
}
.hero-badges span b { color: var(--amber); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.hero-actions .btn--ghost:hover { border-color: #fff; }

.hero-figure { position: relative; }
.hero-figure .frame {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 16px; backdrop-filter: blur(4px);
  box-shadow: var(--shadow-lg);
}
.hero-figure .frame img { border-radius: 12px; }
.hero-chip {
  position: absolute; background: #fff; color: var(--navy); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.hero-chip .dot { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; flex: 0 0 auto; color: var(--amber-deep); }
.hero-chip.c1 { top: -20px; left: -18px; }
.hero-chip.c2 { bottom: -22px; right: -12px; }

/* spec strip */
.spec-strip { margin-top: -44px; position: relative; z-index: 5; }
.spec-strip .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 26px; box-shadow: var(--shadow);
}
.spec-strip .item { display: flex; gap: 14px; align-items: flex-start; }
.spec-strip .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--bg-soft); display: grid; place-items: center; color: var(--steel); flex: 0 0 auto; }
.spec-strip .item b { display: block; font-size: 20px; color: var(--navy); line-height: 1.2; }
.spec-strip .item span { font-size: 13px; color: var(--muted); }

/* ============ Generic blocks ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--bg-soft);
  display: grid; place-items: center; color: var(--steel); margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.feature-list li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; color: var(--ink-2); }
.feature-list li svg { flex: 0 0 auto; margin-top: 4px; color: var(--ok); }

/* image block */
.figure { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.figure img { width: 100%; height: auto; }

/* spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec tbody th { background: var(--bg-soft); color: var(--navy); font-weight: 700; width: 180px; white-space: nowrap; }
table.spec tbody tr:nth-child(even) td { background: #fbfcfe; }

.compare th:first-child, .compare td:first-child { width: 200px; }
.compare .hl td { background: #fff7e8 !important; }
.compare .hl td:first-child { color: var(--amber-deep); font-weight: 700; }

/* applications */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); padding: 26px 26px 26px 96px; box-shadow: var(--shadow-sm); transition: .2s; }
.app-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.app-card .num {
  position: absolute; left: 22px; top: 24px; width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--steel)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.app-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.app-card p { color: var(--muted); font-size: 14.5px; }
.app-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.app-card .tags span { font-size: 12px; font-weight: 600; color: var(--steel); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }

/* certifications */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.cert .badge { width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg, #0e9f6e, #0b7a56); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; text-align: center; line-height: 1.1; flex: 0 0 auto; }
.cert b { display: block; color: var(--navy); font-size: 15px; }
.cert span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: none; text-align: left; font-size: 16px; font-weight: 700; color: var(--navy); }
.faq-q .plus { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); color: var(--steel); display: grid; place-items: center; font-weight: 800; transition: .2s; }
.faq-item.open .faq-q .plus { background: var(--amber); color: #fff; transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--amber) 0%, #ff8a1a 100%); border-radius: 22px; padding: 46px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #241a05; font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #6a4b10; font-weight: 600; }
.cta-band .btn--navy { box-shadow: 0 6px 18px rgba(15,42,67,.25); }

/* form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(47,127,184,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-success { display: none; padding: 16px; border-radius: 12px; background: #eafaf3; color: var(--ok); font-weight: 700; border: 1px solid #bfe9d6; }
.form-success.show { display: block; }

/* footer */
.site-footer { background: var(--navy); color: #b8c9d8; padding: 60px 0 0; }
.site-footer a { color: #b8c9d8; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 12.5px; color: #7d92a6; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* breadcrumb */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--steel); }
.crumbs span { margin: 0 7px; color: var(--line-2); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--steel) 100%); color: #eaf1f8; padding: 56px 0 66px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 6px 0 14px; }
.page-hero p { color: #c7d7e6; max-width: 720px; font-size: 17px; }

/* pills / stat */
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; color: var(--amber); line-height: 1; }
.stat span { font-size: 13.5px; color: #c7d7e6; }

/* product detail */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prod-gallery .main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.prod-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.prod-gallery .thumbs .t { border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg-soft); cursor: pointer; }
.prod-gallery .thumbs .t.active { border-color: var(--amber); }
.spec-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.spec-mini div { background: var(--bg-soft); border-radius: 11px; padding: 13px 16px; }
.spec-mini b { display: block; color: var(--navy); font-size: 16px; }
.spec-mini span { font-size: 12.5px; color: var(--muted); }

/* responsive */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; }
  .grid-2, .prod-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .cert-grid, .spec-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid-3, .grid-4, .cert-grid, .spec-strip .grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px 20px 30px; gap: 6px; transform: translateX(100%);
    transition: transform .25s ease; border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px; font-size: 16px; border-radius: 10px; }
  .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 84px; }
  .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; }
  .cta-band { padding: 30px 24px; }
  .prod-gallery .thumbs { grid-template-columns: repeat(2, 1fr); }
}
