/* ============================================
   北京智瑞博创科技有限公司 - 主样式表
   基于 Bootstrap 5.3 CSS 变量进行主题化
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* 主色调 */
  --color-primary: #0B3B60;
  --color-primary-light: #1A8CDB;
  --color-primary-dark: #06203A;
  --color-accent: #00D4AA;
  --color-dark: #0A1628;
  --color-light: #F0F4F8;

  /* 功能色 */
  --color-warning: #FF6B35;
  --color-text: #1E293B;
  --color-text-secondary: #64748B;
  --color-border: #E2E8F0;

  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #0B3B60 0%, #1A8CDB 100%);
  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #0B3B60 50%, #1A3A6B 100%);
  --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #1A8CDB 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(240,244,248,0.8) 100%);

  /* 字体 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* 间距 */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 20px rgba(26,140,219,0.15);

  /* 动画 */
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Bootstrap Overrides --- */
[data-bs-theme="light"] {
  --bs-primary: #0B3B60;
  --bs-primary-rgb: 11, 59, 96;
  --bs-link-color: #1A8CDB;
  --bs-link-hover-color: #0B3B60;
}

.btn-primary {
  --bs-btn-bg: var(--color-primary-light);
  --bs-btn-border-color: var(--color-primary-light);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-active-bg: var(--color-primary);
}

/* --- Global Styles --- */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-light);
  overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  transition: background var(--duration-normal) var(--ease-out);
}

.navbar-brand img {
  height: 48px;
  transition: height var(--duration-normal) var(--ease-out);
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar-scrolled .navbar-brand img {
  height: 40px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 1.5rem 1rem !important;
  color: var(--color-text) !important;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

/* 未滚动时（透明背景叠在深色hero上方）文字用白色 */
.navbar:not(.navbar-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}
.navbar:not(.navbar-scrolled) .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* 导航栏电话 */
.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-light);
  white-space: nowrap;
  border-left: 1px solid var(--color-border);
}
.navbar-phone i {
  font-size: 1.35rem;
}
.navbar:not(.navbar-scrolled) .navbar-phone {
  color: white;
  border-left-color: rgba(255,255,255,0.2);
}
@media (max-width: 991.98px) {
  .navbar-phone {
    margin-left: 0;
    padding: 0.5rem 1rem;
    border-left: none;
    border-top: 1px solid var(--color-border);
    justify-content: center;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 1.2rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-primary-light);
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* 桌面端：悬停展开下拉菜单 */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 0;
    animation: dropdown-fade-in 0.2s var(--ease-out) forwards;
  }

  .navbar-nav .dropdown:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0 !important;
  border-top: 3px solid var(--color-primary-light);
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.dropdown-item:hover {
  background: var(--color-light);
  color: var(--color-primary-light);
  transform: translateX(4px);
}

/* --- Hero Banner --- */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(26, 140, 219, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(11, 59, 96, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Fiber optic line effect */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0px,
      transparent 60px,
      rgba(26, 140, 219, 0.03) 60px,
      rgba(26, 140, 219, 0.03) 61px
    );
  pointer-events: none;
}

/* Floating light particles */
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary-light), 0 0 20px rgba(26, 140, 219, 0.3);
  animation: float-particle 8s infinite;
  opacity: 0.4;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-10px) translateX(-10px); opacity: 0.3; }
  75% { transform: translateY(-30px) translateX(5px); opacity: 0.5; }
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* --- Product Cards --- */
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.product-card .card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.product-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .card-body .btn {
  margin-top: auto;
}

.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .card-text {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Section Styles --- */
.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.section-title-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: var(--space-md) auto var(--space-lg);
  border-radius: var(--radius-full);
}

/* --- Solution Cards --- */
.solution-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

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

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

.solution-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* --- Case Cards --- */
.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.case-card .case-img {
  height: 200px;
  object-fit: cover;
}

.case-card .case-img-fallback {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.case-card .case-img-fallback::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.case-card .case-img-fallback i,
.case-card .case-img-fallback svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.case-card .case-img-fallback svg.svg-industry-icon {
  width: 3.5rem;
  height: 3.5rem;
}

.case-detail-fallback svg.svg-industry-icon {
  width: 4rem;
  height: 4rem;
}

.case-card .case-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card .case-body .small.fw-medium {
  margin-top: auto;
}

.case-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(26, 140, 219, 0.1);
  color: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Counters / Stats --- */
.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer h5 {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--duration-fast) var(--ease-out);
  display: block;
  padding: 0.2rem 0;
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: var(--space-lg) 0;
}

