/* 华尖锅炉 — 蓝白企业站 */
:root {
  --hj-blue: #0e4e9e;
  --hj-blue-deep: #0a3a78;
  --hj-blue-light: #1a6fd4;
  --hj-sky: #e8f1fb;
  --hj-mist: #f4f8fc;
  --hj-white: #ffffff;
  --hj-text: #1a2b3c;
  --hj-muted: #5a6f84;
  --hj-line: #d5e3f2;
  --hj-accent: #f0a020;
  --font-display: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--hj-text);
  background: var(--hj-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--hj-blue); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--hj-blue-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }

.hj-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hj-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--hj-blue); color: #fff !important;
  border: none; border-radius: 2px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .25s, transform .2s;
}
.hj-btn:hover { background: var(--hj-blue-deep); color: #fff !important; transform: translateY(-1px); }
.hj-btn--outline {
  background: transparent; color: var(--hj-blue) !important;
  border: 1.5px solid var(--hj-blue);
}
.hj-btn--outline:hover { background: var(--hj-blue); color: #fff !important; }
.hj-btn--light { background: #fff; color: var(--hj-blue) !important; }
.hj-btn--light:hover { background: var(--hj-sky); }

/* Topbar */
.hj-topbar {
  background: var(--hj-blue-deep);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  padding: 8px 0;
}
.hj-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hj-topbar a { color: #fff; }
.hj-topbar__right { display: flex; gap: 20px; align-items: center; }
.hj-topbar i { margin-right: 6px; color: var(--hj-accent); }

/* Header */
.hj-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hj-line);
  transition: box-shadow .25s;
}
.hj-header.is-scrolled { box-shadow: 0 4px 24px rgba(14,78,158,.08); }
.hj-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 20px;
}
.hj-logo {
  display: flex; align-items: center; flex-shrink: 0;
  padding: 2px 0;
  min-width: 180px;
}
.hj-logo img {
  height: 52px; width: auto; max-width: 280px;
  display: block; object-fit: contain;
}
.hj-nav { display: flex; align-items: center; gap: 4px; }
.hj-nav > li { position: relative; }
.hj-nav > li > a {
  display: block; padding: 10px 16px; color: var(--hj-text);
  font-size: 15px; font-weight: 600; border-radius: 2px;
}
.hj-nav > li.active > a,
.hj-nav > li > a:hover { color: var(--hj-blue); background: var(--hj-sky); }
.hj-nav .dropdown a.is-active {
  color: var(--hj-blue); background: var(--hj-sky); font-weight: 600;
}
.hj-nav .dropdown {
  position: absolute; left: 0; top: 100%; min-width: 180px;
  background: #fff; border: 1px solid var(--hj-line);
  box-shadow: 0 12px 32px rgba(14,78,158,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s; padding: 8px 0; z-index: 20;
}
.hj-nav > li:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
.hj-nav .dropdown a {
  display: block; padding: 10px 18px; color: var(--hj-text); font-size: 14px; font-weight: 500;
}
.hj-nav .dropdown a:hover { background: var(--hj-sky); color: var(--hj-blue); }
.hj-header__phone {
  display: flex; align-items: center; gap: 10px;
  color: var(--hj-blue-deep); font-weight: 700; font-size: 16px; white-space: nowrap;
}
.hj-header__phone i {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hj-sky); color: var(--hj-blue);
  display: flex; align-items: center; justify-content: center;
}
.hj-burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 8px;
}
.hj-burger span { display: block; height: 2px; background: var(--hj-blue); border-radius: 1px; }
.hj-mobile {
  display: none; position: fixed; inset: 78px 0 0 0; background: #fff;
  padding: 20px; overflow: auto; z-index: 99;
}
.hj-mobile.is-open { display: block; }
.hj-mobile a {
  display: block; padding: 14px 8px; border-bottom: 1px solid var(--hj-line);
  color: var(--hj-text); font-weight: 600;
}
.hj-mobile a.sub { padding-left: 20px; font-weight: 500; color: var(--hj-muted); font-size: 14px; }

