/* ==========================================================================
   全站附加样式（金筑财富 · 返回顶部、页面级组件等）
   ========================================================================== */

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 80;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   服务/方案详情页 通用组件
   ========================================================================== */

/* 详情页大图横幅 */
.detail-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
}

.detail-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.detail-banner .banner-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px 36px;
  background: linear-gradient(0deg, rgba(31, 51, 40, 0.85) 0%, transparent 100%);
  color: #fff;
}

.detail-banner .banner-cap h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 8px;
}

.detail-banner .banner-cap p {
  color: rgba(250, 247, 239, 0.8);
  font-size: 15px;
}

/* 图文左右块 */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.split-block.reverse .split-img {
  order: 2;
}

.split-img {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.split-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.split-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.split-text ul.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--body);
}

.split-text ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-mist);
}

.split-text ul.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  transform: rotate(-45deg);
}

/* 特性卡组（详情页用，区别于首页 adv-card） */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.spec-card .spec-ico {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mist), var(--cream-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.spec-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* 数据条 */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-row .metric {
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.metric-row .metric strong {
  display: block;
  font-size: 34px;
  color: var(--green-deep);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-row .metric span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   服务总览（services.html 专属编号大卡）
   ========================================================================== */
.svc-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.svc-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 28px 30px;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.svc-tile > * {
  position: relative;
  z-index: 1;
}

.svc-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-tile:hover::before {
  opacity: 1;
}

.svc-tile .tile-no {
  font-size: 46px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cream-3);
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.4s ease;
}

.svc-tile:hover .tile-no {
  color: rgba(232, 215, 126, 0.5);
}

.svc-tile .tile-ico {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: var(--green-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s ease;
}

.svc-tile:hover .tile-ico {
  background: rgba(232, 215, 126, 0.22);
}

.svc-tile:hover .tile-ico svg {
  stroke: var(--yellow);
}

.svc-tile h3 {
  font-size: 19px;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.svc-tile:hover h3 {
  color: #fff;
}

.svc-tile p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
  transition: color 0.4s ease;
}

.svc-tile:hover p {
  color: rgba(250, 247, 239, 0.8);
}

.svc-tile .tile-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-deep);
  transition: all 0.4s ease;
}

.svc-tile:hover .tile-more {
  color: var(--yellow);
}

@media (max-width: 1100px) {
  .svc-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-overview { grid-template-columns: 1fr; }
}

/* ==========================================================================
   案例列表页 筛选
   ========================================================================== */
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.case-filter button {
  padding: 9px 22px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.case-filter button:hover,
.case-filter button.active {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   新闻列表页
   ========================================================================== */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}

.news-page-main .news-item {
  margin-bottom: 22px;
}

.news-side .side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  margin-bottom: 26px;
}

.news-side .side-card h4 {
  font-size: 17px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-mist);
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-side .side-card h4::before {
  content: "";
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, var(--yellow), var(--green-soft));
  border-radius: 3px;
}

/* ==========================================================================
   详情页（show.html）文章排版
   ========================================================================== */
.article-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 50px 56px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  margin-bottom: 32px;
}

.article-head h1 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: var(--body);
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}

.article-content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.article-content img {
  border-radius: var(--r-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 22px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-foot {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-tags a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--green-mist);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--green-deep);
  margin-right: 8px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ==========================================================================
   价格表
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.price-card.featured {
  border-color: var(--green-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.price-card .price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  color: var(--green-ink);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.price-card .price-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-card .price-num {
  font-size: 42px;
  color: var(--green-deep);
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.price-card .price-unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}

.price-card ul {
  text-align: left;
  margin-bottom: 28px;
}

.price-card ul li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--body);
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card ul li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--green-ink), var(--green-deep));
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 44px 38px;
}

.contact-info-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-info-card .ci-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info-card .ci-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 215, 126, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .ci-body p {
  color: rgba(250, 247, 239, 0.65);
  font-size: 12.5px;
  margin-bottom: 4px;
}

.contact-info-card .ci-body strong {
  color: #fff;
  font-size: 16px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--body);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width:  100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green-soft);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123, 174, 147, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-tip {
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}

/* ==========================================================================
   团队页
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card .t-photo {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.team-card .t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .t-photo img {
  transform: scale(1.05);
}

.team-card .t-info {
  padding: 22px 20px;
  text-align: center;
}

.team-card .t-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card .t-info .t-role {
  font-size: 12.5px;
  color: var(--green);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.team-card .t-info p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   时间线
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow), var(--green-soft));
}

.tl-item {
  position: relative;
  padding-bottom: 40px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  z-index: 2;
}

.tl-item .tl-year {
  font-size: 22px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.tl-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.tl-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   资质荣誉
   ========================================================================== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.honor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: all 0.4s ease;
}

.honor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.honor-card .h-ico {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--yellow-soft), var(--green-mist));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.honor-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.honor-card p {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   口碑证言
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  position: relative;
  transition: all 0.4s ease;
}

.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 26px;
  font-size: 72px;
  color: var(--green-mist);
  font-family: var(--font-en);
  line-height: 1;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testi-card .testi-text {
  font-size: 15px;
  color: var(--body);
  line-height: 1.95;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.testi-card .testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.testi-card .testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-card .testi-author strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.testi-card .testi-author span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   数据可视化卡
   ========================================================================== */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.data-card {
  background: linear-gradient(135deg, var(--white), var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.4s ease;
}

.data-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.data-card .d-num {
  font-size: 42px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 10px;
}

.data-card .d-label {
  font-size: 13.5px;
  color: var(--muted);
}

.data-card .d-bar {
  height: 6px;
  background: var(--cream-3);
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}

.data-card .d-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  border-radius: 3px;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .news-page-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .split-block { grid-template-columns: 1fr; gap: 30px; }
  .split-block.reverse .split-img { order: 0; }
  .spec-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { padding: 30px 24px; }
  .article-head h1 { font-size: 22px; }
  .detail-banner img { height: 240px; }
  .detail-banner .banner-cap h2 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
