/* =========================
   Service Page (shared by all service pages)
   ========================= */

.service-page {
    overflow: hidden;
}

.svc-section {
    position: relative;
    padding: 0 0 var(--section-space-lg);
}

.svc-head {
    margin-bottom: var(--section-title-gap);
}

.svc-head--center {
    text-align: center;
}

.svc-head--center .svc-description {
    margin-left: auto;
    margin-right: auto;
}

.svc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(137, 183, 255, 0.9);
}

.svc-title {
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.svc-description {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: 1rem;
    line-height: 1.58;
    color: rgba(224, 232, 255, 0.72);
}

/* Shared surface */
.svc-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

/* Buttons */
.svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 19px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.svc-btn--primary {
    background: linear-gradient(180deg, rgba(0, 95, 255, 0.98), rgba(0, 62, 172, 0.98));
    border: 1px solid rgba(115, 161, 255, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 14px 30px rgba(0, 68, 255, 0.22),
        0 0 24px rgba(0, 102, 255, 0.2);
}

.svc-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 20px 34px rgba(0, 68, 255, 0.28),
        0 0 30px rgba(0, 102, 255, 0.24);
}

.svc-btn--ghost {
    color: rgba(233, 240, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(121, 145, 235, 0.18);
}

.svc-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(145, 171, 255, 0.32);
}

/* Entrance animation guard (see js/service-animations.js) */
.svc-anim-pending .svc-hero__card,
.svc-anim-pending .svc-head > *,
.svc-anim-pending .svc-cta,
.svc-anim-pending .svc-feature,
.svc-anim-pending .svc-step,
.svc-anim-pending .svc-package,
.svc-anim-pending .svc-faq__item,
.svc-anim-pending .svc-work,
.svc-anim-pending .svc-included,
.svc-anim-pending .svc-note {
    opacity: 0;
}

/* =========================
   Hero
   ========================= */

.svc-hero {
    padding: 150px 0 var(--section-space-lg);
}

.svc-hero__card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    padding: 45px;
    border-radius: var(--card-radius-lg);
}

.svc-hero__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(0, 81, 255, 0.18), transparent 45%),
        radial-gradient(circle at 90% 100%, rgba(149, 191, 71, 0.08), transparent 40%);
    pointer-events: none;
}

.svc-hero__content,
.svc-hero__visual {
    position: relative;
    z-index: 1;
}

.svc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #eaf2ff;
    background: rgba(10, 15, 34, 0.82);
    border: 1px solid rgba(134, 165, 255, 0.16);
}

.svc-badge i {
    color: #95bf47;
}

.svc-hero__title {
    margin: 0;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.svc-hero__accent {
    background: linear-gradient(90deg, #89b7ff, #3d7bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.svc-hero__text {
    max-width: 540px;
    margin: 20px 0 0;
    font-size: 1.05rem;
    line-height: 1.58;
    color: rgba(224, 232, 255, 0.78);
}

.svc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.svc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.svc-stat {
    padding: 18px 18px;
    border-radius: var(--card-radius-sm);
    text-align: center;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(124, 151, 255, 0.12);
}

.svc-stat strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
}

.svc-stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: rgba(224, 232, 255, 0.66);
}

.svc-hero__mockup {
    margin-top: 14px;
}

.svc-hero__mockup .svc-mockup {
    padding: 21px 18px 16px;
    border-radius: var(--card-radius-sm);
    border: 1px solid rgba(124, 151, 255, 0.12);
}

.svc-hero__mockup .svc-phone {
    right: 18px;
    bottom: 12px;
}

body.rtl .svc-hero__mockup .svc-phone {
    left: 18px;
}


/* =========================
   Hero rotator (cycles through the stores)
   ========================= */

.svc-rotator {
    position: relative;
}

/* room under the devices for the store label */
.svc-hero__mockup .svc-mockup.svc-rotator {
    padding-bottom: 50px;
}

.svc-hero__mockup .svc-rotator .svc-phone {
    bottom: 46px;
}

/* phone always sits above the laptop */
.svc-mockup .svc-phone {
    z-index: 3;
}

.svc-mockup .svc-screen--stack,
.svc-mockup.is-active .svc-screen--stack {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    animation: none;
    background: #ffffff;
}

.svc-layer {
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 0;
    opacity: 0;
    transform: scale(1.06);
    filter: blur(8px);
    transition:
        opacity 0.8s ease,
        transform 1s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.8s ease;
}

