/* ============================================================
   星橙企服集团 · 企业官网全局样式
   品牌色：橙 #E36C0B ｜ 深蓝 #1F4E79
   ============================================================ */
:root {
  --orange: #E36C0B;
  --orange-dark: #c95a09;
  --orange-light: #FFF7F0;
  --orange-border: #FDE0C8;
  --blue: #1F4E79;
  --blue-dark: #16334f;
  --blue-light: #EBF3FB;
  --blue-border: #D5E5F5;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #8a8a8a;
  --bg-gray: #FAFAFA;
  --white: #ffffff;
  --border: #F0F0F0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(31, 78, 121, 0.12);
  --transition: all 0.3s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--orange); transition: var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ 导航栏 ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.logo-text span { color: var(--orange); }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  color: #555; font-size: 18px; font-weight: 500;
  padding: 6px 2px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.25s;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--orange); font-weight: 600; }
.nav a.active::after { width: 100%; }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 9px 22px !important; border-radius: 24px;
  font-size: 16px; font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--orange-dark); }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ============ 通用区块 ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block; font-size: 15px; color: var(--orange);
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px;
}
.section-title { font-size: 38px; font-weight: 800; color: var(--blue); line-height: 1.3; }
.section-subtitle {
  font-size: 19px; color: var(--text-lighter); margin-top: 12px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-block; padding: 14px 38px; border-radius: 30px;
  font-size: 18px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227, 108, 11, 0.3); }
.btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