/* Hero */
.hj-hero {
  position: relative; min-height: min(78vh, 640px);
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--hj-blue-deep);
}
.hj-hero__slides { position: absolute; inset: 0; }
.hj-hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hj-hero__slide.is-active { opacity: 1; }
.hj-hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,40,90,.88) 0%, rgba(14,78,158,.55) 48%, rgba(14,78,158,.2) 100%);
}
.hj-hero__content {
  position: relative; z-index: 2; width: min(1180px, calc(100% - 40px));
  margin: 0 auto; padding: 80px 0 72px; color: #fff;
}
.hj-hero__brand {
  font-size: clamp(42px, 7vw, 72px); font-weight: 800; letter-spacing: .04em;
  margin-bottom: 12px; text-shadow: 0 4px 24px rgba(0,0,0,.25);
  animation: hjFadeUp .8s ease both;
}
.hj-hero__title {
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin-bottom: 16px;
  opacity: .95; animation: hjFadeUp .8s .15s ease both;
}
.hj-hero__desc {
  max-width: 36em; font-size: 16px; opacity: .88; margin-bottom: 28px;
  animation: hjFadeUp .8s .28s ease both;
}
.hj-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; animation: hjFadeUp .8s .4s ease both; }
.hj-hero__dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.hj-hero__dots button {
  width: 28px; height: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hj-hero__dots button.is-active { background: #fff; }

@keyframes hjFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes hjReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hj-reveal { animation: hjReveal .7s ease both; }

/* Section commons */
.hj-section { padding: 72px 0; }
.hj-section--mist { background: var(--hj-mist); }
.hj-section--sky { background: var(--hj-sky); }
.hj-section--blue {
  background: linear-gradient(135deg, var(--hj-blue-deep), var(--hj-blue) 55%, #1a6fd4);
  color: #fff;
}
.hj-sec-head { text-align: center; margin-bottom: 40px; }
.hj-sec-head__en {
  display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--hj-blue-light); font-weight: 700; margin-bottom: 8px;
}
.hj-section--blue .hj-sec-head__en { color: rgba(255,255,255,.65); }
.hj-sec-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--hj-blue-deep); }
.hj-section--blue .hj-sec-head h2 { color: #fff; }
.hj-sec-head p { color: var(--hj-muted); max-width: 40em; margin: 8px auto 0; }
.hj-section--blue .hj-sec-head p { color: rgba(255,255,255,.8); }

/* About strip */
.hj-about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hj-about-grid__img {
  position: relative; min-height: 380px;
  background-size: cover; background-position: center;
  border-radius: 4px; overflow: hidden;
}
.hj-about-grid__img::before {
  content: ""; position: absolute; left: -12px; bottom: -12px;
  width: 40%; height: 40%; border: 3px solid var(--hj-blue); z-index: -1;
}
.hj-about-grid__text .eyebrow {
  color: var(--hj-blue); font-weight: 700; font-size: 13px; letter-spacing: .12em;
  margin-bottom: 10px;
}
.hj-about-grid__text h2 { font-size: 30px; color: var(--hj-blue-deep); margin-bottom: 16px; }
.hj-about-grid__text p { color: var(--hj-muted); margin: 0 0 14px; }
.hj-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 28px 0 32px;
}
.hj-stat {
  background: var(--hj-sky); padding: 18px 14px; text-align: center; border-radius: 2px;
}
.hj-stat strong {
  display: block; font-size: 28px; color: var(--hj-blue); font-weight: 800; line-height: 1.2;
}
.hj-stat span { font-size: 13px; color: var(--hj-muted); }

/* Product cats */
.hj-cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hj-cat {
  position: relative; overflow: hidden; border-radius: 4px;
  background: #fff; border: 1px solid var(--hj-line);
  transition: transform .3s, box-shadow .3s;
}
.hj-cat:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(14,78,158,.14); }
.hj-cat__img {
  height: 180px; background-size: cover; background-position: center;
  transition: transform .5s;
}
.hj-cat:hover .hj-cat__img { transform: scale(1.06); }
.hj-cat__body { padding: 18px 16px 22px; }
.hj-cat__body h3 { font-size: 17px; margin-bottom: 6px; color: var(--hj-blue-deep); }
.hj-cat__body p { font-size: 13px; color: var(--hj-muted); margin: 0; }

/* Product grid */
.hj-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hj-product {
  background: #fff; border: 1px solid var(--hj-line); border-radius: 4px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.hj-product:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,78,158,.12); }
.hj-product__img {
  height: 200px; overflow: hidden; background: var(--hj-mist);
}
.hj-product__img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.hj-product:hover .hj-product__img img { transform: scale(1.05); }
.hj-product__body { padding: 16px; }
.hj-product__body h3 { font-size: 16px; margin-bottom: 6px; }
.hj-product__body h3 a { color: var(--hj-text); }
.hj-product__body h3 a:hover { color: var(--hj-blue); }
.hj-product__body p { font-size: 13px; color: var(--hj-muted); margin: 0; }

/* Advantages */
.hj-adv {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hj-adv__item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 32px 28px; border-radius: 4px; backdrop-filter: blur(4px);
  transition: background .25s;
}
.hj-adv__item:hover { background: rgba(255,255,255,.16); }
.hj-adv__num {
  font-size: 42px; font-weight: 800; color: var(--hj-accent); line-height: 1; margin-bottom: 14px;
  font-family: var(--font-display);
}
.hj-adv__item h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.hj-adv__item p { color: rgba(255,255,255,.78); margin: 0; font-size: 14px; }

/* Cases */
.hj-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hj-case {
  position: relative; height: 260px; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
}
.hj-case::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,40,90,.85), transparent 55%);
}
.hj-case__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; color: #fff;
}
.hj-case__body h3 { font-size: 18px; margin: 0 0 4px; }
.hj-case__body span { font-size: 13px; opacity: .8; }