.svc-layer.is-current {
    opacity: 1;
    transform: none;
    filter: none;
    z-index: 2;
}

.svc-layer.is-leaving {
    z-index: 1;
}

/* phone screen switches a beat after the laptop */
.svc-phone .svc-layer {
    transition-delay: 0.12s;
}

/* store label */
.svc-rotator__label {
    position: absolute;
    left: 18px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: rgba(8, 12, 30, 0.78);
    border: 1px solid rgba(124, 151, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 4;
    overflow: hidden;
}

.svc-rotator.is-live .svc-rotator__label {
    opacity: 1;
    transform: none;
}

body.rtl .svc-rotator__label {
    left: auto;
    right: 18px;
    padding: 5px 5px 5px 12px;
}

.svc-rotator__logos {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.svc-rotator__logos img,
.svc-rotator__names span {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.svc-rotator__logos img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.6);
}

.svc-rotator__logos img.is-current {
    opacity: 1;
    transform: none;
}

.svc-rotator__names {
    display: grid;
    font-size: 0.74rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.svc-rotator__names span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(8px);
}

.svc-rotator__names span.is-current {
    opacity: 1;
    transform: none;
}

.svc-rotator__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.svc-rotator__progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #3d7bff, #89b7ff);
    transform: scaleX(0);
    transform-origin: left;
}

body.rtl .svc-rotator__progress i {
    transform-origin: right;
}

@media (max-width: 640px) {
    .svc-hero__mockup .svc-mockup.svc-rotator {
        padding-bottom: 42px;
    }

    .svc-hero__mockup .svc-rotator .svc-phone {
        bottom: 38px;
    }

    .svc-rotator__label {
        left: 14px;
        bottom: 8px;
        gap: 7px;
    }

    body.rtl .svc-rotator__label {
        right: 14px;
    }

    .svc-rotator__logos {
        width: 20px;
        height: 20px;
    }

    .svc-rotator__names {
        font-size: 0.66rem;
    }
}

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

}

/* =========================
   What I do
   ========================= */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.svc-feature {
    padding: 22px 19px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.svc-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 150, 255, 0.24);
}

.svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.25rem;
    color: #89b7ff;
    background: rgba(0, 81, 255, 0.12);
    border: 1px solid rgba(115, 161, 255, 0.18);
}

.svc-feature h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffffff;
}

.svc-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.52;
    color: rgba(224, 232, 255, 0.66);
}

/* =========================
   Selected work — device mockups
   ========================= */

.svc-work {
    position: relative;
}

.svc-work-slider {
    padding: 10px 2px 6px;
}

.swiper-slide.svc-project {
    height: auto;
}

.svc-work-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.svc-work-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 151, 255, 0.22);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.svc-work-nav:hover {
    background: rgba(0, 95, 255, 0.55);
}

.svc-work-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    background: rgba(255, 255, 255, 0.04);
}

.svc-work-nav.swiper-button-lock {
    display: none;
}

body.rtl .svc-work-nav i {
    transform: scaleX(-1);
}

.svc-work-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-work-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.3s ease, background 0.3s ease;
}

.svc-work-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #3d7bff;
}

.svc-project {
    display: flex;
    flex-direction: column;
    padding: 0 0 19px;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.svc-project:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 140, 255, 0.22);
}

