/* ===================================================================
   中鼎防水工程有限公司 - 门户网站样式表
   技术栈:纯 HTML + CSS(无框架依赖)
   =================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #1a5fb4;
  --brand-dark: #0d3b72;
  --brand-light: #2f80e0;
  --accent: #f59e0b;
  --accent-dark: #d97706;

  /* 中性色 */
  --text: #1f2937;
  --text-soft: #4b5563;
  --text-mute: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f3f4f6;
  --bg-deep: #eef2f7;
  --border: #e5e7eb;

  /* 尺寸 */
  --maxw: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 6px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 18px 48px rgba(13, 59, 114, .18);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--brand { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section--brand .section-head .eyebrow { color: #fcd34d; }
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-soft); font-size: 17px; }
.section--brand .section-head p { color: rgba(255, 255, 255, .85); }

/* 分隔小线 */
.title-line {
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 16px 38px; font-size: 16px; }

/* ===================================================================
   顶部导航
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { line-height: 1.2; }
.brand-text .name { font-size: 19px; font-weight: 700; color: var(--brand-dark); letter-spacing: 1px; }
.brand-text .sub { font-size: 11px; color: var(--text-mute); letter-spacing: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-menu a:hover { color: var(--brand); }
.nav-menu a.active { color: var(--brand); background: rgba(26, 95, 180, .08); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--brand-dark); }
.nav-phone .num { font-size: 20px; color: var(--accent); }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Hero 轮播
   =================================================================== */
.hero {
  position: relative;
  height: 640px;
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--brand-dark);
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide > .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 56, .88) 10%, rgba(13, 59, 114, .55) 60%, rgba(13, 59, 114, .25));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 0 24px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .8s var(--ease) .3s, opacity .8s var(--ease) .3s;
}
.hero-slide.active .hero-content { transform: translateY(0); opacity: 1; }
.hero-content .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 158, 11, .9);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hero-content p { font-size: 19px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: .3s;
}
.hero-dots button.active { background: var(--accent); width: 34px; border-radius: 6px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  display: grid; place-items: center;
  transition: .25s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-arrow svg { width: 24px; height: 24px; }

/* 通用页面 Banner(子页) */
.page-banner {
  margin-top: var(--header-h);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .12) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, .18) 0, transparent 45%);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; }
.page-banner .crumb { font-size: 14px; color: rgba(255, 255, 255, .8); }
.page-banner .crumb a:hover { color: var(--accent); }

/* ===================================================================
   服务卡片网格
   =================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 95, 180, .12), rgba(26, 95, 180, .04));
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 24px;
  transition: .35s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--brand-dark); }
.service-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }
.service-card .more { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ===================================================================
   优势 / 统计
   =================================================================== */
.feature-item { text-align: center; padding: 36px 24px; }
.feature-icon {
  width: 80px; height: 80px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: grid; place-items: center;
  color: #fcd34d;
  border: 2px solid rgba(255, 255, 255, .2);
}
.feature-icon svg { width: 38px; height: 38px; }
.feature-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-item p { color: rgba(255, 255, 255, .82); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num {
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: "Georgia", serif;
}
.stat .num .suffix { font-size: 28px; }
.stat .label { color: rgba(255, 255, 255, .8); margin-top: 10px; font-size: 15px; }

/* ===================================================================
   案例卡片
   =================================================================== */
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .95);
}
.case-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .5s var(--ease);
}
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 28, 56, .55), transparent 60%);
}
.case-thumb .case-cat {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .9);
  color: var(--brand-dark);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.case-thumb .case-icon { width: 54px; height: 54px; opacity: .85; z-index: 1; }
.case-body { padding: 22px 24px; }
.case-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--brand-dark); }
.case-body p { font-size: 14px; color: var(--text-soft); }
.case-meta { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-mute); }
.case-meta span { display: inline-flex; align-items: center; gap: 5px; }
.case-meta svg { width: 15px; height: 15px; }