/* ============ 内页 Hero ============ */
.page-hero {
  padding: 150px 0 70px;
  background: linear-gradient(135deg, #16334f 0%, #1F4E79 55%, #2a629b 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 108, 11, 0.2) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-tag {
  display: inline-block; font-size: 15px; letter-spacing: 4px;
  color: #F5B879; border: 1px solid rgba(245, 184, 121, 0.55);
  border-radius: 3px; padding: 4px 14px; margin-bottom: 18px;
}
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: 2px; }
.page-hero .hero-sub { font-size: 19px; color: #D9E4F0; margin-top: 14px; letter-spacing: 1px; }

/* ============ 数据背书条 ============ */
.data-bar { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.data-item { text-align: center; }
.data-item .num { font-size: 48px; font-weight: 800; color: var(--orange); line-height: 1.1; }
.data-item .num.blue { color: var(--blue); }
.data-item .label { font-size: 17px; color: var(--text-lighter); margin-top: 6px; }

/* ============ 卡片网格 ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-border); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-light); color: var(--orange);
  margin-bottom: 18px; font-size: 30px;
}
.card h3 { font-size: 22px; color: #222; margin-bottom: 10px; }
.card p { font-size: 17px; color: var(--text-lighter); line-height: 1.75; }

/* ============ SVG 图标 ============ */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ============ 核心优势卡片 ============ */
.cv-card { text-align: center; }
.cv-tag {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 15px; font-weight: 700; padding: 4px 16px;
  border-radius: 20px; margin-bottom: 14px;
}
.cv-tag.blue { background: var(--blue); }

/* ============ 产品卡片 ============ */
.product-card {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; transition: var(--transition);
  overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-border); }
.product-card .pc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-card .pc-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: var(--orange-light); color: var(--orange);
}
.product-card .pc-icon.blue { background: var(--blue-light); color: var(--blue); }
.product-card h3 { font-size: 22px; color: #222; }
.product-card .pc-tag { font-size: 15px; color: var(--orange); font-weight: 600; letter-spacing: 1px; }
.product-card p { font-size: 17px; color: var(--text-lighter); line-height: 1.75; margin-bottom: 14px; }
.product-card ul li {
  font-size: 14.5px; color: var(--text-light); padding: 5px 0;
  border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 8px;
}
.product-card ul li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.product-card .pc-price {
  margin-top: 14px; font-size: 17px; color: var(--blue); font-weight: 700;
}

/* ============ 时间线 ============ */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; top: 40px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--orange));
}
.timeline-nodes { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.tl-node { width: 150px; text-align: center; }
.tl-year {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 2; letter-spacing: 0;
}
.tl-node:nth-child(even) .tl-year { background: var(--orange); }
.tl-node.highlight .tl-year {
  background: var(--orange); box-shadow: 0 0 0 4px rgba(227, 108, 11, 0.2);
  width: 58px; height: 58px; font-size: 17px;
}
.tl-tag { font-size: 14px; color: var(--blue); font-weight: 700; letter-spacing: 2px; margin-bottom: 4px; }
.tl-title { font-size: 17px; font-weight: 700; color: #222; line-height: 1.4; }
.tl-desc { font-size: 12.5px; color: var(--text-lighter); line-height: 1.5; margin-top: 4px; }

/* ============ 分支机构 ============ */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: var(--transition);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-border); }
.branch-card.hq { border-color: var(--blue); background: linear-gradient(135deg, #F4F8FC, #E9F0F7); }
.branch-card .bc-name { font-size: 24px; font-weight: 800; color: var(--blue); letter-spacing: 2px; }
.branch-card .bc-role { font-size: 15px; color: var(--orange); font-weight: 700; letter-spacing: 2px; margin: 6px 0; }
.branch-card .bc-detail { font-size: 15px; color: var(--text-lighter); line-height: 1.6; }

/* ============ 专家团队 ============ */
.team-section { background: var(--bg-gray); }
.team-group-title {
  font-size: 24px; font-weight: 700; color: var(--blue); text-align: center;
  margin: 20px 0 28px; display: flex; align-items: center; gap: 16px;
}
.team-group-title::before, .team-group-title::after {
  content: ""; flex: 1; height: 1px; background: var(--blue-border);
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-border); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #2a629b 100%);
  letter-spacing: 2px; overflow: hidden;
}
.team-avatar.orange { background: linear-gradient(135deg, var(--orange) 0%, #f49438 100%); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.team-card .tm-name { font-size: 20px; font-weight: 700; color: #222; }
.team-card .tm-title { font-size: 16px; color: var(--orange); font-weight: 600; margin: 6px 0 10px; }
.team-card .tm-field {
  font-size: 15px; color: var(--blue); background: var(--blue-light);
  display: inline-block; padding: 3px 12px; border-radius: 14px; margin-bottom: 10px;
}
.team-card .tm-desc { font-size: 13.5px; color: var(--text-lighter); line-height: 1.6; text-align: left; }

/* ============ 案例 ============ */
.case-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: var(--transition);
}
.case-card:hover { box-shadow: var(--shadow); border-color: var(--orange-border); }
.case-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.case-badge { background: var(--orange); color: #fff; font-size: 14px; font-weight: 600; padding: 4px 14px; border-radius: 12px; }
.case-client { font-size: 20px; font-weight: 700; color: #222; }
.case-row { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; font-size: 17px; margin-bottom: 4px; }
.case-row .label { color: var(--orange); font-weight: 600; }
.case-row .val { color: var(--text-light); }
.case-row .val.hl { color: var(--orange); font-weight: 700; }

/* ============ 对比表格 ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th {
  background: var(--blue); color: #fff; padding: 14px 18px;
  text-align: left; font-weight: 600; white-space: nowrap;
}
.table th.orange { background: var(--orange); }
.table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text-light); }
.table tbody tr:nth-child(even) td { background: #FBFDFF; }
.table td:first-child { font-weight: 600; color: #222; white-space: nowrap; }
.table .yes { color: var(--orange); font-weight: 700; }

/* ============ 联系页 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 24px; color: #222; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--orange-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-item .ci-text { font-size: 18px; color: var(--text-light); }
.contact-item .ci-text b { color: #222; display: block; margin-bottom: 2px; }
.contact-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.contact-form h4 { font-size: 23px; color: #222; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 17px; color: var(--text-lighter); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #e0e0e0; border-radius: var(--radius-sm);
  font-size: 18px; font-family: inherit; outline: none; transition: border 0.2s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; }
.map-section { margin-top: 40px; text-align: center; }
.map-placeholder {
  background: var(--bg-gray); border: 1px dashed var(--blue-border); border-radius: var(--radius);
  padding: 56px 20px; color: var(--text-lighter); font-size: 17px;
}

/* ============ 新闻/博客 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: var(--transition); display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-border); }
.news-card .nc-date { font-size: 15px; color: var(--text-lighter); }
.news-card h3 { font-size: 19px; color: #222; margin: 10px 0; line-height: 1.5; }
.news-card p { font-size: 16px; color: var(--text-lighter); line-height: 1.7; flex: 1; }
.news-card .nc-more { font-size: 15px; color: var(--orange); font-weight: 600; margin-top: 14px; }
.news-empty {
  text-align: center; padding: 60px 20px; background: var(--white);
  border: 1px dashed var(--blue-border); border-radius: var(--radius); color: var(--text-lighter);
}

/* ============ CTA 横幅 ============ */
.cta-band {
  background: linear-gradient(135deg, #16334f 0%, #1F4E79 60%, #2a629b 100%);
  color: #fff; text-align: center; padding: 70px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 108, 11, 0.22) 0%, transparent 70%);
}
.cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: 2px; }
.cta-band p { font-size: 18px; color: #D9E4F0; margin: 14px 0 28px; }
.cta-band .container { position: relative; z-index: 1; }

/* ============ 页脚 ============ */
.footer { background: #101820; color: #9aa7b5; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-info img { height: 34px; margin-bottom: 16px; opacity: 0.85; }
.footer-info p { font-size: 16px; color: #7a8794; line-height: 2; }
.footer-col h5 { color: #e6ebf0; font-size: 17px; margin-bottom: 16px; }
.footer-col a { display: block; color: #7a8794; font-size: 16px; padding: 5px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid #232d38; padding: 20px 0; text-align: center;
  font-size: 15px; color: #5d6a76;
}

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed; bottom: 32px; right: 32px; width: 46px; height: 46px;
  background: var(--orange); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(227, 108, 11, 0.35); cursor: pointer; z-index: 999;
  transition: var(--transition); opacity: 0; visibility: hidden;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .grid-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .news-grid, .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 30px; }
  .grid-2, .grid-3, .grid-4, .team-grid, .news-grid, .branch-grid { grid-template-columns: 1fr; }
  .data-bar { gap: 28px; }
  .data-item .num { font-size: 34px; }
  .nav {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 20px 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); gap: 4px;
  }
  .nav.active { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .menu-toggle { display: flex; }
  .timeline::before { display: none; }
  .timeline-nodes { flex-direction: column; gap: 28px; }
  .tl-node { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; }
  .tl-year { margin: 0; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .table { font-size: 15px; }
  .table th, .table td { padding: 10px 12px; }
}
