/* ===== Concept C v5 (2026-11-23): clearer Services page, back-to-top, distinct footer ===== */
/* services head: audience cards */
.page-head .aud-intro { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: .95rem; margin-top: 6px; }
.aud-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aud-cards li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 18px; display: grid; gap: 6px; box-shadow: 0 10px 28px rgba(27,20,100,.06); }
.aud-cards .ai { width: 44px; height: 44px; border-radius: 12px; background: #EEF6FC; color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.aud-cards .ai svg { width: 24px; height: 24px; }
.aud-cards strong { font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; }
.aud-cards li > span:last-child { color: var(--muted); font-size: .9rem; }
.page-head .lead.one-line { max-width: none; margin-top: 8px; }
.svc-jump { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-top: 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; }
.svc-grid a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.3; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc-grid a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,20,100,.08); }
.svc-grid .si { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #EEF6FC; color: var(--blue); display: grid; place-items: center; }
.svc-grid .si svg { width: 19px; height: 19px; }
@media (max-width: 980px) { .aud-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aud-cards { gap: 10px; } .aud-cards li { padding: 16px; } .aud-cards strong { font-size: 1rem; } }

/* each service is its own card; cards alternate colour so you always know where one ends */
.svc-detail { display: block !important; padding: clamp(26px, 3.5vw, 44px) !important; border: 1px solid var(--line) !important; border-radius: 24px; background: #FFFFFF; box-shadow: 0 14px 36px rgba(27,20,100,.06); margin-bottom: 22px; scroll-margin-top: 100px; }
.svc-detail:nth-of-type(even) { background: #EEF6FC; border-color: #EEF6FC !important; box-shadow: none; }
.svc-group .svc-detail:nth-of-type(odd) { background: #FFFFFF; }
.svc-group .svc-detail:nth-of-type(even) { background: #EEF6FC; }
.svc-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.svc-top .icon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; }
.svc-top .icon svg { width: 28px; height: 28px; }
.svc-top h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; }
.svc-top .for { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.svc-detail .body { gap: 18px; }
.svc-detail .body > p { max-width: 78ch; line-height: 1.7; }
.svc-detail .checklist { gap: 12px 40px; }
.svc-detail .checklist li { line-height: 1.5; }
@media (max-width: 600px) { .svc-top { align-items: flex-start; } .svc-top .icon { width: 46px; height: 46px; } .svc-top .icon svg { width: 24px; height: 24px; } }

/* back to top */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; background: var(--navy); box-shadow: 0 12px 28px rgba(27,20,100,.28); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* footer: a clear end to the page */
.site-footer { background: #D9E9F5 !important; border-top: 1px solid #D9E9F5; margin-top: clamp(24px, 3vw, 48px); padding-top: 56px; }
.foot-bottom { border-top-color: #D9E9F5 !important; }
.aud-cards li { align-content: start; }
body.hc-top .page-head:has(.svc-grid) { padding-bottom: clamp(32px, 4vw, 56px); }
.page-head:has(.svc-grid) + section { padding-top: clamp(16px, 2vw, 32px); }
@media (max-width: 600px) { .svc-detail { padding: 22px 18px !important; border-radius: 20px; } }
