/* ===========================================================
   SERVICE PAGE SYSTEM — vinitdeep.com
   Used by /services/*.html and the services catalogue.
   Extends css/style.css (brand tokens live there).
   =========================================================== */

/* The --sp-* surface tokens now live in css/style.css, so css/about.css can
   use the identical palette without pulling in this whole stylesheet. */

/* clip, not hidden: `hidden` would make <main> a scroll container and
   kill position:sticky on the service switcher. html/body already clip. */
.sp-main { overflow-x: hidden; overflow-x: clip; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.sp-crumb {
    padding: calc(var(--header-height) + 22px) 0 0;
    font-size: 13px;
    color: var(--sp-faint);
}
.sp-crumb a { color: var(--sp-faint); text-decoration: none; transition: color .2s ease; }
.sp-crumb a:hover { color: var(--color-red); }
.sp-crumb span { margin: 0 7px; opacity: .5; }
.sp-crumb strong { color: var(--sp-ink); font-weight: 500; }

/* ── Hero ─────────────────────────────────────────────────── */
.sp-hero { padding: 30px 0 64px; position: relative; }
.sp-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
}
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: .12em;
    background: var(--color-red-light);
    border: 1px solid rgba(220,20,60,.18);
    padding: 7px 15px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.sp-eyebrow i { width: 14px; height: 14px; }
.sp-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.028em;
    color: var(--sp-ink);
    margin-bottom: 20px;
}
.sp-hero h1 em { font-style: normal; color: var(--color-red); display: block; }
.sp-lede {
    font-size: 17px;
    line-height: 1.75;
    color: var(--sp-muted);
    max-width: 560px;
    margin-bottom: 26px;
}
.sp-hero-points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 11px; }
.sp-hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-gray-text);
}
.sp-hero-points i { color: var(--color-red); width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.sp-hero-btns { display: flex; gap: 13px; flex-wrap: wrap; }

/* Hero media */
.sp-hero-media { position: relative; }
.sp-hero-media img,
.sp-hero-media svg {
    width: 100%;
    display: block;
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-line);
    background: var(--sp-wash);
}
.sp-hero-badge {
    position: absolute;
    left: -16px;
    bottom: -16px;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    padding: 15px 19px;
    box-shadow: 0 14px 38px rgba(0,0,0,.09);
}
.sp-hero-badge strong { display: block; font-size: 25px; font-weight: 700; line-height: 1; color: var(--sp-ink); }
.sp-hero-badge strong span { color: var(--color-red); }
.sp-hero-badge em { font-style: normal; font-size: 12px; color: var(--sp-faint); }

/* ── Generic section header ───────────────────────────────── */
.sp-sec { padding: 76px 0; }
.sp-sec--wash { background: var(--sp-wash); border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
.sp-sec--dark { background: var(--color-near-black); }
.sp-head { max-width: 660px; margin-bottom: 44px; }
.sp-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.sp-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-red);
    margin-bottom: 12px;
}
.sp-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
    color: var(--sp-ink);
    margin-bottom: 14px;
}
.sp-head h2 span { color: var(--color-red); }
.sp-head p { font-size: 16px; line-height: 1.75; color: var(--sp-muted); }
.sp-sec--dark .sp-head h2 { color: #fff; }
.sp-sec--dark .sp-head p { color: rgba(255,255,255,.62); }

/* ── Pain points ──────────────────────────────────────────── */
.sp-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-pain {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 28px 26px 30px;
    position: relative;
}
.sp-pain::before {
    content: "";
    position: absolute;
    left: 26px; top: 0;
    width: 34px; height: 3px;
    background: var(--color-red);
    border-radius: 0 0 3px 3px;
}
.sp-pain h3 { font-size: 16.5px; font-weight: 650; margin: 10px 0 11px; color: var(--sp-ink); line-height: 1.35; }
.sp-pain p { font-size: 14.5px; line-height: 1.75; color: var(--sp-muted); }
.sp-pain i { color: var(--color-red); width: 20px; height: 20px; }

/* ── Deliverables ─────────────────────────────────────────── */
.sp-deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sp-line); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); overflow: hidden; }
.sp-deliver-item { background: #fff; padding: 30px 28px 32px; transition: background .25s ease; }
.sp-deliver-item:hover { background: var(--sp-wash); }
.sp-deliver-icon {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--color-red-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 17px;
}
.sp-deliver-icon i { color: var(--color-red); width: 20px; height: 20px; }
.sp-deliver-item h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; color: var(--sp-ink); }
.sp-deliver-item p { font-size: 14.5px; line-height: 1.75; color: var(--sp-muted); }

