/* 若聚凡星 V3 服务总览页（/services/）与全站 77 个服务详情页统一视觉体系 */
html { scroll-behavior: smooth; }
body.rf3-v3-page,
body.rf3-v3-service-page {
  margin: 0;
  background: var(--rf3-bg);
  color: var(--rf3-ink);
  font-family: var(--rf3-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.rf3-svc-main *,
.rf3-svc-main *::before,
.rf3-svc-main *::after { box-sizing: border-box; }
.rf3-svc-main [id] { scroll-margin-top: 90px; }

/* 3 Vertical Accent Themes */
.rf3-svc-main { --rf3-va: #E85D1A; --rf3-va-soft: rgba(232, 93, 26, 0.22); --rf3-va-light: #FF945A; }
.rf3-svc-main.is-geo { --rf3-va: #0F8F83; --rf3-va-soft: rgba(15, 143, 131, 0.26); --rf3-va-light: #7BF0E2; }
.rf3-svc-main.is-web { --rf3-va: #147D4B; --rf3-va-soft: rgba(20, 125, 75, 0.26); --rf3-va-light: #7EE4AD; }

/* Breadcrumb */
.rf3-crumb {
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.65); margin-bottom: 18px;
}
.rf3-crumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.rf3-crumb a:hover { color: var(--rf3-va-light); }
.rf3-crumb-cur { color: #fff; font-weight: 600; }

/* ===== DARK V3 SERVICE HERO ===== */
.rf3-shero {
  position: relative;
  background: #121620;
  color: #fff;
  overflow: hidden;
  padding: 44px 0 60px;
}
.rf3-shero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, var(--rf3-va-soft) 0%, transparent 46%),
    radial-gradient(circle at 14% 84%, rgba(15, 143, 131, 0.14) 0%, transparent 44%),
    linear-gradient(110deg, rgba(16, 20, 29, 0.96) 0%, rgba(22, 19, 23, 0.9) 100%);
  pointer-events: none;
}
.rf3-shero .rf3-wrap { position: relative; z-index: 2; }
.rf3-shero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
}
@media (max-width: 980px) {
  .rf3-shero { padding: 34px 0 48px; }
  .rf3-shero-grid { grid-template-columns: 1fr; gap: 28px; }
}

.rf3-shero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px; font-weight: 700; color: var(--rf3-va-light); margin-bottom: 14px;
}
.rf3-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rf3-va); box-shadow: 0 0 0 4px var(--rf3-va-soft); flex-shrink: 0;
}
.rf3-shero h1 {
  margin: 0 0 14px !important;
  font-size: clamp(27px, 3.4vw, 40px) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em;
  font-weight: 900 !important;
  font-family: var(--rf3-sans) !important;
  color: #fff !important;
}
.rf3-shero-lead {
  margin: 0 0 20px;
  font-size: 15.2px; color: rgba(255, 255, 255, 0.82); line-height: 1.72; max-width: 610px;
}
.rf3-shero-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.rf3-shero-chip {
  padding: 5px 11px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.6px; font-weight: 700; color: rgba(255, 255, 255, 0.92);
}
.rf3-shero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.rf3-shero-stats {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.8px; color: rgba(255, 255, 255, 0.72);
}
.rf3-shero-stats strong { color: #7EE4AD; margin-right: 4px; }

/* Right Visual Panel inside Hero */
.rf3-svis-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}
.rf3-svis-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px;
}
.rf3-svis-head strong { font-size: 14.5px; color: #fff; }
.rf3-svis-badge {
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  background: var(--rf3-va-soft); color: var(--rf3-va-light);
}
.rf3-svis-kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px;
}
.rf3-svis-kpi {
  background: rgba(12, 15, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 11px 10px;
}
.rf3-svis-kpi strong { display: block; font-size: 18px; font-weight: 900; color: var(--rf3-va-light); line-height: 1.15; }
.rf3-svis-kpi span { font-size: 11px; color: rgba(255, 255, 255, 0.68); display: block; margin-top: 3px; }
.rf3-svis-shot {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #14171F; cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rf3-svis-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rf3-svis-zoom {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(16, 20, 29, 0.86); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}
.rf3-svis-bars { display: flex; flex-direction: column; gap: 11px; margin-bottom: 14px; }
.rf3-svis-brow { display: flex; flex-direction: column; gap: 4px; font-size: 12.2px; }
.rf3-svis-btop { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.86); }
.rf3-svis-btrack { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.rf3-svis-bfill { height: 100%; border-radius: 999px; }

/* ===== SERVICES DIRECTORY HUB (/services/) ===== */
.rf3-ssec { padding: 66px 0; }
.rf3-ssec.is-white { background: var(--rf3-surface); }
.rf3-ssec.is-alt { background: var(--rf3-bg-alt); }
@media (max-width: 760px) { .rf3-ssec { padding: 48px 0; } }

.rf3-shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.rf3-skicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rf3-va); margin-bottom: 5px; }
.rf3-shead h2 { margin: 0; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.24; color: var(--rf3-ink); }
.rf3-shead p { margin: 6px 0 0; font-size: 14.5px; color: var(--rf3-muted); }

