/* =============================================
   北京优稳昌盛科技有限公司 - YWCS 官网样式
   设计还原自 www.ywcs.com.cn
   基于 Bootstrap + Swiper
   ============================================= */

/* --- 全局重置 & 基础 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title-en {
  font-family: Georgia, serif;
  font-size: 56px;
  color: #f3f3f3;
  text-align: center;
  line-height: 1.2;
  user-select: none;
}

.section-title-cn {
  font-size: 34px;
  font-family: "Microsoft YaHei", sans-serif;
  text-align: center;
  color: #1a3a5c;
  margin-top: -10px;
  position: relative;
  z-index: 2;
}

/* ===== 1. 顶部栏 ===== */
.top-bar {
  background: #1a3a5c;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-links a { color: #ccc; margin-left: 20px; font-size: 13px; }
.top-bar-links a:hover { color: #fff; }

/* ===== 2. 头部导航 ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  overflow: visible;
}
.header { overflow: visible; }
.logo { flex-shrink: 0; }
.logo img { height: 52px; width: auto; }

.nav-menu { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
.nav-menu > li { flex-shrink: 0; white-space: nowrap; }
.nav-menu > li > a {
  display: block;
  padding: 0 10px;
  height: 80px;
  line-height: 80px;
  font-size: 14px;
  color: #333;
  font-weight: 400;
  transition: color 0.3s;
}
/* 窄屏时进一步压缩导航间距 */
@media (max-width: 1100px) {
  .nav-menu > li > a { padding: 0 7px; font-size: 13px; }
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: #0066b3; }

.header-search { display: flex; align-items: center; gap: 10px; }
.header-search .search-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-search .search-btn:hover { border-color: #0066b3; color: #0066b3; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: #333; cursor: pointer; padding: 8px; }

/* ===== 3. Banner ===== */
.banner-section { position: relative; overflow: hidden; }
.banner-slide {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.banner-slide .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 80%;
  max-width: 800px;
}
.banner-slide .slide-content h2 { font-size: 42px; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.banner-slide .slide-content p { font-size: 18px; opacity: 0.9; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.banner-slide::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3); z-index: 1;
}

.banner-section .swiper-button-prev,
.banner-section .swiper-button-next {
  color: #fff; width: 50px; height: 50px;
  background: rgba(255,255,255,0.15); border-radius: 50%; transition: background 0.3s;
}
.banner-section .swiper-button-prev:hover,
.banner-section .swiper-button-next:hover { background: rgba(255,255,255,0.3); }
.banner-section .swiper-button-prev::after,
.banner-section .swiper-button-next::after { font-size: 20px; }
.banner-section .swiper-pagination-bullet { width: 12px; height: 12px; background: rgba(255,255,255,0.5); opacity: 1; }
.banner-section .swiper-pagination-bullet-active { background: #fff; }

/* ===== 4. 关于优稳 ===== */
.about-section { padding: 80px 0; background: #f8f9fa; position: relative; overflow: hidden; }
.about-content { max-width: 1000px; margin: 40px auto 0; text-align: center; }
.about-content p { font-size: 16px; line-height: 2.4; color: #555; margin-bottom: 16px; }
.btn-more {
  display: inline-block; padding: 12px 36px; background: #0066b3; color: #fff;
  border-radius: 4px; font-size: 15px; margin-top: 20px; transition: background 0.3s;
}
.btn-more:hover { background: #004a8f; }

.stats-section { margin-top: 60px; }
.stats-list { display: flex; justify-content: center; gap: 80px; }
.stats-list li { text-align: center; }
.stats-list .number { font-size: 48px; font-weight: 700; color: #0066b3; line-height: 1.2; }
.stats-list .label { font-size: 15px; color: #666; margin-top: 8px; }

/* ===== 5. 解决方案 ===== */
.solution-section { padding: 80px 0; background: #1a3a5c; position: relative; }
.solution-section .section-title-cn { color: #fff; }
.solution-section .section-title-en { color: rgba(255,255,255,0.06); }

.solution-cards { display: flex; gap: 30px; margin-top: 50px; }
.solution-card {
  flex: 1; background: rgba(255,255,255,0.08); border-radius: 8px;
  padding: 40px 28px; text-align: center; color: #fff; transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff8c00, #ff6600);
  transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-6px); }
.solution-card .icon { font-size: 48px; margin-bottom: 16px; display: block; }
.solution-card h3 { font-size: 24px; margin-bottom: 12px; font-weight: 600; }
.solution-card .divider { width: 40px; height: 2px; background: rgba(255,255,255,0.4); margin: 16px auto; }
.solution-card p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.solution-card .btn-detail {
  display: inline-block; padding: 8px 24px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px; font-size: 14px; color: #fff; transition: all 0.3s;
}
.solution-card .btn-detail:hover { background: #ff8c00; border-color: #ff8c00; }

/* ===== 6. 业务模式 ===== */
.business-section { padding: 80px 0; background: #f8f9fa; }
.business-grid { display: flex; gap: 24px; margin-top: 50px; }
.business-card { flex: 1; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.4s ease; }
.business-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.business-card .card-header { background: #0066b3; color: #fff; padding: 24px 20px; text-align: center; }
.business-card:nth-child(2) .card-header { background: #0088cc; }
.business-card:nth-child(3) .card-header { background: #e8632b; }
.business-card:nth-child(4) .card-header { background: #2e9c6a; }
.business-card .card-header h3 { font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.business-card .card-body { padding: 30px 24px; text-align: center; }
.business-card .card-body h4 { font-size: 20px; color: #333; margin-bottom: 12px; font-weight: 600; }
.business-card .card-body .divider { width: 40px; height: 2px; background: #ddd; margin: 0 auto 16px; }
.business-card .card-body p { font-size: 14px; color: #666; line-height: 1.8; }

/* ===== 7. 联系我们 ===== */
.contact-section { padding: 80px 0; background: #fff; }
.contact-wrapper { display: flex; gap: 50px; margin-top: 50px; }
.contact-info { flex: 1; }
.contact-info .intro { font-size: 16px; line-height: 2; color: #555; margin-bottom: 30px; }
.contact-info .info-item { display: flex; align-items: flex-start; margin-bottom: 12px; font-size: 15px; line-height: 1.8; color: #555; }
.contact-info .info-item .icon { width: 24px; margin-right: 8px; flex-shrink: 0; font-size: 18px; }
.contact-map-img { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.contact-map-img img { width: 100%; height: 100%; object-fit: cover; }
.map-container { width: 100%; height: 300px; margin-top: 30px; border-radius: 8px; overflow: hidden; }

/* ===== 8. 页脚 ===== */
.footer { background: #1a1a2e; color: #aaa; padding: 60px 0 0; }
.footer > .container:first-child { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 120px; }
.footer-col h4 { color: #696969; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-qr { text-align: center; flex: 0 0 140px; }
.footer-qr img { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 4px; }
.footer-qr p { font-size: 13px; color: #aaa; }

.footer-links { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 40px; padding: 20px 0; text-align: center; }
.footer-links .container { white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.footer-links a { color: #777; font-size: 13px; margin: 0 6px; }
.footer-links a:hover { color: #fff; }
.footer-links .sep { color: #444; margin: 0 2px; }

.footer-bottom { background: rgba(0,0,0,0.2); padding: 18px 0; text-align: center; font-size: 13px; color: #707070; }
.footer-bottom a { color: #707070; }
.footer-bottom a:hover { color: #aaa; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) { .container { width: 100%; padding: 0 20px; } }
@media (max-width: 992px) {
  .banner-slide { height: 380px; }
  .banner-slide .slide-content h2 { font-size: 32px; }
  .solution-cards { gap: 20px; }
  .business-grid { flex-wrap: wrap; }
  .business-card { flex: 0 0 calc(50% - 12px); }
  .contact-wrapper { flex-direction: column; }
  .stats-list { gap: 40px; }
  .nav-menu > li > a { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 999; }
  .nav-menu.active { display: flex; }
  .nav-menu > li > a { height: auto; line-height: 1.5; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; }
  .header-search { margin-left: auto; }
  .banner-slide { height: 260px; }
  .banner-slide .slide-content h2 { font-size: 24px; }
  .banner-slide .slide-content p { font-size: 14px; }
  .section-title-en { font-size: 36px; }
  .section-title-cn { font-size: 24px; }
  .about-section, .solution-section, .business-section, .contact-section { padding: 50px 0; }
  .solution-cards { flex-direction: column; }
  .business-card { flex: 0 0 100%; }
  .stats-list { flex-direction: column; gap: 24px; }
  .stats-list .number { font-size: 36px; }
  .footer .container { flex-direction: column; }
  .footer-col { flex: 0 0 100%; }
}
@media (max-width: 480px) {
  .banner-slide { height: 200px; }
  .banner-slide .slide-content h2 { font-size: 20px; }
}

/* ===== 搜索功能暂未对接，隐藏 ===== */
.search-btn { display: none !important; }
