/* Service pages (referral intake, insurance verification, billing). Built from the home page's parts: header and pill
   (base.css), eyebrow / section heading / glass cards / footer (process.css), concept-UI demos (demos.css) and the
   service cards (seo.css). This file only lays out what is specific to these pages. */
.no-js .rv { opacity: 1; transform: none; }
.no-js .site-head::before, .svc-page.scrolled .site-head::before { opacity: 1; }

/* Hero: the words on the left, the concept animation for this workflow on the right. */
.svc-hero { position: relative; z-index: 2; padding: 40px 0 104px; }
.svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(34% 52% at 82% 46%, rgba(121, 176, 238, .26), transparent 70%), radial-gradient(28% 40% at 64% 78%, rgba(105, 129, 242, .14), transparent 70%), radial-gradient(26% 36% at 96% 18%, rgba(124, 211, 238, .18), transparent 70%); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); align-items: center; }
.svc-hero-text { display: grid; gap: 18px; justify-items: start; }
.svc-crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.svc-crumb li + li::before { content: "/"; margin-right: 10px; color: #A3A8B4; }
.svc-crumb a { color: var(--muted); text-decoration: none; }
.svc-crumb a:hover { color: var(--ink); }
.svc-hero h1 { margin: 0; font-size: clamp(38px, 4.6vw, 64px); font-weight: 400; line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
.svc-intro { max-width: 58ch; font-size: 18px; line-height: 1.6; color: #333946; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 10px; }
.pill.svc-cta { font-size: 16px; padding: 13px 20px; border-radius: 12px; gap: 9px; box-shadow: 0 18px 34px -20px rgba(11, 20, 64, .6); transition: transform .3s var(--spring, ease), box-shadow .3s ease; }
.pill.svc-cta:hover { transform: translateY(-2px); }
.pill.svc-cta svg { width: 12px; height: 12px; }
.svc-hero-vis { position: relative; }
.svc-hero-vis .dm { min-height: 300px; padding: 26px; border-radius: 24px; }

/* Sections */
.svc-sec { position: relative; z-index: 2; padding: 88px 0; }
.svc-page p { margin: 0; }
.svc-prose { display: grid; gap: 14px; justify-items: start; align-content: start; }
.svc-prose p { max-width: 62ch; font-size: 17px; line-height: 1.65; color: #414855; }
.svc-prose > div { display: grid; gap: 14px; }

/* How it works: three numbered glass cards; their bars fill one after another while in view (a relay, left to right). */
.svc-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.svc-step { gap: 12px; padding: 26px 26px 30px; }
.svc-num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 11px; background: #fff; border: 1px solid rgba(47, 80, 237, .18); color: var(--blue); font-size: 14px; font-variant-numeric: tabular-nums; box-shadow: 0 8px 18px -12px rgba(47, 80, 237, .5); }
.svc-step h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; }
.svc-step p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.svc-bar { position: absolute; left: 26px; right: 26px; bottom: 14px; height: 2px; border-radius: 2px; background: rgba(17, 19, 24, .06); overflow: hidden; }
.svc-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #2F50ED, #79B0EE); transform-origin: left; transform: scaleX(0); }
.live .svc-step:nth-child(1) .svc-bar i { animation: svc-b1 6s cubic-bezier(.45, 0, .25, 1) infinite; }
.live .svc-step:nth-child(2) .svc-bar i { animation: svc-b2 6s cubic-bezier(.45, 0, .25, 1) infinite; }
.live .svc-step:nth-child(3) .svc-bar i { animation: svc-b3 6s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes svc-b1 { 0%, 4% { transform: scaleX(0); opacity: 1; } 28%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes svc-b2 { 0%, 30% { transform: scaleX(0); opacity: 1; } 54%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes svc-b3 { 0%, 56% { transform: scaleX(0); opacity: 1; } 80%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* One connected workflow: the prose beside the six stages, this page's stages marked; a marker runs down the line. */
.svc-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 7vw, 112px); align-items: center; }
.svc-journey { padding: 24px 26px 18px; gap: 14px; }
.sj-title { font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.sj-list { --row: 44px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.sj-list::before { content: ""; position: absolute; left: 8px; top: calc(var(--row) / 2); bottom: calc(var(--row) / 2); width: 1.5px; margin-left: -.75px; background: rgba(17, 19, 24, .1); border-radius: 1px; }
.sj-list::after { content: ""; position: absolute; left: 8px; top: calc(var(--row) / 2); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(47, 80, 237, .14); opacity: 0; }
.live .sj-list::after { animation: sj-run 7s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes sj-run { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 86% { transform: translateY(calc(var(--row) * 5)); opacity: 1; } 94%, 100% { transform: translateY(calc(var(--row) * 5)); opacity: 0; } }
.sj-list li { position: relative; display: flex; align-items: center; gap: 14px; min-height: var(--row); font-size: 16px; color: var(--muted); }
.sj-dot { position: relative; z-index: 1; flex: none; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(17, 19, 24, .18); }
.sj-list a { color: var(--ink); text-decoration: none; }
.sj-list a:hover { color: var(--blue); }
.sj-list li.is-here { color: var(--ink); font-weight: 500; }
.sj-list li.is-here .sj-dot { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(47, 80, 237, .14); }
.sj-here { margin-left: auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #E8EDFF; color: #1E3CC8; font-size: 12px; font-weight: 400; white-space: nowrap; }

/* The walkthrough: what to bring, beside the way to book it, in one soft panel (the closing CTA's colours). */
.svc-talk { padding-top: 40px; }
.svc-talk-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 4.5vw, 56px); border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(47, 80, 237, .06), 0 40px 80px -56px rgba(11, 20, 64, .4); }
.svc-talk-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 100%, rgba(121, 176, 238, .3), transparent 65%), radial-gradient(40% 60% at 80% 0%, rgba(166, 232, 216, .22), transparent 65%), radial-gradient(50% 70% at 0% 100%, rgba(105, 129, 242, .1), transparent 65%); }
.svc-h3 { margin: 0 0 4px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
.svc-contact { display: grid; gap: 14px; align-content: center; justify-items: start; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(17, 19, 24, .06); box-shadow: 0 24px 48px -36px rgba(11, 20, 64, .35); }
.svc-contact-h { margin: 0; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.18; font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
.svc-contact p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.svc-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; font-size: 15px; }
.svc-contact-actions > a:not(.pill) { color: var(--blue); text-underline-offset: 3px; }

/* Related workflows: the home page's service cards, two of them. */
.svc-related { padding-top: 48px; }
.svc-related::before { display: none; }
.svc-related .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }

@media (max-width: 1000px) {
  .svc-hero-grid, .svc-split { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .svc-hero-vis { max-width: 560px; }
  .svc-journey { max-width: 560px; }
  .svc-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 640px; }
  .svc-talk-panel { grid-template-columns: minmax(0, 1fr); }
  .svc-related .service-links { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 640px) {
  .svc-hero { padding: 16px 0 64px; }
  .svc-intro { font-size: 17px; }
  .svc-hero-vis .dm { padding: 12px; border-radius: 18px; min-height: 0; }
  .svc-sec { padding: 64px 0; }
  .svc-steps { margin-top: 32px; }
  .svc-step { padding: 22px 22px 28px; }
  .svc-bar { left: 22px; right: 22px; }
  .svc-talk { padding-top: 16px; }
  .svc-talk-panel { padding: 24px 20px; border-radius: 26px; }
  .svc-contact { padding: 22px; }
  .sj-list li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-bar i { transform: none; }
  .pill.svc-cta { transition: none; }
}
