/* ========== 主题变量 ========== */
:root {
  --primary: #e60012;
  --primary-dark: #c4000f;
  --dark: #111;
  --dark-lighter: #1a1a1a;
  --gray-1: #333;
  --gray-2: #666;
  --gray-3: #999;
  --light-bg: #f5f5f5;
  --white: #fff;
}

/* ========== 基础重置 ========== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: var(--gray-1);
  line-height: 1.6;
  background: var(--white);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

h1 { font-size: 42px; font-weight: 700; line-height: 1.3; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.3; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.4; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }
h5 { font-size: 16px; font-weight: 600; line-height: 1.4; }
h6 { font-size: 14px; font-weight: 600; line-height: 1.4; }
a { text-decoration: none; color: inherit; }
a:focus, a:focus-visible { outline: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container {
  width: 96%;
  margin: 0 auto;
  padding: 0 10px;
}

/* ========== 头部导航 ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.header-inner {
  width: 96%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 10px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 50px; height: 50px;
  /* background: #e60012; */
  border-radius: 8px;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.logo-phone {
  display: none;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 15px;
  border-left: 1px solid #eee;
}
.header-phone span {
  font-size: 12px;
  color: #999;
}
.header-phone strong {
  font-size: 20px;
  color: var(--primary);
  font-weight: bold;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav a {
  padding: 0 25px;
  height: 80px;
  line-height: 80px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s;
  position: relative;
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--primary);
}
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}
.header-phone-mobile {
  display: none;
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
}

/* ========== 轮播图 ========== */
.banner-section {
  margin-top: 80px;
  position: relative;
  height: 600px;
  overflow: hidden;
}
.banner-slider {
  position: relative;
  height: 100%;
}
.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide .banner-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.banner-slide .banner-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}
.banner-slide.active .banner-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.0s;
}
.banner-slide .banner-content p {
  font-size: 20px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 1s ease-out;
}
.banner-slide.active .banner-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.banner-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.banner-dots .dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* ========== 统计数据 ========== */
.stats-section {
  background: var(--dark);
  padding: 100px 0;
  color: #fff;
}
.stat-item h3 {
  font-size: 56px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}
.stat-item p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
  text-align: center;
}


/* ========== 合作伙伴 ========== */
.partners-section {
  background: var(--dark-lighter);
  padding: 80px 0;
}
.partners-section .section-title {
  color: #fff;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.partner-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all 0.3s;
}
.partner-item:hover {
  background: rgba(255,255,255,0.1);
}
.partner-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* ========== 主营业务 ========== */
.business-section {
  padding: 100px 0;
  background: var(--light-bg);
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.section-subtitle {
  font-size: 16px;
  color: #999;
  margin-top: 20px;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.business-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
}
.business-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.business-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  border: 3px solid var(--primary);
  transition: all 0.3s;
  overflow: hidden;
}
.business-item:hover .business-icon {
  background: #fff;
  color: var(--primary);
}
.business-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.business-item p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

