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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #333; line-height: 1.7; background: #fafbfc; -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
img, svg { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 颜色变量（CSS自定义属性） */
:root {
  --primary: #0d9488;
  --primary-dark: #0d47a1;
  --primary-light: #e8f0fe;
  --primary-mid: #d2e3fc;
  --accent: #34a853;
  --dark: #1a1a2e;
  --text: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --bg: #fafbfc;
  --bg-alt: #f5f7fa;
  --white: #fff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --radius: 10px;
  --radius-lg: 14px;
}

/* ========== 导航 ========== */
.navbar {
  background: var(--white); box-shadow: 0 1px 8px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 100;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar .logo {
  display: flex; align-items: center;
}
.navbar .logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: #555;
  padding: 8px 0; position: relative; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-contact {
  font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px;
}
.nav-contact svg { width: 14px; height: 14px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: #333; padding: 4px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ========== Hero Carousel ========== */
.hero-carousel { position: relative; overflow: hidden; height: 520px; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease-in-out;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.7) 100%);
}
.hero-slide .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 90px; text-align: center; color: #fff; }
.hero-slide h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero-slide p { font-size: 18px; opacity: .88; max-width: 620px; margin: 0 auto 36px; line-height: 1.8; }
.hero-slide .btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border-radius: 8px;
  font-size: 16px; font-weight: 600; transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.hero-slide .btn svg { width: 18px; height: 18px; }
.hero-slide .btn-primary { background: #fff; color: var(--primary); }
.hero-slide .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.hero-slide .btn-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; margin-left: 12px; }
.hero-slide .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
/* 轮播指示器 */
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4);
  border: none; cursor: pointer; transition: all .3s;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }
.hero-dot:hover { background: rgba(255,255,255,.8); }

/* Hero 底部装饰 */
.hero-wave { display: block; margin-top: -1px; }

/* ========== 区块标题 ========== */
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: 30px; font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.section-title p { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto; }
.section-title .bar {
  width: 44px; height: 3px; background: var(--primary); border-radius: 2px;
  margin: 14px auto 0;
}