.footer-bottom {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Breadcrumb --- */
.breadcrumb-section {
  background: var(--gradient-primary);
  padding: 5rem 0 2.5rem;
  color: white;
  position: relative;
}

.breadcrumb-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0px, transparent 80px,
    rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  pointer-events: none;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item.active {
  color: white;
}

/* --- Page Content --- */
.page-content {
  min-height: 60vh;
  padding-top: 5.5rem;
  padding-bottom: var(--space-xl);
}

/* --- News --- */
.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-border);
}

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

.news-card .news-date {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.news-card .news-title {
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Product Detail --- */
.product-detail-header {
  background: var(--gradient-primary);
  padding: 6rem 0 3rem;
  color: white;
}

/* --- Product Detail Sections --- */
.section-title {
  display: flex;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.product-content img {
  max-width: 100%;
  height: auto;
}

.product-content table {
  max-width: 100%;
  overflow-x: auto;
}

.product-specs-table {
  margin-bottom: 0;
}

.product-specs-table th {
  width: 30%;
  background: var(--color-light);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .product-specs-table th {
    width: 40%;
    white-space: normal;
  }
}

/* --- Pagination --- */
.pagination .page-link {
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: var(--radius-sm) !important;
  color: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination .page-link:hover {
  background: var(--color-light);
  color: var(--color-primary-light);
}

.pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  color: white;
}

/* --- Back to Top --- */
/* --- About Sub-navigation Tabs --- */
.about-tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border);
}

.about-tab {
    flex: 1;
    padding: 0.85rem 1.5rem;
    text-align: center;
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
}

.about-tab:hover {
    color: var(--color-primary-light);
    background: var(--color-light);
}

.about-tab.active {
    color: var(--color-primary-light);
    border-bottom-color: var(--color-primary-light);
    background: rgba(26, 140, 219, 0.05);
}

.about-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    line-height: 1.8;
    color: var(--color-text);
}

.about-content h3 {
    color: var(--color-primary);
    font-size: 1.15rem;
    margin-top: 1.5rem;
}

@media (max-width: 575.98px) {
    .about-tabs {
        flex-direction: column;
    }
    .about-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .about-tab.active {
        border-bottom-color: transparent;
        border-left-color: var(--color-primary-light);
    }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    min-height: 60vh;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .product-card .card-img-wrapper {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 50vh;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .footer {
    text-align: center;
  }
}

/* Fiber optic line animation for hero */
.fiber-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
  opacity: 0.3;
  animation: fiber-pulse 3s infinite;
}

@keyframes fiber-pulse {
  0%, 100% { opacity: 0.1; transform: scaleX(0.8); }
  50% { opacity: 0.4; transform: scaleX(1.2); }
}

/* ============================================
   典型案例（旧版风格移植）
   ============================================ */
