.service-page { background: var(--white); }
.s-head { padding-bottom: 64px; }
.s-hero { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.s-hero.solo { grid-template-columns: minmax(0, 1fr); }
.s-hero h1 { color: #fff; }
.s-hero h1 em { color: #7cc4f5; }
.s-hero .lede { color: #b4bdd3; max-width: 560px; margin: 16px 0 0; }
.s-hero .g-meta { display: flex; gap: 28px; margin-top: 24px; font-size: 15px; color: #9aa5c0; }
.s-hero .g-meta b { color: #fff; font-size: 20px; margin-right: 4px; }
.s-hero-img { border-radius: 24px; background: rgba(255,255,255,.06); padding: 18px; }
.s-hero-img img { display: block; width: 100%; height: auto; }
.s-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.pill-ghost:hover { background: rgba(255,255,255,.1); }

.s-grid { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: center; align-items: start; gap: 56px; padding-block: 56px 72px; max-width: 1080px; }
.s-body h2 { margin-top: 1.8em; }
.s-body > h2:first-child, .s-body > p:first-child { margin-top: 0; }
.s-body figure { margin: 1.6em 0; }
.s-body figure img { display: block; margin-inline: auto; }
.s-body ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.s-body ul li { position: relative; padding: 12px 16px 12px 44px; border-radius: 14px; background: var(--soft); }
.s-body ul li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.s-body ul li + li { margin-top: 0; }
.s-faq { margin-top: 3em; }
.s-faq h2 { margin-bottom: .4em; }

.s-cta { background: var(--navy); }
.s-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.s-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; }
.s-cta h2 em { color: #7cc4f5; }
.s-cta p { margin: 0; color: #b4bdd3; }
.s-cta .s-cta-btns { margin: 0; }

.s-groups { max-width: 1080px; padding-block: 48px 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.s-group { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--tint-blue); }
.s-group.t1 { background: var(--tint-mint); }
.s-group.t2 { background: var(--tint-lilac); }
.s-group.t3 { background: var(--tint-peach); }
.s-group h2 { margin: 0 0 6px; font-size: 22px; }
.s-group > p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.s-links { display: grid; gap: 6px; margin-top: 4px; }
.s-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); transition: transform .15s; }
.s-links a span { color: var(--muted); }
.s-links a:hover { transform: translateX(3px); color: var(--link); }

@media (max-width: 980px) {
  .s-hero { grid-template-columns: minmax(0, 1fr); }
  .s-hero-img { max-width: 520px; }
  .s-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .s-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .s-groups { grid-template-columns: minmax(0, 1fr); } }

/* Illustrated AI answer for service pages without their own artwork */
.ai-mock { display: grid; gap: 14px; padding: 26px; }
.ai-q { justify-self: end; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; }
.ai-a { display: grid; gap: 9px; padding: 18px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.ai-badge { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(124,196,245,.16); color: #7cc4f5; font-size: 12px; font-weight: 700; }
.ai-a i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.18); }
.ai-src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: #9aa5c0; }
.ai-src b { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; box-shadow: 0 0 0 4px rgba(124,196,245,.35); }
.ai-src em { width: 74px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.12); }
.s-body ol.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.s-body ol.steps li { position: relative; padding: 16px 18px 16px 62px; border-radius: 16px; background: var(--soft); counter-increment: st; }
.s-body ol.steps li + li { margin-top: 0; }
.s-body ol.steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.s-body ul.plain-links { display: block; padding-left: 1.2em; list-style: disc; }
.s-body ul.plain-links li { padding: 0; background: none; border-radius: 0; }
.s-body ul.plain-links li::before { content: none; }
.s-body ul.plain-links li + li { margin-top: .4em; }
.s-hero-img.bleed { background: none; padding: 0; margin: -24px -16px -40px 0; }
@media (max-width: 980px) { .s-hero-img.bleed { margin: 0; } }

.s-body h2 { scroll-margin-top: 96px; }
.s-body h3 { margin-top: 1.6em; font-size: 20px; }
.s-body ul.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.s-body ul.tag-list li { padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--tint-blue); }
.s-body ul.tag-list li::before { content: none; }
.s-toc a { font-weight: 600; font-size: 14px; }
.s-toc a:last-child { color: var(--ink); }
.s-body dl.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-body dl.terms div { padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.s-body dl.terms dt { font-weight: 700; color: var(--ink); font-size: 16px; }
.s-body dl.terms dd { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--text); }
@media (max-width: 600px) { .s-body dl.terms { grid-template-columns: minmax(0, 1fr); } }

/* Services hub: one card per main service */
.h-grid { max-width: 1120px; padding-block: 48px 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-card { display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .15s, transform .15s; }
.h-card:hover { border-color: #c8d6ea; transform: translateY(-2px); }
.h-pic { display: block; background: var(--navy); aspect-ratio: 560 / 440; overflow: hidden; }
.h-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.h-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.h-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-text); }
.h-body h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.h-body h2 a { color: var(--ink); }
.h-body h2 a:hover { color: var(--link); }
.h-body > p { margin: 0; font-size: 15px; color: var(--muted); }
.h-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.h-chips li { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--text); }
.h-more { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 600; }
.h-more a { color: var(--link); }
.h-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--link); }
.h-go span { display: inline-block; transition: transform .15s; }
.h-card:hover .h-go span { transform: translateX(3px); }
@media (max-width: 960px) { .h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .h-grid { grid-template-columns: minmax(0, 1fr); padding-block: 32px 56px; } }
