/* ============================
   广东文宇合创工程咨询有限公司
   企业官网  全站样式
   ============================ */

:root {
  --color-primary: #0D3B66;
  --color-primary-dark: #08294A;
  --color-primary-light: #1E5A99;
  --color-accent: #C9A227;
  --color-accent-dark: #A0821A;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F7FA;
  --color-bg-dark: #0D3B66;
  --color-border: #E5E8EC;
  --color-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(13, 59, 102, 0.06);
  --shadow-md: 0 4px 20px rgba(13, 59, 102, 0.10);
  --shadow-lg: 0 10px 40px rgba(13, 59, 102, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: all 0.3s ease;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 通用容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   导航栏
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-brand-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.nav-brand-sub {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-menu a:hover { color: var(--color-primary); }

.nav-menu a.active {
  color: var(--color-primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.nav-phone svg { width: 16px; height: 16px; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   主内容区
   ============================ */
main {
  padding-top: var(--nav-height);
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: 20px auto 0;
  border-radius: 3px;
}

/* ============================
   首页 Banner
   ============================ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.72), rgba(8, 41, 74, 0.55));
}

.hero-slide.slide-1 {
  background: linear-gradient(135deg, #0D3B66 0%, #1E5A99 50%, #08294A 100%);
}
.hero-slide.slide-2 {
  background: linear-gradient(135deg, #08294A 0%, #0D3B66 50%, #1A4D80 100%);
}
.hero-slide.slide-3 {
  background: linear-gradient(135deg, #1A4D80 0%, #0D3B66 50%, #08294A 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--color-accent);
  font-size: 14px;
  border-radius: 24px;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn-primary:hover {
  background: #D9B341;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Banner 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--color-accent);
  width: 48px;
}

/* Banner 装饰 */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-decor .line {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

/* ============================
   公司简介摘要
   ============================ */
.about-summary {
  background: var(--color-bg-soft);
}

.about-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-summary-text h2 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-summary-text p {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-num .unit {
  font-size: 18px;
  color: var(--color-accent);
  margin-left: 4px;
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ============================
   核心业务
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  border-radius: 50%;
  color: var(--color-primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  color: #fff;
}

.service-icon svg { width: 32px; height: 32px; }

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  min-height: 36px;
}

.service-card .more:hover { color: var(--color-accent); }

/* ============================
   业务优势
   ============================ */
.advantages {
  background: var(--color-bg-soft);
}

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

.advantage-item {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
}

.advantage-icon svg { width: 28px; height: 28px; }

.advantage-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================
   案例展示
   ============================ */
.cases {
  background: var(--color-bg-soft);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.case-cover {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.case-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 59, 102, 0.1), rgba(8, 41, 74, 0.45));
}

.case-cover-icon {
  font-size: 14px;
  letter-spacing: 2px;
  background: rgba(201, 162, 39, 0.9);
  color: var(--color-primary-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

.case-body {
  padding: 24px;
}

.case-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.case-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================
   CTA 横幅
   ============================ */
.cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  padding: 16px 48px;
  font-size: 17px;
}

/* ============================
   页面通用 Banner
   ============================ */
.page-banner {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,200 L100,150 L200,180 L300,120 L400,160 L500,90 L600,140 L700,80 L800,130 L800,300 L0,300 Z'/%3E%3C/svg%3E") no-repeat center / cover;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.page-banner .breadcrumb {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 1px;
}

.page-banner .breadcrumb a {
  color: #fff;
  opacity: 0.8;
  display: inline-block;
  padding: 2px 0;
}
.page-banner .breadcrumb a:hover { opacity: 1; }

/* ============================
   关于我们 页面
   ============================ */
.about-intro {
  padding: 80px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-text h2 {
  font-size: 30px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-intro-image {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-overview {
  background: var(--color-bg-soft);
  padding: 80px 0;
}

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

.overview-card {
  background: var(--color-white);
  padding: 32px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.overview-card .label {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.overview-card .value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.scope-section {
  padding: 80px 0;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.scope-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.scope-item:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
  transform: translateX(4px);
}

.scope-item .num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.scope-item .text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.culture {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 80px 0;
}

.culture .section-header h2 {
  color: #fff;
}

.culture .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.culture .section-tag {
  background: rgba(201, 162, 39, 0.2);
  color: var(--color-accent);
}

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

.culture-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.culture-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-4px);
}

.culture-card .word {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.culture-card .desc {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

/* 企业文化 - 三栏新结构（使命愿景 / 核心价值观 / 企业精神） */
.culture-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.culture-card .culture-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-accent);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 18px;
}

.culture-card .culture-slogan {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 14px;
}

.culture-card .culture-words {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.culture-card .culture-words span {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--color-accent);
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.culture-card .culture-words span:hover {
  background: rgba(201, 162, 39, 0.22);
  border-color: rgba(201, 162, 39, 0.6);
}

/* 首页企业文化引用条 */
.culture-strip {
  background: linear-gradient(135deg, #b8901e 0%, var(--color-accent) 50%, #dcb84d 100%);
  padding: 26px 0;
}

.culture-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.culture-strip-label {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  background: rgba(13, 59, 102, 0.92);
  padding: 8px 22px;
  border-radius: 999px;
  white-space: nowrap;
}

.culture-strip-main {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.culture-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.culture-strip-item .strip-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 3px 9px;
  white-space: nowrap;
}

.culture-strip-item .strip-text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.culture-strip .strip-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.45);
}

/* ============================
   产品服务 页面
   ============================ */
.services-main {
  padding: 80px 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-detail .num {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.service-detail .body h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-detail .body p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.service-detail .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 16px;
}

.service-detail .features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text);
}

.service-detail .features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.other-services {
  background: var(--color-bg-soft);
  padding: 80px 0;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other-service-item {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
}

.other-service-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.other-service-item h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.other-service-item p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.process {
  padding: 80px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
}

.process-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 60px;
  font-size: 24px;
  color: var(--color-primary);
  z-index: 2;
}

.process-step:last-child::after { content: none; }

.process-step .circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  transition: var(--transition);
}

.process-step:hover .circle {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.process-step h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ============================
   联系我们 页面
   ============================ */
.contact-info {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--color-white);
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: 50%;
}

.contact-card .icon svg { width: 28px; height: 28px; }

.contact-card h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-card .value {
  font-size: 18px;
  color: var(--color-text);
  font-weight: 500;
  word-break: break-all;
}

.contact-card .hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.work-time {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  margin-top: 48px;
}

.work-time h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.work-time p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================
   页脚
   ============================ */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 0;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -8px 16px -8px rgba(0, 0, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-about {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-about .brand-title {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-list li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-list a:hover { color: var(--color-accent); }

.footer-contact .item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact .item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--color-accent);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .copyright {
  margin-bottom: 4px;
}

.footer-bottom .icp {
  font-size: 12px;
  opacity: 0.7;
}

.footer-bottom .icp a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom .icp a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============================
   提示消息
   ============================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 15px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================
   响应式
   ============================ */
@media (max-width: 1024px) {
  .services-grid,
  .advantages-grid,
  .overview-grid,
  .culture-grid,
  .culture-grid-3,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after { display: none; }

  /* 公司概况：删除注册资金后由 4 列改 3 列，保持整行不留缺角 */
  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 首页简介：窄屏下改为上下堆叠，统计卡保持 3 列一行 */
  .about-summary-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases-grid,
  .other-services-grid,
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 联系方式只有 3 项，保持 3 列，避免 2+1 缺角 */
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-title { font-size: 38px; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 28px; }

  .nav-menu { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .hero { height: 480px; }
  .hero-title { font-size: 28px; letter-spacing: 0.5px; }
  .hero-subtitle { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-buttons .btn { justify-content: center; }

  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 30px; letter-spacing: 2px; }

  .culture-strip { padding: 20px 0; }
  .culture-strip-inner { gap: 16px; }
  .culture-strip-main { gap: 14px; }
  .culture-strip .strip-divider { display: none; }
  .culture-strip-item .strip-text { white-space: normal; }

  .about-summary-grid,
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .advantages-grid,
  .overview-grid,
  .culture-grid,
  .culture-grid-3,
  .cases-grid,
  .other-services-grid,
  .scope-grid,
  .contact-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  .service-detail .num { width: 56px; height: 56px; font-size: 24px; }
  .service-detail .features { grid-template-columns: 1fr; }

  .process-step::after { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta h2 { font-size: 24px; }

  .nav-brand-title { font-size: 14px; }

  /* 移动端触摸目标优化 */
  .pagination button {
    padding: 10px 16px;
    min-height: 40px;
    font-size: 15px;
  }

  .footer-list a {
    display: inline-block;
    padding: 4px 0;
  }

  .contact-card .value a {
    display: inline-block;
    padding: 4px 0;
  }
}

@media (max-width: 480px) {
  .nav-brand-text { display: none; }

  /* 小屏下统计卡与概况卡改为纵向单列，避免文字挤压 */
  .about-stats,
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* 滚动动画 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 动态加载的元素用 fade-up-item（避免重复触发） */
.fade-up-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 项目列表项依次错开动画（增强观感） */
.projects-col .fade-up-item:nth-child(1) { transition-delay: 0.05s; }
.projects-col .fade-up-item:nth-child(2) { transition-delay: 0.10s; }
.projects-col .fade-up-item:nth-child(3) { transition-delay: 0.15s; }
.projects-col .fade-up-item:nth-child(4) { transition-delay: 0.20s; }
.projects-col .fade-up-item:nth-child(5) { transition-delay: 0.25s; }

.projects-table .fade-up-item:nth-child(1) { transition-delay: 0.02s; }
.projects-table .fade-up-item:nth-child(2) { transition-delay: 0.04s; }
.projects-table .fade-up-item:nth-child(3) { transition-delay: 0.06s; }
.projects-table .fade-up-item:nth-child(4) { transition-delay: 0.08s; }
.projects-table .fade-up-item:nth-child(n+5) { transition-delay: 0.10s; }

/* ============================
   项目信息模块样式
   ============================ */

/* 首页三栏项目展示 */
.projects-section {
  background: var(--color-bg-soft);
}

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

.projects-col {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.projects-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

/* 首页项目预览 CTA 卡 */
.projects-cta-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border: none;
}

.projects-cta-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.projects-cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.projects-cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.projects-cta-icon svg {
  width: 28px;
  height: 28px;
}

.projects-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.projects-cta-btn:hover {
  background: #D9B341;
  transform: translateY(-2px);
}

.projects-col-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
}

.projects-col-header .more-link {
  font-size: 13px;
  color: var(--color-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  transition: color 0.2s;
  min-height: 32px;
}

.projects-col-header .more-link:hover {
  color: var(--color-primary);
}

.projects-col-header .more-link svg {
  width: 14px;
  height: 14px;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 260px;
  transition: opacity 0.25s ease;
}

.project-list.scroll-fade {
  opacity: 0.6;
}

.project-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.project-item:last-child {
  border-bottom: none;
}

.project-item a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.project-item a:hover {
  color: var(--color-primary);
}

.project-item .project-title {
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.project-item .project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}

.project-item .project-meta .tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* 独立项目列表页 */
.projects-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.projects-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.sidebar-nav {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.nav-item:hover {
  background: #F0F4F8;
  color: var(--color-primary);
}

.nav-item.active {
  background: var(--color-primary);
  color: #fff;
  border-left-color: var(--color-accent);
  font-weight: 600;
}

.projects-content {
  flex: 1;
  min-width: 0;
}

/* 政策法规内容区 */
.policies-content {
  flex: 1;
  min-width: 0;
}

/* 政策法规面板显隐 */
.policies-panel {
  display: none;
}
.policies-panel.active {
  display: block;
}

/* 政策法规链接列表（内容来自 js/policies.js） */
.policy-list {
  list-style: none;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.policy-list:empty {
  display: none;
}

.policy-item + .policy-item {
  border-top: 1px solid var(--color-border);
}

.policy-item > a {
  display: block;
  padding: 18px 24px 18px 26px;
  border-left: 3px solid transparent;
  color: var(--color-text);
}

.policy-item > a:hover {
  background: var(--color-bg-soft);
  border-left-color: var(--color-accent);
  color: var(--color-text);
}

.policy-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.policy-item > a:hover .policy-title {
  color: var(--color-primary);
}

.policy-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (max-width: 767px) {
  .policy-item > a {
    padding: 14px 16px 14px 18px;
  }
  .policy-title {
    font-size: 15px;
  }
}

.projects-table-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.projects-table th {
  background: var(--color-bg-soft);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.projects-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.projects-table tr:last-child td {
  border-bottom: none;
}

.projects-table tbody tr {
  position: relative;
  transition: background 0.2s;
}

.projects-table tr:hover td {
  background: #FAFBFC;
}

.projects-table tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.projects-table .col-title {
  min-width: 380px;
}

.projects-table .col-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.projects-table .col-title a:hover {
  color: var(--color-primary);
}

.projects-table .col-date {
  white-space: nowrap;
  width: 150px;
  color: var(--color-text-light);
}

.projects-table .col-amount {
  white-space: nowrap;
  width: 100px;
  color: var(--color-text);
  font-weight: 600;
}

.projects-table .col-status {
  white-space: nowrap;
  width: 110px;
  text-align: center;
}

.projects-table .col-status .status-badge {
  margin-left: 0;
}

/* 服务状态徽章 */
.status-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  vertical-align: 1px;
  white-space: nowrap;
}

.status-badge.done {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.status-badge.doing {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFE0B2;
}

.projects-table .col-source {
  white-space: nowrap;
  width: 160px;
  color: var(--color-text-light);
}

.projects-table .col-action {
  white-space: nowrap;
  width: 80px;
  text-align: center;
}

.projects-table .col-action a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 13px;
}

.projects-table .col-action a:hover {
  text-decoration: underline;
}

.projects-table .col-source a {
  color: var(--color-accent);
  text-decoration: none;
}

.projects-table .col-source a:hover {
  text-decoration: underline;
}

.projects-table .col-action .no-link {
  color: var(--color-text-lighter);
  font-size: 13px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 8px;
}

.pagination button {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  min-width: 36px;
  font-weight: 500;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 162, 39, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.2);
}

.pagination button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: 600;
}

.pagination button.active:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-1px);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-light);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* 项目信息响应式 */
@media (max-width: 1024px) {
  .projects-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .projects-sidebar {
    width: 100%;
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }

  .nav-item {
    width: auto;
    flex: 1;
    min-width: 140px;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius-sm);
    justify-content: center;
    gap: 8px;
  }

  .nav-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-accent);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-table .col-action,
  .projects-table .col-amount {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  .nav-item {
    min-width: 120px;
    flex: none;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 14px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-col {
    padding: 20px;
  }

  .projects-table {
    font-size: 13px;
  }

  .projects-table th,
  .projects-table td {
    padding: 10px 12px;
  }

  /* 手机上表格不能再撑固定最小宽度，一律按容器收窄并允许换行 */
  .projects-table .col-title {
    min-width: 0;
    word-break: break-word;
  }

  .projects-table .col-date,
  .projects-table .col-amount,
  .projects-table .col-status {
    width: auto;
  }
}

/* ============================
   项目详情页（自有内容项目）
   ============================ */
.project-detail-section {
  padding: 56px 0 96px;
  background: var(--color-bg-soft);
}

.project-detail {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 56px 40px;
  box-shadow: var(--shadow-sm);
}

.detail-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--color-text-light);
}

.detail-back {
  margin-bottom: 20px;
}

.detail-back a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-text-light);
  transition: var(--transition);
}

.detail-back a:hover {
  color: var(--color-primary);
}

.detail-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.detail-cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(13, 59, 102, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.detail-title {
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}

.detail-meta .meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-meta .meta-label {
  font-size: 12px;
  color: var(--color-text-light);
}

.detail-meta .meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.detail-intro {
  margin: 28px 0 4px;
  padding: 20px 24px;
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
}

.detail-intro p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

.detail-intro p + p {
  margin-top: 8px;
}

.detail-blocks {
  margin-top: 12px;
}

.detail-block {
  padding-top: 28px;
}

.detail-block h2 {
  position: relative;
  font-size: 18px;
  color: var(--color-primary);
  padding-left: 14px;
  margin-bottom: 14px;
}

.detail-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 2px;
}

.detail-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.detail-text p + p {
  margin-top: 1px;
}

.detail-files {
  list-style: none;
}

.detail-files li {
  margin-bottom: 10px;
}

.detail-files li:last-child {
  margin-bottom: 0;
}

/* 附件条目：整行可点，点击弹下载框 */
.detail-files .file-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: 15px;
  color: var(--color-text);
}

.detail-files .file-item:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
  color: var(--color-text);
}

.file-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.6;
  color: var(--color-primary);
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
}

.file-name {
  flex: 1 1 auto;
  min-width: 120px;
  overflow-wrap: break-word;
  word-break: normal;
}

.detail-files .file-item:hover .file-name {
  color: var(--color-primary);
}

.file-size {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--color-text-muted);
}

.file-dl {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--color-primary);
  border-bottom: 1px dashed currentColor;
}

.files-hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .detail-files .file-item {
    gap: 6px 10px;
    padding: 10px 12px;
  }
  .file-size {
    order: 3;
  }
}

.detail-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.detail-foot .btn {
  padding: 12px 28px;
  font-size: 15px;
}

.detail-foot .btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.detail-foot .btn-ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* —— 详情页三个栏目页签（选取公告/澄清答疑/选取结果） —— */
.detail-tabs {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-border);
}

.detail-tab {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  padding: 10px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.detail-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.detail-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.detail-panel {
  display: none;
}

.detail-panel.active {
  display: block;
}

.detail-files-block {
  border-top: 1px dashed var(--color-border);
  margin-top: 8px;
}

.files-empty {
  font-size: 14px;
  color: var(--color-text-light);
}

.section-empty {
  padding: 56px 20px;
  text-align: center;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
}

.section-empty p {
  font-size: 15px;
  color: var(--color-text-light);
}

/* —— 原文格式正文（html 模式：照文档原样呈现，只调行距与宽度） —— */
.doc-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 0 24px;
  font-family: "宋体", SimSun, "Songti SC", "STSong", serif;
  font-size: 16px;
  line-height: 2.15;
  color: var(--color-text);
  text-align: justify;
  word-break: break-word;
}

.doc-body .doc-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 14px 0 10px;
  color: var(--color-text);
}