.svc-mockup {
    position: relative;
    padding: 27px 27px 21px;
    background:
        radial-gradient(circle at 50% 40%, rgba(0, 81, 255, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(14, 24, 60, 0.6), rgba(4, 8, 24, 0));
}

/* Laptop */
.svc-laptop {
    width: 86%;
}

.svc-laptop__screen {
    padding: 8px 8px 10px;
    border-radius: 14px 14px 4px 4px;
    background: #0a0d18;
    border: 1px solid rgba(160, 180, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.svc-laptop__screen .svc-screen {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
}

.svc-laptop__base {
    position: relative;
    width: 112%;
    height: 12px;
    margin-left: -6%;
    border-radius: 2px 2px 12px 12px;
    background: linear-gradient(180deg, #2a3150, #12162a);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.svc-laptop__base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 16%;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 0 0 6px 6px;
    background: #0a0d18;
}

/* Phone */
.svc-phone {
    position: absolute;
    right: 26px;
    bottom: 14px;
    width: 23%;
    padding: 5px;
    border-radius: 18px;
    background: #0a0d18;
    border: 1px solid rgba(160, 180, 255, 0.24);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(0, 81, 255, 0.18);
}

.svc-phone .svc-screen {
    aspect-ratio: 9 / 19;
    border-radius: 13px;
}

/* Screens scroll through the full-page screenshot */
.svc-screen {
    width: 100%;
    background-color: #0b1433;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 0;
    animation: none;
}

/* Phone and laptop scroll together at the same pace */
.svc-screen--mobile {
    position: relative;
    overflow: hidden;
}

.svc-screen {
    position: relative;
    overflow: hidden;
}

/* Floating chat/WhatsApp button of a store (stays fixed while the page scrolls) */
.svc-screen__float {
    position: absolute;
    right: 3%;
    bottom: 5%;
    width: 3.6%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.svc-screen--mobile .svc-screen__float {
    right: 5%;
    bottom: 3.5%;
    width: 13%;
}

/* Fixed bottom toolbar of a store (stays put while the page scrolls) */
.svc-screen__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
}

/* Starts 1s after the mockup is revealed; pauses in place when not playing */
.svc-mockup.is-active .svc-screen {
    animation: svc-scroll 18s linear 1s infinite alternate;
    animation-play-state: paused;
}

.svc-mockup.is-active.is-playing .svc-screen {
    animation-play-state: running;
}

/* project cards react to hover / active slide, so a short delay feels right */
.svc-work .svc-mockup.is-active .svc-screen {
    animation-delay: 0.3s;
}

@keyframes svc-scroll {
    0% { background-position: 50% 0; }
    88%, 100% { background-position: 50% 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-screen {
        animation: none;
    }
}

/* Info */
.svc-project__body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "logo name stars"
        "logo type type";
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    padding: 4px 19px 0;
}

.svc-project__info {
    display: contents;
}

.svc-project__logo {
    grid-area: logo;
}

.svc-project__info h3 {
    grid-area: name;
}

.svc-project__info p {
    grid-area: type;
}

.svc-project__body > .svc-project__stars {
    grid-area: stars;
}

.svc-project__logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(124, 151, 255, 0.2);
}


.svc-project__info h3 {
    margin: 0;
    min-width: 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffffff;
}

.svc-project__info p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(224, 232, 255, 0.6);
}

.svc-project__stars {
    flex-shrink: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #ffc94a;
}

.svc-project__quote {
    min-width: 0;
}

.svc-project__quote p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(230, 236, 255, 0.8);
}

.svc-project__quote p::before {
    content: "“ ";
    color: #89b7ff;
    font-weight: 700;
}


/* =========================
   Project card: tabs + Before/After
   ========================= */

.svc-tabs {
    position: absolute;
    bottom: 16px;
    inset-inline-end: 18px;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 151, 255, 0.16);
    z-index: 2;
}

/* every project card reserves the same space for the tabs row,
   so cards with and without tabs keep identical layouts */
.svc-work .svc-project {
    position: relative;
    padding-bottom: 66px;
}

.svc-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(224, 232, 255, 0.7);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.svc-tab i {
    font-size: 0.72rem;
}

.svc-tab:hover {
    color: #ffffff;
}

.svc-tab.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 95, 255, 0.98), rgba(0, 62, 172, 0.98));
    box-shadow: 0 6px 16px rgba(0, 68, 255, 0.28);
}

.svc-views {
    display: grid;
}

.svc-view {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.svc-view.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* static screen (no scroll) */
.svc-mockup .svc-screen--static,
.svc-mockup.is-active .svc-screen--static {
    animation: none;
    background-size: cover;
    background-position: 50% 0;
}

/* phone holding the compare slider is a bit bigger */
.svc-phone--compare {
    width: 27%;
}

.svc-compare {
    position: relative;
    aspect-ratio: var(--ratio, 430 / 786);
    border-radius: 13px;
    overflow: hidden;
    background: #ffffff;
    user-select: none;
    touch-action: pan-y;
}

.svc-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
}

.svc-compare__before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.svc-compare__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 62, 172, 0.35), 0 0 12px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.svc-compare__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    font-size: 0.6rem;
    color: #ffffff;
    background: linear-gradient(180deg, #1f6bff, #0047c2);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.svc-compare__tag {
    position: absolute;
    top: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    pointer-events: none;
}

