/* ============================================================
   中友创辉（北京）建设工程有限公司 - v2 全局样式
   风格：简约大气（参考中国中铁官网）
   主色：中国红 #B01F24 / 深灰 #2B2B2B / 白 #FFFFFF
   ============================================================ */

:root {
  --primary: #b01f24;
  --primary-dark: #8e161a;
  --primary-light: #d94a4f;
  --gold: #c9a063;
  --dark: #2b2b2b;
  --gray: #f5f5f5;
  --gray-light: #fafafa;
  --text: #333333;
  --text-light: #666666;
  --text-mute: #999999;
  --border: #e8e8e8;
  --white: #ffffff;
  --font: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==================== 顶部导航 ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: 1px;
}
.logo-text p {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 3px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li > a {
  display: block;
  padding: 28px 16px;
  font-size: 15px;
  color: var(--text);
  position: relative;
  font-weight: 500;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  width: 26px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==================== 轮播 Banner ==================== */
.banner {
  position: relative;
  height: 620px;
  overflow: hidden;
  margin-top: 76px;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.05) 100%);
}
.banner-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.banner-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  letter-spacing: 4px;
  padding: 6px 18px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.3s;
}
.banner-content h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}
.banner-content p {
  font-size: 17px;
  color: #e8e8e8;
  max-width: 620px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.7s;
}
.banner-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 34px;
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.9s;
}
.banner-btn:hover { background: var(--primary-dark); }