/* ── Included checklist ───────────────────────────────────── */
.sp-included-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.sp-included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 26px; }
.sp-included li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-gray-text);
    padding-bottom: 13px;
    border-bottom: 1px solid var(--sp-line);
}
.sp-included i { color: var(--color-red); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }

/* ── Process ──────────────────────────────────────────────── */
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.sp-step { position: relative; padding-top: 26px; }
.sp-step::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--sp-line);
}
.sp-step::after {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 34px; height: 2px; background: var(--color-red);
}
.sp-step-num {
    counter-increment: step;
    font-size: 12px; font-weight: 700; letter-spacing: .1em;
    color: var(--color-red); display: block; margin-bottom: 10px;
}
.sp-step-num::before { content: "0" counter(step); }
.sp-step h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; color: var(--sp-ink); }
.sp-step p { font-size: 14.5px; line-height: 1.72; color: var(--sp-muted); }

/* ── Gallery placeholders ─────────────────────────────────── */
.sp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-shot { border-radius: var(--sp-radius); overflow: hidden; border: 1px solid var(--sp-line); background: #fff; }
.sp-shot img, .sp-shot svg { width: 100%; display: block; }
.sp-shot figcaption { font-size: 13px; color: var(--sp-faint); padding: 13px 16px 15px; border-top: 1px solid var(--sp-line); }

/* ── Why / differentiators ────────────────────────────────── */
.sp-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 44px; }
.sp-why-item { display: flex; gap: 16px; }
.sp-why-item i { color: var(--color-red); width: 21px; height: 21px; flex-shrink: 0; margin-top: 3px; }
.sp-why-item h3 { font-size: 16px; font-weight: 650; margin-bottom: 9px; color: #fff; }
.sp-why-item p { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.62); }

/* ── Tool chips ───────────────────────────────────────────── */
.sp-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-tool {
    font-size: 13px; font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--sp-line);
    border-radius: 100px;
    background: #fff;
    color: var(--color-gray-text);
}
.sp-sec--dark .sp-tool { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }

/* ── Pricing tiers ────────────────────────────────────────── */
.sp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sp-tier {
    position: relative;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 32px 28px 34px;
    display: flex; flex-direction: column;
    transition: all .3s ease;
}
.sp-tier:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.sp-tier--featured { border-color: var(--color-red); box-shadow: 0 14px 40px rgba(220,20,60,.12); }
.sp-tier-tag {
    position: absolute; top: -12px; left: 28px;
    background: var(--color-red); color: #fff;
    font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px;
}
.sp-tier h3 { font-size: 19px; font-weight: 700; color: var(--sp-ink); margin-bottom: 7px; }
.sp-tier-best { font-size: 13.5px; color: var(--sp-faint); margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--sp-line); }
.sp-tier ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; }
.sp-tier li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.6; color: var(--color-gray-text); }
.sp-tier li i { color: var(--color-red); width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; }
.sp-tier .btn { width: 100%; }
.sp-tier-note { text-align: center; font-size: 14px; color: var(--sp-faint); margin-top: 30px; }

/* ── Outcomes strip ───────────────────────────────────────── */
.sp-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--sp-radius); overflow: hidden; }
.sp-outcome { background: var(--color-near-black); padding: 26px 24px; }
.sp-outcome i { color: var(--color-red); width: 19px; height: 19px; margin-bottom: 12px; }
.sp-outcome p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); font-weight: 500; }

/* ── FAQ ──────────────────────────────────────────────────── */
.sp-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--sp-line); }
.sp-faq-item { border-bottom: 1px solid var(--sp-line); }
.sp-faq-q {
    width: 100%;
    background: none; border: none;
    font-family: inherit;
    text-align: left;
    padding: 24px 44px 24px 0;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
    position: relative;
    line-height: 1.45;
}
.sp-faq-q::after {
    content: "+";
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; font-weight: 400;
    color: var(--color-red);
    transition: transform .3s ease;
}
.sp-faq-item.is-open .sp-faq-q::after { content: "−"; }
.sp-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.sp-faq-a p { font-size: 15px; line-height: 1.8; color: var(--sp-muted); padding: 0 40px 26px 0; }