/* 占位图渐变(用于案例/项目图) */
.ph-1 { background: linear-gradient(135deg, #1a5fb4, #2f80e0); }
.ph-2 { background: linear-gradient(135deg, #0d3b72, #1a5fb4); }
.ph-3 { background: linear-gradient(135deg, #1e6091, #3a7ca5); }
.ph-4 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.ph-5 { background: linear-gradient(135deg, #2c5f6f, #4a8fa5); }
.ph-6 { background: linear-gradient(135deg, #1a4d6e, #2a7ba9); }
.ph-7 { background: linear-gradient(135deg, #356b8a, #5a9bbf); }
.ph-8 { background: linear-gradient(135deg, #0e3a5c, #1f5f8a); }

/* ===================================================================
   服务流程
   =================================================================== */
.process { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.process-step {
  flex: 1;
  min-width: 130px;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.process-step .step-num {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  position: relative;
  z-index: 2;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--brand-dark); }
.process-step p { font-size: 13px; color: var(--text-mute); }

/* ===================================================================
   新闻列表
   =================================================================== */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { height: 170px; display: grid; place-items: center; color: rgba(255, 255, 255, .9); position: relative; overflow: hidden; }
.news-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news-date { z-index: 2; }
.news-date {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--brand-dark);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
}
.news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; color: var(--text); }
.news-body p { font-size: 14px; color: var(--text-soft); flex: 1; }
.news-body .news-more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* ===================================================================
   CTA 横幅
   =================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, .25) 0, transparent 45%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 17px; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: #0a1f3c; color: rgba(255, 255, 255, .7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.footer-col p { font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; transition: color .2s, padding .2s; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; margin-top: 3px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .name { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.qr-box {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  overflow: hidden;
}
.qr-box svg { width: 92px; height: 92px; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ===================================================================
   服务详情(服务页)
   =================================================================== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.service-block:nth-child(even) .service-block-visual { order: 2; }
.service-block-visual {
  height: 340px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .95);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-block-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.service-block-visual svg { width: 110px; height: 110px; opacity: .9; }
.service-block-visual .vlabel { z-index: 2; }
.service-block-visual .vlabel {
  position: absolute; bottom: 20px; left: 24px;
  font-size: 15px; font-weight: 600;
}
.service-block-text .stag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.service-block-text h3 { font-size: 28px; font-weight: 800; color: var(--brand-dark); margin-bottom: 18px; }
.service-block-text > p { color: var(--text-soft); margin-bottom: 22px; font-size: 16px; }
.service-block-text ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0;
  font-size: 15px;
}
.service-block-text ul li svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 20px; margin-top: 3px; }

/* 材料工艺 */
.material-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.material-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.material-card .m-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff;
}
.material-card .m-icon svg { width: 36px; height: 36px; }
.material-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--brand-dark); }
.material-card p { font-size: 14px; color: var(--text-soft); }

/* ===================================================================
   案例筛选
   =================================================================== */
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-bar button {
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  transition: .25s;
}
.filter-bar button:hover { color: var(--brand); border-color: var(--brand); }
.filter-bar button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 案例弹窗 */
.case-modal {
  position: fixed; inset: 0;
  background: rgba(8, 20, 40, .7);
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.case-modal.open { display: flex; animation: fadeIn .3s; }
.case-modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp .4s var(--ease);
}
.case-modal-visual { height: 280px; display: grid; place-items: center; color: #fff; position: relative; }
.case-modal-visual svg { width: 90px; height: 90px; opacity: .85; }
.case-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  display: grid; place-items: center;
}
.case-modal-close:hover { background: rgba(255, 255, 255, .4); }
.case-modal-body { padding: 32px; }
.case-modal-body .cat { display: inline-block; background: rgba(26, 95, 180, .1); color: var(--brand); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 50px; margin-bottom: 12px; }
.case-modal-body h3 { font-size: 24px; font-weight: 800; color: var(--brand-dark); margin-bottom: 14px; }
.case-modal-body p { color: var(--text-soft); margin-bottom: 18px; }
.case-modal-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.case-modal-spec div { background: var(--bg-soft); padding: 14px 18px; border-radius: var(--radius-sm); }
.case-modal-spec .k { font-size: 13px; color: var(--text-mute); margin-bottom: 4px; }
.case-modal-spec .v { font-size: 15px; font-weight: 600; color: var(--brand-dark); }

/* ===================================================================
   关于我们
   =================================================================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-intro-text h2 { font-size: 32px; font-weight: 800; color: var(--brand-dark); margin-bottom: 20px; }
.about-intro-text p { color: var(--text-soft); margin-bottom: 18px; font-size: 16px; }
.about-intro-visual {
  height: 380px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-intro-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-intro-visual svg { width: 130px; height: 130px; color: rgba(255, 255, 255, .9); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.about-stat { text-align: center; }
.about-stat .n { font-size: 38px; font-weight: 800; color: var(--brand); font-family: "Georgia", serif; }
.about-stat .l { font-size: 14px; color: var(--text-mute); }

/* 价值观 */
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand);
  transition: transform .3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); }
.value-card .v-icon { width: 70px; height: 70px; margin: 0 auto 20px; color: var(--brand); }
.value-card .v-icon svg { width: 100%; height: 100%; }
.value-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--brand-dark); }
.value-card p { font-size: 14px; color: var(--text-soft); }

/* 荣誉墙 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease);
}
.honor-card:hover { transform: translateY(-5px); }
.honor-card .ribbon {
  width: 100%;
  height: 200px;
  margin: 0 auto 16px;
  color: var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  overflow: hidden;
}
.honor-card .ribbon svg { width: 64px; height: 64px; }
.honor-card .ribbon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}
.honor-card h4 { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 6px; }
.honor-card p { font-size: 13px; color: var(--text-mute); }

/* 时间轴 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
}
.timeline-item .year { font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 6px; }
.timeline-item h4 { font-size: 18px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.timeline-item p { color: var(--text-soft); font-size: 15px; }

/* ===================================================================
   联系我们
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.contact-info-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact-info-card .sub { color: rgba(255, 255, 255, .8); margin-bottom: 30px; }
.contact-info-list li { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-list .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex: 0 0 46px; color: #fcd34d; }
.contact-info-list .ci-icon svg { width: 22px; height: 22px; }
.contact-info-list .ci-text .k { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 2px; }
.contact-info-list .ci-text .v { font-size: 17px; font-weight: 600; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h3 { font-size: 24px; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px; }
.contact-form .sub { color: var(--text-mute); margin-bottom: 28px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group label .req { color: #ef4444; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-size: 15px;
}
.form-control:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(26, 95, 180, .12); }
.form-control.error { border-color: #ef4444; background: #fef2f2; }
.form-error { font-size: 13px; color: #ef4444; margin-top: 6px; display: none; }
.form-control.error + .form-error { display: block; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-success.show { display: block; }

.map-box {
  margin-top: 56px;
  height: 360px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dce6f0, #c5d6e8);
  display: grid; place-items: center;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.map-box .map-pin { text-align: center; position: relative; z-index: 2; }
.map-box .map-pin svg { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 10px; }
.map-box .map-pin p { font-weight: 600; }
.map-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.branch-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.branch-card h4 { font-size: 18px; font-weight: 700; color: var(--brand-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.branch-card h4 svg { width: 20px; height: 20px; color: var(--accent); }
.branch-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 6px; display: flex; gap: 8px; }
.branch-card p svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 16px; margin-top: 3px; }

/* ===================================================================
   返回顶部
   =================================================================== */
.back-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: .3s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--brand-dark); }
.back-top svg { width: 24px; height: 24px; }

