/* Advanced Services Page Styles - V2 Refined */

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll from aurora blobs */
}

.services-page {
    position: relative;
    background-color: var(--clr-bg);
    padding-top: 7rem;
}

.internal-hero .hero-lead {
    margin-bottom: 1rem;
}

/* ─── Intro area: fills initial viewport so first section stays below fold ─── */
.services-intro {
    min-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 3rem;
}

/* --- Fixed Timeline Journey --- */
.hero-journey {
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 1rem;
    max-width: 1000px;
}

/* Connecting line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 141, 79, 0.2), transparent);
    z-index: -1;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.t-icon-box {
    width: 48px;
    height: 48px;
    background: var(--clr-bg);
    border: 2px solid rgba(241, 141, 79, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.timeline-step:hover .t-icon-box {
    background: rgba(241, 141, 79, 0.08);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 1px var(--clr-accent), 0 0 20px rgba(241, 141, 79, 0.25);
}

/* Selected step — set via JS on scroll */
.timeline-step.is-active .t-icon-box {
    background: rgba(241, 141, 79, 0.12);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 1px var(--clr-accent), 0 0 28px rgba(241, 141, 79, 0.35);
}

.timeline-step.is-active .t-label {
    color: var(--clr-accent);
}

.svc-icon {
    transition: color 0.3s ease;
}

.t-icon-box {
    color: rgba(255, 255, 255, 0.45);
}

.timeline-step:hover .t-icon-box,
.timeline-step.is-active .t-icon-box {
    color: var(--clr-accent);
}

.t-icon-box .svc-icon {
    width: 24px;
    height: 24px;
}

.t-label {
    font-family: var(--ff-code);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    font-weight: 700;
}

.t-desc {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    max-width: 140px;
    margin-top: 0.4rem;
}

/* Service Sections */
.service-section {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 15rem;
    min-height: 60vh;
}

.service-section:nth-child(even) { direction: rtl; }
.service-section:nth-child(even) .service-content { direction: ltr; }

.service-tag {
    font-family: var(--ff-code);
    font-size: 0.75rem;
    color: var(--clr-accent);
    background: rgba(241, 141, 79, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-description {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.service-benefits {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: #fff;
    line-height: 1.4;
}

.service-benefits li::before {
    content: '→';
    color: var(--clr-accent);
    font-family: var(--ff-code);
    font-weight: 700;
}

/* Visual Card Restored 3D Effects */
.service-visual {
    perspective: 1200px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.8s ease;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 10px 20px rgba(0, 0, 0, 0.04),
        0 20px 40px rgba(0, 0, 0, 0.06);
}

.visual-card:hover {
    transform: rotateX(4deg) rotateY(-4deg) translateZ(20px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 40px rgba(241, 141, 79, 0.05);
}

.visual-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2.5rem;
    color: var(--clr-accent);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    transform: translateZ(40px);
}

.sc-impact-box {
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(241, 141, 79, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(241, 141, 79, 0.14) 0%, rgba(241, 141, 79, 0.05) 100%);
    border: 1px solid rgba(241, 141, 79, 0.32);
    border-radius: 20px;
    padding: 1.6rem 1.75rem 1.6rem 2rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(30px); /* Lift element in 3D space */
    box-shadow: 0 14px 34px -12px rgba(241, 141, 79, 0.3);
}

.sc-impact-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--clr-accent), rgba(241, 141, 79, 0.45));
    box-shadow: 0 0 16px rgba(241, 141, 79, 0.6);
}

.sc-impact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--ff-code);
    font-size: 0.7rem;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 0.55rem;
}
.sc-impact-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-accent);
    box-shadow: 0 0 8px rgba(241, 141, 79, 0.8);
}

.sc-impact-text {
    font-size: 1.22rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* ─── Modern Mock Visual Cards ─── */
.mock-card {
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    direction: ltr; /* reset RTL flip applied to even sections */
    text-align: left;
}

.mock-tag {
    font-family: var(--ff-code);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Shared head row + status badge for mock cards */
.mock-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(109, 219, 156, 0.1);
    border: 1px solid rgba(109, 219, 156, 0.25);
    border-radius: 100px;
    font-family: var(--ff-code);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #8fe7b6;
}
.mock-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ddb9c;
    box-shadow: 0 0 0 0 rgba(109, 219, 156, 0.6);
    animation: mpPulse 1.8s ease-out infinite;
}