.banner_top {
  width: 100%;
}
.banner_top .tp-banner img {
  width: 100%;
  display: block;
}
.nav1_sec {
  width: 100%;
  padding: 0 4%;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav2 {
  width: auto;
  text-align: left;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav2 li {
  width: 9%;
  float: left;
  line-height: 60px;
  text-align: center;
  list-style: none;
}
.nav2 li:last-child {
  padding-right: 0;
}
.nav2 li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: block;
}
.nav2 li:hover,
.nav2 li.dq {
  border-bottom: 3px solid #006186;
  transition: all 500ms;
  color: #006186;
}
.nav2 li.dq a {
  color: #006186;
}
.clearfix {
  clear: both;
}
.titlePage {
  position: relative;
  text-align: center;
  height: 90px;
}
.titlePage span {
  display: block;
  text-align: center;
}
.titlePage .cn {
  font-size: 36px;
  color: #333333;
  position: relative;
}
.titlePage .cn:after {
  left: 0;
  width: 100%;
  bottom: -24%;
  height: 1px;
  background: #e5e5e5;
  position: absolute;
  content: '';
}
.titlePage .en {
  font-size: 16px;
  color: #666666;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  z-index: 15;
  background: #fff;
  padding: 0 15px;
}
.project-body {
  background: #fff;
}
.project-body .titlePage {
  height: 120px;
  margin-bottom: 30px;
}
.project-body .container {
  max-width: 1400px;
  padding: 60px 0;
}
.project-body .boxs {
  margin-bottom: 60px;
  padding: 0 20px;
  cursor: pointer;
}
.project-body .boxs .box {
  border: 1px solid #E5E5E5;
  border-radius: 5px;
  transition: all .5s;
  position: relative;
  top: 0;
  overflow: hidden;
}
.project-body .boxs .box:hover {
  top: -15px;
  box-shadow: 0 10px 15px #ddd;
}
.project-body .boxs .box img {
  width: 100%;
  display: block;
}
.project-body .boxs .box .box-main {
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.project-body .boxs .box .box-main:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background: #ff5d04;
  top: 0;
  left: -100%;
  transition: all .5s;
}
.project-body .boxs .box:hover .box-main:before {
  left: 0;
}
.project-body .boxs .box .box-main .main-top {
  border-bottom: 1px dashed #d4d4d4;
  height: 44px;
}
.project-body .boxs .box .box-main .main-tit {
  font-weight: bold;
  color: #333;
  line-height: 22px;
  overflow: hidden;
  font-size: 14px;
}
.project-body .boxs .box .box-main .main-bottom {
  margin-top: 15px;
  color: #666;
  line-height: 30px;
}
.project-body .boxs .box .box-main .main-bottom .m span:first-child {
  color: #f35b13;
}
.box-img-fallback {
  width: 100%;
}
.school-body {
  background: #f2f2f2;
  border-bottom: 1px solid #ccc;
}
.school-body .content1440 {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 60px 0;
  z-index: 2;
}
.school-body .titlePage {
  margin-bottom: 30px;
}
.school-body .titlePage .en {
  background: #f2f2f2;
}
.model_news_detail {
  max-width: 1000px;
  margin: auto;
  margin-bottom: 50px;
  position: relative;
}
.model_news_detail .back {
  width: 100%;
  height: 50px;
  position: relative;
}
.model_news_detail .back a {
  display: block;
  width: 150px;
  height: 40px;
  color: #F88544;
  line-height: 40px;
  text-align: center;
  position: absolute;
  top: 20px;
  right: 0;
  border: 1px solid #F88544;
  text-decoration: none;
}
.model_news_detail .back a:hover {
  background: #F88544;
  color: #FFFFFF;
}
.model_news_detail .title {
  width: 100%;
  line-height: 35px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding: 35px 5% 15px;
}
.model_news_detail .summary {
  width: 100%;
  line-height: 20px;
  font-size: 12px;
  text-align: center;
  color: #666666;
  padding-bottom: 15px;
  border-bottom: 1px dotted #ccc;
}
.model_news_detail .summary span {
  font-size: 14px;
  font-family: Georgia, Times, serif;
  color: #ff0000;
  font-weight: bold;
}
.model_news_detail .detailContent {
  width: 100%;
  min-height: 300px;
  margin: 25px 0;
  line-height: 28px;
  color: #3E3E3E;
}
.model_news_detail .detailContent img {
  max-width: 100%;
  margin: 15px auto;
  display: block;
}
.model_news_detail .detailPage {
  width: 100%;
}
.model_news_detail .detailPage div {
  width: 100%;
  line-height: 20px;
  border-bottom: 1px dotted #ccc;
  font-size: 14px;
  padding: 5px 0;
  font-weight: bold;
}
.model_news_detail .detailPage div a {
  font-weight: normal;
}
.pagess {
  margin-top: 20px;
  text-align: center;
}
.pagess ul {
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pagess li {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  margin: 0 0.5%;
}
.pagess li a {
  padding: 5.5px 20px;
  background-color: #e0dbdb;
  color: #333;
  text-decoration: none;
}
.pagess li:hover a {
  background-color: #006186;
  color: #fff;
}
.pagess .thisclass {
  background-color: #006186;
  color: #fff;
  padding: 0 20px;
}
.pagess .pageinfo {
  padding: 5.5px 20px;
  color: #999;
}

/* 案例页面覆盖：去掉 page-content 默认上边距，banner 紧贴导航栏 */
.page-content-case {
  padding-top: 0 !important;
}

/* ============================================
   服务支持
   ============================================ */
.service-tabs {
  display: flex;
  gap: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-top: calc(-3rem);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}
.service-tab {
  flex: 1;
  padding: 0.85rem 1.5rem;
  text-align: center;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
}
.service-tab:hover {
  color: var(--color-primary-light);
  background: var(--color-light);
}
.service-tab.active {
  color: var(--color-primary-light);
  border-bottom-color: var(--color-primary-light);
  background: rgba(26, 140, 219, 0.05);
}
.service-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}
.service-content h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-primary-light);
}
.service-content h3:first-child {
  margin-top: 0;
}
.service-content p {
  text-indent: 2em;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}