/* ========== 服务卡片 ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  text-align: center; border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.service-card .icon svg { width: 30px; height: 30px; color: var(--primary); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); }
.service-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
  font-size: 14px; color: var(--primary); font-weight: 500;
}
.service-card .learn-more svg { width: 16px; height: 16px; }

/* ========== 优势 ========== */
.advantages { background: var(--bg-alt); }
.adv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.adv-item {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center;
  border: 1px solid var(--border);
}
.adv-item .adv-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.adv-item .adv-icon svg { width: 40px; height: 40px; }
.adv-item h4 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.adv-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== 关于我们 ========== */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-intro .text h3 { font-size: 26px; margin-bottom: 16px; color: var(--text); }
.about-intro .text p { color: var(--text-secondary); margin-bottom: 14px; font-size: 15px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}
.stat-box {
  text-align: center; padding: 18px 12px; background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-box .num { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-box .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.about-visual {
  background: linear-gradient(135deg, var(--primary-light), #bbdefb);
  border-radius: var(--radius-lg); height: 340px;
  display: flex; align-items: center; justify-content: center; padding: 32px;
  border: 1px solid var(--primary-mid);
}
.about-visual svg { width: 100%; max-width: 280px; height: auto; }

/* 时间线 */
.timeline {
  max-width: 700px; margin: 0 auto; position: relative; padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--primary-mid);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--primary-light);
}
.timeline-item .year { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.timeline-item .desc { font-size: 14px; color: var(--text-secondary); }

/* ========== 流程 ========== */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; counter-reset: step;
}
.step {
  text-align: center; padding: 28px 20px; position: relative;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 18px; font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== 联系 ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info { padding: 20px 0; }
.contact-info h3 { font-size: 22px; margin-bottom: 24px; color: var(--text); }
.contact-item {
  display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start;
}
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-item h4 { font-size: 14px; color: var(--text); margin-bottom: 3px; font-weight: 600; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.contact-form h3 { font-size: 20px; margin-bottom: 24px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #444; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; transition: border-color .2s, box-shadow .2s;
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,.1); background: var(--white); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  background: var(--primary); color: #fff; border: none; padding: 13px 40px;
  border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover { background: #1558b0; }

/* ========== 页脚 ========== */
.footer {
  background: var(--dark); color: #aaa; padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer p, .footer li { font-size: 13.5px; line-height: 2; }
.footer ul { list-style: none; }
.footer ul a { color: #aaa; }
.footer ul a:hover { color: #fff; }
.footer-about { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-about .logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.footer-about .logo-text span { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #ccc; }

/* ========== 页面横幅 ========== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 70px 0 56px; text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.page-banner p { font-size: 15px; opacity: .85; }
/* 面包屑 */
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 14px; opacity: .8;
}
.breadcrumb a:hover { opacity: .8; }
.breadcrumb svg { width: 12px; height: 12px; }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta h2 { font-size: 28px; margin-bottom: 12px; font-weight: 700; }
.cta p { font-size: 16px; opacity: .9; margin-bottom: 28px; }
.cta .btn-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; display: inline-flex; align-items: center; gap: 6px; padding: 13px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.cta .btn-outline:hover { background: rgba(255,255,255,.1); }

/* ========== 服务详情 ========== */
.service-detail {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); margin-bottom: 28px; border: 1px solid var(--border);
}
.service-detail h3 {
  font-size: 21px; margin-bottom: 14px; color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.service-detail h3 svg { width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; }
.service-detail > p { color: var(--text-secondary); font-size: 15px; margin-bottom: 14px; line-height: 1.8; }
.service-detail ul { padding-left: 20px; color: var(--text-secondary); }
.service-detail ul li { margin-bottom: 7px; font-size: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.service-tags span {
  display: inline-block; padding: 4px 12px; background: var(--primary-light);
  color: var(--primary); border-radius: 20px; font-size: 12px; font-weight: 500;
}

/* ========== 地图占位 ========== */
.map-placeholder {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
  border-radius: var(--radius-lg); height: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--primary); border: 1px solid var(--primary-mid);
}
.map-placeholder svg { width: 48px; height: 48px; opacity: .5; }
.map-placeholder span { font-size: 14px; opacity: .7; }

/* ========== 新闻/案例列表 ========== */
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-thumb {
  height: 200px; overflow: hidden; position: relative;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb svg { width: 100%; height: 100%; }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 500;
}
.card-body { padding: 24px; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); line-height: 1.5; }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.card-body .read-more {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  font-size: 13px; color: var(--primary); font-weight: 500;
}
.card-body .read-more svg { width: 14px; height: 14px; }

/* ========== 团队 ========== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: var(--white);
}
.team-card h4 { font-size: 17px; margin-bottom: 4px; color: var(--text); }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  border: 1px solid var(--border); overflow: hidden;
}
.faq-q {
  padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-size: 15px; font-weight: 600; color: var(--text);
  transition: background .2s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 18px; }
.faq-a p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ========== 合作伙伴 ========== */
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; align-items: center;
}
.partner-logo {
  width: 130px; height: 60px; border-radius: 8px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); padding: 12px; transition: box-shadow .2s;
}
.partner-logo:hover { box-shadow: var(--shadow); }
.partner-logo svg { width: 100%; max-width: 80px; height: auto; opacity: .5; }

/* ========== 数据看板条 ========== */
.stats-bar {
  background: var(--primary); color: #fff; padding: 48px 0;
}
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stats-bar .s-num { font-size: 36px; font-weight: 700; }
.stats-bar .s-label { font-size: 14px; opacity: .8; margin-top: 4px; }

/* ========== 文章详情 ========== */
.article-content {
  max-width: 800px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.article-content h2 { font-size: 24px; margin: 32px 0 16px; color: var(--text); }
.article-content h3 { font-size: 20px; margin: 24px 0 12px; color: var(--text); }
.article-content p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.9; }
.article-content ul { padding-left: 24px; margin-bottom: 16px; }
.article-content ul li { font-size: 15px; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.8; }
.article-content blockquote {
  border-left: 3px solid var(--primary); padding: 16px 20px; margin: 20px 0;
  background: var(--primary-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; color: var(--text-secondary);
}

/* ========== 分页 ========== */
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); background: var(--white); color: var(--text-secondary);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 隐私/条款页 ========== */
.legal-content {
  max-width: 800px; margin: 0 auto;
}
.legal-content h2 { font-size: 22px; margin: 32px 0 14px; color: var(--text); padding-top: 16px; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; }
.legal-content p { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.8; }
.legal-content ul { padding-left: 24px; margin-bottom: 14px; }
.legal-content ul li { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.7; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-contact { display: none; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 16px 24px; gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero .btn { display: block; margin: 8px auto; max-width: 240px; }
  .hero .btn-outline { margin-left: auto; }
  .about-intro { grid-template-columns: 1fr; }
  .about-visual { height: 220px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article-content { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-banner h1 { font-size: 26px; }
}
