/* ================================================================
   Service pages — home-page palette refresh
   Loaded last on single service pages, after service-minimal.css
   and the shared showcase sheets (_why-showcase, _section-showcase).

   - White text on orange; highlighted heading words in orange text
   - Challenge & Solution: black "problem" side, orange "solution" side
   - What's Included: solid orange chips, outlined numbers
   - Industries: the home-page card look, numbered with a counter
   - Our Work: warm placeholders, home-style cards
   - FAQ: padded answers, orange open state, phone layout
   - Closing CTA: the home-page orange card
   ================================================================ */

body.single-service {
    --on-brand: #FFFFFF;
    --hl-bg:    linear-gradient(100deg, #FF6D2E 0%, #FF8D5C 100%);
    --hl-clip:  text;
    --hl-fill:  transparent;
}
/* The light bands in the service skin set the marker stroke again */
body.single-service :is(.svc-benefits, .svc-testi) {
    --hl-bg:   linear-gradient(100deg, #FF6D2E 0%, #FF8D5C 100%);
    --hl-clip: text;
    --hl-fill: transparent;
}

/* ── Challenge & Solution ─────────────────────────────────────── */
/* Problems in black, solutions in orange: the colour tells the story */
main.single-service .svc-ps__panel--problem {
    --ps:      #111111;
    --ps-rgb:  17, 17, 17;
    --ps-grad: linear-gradient(140deg, #2A2A2A, #000000);
    background: linear-gradient(180deg, #F6F6F6 0%, #FFFFFF 100%);
    border-color: rgba(0,0,0,.08);
}
main.single-service .svc-ps__panel--solution {
    background: linear-gradient(180deg, #FFF3EC 0%, #FFFFFF 100%);
    border-color: rgba(255,109,46,.22);
}
main.single-service .svc-ps-row {
    border-color: rgba(0,0,0,.05);
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 24px -18px rgba(0,0,0,.25);
}
main.single-service .svc-ps__panel--solution .svc-ps-row:hover {
    border-color: rgba(255,109,46,.35);
}
main.single-service .svc-ps-row__icon { color: #fff; border-radius: 14px; }
main.single-service .svc-ps__panel--problem .svc-ps-row__mark { background: rgba(0,0,0,.06); color: #111; }
main.single-service .svc-ps__panel--solution .svc-ps-row__mark { background: #FF6D2E; color: #fff; }
main.single-service .svc-ps__pill { color: #fff; }
main.single-service .svc-ps__label-chip { color: #fff; }
main.single-service .svc-ps__hub-disc {
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(140deg, #111 0%, #111 45%, #FF6D2E 55%, #FF8D5C 100%);
}
main.single-service .svc-ps__hub-icon { color: #FF6D2E; }

/* ── What's Included ──────────────────────────────────────────── */
main.single-service .svc-inc {
    background:
        radial-gradient(38rem 24rem at 100% 0%, rgba(255,109,46,.10), transparent 70%),
        #FFF8F4;
}
main.single-service .svc-inc-card {
    --accent: #FF6D2E;
    --accent-rgb: 255, 109, 46;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 32px -20px rgba(0,0,0,.22);
}
main.single-service .svc-inc-card:hover {
    border-color: rgba(255,109,46,.3);
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 26px 44px -22px rgba(255,109,46,.55);
}
main.single-service .svc-inc-card__icon {
    background: linear-gradient(65deg, #FF6D2E 0%, #FF8D5C 100%);
    border: 0;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 22px -10px rgba(255,109,46,.75);
}
/* Outlined number, filled on hover — as on the home Industries cards */
main.single-service .svc-inc-card__num {
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255,109,46,.45);
}
main.single-service .svc-inc-card:hover .svc-inc-card__num {
    color: #FF6D2E;
    -webkit-text-stroke-color: #FF6D2E;
}

/* ── Industries: the home-page card look ──────────────────────── */
main.single-service .svc-ind {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(38rem 26rem at 100% 0%, rgba(255,109,46,.18), transparent 70%),
        radial-gradient(32rem 24rem at 0% 100%, rgba(255,109,46,.15), transparent 70%),
        #FFFFFF;
}
main.single-service .svc-ind::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(rgba(255,109,46,.3) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 62%, #000 10%, transparent 75%);
            mask-image: radial-gradient(ellipse 60% 55% at 50% 62%, #000 10%, transparent 75%);
    pointer-events: none;
}
main.single-service .svc-ind__grid { counter-reset: svc-ind; }
main.single-service .svc-ind-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    counter-increment: svc-ind;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    padding: 1.75rem 1.5rem 1.6rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 32px -20px rgba(0,0,0,.22);
}
/* Warm corner glow */
main.single-service .svc-ind-card::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,109,46,.16), transparent 70%);
    z-index: -1;
    transition: transform var(--transition-slow);
}
/* Outlined number from a counter, top-right */
main.single-service .svc-ind-card::after {
    content: counter(svc-ind, decimal-leading-zero);
    position: absolute;
    top: 1.25rem; right: 1.4rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255,109,46,.45);
    transition: color var(--transition), -webkit-text-stroke-color var(--transition);
}
main.single-service .svc-ind-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,109,46,.3);
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 26px 44px -22px rgba(255,109,46,.55);
}
main.single-service .svc-ind-card:hover::before { transform: scale(1.7); }
main.single-service .svc-ind-card:hover::after { color: #FF6D2E; -webkit-text-stroke-color: #FF6D2E; }
main.single-service .svc-ind-card__icon,
main.single-service .svc-ind-card:hover .svc-ind-card__icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(65deg, #FF6D2E 0%, #FF8D5C 100%);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(255,109,46,.75);
    margin-bottom: 1.25rem;
}
main.single-service .svc-ind-card:hover .svc-ind-card__icon { transform: rotate(-6deg) scale(1.05); }
main.single-service .svc-ind-card__icon img { filter: brightness(0) invert(1); }
main.single-service .svc-ind-card__title { font-size: 1.0625rem; }

@media (max-width: 760px) {
    main.single-service .svc-ind-card { padding: 1.4rem 1.25rem 1.3rem; }
    main.single-service .svc-ind-card::after { font-size: 1.4rem; top: 1rem; right: 1.1rem; }
}
@media (max-width: 430px) {
    /* One compact row per industry: icon beside the text */
    main.single-service .svc-ind__grid { gap: .75rem; }
    main.single-service .svc-ind-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
        align-items: center;
        padding: 1rem 2.75rem 1rem 1rem;
        border-radius: 16px;
    }
    main.single-service .svc-ind-card__icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 0; }
    main.single-service .svc-ind-card__title { font-size: .9375rem; margin-bottom: .15rem; align-self: end; }
    main.single-service .svc-ind-card__desc { font-size: .8125rem; line-height: 1.45; align-self: start; }
    main.single-service .svc-ind-card::after { top: 50%; right: 1rem; transform: translateY(-50%); font-size: 1.25rem; }
}

/* ── Our Work ─────────────────────────────────────────────────── */
main.single-service .svc-port__filter-btn {
    border-color: rgba(0,0,0,.1);
    color: #333;
    background: #fff;
}
main.single-service .svc-port__filter-btn:hover { border-color: #FF6D2E; color: #000; }
main.single-service .svc-port__filter-btn.is-active {
    background: #FF6D2E;
    border-color: #FF6D2E;
    color: #fff;
}
main.single-service .svc-port-card {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 32px -20px rgba(0,0,0,.22);
}
main.single-service .svc-port-card:hover {
    border-color: rgba(255,109,46,.3);
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 26px 44px -22px rgba(255,109,46,.55);
}
/* Until a project image is uploaded: a warm gradient with a soft dot field */
main.single-service .svc-port-card__ph {
    color: rgba(255,109,46,.55);
    background:
        radial-gradient(rgba(255,109,46,.18) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
        radial-gradient(70% 70% at 80% 10%, #FFD9C7 0%, transparent 70%),
        linear-gradient(150deg, #FFF3EC 0%, #FFE3D6 100%);
}
main.single-service .svc-port-card__cat {
    background: #000;
    color: #fff;
}
main.single-service .svc-port-card__result { color: #E85A1C; }

/* ── Client Stories (home section) on a service page ──────────── */
main.single-service .stories { --color-dark: #000; background:
    radial-gradient(40rem 28rem at 0% 0%, rgba(255,109,46,.12), transparent 70%),
    #FFF6F1; }

/* ── FAQ ──────────────────────────────────────────────────────── */
main.single-service .svc-faq {
    background:
        radial-gradient(36rem 24rem at 0% 0%, rgba(255,109,46,.10), transparent 70%),
        #FFFFFF;
}
main.single-service .svc-faq-item {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
main.single-service .svc-faq-item:hover { border-color: rgba(255,109,46,.35); }
main.single-service .svc-faq-item.is-open {
    border: 1px solid rgba(255,109,46,.45);
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(255,109,46,.55);
}
main.single-service .svc-faq-item__btn { align-items: center; gap: 1rem; }
main.single-service .svc-faq-item__q-text { line-height: 1.4; }
main.single-service .svc-faq-item.is-open .svc-faq-item__q-text { color: #000; }
main.single-service .svc-faq-item__icon {
    background: #FFF1EA;
    color: #FF6D2E;
}
main.single-service .svc-faq-item.is-open .svc-faq-item__icon {
    background: #FF6D2E;
    color: #fff;
}
/* The answer copy is rich text, not always a <p>: pad the wrapper so
   it never runs to the card edge. */
main.single-service .svc-faq-item__answer-inner .rich-text {
    padding: 0 clamp(1.1rem, 1.8vw, 1.6rem) clamp(1.1rem, 1.8vw, 1.4rem);
    margin-right: calc(34px + 1rem);
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
main.single-service .svc-faq-item__answer-inner .rich-text p { padding: 0; margin: 0 0 .6em; }
main.single-service .svc-faq-item__answer-inner .rich-text p:last-child { margin-bottom: 0; }
main.single-service .svc-faq__cta {
    background: #000;
    border: 0;
    border-radius: 16px;
}
main.single-service .svc-faq__cta-text { color: rgba(255,255,255,.7); }
main.single-service .svc-faq__cta-text b,
main.single-service .svc-faq__cta-link { color: #fff; }
main.single-service .svc-faq__cta-icon { color: #fff; }

@media (max-width: 880px) {
    main.single-service .svc-faq__intro { text-align: left; }
}
@media (max-width: 600px) {
    main.single-service .svc-faq-item__btn { padding: .95rem 1rem; }
    main.single-service .svc-faq-item__q-text { font-size: .9375rem; }
    main.single-service .svc-faq-item__icon { width: 30px; height: 30px; }
    main.single-service .svc-faq-item__answer-inner .rich-text {
        padding: 0 1rem 1rem;
        margin-right: 0;
        font-size: .875rem;
    }
    main.single-service .svc-faq__cta { width: 100%; }
}

/* ── Closing CTA: the home-page orange card ───────────────────── */
main.single-service .svc-cta__inner {
    background:
        radial-gradient(60rem 30rem at 85% -10%, #FFAD8A 0%, transparent 55%),
        linear-gradient(120deg, #FF6D2E 0%, #FF7A3D 55%, #FF8D5C 100%);
    border-radius: clamp(24px, 3vw, 36px);
    box-shadow: 0 40px 80px -40px rgba(255,109,46,.65);
}
/* Concentric rings, like the home card */
main.single-service .svc-cta__inner::after {
    content: "";
    position: absolute;
    right: -140px; top: -160px;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.10);
    outline: 1.5px solid rgba(0,0,0,.07);
    outline-offset: 70px;
    z-index: -1;
    pointer-events: none;
}
main.single-service .svc-cta__heading {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.22);
}
main.single-service .svc-cta__heading .gradient-text {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}
main.single-service .svc-cta__badge {
    background: #000;
    border-color: transparent;
    color: #fff;
}
main.single-service .svc-cta__badge-dot { background: #FF6D2E; }
main.single-service .svc-cta__subtext,
main.single-service .svc-cta__trust-item,
main.single-service .svc-cta__trust-item svg { color: #fff; }
main.single-service .svc-cta__subtext { text-shadow: 0 1px 8px rgba(0,0,0,.18); }
main.single-service .svc-cta__btn--primary,
main.single-service .svc-cta__btn--primary:hover { background: #000; color: #fff; }
main.single-service .svc-cta__btn--ghost {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}
main.single-service .svc-cta__btn--ghost:hover { background: #fff; border-color: #fff; color: #000; }

@media (max-width: 640px) {
    main.single-service .svc-cta__inner { padding: 2.25rem 1.35rem; }
    main.single-service .svc-cta__heading { font-size: clamp(1.75rem, 8vw, 2.25rem); }
    main.single-service .svc-cta__actions { flex-wrap: nowrap; gap: .6rem; }
    main.single-service .svc-cta__btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: .8rem .6rem;
        font-size: .875rem;
        white-space: nowrap;
    }
    main.single-service .svc-cta__btn svg { display: none; }
}
@media (max-width: 374px) {
    main.single-service .svc-cta__actions { flex-direction: column; }
    main.single-service .svc-cta__btn { flex: none; width: 100%; }
}

/* ── Our Work on phones: a swipeable row instead of six stacked cards ── */
@media (max-width: 640px) {
    main.single-service .svc-port__filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--container-pad));
        padding: .25rem var(--container-pad) .5rem;
    }
    main.single-service .svc-port__filter::-webkit-scrollbar { display: none; }
    main.single-service .svc-port__filter-btn { flex: 0 0 auto; white-space: nowrap; }

    main.single-service .svc-port__grid {
        display: flex;
        gap: .9rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--container-pad));
        padding: .25rem var(--container-pad) 1.25rem;
        scroll-padding-inline: var(--container-pad);
    }
    main.single-service .svc-port__grid::-webkit-scrollbar { display: none; }
    main.single-service .svc-port-card {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }
    /* Filtered-out cards leave the row entirely */
    main.single-service .svc-port-card.is-hidden { display: none; }
    main.single-service .svc-port-card__media { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
    /* Title first, result underneath, so neither gets squeezed */
    main.single-service .svc-port-card__body { flex-direction: column; align-items: flex-start; gap: .35rem; }
    main.single-service .svc-port-card__result { white-space: normal; }
}

/* ── Benefits: the dark brown band (as on About) ──────────────────
   It sits between the warm Tech Stack band and white Industries; on a
   light background it merged with Tech Stack. */
main.single-service .svc-benefits {
    color: #fff;
    background:
        radial-gradient(36rem 24rem at 100% 0%, rgba(255,109,46,.22), transparent 70%),
        linear-gradient(135deg, #1A0800 0%, #471500 100%);
    --text-accent: #FFAD8A;
    --hl-bg:   linear-gradient(120deg, #FF6D2E 0%, #FFAD8A 100%);
    --hl-clip: text;
    --hl-fill: transparent;
}
main.single-service .svc-benefits__label {
    padding: .35rem .9rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,173,138,.28);
    color: #FFAD8A;
}
main.single-service .svc-benefits__label-line { display: none; }
main.single-service .svc-benefits__heading { color: #fff; max-width: 24ch; }
/* White lead-in, orange phrase on a line of its own */
main.single-service .svc-benefits__heading .gradient-text { display: block; }
main.single-service .svc-benefits__desc { color: rgba(255,255,255,.72); max-width: 56ch; }

main.single-service .svc-ben-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,173,138,.16);
    border-radius: 16px;
    box-shadow: none;
}
main.single-service .svc-ben-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,173,138,.45);
    box-shadow: none;
}
main.single-service .svc-ben-card__icon {
    background: linear-gradient(65deg, #FF6D2E 0%, #FF8D5C 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 22px -10px rgba(255,109,46,.8);
}
main.single-service .svc-ben-card__title { color: #fff; }
main.single-service .svc-ben-card__desc { color: rgba(255,255,255,.65); }

/* ── Hero (every visual) ───────────────────────────────────── */
body.single-service .svc-hero {
    background:
        radial-gradient(48rem 34rem at 78% 38%, rgba(255,109,46,.26), transparent 62%),
        radial-gradient(36rem 28rem at 0% 100%, rgba(255,109,46,.12), transparent 62%),
        radial-gradient(30rem 20rem at 20% 0%, rgba(255,141,92,.08), transparent 62%),
        #050302;
}
body.single-service .svc-hero::before {
    opacity: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 75% at 72% 40%, #000 10%, transparent 72%);
            mask-image: radial-gradient(ellipse 70% 75% at 72% 40%, #000 10%, transparent 72%);
}


/* Tablet: all five stats on one row, icon above the number,
   instead of wrapping four + one */
@media (min-width: 721px) and (max-width: 1100px) {
    body.single-service .svc-hero__stats { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 1rem .5rem; }
    body.single-service .svc-hero__stat {
        flex-direction: column;
        text-align: center;
        gap: .55rem;
        padding: .35rem .5rem;
    }
    body.single-service .svc-hero__stat-meta { align-items: center; }
    body.single-service .svc-hero__stat-icon { width: 44px; height: 44px; }
    body.single-service .svc-hero__stat-icon svg { width: 20px; height: 20px; }
    body.single-service .svc-hero__stat-value { font-size: 1.35rem; }
    body.single-service .svc-hero__stat-label { font-size: .74rem; }
}
