/* ── Page Services — Premium Dark (Bloomarone) ── */

/* Hero (shorter than homepage) */
.premium-hero--services {
    min-height: auto;
    padding: 4rem 1.25rem 3rem;
}

.premium-hero--services .premium-hero__trust { display: none; }

/* Sticky anchor navigation */
.svc-anchor-nav {
    position: sticky;
    top: var(--nav-height);
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 8, 24, 0.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.svc-anchor-nav__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.svc-anchor-nav__inner::-webkit-scrollbar { display: none; }

.svc-anchor-nav__link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--premium-text-muted);
    border-radius: 9999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.svc-anchor-nav__link:hover {
    color: var(--premium-text);
    background: var(--premium-surface-hover);
}

.svc-anchor-nav__link.is-active {
    color: var(--premium-violet-bright);
    background: rgba(123, 47, 247, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.15);
}

/* Service blocks */
.svc-block {
    position: relative;
    padding: 5rem 0;
    scroll-margin-top: calc(var(--nav-height) + 3.5rem);
}

.svc-block--alt {
    background: linear-gradient(180deg, transparent, rgba(123, 47, 247, 0.04), transparent);
}

.svc-block__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .svc-block__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
        gap: 2.5rem;
        align-items: center;
    }

    .svc-block--reverse .svc-block__visual { order: 3; }
    .svc-block--reverse .svc-block__details { order: 2; }
    .svc-block--reverse .svc-block__intro { order: 1; }
}

.svc-block__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.svc-block__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--premium-violet-bright);
    background: rgba(123, 47, 247, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.55rem;
}

.svc-block__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(123, 47, 247, 0.12);
    color: var(--premium-violet-bright);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.svc-block__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--premium-heading);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.svc-block__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--premium-text-muted);
    margin-bottom: 1.5rem;
}

.svc-block__cta { margin-bottom: 1.5rem; }

/* Glass cards */
.svc-glass {
    padding: 1.35rem 1.5rem;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.svc-glass:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 12px 40px rgba(123, 47, 247, 0.1);
}

.svc-glass__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--premium-violet-bright);
    margin-bottom: 0.85rem;
}

.svc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.svc-checklist li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--premium-text-muted);
}

.svc-checklist li i,
.svc-checklist li svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #12C7B7;
}

.svc-audience {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    background: rgba(123, 47, 247, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
}

.svc-audience__icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: rgba(123, 47, 247, 0.2);
    color: var(--premium-violet-bright);
    flex-shrink: 0;
}

.svc-audience strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--premium-heading);
    margin-bottom: 0.25rem;
}

.svc-audience p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--premium-text-muted);
    margin: 0;
}

/* ── Visual: Payment ── */
.svc-visual-pay {
    position: relative;
    min-height: 22rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.svc-visual-pay__glow {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.25), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.svc-visual-pay__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 16rem;
    border-radius: 1.75rem;
    border: 3px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    object-fit: cover;
    aspect-ratio: 9/16;
}

.svc-float-card {
    position: absolute;
    z-index: 2;
    padding: 0.65rem 0.85rem;
    background: rgba(10, 15, 46, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 0.85rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    font-size: 0.75rem;
    animation: svcFloat 4s ease-in-out infinite;
}

.svc-float-card--success {
    top: 8%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--premium-text);
}

.svc-float-card--success .svc-float-card__check {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(18, 199, 183, 0.2);
    color: #12C7B7;
}

.svc-float-card--momo {
    bottom: 28%;
    left: -2%;
    animation-delay: -1s;
}

.svc-float-card--orange {
    bottom: 12%;
    right: -2%;
    animation-delay: -2s;
}

.svc-float-card--tx {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -0.5s;
    min-width: 9rem;
}

.svc-momo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.6875rem;
}

