/* ========================================
   百优众创空间 · 全局样式
   ======================================== */

:root {
  --primary: #1a56db;
  --primary-dark: #1244b8;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #6366f1 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   按钮
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

/* ========================================
   导航栏
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  transition: color var(--transition);
}

.logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.header.scrolled .logo-main {
  color: var(--dark);
}

.header.scrolled .logo-sub {
  color: var(--gray-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link {
  color: var(--gray-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(26, 86, 219, 0.08);
}

.nav-link-cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  font-weight: 600;
}

.nav-link-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 500;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========================================
   通用区块
   ======================================== */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 16px;
}

/* ========================================
   关于我们
   ======================================== */

.about {
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-block h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.about-block p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.about-block strong {
  color: var(--primary);
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.principle-item {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.principle-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.principle-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.principle-item h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}

.principle-item p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 86, 219, 0.1);
}

.about-card-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.about-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
}

.about-card-header h4 {
  font-size: 1.2rem;
  color: var(--dark);
}

.about-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.about-card-list li:last-child {
  border-bottom: none;
}

.list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.about-card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-500);
}

/* ========================================
   孵化服务
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 86, 219, 0.08);
  border-radius: var(--radius-md);
  color: var(--primary);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   空间设施
   ======================================== */

.space {
  background: var(--dark);
  color: var(--white);
}

.space .section-tag {
  color: var(--accent-light);
}

.space .section-title {
  color: var(--white);
}

.space .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.space-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.8;
}

.space-desc strong {
  color: var(--accent-light);
}

.space-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.space-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.space-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.space-photo-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.space-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.space-photo-main:hover img {
  transform: scale(1.05);
}

.space-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.space-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showcase-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}

.showcase-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-main {
  grid-column: span 2;
  background: var(--gradient-primary);
  border: none;
}

.showcase-main:hover {
  background: var(--gradient-primary);
  transform: scale(1.02);
}

.showcase-inner {
  text-align: center;
}

.showcase-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.showcase-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.showcase-value span {
  font-size: 1rem;
  font-weight: 500;
  margin-left: 4px;
}

.showcase-main .showcase-value {
  font-size: 3rem;
}

/* ========================================
   空间实景画廊
   ======================================== */

.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

.gallery-zoom {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

/* 图片灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: var(--white);
  font-size: 16px;
  margin-top: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10001;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 32px;
  border-radius: 50%;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 28px;
  border-radius: 50%;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   品牌活动
   ======================================== */

.activities {
  background: var(--gray-100);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.activity-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.activity-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.activity-card:hover::before {
  transform: scaleY(1);
}

.activity-card-featured {
  background: var(--gradient-primary);
  color: var(--white);
}

.activity-card-featured::before {
  background: var(--accent);
}

.activity-card-featured .activity-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.activity-card-featured p {
  color: rgba(255, 255, 255, 0.85);
}

.activity-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.activity-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.activity-card-featured h3 {
  color: var(--white);
}

.activity-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========================================
   孵化领域
   ======================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 60px;
}

.industry-tag {
  padding: 14px 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.industry-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.industries-highlight {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.highlight-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.highlight-content p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.highlight-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.highlight-stat {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.highlight-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.highlight-num::after {
  content: '+';
  font-size: 1.5rem;
}

.highlight-stat:last-child .highlight-num::after {
  content: '年';
  font-size: 1rem;
}

.highlight-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Fix last stat to show 年 instead of + */
.highlight-stat:nth-child(3) .highlight-num::after {
  content: '年';
  font-size: 1rem;
}

.highlight-stat:nth-child(2) .highlight-num::after {
  content: '+';
}

.highlight-stat:nth-child(1) .highlight-num::after {
  content: '+';
}

/* ========================================
   联系我们
   ======================================== */

.contact {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 86, 219, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--gray-700);
}

.contact-item a {
  color: var(--primary);
}

.contact-item a:hover {
  text-decoration: underline;
}

.wechat-block {
  margin-top: 40px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.wechat-block h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.wechat-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.wechat-qrcode {
  display: inline-block;
  padding: 12px;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.wechat-qrcode img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}

.wechat-tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-500);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ========================================
   页脚
   ======================================== */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-main {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-wechat-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-wechat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-wechat img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 4px;
}

.footer-wechat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: nowrap;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   返回顶部
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   动画
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid,
  .space-grid,
  .contact-grid,
  .industries-highlight {
    grid-template-columns: 1fr;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-wechat-col {
    grid-column: span 1;
  }

  .industries-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    color: var(--gray-700) !important;
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(26, 86, 219, 0.08) !important;
    color: var(--primary) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .gallery-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-wechat-col {
    grid-column: span 2;
  }

  .footer-wechat {
    flex-direction: row;
    align-items: center;
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight-stat {
    flex: 1;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .industries-highlight {
    padding: 32px 24px;
  }
}