/* ── Related services ─────────────────────────────────────── */
.sp-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sp-related a {
    display: block;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    padding: 22px 22px 24px;
    text-decoration: none;
    transition: all .25s ease;
}
.sp-related a:hover { border-color: var(--color-red); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.sp-related i { color: var(--color-red); width: 20px; height: 20px; margin-bottom: 13px; }
.sp-related h3 { font-size: 15px; font-weight: 650; color: var(--sp-ink); margin-bottom: 6px; line-height: 1.35; }
.sp-related p { font-size: 13px; color: var(--sp-faint); }

/* ── CTA ──────────────────────────────────────────────────── */
.sp-cta { background: var(--color-near-black); padding: 84px 0; text-align: center; }
.sp-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #fff; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.sp-cta h2 span { color: var(--color-red); }
.sp-cta p { font-size: 16.5px; color: rgba(255,255,255,.62); max-width: 540px; margin: 0 auto 32px; line-height: 1.75; }
.sp-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.sp-cta-meta { font-size: 14px; color: rgba(255,255,255,.45); }
.sp-cta-meta a { color: rgba(255,255,255,.75); text-decoration: none; }
.sp-cta-meta a:hover { color: var(--color-red); }

/* ── Catalogue (services.html) ────────────────────────────── */
.sp-cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.sp-cat-pill {
    padding: 9px 20px; border-radius: 100px;
    border: 1px solid var(--sp-line); background: #fff;
    font-size: 14px; font-weight: 600; color: var(--color-gray-text);
    text-decoration: none; transition: all .22s ease;
}
.sp-cat-pill:hover { background: var(--color-red); border-color: var(--color-red); color: #fff; }
.sp-cat-block { margin-bottom: 64px; scroll-margin-top: 90px; }
.sp-cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--sp-ink); }
.sp-cat-head h2 { font-size: 24px; font-weight: 700; color: var(--sp-ink); letter-spacing: -.015em; }
.sp-cat-head span { font-size: 13px; color: var(--sp-faint); margin-left: auto; }
.sp-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp-cat-card {
    display: flex; gap: 14px;
    background: #fff; border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm);
    padding: 20px 20px 22px;
    text-decoration: none;
    transition: all .25s ease;
}
.sp-cat-card:hover { border-color: var(--color-red); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.07); }
.sp-cat-card i { color: var(--color-red); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.sp-cat-card h3 { font-size: 15px; font-weight: 650; color: var(--sp-ink); margin-bottom: 5px; line-height: 1.35; }
.sp-cat-card p { font-size: 13px; line-height: 1.55; color: var(--sp-faint); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-hero-media { max-width: 560px; }
    .sp-pains, .sp-deliver, .sp-gallery, .sp-tiers, .sp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-steps, .sp-related, .sp-outcomes { grid-template-columns: repeat(2, 1fr); }
    .sp-included-wrap { grid-template-columns: 1fr; gap: 34px; }
    .sp-why { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sp-sec { padding: 56px 0; }
    .sp-hero { padding: 22px 0 48px; }
    .sp-pains, .sp-deliver, .sp-gallery, .sp-tiers, .sp-steps, .sp-related, .sp-outcomes, .sp-included, .sp-cat-grid { grid-template-columns: 1fr; }
    .sp-hero-badge { left: 12px; bottom: -14px; padding: 12px 16px; }
    .sp-hero-btns .btn, .sp-cta-btns .btn { width: 100%; }
    .sp-cat-head { flex-wrap: wrap; }
    .sp-cat-head span { margin-left: 0; width: 100%; }
}

/* ===========================================================
   CATEGORY PAGES — /services/<category>
   Numbered service entries: title → image → ~200 word write-up
   =========================================================== */

/* Jump nav */
.cat-jump {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--sp-line);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    overflow: hidden;
}
.cat-jump a {
    background: #fff;
    padding: 18px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background .22s ease;
}
.cat-jump a:hover { background: var(--sp-wash); }
.cat-jump-num {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    color: var(--color-red);
    flex-shrink: 0;
}
.cat-jump span.t { font-size: 14.5px; font-weight: 600; color: var(--sp-ink); line-height: 1.35; }

/* Service entry */
.cat-entry {
    padding: 72px 0;
    border-bottom: 1px solid var(--sp-line);
    scroll-margin-top: 124px;
}
.cat-entry:nth-child(even) { background: var(--sp-wash); }
.cat-entry:last-child { border-bottom: 0; }

.cat-entry-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}
.cat-entry-index {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 13px;
    background: var(--color-red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
    letter-spacing: -.01em;
}
.cat-entry-title { flex: 1; }
.cat-entry-title h2 {
    font-size: clamp(1.45rem, 2.9vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -.022em;
    line-height: 1.2;
    color: var(--sp-ink);
    margin-bottom: 8px;
}
.cat-entry-kicker {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    font-size: 12.5px; color: var(--sp-faint);
}
.cat-entry-kicker i { color: var(--color-red); width: 14px; height: 14px; }
.cat-entry-kicker b { font-weight: 600; color: var(--color-gray-text); }

/* Image placeholder band */
.cat-entry-media {
    border-radius: var(--sp-radius);
    overflow: hidden;
    border: 1px solid var(--sp-line);
    margin-bottom: 30px;
    background: var(--sp-wash);
}
.cat-entry-media img { width: 100%; display: block; }
.cat-entry-media figcaption {
    font-size: 12.5px;
    color: var(--sp-faint);
    padding: 11px 18px 13px;
    border-top: 1px solid var(--sp-line);
    background: #fff;
}

/* Write-up */
.cat-entry-copy { max-width: 760px; }
.cat-entry-copy p {
    font-size: 16px;
    line-height: 1.82;
    color: var(--sp-muted);
    margin-bottom: 18px;
}
.cat-entry-copy p:first-child { color: var(--color-gray-text); font-size: 16.5px; }
.cat-entry-copy p:last-child { margin-bottom: 0; }

.cat-entry-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--sp-line);
}
.cat-entry-foot .btn { padding: 11px 24px; font-size: 14.5px; min-height: 40px; }
.cat-entry-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.cat-entry-tools span {
    font-size: 12px; padding: 5px 12px;
    border: 1px solid var(--sp-line); border-radius: 100px;
    background: #fff; color: var(--sp-faint);
}
.cat-entry:nth-child(even) .cat-entry-media figcaption,
.cat-entry:nth-child(even) .cat-entry-tools span { background: #fff; }

/* Other categories strip */
.cat-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-others a {
    display: block; text-decoration: none; text-align: center;
    background: #fff; border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-sm); padding: 24px 16px 26px;
    transition: all .25s ease;
}
.cat-others a:hover { border-color: var(--color-red); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.cat-others i { color: var(--color-red); width: 22px; height: 22px; margin-bottom: 12px; }
.cat-others h3 { font-size: 14.5px; font-weight: 650; color: var(--sp-ink); margin-bottom: 5px; line-height: 1.35; }
.cat-others p { font-size: 12px; color: var(--sp-faint); }

@media (max-width: 1024px) {
    .cat-others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .cat-entry { padding: 48px 0; }
    .cat-entry-head { gap: 14px; }
    .cat-entry-index { width: 42px; height: 42px; font-size: 15px; border-radius: 11px; }
    .cat-others { grid-template-columns: repeat(2, 1fr); }
    .cat-entry-tools { margin-left: 0; width: 100%; }
    .cat-entry-foot .btn { width: 100%; }
}

/* ===========================
   SERVICE SWITCHER
   Sticky bar of real links to every service in the category.
   js/service-switch.js swaps the page under it without a reload.
=========================== */
.svc-switch-wrap {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--sp-line);
    margin-bottom: 8px;
}

.svc-switch {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
    scroll-snap-type: x proximity;
}
.svc-switch::-webkit-scrollbar { display: none; }

.svc-switch a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--sp-line);
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.svc-switch a:hover {
    background: var(--sp-wash);
    border-color: #D4D4D4;
}

