/* =============================================================
   service-hosting.css 服务器与云托管页（hero 云端圆形式）
   ============================================================= */

/* ---- Hero：云端圆形 ---- */
.hs-hero {
  padding: calc(var(--header-h) + var(--topbar-h) + 50px) 0 80px;
  background: linear-gradient(160deg, #DCE8E2 0%, var(--cream) 55%, var(--yellow) 130%);
  overflow: hidden; position: relative;
}
.hs-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  position: relative; z-index: 2;
}
.hs-hero h1 { margin-bottom: 16px; }
.hs-hero .hero-sub { color: var(--ink-2); max-width: 520px; margin-bottom: 26px; }
.hs-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hs-hero-tel { margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.hs-hero-tel b { color: var(--ink); font-size: 1.1rem; }

/* 云朵圆形 */
.hs-cloud-wrap { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.hs-cloud {
  width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(91,83,70,.35); border: 10px solid #fff;
}
.hs-cloud img { width: 100%; height: 100%; object-fit: cover; }
.hs-cloud-mini {
  position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--green) 75%);
  box-shadow: var(--clay-shadow); display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #3F5238; font-size: .8rem; text-align: center;
}
.hs-cloud-mini.m1 { left: 4%; top: 12%; }
.hs-cloud-mini.m2 { right: 2%; bottom: 14%; width: 70px; height: 70px; }

/* ---- 服务价值：堆叠圆卡 ---- */
.hs-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.hs-stack-item { padding: 26px 14px; border-radius: var(--radius); background: var(--cream-2); box-shadow: var(--clay-shadow-sm); }
.hs-stack-item .num {
  font-size: 2rem; font-weight: 900; color: var(--green-3); display: block; margin-bottom: 6px;
}
.hs-stack-item h3 { font-size: 1rem; margin-bottom: 6px; }
.hs-stack-item p { font-size: .84rem; }

/* ---- 交付内容：对勾 ---- */
.hs-deliver {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hs-deliver ul li {
  position: relative; padding: 12px 16px 12px 44px; margin-bottom: 12px;
  border-radius: 14px; background: var(--cream-2); box-shadow: var(--clay-shadow-sm);
}
.hs-deliver ul li::before {
  content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--green);
  color: #fff; font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.hs-deliver-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--clay-shadow); }

/* ---- 适用人群：指标条 ---- */
.hs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hs-stat {
  text-align: center; padding: 30px 16px; border-radius: var(--radius);
  background: linear-gradient(165deg, #FFFDF6, var(--cream-2)); box-shadow: var(--clay-shadow-sm);
}
.hs-stat .big { font-size: 2.2rem; font-weight: 900; color: var(--green-3); display: block; }
.hs-stat p { margin-top: 6px; font-size: .9rem; }

/* ---- 区别对照 ---- */
.hs-cmp { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: stretch; }
.hs-cmp-col { padding: 28px; border-radius: var(--radius); }
.hs-cmp-self { background: var(--cream-2); box-shadow: var(--clay-shadow-sm); }
.hs-cmp-us { background: linear-gradient(160deg, var(--green), var(--green-2)); box-shadow: var(--clay-shadow); }
.hs-cmp-us h3, .hs-cmp-us p { color: #fff; }
.hs-cmp-mid { display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--yellow-3); font-size: 1.3rem; }
.hs-cmp-col h3 { margin-bottom: 12px; }
.hs-cmp-col p { font-size: .93rem; margin-bottom: 8px; }

/* ---- 案例入口 ---- */
.hs-case-banner {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--clay-shadow);
}
.hs-case-banner img { width: 100%; display: block; }
.hs-case-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 30px;
  background: linear-gradient(0deg, rgba(47,64,41,.8), rgba(47,64,41,.3));
}
.hs-case-overlay h3 { color: #fff; margin-bottom: 8px; }
.hs-case-overlay p { color: rgba(255,255,255,.9); margin-bottom: 16px; max-width: 520px; }

/* ---- 价格引导 ---- */
.hs-price {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--yellow), var(--yellow-2)); box-shadow: var(--clay-shadow);
}

/* ---- FAQ ---- */
.hs-faq details {
  background: var(--cream-2); border-radius: 16px; padding: 18px 22px;
  margin-bottom: 14px; box-shadow: var(--clay-shadow-sm);
}
.hs-faq summary { font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; position: relative; padding-right: 30px; }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--green-3); }
.hs-faq details[open] summary::after { content: "−"; }
.hs-faq details p { margin-top: 10px; font-size: .94rem; }

/* ---- CTA ---- */
.hs-cta {
  text-align: center; padding: 60px 20px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--green) 0%, var(--green-2) 100%);
  box-shadow: var(--clay-shadow);
}
.hs-cta h2 { color: #fff; }
.hs-cta p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.hs-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hs-cta .btn-line { background: transparent; color: #fff; box-shadow: 0 0 0 2px #fff inset; }
.hs-cta-contact { margin-top: 20px; font-size: .95rem; color: #fff; }
.hs-cta-contact b { font-size: 1.15rem; }

@media (max-width: 900px) {
  .hs-hero-grid, .hs-deliver { grid-template-columns: 1fr; }
  .hs-stack, .hs-stats { grid-template-columns: repeat(2, 1fr); }
  .hs-cmp { grid-template-columns: 1fr; gap: 14px; }
  .hs-cmp-mid { padding: 4px 0; }
}

/* ---- 通用工具类（本片页面共用） ---- */
.band { background: var(--cream-2); }
.narrow { max-width: 860px; }
.center-head { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.center-head p { margin-left: auto; margin-right: auto; }
.lead-p { margin-bottom: 18px; }
.sub-p { margin-top: 8px; }
.btn-mt { margin-top: 14px; display: inline-flex; }
.inline-link { color: var(--green-3); font-weight: 700; }
.reveal-scroll { overflow-x: auto; }
.center-p { text-align: center; margin-top: 26px; }
.btn-light { background: transparent !important; color: #fff !important; box-shadow: 0 0 0 2px #fff inset !important; }

/* API 连线位置 */
.line-1 { left: 15%; top: 22%; width: 34%; transform: rotate(12deg); }
.line-2 { left: 55%; top: 28%; width: 30%; transform: rotate(-10deg); }
.line-3 { left: 12%; top: 62%; width: 36%; transform: rotate(-8deg); }
.line-4 { left: 55%; top: 60%; width: 32%; transform: rotate(8deg); }