.svc-compare__tag--before {
    left: 6px;
    background: rgba(200, 30, 45, 0.92);
}

.svc-compare__tag--after {
    right: 6px;
    background: rgba(20, 140, 70, 0.92);
}

/* The whole compare area is draggable (pointer events in JS);
   the range input stays only for keyboard users */
.svc-compare {
    cursor: ew-resize;
}

.svc-compare.is-dragging .svc-compare__knob {
    transform: translate(-50%, -50%) scale(1.12);
}

.svc-compare__range {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    bottom: 0;
    left: 0;
}

.svc-compare__range:focus-visible ~ .svc-compare__line .svc-compare__knob,
.svc-compare:focus-within .svc-compare__knob {
    outline: 2px solid #89b7ff;
    outline-offset: 2px;
}

.svc-compare__expand {
    position: absolute;
    top: 100%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 95, 255, 0.98), rgba(0, 62, 172, 0.98));
    border: 1px solid rgba(115, 161, 255, 0.32);
    box-shadow: 0 8px 18px rgba(0, 68, 255, 0.28);
    cursor: pointer;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
    z-index: 3;
}

.svc-mockup--ba .svc-laptop {
    width: 80%;
}

.svc-compare__expand:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 22px rgba(0, 68, 255, 0.38);
}

/* Quote and "what changed" share one slot: both are stacked in the same grid cell,
   so the card keeps exactly the same height when switching tabs */
.svc-project__extra {
    display: grid;
    margin: 16px 22px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(124, 151, 255, 0.12);
}

.svc-project__extra > * {
    grid-area: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.svc-project.has-ba .svc-project__changes,
.svc-project.has-ba.is-ba .svc-project__quote {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

.svc-project.has-ba.is-ba .svc-project__changes {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* "What changed" list */
.svc-project__changes {
    min-width: 0;
}

.svc-project__changes-title {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #89b7ff;
}

.svc-project__changes ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-project__changes li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1.45;
    color: rgba(230, 236, 255, 0.86);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 151, 255, 0.14);
}

.svc-project__changes li i {
    font-size: 0.62rem;
    color: #4ade80;
}

/* Modal */
.svc-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.svc-modal.is-open {
    opacity: 1;
}

.svc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 14, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.svc-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(420px, 100%);
    padding: 16px;
    border-radius: var(--card-radius-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.3s ease;
}

.svc-modal.is-open .svc-modal__panel {
    transform: none;
}

.svc-modal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.svc-modal__head img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.svc-modal__head div {
    flex: 1;
    min-width: 0;
}

.svc-modal__head strong {
    display: block;
    font-size: 1rem;
    color: #ffffff;
}

.svc-modal__head span {
    font-size: 0.8rem;
    color: rgba(224, 232, 255, 0.65);
}

.svc-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(124, 151, 255, 0.2);
    cursor: pointer;
}

.svc-modal__phone {
    height: min(68vh, 640px);
    aspect-ratio: auto;
    width: fit-content;
    max-width: 100%;
    padding: 7px;
    border-radius: 30px;
    background: #0a0d18;
    border: 1px solid rgba(160, 180, 255, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 81, 255, 0.2);
}

.svc-modal__phone .svc-compare {
    height: 100%;
    width: auto;
    border-radius: 24px;
}

/* laptop compare inside the card */
.svc-compare--laptop {
    border-radius: 6px;
}

.svc-compare--laptop .svc-compare__tag {
    top: 6px;
    font-size: 0.48rem;
}

/* modal: device switch */
.svc-modal__devices {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 151, 255, 0.16);
}

.svc-modal__devices button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(224, 232, 255, 0.7);
    background: transparent;
    cursor: pointer;
}

.svc-modal__devices button.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 95, 255, 0.98), rgba(0, 62, 172, 0.98));
}

.svc-modal__stage {
    display: flex;
    justify-content: center;
    width: 100%;
}

.svc-modal__laptop {
    display: none;
    width: 100%;
    max-width: calc((100vh - 230px) * 1.71);
    padding: 8px;
    border-radius: 16px;
    background: #0a0d18;
    border: 1px solid rgba(160, 180, 255, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 81, 255, 0.2);
}

.svc-modal__laptop .svc-compare {
    border-radius: 8px;
}

.svc-modal.is-desktop .svc-modal__laptop {
    display: block;
}