.rf3-sfilters { display: flex; gap: 8px; flex-wrap: wrap; }
.rf3-sfpill {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--rf3-border); background: var(--rf3-surface);
  color: var(--rf3-ink-2); font-size: 13.4px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.rf3-sfpill:hover { border-color: var(--rf3-brand); color: var(--rf3-brand); }
.rf3-sfpill.rf3-active { background: var(--rf3-ink); border-color: var(--rf3-ink); color: #fff; }

.rf3-pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 36px; }
@media (max-width: 960px) { .rf3-pillars-grid { grid-template-columns: 1fr; } }
.rf3-pillar-card {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-top: 4px solid var(--rf3-brand); border-radius: 20px; padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  box-shadow: var(--rf3-shadow-sm);
}
.rf3-pillar-card.is-geo { border-top-color: var(--rf3-teal); }
.rf3-pillar-card.is-web { border-top-color: var(--rf3-green); }
.rf3-pillar-card h2, .rf3-pillar-card h3 { margin: 4px 0 8px; font-size: 20px; color: var(--rf3-ink); }
.rf3-pillar-card p { margin: 0 0 12px; font-size: 13.8px; color: var(--rf3-muted); }
.rf3-pillar-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--rf3-ink-2); }
.rf3-pillar-ul li::before { content: "→ "; color: var(--rf3-brand); font-weight: 800; }
.rf3-pillar-card.is-geo .rf3-pillar-ul li::before { color: var(--rf3-teal); }
.rf3-pillar-card.is-web .rf3-pillar-ul li::before { color: var(--rf3-green); }