/* ========== 案例展示 ========== */
.cases-section {
  padding: 100px 0;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.case-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-item:hover img {
  transform: scale(1.1);
}
.case-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s;
}
.case-overlay h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.case-overlay span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ========== 服务优势 ========== */
.advantages-section {
  padding: 100px 0;
  background: var(--light-bg);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.advantage-item {
  text-align: center;
  padding: 30px;
}
.advantage-icon {
  width: 60px; height: 60px;
  margin: 0 auto 15px;
  color: var(--primary);
  font-size: 40px;
}
.advantage-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.advantage-item p {
  font-size: 13px;
  color: #999;
}

/* ========== 深色区域分割线 ========== */
.section-divider-dark {
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========== 页脚 ========== */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
  margin: 0;
  text-align: center;
}
.footer-email {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text {
  color: #fff;
  margin-bottom: 15px;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 2;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 2.5;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* ========== 关于我们页面 ========== */
.page-banner {
  margin-top: 80px;
  height: 320px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(230,0,18,0.08) 0%, transparent 50%);
}
.page-banner h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
.page-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}
.page-content {
  padding: 100px 0 100px;
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}
.timeline-item p {
  color: #666;
  line-height: 1.8;
}

/* ========== 案例列表页 ========== */
.filter-bar {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}
.filter-group label {
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}
.filter-group .filter-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-options span {
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s;
  border: 1px solid #ddd;
}
.filter-options span:hover,
.filter-options span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 需求提交页 ========== */
.space-section {
  padding: 110px 0 80px;
}
.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.venue-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.venue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.venue-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.venue-info {
  padding: 20px;
}
.venue-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.venue-info p {
  font-size: 13px;
  color: #999;
}
.venue-carousel {
  margin-top: 30px;
}
.venue-carousel-pages {
  position: relative;
  transition: height 0.3s;
}
.venue-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.venue-page.active {
  opacity: 1;
  visibility: visible;
}
.venue-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}
.venue-prev,
.venue-next {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.venue-prev:hover,
.venue-next:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.venue-dots {
  display: flex;
  gap: 8px;
}
.venue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}
.venue-dot.active {
  background: var(--primary);
}
.inquiry-form {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}
.btn-block {
  width: 100%;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== 详情页 ========== */
.detail-section {
  padding: 80px 0;
}
.detail-header {
  text-align: center;
  margin-bottom: 40px;
}
.detail-header h1 {
  font-size: 32px;
  margin-bottom: 15px;
}
.detail-meta {
  color: #999;
  font-size: 14px;
}
.detail-meta span {
  margin: 0 15px;
}
.detail-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 2;
  color: #555;
}
.detail-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}
.detail-content p {
  margin-bottom: 15px;
}