.svc-modal.is-desktop .svc-modal__phone {
    display: none;
}

.svc-modal.is-desktop .svc-modal__panel {
    width: min(1040px, 100%);
}

.svc-compare--big .svc-compare__tag {
    top: 12px;
    padding: 5px 11px;
    font-size: 0.7rem;
}

.svc-compare--big .svc-compare__tag--before {
    left: 12px;
}

.svc-compare--big .svc-compare__tag--after {
    right: 12px;
}

.svc-compare--big .svc-compare__knob {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
}

.svc-modal__hint {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(224, 232, 255, 0.6);
}

body.svc-modal-open {
    overflow: hidden;
}

/* =========================
   Process
   ========================= */

.svc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.svc-step {
    padding: 22px 19px;
}

.svc-step__num {
    display: block;
    margin-bottom: 16px;
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(137, 183, 255, 0.55);
}

.svc-step h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffffff;
}

.svc-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.52;
    color: rgba(224, 232, 255, 0.66);
}

/* =========================
   Packages
   ========================= */

.svc-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.svc-package {
    display: flex;
    flex-direction: column;
    padding: 27px 24px;
}

.svc-package--featured {
    border-color: rgba(115, 161, 255, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 22px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 81, 255, 0.18);
}

.svc-package__tag {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 95, 255, 0.98), rgba(0, 62, 172, 0.98));
}

.svc-package h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.svc-package__for {
    margin: 8px 0 0;
    font-size: 0.88rem;
    color: rgba(224, 232, 255, 0.62);
}

.svc-package__price {
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid rgba(124, 151, 255, 0.12);
    border-bottom: 1px solid rgba(124, 151, 255, 0.12);
}

.svc-package__price small {
    display: block;
    font-size: 0.78rem;
    color: rgba(224, 232, 255, 0.55);
}

.svc-package__price strong {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.svc-package__price em {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    font-style: normal;
    color: rgba(137, 183, 255, 0.8);
}

.svc-package__time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 500;
    color: #d6e4ff;
    background: rgba(0, 95, 255, 0.12);
    border: 1px solid rgba(115, 161, 255, 0.22);
}

.svc-package__time i {
    font-size: 0.78rem;
    color: #89b7ff;
}

.svc-package__list {
    flex: 1;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.svc-package__list li {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.92rem;
    color: rgba(230, 236, 255, 0.82);
}

.svc-package__list i {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #89b7ff;
}

.svc-package .svc-btn {
    width: 100%;
}

.svc-note {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(224, 232, 255, 0.55);
}

/* Included with every store */
.svc-included {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 22px;
    padding: 21px 24px;
}

.svc-included h3 {
    margin: 0;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.svc-included__items {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
}

.svc-included__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.svc-included__item .svc-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.svc-included__item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(230, 236, 255, 0.85);
}

/* =========================
   Testimonials
   ========================= */

.svc-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.svc-quote {
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.svc-quote__stars {
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #ffc94a;
    letter-spacing: 3px;
}

.svc-quote p {
    flex: 1;
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(230, 236, 255, 0.84);
}

.svc-quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.svc-quote__author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.svc-quote__author strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

/* =========================
   FAQ
   ========================= */

.svc-faq {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.svc-faq__item {
    border-radius: var(--card-radius-sm);
}

.svc-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 21px;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: start;
    color: #ffffff;
    background: none;
    border: 0;
    cursor: pointer;
}

.svc-faq__q i {
    color: #89b7ff;
    transition: transform 0.3s ease;
}

.svc-faq__item.is-open .svc-faq__q i {
    transform: rotate(45deg);
}

.svc-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.svc-faq__item.is-open .svc-faq__a {
    grid-template-rows: 1fr;
}

.svc-faq__a > div {
    overflow: hidden;
}

.svc-faq__a p {
    margin: 0;
    padding: 0 21px 18px;
    font-size: 0.94rem;
    line-height: 1.58;
    color: rgba(224, 232, 255, 0.7);
}

/* =========================
   Final CTA
   ========================= */

.svc-cta {
    padding: 51px 32px;
    text-align: center;
    border-radius: var(--card-radius-lg);
}

.svc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 81, 255, 0.22), transparent 55%);
    pointer-events: none;
}

.svc-cta > * {
    position: relative;
}

