/* ─── Services listing page ─── */
.svo-services-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

/* ─── Section spacing ─── */
.svo-section {
    padding: 80px 0;
    position: relative;
}

/* ─── Section header ─── */
.svo-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(15, 76, 219, 0.08);
    color: #174ae6;
    border: 1px solid rgba(15, 76, 219, 0.14);
    margin-bottom: 20px;
}

.svo-section-heading {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #0f172a;
    margin: 0 0 16px;
}

.svo-section-heading span {
    color: #174ae6;
}

.svo-section-sub {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
}

/* ─── Service card ─── */
.svo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04),
        0 14px 44px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    text-decoration: none;
    color: inherit;
}

.svo-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 4px 20px rgba(15, 23, 42, 0.08),
        0 24px 70px rgba(15, 23, 42, 0.12);
    border-color: rgba(23, 74, 230, 0.22);
    text-decoration: none;
    color: inherit;
}

/* ─── Card thumbnail / gradient bar ─── */
.svo-card-thumb {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svo-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svo-card-thumb-fallback {
    width: 100%;
    height: 100%;
}

.svo-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.2));
}

/* ─── Card icon overlay ─── */
.svo-card-icon {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 1;
}

/* ─── Card body ─── */
.svo-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 32px 26px 24px;
}

.svo-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 10px;
}

.svo-card-desc {
    font-size: 14px;
    line-height: 1.72;
    color: #64748b;
    margin: 0;
    flex: 1;
}

/* ─── Card CTA ─── */
.svo-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #174ae6;
    text-decoration: none;
    transition:
        gap 0.22s ease,
        color 0.22s ease;
}

.svo-card-link:hover {
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
}

.svo-card-link-arrow {
    display: inline-block;
    font-style: normal;
    transition: transform 0.22s ease;
}

.svo-card:hover .svo-card-link-arrow {
    transform: translateX(3px);
}

/* ─── CTA banner ─── */
.svo-cta {
    border-radius: 28px;
    background: linear-gradient(135deg, #001746 0%, #071a4d 55%, #0f2f86 100%);
    color: #fff;
    padding: 56px 48px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.svo-cta::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

.svo-cta-heading {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 14px;
}

.svo-cta-sub {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 480px;
}

.svo-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        background 0.26s ease;
    white-space: nowrap;
}

.svo-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.24);
    background: #f0f7ff;
    color: #0f172a;
    text-decoration: none;
}

/* ─── Gradient presets for cards without images ─── */
.svo-grad-1 {
    background: linear-gradient(135deg, #dbeafe, #6366f1, #0f172a);
}
.svo-grad-2 {
    background: linear-gradient(135deg, #bbf7d0, #22d3ee, #0f172a);
}
.svo-grad-3 {
    background: linear-gradient(135deg, #fde68a, #f0abfc, #0f172a);
}
.svo-grad-4 {
    background: linear-gradient(135deg, #bae6fd, #818cf8, #0f172a);
}
.svo-grad-5 {
    background: linear-gradient(135deg, #ddd6fe, #60a5fa, #0f172a);
}
.svo-grad-6 {
    background: linear-gradient(135deg, #a7f3d0, #34d399, #0f172a);
}
.svo-grad-7 {
    background: linear-gradient(135deg, #fed7aa, #fb923c, #0f172a);
}
.svo-grad-8 {
    background: linear-gradient(135deg, #fca5a5, #f43f5e, #0f172a);
}
.svo-grad-9 {
    background: linear-gradient(135deg, #d9f99d, #4ade80, #0f172a);
}

/* ─── Section variants ─── */
.svo-section--soft {
    background: #f3f7ff;
}

.svo-section--white {
    background: #fff;
}

.svo-section-sub--left {
    margin: 0;
    max-width: 560px;
}

/* ─── Buttons ─── */
.svo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    background: #174ae6;
    color: #fff;
    border: 1px solid #174ae6;
    box-shadow: 0 8px 24px rgba(23, 74, 230, 0.22);
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        background 0.26s ease,
        border-color 0.26s ease,
        color 0.26s ease;
    white-space: nowrap;
}

.svo-btn:hover {
    transform: translateY(-2px);
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    text-decoration: none;
}

.svo-btn i {
    font-size: 12px;
    transition: transform 0.22s ease;
}

.svo-btn:hover i {
    transform: translateX(3px);
}

.svo-cta-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: none;
}

.svo-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
}

.svo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.svo-cta .row {
    position: relative;
    z-index: 1;
}

/* ─── Category quick links ─── */
.svo-cat-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 56px;
}

.svo-cat-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        border-color 0.26s ease,
        color 0.26s ease;
}

.svo-cat-nav-link:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 74, 230, 0.32);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    color: #174ae6;
    text-decoration: none;
}

.svo-cat-nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 76, 219, 0.08);
    color: #174ae6;
    font-size: 12px;
    font-weight: 700;
}

/* ─── Category group ─── */
.svo-group {
    scroll-margin-top: 120px;
}

.svo-group + .svo-group {
    margin-top: 72px;
}

.svo-group-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.svo-group-index {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #071a4d 0%, #174ae6 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(23, 74, 230, 0.24);
}

.svo-group-text {
    flex: 1;
    min-width: 0;
}

.svo-group-title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
}

.svo-group-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin: 6px 0 0;
    max-width: 640px;
}

.svo-group-count {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    white-space: nowrap;
}