/* News */
.hj-news-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px;
}
.hj-news-feat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--hj-line); border-radius: 4px; overflow: hidden;
  min-height: 280px;
}
.hj-news-feat__img { background-size: cover; background-position: center; min-height: 220px; }
.hj-news-feat__body { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.hj-news-feat__body .date { color: var(--hj-blue); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.hj-news-feat__body h3 { font-size: 20px; margin-bottom: 10px; }
.hj-news-feat__body h3 a { color: var(--hj-blue-deep); }
.hj-news-feat__body p { color: var(--hj-muted); font-size: 14px; margin: 0; }
.hj-news-list li {
  border-bottom: 1px solid var(--hj-line); padding: 16px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.hj-news-list li:first-child { padding-top: 0; }
.hj-news-list .date {
  flex-shrink: 0; width: 56px; text-align: center;
  background: var(--hj-sky); border-radius: 2px; padding: 8px 4px;
}
.hj-news-list .date strong { display: block; font-size: 22px; color: var(--hj-blue); line-height: 1; }
.hj-news-list .date span { font-size: 11px; color: var(--hj-muted); }
.hj-news-list h4 { font-size: 15px; margin: 0 0 4px; font-weight: 600; }
.hj-news-list h4 a { color: var(--hj-text); }
.hj-news-list h4 a:hover { color: var(--hj-blue); }
.hj-news-list p { margin: 0; font-size: 13px; color: var(--hj-muted); }

/* CTA band */
.hj-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 44px;
  background: linear-gradient(90deg, var(--hj-blue-deep), var(--hj-blue-light));
  border-radius: 4px; color: #fff;
}
.hj-cta h3 { font-size: 24px; margin: 0 0 6px; color: #fff; }
.hj-cta p { margin: 0; opacity: .85; }

/* Page banner */
.hj-page-banner {
  position: relative; height: 220px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.hj-page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,40,90,.85), rgba(14,78,158,.45));
}
.hj-page-banner__inner {
  position: relative; z-index: 1; width: min(1180px, calc(100% - 40px));
  margin: 0 auto; padding-bottom: 36px; color: #fff;
}
.hj-breadcrumb { font-size: 13px; opacity: .8; margin-bottom: 8px; }
.hj-breadcrumb a { color: #fff; }
.hj-page-banner h1 { font-size: 32px; margin: 0; color: #fff; }

/* Inner layout */
.hj-pages { padding: 48px 0 72px; }
.hj-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.hj-side {
  background: var(--hj-mist); border: 1px solid var(--hj-line); border-radius: 4px;
  padding: 8px 0; align-self: start;
}
.hj-side__title {
  padding: 16px 20px; background: var(--hj-blue); color: #fff;
  font-size: 17px; font-weight: 700; margin: -8px 0 8px; border-radius: 4px 4px 0 0;
}
.hj-side a {
  display: block; padding: 12px 20px; color: var(--hj-text); font-size: 14px;
  border-left: 3px solid transparent; transition: .15s;
}
.hj-side a:hover {
  background: #fff; color: var(--hj-blue); border-left-color: var(--hj-blue);
}
.hj-side a.is-active {
  background: var(--hj-sky);
  color: var(--hj-blue);
  border-left-color: var(--hj-blue);
  font-weight: 700;
}
.hj-side__contact {
  margin-top: 16px; padding: 20px; background: var(--hj-blue-deep); color: #fff; border-radius: 0 0 4px 4px;
}
.hj-side__contact h4 { color: #fff; margin-bottom: 10px; font-size: 15px; }
.hj-side__contact p { margin: 0 0 6px; font-size: 13px; opacity: .9; }

.hj-article { line-height: 1.85; color: var(--hj-text); }
.hj-article img { margin: 16px 0; border-radius: 4px; }
.hj-article p { margin: 0 0 14px; }
.hj-article h2, .hj-article h3 { color: var(--hj-blue-deep); margin-top: 1.4em; }

.hj-filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.hj-filter a {
  padding: 8px 16px; background: var(--hj-mist); color: var(--hj-muted);
  border-radius: 2px; font-size: 14px; font-weight: 500;
}
.hj-filter a.is-active, .hj-filter a:hover {
  background: var(--hj-blue); color: #fff;
}

.hj-news-cards { display: grid; gap: 16px; }
.hj-news-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  padding: 16px; border: 1px solid var(--hj-line); border-radius: 4px;
  background: #fff; transition: box-shadow .25s;
}
.hj-news-card:hover { box-shadow: 0 8px 24px rgba(14,78,158,.1); }
.hj-news-card__img {
  height: 130px; border-radius: 2px; overflow: hidden; background: var(--hj-mist);
}
.hj-news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hj-news-card h3 { font-size: 18px; margin-bottom: 8px; }
.hj-news-card h3 a { color: var(--hj-blue-deep); }
.hj-news-card .meta { font-size: 13px; color: var(--hj-muted); margin-bottom: 8px; }
.hj-news-card p { margin: 0; font-size: 14px; color: var(--hj-muted); }

.hj-pager {
  display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap;
}
.hj-pager a, .hj-pager span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hj-line); border-radius: 2px; color: var(--hj-text); font-size: 14px; padding: 0 12px;
}
.hj-pager a:hover, .hj-pager .active {
  background: var(--hj-blue); color: #fff; border-color: var(--hj-blue);
}

.hj-detail-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 36px;
}
.hj-detail-hero__img {
  background: var(--hj-mist); border-radius: 4px; overflow: hidden; min-height: 320px;
}
.hj-detail-hero__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.hj-detail-hero h1 { font-size: 28px; color: var(--hj-blue-deep); }
.hj-detail-hero .desc { color: var(--hj-muted); margin: 12px 0 24px; }

