/* ============================================================
   内页通用样式 inner.css
   about / services / cases / news / contact 共用
   ============================================================ */

/* ---------- 关于我们：公司简介 ---------- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-block .img-side {
  position: relative;
  height: 440px;
}
.about-block .img-side .frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-block .img-side .frame::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200,164,94,.22), transparent 55%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0/100% 38px;
}
.about-block .img-side .frame .ico {
  position: absolute;
  left: 44px; top: 44px;
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.about-block .img-side .frame .ico svg { width: 40px; height: 40px; color: #fff; }
.about-block .img-side .frame .big {
  position: absolute;
  right: 30px; bottom: -30px;
  font-size: 220px; font-weight: 800;
  color: rgba(255,255,255,.07);
  line-height: 1;
}
.about-block .img-side .badge {
  position: absolute;
  left: -20px; bottom: 36px;
  background: var(--accent);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-block .img-side .badge .y { font-size: 30px; font-weight: 800; line-height: 1; }
.about-block .img-side .badge .t { font-size: 13px; margin-top: 6px; opacity: .9; }
.about-block .txt-side .eyebrow {
  font-size: 13px; letter-spacing: 3px; color: var(--accent);
  font-weight: 600; text-transform: uppercase;
}
.about-block .txt-side h2 {
  font-size: 32px; color: var(--primary); font-weight: 700;
  margin: 14px 0 22px; line-height: 1.4;
}
.about-block .txt-side p {
  font-size: 15px; color: var(--text-sub);
  line-height: 2; margin-bottom: 18px;
}
.about-block .txt-side .quote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 26px 0;
  font-size: 16px; color: var(--text-main);
  font-style: italic;
}

/* ---------- 数据统计带 ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-strip .si .n {
  font-size: 44px; font-weight: 800; color: var(--primary);
  line-height: 1; letter-spacing: -1px;
}
.stat-strip .si .n .s { font-size: 20px; color: var(--accent); }
.stat-strip .si .l { font-size: 14.5px; color: var(--text-sub); margin-top: 12px; }

/* ---------- 企业文化 ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.culture-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
.culture-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transition: height .4s; z-index: 0;
}
.culture-card:hover::before { height: 100%; }
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.culture-card > * { position: relative; z-index: 1; transition: color .35s; }
.culture-card .c-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10,61,98,.08), rgba(30,90,138,.12));
  display: flex; align-items: center; justify-content: center;
  transition: all .35s;
}
.culture-card .c-icon svg { width: 38px; height: 38px; color: var(--primary); transition: all .35s; }
.culture-card:hover .c-icon { background: rgba(255,255,255,.18); }
.culture-card:hover .c-icon svg { color: #fff; }
.culture-card h3 { font-size: 21px; color: var(--text-main); font-weight: 700; margin-bottom: 14px; }
.culture-card p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.culture-card:hover h3, .culture-card:hover p { color: #fff; }
.culture-card:hover p { color: rgba(255,255,255,.85); }

/* ---------- 发展历程时间轴 ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 44px 44px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item .dot {
  position: absolute;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(200,164,94,.25);
  z-index: 2;
}
.tl-item:nth-child(odd) .dot { right: -8px; }
.tl-item:nth-child(even) .dot { left: -8px; }
.tl-item .tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.tl-item .tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tl-item .yr { font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.tl-item h4 { font-size: 17px; color: var(--text-main); font-weight: 700; margin-bottom: 10px; }
.tl-item p { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ---------- 资质 / 优势列表 ---------- */
.adv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.adv-item {
  display: flex; gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: all .3s;
}
.adv-item:hover { box-shadow: var(--shadow-md); border-color: rgba(200,164,94,.4); }
.adv-item .ai-num {
  font-size: 40px; font-weight: 800;
  color: rgba(10,61,98,.12);
  line-height: 1; flex-shrink: 0;
}
.adv-item h4 { font-size: 18px; color: var(--text-main); font-weight: 700; margin-bottom: 10px; }
.adv-item p { font-size: 14px; color: var(--text-sub); line-height: 1.85; }