.svc-switch-num {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--color-red);
    flex-shrink: 0;
}
.svc-switch span.t {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sp-ink);
    line-height: 1;
}

/* Active service */
.svc-switch a[aria-current="page"] {
    background: var(--color-red);
    border-color: var(--color-red);
}
.svc-switch a[aria-current="page"]:hover { background: var(--color-red-hover); }
.svc-switch a[aria-current="page"] .svc-switch-num,
.svc-switch a[aria-current="page"] span.t { color: #fff; }

/* Fades at the scroll edges so it reads as scrollable */
.svc-switch-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 1px;
    width: 40px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95));
}

/* Content swap */
.sp-main { transition: opacity .18s ease; }
.sp-main.is-swapping { opacity: .45; }

@media (max-width: 768px) {
    .svc-switch { padding: 8px 0; }
    .svc-switch a { padding: 8px 13px; }
    .svc-switch span.t { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-main { transition: none; }
}

/* ===========================
   IMAGE SIZE CAPS
   The 3:2 service photos replaced 1600x620 banner placeholders, so at
   full column width they ran ~745px tall. Cap the width instead of
   cropping: some images carry text and mockups that must stay whole.
=========================== */
.cat-entry-media { max-width: 720px; }
.sp-gallery[style*="grid-template-columns:1fr"] { max-width: 560px !important; }
