/* 山西汇辰水处理设备有限公司 官网样式 */
:root {
  --brand: #0d6e8f;
  --brand-dark: #07536b;
  --brand-light: #e8f4f9;
  --accent: #00a9a5;
  --ink: #12242e;
  --muted: #5c7383;
  --line: #e2ebf1;
  --bg: #f6f9fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 36, 46, .07);
  --shadow-hover: 0 14px 36px rgba(13, 110, 143, .14);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.35; font-weight: 700; letter-spacing: .5px; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.topbar.scrolled { box-shadow: 0 4px 20px rgba(18, 36, 46, .07); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.footer .brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.brand-slogan { font-size: 11px; color: var(--muted); letter-spacing: 2.4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-light); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--brand);
  white-space: nowrap;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 8px;
  font-size: 15px; font-family: inherit; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: all .22s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(13, 110, 143, .22); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-light:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f2f9fb 0%, #e6f3f8 45%, #eaf7f6 100%);
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 96px 0 104px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 22px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(13,110,143,.16);
  border-radius: 999px;
  font-size: 13px; color: var(--brand);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-desc { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 16px 14px; background: rgba(255,255,255,.78); border: 1px solid rgba(13,110,143,.1); border-radius: var(--radius); }
.stat b { display: block; font-size: 26px; color: var(--brand); letter-spacing: .5px; }
.stat span { font-size: 13px; color: var(--muted); }

.hero-visual {
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-hover);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.8);
}
.hero-visual .panel-title { font-size: 13px; color: var(--muted); margin-bottom: 12px; letter-spacing: 1px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.metric { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.metric span { display: block; font-size: 12px; color: var(--muted); }
.metric b { font-size: 17px; color: var(--brand); }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; letter-spacing: 2.5px; color: var(--accent); font-weight: 600;
}
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 业务卡 ---------- */
.biz-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(13,110,143,.25); }
.biz-icon {
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
}
.biz-card h3 { font-size: 18px; margin-bottom: 8px; }
.biz-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 优势 ---------- */
.adv-item { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.adv-no { font-size: 26px; font-weight: 800; color: rgba(13,110,143,.16); line-height: 1; }
.adv-item h4 { margin-bottom: 6px; font-size: 16px; }
.adv-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.flow-step { text-align: center; padding: 0 8px; }
.flow-dot {
  width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(13,110,143,.24);
}
.flow-step h4 { font-size: 15px; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 产品卡 ---------- */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(13,110,143,.28); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(150deg, #eaf5fa, #dbeef4); }
.product-thumb svg { width: 100%; height: 100%; }
.product-thumb .thumb-holder { width: 100%; height: 100%; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-cat {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--brand);
  font-size: 12px; font-weight: 600;
}
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17px; margin-bottom: 6px; }
.product-model { font-size: 12.5px; color: var(--accent); letter-spacing: .8px; margin-bottom: 10px; }
.product-summary { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-size: 14px; font-weight: 500; }
.link-more:hover { gap: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip {
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 动态 / 新闻 ---------- */
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: none; }
.news-date {
  flex-shrink: 0; width: 74px; text-align: center;
  padding: 10px 0; border-radius: 10px; background: var(--brand-light);
}
.news-date b { display: block; font-size: 20px; color: var(--brand); line-height: 1.2; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-info h4 { font-size: 16px; margin-bottom: 6px; }
.news-info p { margin: 0; font-size: 14px; color: var(--muted); }
.news-cat { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: rgba(0,169,165,.12); color: var(--accent); font-size: 12px; font-weight: 500; vertical-align: middle; }

/* ---------- 关于页 ---------- */
.page-banner {
  position: relative; overflow: hidden;
  padding: 78px 0 68px;
  background: linear-gradient(135deg, #0b5e7c 0%, #0d6e8f 45%, #0f8f9a 100%);
  color: #fff;
}
.page-banner h1 { font-size: 36px; }
.page-banner p { color: rgba(255,255,255,.82); margin: 0; font-size: 16px; max-width: 640px; }
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; letter-spacing: 1px; }
.page-banner-deco { position: absolute; right: -60px; top: -40px; opacity: .18; }

.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-block.reverse .about-media { order: 2; }
.about-list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}
.figure-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.figure-card svg { width: 100%; display: block; }

.timeline { border-left: 2px solid var(--line); padding-left: 28px; }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -35px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.timeline h4 { font-size: 16px; margin-bottom: 4px; }
.timeline .year { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 1px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.info-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: none; }
.info-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item span { display: block; font-size: 12.5px; color: var(--muted); }
.info-item b { font-size: 15px; font-weight: 600; }

.form-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.field label i { color: #d9483b; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,110,143,.1);
}
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.file-drop {
  border: 1px dashed var(--line); border-radius: 8px;
  padding: 18px; text-align: center; background: var(--bg);
  font-size: 14px; color: var(--muted);
}
.file-btn { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.file-btn input[type=file] {
  flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px;
}

/* ---------- CTA ---------- */
.cta-strip {
  padding: 56px 0;
  background: linear-gradient(120deg, var(--brand) 0%, #0f8f9a 100%);
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 6px; font-size: 28px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- 页脚 ---------- */
.footer { background: #0e2633; color: rgba(255,255,255,.72); padding: 62px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .brand-name { color: #fff; font-size: 18px; }
.footer .brand-slogan { color: rgba(255,255,255,.55); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 会员中心 ---------- */
.member-layout { display: grid; grid-template-columns: 232px 1fr; gap: 32px; align-items: start; }
.member-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 96px; }
.member-user { padding: 16px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.member-user .avatar {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 10px;
  background: linear-gradient(140deg, var(--brand), var(--accent)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600;
}
.member-user b { display: block; font-size: 14px; word-break: break-all; }
.member-user span { font-size: 12px; color: var(--muted); }
.member-nav button {
  width: 100%; text-align: left; padding: 10px 14px; margin-bottom: 4px;
  border: none; background: none; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-family: inherit; color: var(--ink);
  transition: background .2s, color .2s;
}
.member-nav button:hover { background: var(--bg); }
.member-nav button.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.member-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-title h2 { margin: 0; font-size: 21px; }

.data-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.data-row:last-child { border-bottom: none; }
.data-row .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.data-row h4 { margin: 0; font-size: 15.5px; }

.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state svg { margin: 0 auto 16px; }
.empty-state p { margin: 0 0 16px; }

/* ---------- 登录弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 30, 41, .5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 420px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(11, 30, 41, .28);
  padding: 30px 30px 26px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  transform: translateY(14px);
  transition: transform .22s ease;
}
.modal-mask.show .modal { transform: translateY(0); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.modal-head h3 { margin: 0; font-size: 21px; }
.modal-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px; border: none; background: var(--bg);
  cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted);
}
.modal-close:hover { background: var(--line); }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 10px; margin-bottom: 22px; }
.tabs button {
  flex: 1; height: 36px; border: none; background: none; border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--muted); cursor: pointer;
  transition: all .2s;
}
.tabs button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 2px 8px rgba(18,36,46,.08); }
.auth-form { display: none; }
.auth-form.active { display: block; }

.alert { padding: 11px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px; display: none; }
.alert.show { display: block; }
.alert-error { background: #fdeceb; color: #b1362a; border: 1px solid #f6d4cf; }
.alert-ok { background: #e8f7f0; color: #1a7f57; border: 1px solid #c8ead9; }

.form-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-top: 12px; }
.link-btn { border: none; background: none; padding: 0; color: var(--brand); cursor: pointer; font-size: 13px; font-family: inherit; }
.link-btn:hover { text-decoration: underline; }

/* ---------- 用户菜单 ---------- */
.user-menu { position: relative; }
.user-trigger {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px 0 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  cursor: pointer; font-size: 14px; font-family: inherit; color: var(--ink);
}
.user-trigger:hover { border-color: var(--brand); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--accent)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.user-drop {
  position: absolute; right: 0; top: 50px;
  min-width: 186px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18,36,46,.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s;
}
.user-drop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-drop-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-drop-head b { display: block; font-size: 14px; word-break: break-all; }
.user-drop-head span { font-size: 12px; color: var(--muted); }
.user-drop button { width: 100%; text-align: left; padding: 9px 12px; border: none; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-family: inherit; color: var(--ink); }
.user-drop button:hover { background: var(--bg); color: var(--brand); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 92px; left: 0; right: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast {
  padding: 11px 20px; border-radius: 10px;
  background: #12242e; color: #fff; font-size: 14px;
  box-shadow: 0 10px 26px rgba(18,36,46,.22);
  animation: toastIn .26s ease;
}
.toast.ok { background: #14805a; }
.toast.err { background: #b1362a; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- 骨架 / 状态 ---------- */
.skeleton { border-radius: 10px; background: linear-gradient(90deg, #eef3f6 25%, #e2eaf0 37%, #eef3f6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skeleton-card { height: 320px; }
.load-state { text-align: center; padding: 40px 16px; color: var(--muted); font-size: 14.5px; }
.load-state .btn { margin-top: 12px; }

/* ---------- 典型业绩案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(13,110,143,.28); }
.case-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.case-body { padding: 14px 16px 16px; }
.case-body h4 { font-size: 15px; margin-bottom: 6px; }
.case-tag {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px;
  border-radius: 999px; background: var(--brand-light); color: var(--brand);
  font-size: 12px; font-weight: 500;
}
.case-meta { font-size: 12.5px; color: var(--muted); }

/* 资质展示 */
.license-card {
  display: flex; gap: 28px; align-items: center;
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.license-figure { flex: 0 0 260px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); }
.license-figure img { width: 100%; display: block; }

@media (max-width: 1080px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .license-card { flex-direction: column; gap: 18px; }
  .license-figure { flex: none; width: 100%; max-width: 320px; }
}

/* ---------- 产品详情弹窗 ---------- */
.detail-modal { max-width: 720px; }
.detail-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.detail-thumb { width: 132px; height: 96px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #eef7fa; }
.detail-thumb svg { width: 100%; height: 100%; }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-title h3 { margin: 0 0 6px; font-size: 20px; }
.detail-title .product-model { margin-bottom: 0; }
.detail-desc { color: var(--muted); font-size: 14.5px; }
.detail-block { margin-top: 20px; }
.detail-block h4 { font-size: 15px; margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--accent); }
.detail-block ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14.5px; color: var(--muted); }
.detail-block ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--bg); border-radius: 8px; font-size: 14px; }
.spec-item span { color: var(--muted); }
.spec-item b { font-weight: 600; }
.detail-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.icon-fav {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.icon-fav:hover { border-color: var(--brand); }
.icon-fav.on { border-color: #e0574a; background: #fdeceb; }
.icon-fav svg { pointer-events: none; }

@media (max-width: 620px) {
  .detail-head { flex-direction: column; }
  .detail-thumb { width: 100%; height: 150px; }
  .spec-grid { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .member-layout { grid-template-columns: 1fr; }
  .member-side { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 18px 18px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18,36,46,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .topbar-tel { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { display: none; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; gap: 32px; }
  .about-block.reverse .about-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner { padding: 56px 0 48px; }
  .page-banner h1 { font-size: 27px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid-5, .grid-4, .grid-3, .grid-2, .flow { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-slogan { display: none; }
  .news-item { flex-direction: column; gap: 12px; }
  .news-date { width: 84px; }
  .data-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* ---------- 移动端底部快捷联系条（仅 ≤900px 显示） ---------- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 74px; }
  .mobile-cta {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(18, 36, 46, .08);
  }
  .mobile-cta a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; border-radius: 10px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-cta .cta-tel {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 4px 12px rgba(13, 110, 143, .22);
  }
  .mobile-cta .cta-msg {
    color: var(--brand);
    background: var(--brand-light);
    border: 1px solid var(--line);
  }
  /* iOS Safari：输入框字号 <16px 会触发整页自动放大，这里统一提到 16px */
  .field input, .field select, .field textarea,
  input, select, textarea { font-size: 16px; }
}