/* ============================================================
   服务项目页
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .sd-visual { order: 2; }
.service-detail .sd-visual {
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.service-detail .sd-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200,164,94,.22), transparent 55%);
}
.service-detail .sd-visual .big-ic {
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 30px;
  position: relative;
}
.service-detail .sd-visual .big-ic svg { width: 64px; height: 64px; color: #fff; }
.service-detail .sd-visual .sd-no {
  position: absolute; right: 28px; bottom: 10px;
  font-size: 140px; font-weight: 800; color: rgba(255,255,255,.08); line-height: 1;
}
.service-detail .sd-text .tag {
  display: inline-block;
  font-size: 13px; letter-spacing: 2px; color: var(--accent);
  font-weight: 600; margin-bottom: 14px;
}
.service-detail .sd-text h3 {
  font-size: 28px; color: var(--primary); font-weight: 700; margin-bottom: 18px;
}
.service-detail .sd-text > p {
  font-size: 15px; color: var(--text-sub); line-height: 1.95; margin-bottom: 24px;
}
.service-detail .sd-text .feat-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
}
.service-detail .sd-text .feat-list li {
  display: flex; gap: 10px; align-items: center;
  font-size: 14.5px; color: var(--text-main);
}
.service-detail .sd-text .feat-list .dt {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* 服务流程 */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .ps-circle {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: all .3s;
}
.process-step:hover .ps-circle { border-color: var(--accent); transform: translateY(-4px); }
.process-step .ps-circle svg { width: 38px; height: 38px; color: var(--primary); }
.process-step .ps-no {
  position: absolute; top: -6px; right: -6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 17px; color: var(--text-main); font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.process-flow .arrow {
  position: absolute; top: 44px;
  color: var(--border); font-size: 24px;
}

/* ============================================================
   项目案例页
   ============================================================ */
.case-filter {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.case-filter button {
  padding: 9px 24px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 30px;
  font-size: 14px; color: var(--text-sub);
  cursor: pointer; transition: all .25s;
}
.case-filter button:hover { border-color: var(--accent); color: var(--primary); }
.case-filter button.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .35s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.case-card .cc-cover {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case-card .cc-cover.t1 { background: linear-gradient(135deg, #0a3d62, #1e5a8a); }
.case-card .cc-cover.t2 { background: linear-gradient(135deg, #1e5a8a, #2980b9); }
.case-card .cc-cover.t3 { background: linear-gradient(135deg, #134d77, #0a3d62); }
.case-card .cc-cover.t4 { background: linear-gradient(135deg, #16526b, #1e5a8a); }
.case-card .cc-cover::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(200,164,94,.2), transparent 55%);
}
.case-card .cc-cover .cc-ic {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.14);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.case-card .cc-cover .cc-ic svg { width: 34px; height: 34px; color: #fff; }
.case-card .cc-cover .cc-type {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.9);
  color: var(--primary);
  font-size: 12px; padding: 5px 12px;
  border-radius: 30px; font-weight: 600;
}
.case-card .cc-body { padding: 24px 26px 28px; }
.case-card .cc-body h3 {
  font-size: 18px; color: var(--text-main); font-weight: 700;
  margin-bottom: 12px; transition: color .25s;
}
.case-card:hover .cc-body h3 { color: var(--primary); }
.case-card .cc-body p {
  font-size: 13.5px; color: var(--text-sub); line-height: 1.8; margin-bottom: 18px;
  min-height: 48px;
}
.case-card .cc-meta {
  display: flex; gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-card .cc-meta .m .v { font-size: 19px; font-weight: 700; color: var(--primary); }
.case-card .cc-meta .m .k { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ============================================================
   新闻动态页
   ============================================================ */
.news-tabs {
  display: flex; gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-tabs button {
  padding: 14px 28px;
  background: none; border: none;
  font-size: 15.5px; color: var(--text-sub);
  cursor: pointer; position: relative;
  transition: color .25s;
}
.news-tabs button::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform .28s;
}
.news-tabs button:hover { color: var(--primary); }
.news-tabs button.active { color: var(--primary); font-weight: 600; }
.news-tabs button.active::after { transform: scaleX(1); }

.news-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.news-row:hover { background: var(--bg-light); padding-left: 16px; padding-right: 16px; }
.news-row .nr-cover {
  height: 140px;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.news-row .nr-cover.c1 { background: linear-gradient(135deg, #0a3d62, #1e5a8a); }
.news-row .nr-cover.c2 { background: linear-gradient(135deg, #1e5a8a, #2980b9); }
.news-row .nr-cover.c3 { background: linear-gradient(135deg, #134d77, #0a3d62); }
.news-row .nr-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200,164,94,.2), transparent 55%);
}
.news-row .nr-cover svg { width: 40px; height: 40px; color: rgba(255,255,255,.85); position: relative; }
.news-row .nr-body .cat {
  display: inline-block;
  font-size: 12px; color: var(--accent);
  border: 1px solid rgba(200,164,94,.4);
  padding: 3px 12px; border-radius: 30px; margin-bottom: 12px;
}
.news-row .nr-body h3 {
  font-size: 19px; color: var(--text-main); font-weight: 700;
  margin-bottom: 12px; transition: color .25s;
}
.news-row:hover .nr-body h3 { color: var(--primary); }
.news-row .nr-body p {
  font-size: 14px; color: var(--text-sub); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row .nr-date {
  text-align: center; flex-shrink: 0;
  padding-left: 30px;
  border-left: 1px solid var(--border);
}
.news-row .nr-date .d { font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-row .nr-date .ym { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; color: var(--text-sub);
  transition: all .25s; padding: 0 12px;
}
.pager a:hover, .pager a.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ============================================================
   联系我们页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all .35s;
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.contact-card .cc-icon {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
}
.contact-card .cc-icon svg { width: 32px; height: 32px; color: #fff; }
.contact-card h4 { font-size: 17px; color: var(--text-main); font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; word-break: break-all; }

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-map {
  background: var(--bg-gray);
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-map .map-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8eef4, #d5e0ea);
  text-align: center; padding: 40px;
}
.contact-map .map-fallback .mf-ic {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.contact-map .map-fallback .mf-ic svg { width: 40px; height: 40px; color: #fff; }
.contact-map .map-fallback h4 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.contact-map .map-fallback p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

.contact-form { padding: 48px 44px; }
.contact-form h3 { font-size: 24px; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.contact-form .fdesc { font-size: 14px; color: var(--text-sub); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 14px; color: var(--text-main);
  margin-bottom: 8px; font-weight: 500;
}
.form-group label .req { color: #e74c3c; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-main);
  transition: all .25s;
  background: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,61,98,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .about-block { grid-template-columns: 1fr; gap: 70px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .culture-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail.reverse .sd-visual { order: 0; }
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .process-flow .arrow { display: none; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}
@media (max-width: 768px) {
  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 48px; padding-right: 0; }
  .tl-item .dot { left: 10px !important; right: auto !important; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .si .n { font-size: 34px; }
  .service-detail .sd-text .feat-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 16px; }
  .news-row .nr-cover { height: 180px; }
  .news-row .nr-date { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 24px; }
}