.svc-momo-badge--mtn { color: #FFCC00; }
.svc-momo-badge--orange { color: #FF7900; }

@keyframes svcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.svc-float-card--tx { animation-name: svcFloatCenter; }
@keyframes svcFloatCenter {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* ── Visual: Web & Mobile ── */
.svc-visual-dev {
    position: relative;
    min-height: 22rem;
    padding: 1rem;
}

.svc-visual-dev__laptop {
    position: relative;
    z-index: 1;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--premium-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.svc-visual-dev__laptop img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.svc-visual-dev__phone {
    position: absolute;
    bottom: -0.5rem;
    right: -0.25rem;
    z-index: 2;
    width: 5.5rem;
    padding: 0.35rem;
    border-radius: 1.1rem;
    background: #111827;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.svc-visual-dev__phone img {
    width: 100%;
    border-radius: 0.85rem;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.svc-method-timeline {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-xl);
}

.svc-method-timeline__label {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--premium-violet-bright);
    margin-bottom: 1rem;
}

.svc-method-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.svc-method-steps::before {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.1));
}

.svc-method-steps li {
    position: relative;
    display: flex;
    gap: 0.85rem;
    padding: 0.65rem 0;
    font-size: 0.8125rem;
    color: var(--premium-text-muted);
    line-height: 1.45;
}

.svc-method-steps li span {
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7B2FF7, #6366f1);
    border: 2px solid rgba(5, 8, 24, 0.9);
    z-index: 1;
}

.svc-method-steps li strong {
    display: block;
    color: var(--premium-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    margin-bottom: 0.1rem;
}

@media (min-width: 1024px) {
    .svc-block--web .svc-block__details {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* ── Visual: Finance charts (illustrative UI) ── */
.svc-visual-finance {
    display: grid;
    gap: 1rem;
}

.svc-chart-card {
    padding: 1.15rem;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-lg);
}

.svc-chart-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--premium-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.svc-chart-card__head em {
    font-style: normal;
    color: var(--premium-violet-bright);
    font-size: 0.625rem;
}

.svc-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 5rem;
}

.svc-bars i {
    flex: 1;
    border-radius: 0.25rem 0.25rem 0 0;
    background: linear-gradient(180deg, #a78bfa, #7B2FF7);
    opacity: 0.85;
}

.svc-donut-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.svc-donut {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: conic-gradient(#7B2FF7 0 65%, rgba(139, 92, 246, 0.2) 65% 100%);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.svc-donut::after {
    content: '';
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: var(--premium-bg-card);
}

.svc-donut-label {
    font-size: 0.8125rem;
    color: var(--premium-text-muted);
    line-height: 1.45;
}

.svc-donut-label strong {
    display: block;
    font-size: 1.125rem;
    color: var(--premium-heading);
}

.svc-deliverables {
    display: grid;
    gap: 0.55rem;
}

.svc-deliverable {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    color: var(--premium-text-muted);
    background: rgba(123, 47, 247, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 0.65rem;
}

.svc-deliverable i { color: var(--premium-violet-bright); flex-shrink: 0; }

/* ── Visual: SAV ── */
.svc-visual-sav {
    display: grid;
    gap: 1rem;
}

.svc-chat {
    padding: 1rem;
    background: linear-gradient(160deg, rgba(18, 140, 126, 0.15), rgba(5, 8, 24, 0.95));
    border: 1px solid rgba(18, 199, 183, 0.25);
    border-radius: var(--radius-xl);
}

.svc-chat__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-chat__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #7B2FF7, #6366f1);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
}

.svc-chat__head strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--premium-heading);
}

.svc-chat__head span {
    font-size: 0.6875rem;
    color: #12C7B7;
}

.svc-chat__bubble {
    max-width: 88%;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
    border-radius: 0.85rem;
    color: var(--premium-text-muted);
    background: rgba(255, 255, 255, 0.06);
}

.svc-chat__bubble--agent {
    border-bottom-left-radius: 0.2rem;
}

.svc-chat__bubble--user {
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, #128C7E, #075E54);
    border-bottom-right-radius: 0.2rem;
}

.svc-proximity {
    padding: 1.25rem;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border-bright);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(123, 47, 247, 0.12);
}

.svc-proximity h4 {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--premium-heading);
    margin-bottom: 0.85rem;
}

.svc-proximity__meta {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--premium-text-muted);
}

.svc-proximity__meta span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.svc-proximity__channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.svc-proximity__channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--premium-text-muted);
    background: rgba(123, 47, 247, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.65rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.svc-proximity__channel:hover {
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-2px);
}

.svc-proximity__channel i { color: var(--premium-violet-bright); }

/* ── Hardware catalog ── */
.svc-block--hardware .svc-block__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .svc-block--hardware .svc-block__intro-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: end;
        margin-bottom: 2.5rem;
    }
}

.svc-hardware-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .svc-hardware-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
    .svc-hardware-grid { grid-template-columns: repeat(4, 1fr); }
}

.svc-hardware-card {
    display: flex;
    flex-direction: column;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc-hardware-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 16px 48px rgba(123, 47, 247, 0.15);
}

.svc-hardware-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.svc-hardware-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-hardware-card:hover .svc-hardware-card__img img {
    transform: scale(1.05);
}

.svc-hardware-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-hardware-card__body h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--premium-heading);
    margin-bottom: 0.45rem;
}

.svc-hardware-card__body p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--premium-text-muted);
    flex: 1;
}

/* CTA services variant */
.premium-cta--services {
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(123, 47, 247, 0.45), transparent),
        linear-gradient(160deg, #4c1d95, #312e81 40%, #1e1b4b);
    border-color: rgba(167, 139, 250, 0.4);
}

.premium-cta--services .premium-btn-primary {
    background: #fff;
    color: #4c1d95;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.premium-cta--services .premium-btn-primary:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .svc-float-card { animation: none; }
    .svc-hardware-card,
    .svc-glass,
    .svc-proximity__channel { transition: none; }
}

/* B.one ProConnecte visual */
.svc-visual-proconnecte {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow-violet);
}

.svc-proconnecte-channels {
    display: grid;
    gap: 0.45rem;
}

.svc-proconnecte-channel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
    color: var(--premium-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-proconnecte-channel--active {
    color: var(--premium-violet-bright);
    background: rgba(123, 47, 247, 0.12);
    border-color: var(--premium-border-bright);
}

.svc-proconnecte-feed {
    display: grid;
    gap: 0.65rem;
}

.svc-proconnecte-msg {
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-proconnecte-msg strong {
    display: block;
    font-size: 0.6875rem;
    color: var(--premium-violet-bright);
    margin-bottom: 0.25rem;
}

.svc-proconnecte-msg p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--premium-text-muted);
}

.svc-proconnecte-msg--team {
    background: rgba(123, 47, 247, 0.08);
    border-color: var(--premium-border);
}
