.cms-planning-page .page-section,
.cms-remote-page .page-section {
  padding-block: clamp(72px, 7vw, 112px);
}

.cms-lead-form {
  position: relative;
  z-index: 2;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 70px rgba(10, 53, 98, .16);
}

.cms-lead-form h2 { margin: 0 0 8px; font-size: 26px; }
.cms-lead-form > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.cms-lead-form .form-grid { display: grid; gap: 12px; }
.cms-lead-form input,
.cms-lead-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; font: inherit; font-size: 14px; }
.cms-lead-form textarea { min-height: 92px; resize: vertical; }
.cms-lead-form button { min-height: 48px; border: 0; border-radius: 10px; color: #fff; background: var(--brand-700); font: inherit; font-weight: 700; cursor: pointer; }

.cms-rich-inline p { margin: 0; }
.sp-brand-metrics.cms-rich-inline > p {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.cms-brand-icon { display: block; width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; }
.cms-intro-list p { position: relative; display: flex; align-items: center; min-height: 52px; margin: 0; padding: 13px 0 13px 36px; border-bottom: 1px solid var(--line); }
.cms-intro-list p::before { content: "✓"; position: absolute; left: 0; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; border-radius: 50%; background: var(--brand-600); font-size: 13px; font-weight: 700; line-height: 1; transform: translateY(-50%); }
.planning-photo img { width: 100%; height: 100%; object-fit: cover; }
.planning-why-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 38px 0 0; padding: 0; list-style: none; }
.planning-why-grid li { position: relative; grid-column: span 2; min-width: 0; min-height: 230px; padding: 30px 28px 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.planning-why-grid li:nth-child(-n + 2) { grid-column: span 3; min-height: 214px; }
.planning-why-grid li::after { content: ""; position: absolute; right: -30px; bottom: -42px; width: 110px; height: 110px; border: 18px solid #edf4fb; border-radius: 50%; transition: transform .3s ease, border-color .3s ease; }
.planning-why-grid li:hover { transform: translateY(-5px); border-color: #aac8e7; box-shadow: 0 18px 38px rgba(var(--brand-rgb), .09); }
.planning-why-grid li:hover::after { transform: scale(1.08); border-color: #dceafa; }
.planning-why-grid li > span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 25px; margin-bottom: 22px; padding: 0 10px; color: var(--brand-700); border-radius: 999px; background: #eaf3fc; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.planning-why-grid h3 { position: relative; z-index: 1; margin: 0 0 12px; color: var(--ink); font-size: 20px; line-height: 1.45; }
.planning-why-grid p { position: relative; z-index: 1; max-width: 96%; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.remote-service-list li { display: grid; gap: 5px; }
.remote-service-list span { color: var(--muted); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.cms-module-source.is-render-fallback { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.cms-module-source.is-render-fallback > :first-child { margin-top: 0; }
.cms-module-source.is-render-fallback > :last-child { margin-bottom: 0; }
.cms-module-source.is-render-fallback h2,
.cms-module-source.is-render-fallback h3,
.cms-module-source.is-render-fallback h4 { color: var(--ink); line-height: 1.4; }
.cms-module-source.is-render-fallback p,
.cms-module-source.is-render-fallback li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.remote-decision-heading { max-width: 900px; }
.remote-decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.remote-decision-grid .sp-card { min-width: 0; min-height: 0; }
.remote-decision-grid .sp-card h3 { margin-top: 26px; overflow-wrap: anywhere; }
.remote-decision-grid .sp-card p { line-height: 1.8; overflow-wrap: anywhere; }
.remote-process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.remote-process li { min-width: 0; }
.remote-process li:nth-child(3)::after { display: block !important; }
.remote-process li:nth-child(6)::after { display: none; }

.cms-shared-team .service-team-card:not(:has(img)) { display: flex; align-items: stretch; }
.cms-shared-team .service-team-card:not(:has(img)) > div { width: 100%; }
.cms-service-cases .sp-story-art { position: relative; padding: 0; overflow: hidden; }
.cms-service-cases .sp-story-art img { width: 100%; height: 100%; object-fit: cover; }
.cms-service-cases .sp-story-art > span { position: absolute; left: 18px; bottom: 18px; }
.cms-service-cases .sp-story-grid h3 { display: -webkit-box; min-height: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cms-remote-faq .sp-faq summary span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #e7f1fb; }
.cms-remote-faq .sp-faq summary span::before { content: "+"; }
.cms-remote-faq .sp-faq details[open] summary span { color: #fff; background: var(--brand-600); transform: none; }
.cms-remote-faq .sp-faq details[open] summary span::before { content: "−"; }
.cms-remote-faq summary:focus-visible,
.cms-lead-form :focus-visible,
.sp-service-columns a:focus-visible { outline: 3px solid #67a9e8; outline-offset: 3px; }

@media (max-width: 1050px) {
  .remote-decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .cms-lead-form { padding: 24px; }
  .planning-why-grid,
  .remote-decision-grid { grid-template-columns: 1fr; gap: 14px; }
  .planning-why-grid li,
  .planning-why-grid li:nth-child(-n + 2) { grid-column: auto; min-height: 0; padding: 24px; }
  .remote-process { grid-template-columns: 1fr; row-gap: 0; }
  .remote-process li::after { display: none; }
}

html[lang="zh-Hant"] .sp-hero[style*="--cms-banner-image"] { background-image: linear-gradient(90deg, rgba(247,250,253,.97) 0%, rgba(247,250,253,.88) 36%, rgba(247,250,253,.52) 70%, rgba(247,250,253,.3) 100%), var(--cms-banner-image); background-position: center; background-size: cover; }
.sp-hero[style*="--cms-banner-image"] .sp-hero-copy h1 { color: var(--ink); }
.sp-hero[style*="--cms-banner-image"] .sp-hero-copy p { color: var(--muted); }
.sp-hero[style*="--cms-banner-image"] .sp-hero-copy .sp-eyebrow { color: var(--brand-600); }
.sp-hero[style*="--cms-banner-image"] .sp-hero-copy h1 em { color: var(--brand-600); }
.cms-shared-team .page-heading, #service-process .page-heading { display: block; max-width: 1100px; }
.cms-shared-team .page-heading h2, #service-process .page-heading h2 { max-width: 1100px; }
.cms-planning-note { display: flex; align-items: center; gap: 20px; margin: 28px 0; padding: 24px 28px; border: 1px solid #cbdff6; border-radius: 20px; background: #f2f7fd; }
.cms-planning-note > span { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #195896; color: #fff; }
.cms-planning-note svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cms-planning-note p { margin: 0; font-size: 16px; line-height: 1.8; }
@media(max-width:600px) { .cms-planning-note { padding: 20px; gap: 14px; } .cms-planning-note p { font-size: 14px; } }
