/* Service detail pages. Builds on landing.css (.lx tokens, cards, plans, FAQ). */

.sv .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sv-inline { color: #044aa9; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(4, 74, 169, .3); text-underline-offset: 3px; }
.sv-inline:hover { text-decoration-color: #044aa9; }

/* ---------------------------------------------------------------- hero */
.sv-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 56px 0 96px; color: #e2e8f0;
    background:
        radial-gradient(700px 420px at 78% 45%, rgba(37, 99, 235, .32), transparent 70%),
        radial-gradient(700px 400px at 0% 100%, rgba(4, 74, 169, .28), transparent 70%),
        linear-gradient(180deg, var(--lx-ink) 0%, var(--lx-ink-2) 100%);
}
.sv--automation .sv-hero { background:
        radial-gradient(700px 420px at 78% 45%, rgba(56, 189, 248, .26), transparent 70%),
        radial-gradient(700px 400px at 0% 100%, rgba(4, 74, 169, .3), transparent 70%),
        linear-gradient(180deg, var(--lx-ink) 0%, var(--lx-ink-2) 100%); }
.sv--talent .sv-hero { background:
        radial-gradient(700px 420px at 78% 45%, rgba(251, 191, 36, .14), transparent 70%),
        radial-gradient(700px 420px at 70% 40%, rgba(37, 99, 235, .26), transparent 70%),
        linear-gradient(180deg, var(--lx-ink) 0%, var(--lx-ink-2) 100%); }

.sv-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.sv-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; color: #94a3b8; }
.sv-crumbs li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.sv-crumbs a { color: #bfdbfe; text-decoration: none; }
.sv-crumbs a:hover { color: #fff; }
.sv-hero__title { margin-top: 20px !important; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.1; font-weight: 700; color: #fff; }
.sv-hero__lead { margin-top: 20px !important; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.7; color: #b4c0d3; max-width: 620px; }
.sv-reviewed { display: flex; align-items: center; gap: 8px; margin-top: 26px !important; font-size: 13.5px; color: #94a3b8; }
.sv-reviewed svg { width: 18px; height: 18px; fill: none; stroke: #60a5fa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 3D workflow */
.sv-flow { perspective: 1200px; }
.sv-flow__stage {
    position: relative; display: grid; gap: 14px; padding: 8px 0 8px 34px;
    transform: rotateY(-16deg) rotateX(8deg); transform-style: preserve-3d;
    animation: sv-sway 9s ease-in-out infinite;
}
.sv-flow__stage::before {
    content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px;
    background: linear-gradient(180deg, rgba(96, 165, 250, .1), rgba(96, 165, 250, .7), rgba(56, 189, 248, .1));
}
.sv-flow__node {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 30, 58, .9), rgba(7, 19, 36, .78));
    border: 1px solid rgba(147, 197, 253, .2);
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: translateZ(calc(var(--i) * 14px)) translateX(calc(var(--i) * 10px));
    animation: sv-node-in .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 120ms + 150ms);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sv-flow__n {
    position: absolute; left: -34px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    font-size: 12px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #2563eb, #044aa9);
    box-shadow: 0 0 0 4px rgba(7, 19, 36, 1), 0 0 16px rgba(96, 165, 250, .6);
}
.sv-flow__text strong { display: block; font-size: 15.5px; color: #fff; }
.sv-flow__text small { display: block; margin-top: 2px; font-size: 13px; color: #94a3b8; }
.sv-flow__node:nth-child(odd) { border-color: rgba(96, 165, 250, .32); }
.sv-flow__pulse {
    position: absolute; left: 17px; top: 20px; width: 10px; height: 10px; border-radius: 50%;
    background: #fbbf24; box-shadow: 0 0 16px 4px rgba(251, 191, 36, .6);
    animation: sv-pulse 4.5s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes sv-node-in { from { opacity: 0; transform: translateZ(0) translateX(-30px) rotateY(30deg); } }
@keyframes sv-pulse { 0% { top: 20px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 30px); opacity: 0; } }
@keyframes sv-sway { 0%, 100% { transform: rotateY(-16deg) rotateX(8deg); } 50% { transform: rotateY(-8deg) rotateX(4deg); } }

@media (max-width: 960px) {
    .sv-hero { padding: 40px 0 72px; }
    .sv-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .sv-flow__stage { transform: none; animation: none; }
    .sv-flow__node { transform: none; }
}

/* ---------------------------------------------------------------- what / signs */
.sv-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.sv-split .lx-body + .lx-body { margin-top: 16px; }
.sv-signs {
    padding: 30px; border-radius: 22px; color: #e2e8f0;
    background: radial-gradient(400px 220px at 0% 0%, rgba(37, 99, 235, .3), transparent 70%), var(--lx-ink);
    box-shadow: 0 40px 70px -40px rgba(7, 19, 36, .8);
}
.sv-signs__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; }
.sv-signs ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.sv-signs li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; font-size: 15px; line-height: 1.5; background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .16); transform: translateZ(20px); }
.sv-signs li::before { content: "!"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #071324; background: #fbbf24; }
@media (max-width: 960px) { .sv-split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------- steps */
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.sv-step { position: relative; padding: 30px 26px; border-radius: var(--lx-radius); background: #fff; border: 1px solid var(--lx-line); }
.sv-step:hover { box-shadow: 0 30px 60px -32px rgba(4, 74, 169, .45); }
.sv-step::after { counter-increment: step; content: "Step " counter(step); position: absolute; top: 26px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.sv-step h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.sv-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--lx-muted); }
@media (max-width: 1024px) { .sv-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sv-steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- compare */
.sv-compare-wrap { max-width: 980px; }
.sv-compare { overflow-x: auto; border-radius: 22px; border: 1px solid var(--lx-line); box-shadow: 0 30px 60px -45px rgba(7, 19, 36, .5); background: #fff; }
.sv-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; }
.sv-compare th, .sv-compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--lx-line); vertical-align: top; }
.sv-compare tbody tr:last-child th, .sv-compare tbody tr:last-child td { border-bottom: 0; }
.sv-compare thead th { font-size: 14px; font-weight: 700; color: #475569; background: #f8fafc; }
.sv-compare thead th.is-us { color: #fff; background: linear-gradient(135deg, #2563eb, #044aa9); }
.sv-compare tbody th { width: 26%; font-weight: 600; color: #142736; }
.sv-compare td { color: var(--lx-muted); }
.sv-compare td.is-us { color: #142736; font-weight: 600; background: #f5f9ff; }
.sv-compare td.is-us::before { content: "✓"; display: inline-flex; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: #2563eb; vertical-align: 1px; }

/* ---------------------------------------------------------------- tools */
.sv-tools { margin-top: 40px; text-align: center; }
.sv-tools p { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748b; }
.sv-tools ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sv-tools li { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #142736; background: #fff; border: 1px solid var(--lx-line); box-shadow: 0 6px 16px -12px rgba(7, 19, 36, .4); }

/* ---------------------------------------------------------------- pricing */
.sv-split--price { align-items: center; }
.sv-price { margin: 0 !important; }

/* ---------------------------------------------------------------- hire callout */
.sv-hire {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
    margin-top: 28px; padding: 24px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--lx-line);
}
.sv-hire strong { display: block; font-size: 17px; color: #142736; }
.sv-hire span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--lx-muted); }

/* ---------------------------------------------------------------- related */
.sv-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-related__item {
    display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px;
    text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--lx-line);
}
.sv-related__item:hover { border-color: rgba(37, 99, 235, .4); box-shadow: 0 30px 60px -32px rgba(4, 74, 169, .45); }
.sv-related__group { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: #044aa9; background: #dbeafe; }
.sv-related__item strong { font-size: 20px; color: #142736; }
.sv-related__item > span:not(.sv-related__group):not(.lx-link-arrow) { flex: 1; font-size: 15px; line-height: 1.6; color: var(--lx-muted); }
@media (max-width: 960px) { .sv-related { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .sv-flow__stage, .sv-flow__node, .sv-flow__pulse { animation: none !important; }
}

/* ---------------------------------------------------------------- services hub */
.sv-hero--hub { padding-bottom: 72px; }
.sv-hero--hub .sv-hero__lead { max-width: 760px; }
.sv-hub-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sv-hub-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #e2e8f0; text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid rgba(147, 197, 253, .25); transition: background .2s, border-color .2s; }
.sv-hub-jump a:hover { background: rgba(37, 99, 235, .25); border-color: rgba(147, 197, 253, .5); }
.sv-hub-jump span { display: inline-flex; min-width: 24px; height: 24px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; font-size: 12px; color: #fff; background: #2563eb; }
.sv-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sv-hub-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--lx-line); }
.sv-hub-card:hover { border-color: rgba(37, 99, 235, .4); box-shadow: 0 30px 60px -32px rgba(4, 74, 169, .45); }
.sv-hub-card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 6px; background: linear-gradient(135deg, #2563eb, #044aa9); box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .8); transform: translateZ(30px); }
.sv-hub-card__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-hub-card strong { font-size: 18.5px; color: #142736; }
.sv-hub-card__text { flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--lx-muted); }
@media (max-width: 960px) { .sv-hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sv-hub-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- long-form guide */
.sv-guide__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.sv-toc { position: sticky; top: 100px; padding: 24px; border-radius: 20px; background: #f6f9fe; border: 1px solid var(--lx-line); }
.sv-toc__title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #044aa9; }
.sv-toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.sv-toc li { counter-increment: toc; }
.sv-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: #334155; text-decoration: none; transition: background .2s, color .2s; }
.sv-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: 12px; font-weight: 700; color: #94a3b8; padding-top: 1px; }
.sv-toc a:hover { background: #fff; color: #044aa9; }
.sv-toc__cta { width: 100%; margin-top: 18px; min-height: 46px; font-size: 14.5px; }
.sv-guide__body { max-width: 760px; }
.sv-guide__intro { margin-top: 18px !important; font-size: 19px; line-height: 1.7; color: #334155; }
.sv-guide__section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--lx-line); scroll-margin-top: 100px; }
.sv-guide__section h3 { font-size: 23px; line-height: 1.3; font-weight: 700; color: #142736; }
.sv-guide__section p { margin-top: 14px !important; font-size: 17px; line-height: 1.8; color: #475569; }
@media (max-width: 1024px) {
    .sv-guide__layout { grid-template-columns: 1fr; gap: 32px; }
    .sv-toc { position: static; }
}

.sv-terms { margin: 18px 0 0; display: grid; gap: 12px; }
.sv-terms > div { padding: 16px 18px; border-radius: 14px; background: #f6f9fe; border: 1px solid var(--lx-line); }
.sv-terms dt { font-size: 16px; font-weight: 700; color: #142736; }
.sv-terms dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.7; color: #475569; }

/* ---------------------------------------------------------------- copy typed into an admin "Content" box (App\Support\AdminContent) */
.ac-prose { font-size: 17px; line-height: 1.8; color: #475569; }
.ac-prose > * + * { margin-top: 16px !important; }
.ac-prose h2 { margin-top: 34px !important; font-size: 28px; line-height: 1.25; font-weight: 700; color: #142736; }
.ac-prose h3 { margin-top: 28px !important; font-size: 22px; line-height: 1.3; font-weight: 700; color: #142736; }
.ac-prose h4 { margin-top: 22px !important; font-size: 18px; font-weight: 700; color: #142736; }
.ac-prose ul, .ac-prose ol { padding-left: 22px; }
.ac-prose ul { list-style: disc; }
.ac-prose ol { list-style: decimal; }
.ac-prose li + li { margin-top: 6px; }
.ac-prose a { color: #044aa9; text-decoration: underline; text-underline-offset: 3px; }
.ac-prose strong { color: #142736; }
.ac-prose blockquote { padding: 14px 20px; border-left: 4px solid #fbbf24; background: rgba(251, 191, 36, .08); border-radius: 0 12px 12px 0; }
.ac-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.ac-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ac-prose th, .ac-prose td { padding: 10px 12px; border: 1px solid var(--lx-line, #e2e8f0); text-align: left; }
.ac-prose--light, .ac-prose--light strong, .ac-prose--light h2, .ac-prose--light h3, .ac-prose--light h4 { color: #e2e8f0; }
.ac-prose--light h2, .ac-prose--light h3 { color: #fff; }
.ac-prose--light a { color: #93c5fd; }
.ac-prose--light { max-width: 860px; margin: 0 auto; }
.ac-prose--card { max-width: 900px; margin: 0 auto; padding: 34px; border-radius: 24px; background: #fff; border: 1px solid var(--lx-line, #e2e8f0); }
@media (max-width: 640px) { .ac-prose--card { padding: 22px; } .ac-prose { font-size: 16px; } }
