:root {
  --primary: #1e3a8a;
  --primary-dark: #172e6e;
  --primary-light: #eaf0ff;
  --accent: #d97706;
  --accent-light: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.06);
  --shadow: 0 12px 32px rgba(30, 58, 138, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 58, 138, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

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

.container { width: min(1200px, 92%); margin: 0 auto; position: relative; z-index: 1; }

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #f59e0b, var(--primary));
  z-index: 1000; transition: width .1s linear;
}

/* topbar */
.topbar { background: linear-gradient(90deg, var(--primary-dark), #1e3a8a); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; }
.topbar .phone { font-weight: 700; letter-spacing: .5px; }

/* header */
.header { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(229,231,235,.8); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--primary); }
.logo img { height: 48px; width: auto; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav { display: flex; gap: 30px; font-size: 15px; }
.nav a { color: var(--text); padding: 8px 0; position: relative; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--accent); border-radius: 3px; }

.header-cta { display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 6px 16px rgba(30,58,138,.12); position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .5s;
}
.btn:hover::after { left: 130%; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #2563eb); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), #1d4ed8); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,58,138,.22); }
.btn-accent { background: linear-gradient(135deg, #f59e0b, var(--accent)); color: #fff; }
.btn-accent:hover { background: linear-gradient(135deg, #d97706, #b45309); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,119,6,.24); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 15px 36px; font-size: 17px; }

/* hero */
.hero { position: relative; background: linear-gradient(135deg, #0f1f4d 0%, #1e3a8a 45%, #3162d8 100%); color: #fff; padding: 100px 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%);
  top: -160px; right: -120px; animation: floatBlob 12s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 75%);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.25; margin-bottom: 20px; letter-spacing: 1px; }
.hero h1 .highlight { background: linear-gradient(120deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; opacity: .9; margin-bottom: 28px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badge {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: .25s;
}
.hero-badge:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); }
.hero-card {
  background: rgba(255,255,255,.95); color: var(--text); border-radius: 20px; padding: 32px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.6);
  animation: floatCard 6s ease-in-out infinite;
}
.hero-card h3 { color: var(--primary); margin-bottom: 14px; font-size: 21px; }
.hero-card ul { display: grid; gap: 12px; }
.hero-card li { padding-left: 28px; position: relative; font-size: 15px; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }

/* sections */
.section { padding: 80px 0; position: relative; }
.section-gray { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .tag {
  display: inline-block; background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  color: var(--primary); font-size: 13px; font-weight: 800; padding: 7px 16px; border-radius: 999px;
  margin-bottom: 14px; letter-spacing: 1px; box-shadow: var(--shadow-sm);
}
.section-head h2 { font-size: 34px; color: var(--primary); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #c7d6f5; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px;
  transition: .3s; box-shadow: var(--shadow-sm);
}
.card:hover .icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(135deg, var(--primary), #2563eb); color: #fff; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 700; font-size: 14px; transition: .2s; }
.card .more:hover { color: var(--accent); transform: translateX(4px); }

/* features */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  text-align: center; padding: 34px 18px; background: rgba(255,255,255,.9); border-radius: 18px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: .3s; backdrop-filter: blur(6px);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d6f5; }
.feature .num {
  font-size: 34px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary), #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature p { color: var(--muted); margin-top: 10px; font-weight: 600; }

/* cta band */
.cta-band { position: relative; background: linear-gradient(135deg, #0f1f4d, #1e3a8a 60%, #2563eb); color: #fff; padding: 70px 0; text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); top: -100px; left: -80px;
}
.cta-band::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.25), transparent 70%); bottom: -120px; right: -40px;
}
.cta-band h2 { font-size: 32px; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 30px; }

/* footer */
.footer { background: #0b1220; color: #cbd5e1; padding: 60px 0 24px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #cbd5e1; display: block; margin-bottom: 10px; transition: .2s; }
.footer a:hover { color: #fff; transform: translateX(4px); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 13px; color: #94a3b8; }

/* page hero */
.page-hero { position: relative; background: linear-gradient(135deg, #0f1f4d, #1e3a8a 50%, #3162d8); color: #fff; padding: 62px 0; text-align: center; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%); }
.page-hero h1 { font-size: 36px; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { opacity: .9; position: relative; z-index: 1; }

/* breadcrumb */
.breadcrumb { padding: 18px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); background: #fff; }
.breadcrumb a { color: var(--primary); }

/* content typography */
.content h2 { font-size: 27px; color: var(--primary); margin: 34px 0 16px; position: relative; padding-left: 16px; }
.content h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.content h3 { font-size: 21px; color: var(--primary); margin: 24px 0 12px; }
.content p { margin-bottom: 14px; color: var(--text); }
.content ul { margin-bottom: 18px; padding-left: 4px; }
.content li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.content li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* table */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 12px; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
th, td { border: 1px solid var(--border); padding: 13px 16px; text-align: left; font-size: 15px; }
th { background: linear-gradient(135deg, var(--primary-light), #dbeafe); color: var(--primary); font-weight: 700; }
tr:hover td { background: #f8fafc; }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: .25s; }
.faq-item:hover { box-shadow: var(--shadow); border-color: #c7d6f5; transform: translateX(4px); }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.faq-item p { color: var(--muted); font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info { background: linear-gradient(135deg, var(--primary-light), #f0f5ff); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.contact-info h3 { color: var(--primary); margin-bottom: 18px; font-size: 24px; }
.contact-info p { margin-bottom: 12px; }
.contact-info .big { font-size: 26px; font-weight: 800; color: var(--primary); }
.map-placeholder { background: linear-gradient(135deg, #e2e8f0, #f1f5f9); border-radius: 20px; display: flex; align-items: center; justify-content: center; min-height: 280px; color: var(--muted); border: 2px dashed #cbd5e1; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2563eb); color: #fff; font-size: 20px;
  display: none; align-items: center; justify-content: center; cursor: pointer; border: none;
  box-shadow: 0 8px 20px rgba(30,58,138,.3); z-index: 999; transition: .25s;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,58,138,.4); }

/* keyframes */
@keyframes floatBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px,30px) scale(1.08); }
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* mobile */
.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--primary); cursor: pointer; }

@media (max-width: 900px) {
  .grid-3, .grid-2, .feature-list { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(255,255,255,.98); flex-direction: column; padding: 16px 8%; border-bottom: 1px solid var(--border); gap: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; }
  .header .header-cta { display: none; }
  .grid-3, .grid-2, .feature-list { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 70px 0; }
}

/* ===== huisuanzhang-like homepage styles ===== */
.hsz-topbar { background: #303030; color: #999; font-size: 13px; }
.hsz-topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.hsz-topbar a { color: #2faaff; }
.hsz-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.hsz-header .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.hsz-header .logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #1d2f6e; }
.hsz-header .logo img { height: 44px; width: auto; border-radius: 8px; }
.hsz-nav { display: flex; gap: 24px; font-size: 15px; }
.hsz-nav a { color: #333; padding: 8px 0; }
.hsz-nav a:hover, .hsz-nav a.active { color: #2faaff; font-weight: 700; border-bottom: 3px solid #2faaff; }
.hsz-hero { position: relative; background: linear-gradient(135deg, #0b2a6b 0%, #1356c9 50%, #2faaff 100%); color: #fff; padding: 80px 0 120px; overflow: hidden; }
.hsz-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); top: -120px; right: -80px; }
.hsz-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 20% 60%, black, transparent 75%); }
.hsz-hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hsz-hero h1 { font-size: 42px; line-height: 1.3; margin-bottom: 18px; }
.hsz-hero h1 span { color: #ffd76a; }
.hsz-hero p { font-size: 16px; opacity: .92; margin-bottom: 26px; }
.hsz-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hsz-hero-card { background: #fff; color: #333; border-radius: 12px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.hsz-hero-card h3 { color: #1d2f6e; font-size: 22px; margin-bottom: 8px; }
.hsz-hero-card p { color: #666; margin-bottom: 18px; }
.hsz-hero-card form { display: flex; gap: 8px; margin-bottom: 16px; }
.hsz-hero-card input { flex: 1; padding: 11px 14px; border: 1px solid #d2d2d2; border-radius: 8px; font-size: 14px; }
.hsz-hero-card button { padding: 11px 20px; border: none; border-radius: 8px; background: #2faaff; color: #fff; font-weight: 700; cursor: pointer; }
.hsz-hero-card button:hover { background: #1d8fdd; }
.hsz-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hsz-hero-tags span { background: #f0f7ff; color: #2faaff; font-size: 13px; padding: 5px 12px; border-radius: 999px; }

.hsz-tools-wrap { background: #fff; padding: 0 0 30px; margin-top: -70px; position: relative; z-index: 5; }
.hsz-tools { background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(13,60,130,.18); padding: 22px 28px; }
.hsz-tools-tabs { display: flex; gap: 28px; border-bottom: 1px solid #eee; padding-bottom: 14px; margin-bottom: 18px; }
.hsz-tools-tabs span { font-size: 16px; color: #8aa5c8; cursor: pointer; padding-bottom: 12px; border-bottom: 3px solid transparent; }
.hsz-tools-tabs span.active { color: #2faaff; font-weight: 700; border-bottom-color: #2faaff; }
.hsz-tool-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hsz-tool-form input { width: 260px; padding: 11px 14px; border: 1px solid #d2d2d2; border-radius: 8px; }
.hsz-tool-form .btn { padding: 11px 26px; }
.hsz-services { background: #fff; padding: 60px 0 70px; }
.hsz-services .grid { grid-template-columns: repeat(4, 1fr); }
.hsz-service { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 14px; padding: 28px 22px; text-align: center; transition: .25s; }
.hsz-service:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(13,60,130,.12); }
.hsz-service .icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.hsz-service .icon.blue { background: #e3f0ff; color: #1d6fd1; }
.hsz-service .icon.green { background: #e2f8f0; color: #12a876; }
.hsz-service .icon.orange { background: #fff2e0; color: #f07a1b; }
.hsz-service .icon.purple { background: #f1e8fa; color: #7b2fc0; }
.hsz-service h3 { font-size: 18px; margin-bottom: 8px; }
.hsz-service p { color: #666; font-size: 14px; margin-bottom: 14px; }
.hsz-service a { color: #2faaff; font-weight: 700; font-size: 14px; }
.hsz-cats { background: #f5f8fc; padding: 60px 0; }
.hsz-cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hsz-cat { background: #fff; border-radius: 12px; padding: 24px 20px; text-align: center; border: 1px solid #e8edf3; transition: .25s; }
.hsz-cat:hover { box-shadow: 0 10px 24px rgba(13,60,130,.1); transform: translateY(-4px); }
.hsz-cat h3 { font-size: 17px; color: #1d2f6e; margin-bottom: 8px; }
.hsz-cat p { color: #999; font-size: 13px; }
.hsz-plan { background: linear-gradient(135deg, #102a5c, #1356c9); color: #fff; padding: 70px 0; text-align: center; }
.hsz-plan h2 { font-size: 30px; margin-bottom: 14px; }
.hsz-plan p { color: #cce0fe; margin-bottom: 34px; }
.hsz-plan-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hsz-plan-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 24px 16px; }
.hsz-plan-item h4 { font-size: 20px; margin-bottom: 8px; }
.hsz-plan-item p { color: #dbe9ff; font-size: 14px; margin: 0; }
.hsz-news { background: #f5f8fc; padding: 60px 0 80px; }
.hsz-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hsz-news-block { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8edf3; }
.hsz-news-head { padding: 22px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.hsz-news-head.blue { background: #1d6fd1; }
.hsz-news-head.purple { background: #7b2fc0; }
.hsz-news-head.orange { background: #f07a1b; }
.hsz-news-head h3 { font-size: 18px; }
.hsz-news-head a { color: rgba(255,255,255,.85); font-size: 13px; }
.hsz-news-list { padding: 14px 20px 20px; }
.hsz-news-list li { padding: 12px 0; border-bottom: 1px dashed #eee; font-size: 14px; color: #333; }
.hsz-news-list li:last-child { border-bottom: none; }
.hsz-news-list li span { display: block; color: #aaa; font-size: 12px; margin-top: 4px; }

@media (max-width: 900px) {
  .hsz-hero .container { grid-template-columns: 1fr; }
  .hsz-services .grid { grid-template-columns: 1fr 1fr; }
  .hsz-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .hsz-plan-items { grid-template-columns: 1fr 1fr; }
  .hsz-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hsz-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 8%; border-bottom: 1px solid #eee; gap: 0; }
  .hsz-nav.open { display: flex; }
  .hsz-nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .hsz-services .grid { grid-template-columns: 1fr; }
  .hsz-cats-grid { grid-template-columns: 1fr 1fr; }
  .hsz-plan-items { grid-template-columns: 1fr; }
  .hsz-hero { padding: 60px 0 110px; }
}

/* qualifications / certificate wall */
.hsz-qualifications { background: #fff; padding: 60px 0; }
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qual-card { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 14px; padding: 20px; text-align: center; transition: .25s; }
.qual-card:hover { box-shadow: 0 10px 24px rgba(13,60,130,.1); transform: translateY(-4px); }
.qual-placeholder { height: 130px; border: 2px dashed #cbd5e1; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #94a3b8; background: #fff; font-size: 13px; margin-bottom: 14px; }
.qual-card h4 { font-size: 15px; color: #1d2f6e; margin-bottom: 6px; }
.qual-card p { font-size: 12px; color: #999; }
.qual-cert-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qual-cert { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; padding: 18px; text-align: center; }
.qual-cert .cert-img { height: 200px; border: 2px dashed #cbd5e1; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #94a3b8; background: #f8fafc; margin-bottom: 14px; }
@media (max-width: 900px) {
  .qual-grid { grid-template-columns: 1fr 1fr; }
  .qual-cert-wall { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .qual-grid { grid-template-columns: 1fr; }
  .qual-cert-wall { grid-template-columns: 1fr; }
}

.qual-card img { width:100%; height:130px; object-fit:cover; border-radius:10px; border:1px solid #e8edf3; margin-bottom:14px; }
.qual-cert img.cert-photo { width:100%; height:200px; object-fit:contain; border-radius:10px; border:1px solid #e8edf3; background:#fff; margin-bottom:14px; }

.card .card-img { width:100%; height:160px; object-fit:cover; border-radius:12px; margin-bottom:16px; }
.hsz-service img.hsz-service-img { width:100%; height:150px; object-fit:cover; border-radius:12px; margin-bottom:14px; }
.contact-map-img { width:100%; height:100%; min-height:280px; object-fit:cover; border-radius:20px; }
.mobile-contact-bar { display:none; }
.form-notice { color:var(--primary); font-size:13px; margin-top:12px; }
.wechat-placeholder { min-height:120px; display:flex; align-items:center; justify-content:center; border:1px dashed #bfd0ec; border-radius:14px; color:var(--muted); background:#fff; text-align:center; padding:18px; }
.service-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:24px 0 30px; }
.service-meta div { padding:18px; border-radius:14px; background:var(--bg-gray); border:1px solid #e8edf5; }
.service-meta strong { display:block; color:var(--primary); margin-bottom:6px; }
.service-cta { margin-top:30px; padding:28px; border-radius:16px; background:linear-gradient(135deg,#eef5ff,#fff7ed); }
.inquiry-form { display:grid; gap:12px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width:100%; border:1px solid #d7e0ef; border-radius:10px; padding:12px 14px; font:inherit; background:#fff; }
.inquiry-form textarea { resize:vertical; }
@media (max-width:640px) {
  .mobile-contact-bar { display:flex; position:fixed; z-index:20; left:12px; right:12px; bottom:12px; background:#0f2f68; border-radius:14px; box-shadow:0 12px 30px rgba(15,47,104,.28); overflow:hidden; }
  .mobile-contact-bar a { flex:1; color:#fff; text-align:center; padding:12px 8px; font-size:14px; }
  .mobile-contact-bar a + a { border-left:1px solid rgba(255,255,255,.2); }
  .service-meta { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
}