.fault-level-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.fault-level-list li {
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary-light);
}
.fault-level-list li strong {
  color: var(--color-primary);
}
.response-table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}
.response-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.response-table thead {
  background: var(--gradient-primary);
  color: white;
}
.response-table th {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.response-table td {
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.response-table tbody tr:last-child td {
  border-bottom: none;
}
.response-table tbody tr:nth-child(even) {
  background: var(--color-light);
}
.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
  border: 1px solid var(--color-border);
}
.download-item:hover {
  background: white;
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
  color: var(--color-text);
}
.download-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.download-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.download-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.download-hint {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-top: 0.15rem;
}
.download-action {
  color: var(--color-primary-light);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.download-item:hover .download-action {
  opacity: 1;
}
@media (max-width: 575.98px) {
  .service-tabs {
    flex-direction: column;
    margin-top: 0;
  }
  .service-tab {
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .service-tab.active {
    border-bottom-color: transparent;
    border-left-color: var(--color-primary-light);
  }
  .download-action {
    opacity: 1;
  }
}

/* ============================================
   联系我们
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}
.contact-map-col {
  display: flex;
}
.contact-map-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.contact-map-wrapper iframe {
  flex: 1;
  min-height: 350px;
}
.contact-company-name {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary-light);
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}
.contact-detail-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact-detail-label {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-detail-value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}
.contact-map-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.contact-map-wrapper iframe {
  display: block;
  flex: 1;
  min-height: 350px;
}
.contact-map-hint {
  padding: 0.5rem 1rem;
  text-align: center;
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
}
.contact-map-hint a {
  color: var(--color-primary-light);
  text-decoration: none;
}
.contact-map-hint a:hover {
  text-decoration: underline;
}
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}
.contact-form-group {
  margin-bottom: 1rem;
}
.contact-form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.9rem;
}
.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-light);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(26, 140, 219, 0.12);
  background: white;
}
.contact-form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-submit {
  text-align: center;
  margin-top: 1.5rem;
}
.contact-form-submit .btn {
  padding: 0.6rem 2.5rem;
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   人才招聘
   ============================================ */
.recruit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.recruit-card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-border);
}
.recruit-card:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(11, 59, 96, 0.25);
  transform: translateY(-2px);
}
.recruit-card-link {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  text-decoration: none;
  color: var(--color-text);
  padding: 1.5rem 2rem;
  align-items: center;
}
.recruit-card:hover .recruit-card-link {
  color: white;
}
.recruit-card-left {
  border-right: 1px solid var(--color-border);
  padding-right: 1.5rem;
}
.recruit-card:hover .recruit-card-left {
  border-right-color: rgba(255,255,255,0.2);
}
.recruit-card-position {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.recruit-card:hover .recruit-card-position {
  color: white;
}
.recruit-card-pay {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}
.recruit-card-pay span {
  font-size: 1.2rem;
  color: #e67e22;
  font-weight: 700;
}
.recruit-card:hover .recruit-card-pay {
  color: rgba(255,255,255,0.8);
}
.recruit-card:hover .recruit-card-pay span {
  color: white;
}
.recruit-card-location {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}
.recruit-card:hover .recruit-card-location {
  color: rgba(255,255,255,0.75);
}
.recruit-card-right {
  padding-left: 1.5rem;
}
.recruit-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recruit-card:hover .recruit-card-desc {
  color: rgba(255,255,255,0.9);
}
.recruit-card-more {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  font-weight: 500;
}
.recruit-card:hover .recruit-card-more {
  color: white;
}
@media (max-width: 767.98px) {
  .recruit-card-link {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
  }
  .recruit-card-left {
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }
  .recruit-card:hover .recruit-card-left {
    border-bottom-color: rgba(255,255,255,0.2);
  }
  .recruit-card-right {
    padding-left: 0;
  }
}

/* --- 案例详情正文排版 --- */
.case-content h2,
.case-content h3,
.case-content h4 {
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.case-content h2 { font-size: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.case-content h3 { font-size: 1.25rem; }
.case-content h4 { font-size: 1.1rem; }
.case-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}
.case-content ul,
.case-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.case-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}
.case-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem auto;
  display: block;
  box-shadow: var(--shadow-sm);
}
.case-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}
.case-content th,
.case-content td {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.case-content th {
  background: var(--color-light);
  font-weight: 600;
}
.case-content blockquote {
  border-left: 4px solid var(--color-primary-light);
  background: var(--color-light);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-secondary);
}
.case-content a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* --- 方案详情正文排版 --- */
.solution-content h2,
.solution-content h3,
.solution-content h4 {
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.solution-content h2 { font-size: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.solution-content h3 { font-size: 1.25rem; }
.solution-content h4 { font-size: 1.1rem; }
.solution-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}
.solution-content ul,
.solution-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.solution-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}
.solution-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem auto;
  display: block;
  box-shadow: var(--shadow-sm);
}