/* ─── Technology fit ─── */
.svo-fit-card {
    height: 100%;
    padding: 28px 26px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04),
        0 14px 44px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.svo-fit-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 20px rgba(15, 23, 42, 0.08),
        0 24px 70px rgba(15, 23, 42, 0.12);
    border-color: rgba(23, 74, 230, 0.22);
}

.svo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 76, 219, 0.08);
    color: #174ae6;
    font-size: 19px;
    transition:
        background 0.32s ease,
        color 0.32s ease;
}

.svo-fit-card:hover .svo-icon,
.svo-step:hover .svo-icon {
    background: #174ae6;
    color: #fff;
}

.svo-fit-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
    margin: 18px 0 8px;
}

.svo-fit-desc {
    font-size: 14px;
    line-height: 1.72;
    color: #64748b;
    margin: 0;
}

/* ─── What we build ─── */
.svo-build {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 56px 48px;
    background: linear-gradient(135deg, #071a4d 0%, #174ae6 55%, #2563eb 100%);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.svo-build::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

.svo-build .row {
    position: relative;
    z-index: 1;
}

.svo-badge--invert {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.svo-build .svo-section-heading {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 40px);
}

.svo-build .svo-section-sub {
    color: rgba(255, 255, 255, 0.8);
}

.svo-build-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.svo-build-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    margin: 0;
    padding: 10px 16px 10px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    transition:
        transform 0.26s ease,
        background 0.26s ease,
        border-color 0.26s ease;
}

.svo-build-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
}

.svo-build-item i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: #174ae6;
    font-size: 16px;
}

/* ─── Selected projects ─── */
.svo-projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.svo-projects-foot {
    display: none;
    margin-top: 8px;
}

/* ─── Process ─── */
.svo-steps {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.svo-steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(23, 74, 230, 0),
        rgba(23, 74, 230, 0.28),
        rgba(23, 74, 230, 0)
    );
    pointer-events: none;
}

.svo-step-col {
    position: relative;
    flex: 0 0 calc((100% - 80px) / 5);
    max-width: calc((100% - 80px) / 5);
}

.svo-step {
    position: relative;
    height: 100%;
    padding: 28px 22px 30px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04),
        0 14px 44px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.svo-step:hover {
    transform: translateY(-7px);
    box-shadow:
        0 4px 20px rgba(15, 23, 42, 0.08),
        0 24px 70px rgba(15, 23, 42, 0.12);
    border-color: rgba(23, 74, 230, 0.22);
}

.svo-step-wm {
    position: absolute;
    right: 14px;
    bottom: -14px;
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(23, 74, 230, 0.06);
    pointer-events: none;
    transition:
        transform 0.32s ease,
        color 0.32s ease;
}

.svo-step:hover .svo-step-wm {
    transform: translateY(-4px) scale(1.05);
    color: rgba(23, 74, 230, 0.11);
}

.svo-step-label {
    display: block;
    margin: 20px 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #174ae6;
}

.svo-step-title {
    position: relative;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 10px;
}

.svo-step-desc {
    position: relative;
    font-size: 14px;
    line-height: 1.72;
    color: #64748b;
    margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1199px) {
    .svo-steps::before {
        display: none;
    }
    .svo-step-col {
        flex-basis: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 991px) {
    .svo-section {
        padding: 64px 0;
    }
    .svo-cta {
        padding: 44px 36px;
    }
    .svo-cta-actions {
        justify-content: flex-start;
    }
    .svo-build {
        padding: 44px 36px;
    }
    .svo-group + .svo-group {
        margin-top: 56px;
    }
    .svo-cat-nav {
        margin-bottom: 44px;
    }
}

@media (max-width: 767px) {
    .svo-section {
        padding: 52px 0;
    }
    .svo-card-thumb {
        height: 160px;
    }
    .svo-cta {
        padding: 36px 28px;
        border-radius: 22px;
    }
    .svo-cta-sub {
        max-width: 100%;
    }
    .svo-build {
        padding: 36px 28px;
        border-radius: 22px;
    }
    .svo-step-col {
        flex-basis: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
    .svo-group-count {
        display: none;
    }
    .svo-projects-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 36px;
    }
    .svo-projects-head .svo-btn {
        display: none;
    }
    .svo-projects-foot {
        display: block;
    }
}

@media (max-width: 575px) {
    .svo-section {
        padding: 42px 0;
    }
    .svo-card {
        border-radius: 20px;
    }
    .svo-card-thumb {
        height: 145px;
    }
    .svo-card-body {
        padding: 28px 20px 20px;
    }
    .svo-cta {
        padding: 30px 22px;
        border-radius: 18px;
    }
    .svo-cta-btn {
        width: 100%;
    }
    .svo-btn {
        width: 100%;
    }
    .svo-build {
        padding: 30px 22px;
        border-radius: 18px;
    }
    .svo-build-list {
        grid-template-columns: 1fr;
    }
    .svo-step-col {
        flex-basis: 100%;
        max-width: 100%;
    }
    .svo-group-head {
        gap: 14px;
        padding-bottom: 18px;
        margin-bottom: 24px;
    }
    .svo-group-index {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 15px;
    }
    .svo-cat-nav {
        justify-content: flex-start;
    }
    .svo-fit-card {
        border-radius: 20px;
        padding: 24px 20px;
    }
    .svo-step {
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svo-services-page .wow {
        animation: none !important;
        visibility: visible !important;
    }

    .svo-card,
    .svo-fit-card,
    .svo-step,
    .svo-step-wm,
    .svo-build-item,
    .svo-btn,
    .svo-cta-btn,
    .svo-cat-nav-link {
        transition: none;
    }
}