/* Message form */
.hj-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.hj-form .row { margin-bottom: 18px; }
.hj-form input, .hj-form textarea, .hj-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hj-line);
  border-radius: 2px; font-size: 14px; font-family: inherit; background: #fff;
}
.hj-form input:focus, .hj-form textarea:focus {
  outline: none; border-color: var(--hj-blue); box-shadow: 0 0 0 3px rgba(14,78,158,.12);
}
.hj-form textarea { min-height: 140px; resize: vertical; }
.hj-contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px;
}
.hj-contact-card {
  padding: 22px; background: var(--hj-sky); border-radius: 4px;
}
.hj-contact-card i { color: var(--hj-blue); font-size: 22px; margin-bottom: 10px; }
.hj-contact-card h4 { margin: 0 0 6px; font-size: 15px; color: var(--hj-blue-deep); }
.hj-contact-card p { margin: 0; font-size: 14px; color: var(--hj-muted); }

/* Footer */
.hj-footer {
  background: #0a2748;
  color: rgba(255,255,255,.78);
  padding: 56px 0 0;
  font-size: 14px;
}
.hj-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hj-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.hj-footer a { color: rgba(255,255,255,.72); }
.hj-footer a:hover { color: #fff; }
.hj-footer ul li { margin-bottom: 10px; }
.hj-footer__brand p { margin: 12px 0 0; line-height: 1.8; }
.hj-copyright {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 0; font-size: 12px; opacity: .7;
}

/* Float consult */
.hj-float {
  position: fixed; right: 18px; bottom: 80px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.hj-float a {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--hj-blue); color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(14,78,158,.35); font-size: 20px;
}
.hj-float a:hover { background: var(--hj-blue-deep); }

/* Responsive */
@media (max-width: 1024px) {
  .hj-cats, .hj-products { grid-template-columns: repeat(2, 1fr); }
  .hj-about-grid, .hj-news-grid, .hj-layout, .hj-detail-hero, .hj-news-feat { grid-template-columns: 1fr; }
  .hj-adv, .hj-cases { grid-template-columns: 1fr; }
  .hj-footer__grid { grid-template-columns: 1fr 1fr; }
  .hj-nav, .hj-header__phone { display: none; }
  .hj-burger { display: flex; }
  .hj-side { display: none; }
  .hj-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hj-cats, .hj-products, .hj-contact-cards, .hj-footer__grid, .hj-stats { grid-template-columns: 1fr; }
  .hj-news-card { grid-template-columns: 1fr; }
  .hj-news-card__img { height: 180px; }
  .hj-hero { min-height: 70vh; }
  .hj-section { padding: 48px 0; }
  .hj-cta { padding: 28px 22px; }
  .hj-page-banner { height: 160px; }
  .hj-topbar { display: none; }
}
