/* ============================================================
   style-adv-service.css — 全程服务优势（独立布局：服务圆环 + 承诺四卡）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：服务圆环 ---------- */
.as-hero { position: relative; background: var(--white); padding: 178px 0 84px; overflow: hidden; }
.as-hero::before { content: ""; position: absolute; right: -240px; top: -240px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%); pointer-events: none; }
.as-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.as-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 24px; }
.as-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.as-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.as-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.as-svc { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.as-svc-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gray-300); animation: asSpin 46s linear infinite; }
.as-svc-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.as-svc-ring.outer { inset: -8%; border-style: dashed; animation-direction: reverse; }
@keyframes asSpin { to { transform: rotate(360deg); } }
.as-svc-disc { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.as-svc-disc img { width: 100%; height: 100%; object-fit: cover; }
.as-svc-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 50px rgba(27,27,27,.18); }
.as-svc-tag { position: absolute; background: #fff; border: 1px solid var(--gray-300); border-radius: 999px; padding: 8px 16px; font-size: 12.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.as-svc-tag.t1 { left: -14px; top: 18%; }
.as-svc-tag.t2 { right: -12px; top: 44%; }
.as-svc-tag.t3 { left: 4%; bottom: 12%; }

/* ---------- 承诺四卡 ---------- */
.as-promise { background: var(--gray-50); overflow: hidden; position: relative; }
.as-promise::before { content: ""; position: absolute; left: -160px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%); pointer-events: none; }
.as-promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.as-promise-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; transition: all var(--transition); }
.as-promise-card:nth-child(2), .as-promise-card:nth-child(4) { transform: translateY(22px); }
.as-promise-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.as-promise-card:nth-child(2):hover, .as-promise-card:nth-child(4):hover { transform: translateY(-4px); }
.as-promise-ico { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--gray-50); border: 1px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all var(--transition); }
.as-promise-card:hover .as-promise-ico { background: var(--ink); color: #fff; }
.as-promise-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.as-promise-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 服务流程 ---------- */
.as-flow { background: var(--white); position: relative; overflow: hidden; }
.as-flow::after { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.as-flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 2; }
.as-flow-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 18px; text-align: center; background: var(--gray-50); transition: all var(--transition); }
.as-flow-card:nth-child(2), .as-flow-card:nth-child(4) { transform: translateY(18px); }
.as-flow-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.as-flow-card:nth-child(2):hover, .as-flow-card:nth-child(4):hover { transform: translateY(-4px); }
.as-flow-num { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.as-flow-card h3 { font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.as-flow-card p { font-size: 12.5px; color: var(--ink-mute); line-height: 1.75; }

/* ---------- CTA ---------- */
.as-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.as-sec-cta::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%); pointer-events: none; }
.as-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.as-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.as-sec-cta .cta-contact a { color: #fff; }
.as-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .as-hero { padding-top: 148px; }
  .as-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .as-svc { width: min(340px, 72vw); height: min(340px, 72vw); }
  .as-promise-grid { grid-template-columns: repeat(2, 1fr); }
  .as-promise-card:nth-child(2), .as-promise-card:nth-child(4) { transform: none; }
  .as-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .as-flow-card:nth-child(2), .as-flow-card:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .as-hero { padding: 132px 0 56px; }
  .as-promise-grid { grid-template-columns: 1fr; }
  .as-flow-grid { grid-template-columns: 1fr; }
}