.banner-slide.active .banner-tag,
.banner-slide.active .banner-content h2,
.banner-slide.active .banner-content p,
.banner-slide.active .banner-btn {
  opacity: 1;
  transform: translateY(0);
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.banner-dots span {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dots span.active {
  background: var(--primary);
  width: 48px;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}
.banner-arrow:hover { background: var(--primary); border-color: var(--primary); }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* ==================== 通用区块 ==================== */
.section { padding: 80px 0; }
.section.gray { background: var(--gray); }
.section-title-wrap { text-align: center; margin-bottom: 50px; }
.section-title-wrap .en {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-title-wrap h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title-wrap h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background: var(--primary);
}
.section-title-wrap .sub {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 15px;
}

/* ==================== 公司简介摘要 ==================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-img { position: relative; overflow: hidden; }
.intro-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.intro-img:hover img { transform: scale(1.05); }
.intro-img::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 120px;
  height: 120px;
  border-left: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
}
.intro-content h3 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.intro-content .intro-title-en {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.intro-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  text-align: justify;
}
.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.intro-tags span {
  background: var(--gray);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 5px 14px;
}
.btn-more {
  display: inline-block;
  padding: 11px 32px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  letter-spacing: 2px;
}
.btn-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ==================== 数据统计 ==================== */
.stats {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 55px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: #fff;
}
.stat-item .num {
  font-size: 40px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  line-height: 1.2;
}
.stat-item .num em { font-style: normal; font-size: 22px; }
.stat-item .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  letter-spacing: 2px;
}

/* ==================== 业务领域 ==================== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.biz-card {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  display: block;
}
.biz-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.biz-card:hover img { transform: scale(1.08); }
.biz-card .mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}
.biz-card .mask h4 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.biz-card .mask h4::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: var(--primary);
  margin-right: 10px;
  vertical-align: -3px;
}
.biz-card .mask p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.biz-card:hover .mask p { max-height: 60px; }

/* ==================== 资质荣誉 ==================== */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
}
.qual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.qual-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(176, 31, 36, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.qual-card h4 { font-size: 15px; color: var(--dark); margin-bottom: 4px; letter-spacing: 1px; }
.qual-card p {
  font-size: 12px;
  color: var(--primary);
  background: rgba(176, 31, 36, 0.06);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
}
.qual-more { text-align: center; margin-top: 36px; }

/* ==================== 代表项目 ==================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-item {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}
.case-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-item .pic { position: relative; overflow: hidden; height: 220px; }
.case-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case-item:hover .pic img { transform: scale(1.08); }
.case-item .pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(176, 31, 36, 0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.case-item:hover .pic::after { opacity: 1; }
.case-item .pic .tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
  z-index: 2;
}
.case-item .info { padding: 20px 22px; }
.case-item .info h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.case-item:hover .info h4 { color: var(--primary); }
.case-item .info p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-item .info .meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-mute);
  display: flex;
  justify-content: space-between;
}

/* ==================== 企业文化 ==================== */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.culture-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px 26px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.culture-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.culture-card:hover::before { transform: scaleX(1); }
.culture-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.culture-card .num {
  font-size: 38px;
  font-weight: 700;
  color: rgba(176, 31, 36, 0.15);
  font-family: Arial, sans-serif;
  position: absolute;
  top: 14px;
  right: 20px;
}
.culture-card h4 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.culture-card p { font-size: 14px; color: var(--text-light); }

/* ==================== 新闻动态 ==================== */
.news-list { display: block; }
.news-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px dashed var(--border);
  transition: all 0.3s ease;
  color: var(--text);
  display: flex;
  gap: 14px;
}
.news-item-row:hover { padding-left: 14px; color: var(--primary); }
.news-item-row .tag {
  font-size: 12px;
  color: var(--primary);
  background: rgba(176, 31, 36, 0.08);
  padding: 2px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  font-weight: 500;
}
.news-item-row .t {
  font-size: 15px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item-row .t::before {
  content: "▸";
  color: var(--primary);
  margin-right: 10px;
}
.news-item-row .d {
  font-size: 13px;
  color: var(--text-mute);
  flex-shrink: 0;
  font-family: Arial, sans-serif;
}

/* ==================== 子页面 Banner ==================== */
.page-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  margin-top: 76px;
  display: flex;
  align-items: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.15));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h2 {
  color: #fff;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.page-banner .crumb { color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.page-banner .crumb a { color: #fff; }
.page-banner .crumb a:hover { color: var(--primary-light); }

/* ==================== 关于我们 ==================== */
.about-advantage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.adv-card:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.adv-card .ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adv-card h4 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.adv-card p { font-size: 13px; color: var(--text-light); }

/* 时间线 */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--primary) 10%, var(--primary) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item { position: relative; width: 50%; padding: 20px 40px 20px 0; }
.timeline-item:nth-child(even) { left: 50%; padding: 20px 0 20px 40px; }
.timeline-item .dot {
  position: absolute;
  right: -7px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  z-index: 2;
}
.timeline-item:nth-child(even) .dot { right: auto; left: -7px; }
.timeline-item .box {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 18px 22px;
  transition: all 0.3s ease;
}
.timeline-item:nth-child(even) .box { border-left: none; border-right: 3px solid var(--primary); }
.timeline-item .box:hover { box-shadow: var(--shadow); }
.timeline-item .box .year {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: Arial, sans-serif;
}
.timeline-item .box h4 { font-size: 15px; color: var(--dark); margin: 6px 0; }
.timeline-item .box p { font-size: 13px; color: var(--text-light); }

/* 资质列表 */
.zizhi-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.zizhi-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  transition: all 0.3s ease;
}
.zizhi-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.zizhi-item .no {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}
.zizhi-item .txt { font-size: 14px; color: var(--text); }
.zizhi-item .lv {
  margin-left: auto;
  font-size: 12px;
  color: var(--primary);
  background: rgba(176, 31, 36, 0.06);
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ==================== 服务页 ==================== */
.service-block {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}
.service-block:nth-child(even) { grid-template-columns: 1fr 440px; }
.service-block:nth-child(even) .service-pic { order: 2; }
.service-block:last-child { margin-bottom: 0; }
.service-pic { overflow: hidden; border-radius: 4px; position: relative; }
.service-pic img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.6s ease; }
.service-pic:hover img { transform: scale(1.05); }
.service-info h3 { font-size: 24px; color: var(--dark); letter-spacing: 1px; margin-bottom: 6px; }
.service-info h3 .mark {
  display: inline-block;
  width: 9px;
  height: 24px;
  background: var(--primary);
  margin-right: 12px;
  vertical-align: -3px;
}
.service-info .en {
  font-size: 14px;
  color: #8a6d3b;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.service-info p { color: #3d3d3d; font-size: 15.5px; line-height: 2; margin-bottom: 12px; text-align: justify; }
.service-info ul li {
  font-size: 14.5px;
  color: #3d3d3d;
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}
.service-info ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: rotate(45deg);
}