.doc-body .doc-no {
  text-align: center;
  font-size: 15px;
  margin: 0 0 26px;
}

.doc-body .doc-p {
  margin: 0;
}

.doc-body .doc-indent {
  text-indent: 2em;
}

.doc-body .doc-indent2 {
  padding-left: 2em;
}

.doc-body u {
  text-underline-offset: 3px;
}

.doc-body .doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.doc-body .doc-table td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  vertical-align: top;
  word-break: break-word;
}

.doc-body .doc-attach {
  margin-top: 26px;
}

.doc-body .doc-date {
  text-align: right;
  margin-top: 34px;
  padding-right: 2em;
}

@media (max-width: 768px) {
  .project-detail-section {
    padding: 32px 0 60px;
  }

  .project-detail {
    padding: 28px 22px 32px;
    border-radius: var(--radius-md);
  }

  .detail-title {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-meta .meta-value {
    font-size: 14px;
  }

  .detail-intro {
    padding: 16px 18px;
  }

  .detail-intro p,
  .detail-text p {
    font-size: 14px;
    line-height: 1.95;
  }

  .detail-block {
    padding-top: 22px;
  }

  .detail-block h2 {
    font-size: 16px;
  }

  .detail-foot {
    flex-direction: column;
    margin-top: 32px;
    padding-top: 22px;
  }

  .detail-foot .btn {
    width: 100%;
    justify-content: center;
  }

  .detail-tabs {
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .detail-tab {
    flex: 1 1 auto;
    min-width: 96px;
    padding: 9px 14px;
    font-size: 14px;
    text-align: center;
  }

  .doc-body {
    font-size: 15px;
    line-height: 2;
  }

  .doc-body .doc-title {
    font-size: 21px;
    letter-spacing: 2px;
  }

  .doc-body .doc-no {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .doc-body .doc-table {
    font-size: 13px;
    line-height: 1.85;
  }

  .doc-body .doc-table td {
    padding: 8px 10px;
  }

  .doc-body .doc-date {
    padding-right: 0;
  }
}