/* Services: the selected heading family, existing body font and MG palette. */
.services-page { --services-accent: #f2b65c; --services-muted: #526b78; }
.services-page main :is(h1, h2, h3) { font-family: 'Source Serif 4', Georgia, serif; font-optical-sizing: auto; font-weight: 500; letter-spacing: -.025em; }
.services-page ::selection { color: #002b46; background: var(--services-accent); }
.services-page :where(a, button):focus-visible { outline: 3px solid #0072bb; outline-offset: 4px; }
.services-page :where(.site-header, .article-hero, .cta) :where(a, button):focus-visible { outline-color: #a8d9eb; }
.services-page .page-hero { padding: 64px 0 60px; }
.services-page .page-hero h1 { margin: 0; font-size: clamp(42px,5vw,64px); line-height: 1.12; }
.services-page .page-hero p { margin-top: 20px; color: #d4e4eb; max-width: 55ch; }
.services-page .services-catalog { padding: 56px 0 80px; background: #fff; }
.services-index { border-top: 1px solid var(--line); }
.services-entry { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr) 36px; align-items: start; gap: 40px; padding: 32px 14px; border-bottom: 1px solid var(--line); transition: background-color 160ms ease; }
.services-page .services-entry h2 { margin: 0; font-size: clamp(25px,2.5vw,32px); line-height: 1.24; }
.services-entry-description p { margin: 0; max-width: 55ch; color: var(--services-muted); font-size: 16px; line-height: 1.75; }
.services-entry-more { display: block; margin-top: 12px; color: #075b91; font-size: 13px; font-weight: 750; }
.services-entry-arrow { display: grid; place-items: center; width: 36px; height: 36px; color: #075b91; border-radius: 50%; transition: color 160ms ease, background-color 160ms ease, transform 180ms cubic-bezier(.23,1,.32,1); }
.services-entry-arrow svg { width: 22px; height: 22px; }
.services-entry:focus-visible .services-entry-arrow { color: #002b46; background: var(--services-accent); transition: none; }
.services-entry:focus-visible h2 { text-decoration: underline; text-decoration-color: var(--services-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.services-page .article-hero { padding: 52px 0 60px; }
.services-page .back-link { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 20px; color: #d4e4eb; font-size: 14px; }
.services-page .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.services-page .service-article-copy h1 { max-width: 26ch; margin: 0; font-size: clamp(38px,4.7vw,58px); line-height: 1.12; }
.services-page .service-article-copy p { max-width: 62ch; margin-top: 24px; color: #d4e4eb; font-size: 18px; line-height: 1.75; }
.services-page .article-hero + .section { padding: 56px 0 72px; background: #fff; }
.services-page .service-article-body { padding-top: 0; font-size: 17px; line-height: 1.85; color: #315467; }
.services-page .service-article-body > * { max-width: 70ch; }
.services-page .prose h2 { margin: 40px 0 18px; padding-top: 22px; font-size: 30px; line-height: 1.25; color: #002b46; }
.services-page .prose h2:first-child { margin-top: 0; }
.services-page .prose ul, .services-page .prose ol { border-left-width: 2px; background: #f3f7f8; }
.services-page .cta h2 { line-height: 1.2; }
.services-page .cta .button-light { color: #002b46; background: var(--services-accent); border-color: var(--services-accent); transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.services-page .cta .button-light:hover { background: #ffd18a; border-color: #ffd18a; }
.services-page .cta .button-light:focus-visible { transform: none; transition: none; }
@media (hover:hover) and (pointer:fine) {
    .services-entry:hover { background: #eaf2f5; }
    .services-entry:hover h2 { text-decoration: underline; text-decoration-color: var(--services-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
    .services-entry:hover .services-entry-arrow { color: #002b46; background: var(--services-accent); transform: translate(2px,-2px); }
    .services-entry:focus-visible .services-entry-arrow { transform: none; }
    .services-page .cta .button-light:active:not(:focus-visible) { transform: scale(.98); }
}
@media (max-width:940px) {
    .services-entry { gap: 28px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) 32px; }
    .services-entry-arrow { width: 32px; height: 32px; }
}
@media (max-width:600px) {
    .services-page .page-hero { padding: 44px 0; }
    .services-page .page-hero h1 { font-size: 42px; }
    .services-page .services-catalog { padding: 32px 0 48px; }
    .services-entry { grid-template-columns: minmax(0,1fr) 32px; gap: 16px; padding: 24px 14px; }
    .services-entry h2 { grid-column: 1; grid-row: 1; }
    .services-entry-description { grid-column: 1 / -1; grid-row: 2; }
    .services-entry-arrow { grid-column: 2; grid-row: 1; }
    .services-entry-description p { font-size: 15px; }
    .services-page .article-hero { padding: 32px 0 40px; }
    .services-page .service-article-copy h1 { font-size: 36px; }
    .services-page .service-article-copy p { font-size: 16px; }
    .services-page .article-hero + .section { padding: 36px 0 48px; }
    .services-page .prose h2 { font-size: 27px; }
}
@media (prefers-reduced-motion:reduce) {
    .services-entry-arrow { transition: color 160ms ease, background-color 160ms ease; }
    .services-entry:hover .services-entry-arrow, .services-page .cta .button-light:active:not(:focus-visible) { transform: none; }
}
