/* 
 * XECO 页面样式隔离
 * 防止第三方样式影响 header 和 footer
 */

/* 修复第三方样式中的 .main 负 margin 问题 */
.xeco-page .xeco-content {
  margin-top: 0 !important;
}

/* 防止第三方样式中的 .container 类冲突 */
.xeco-page .header-box .container,
.xeco-page .footer-box .container {
  margin-top: 0 !important;
}

/* 确保 header 和 footer 不受第三方样式影响 */
.xeco-page .header-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
  box-sizing: border-box !important;
}

.xeco-page .header-box * {
  box-sizing: border-box !important;
}

.xeco-page .header-box a {
  text-decoration: none !important;
  display: inline-block !important;
}

.xeco-page .header-box h1,
.xeco-page .header-box h2,
.xeco-page .header-box h3,
.xeco-page .header-box h4,
.xeco-page .header-box h5,
.xeco-page .header-box h6 {
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* footer 样式保护 */
.xeco-page .footer-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}

.xeco-page .footer-box * {
  box-sizing: border-box !important;
}

.xeco-page .footer-box a {
  text-decoration: none !important;
}

.xeco-page .footer-box h1,
.xeco-page .footer-box h2,
.xeco-page .footer-box h3,
.xeco-page .footer-box h4,
.xeco-page .footer-box h5,
.xeco-page .footer-box h6 {
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* 确保 xeco-content 区域使用第三方样式 */
.xeco-page .xeco-content {
  font-family: 'Roboto', sans-serif;
}

/* 修复可能的布局问题 */
.xeco-page {
  overflow-x: hidden;
}

/* 修复 hero-shape 波浪形状显示问题 */
.xeco-page .hero-shape {
  width: 100%;
  z-index: 1;
}

.xeco-page .hero-shape img {
  width: 100%;
  display: block;
}

/* 确保 hero-section 不会隐藏波浪形状 */
.xeco-page .hero-section {
  position: relative;
  overflow: visible;
}

.xeco-page .hero-wrapper {
  position: relative;
  overflow: visible;
}

/* ABOUT US 区域：与设计稿（图片一）一致 */
.xeco-page .site-title-tagline {
  color: #00D1AB !important;
}
.xeco-page .site-title-tagline::before {
  background: #00D1AB;
}
.xeco-page .site-title-tagline::after {
  background: #1E1660;
}
.xeco-page .site-title {
  color: #1E1660 !important;
}
.xeco-page .site-title span {
  color: #00D1AB !important;
  text-align: left;
}
.xeco-page .about-area .about-text {
  color: #666;
}

/* Why Choose Us：六项卡片样式（与图片一一致） */
.xeco-page .choose-cards {
  margin-top: 0;
}

.xeco-page .choose-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F8F8FA;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.xeco-page .choose-card-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #28A745;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xeco-page .choose-card-text {
  color: #2C2F4F;
  font-size: 1rem;
  font-weight: 400;
}