.svc-cta .svc-description {
    margin-left: auto;
    margin-right: auto;
}

.svc-cta .svc-hero__actions {
    justify-content: center;
}

/* =========================
   RTL
   ========================= */

body.rtl .svc-package__tag {
    right: auto;
    left: 22px;
}

body.rtl .svc-phone {
    right: auto;
    left: 26px;
}

body.rtl .svc-laptop {
    margin-left: auto;
}

body.rtl .svc-project__quote p::before {
    content: "” ";
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
    .svc-hero__card {
        grid-template-columns: 1fr;
        padding: 35px 29px;
    }

    .svc-grid,
    .svc-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-quotes {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-packages {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .svc-section {
        padding-bottom: var(--section-space-sm);
    }

    .svc-head {
        margin-bottom: var(--section-title-gap-mobile);
    }

    /* Hero: compact so most of it fits on the first screen */
    .svc-hero {
        padding-top: 82px;
        padding-bottom: var(--section-space-sm);
    }

    .svc-hero__card {
        gap: 18px;
        padding: 18px 16px 18px;
        border-radius: var(--card-radius-md);
    }

    .svc-badge {
        min-height: 30px;
        margin-bottom: 12px;
        padding: 0 12px;
        font-size: 0.74rem;
    }

    .svc-hero__title {
        font-size: 1.85rem;
    }

    .svc-hero__text {
        margin-top: 10px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .svc-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .svc-hero__actions .svc-btn {
        width: 100%;
        min-height: 46px;
        padding: 0 10px;
        font-size: 0.86rem;
        gap: 8px;
    }

    .svc-cta .svc-hero__actions {
        grid-template-columns: 1fr;
    }

    .svc-stats {
        gap: 8px;
    }

    .svc-stat {
        padding: 12px 4px;
    }

    .svc-hero__mockup {
        margin-top: 10px;
    }

    .svc-hero__mockup .svc-mockup {
        padding: 16px 14px 12px;
    }

    .svc-stat strong {
        font-size: 1.45rem;
    }

    .svc-stat span {
        margin-top: 6px;
        font-size: 0.62rem;
        white-space: nowrap;
    }

    .svc-project__info h3,
    .svc-project__info p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .svc-project__info h3 {
        font-size: 0.95rem;
    }

    .svc-project__stars {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .svc-project__body {
        column-gap: 12px;
    }

    .svc-project__info p {
        font-size: 0.68rem;
    }

    .svc-grid,
    .svc-steps,
    .svc-quotes {
        grid-template-columns: 1fr;
    }

    .svc-mockup {
        padding: 19px 16px 16px;
    }

    .svc-phone {
        right: 16px;
        bottom: 10px;
        border-radius: 14px;
    }

    body.rtl .svc-phone {
        left: 16px;
    }

    .svc-phone .svc-screen {
        border-radius: 10px;
    }

    .svc-project:hover {
        transform: none;
    }

    .svc-included {
        flex-direction: column;
        align-items: flex-start;
        padding: 19px 18px;
    }

    .svc-cta {
        padding: 35px 18px;
    }
}

@media (max-width: 380px) {
    .svc-project__body {
        gap: 10px;
        padding: 4px 18px 0;
    }

    .svc-project__logo {
        width: 42px;
        height: 42px;
    }

    .svc-project__info p {
        font-size: 0.64rem;
    }

    .svc-stat span {
        font-size: 0.58rem;
    }
}

@media (max-width: 640px) {
    .svc-tabs {
        bottom: 14px;
        inset-inline-end: 14px;
    }

    .svc-work .svc-project {
        padding-bottom: 60px;
    }

    .svc-tab {
        padding: 6px 11px;
        font-size: 0.72rem;
    }

    .svc-phone--compare {
        width: 31%;
    }

    .svc-compare__tag {
        top: 5px;
        padding: 2px 5px;
        font-size: 0.42rem;
    }

    .svc-compare__knob {
        width: 20px;
        height: 20px;
        font-size: 0.5rem;
    }

    .svc-compare__expand {
        padding: 5px 9px;
        font-size: 0.64rem;
    }

    .svc-project__extra {
        margin: 12px 18px 0;
    }

    .svc-project__changes li {
        font-size: 0.64rem;
        padding: 3px 8px;
    }
}

@media (max-width: 400px) {
    .svc-project__info h3 {
        font-size: 0.86rem;
    }
}