/* ── 01 Connect — pipeline mock ── */
.mock-pipeline {
    display: grid;
    grid-template-columns: 1fr 70px auto;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.mp-sources {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.7rem 0.4rem 0.4rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.mp-chip:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(2px);
}

.mp-tile {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mp-tile svg { width: 15px; height: 15px; }
.mp-tile-blue   { background: rgba(91, 157, 255, 0.15);  color: #7eb2ff; }
.mp-tile-violet { background: rgba(176, 139, 255, 0.15); color: #c2a4ff; }
.mp-tile-green  { background: rgba(109, 219, 156, 0.15); color: #8fe7b6; }
.mp-tile-amber  { background: rgba(241, 185, 79, 0.15);  color: #f3c97a; }

.mp-chip-name { font-family: var(--ff-code); font-size: 0.72rem; letter-spacing: 0.01em; }

/* Converging connector: 4 sources curve into the single hub */
.mp-connector {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.mpc-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}
.mpc-flow {
    fill: none;
    stroke: var(--clr-accent);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-dasharray: 12 88;
    stroke-dashoffset: 100;
    animation: mpcFlow 2.4s linear infinite;
}
.mpc-flow:nth-of-type(6) { animation-delay: 0.6s; }
.mpc-flow:nth-of-type(7) { animation-delay: 1.2s; }
.mpc-flow:nth-of-type(8) { animation-delay: 1.8s; }
@keyframes mpcFlow {
    to { stroke-dashoffset: 0; }
}

/* Central hub node the sources converge into */
.mp-hub {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: radial-gradient(circle at 50% 0%, rgba(241, 141, 79, 0.12), rgba(241, 141, 79, 0.04));
    border: 1px solid rgba(241, 141, 79, 0.3);
    border-radius: 16px;
    text-align: center;
}
.mp-hub-node {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241, 141, 79, 0.12);
    border: 1px solid rgba(241, 141, 79, 0.5);
    color: var(--clr-accent);
}
.mp-hub-node svg { width: 20px; height: 20px; }
.mp-hub-ring {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(241, 141, 79, 0.5);
    animation: mpHubRing 2.4s ease-out infinite;
}
@keyframes mpHubRing {
    0%   { transform: scale(1);    opacity: 0.7; }
    100% { transform: scale(1.7);  opacity: 0; }
}
.mp-hub-label {
    font-family: var(--ff-code);
    font-size: 0.7rem;
    color: var(--clr-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mp-hub-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}
.mp-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ddb9c;
    box-shadow: 0 0 0 0 rgba(109, 219, 156, 0.6);
    animation: mpPulse 1.6s ease-out infinite;
}
@keyframes mpPulse {
    0%   { box-shadow: 0 0 0 0 rgba(109, 219, 156, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(109, 219, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(109, 219, 156, 0); }
}

/* ── 02 Store — clean data table ── */
.mock-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.9fr auto;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
}
.mg-row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: #fff;
    transition: background 0.2s ease;
}
.mg-row:last-child { border-bottom: 0; }
.mg-row:not(.mg-head):hover { background: rgba(255, 255, 255, 0.03); }

.mg-head {
    background: rgba(255, 255, 255, 0.03);
}
.mg-head span {
    font-family: var(--ff-code);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}
.mg-right { text-align: right; }

.mg-cust { font-weight: 600; }
.mg-dim { color: rgba(255, 255, 255, 0.55); }
.mg-num {
    font-family: var(--ff-code);
    font-weight: 600;
    text-align: right;
    color: #fff;
}

.mg-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-family: var(--ff-code);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.mg-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.mg-pill.ok   { color: #8fe7b6; background: rgba(109, 219, 156, 0.1); }
.mg-pill.warn { color: #f3c97a; background: rgba(241, 185, 79, 0.1); }

/* ── 03 See — dashboard mock ── */
.md-slicer {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
}
.md-chip {
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-family: var(--ff-code);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}
.md-chip.is-active {
    background: rgba(241, 141, 79, 0.15);
    color: var(--clr-accent);
}

.mock-dash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.md-kpis {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.md-panel {
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.md-panel-title {
    font-family: var(--ff-code);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

/* Mini bar chart */
.md-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.45rem;
    height: 56px;
}
.md-bar {
    position: relative;
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--clr-accent), rgba(241, 141, 79, 0.25));
    transform-origin: bottom;
    animation: mdBarGrow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.md-bar:nth-child(2) { animation-delay: 0.1s; }
.md-bar:nth-child(3) { animation-delay: 0.2s; }
.md-bar:nth-child(4) { animation-delay: 0.3s; }
.md-bar:nth-child(odd) { background: linear-gradient(180deg, rgba(241, 141, 79, 0.55), rgba(241, 141, 79, 0.15)); }
@keyframes mdBarGrow {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}
.md-bar-cap {
    position: absolute;
    bottom: -1.05rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ff-code);
    font-size: 0.5rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}
.md-panel-bars { padding-bottom: 1.6rem; }
.md-kpi {
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.md-kpi-label {
    font-family: var(--ff-code);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.md-kpi-value {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.md-kpi-delta {
    font-family: var(--ff-code);
    font-size: 0.65rem;
    font-weight: 700;
}
.md-kpi-delta.up   { color: #6ddb9c; }
.md-kpi-delta.down { color: #6ddb9c; } /* lower churn is good */

.md-spark {
    width: 100%;
    height: 56px;
    display: block;
}

/* ── 04 Scale — chat mock ── */
.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.mc-bubble {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    max-width: 88%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.mc-user {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-right-radius: 4px;
}
.mc-ai {
    align-self: flex-start;
    max-width: 96%;
    background: rgba(241, 141, 79, 0.08);
    border: 1px solid rgba(241, 141, 79, 0.2);
    border-bottom-left-radius: 4px;
}
.mc-who {
    font-family: var(--ff-code);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}
.mc-ai .mc-who { color: var(--clr-accent); }
.mc-bubble p {
    margin: 0;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.45;
}
.mc-typing {
    align-self: flex-start;
    display: inline-flex;
    gap: 4px;
    padding: 0.5rem 0.85rem;
    background: rgba(241, 141, 79, 0.06);
    border-radius: 12px;
}
.mc-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clr-accent);
    opacity: 0.4;
    animation: mcDot 1.2s ease-in-out infinite;
}
.mc-typing span:nth-child(2) { animation-delay: 0.15s; }
.mc-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes mcDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-3px); }
}

/* Premium AI card — gradient glow border + sheen */
.mock-card--premium {
    position: relative;
    overflow: hidden; /* clip sheen + border glow to the rounded card */
    background: linear-gradient(160deg, rgba(241, 141, 79, 0.07), rgba(255, 255, 255, 0.015));
    border-color: rgba(241, 141, 79, 0.24);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 0 55px rgba(241, 141, 79, 0.08);
}
/* Breathing accent border */
.mock-card--premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(241, 141, 79, 0.65), transparent 35%, transparent 65%, rgba(241, 141, 79, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    animation: premiumBorder 5s ease-in-out infinite;
}
@keyframes premiumBorder {
    0%, 100% { opacity: 0.65; }
    50%      { opacity: 1; }
}
/* Light sweep — transform-driven (no layout/flicker), hidden at rest */
.mock-card--premium::after {
    content: '';
    position: absolute;
    top: -15%;
    left: 0;
    width: 38%;
    height: 130%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-260%) skewX(-18deg);
    animation: premiumSheen 7s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}
@keyframes premiumSheen {
    0%, 62% { transform: translateX(-260%) skewX(-18deg); }
    100%    { transform: translateX(360%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
    .mock-card--premium::after { animation: none; }
    .mock-card--premium::before { animation: none; opacity: 0.85; }
}

.mock-badge--ai {
    color: var(--clr-accent);
    background: rgba(241, 141, 79, 0.12);
    border-color: rgba(241, 141, 79, 0.3);
}
.mock-spark {
    font-size: 0.7rem;
    line-height: 1;
    animation: sparkTwinkle 2.4s ease-in-out infinite;
}
@keyframes sparkTwinkle {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.82); }
}

.mc-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: rgba(241, 141, 79, 0.18);
    color: var(--clr-accent);
    font-size: 0.55rem;
    vertical-align: middle;
}
.mc-who { display: inline-flex; align-items: center; }

/* Highlighted insight inside the AI reply */
.mc-insight {
    margin-top: 0.6rem;
    padding: 0.6rem 0.75rem;
    background: rgba(241, 141, 79, 0.08);
    border: 1px solid rgba(241, 141, 79, 0.25);
    border-left-width: 3px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.mc-insight-label {
    font-family: var(--ff-code);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--clr-accent);
}
.mc-insight-text {
    font-size: 0.78rem;
    color: #fff;
    line-height: 1.4;
}

/* Disable the parent 3D hover tilt for mock cards — they have animated children */
.mock-card.visual-card:hover {
    transform: none;
}

/* CTA Box */
.services-cta-box {
    margin-top: 8rem;
    text-align: center;
    padding: 7rem 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

/* ─── Inline Section Mini Nav (mirrors top timeline, smaller) ─── */
.section-mini-nav {
    grid-column: 1 / -1;
    direction: ltr;
    margin-top: -8rem;
}

.smn-track {
    display: flex;
    align-items: flex-start;
    position: relative;
    max-width: 320px;
}

/* Connecting line — mirrors .timeline-container::before */
.smn-track::before {
    content: '';
    position: absolute;
    top: 16px; /* centre of 32px icon box */
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 141, 79, 0.2), transparent);
    pointer-events: none;
}

.smn-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.smn-icon-box {
    width: 32px;
    height: 32px;
    background: var(--clr-bg);
    border: 1.5px solid rgba(241, 141, 79, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.smn-icon-box .svc-icon {
    width: 14px;
    height: 14px;
}

.smn-step:hover .smn-icon-box {
    background: rgba(241, 141, 79, 0.08);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 1px var(--clr-accent), 0 0 12px rgba(241, 141, 79, 0.2);
    color: var(--clr-accent);
}

.smn-step.is-active .smn-icon-box {
    background: rgba(241, 141, 79, 0.12);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 1px var(--clr-accent), 0 0 16px rgba(241, 141, 79, 0.3);
    color: var(--clr-accent);
}

.smn-label {
    font-family: var(--ff-code);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    transition: color 0.3s ease;
}

.smn-step:hover .smn-label {
    color: rgba(255, 255, 255, 0.7);
}

.smn-step.is-active .smn-label {
    color: var(--clr-accent);
}

/* ─── Sticky Sidebar Navigator ─── */
.services-sticky-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.services-sticky-nav.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* Vertical connecting line behind dots */
.services-sticky-nav::before {
    content: '';
    position: absolute;
    right: 13px; /* center on the 28px dot */
    top: 34px;
    bottom: 66px; /* stop above back-to-top button */
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.ssn-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    padding: 5px 0;
}

.ssn-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ssn-dot {
    color: rgba(255, 255, 255, 0.35);
}

.ssn-dot .svc-icon {
    width: 13px;
    height: 13px;
    transition: color 0.3s ease;
}

.ssn-label {
    font-family: var(--ff-code);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.ssn-item:hover .ssn-label {
    opacity: 1;
    transform: translateX(0);
    color: rgba(255, 255, 255, 0.6);
}

.ssn-item:hover .ssn-dot {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.ssn-item.is-active .ssn-dot {
    background: rgba(241, 141, 79, 0.12);
    border-color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(241, 141, 79, 0.4);
}

.ssn-item.is-active .ssn-dot {
    color: var(--clr-accent);
}

.ssn-item.is-active .ssn-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--clr-accent);
}

.ssn-top-btn {
    margin-top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    line-height: 1;
}

.ssn-top-btn:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(241, 141, 79, 0.08);
}

@media (max-width: 1200px) {
    .services-sticky-nav { display: none; }
}

/* ─── Mobile bottom pill nav ─── */
@media (max-width: 768px) {
    .services-sticky-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        position: fixed;
        right: auto;
        top: auto;
        left: 50%;
        bottom: 1.25rem;
        transform: translateX(-50%);
        background: rgba(18, 18, 18, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        padding: 0.4rem 0.75rem;
    }

    /* Hide vertical line on mobile */
    .services-sticky-nav::before { display: none; }

    /* Hide labels on mobile — dots only */
    .ssn-label { display: none; }

    .ssn-item { padding: 4px 6px; }

    .ssn-dot {
        width: 34px;
        height: 34px;
    }

    .ssn-dot .svc-icon {
        width: 15px;
        height: 15px;
    }

    .ssn-top-btn {
        margin-top: 0;
        margin-left: 0.25rem;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 992px) {
    .service-section { grid-template-columns: 1fr; gap: 4rem; margin-bottom: 8rem; }
    .service-section:nth-child(even) { direction: ltr; }
    .section-mini-nav { margin-top: -4rem; }
    .smn-track { max-width: 280px; }
}

@media (max-width: 768px) {
    /* Extra bottom padding so floating pill doesn't cover content */
    .services-page { padding-bottom: 5rem; }
}