/* 服务流程 */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: process;
}
.process-step { text-align: center; position: relative; padding-top: 10px; }
.process-step .ico {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.process-step:hover .ico { background: var(--primary); color: #fff; transform: scale(1.06); }
.process-step .num { font-size: 22px; font-weight: 700; color: var(--dark); font-family: Arial, sans-serif; margin-bottom: 4px; }
.process-step h4 { font-size: 15px; color: var(--dark); margin-bottom: 6px; }
.process-step p { font-size: 12px; color: var(--text-light); }
.process-step::after {
  content: "→";
  position: absolute;
  top: 34px;
  right: -14px;
  color: var(--primary);
  font-size: 20px;
  z-index: 3;
}
.process-step:last-child::after { display: none; }

/* ==================== 联系页 ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.contact-info-card h3 { font-size: 20px; color: var(--dark); margin-bottom: 24px; letter-spacing: 1px; }
.contact-info-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ci {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row .label { font-size: 13px; color: var(--text-mute); }
.contact-row .value { font-size: 15px; color: var(--text); font-weight: 500; }
.contact-row .value a { color: var(--text); }
.contact-row .value a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 20px; color: var(--dark); margin-bottom: 24px; letter-spacing: 1px; }
.contact-form-wrap h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.form-group label .req { color: var(--primary); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--gray-light);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 15px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
}
.btn-submit:hover { background: var(--primary-dark); }
.form-tip { font-size: 12px; color: var(--text-mute); margin-top: 12px; text-align: center; }

/* ==================== 百度地图 ==================== */
.map-wrap {
  margin-top: 0;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-wrap #baidu-map { width: 100%; height: 480px; }
.map-fallback {
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
  color: var(--text-light);
  padding: 30px;
  text-align: center;
}
.map-fallback .ico {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 28px;
}
.map-fallback h4 { color: var(--dark); font-size: 18px; margin-bottom: 10px; }
.map-fallback p { font-size: 13px; margin-bottom: 6px; }
.map-fallback .addr { font-size: 15px; color: var(--text); margin-bottom: 16px; max-width: 540px; }
.map-fallback .btn-out {
  display: inline-block;
  padding: 9px 22px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 2px;
  margin-top: 8px;
}
.map-fallback .btn-out:hover { background: var(--primary-dark); }
.map-fallback .ak-tip {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-mute);
  background: rgba(176, 31, 36, 0.06);
  padding: 6px 14px;
  border-left: 3px solid var(--primary);
  max-width: 580px;
  text-align: left;
}
.map-fallback .ak-tip code { color: var(--primary); font-family: monospace; }

/* ==================== 新闻列表页 ==================== */
.news-card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.news-card .pic { overflow: hidden; height: 200px; position: relative; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .pic img { transform: scale(1.06); }
.news-card .pic .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
}
.news-card .info { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .info h4 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.news-card:hover .info h4 { color: var(--primary); }
.news-card .info .summary {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.news-card .info .meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mute);
}
.news-card .info .meta .more {
  color: var(--primary);
  font-weight: 500;
}

/* ==================== 新闻详情页 ==================== */
.news-detail {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px 60px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.news-detail h1.article-title {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.5;
  letter-spacing: 1px;
}
.news-detail .article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-mute);
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 28px;
}
.news-detail .article-meta .tag {
  background: var(--primary);
  color: #fff;
  padding: 2px 12px;
  font-size: 12px;
  border-radius: 2px;
}
.news-detail .article-cover {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 2px;
}
.news-detail .article-content {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
}
.news-detail .article-content p {
  margin-bottom: 18px;
  text-indent: 2em;
}
.news-detail .article-content h3 {
  font-size: 18px;
  color: var(--dark);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  text-indent: 0;
}
.news-detail .article-content ul,
.news-detail .article-content ol {
  margin: 12px 0 18px 2em;
  text-indent: 0;
}
.news-detail .article-content li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-light);
}
.news-detail .article-content blockquote {
  background: var(--gray-light);
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  margin: 18px 0;
  color: var(--text-light);
  text-indent: 0;
  font-size: 14px;
}
.news-detail .article-actions {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-detail .article-actions .back {
  display: inline-block;
  padding: 9px 22px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 1px;
}
.news-detail .article-actions .back:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.news-detail .article-actions .share { display: flex; gap: 8px; }
.news-detail .article-actions .share a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 14px;
}
.news-detail .article-actions .share a:hover { background: var(--primary); color: #fff; }

/* ==================== 页脚 ==================== */
.footer { background: var(--dark); color: #b5b5b5; }

/* 联系条（页脚上部） */
.footer-contact-bar {
  background: var(--primary);
  color: #fff;
  padding: 28px 0;
}
.footer-contact-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.footer-contact-bar .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}
.footer-contact-bar .item .ico {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact-bar .item .txt { text-align: left; }
.footer-contact-bar .item .txt .lbl { font-size: 12px; opacity: 0.85; }
.footer-contact-bar .item .txt .val { font-size: 16px; font-weight: 500; letter-spacing: 1px; }
.footer-contact-bar .item .txt .val a { color: #fff; }

.footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer .f-about p { font-size: 13px; line-height: 2; margin-top: 4px; }
.footer .f-links {
  text-align: left;
  margin-left: -12px;
}
.footer .f-links h4::after {
  left: 0;
  transform: none;
}
.footer .f-links ul {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 22px;
  row-gap: 6px;
  justify-content: start;
}
.footer .f-links li { padding: 3px 0; }
.footer .f-links li a { font-size: 13px; color: #b5b5b5; }
.footer .f-links li a::before { content: "›"; color: var(--primary); margin-right: 8px; }
.footer .f-links li a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li {
  font-size: 13px;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer .f-contact li .ico {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.footer .f-contact li .ico svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* 备案号 */
.footer-bottom {
  padding: 18px 0;
  font-size: 12px;
  text-align: center;
  color: #8a8a8a;
  background: rgba(0, 0, 0, 0.18);
}
.footer-bottom .beian {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 4px;
}
.footer-bottom .beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b5b5b5;
  font-size: 12px;
}
.footer-bottom .beian a:hover { color: #fff; }
.footer-bottom .beian .gov-icon {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
.footer-bottom .copyright { margin-top: 4px; font-size: 12px; }

/* ==================== 回到顶部 ==================== */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.in-view { animation: fadeInUp 0.8s ease forwards; }
.animate.d1 { animation-delay: 0.1s; }
.animate.d2 { animation-delay: 0.2s; }
.animate.d3 { animation-delay: 0.3s; }
.animate.d4 { animation-delay: 0.4s; }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .banner { height: 500px; }
  .banner-content h2 { font-size: 34px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block,
  .service-block:nth-child(even) { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-pic { order: 0; }
  .news-card-list { grid-template-columns: 1fr; }
  .news-detail { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact-bar .container { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
  .nav { height: 62px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.open { max-height: 500px; }
  .nav-menu > li > a { padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .nav-menu > li > a::after { display: none; }
  .banner { height: 420px; margin-top: 62px; }
  .page-banner { height: 240px; margin-top: 62px; }
  .banner-content h2 { font-size: 26px; letter-spacing: 2px; }
  .banner-content p { font-size: 14px; }
  .banner-arrow { display: none; }
  .section { padding: 50px 0; }
  .intro-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .biz-grid,
  .qual-grid,
  .case-grid,
  .culture-grid,
  .about-advantage { grid-template-columns: 1fr; }
  .zizhi-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .timeline::before { left: 8px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding: 10px 0 10px 30px;
  }
  .timeline-item .dot,
  .timeline-item:nth-child(even) .dot { left: 2px; right: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .logo-text h1 { font-size: 16px; }
  .logo-text p { font-size: 9px; }
}