/* ========== 首页联系信息 ========== */
.contact-info-wrap {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #fff;
  margin-top: 2px;
}
.contact-body {
  flex: 1;
  color: #fff;
}
.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
.city-tab {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.city-tab:hover {
  color: #fff;
}
.city-tab.active {
  color: #fff;
  border-bottom-color: #fff;
}
.city-address {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.phone-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.phone-number {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #fff;
}
.email-item {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.email-item strong {
  color: rgba(255,255,255,0.6);
  font-weight: normal;
  margin-right: 6px;
}

/* 浅色背景变体 */
.contact-info-wrap.light .contact-icon {
  color: var(--primary);
}
.contact-info-wrap.light .contact-body {
  color: #333;
}
.contact-info-wrap.light .city-tab {
  color: #666;
}
.contact-info-wrap.light .city-tab:hover {
  color: var(--primary);
}
.contact-info-wrap.light .city-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.contact-info-wrap.light .city-address {
  color: #555;
}
.contact-info-wrap.light .phone-label {
  color: #666;
}
.contact-info-wrap.light .phone-number {
  color: var(--primary);
  font-weight: 500;
}
.contact-info-wrap.light .email-item {
  color: #555;
}
.contact-info-wrap.light .email-item strong {
  color: #999;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .home-inquiry-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-inquiry-form { max-width: 600px; margin: 0 auto; }
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
  /* 容器 */
  .container { padding: 0 16px; }
  .header-inner { height: 56px; padding: 0 16px; }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-phone { display: none; }
  .header-phone-mobile { display: block; font-size: 13px; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text-wrap { display: none; }
  .logo-phone { display: block; }
  .logo-text { font-size: 16px; }
  .logo-sub { font-size: 10px; }

  /* 轮播图 */
  .banner-section { height: 220px; margin-top: 56px; }
  .banner-slide .banner-content h2 { font-size: 20px; margin-bottom: 8px; }
  .banner-slide .banner-content p { font-size: 13px; }
  .banner-dots { bottom: 12px; }
  .banner-dots .dot { width: 8px; height: 8px; }
  .banner-dots .dot.active { width: 20px; }

  /* 标题字号 */
  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  .section-title { font-size: 20px; }
  .section-subtitle { font-size: 12px; margin-top: 12px; }
  .section-header { margin-bottom: 25px; }

  /* section 间距大幅缩减 */
  .stats-section { padding: 30px 0; }
  .stat-item h3 { font-size: 26px; margin-bottom: 6px; }
  .stat-item p { font-size: 12px; }
  .business-section { padding: 30px 0; }
  .cases-section { padding: 30px 0; }
  .news-section { padding: 30px 0; }
  .advantages-section { padding: 30px 0; }
  .partners-section { padding: 30px 0; }
  .home-inquiry-section { padding: 30px 0; }
  .page-content { padding: 76px 0 30px; }
  .detail-section { padding: 30px 0; }
  .space-section { padding: 30px 0; }

  /* grid 布局 */
  .stats-grid { flex-direction: row; gap: 20px; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .footer-brand { grid-column: 1 / -1; }
  .space-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* page-banner */
  .page-banner { margin-top: 56px; height: 140px; }
  .page-banner h1 { font-size: 20px; margin-bottom: 6px; }
  .page-banner p { font-size: 12px; }

  /* 筛选 */
  .filter-bar { flex-direction: column; gap: 10px; padding: 15px 0; margin-bottom: 15px; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filter-options span { padding: 4px 10px; font-size: 11px; }

  /* 按钮触控优化 */
  .btn { padding: 12px 24px; font-size: 14px; min-height: 44px; }
  .back-btn { padding: 10px 16px; font-size: 13px; }

  /* 多选按钮触控优化 */
  .option-btn { padding: 8px 14px !important; font-size: 13px !important; min-height: 36px; }

  /* 分页触控优化 */
  .pagination button { min-width: 40px; min-height: 40px; padding: 8px 12px; }

  /* 表单触控优化 */
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 12px 12px; min-height: 44px; font-size: 16px; }
  .form-group label { font-size: 13px; margin-bottom: 6px; }
  .form-group { margin-bottom: 15px; }

  /* 详情页 */
  .detail-header { margin-bottom: 15px; padding-top: 10px; }

  /* 富文本内容防溢出 */
  .page-content,
  .detail-content {
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .page-content img,
  .page-content video,
  .page-content iframe,
  .detail-content img,
  .detail-content video,
  .detail-content iframe {
    max-width: 100%;
    height: auto;
  }
  .page-content pre,
  .detail-content pre {
    white-space: pre-wrap;
    word-break: break-all;
  }
  .page-content table,
  .detail-content table {
    max-width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  .page-content table td,
  .page-content table th,
  .detail-content table td,
  .detail-content table th {
    padding: 8px;
    word-break: break-all;
  }
  /* 富文本中的 flex/grid 容器适配 */
  .page-content [style*="display:flex"],
  .page-content [style*="display: flex"],
  .detail-content [style*="display:flex"],
  .detail-content [style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  .page-content [style*="display:grid"],
  .page-content [style*="display: grid"],
  .detail-content [style*="display:grid"],
  .detail-content [style*="display: grid"] {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
  }
  .detail-header h1 { font-size: 18px; }
  .detail-content { padding: 0 5px; line-height: 1.8; }
  .detail-content img { margin: 12px 0; }

  /* 时间线 */
  .timeline { padding-left: 24px; }
  .timeline-item { padding-bottom: 25px; }
  .timeline-item::before { left: -22px; width: 10px; height: 10px; }
  .timeline-item h4 { font-size: 15px; margin-bottom: 6px; }
  .timeline-item p { font-size: 13px; line-height: 1.7; }

  /* 页脚 */
  .footer { padding: 30px 0 15px; }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-brand p { font-size: 12px; line-height: 1.8; }
  .footer-col h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-col a { font-size: 12px; line-height: 2.2; }
  .footer-bottom { padding-top: 15px; margin-top: 15px; }
  .footer-grid { gap: 15px; }

  /* 卡片 */
  .case-item { border-radius: 6px; }
  .case-overlay { padding: 12px; }
  .case-overlay h4 { font-size: 13px; }
  .partner-item { height: 60px; padding: 10px; }
  .partner-item span { font-size: 12px !important; }
  .news-item { border-radius: 6px; }
  .business-item { padding: 15px 10px; }
  .business-icon { width: 48px; height: 48px; font-size: 22px; }
  .business-item h4 { font-size: 14px; margin-bottom: 6px; }
  .business-item p { font-size: 12px; }
  .advantage-item { padding: 15px 10px; }
  .advantage-icon { font-size: 28px !important; width: 48px; height: 48px; }
  .advantage-item h4 { font-size: 14px; margin-bottom: 6px; }
  .advantage-item p { font-size: 12px; }

  /* 详情页相关案例/新闻 */
  #relatedCases { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .related-news-grid { grid-template-columns: 1fr !important; gap: 10px !important; }

  /* 关于我们页面 */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
  .office-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* 服务理念页面 */
  .service-process-wrap { flex-direction: column !important; gap: 20px !important; }
  .service-step { min-width: 0 !important; }
  .service-step h4 { font-size: 14px; }
  .process-arrow { display: none !important; }
  .idea-title { font-size: 20px !important; margin-bottom: 12px !important; }
  .idea-desc { font-size: 13px !important; }
  .process-section { padding: 25px 15px !important; }
  .process-section-title { font-size: 18px !important; margin-bottom: 20px !important; }

  /* 新闻列表 */
  .news-list-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .news-list-section { padding: 30px 0; }

  /* 需求提交页 */
  .feature-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .inquiry-form { padding: 20px !important; }
  .venue-card img { height: 150px; }
  .venue-info { padding: 12px; }
  .venue-info h4 { font-size: 14px; }
  .venue-carousel-pages { min-height: auto; }

  /* 首页需求提交 */
  .home-inquiry-left h2 { font-size: 20px; margin-bottom: 12px; }
  .home-inquiry-left p { font-size: 13px; margin-bottom: 20px; }
  .home-inquiry-form h3 { font-size: 18px; margin-bottom: 15px; }

  /* 移动端菜单遮罩 */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .mobile-menu-overlay.active { display: block; }
}

@media (max-width: 480px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .banner-section { height: 180px; }
  .banner-slide .banner-content h2 { font-size: 18px; }
  .section-title { font-size: 18px; }
  .section-subtitle { font-size: 11px; }
  .home-inquiry-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .home-inquiry-left h2 { font-size: 18px; }
  .home-inquiry-form { padding: 12px; }
  .btn { width: 100%; text-align: center; padding: 10px 20px; min-height: 40px; }
  .space-grid { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* 补充 */
  .team-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .office-grid { grid-template-columns: 1fr !important; }
  .news-list-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  #relatedCases { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .footer-grid { gap: 10px; }
  .header-phone-mobile { display: none !important; }
}

/* ========== 宽屏优化 ========== */
@media (min-width: 1400px) {
  .cases-grid { grid-template-columns: repeat(5, 1fr); }
  .advantages-grid { grid-template-columns: repeat(6, 1fr); }
  .partners-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 1800px) {
  .cases-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ========== 加载动画 ========== */
.loading {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 12px;
  border-radius: 4px;
}

.skeleton-text {
  height: 16px;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-text.short { width: 70%; }
.skeleton-text.medium { width: 85%; }

.skeleton-image {
  height: 150px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-button {
  height: 36px;
  width: 100px;
  border-radius: 4px;
}

/* 懒加载图片 */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* ========== 消息提示 ========== */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 30px;
  background: #333;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { background: #52c41a; }
.toast.error { background: #ff4d4f; }