/* 悬浮咨询 */
.float-contact {
  position: fixed;
  right: 28px; bottom: 92px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-contact a {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.float-contact a:hover { transform: scale(1.1); }
.float-contact .fc-phone { background: var(--accent); }
.float-contact .fc-wx { background: #07c160; }
.float-contact a svg { width: 24px; height: 24px; }
.float-contact .tip {
  position: absolute;
  right: 62px;
  top: 0;
  background: #fff;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: .25s;
}
.float-contact .fc-phone:hover .tip,
.float-contact .fc-wx:hover .tip { opacity: 1; visibility: visible; transform: translateX(0); }

/* ===================================================================
   动画
   =================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ===================================================================
   响应式
   =================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .container { padding: 0 20px; }

  /* 导航变汉堡 */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 18px; border-radius: 8px; border-bottom: 1px solid var(--border); }
  .nav-menu a.active { background: rgba(26, 95, 180, .06); }
  .nav-cta .btn { display: none; }

  /* Hero */
  .hero { height: 540px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero-arrow { display: none; }

  .page-banner { height: 240px; }
  .page-banner h1 { font-size: 30px; }

  /* 网格转单列 */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat .num { font-size: 42px; }
  .news-list { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: 1fr; }

  .service-block { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .service-block:nth-child(even) .service-block-visual { order: 0; }
  .service-block-visual { height: 240px; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-intro-visual { height: 280px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .case-modal-spec { grid-template-columns: 1fr; }

  .process { gap: 20px; }
  .process-step { flex: 1 1 40%; min-width: 120px; }
  .process-step:not(:last-child)::after { display: none; }

  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .hero-content .btn { padding: 11px 22px; font-size: 14px; }
  .section-head h2 { font-size: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .float-contact { right: 16px; }
  .back-top { right: 16px; bottom: 20px; }
}
