/* ===== 宇心建材科技 企业官网样式 ===== */
:root {
  --primary: #0f3d6e;
  --primary-light: #1a5fa8;
  --primary-dark: #092847;
  --accent: #d97a1e;
  --accent-light: #f0a35a;
  --text: #1f2a37;
  --text-light: #5b6b7c;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --border: #e4eaf1;
  --shadow: 0 4px 24px rgba(15, 61, 110, 0.08);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== 顶部导航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(15, 61, 110, 0.06); }

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

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(9, 40, 71, 0.1);
  object-fit: contain;
}
.brand-text { line-height: 1.25; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.brand-sub { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 18px;
  font-size: 15px;
  color: var(--text-light);
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); background: rgba(15, 61, 110, 0.06); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 2px;
  border-radius: 2px;
}

.nav-cta {
  margin-left: 14px;
  padding: 9px 24px !important;
  background: var(--primary);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--primary-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); transition: 0.3s; }

/* ===== Hero 首页主视觉 ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background: #0a2036;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(9, 40, 71, 0.97) 0%, rgba(15, 61, 110, 0.96) 55%, rgba(15, 61, 110, 0.88) 100%);
  padding: 130px 0 100px;
}
.hero-media {
  position: relative;
  min-height: 520px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 61, 110, 0.65) 0%, transparent 50%);
}
.hero-inner { max-width: 620px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: #dbe8f6;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: #f0a35a; }
.hero p { font-size: 17px; color: #c8d9ec; max-width: 540px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c06a15; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217, 122, 30, 0.35); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }

/* 页面顶部横幅（子页面） */
.page-hero {
  background:
    linear-gradient(120deg, rgba(9, 40, 71, 0.94), rgba(26, 95, 168, 0.88)),
    url("../img/hero-pattern.svg") center/cover no-repeat;
  color: #fff;
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.page-hero .crumb { font-size: 14px; color: #b7cbe2; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .sep { margin: 0 8px; opacity: 0.5; }

/* ===== 通用区块 ===== */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: 1px; }
.section-head p { color: var(--text-light); font-size: 16px; }

/* 数据统计条 */
.stats {
  background: var(--primary-dark);
  color: #fff;
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 700; color: #f0a35a; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 22px; margin-left: 2px; }
.stat-label { font-size: 14.5px; color: #b7cbe2; margin-top: 6px; letter-spacing: 1px; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 61, 110, 0.08);
  margin-bottom: 22px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 12px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--text-light); }
.card .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 500;
}
.card .more:hover { color: var(--accent); }