/* Complete 77-Page Directory Grid */
.rf3-dir-group {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-radius: 20px; padding: 24px 26px; margin-bottom: 18px;
}
.rf3-dir-group[data-hidden="true"] { display: none; }
.rf3-dir-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--rf3-border);
}
.rf3-dir-head h3 { margin: 0; font-size: 18px; color: var(--rf3-ink); display: flex; align-items: center; gap: 9px; }
.rf3-dir-count { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--rf3-bg-alt); color: var(--rf3-muted); }
.rf3-dir-links {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
@media (max-width: 1020px) { .rf3-dir-links { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .rf3-dir-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .rf3-dir-links { grid-template-columns: 1fr; } }
.rf3-dir-a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 13px; border-radius: 11px;
  background: var(--rf3-bg); border: 1px solid var(--rf3-border);
  font-size: 13.5px; font-weight: 700; color: var(--rf3-ink); text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rf3-dir-a:hover { border-color: var(--rf3-brand); background: #fff; color: var(--rf3-brand); }
.rf3-dir-a::after { content: "→"; font-size: 12px; opacity: 0.45; }
.rf3-dir-a:hover::after { opacity: 1; }
.rf3-dir-group[data-rf3-sgroup="geo"] .rf3-dir-a:hover { border-color: var(--rf3-teal); color: var(--rf3-teal); }
.rf3-dir-group[data-rf3-sgroup="web"] .rf3-dir-a:hover { border-color: var(--rf3-green); color: var(--rf3-green); }

/* ===== HARMONIZED V3 LEGACY SERVICE BODY (.rf3-svc-body) ===== */
.rf3-svc-body {
  font-family: var(--rf3-sans);
  color: var(--rf3-ink);
}
.rf3-svc-body .sec {
  padding: 58px 0 !important;
  background: var(--rf3-surface);
  border-bottom: 1px solid var(--rf3-border);
}
.rf3-svc-body .sec.cream {
  background: var(--rf3-bg) !important;
}
.rf3-svc-body .wrap {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
.rf3-svc-body h2,
.rf3-svc-body .shead h2 {
  font-family: var(--rf3-sans) !important;
  font-weight: 900 !important;
  color: var(--rf3-ink) !important;
  letter-spacing: -0.02em;
}
.rf3-svc-body .eyebrow {
  color: var(--rf3-va) !important;
  font-weight: 800 !important;
}
.rf3-svc-body .card,
.rf3-svc-body .relc,
.rf3-svc-body .tile,
.rf3-svc-body .fq {
  border-radius: 16px !important;
  border-color: var(--rf3-border) !important;
  background: var(--rf3-surface) !important;
}
.rf3-svc-body .fq > button {
  font-family: var(--rf3-sans) !important;
  font-weight: 700 !important;
  color: var(--rf3-ink) !important;
}
.rf3-svc-body table {
  width: 100%;
  border-collapse: collapse;
  background: var(--rf3-surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rf3-border);
}
.rf3-svc-body th {
  background: var(--rf3-bg-alt) !important;
  color: var(--rf3-ink) !important;
  font-weight: 800 !important;
}
.rf3-svc-body td,
.rf3-svc-body th {
  border-color: var(--rf3-border) !important;
  padding: 12px 14px !important;
}
.rf3-svc-body .tbl,
.rf3-svc-body .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rf3-svc-body a.btn-p,
.rf3-svc-body .btn-p {
  background: var(--rf3-va) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
.rf3-svc-body details {
  margin-top: 20px;
  background: var(--rf3-surface);
  border: 1px solid var(--rf3-border);
  border-radius: 16px;
  padding: 16px 20px;
}
.rf3-svc-body details > summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--rf3-ink);
  font-size: 15.5px;
}
.rf3-svc-body details .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.rf3-svc-body details .relc {
  flex: 1 1 200px;
  padding: 12px 14px;
  text-decoration: none;
}
.rf3-svc-body details .relc h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
}
.rf3-svc-body details .relc p {
  margin: 0;
  font-size: 12.5px;
  color: var(--rf3-muted);
}
@media (max-width: 760px) {
  .rf3-svc-body .sec { padding: 44px 0 !important; }
  .rf3-svc-body .wrap { padding: 0 18px !important; }
  .rf3-svc-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ===== UNIFIED V3 SERVICE BOTTOM CONVERSION + POD + CONTRACT ===== */
.rf3-pod-strip {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-radius: 18px; padding: 22px 24px;
  display: grid; grid-template-columns: 0.95fr 2.05fr; gap: 20px; align-items: center;
  margin-bottom: 18px;
}
@media (max-width: 900px) { .rf3-pod-strip { grid-template-columns: 1fr; } }
.rf3-pod-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .rf3-pod-roles { grid-template-columns: repeat(2, 1fr); } }
.rf3-pod-role { background: var(--rf3-bg); border: 1px solid var(--rf3-border); border-radius: 12px; padding: 12px; }
.rf3-pod-role strong { display: block; font-size: 13.5px; color: var(--rf3-ink); margin-bottom: 3px; }
.rf3-pod-role span { font-size: 12px; color: var(--rf3-muted); display: block; line-height: 1.4; }

.rf3-contract-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
@media (max-width: 960px) { .rf3-contract-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .rf3-contract-grid { grid-template-columns: 1fr; } }
.rf3-contract-card {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-top: 3px solid var(--rf3-teal); border-radius: 14px; padding: 18px;
}
.rf3-contract-card.is-orange { border-top-color: var(--rf3-brand); }
.rf3-contract-card strong { display: block; font-size: 15px; margin-bottom: 5px; color: var(--rf3-ink); }
.rf3-contract-card p { margin: 0; font-size: 12.8px; color: var(--rf3-muted); line-height: 1.55; }

.rf3-scta-banner {
  background: linear-gradient(135deg, #131823 0%, #241D18 68%, #3B2315 100%);
  color: #fff; border-radius: 24px; padding: 38px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center;
  box-shadow: var(--rf3-shadow-lg);
}
.rf3-svc-main.is-geo .rf3-scta-banner {
  background: linear-gradient(135deg, #101A22 0%, #143332 100%);
}
@media (max-width: 900px) { .rf3-scta-banner { grid-template-columns: 1fr; padding: 26px 20px; } }
.rf3-scta-form { background: var(--rf3-surface); color: var(--rf3-ink); border-radius: 18px; padding: 24px; }
.rf3-field { margin-bottom: 11px; }
.rf3-field label { display: block; font-size: 12.8px; font-weight: 700; margin-bottom: 4px; color: var(--rf3-ink-2); }
.rf3-field input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--rf3-border); background: var(--rf3-bg);
  font-size: 14px; font-family: inherit; color: var(--rf3-ink); outline: none;
}
.rf3-field input:focus { border-color: var(--rf3-brand); background: #fff; }
.rf3-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .rf3-field-row { grid-template-columns: 1fr; } }
.rf3-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important;
}
.rf3-scta-form .ok {
  display: none; background: var(--rf3-green-soft); border: 1px solid #B6E6CD;
  color: var(--rf3-green); border-radius: 10px; padding: 11px 13px;
  font-size: 13.5px; font-weight: 700; margin-bottom: 12px;
}
.rf3-scta-form .ok.on { display: block; }
.rf3-scta-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rf3-border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: wrap; font-size: 12.6px; color: var(--rf3-muted);
}
