/* Services page — premium redesign. Prefix: sv-. Loads after site.css + inner.css. */
:root { --navy-deep: #0d1245; --gold-lt: #e3bd78; --gold-hi: #f1d595; }

/* Shared bits */
.sv-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.2rem; }
.sv-eyebrow i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lt)); }
.sv-eyebrow-dark { color: var(--gold); }
.sv-eyebrow-dark i { background: linear-gradient(90deg, transparent, var(--gold)); }
.sv-btn { display: inline-flex; align-items: center; gap: .65rem; padding: 1rem 1.9rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.sv-btn:hover { transform: translateY(-2px); }
.sv-btn-gold { background: linear-gradient(135deg, var(--gold-hi), #c9964a); color: var(--ink); box-shadow: 0 14px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sv-btn-gold:hover { box-shadow: 0 18px 38px rgba(201, 150, 74, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sv-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.sv-btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }

/* Hero */
.sv-hero { position: relative; max-width: 100vw; padding: 0 0 2.5rem; color: #fff; overflow: visible; z-index: 2; background: linear-gradient(155deg, var(--navy-deep) 0%, #1b2670 48%, #28388f 100%); }
.sv-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .55), transparent 60%), radial-gradient(1px 1px at 70% 18%, rgba(255, 255, 255, .45), transparent 60%), radial-gradient(1.5px 1.5px at 88% 62%, rgba(227, 189, 120, .7), transparent 60%), radial-gradient(1px 1px at 8% 78%, rgba(255, 255, 255, .4), transparent 60%), radial-gradient(1px 1px at 46% 88%, rgba(227, 189, 120, .5), transparent 60%); pointer-events: none; }
.sv-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-lt) 20%, var(--gold) 50%, var(--gold-lt) 80%, transparent); }
.sv-glow { position: absolute; right: -12%; top: -18%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 99, 196, .55), transparent 68%); pointer-events: none; }
.sv-hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; align-items: center; padding-block: 3rem 3.5rem; }
.sv-crumbs { display: flex; gap: .55rem; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 2.2rem; }
.sv-crumbs a:hover { color: #fff; }
.sv-crumbs [aria-current] { color: var(--gold-lt); font-weight: 600; }
.sv-copy h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4rem); line-height: 1.06; letter-spacing: -.015em; font-weight: 500; margin-bottom: 1.4rem; }
.sv-copy h1 em { color: var(--gold-lt); font-style: italic; background: linear-gradient(135deg, var(--gold-hi), #c9964a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sv-lead { max-width: 33rem; color: rgba(255, 255, 255, .8); font-size: var(--fs-sub); line-height: 1.75; margin-bottom: 2.2rem; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }
.sv-trust { display: flex; flex-wrap: wrap; gap: 0; }
.sv-trust li { padding-right: 2rem; margin-right: 2rem; border-right: 1px solid rgba(255, 255, 255, .18); }
.sv-trust li:last-child { border: 0; margin: 0; padding: 0; }
.sv-trust strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--gold-hi); }
.sv-trust span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* Orbit visual */
.sv-orbit { position: relative; justify-self: end; width: min(100%, 500px); aspect-ratio: 1; }
.sv-orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sv-spin 90s linear infinite; }
.sv-core { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)); border: 1px solid rgba(227, 189, 120, .55); box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 24px 60px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); }
.sv-core strong { font-family: var(--font-head); font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); line-height: 1; color: var(--gold-hi); font-weight: 600; }
.sv-core span { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-top: .35rem; }
.sv-node { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--navy-deep); font-size: 1.45rem; background: linear-gradient(145deg, #fff, #dde6f7); box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 0 5px rgba(255, 255, 255, .1); animation: sv-bob 6s ease-in-out infinite; }
.sv-node .icon { width: 1em; height: 1em; }
.n1 { left: 47%; top: 1%; } .n2 { right: 5%; top: 26%; animation-delay: -1.2s; } .n3 { right: 15%; bottom: 8%; animation-delay: -2.4s; } .n4 { left: 14%; bottom: 8%; animation-delay: -3.6s; } .n5 { left: 3%; top: 26%; animation-delay: -4.8s; }
.sv-float { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .75rem 1.1rem .75rem .8rem; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.sv-float > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--purple), var(--purple-soft)); color: #fff; font-size: 1.1rem; }
.sv-float strong { display: block; font-size: .92rem; line-height: 1.2; }
.sv-float small { color: var(--muted); font-size: .76rem; }
.f1 { left: -4%; top: 52%; } .f2 { right: -2%; bottom: 36%; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
@keyframes sv-bob { 50% { transform: translateY(-8px); } }

/* Category tiles overlapping hero */
.sv-cats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 -5rem; }
.sv-cats a { position: relative; display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1.4rem 1.3rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(13, 18, 69, .16); overflow: hidden; transition: transform .35s var(--ease, ease), box-shadow .35s, border-color .35s; }
.sv-cats a::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-lt), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.sv-cats a:hover { transform: translateY(-6px); border-color: #c3d0ee; box-shadow: 0 28px 60px rgba(40, 56, 143, .26); }
.sv-cats a:hover::before { transform: scaleX(1); }
.sv-cat-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: .7rem; border-radius: 15px; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-soft)); box-shadow: 0 10px 20px rgba(40, 56, 143, .28); transition: transform .35s; }
.sv-cats a:hover .sv-cat-ico { transform: rotate(-6deg) scale(1.08); }
.sv-cats strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.sv-cats small { color: var(--muted); font-size: .84rem; }
.sv-cats i { position: absolute; right: 1.1rem; top: 1.3rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eff3fc; color: var(--purple); font-size: .8rem; transition: background .3s, color .3s, transform .3s; }
.sv-cats a:hover i { background: var(--purple); color: #fff; transform: rotate(-45deg); }

/* Listing */
.sv-list { position: relative; padding-block: 5rem 6rem; background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); overflow: hidden; }
.sv-head { text-align: center; max-width: 42rem; margin: 0 auto 2.6rem; }
.sv-head h2 { font-size: var(--fs-h2); font-weight: 600; margin-bottom: .7rem; }
.sv-head p { color: var(--muted); font-size: var(--fs-sub); margin: 0; }
.sv-bar { position: sticky; top: 96px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem .8rem .7rem 1rem; margin-bottom: 1.2rem; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 32px rgba(40, 56, 143, .1); }
.sv-tabs { margin: 0; gap: .4rem; justify-content: flex-start; }
.sv-tabs button { display: inline-flex; align-items: center; gap: .5rem; border: 0; background: transparent; padding: .55rem 1.1rem; font-size: .88rem; border-radius: 999px; }
.sv-tabs button b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #eff3fc; color: var(--purple); transition: background .25s, color .25s; }
.sv-tabs button:hover { background: #eff3fc; color: var(--purple); }
.sv-tabs button.active { background: linear-gradient(135deg, var(--purple), var(--purple-soft)); color: #fff; box-shadow: 0 8px 20px rgba(40, 56, 143, .3); }
.sv-tabs button.active b { background: rgba(255, 255, 255, .22); color: #fff; }
.sv-search { position: relative; display: flex; align-items: center; }
.sv-search .icon { position: absolute; left: 1rem; color: var(--muted); pointer-events: none; }
.sv-search input { width: 250px; padding: .65rem 1rem .65rem 2.6rem; font: inherit; font-size: .9rem; color: var(--ink); background: #f5f8fd; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, box-shadow .25s, background .25s; }
.sv-search input:focus { outline: 0; background: #fff; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(40, 56, 143, .12); }
.sv-count { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.sv-count span { color: var(--purple); font-weight: 600; }

.sv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.sv-card { position: relative; display: flex; flex-direction: column; padding: 0; background: #fff; border: 1px solid #e3e8f5; border-radius: 18px; box-shadow: 0 8px 24px rgba(40, 56, 143, .07); overflow: hidden; transition: transform .35s var(--ease, ease), box-shadow .35s, border-color .35s; }
.sv-card[hidden] { display: none; }
.sv-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px 200px at 100% 0%, rgba(74, 99, 196, .12), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.sv-card::after { content: ''; position: absolute; left: 1.8rem; right: 1.8rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--gold-lt), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.sv-card:hover { transform: translateY(-8px); border-color: #c3d0ee; box-shadow: 0 30px 60px rgba(40, 56, 143, .2); }
.sv-card:hover::before { opacity: 1; }
.sv-media { position: relative; aspect-ratio: 16 / 9; }
.sv-pic { position: absolute; inset: 0; overflow: hidden; background: #1b2670; }
.sv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease, ease); }
.sv-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 18, 69, .35) 0%, rgba(13, 18, 69, 0) 38%, rgba(13, 18, 69, .25) 100%); pointer-events: none; }
.sv-card:hover .sv-media img { transform: scale(1.07); }
.sv-media .sv-tag { position: absolute; z-index: 2; left: .7rem; top: .7rem; font-size: .6rem; padding: .25rem .6rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border-color: transparent; }
.sv-media .sv-ico { position: absolute; z-index: 2; left: 1.2rem; bottom: -22px; width: 44px; height: 44px; border-radius: 14px; font-size: 1.2rem; background: #fff; box-shadow: 0 10px 24px rgba(21, 26, 79, .22), inset 0 0 0 1px #d4ddf2; }
.sv-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.9rem 1.3rem 1.2rem; }
.sv-card:hover::after { transform: scaleX(1); }
.sv-card-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.4rem; }
.sv-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; font-size: 1.5rem; color: var(--purple); background: linear-gradient(145deg, #f1f4fc, #dde6f7); box-shadow: inset 0 0 0 1px #d4ddf2; transition: background .35s, color .35s, transform .35s, box-shadow .35s; }
.sv-card:hover .sv-ico { background: linear-gradient(135deg, var(--purple), var(--purple-soft)); color: #fff; transform: rotate(-6deg) scale(1.06); box-shadow: 0 12px 24px rgba(40, 56, 143, .3); }
.sv-tag { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: #fdf7ea; border: 1px solid #f0e0bd; padding: .32rem .75rem; border-radius: 999px; }
.sv-card h3 { position: relative; font-size: 1.08rem; font-weight: 600; line-height: 1.25; margin-bottom: .4rem; }
.sv-card p { position: relative; color: var(--muted); font-size: .875rem; line-height: 1.55; margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-more { position: relative; display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid #eceff9; font-size: .84rem; font-weight: 600; color: var(--purple); }
.sv-more span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eff3fc; font-size: .8rem; transition: background .3s, color .3s, transform .3s; }
.sv-card:hover .sv-more span { background: var(--purple); color: #fff; transform: translateX(4px); }
.sv-empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.sv-empty button { background: none; border: 0; color: var(--purple); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* CTA */
.sv-cta { position: relative; padding: 5rem 0; color: #fff; background: radial-gradient(700px 320px at 90% 0%, rgba(110, 140, 230, .4), transparent 70%), linear-gradient(120deg, var(--navy-deep), #1b2670 55%, #28388f); overflow: hidden; }
.sv-cta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-lt) 20%, var(--gold) 50%, var(--gold-lt) 80%, transparent); }
.sv-cta::after { content: ''; position: absolute; right: -90px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(227, 189, 120, .3); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 90px rgba(255, 255, 255, .02); pointer-events: none; }
.sv-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.sv-cta h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.12; font-weight: 600; max-width: 34rem; margin-bottom: .8rem; }
.sv-cta h2 em { color: var(--gold-lt); font-style: italic; }
.sv-cta p { max-width: 36rem; color: rgba(255, 255, 255, .8); font-size: var(--fs-sub); margin: 0; }
.sv-cta .sv-btn { position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 1100px) {
    .sv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
@media (max-width: 1240px) { .sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .sv-hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 2rem 2rem; }
    .sv-orbit { justify-self: center; width: min(100%, 420px); }
    .sv-bar { position: static; border-radius: 24px; }
    .sv-search, .sv-search input { width: 100%; }
}
@media (max-width: 640px) {
        .sv-orbit { width: min(100%, 340px); }
    .sv-node { width: 46px; height: 46px; font-size: 1.15rem; }
    .sv-float { display: none; }
    .sv-actions .sv-btn { flex: 1 1 100%; justify-content: center; }
    .sv-trust li { padding-right: 1.1rem; margin-right: 1.1rem; }
    .sv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-cats li:last-child { grid-column: 1 / -1; }
    .sv-list { padding-bottom: 4rem; }
    .sv-grid { grid-template-columns: minmax(0, 1fr); }
    .sv-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .2rem; scrollbar-width: none; } .sv-tabs button { white-space: nowrap; }
    .sv-cta { padding: 3.5rem 0; } .sv-cta .sv-btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
    /* Compact horizontal cards: thumbnail left, text right */
    .sv-grid { gap: .8rem; }
    .sv-card { flex-direction: row; align-items: stretch; border-radius: 16px; }
    .sv-card:hover { transform: none; }
    .sv-media { flex: none; width: 112px; aspect-ratio: auto; }
    .sv-pic { border-radius: 16px 0 0 16px; }
    .sv-media .sv-ico { display: none; }
    .sv-media .sv-tag { display: none; }
    .sv-body { padding: .9rem 1rem .8rem; }
    .sv-card h3 { font-size: 1rem; margin-bottom: .25rem; }
    .sv-card p { -webkit-line-clamp: 2; margin-bottom: .6rem; font-size: .83rem; }
    .sv-more { padding-top: .55rem; font-size: .8rem; }
    .sv-card::after { left: 112px; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .sv-orbit > svg, .sv-node { animation: none; } }

.sv-hero-in > *, .sv-bar > * { min-width: 0; }
.sv-hero { overflow-x: clip; }

/* Services hero: compact, with category tiles instead of the orbit */
.sv-mosaic { justify-self: end; width: min(100%, 470px); display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1.3rem; background: #fff; border: 1px solid #e3e8f5; border-radius: 26px; box-shadow: 0 24px 60px rgba(40, 56, 143, .12); }
.sv-mosaic-title { grid-column: 1 / -1; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: .1rem .3rem .2rem; }
.sv-tile { position: relative; display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; background: #f8faff; border: 1px solid #e3e8f5; border-radius: 16px; transition: transform .3s, box-shadow .3s, border-color .3s, background .3s; }
.sv-tile:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
.sv-tile:hover { transform: translateY(-3px); background: #fff; border-color: #c3d0ee; box-shadow: 0 14px 32px rgba(40, 56, 143, .13); }
.sv-tile-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; font-size: 1.2rem; color: var(--purple); background: #fff; box-shadow: inset 0 0 0 1px #d9e2f5; transition: background .3s, color .3s; }
.sv-tile:hover .sv-tile-ico { color: #fff; background: var(--purple); box-shadow: none; }
.sv-tile-txt { min-width: 0; line-height: 1.25; }
.sv-tile strong { display: block; font-size: .95rem; color: var(--ink); }
.sv-tile small { font-size: .8rem; color: var(--muted); }
.sv-tile i { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; color: var(--purple); background: #eff3fc; transition: transform .3s; }
.sv-tile:hover i { transform: rotate(-45deg); }
@media (max-width: 960px) { .sv-mosaic { justify-self: stretch; width: 100%; } }
@media (max-width: 520px) { .sv-mosaic { grid-template-columns: minmax(0, 1fr); } .sv-tile:last-of-type:nth-of-type(odd) { grid-column: auto; } }

/* Orbit centre: logo in a white disc */
.sv-core .sv-core-logo { display: grid; place-items: center; width: 68%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 4px rgba(227, 189, 120, .45); }
.sv-core .sv-core-logo img { width: 62%; height: auto; display: block; }