/* 产品卡片带编号 */
.product-card { position: relative; overflow: hidden; }
.product-card .num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 44px;
  font-weight: 700;
  color: rgba(15, 61, 110, 0.07);
  line-height: 1;
  z-index: 2;
}
.product-img {
  width: calc(100% + 60px);
  margin: -36px -30px 24px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc, #eef3f8);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-img img {
  max-height: 92%;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.product-tags span {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 999px;
}

/* ===== 关于页 ===== */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(150deg, #0f3d6e, #1a5fa8);
  display: flex;
  align-items: flex-end;
}
.about-visual .badge {
  position: absolute;
  bottom: 26px; left: 26px; right: 26px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px 24px;
  color: var(--primary-dark);
}
.about-visual .badge strong { font-size: 17px; display: block; margin-bottom: 4px; }
.about-visual .badge span { font-size: 13.5px; color: var(--text-light); }
.about-text h2 { font-size: 30px; color: var(--primary-dark); margin-bottom: 20px; letter-spacing: 1px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15.5px; text-align: justify; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.about-points li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(217, 122, 30, 0.12);
  color: var(--accent);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  font-weight: 700;
}

/* 时间线 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary-light), var(--border));
}
.timeline-item { position: relative; padding: 0 0 36px 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.timeline-item .year { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.timeline-item h4 { font-size: 17px; color: var(--primary-dark); margin: 4px 0 6px; font-weight: 600; }
.timeline-item p { font-size: 14.5px; color: var(--text-light); }

/* 荣誉徽章 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.honor {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.3s;
}
.honor:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.honor .medal {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7e3c8, #f0a35a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.honor .medal svg { width: 24px; height: 24px; }
.honor h4 { font-size: 15.5px; color: var(--primary-dark); font-weight: 600; }
.honor span { font-size: 13px; color: var(--text-light); display: block; margin-top: 2px; }

/* ===== 联系页 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info .item {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .item:last-child { border-bottom: none; }
.contact-info .icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(15, 61, 110, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info .icon svg { width: 22px; height: 22px; }
.contact-info h4 { font-size: 15px; color: var(--text-light); font-weight: 500; margin-bottom: 4px; }
.contact-info p { font-size: 16px; color: var(--primary-dark); font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 42px;
}
.contact-form h3 { font-size: 21px; color: var(--primary-dark); margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--text-light); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--text-light); margin-top: 14px; text-align: center; }

/* 地图占位 */
.map-box {
  margin-top: 50px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 30px;
  text-align: center;
}
.map-box .pin { margin-bottom: 14px; }

/* CTA 区 */
.cta-band {
  background:
    linear-gradient(120deg, var(--primary-dark), var(--primary-light)),
    url("../img/hero-pattern.svg") center/cover;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: 30px; letter-spacing: 1px; margin-bottom: 14px; }
.cta-band p { color: #c8d9ec; margin-bottom: 34px; }

/* ===== 页脚 ===== */
.footer { background: #0a2036; color: #8fa6bd; padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: 1px; }
.footer .about-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .about-brand .brand-name { color: #fff; }
.footer .about-brand .brand-sub { color: #6d84a0; }
.footer p { margin-bottom: 10px; line-height: 1.8; }
.footer-links li { margin-bottom: 11px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #6d84a0;
}
.beian-link { color: #6d84a0; text-decoration: none; transition: color .25s; }
.beian-link:hover { color: #ff8a3d; text-decoration: underline; }

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: 0 6px 18px rgba(9, 40, 71, 0.3);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-light); }
.back-top svg { width: 20px; height: 20px; }

/* ===== 滚动显现动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 创始人/团队/产学研 ===== */
.founder-section { padding: 0 0 80px; }
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f6f8fb 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px;
  box-shadow: 0 16px 40px rgba(15,61,110,0.08);
}
.founder-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,61,110,0.18);
  background: var(--primary);
  aspect-ratio: 3/4;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-body .name {
  font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.founder-body .role {
  display: inline-block; font-size: 14px; color: var(--accent); font-weight: 600; letter-spacing: 1px;
  background: rgba(217,122,30,0.08); padding: 6px 14px; border-radius: 30px; margin-bottom: 18px;
}
.founder-body .intro { color: var(--muted); line-height: 1.8; }
.founder-honor { margin-top: 24px; }
.founder-honor li {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border);
  font-size: 15px; color: var(--text);
}
.founder-honor li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  margin-top: 7px; flex-shrink: 0;
}

.team-section { background: var(--soft); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 22px; text-align: center; transition: 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(15,61,110,0.1); }
.team-avatar {
  width: 86px; height: 86px; margin: 0 auto 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: 3px solid rgba(26,95,168,0.1);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card .name { font-size: 18px; font-weight: 700; color: var(--text); }
.team-card .title { font-size: 13px; color: var(--accent); margin: 6px 0 12px; font-weight: 600; }
.team-card .desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

.team-avatar.logo-avatar {
  background: #fff; border: 3px solid rgba(26,95,168,0.1); padding: 10px;
}
.team-avatar.logo-avatar img { object-fit: contain; }
.team-edu {
  margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.edu-chip {
  display: inline-flex; align-items: center; gap: 5px; background: #f5f8fc;
  border: 1px solid #e8eef6; border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.edu-chip img { width: auto; height: 18px; object-fit: contain; vertical-align: middle; }

/* ===== 产学研合作：校徽+名字 / 品牌图标 ===== */
.school-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.school-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 12px; text-align: center; transition: .3s;
}
.school-item:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(15,61,110,0.1); }
.school-logo {
  width: 70px; height: 70px; margin: 0 auto 14px;
  border-radius: 50%; background: #fff;
  border: 1px solid var(--border); padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.school-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.school-name { font-size: 14px; font-weight: 700; color: var(--text); }

.brand-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.brand-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 12px; text-align: center; transition: .3s;
}
.brand-item:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(15,61,110,0.08); }
.brand-logo {
  height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-name { font-size: 13px; font-weight: 600; color: var(--text); }
.partner-credit { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }

.rnd-flow {
  background: var(--soft); border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 34px rgba(15,61,110,0.08);
}
.rnd-flow img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 首页科研背书区 ===== */
.trust-section { background: linear-gradient(135deg, #0f3d6e 0%, #092847 100%); color: #fff; }
.trust-section .section-head h2, .trust-section .section-head p, .trust-section .kicker { color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.trust-item {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 28px 22px; text-align: center; backdrop-filter: blur(4px);
}
.trust-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(240,163,90,0.16); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.trust-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.trust-item p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.65; }

/* ===== 工程案例 ===== */
.cases-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 38px; }
.cases-filter button {
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  padding: 9px 20px; border-radius: 30px; cursor: pointer; font-size: 14px; transition: 0.25s;
}
.cases-filter button.active, .cases-filter button:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: 0.3s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,61,110,0.1); }
.case-img { position: relative; height: 220px; overflow: hidden; background: var(--soft); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-compare { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.case-compare > div { position: relative; }
.case-compare img { width: 100%; height: 100%; object-fit: cover; }
.case-compare .label {
  position: absolute; bottom: 8px; left: 8px; font-size: 11px; color: #fff;
  background: rgba(0,0,0,0.55); padding: 3px 10px; border-radius: 20px;
}
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(217,122,30,0.08); padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.case-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.case-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }
.case-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== 产品页增强 ===== */
.product-hero-cards { margin-top: 8px; }
.product-hero-card {
  background: linear-gradient(135deg, #fff 0%, #f6f8fb 100%); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.product-hero-card .lead { color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.product-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 24px; }
.product-points li {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text);
}
.product-points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.compare-table th, .compare-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px;
}
.compare-table th { background: var(--soft); color: var(--primary); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .better { color: #2b7a3e; font-weight: 600; }

/* ===== 堵漏修缮产品图组 ===== */
.leak-split { display: grid; grid-template-columns: 1fr 1.45fr; gap: 44px; align-items: center; }
.product-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.pg-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 12px 16px; text-align: center; transition: .3s;
}
.pg-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(15,61,110,.12); border-color: var(--primary); }
.pg-item img { height: 118px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
.pg-item span { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.pg-item small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
@media (max-width: 1080px) { .leak-split { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 720px) { .pg-item img { height: 92px; } .pg-item span { font-size: 12.5px; } }

/* ===== 专利成果墙 ===== */
.patent-wall { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.patent-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.patent-item img { width: 100%; height: 180px; object-fit: cover; object-position: top center; display: block; }

/* ===== 新增组件响应式 ===== */
@media (max-width: 1080px) {
  .founder-card { grid-template-columns: 280px 1fr; gap: 36px; padding: 36px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .school-grid { grid-template-columns: repeat(3,1fr); }
  .brand-grid { grid-template-columns: repeat(3,1fr); }
  .cases-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { max-width: 240px; margin: 0 auto; }
  .founder-honor { text-align: left; }
  .team-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: repeat(2,1fr); }
  .brand-grid { grid-template-columns: repeat(2,1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .product-points { grid-template-columns: 1fr; }
  .patent-wall { grid-template-columns: repeat(2,1fr); }
  .compare-table { display: block; overflow-x: auto; }
}
@media (max-width: 1080px) {
  /* 竖屏：图片铺满首屏作为背景，文字叠加其上，图文一体化 */
  .hero { grid-template-columns: 1fr; }
  .hero-media {
    position: absolute;
    inset: 0;
    order: initial;
    min-height: 0;
    height: 100%;
  }
  .hero-media::after { background: linear-gradient(180deg, rgba(9, 40, 71, 0.88) 0%, rgba(15, 61, 110, 0.82) 60%, rgba(9, 40, 71, 0.92) 100%); }
  .hero-content { background: none; padding: 130px 0 90px; text-align: center; justify-content: center; }
  .hero-inner { margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .about-split, .contact-wrap { grid-template-columns: 1fr; }
  .about-visual { min-height: 280px; order: -1; margin-bottom: 34px; border-radius: 14px; }
  .about-visual .badge { padding: 14px 18px; bottom: 18px; left: 18px; right: 18px; }
  .about-visual .badge strong { font-size: 15px; }
  .about-visual .badge span { font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5%;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 61, 110, 0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 620px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2, .honor-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .contact-form { padding: 28px 22px; }
  .brand-logo { height: 40px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; }
}
