.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 52% 62% at 24% 52%, rgba(29, 78, 216, 0.17), transparent 70%),
        radial-gradient(ellipse 38% 44% at 88% 8%, rgba(99, 102, 241, 0.09), transparent 72%),
        #050507;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    padding: 110px 0 64px;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 100%);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero.is-ready .hero-canvas {
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1320px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: min(540px, 64vh);
    opacity: 0;
    transition: opacity 1.4s ease 0.2s;
}

.hero.is-ready .hero-stage {
    opacity: 1;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit--a {
    inset: -8% -16%;
    transform: rotate(-14deg);
    animation: heroOrbitA 34s linear infinite;
}

.hero-orbit--b {
    inset: -20% -4%;
    transform: rotate(24deg);
    animation: heroOrbitB 46s linear infinite;
}

@keyframes heroOrbitA {
    to { transform: rotate(346deg); }
}

@keyframes heroOrbitB {
    to { transform: rotate(-336deg); }
}

.hero-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0 solid rgba(255, 255, 255, 0.5);
}

.hero-corner--tl {
    top: 0;
    left: 0;
    border-top-width: 1px;
    border-left-width: 1px;
}

.hero-corner--tr {
    top: 0;
    right: 0;
    border-top-width: 1px;
    border-right-width: 1px;
}

.hero-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.hero-corner--br {
    bottom: 0;
    right: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

.hero-stage-hud {
    position: absolute;
    inset-inline: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #bbbbbb;
}

.hero-stage-hud--top {
    top: 16px;
}

.hero-stage-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-stage-name::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.9);
}

.hero-stage-label {
    display: inline-block;
}

.hero-stage-label.is-swap {
    animation: heroLabelSwap 0.7s var(--transition);
}

@keyframes heroLabelSwap {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stage-index {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.hero-stage-progress {
    position: absolute;
    inset-inline: 18px;
    bottom: 16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-stage-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    transform-origin: right center;
    transform: scaleX(0);
}

.hero--static .hero-stage,
.hero--static .hero-canvas {
    display: none;
}

.hero--static .hero-layout {
    grid-template-columns: minmax(0, 1fr);
}

.hero--static .hero-content {
    max-width: 780px;
}

.hero-manager-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    color: #bbbbbb;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(34, 111, 197, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(2.6rem, 4.3vw, 4.25rem);
    line-height: 1.3;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
    font-weight: 900;
    color: var(--white);
}

.hero-title .text-stroke {
    -webkit-text-stroke: 1.5px var(--white);
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    transition: all 0.4s ease;
}

.hero-title .text-stroke:hover {
    -webkit-text-fill-color: var(--white);
}

.hero-title-accent {
    background: linear-gradient(120deg, #bfdbfe 0%, #60a5fa 45%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #bbbbbb;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    text-decoration: none;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.28),
                0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-btn-text {
    position: relative;
    z-index: 1;
    color: var(--black);
}

.hero-btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--black);
}

.hero-btn-primary:hover .hero-btn-icon {
    transform: translateX(-4px);
}

.hero-btn-shine {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.22) 50%,
        transparent 100%
    );
    transition: right 0.6s ease;
}

.hero-btn-primary:hover .hero-btn-shine {
    right: 100%;
}

.hero .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e1e1e1;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.hero-btn-primary:focus-visible,
.hero .btn-ghost:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 3px;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll-wheel {
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    40% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.hero-scroll-text {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #bbbbbb;
}

.hero-line {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    z-index: 4;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 15%,
        rgba(255, 255, 255, 0.4) 35%,
        var(--white) 50%,
        rgba(255, 255, 255, 0.4) 65%,
        rgba(255, 255, 255, 0.12) 85%,
        transparent 100%
    );
    opacity: 0.5;
    animation: heroLineShimmer 4s ease-in-out infinite;
}

@keyframes heroLineShimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

@media (max-width: 1023px) {
    .hero {
        padding: 104px 0 56px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero-stage {
        order: -1;
        max-width: 560px;
        margin-inline: auto;
        aspect-ratio: 4 / 3;
        max-height: 42vh;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-scroll-indicator {
        justify-content: center;
    }

    .hero {
        background:
            radial-gradient(ellipse 80% 40% at 50% 24%, rgba(29, 78, 216, 0.17), transparent 70%),
            radial-gradient(ellipse 60% 30% at 90% 6%, rgba(99, 102, 241, 0.09), transparent 72%),
            #050507;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-sub {
        font-size: 0.98rem;
    }

    .hero-manager-badge {
        font-size: 0.7rem;
    }

    .hero-grid-pattern {
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit,
    .hero-line,
    .hero-badge-dot,
    .hero-scroll-wheel {
        animation: none;
    }
}

.marquee-section {
    background: var(--black);
    padding: 18px 0;
    overflow: hidden;
    direction: ltr;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.marquee-track .dot {
    color: var(--gray-600);
    font-size: 0.7rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 48px;
}

.services-2026 {
    position: relative;
    padding: 130px 0 0;
    background:
        radial-gradient(circle at 14% 5%, rgba(10, 10, 10, 0.05), transparent 24%),
        radial-gradient(circle at 86% 3%, rgba(29, 78, 216, 0.06), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8f8f9 100%);
}

.svc-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.services-2026 .container {
    position: relative;
    z-index: 2;
}

.services-head {
    max-width: 880px;
    margin: 0 auto 36px;
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.services-kicker::before,
.services-kicker::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111111;
}

.services-head h2 {
    margin: 0;
    color: #050505;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.services-head p {
    max-width: 760px;
    margin: 22px auto 0;
    color: #5f5f5f;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 2.15;
}

.svc-scroller {
    --svc-step-h: 72vh;
    position: relative;
    height: calc(100vh + (var(--svc-count) - 1) * var(--svc-step-h));
    height: calc(100svh + (var(--svc-count) - 1) * var(--svc-step-h));
}

.svc-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
}

.svc-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 96px 32px;
    padding-inline-start: max(24px, calc((100vw - 1440px) / 2 + 24px));
    padding-inline-end: clamp(24px, 4vw, 64px);
}

.svc-dots {
    display: none;
}

.svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.svc-step {
    --svc-ny: 23px;
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
}

.svc-step::before {
    content: "";
    position: absolute;
    inset-inline-start: 17.5px;
    top: var(--svc-ny);
    bottom: calc(var(--svc-ny) * -1);
    width: 1px;
    background: #d9dce4;
    transition: background 0.5s ease;
}

.svc-step:last-child::before {
    display: none;
}

.svc-step.is-done::before,
.svc-step.is-active::before {
    background: var(--accent);
}

.svc-node {
    position: relative;
    z-index: 1;
    width: 13px;
    height: 13px;
    margin: calc(var(--svc-ny) - 6.5px) auto 0;
    border: 1.5px solid #c3c7d2;
    border-radius: 50%;
    background: #ffffff;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.svc-step.is-done .svc-node {
    border-color: var(--accent);
}

.svc-step.is-active .svc-node {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.14);
}

.svc-step.is-active .svc-node::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(29, 78, 216, 0.5);
    border-radius: 50%;
    animation: svcPulse 2.4s ease-out infinite;
}

@keyframes svcPulse {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.svc-step-title {
    margin: 0;
}

.svc-head-btn {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #8b90a0;
    font: inherit;
    text-align: start;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: color 0.35s ease, padding 0.5s var(--transition);
}

.svc-head-btn:hover,
.svc-head-btn:focus,
.svc-head-btn:active {
    background: none;
    box-shadow: none;
    text-decoration: none;
}

.svc-head-btn:focus {
    color: #8b90a0;
}

.svc-head-btn:hover,
.svc-step.is-active .svc-head-btn,
.svc-step.is-active .svc-head-btn:focus {
    color: #0a0a0a;
}

.svc-head-btn:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
    border-radius: 6px;
}

.svc-num {
    flex: 0 0 auto;
    min-width: 26px;
    color: #a4a9b6;
    font-size: 0.78rem;
    font-weight: 800;
    transition: color 0.35s ease;
}

.svc-name {
    min-width: 0;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.6;
    text-wrap: balance;
    transition: font-size 0.5s var(--transition), color 0.35s ease, line-height 0.5s var(--transition);
}

.svc-step.is-active .svc-head-btn {
    padding-top: 0;
    color: #0a0a0a;
}

.svc-step.is-active .svc-num {
    color: var(--accent);
}

.svc-step.is-active .svc-name {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.svc-step-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.6s var(--transition), opacity 0.35s ease;
}

.svc-step.is-active .svc-step-body {
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 0.6s var(--transition), opacity 0.5s ease 0.15s;
}

.svc-step-inner {
    min-height: 0;
    overflow: hidden;
    padding-inline-start: 38px;
}

.svc-step-inner p {
    max-width: 470px;
    margin: 6px 0 0;
    color: #5a5f70;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 2.05;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 14px;
}

.svc-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #2a2d38;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.4;
}

.svc-visual {
    position: relative;
    overflow: hidden;
    border-inline-start: 1px solid rgba(10, 10, 10, 0.09);
    background:
        radial-gradient(ellipse 62% 52% at 50% 54%, rgba(29, 78, 216, 0.08), transparent 72%),
        radial-gradient(circle, rgba(10, 10, 10, 0.17) 1px, transparent 1.5px) 0 0 / 22px 22px,
        #f7f8fa;
}

.svc-viewport {
    position: absolute;
    inset: 72px clamp(16px, 3vw, 56px) 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.svc-rail {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translate3d(0, calc((var(--pos, 0) + 0.5) / var(--svc-count) * -100%), 0);
    will-change: transform;
}

.svc-plate {
    position: relative;
    width: 100%;
    aspect-ratio: 720 / 420;
    opacity: var(--o, 1);
}

.svc-plate-in {
    position: absolute;
    inset: 0;
    transform: translate3d(0, calc(var(--e, 1) * -16px), 0);
}

.svc-plate svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.svc-plate .sd {
    fill: url(#svcHatch);
    stroke: #0a0a0a;
    stroke-width: 1.3;
    stroke-linejoin: round;
}

.svc-plate .tp {
    fill: #ffffff;
    stroke: #0a0a0a;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.svc-plate .gr {
    fill: none;
    stroke: rgba(10, 10, 10, 0.07);
    stroke-width: 1;
}

.svc-plate .ib {
    fill: none;
    stroke: rgba(10, 10, 10, 0.22);
    stroke-width: 1;
    stroke-dasharray: 2 3;
}

.svc-plate .d,
.svc-plate .fi {
    --q: clamp(0, calc((var(--p, 1) - var(--s, 0)) * 1.8), 1);
    fill: none;
    stroke: #0a0a0a;
    stroke-width: 1.3;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.svc-plate .d {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--q));
    fill-opacity: var(--q);
}

.svc-plate .fi {
    opacity: var(--q);
}

.svc-plate .dsh {
    stroke-dasharray: 3 3;
}

.svc-plate .s1 { --s: 0.04; }

.svc-plate .s2 { --s: 0.16; }

.svc-plate .s3 { --s: 0.28; }

.svc-plate .s4 { --s: 0.4; }

.svc-plate .fw { fill: #ffffff; }

.svc-plate .fs { fill: #eef0f4; }

.svc-plate .fs2 { fill: #e1e4ec; }

.svc-plate .fk { fill: #0a0a0a; }

.svc-plate .fb { fill: #1d4ed8; }

.svc-plate .ft { fill: #dbe6fd; }

.svc-plate .fg { fill: #cdd3de; }

.svc-plate .m { stroke: rgba(10, 10, 10, 0.36); }

.svc-plate .a { stroke: #1d4ed8; }

.svc-plate .th { stroke-width: 2.6; }

.svc-plate .co {
    opacity: var(--co, 0);
}

.svc-plate .lead {
    fill: none;
    stroke: #0a0a0a;
    stroke-opacity: 0.5;
    stroke-width: 1;
}

.svc-plate .cd {
    fill: #1d4ed8;
}

.svc-plate .cr {
    fill: rgba(29, 78, 216, 0.12);
    stroke: rgba(29, 78, 216, 0.45);
    stroke-width: 1;
}

.svc-co {
    position: absolute;
    padding: 3px 9px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.9);
    color: #0a0a0a;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
    opacity: var(--co, 0);
    transform: translateY(calc(-50% + (1 - var(--co, 0)) * 6px));
}

@media (max-width: 1023px) {
    .services-2026 {
        padding-top: 105px;
    }

    .svc-scroller {
        --svc-step-h: 60vh;
    }

    .svc-stage {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 50%) minmax(0, 1fr);
    }

    .svc-visual {
        order: -1;
        border-inline-start: 0;
        border-bottom: 1px solid rgba(10, 10, 10, 0.09);
    }

    .svc-viewport {
        inset: 60px 20px 0;
    }

    .svc-plate .co,
    .svc-co {
        display: none;
    }

    .svc-steps {
        justify-content: flex-start;
        padding: 20px 24px 24px;
    }

    .svc-dots {
        display: flex;
        gap: 6px;
        margin-bottom: 20px;
    }

    .svc-dot {
        flex: 1 1 0;
        height: 4px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        background: #d9dce4;
        cursor: pointer;
        transition: background 0.4s ease;
    }

    .svc-dot:hover,
    .svc-dot:focus,
    .svc-dot:active {
        background: #d9dce4;
        box-shadow: none;
    }

    .svc-dot.is-active,
    .svc-dot.is-active:hover,
    .svc-dot.is-active:focus,
    .svc-dot.is-active:active {
        background: var(--accent);
    }

    .svc-step {
        display: none;
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-step.is-active {
        display: grid;
    }

    .svc-step::before,
    .svc-node {
        display: none;
    }

    .svc-head-btn {
        padding: 0;
        pointer-events: none;
    }

    .svc-step.is-active .svc-name {
        font-size: clamp(1.45rem, 6vw, 1.9rem);
    }

    .svc-step-body {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    .svc-step-inner {
        padding-inline-start: 0;
    }

    .svc-step-inner p {
        font-size: 0.94rem;
        line-height: 1.95;
    }

    .svc-tags {
        margin: 14px 0 0;
    }
}

@media (max-width: 600px) {
    .svc-stage {
        grid-template-rows: minmax(0, 44%) minmax(0, 1fr);
    }

    .svc-rail {
        inset-inline: -14%;
    }
}

@media (max-width: 1023px) and (min-height: 561px) {
    .svc-stage {
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .svc-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-step {
        display: grid;
        grid-area: 1 / 1;
        visibility: hidden;
    }

    .svc-step.is-active {
        visibility: visible;
    }
}

@media (max-width: 600px) and (min-height: 561px) {
    .svc-viewport {
        inset: 64px 0 0;
    }

    .svc-rail {
        inset-inline: -19%;
    }
}

@media (max-width: 768px) {
    .services-2026 {
        padding-top: 95px;
    }

    .services-head {
        margin-bottom: 28px;
    }

    .services-head p {
        font-size: 0.96rem;
        line-height: 2;
    }
}

@media (max-width: 520px) {
    .services-2026 {
        padding-top: 84px;
    }

    .services-head {
        text-align: right;
    }

    .services-kicker {
        margin-bottom: 16px;
    }

    .services-head h2 {
        font-size: 2rem;
        line-height: 1.45;
    }

    .services-head p {
        margin-top: 16px;
        font-size: 0.92rem;
    }
}

@media (max-height: 740px) and (min-width: 1024px) {
    .svc-steps {
        padding-top: 84px;
    }

    .svc-head-btn {
        padding: 6px 0;
    }

    .svc-step-inner p {
        line-height: 1.9;
    }

    .svc-tags {
        margin: 12px 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-step.is-active .svc-node::after {
        animation: none;
    }

    .svc-step-body,
    .svc-name,
    .svc-head-btn {
        transition: none;
    }
}

.clients {
    text-align: center;
}

.clients-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.clients-slider {
    overflow: hidden;
    direction: ltr;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
    animation: clients-scroll 28s linear infinite;
    margin-bottom: 50px;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-group {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-shrink: 0;
    padding-inline-end: 56px;
}

.client-logo {
    flex: 0 0 auto;
    width: 110px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.45;
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% / 2));
    }
}

@media (max-width: 1024px) {
    .clients-label {
        font-size: 0.8rem;
        margin-bottom: 26px;
    }

    .clients-track {
        margin-bottom: 38px;
        animation-duration: 24s;
    }

    .clients-group {
        gap: 38px;
        padding-inline-end: 38px;
    }

    .client-logo {
        width: 95px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .clients-label {
        font-size: 0.76rem;
        margin-bottom: 22px;
        line-height: 1.8;
    }

    .clients-slider {
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }

    .clients-track {
        margin-bottom: 30px;
        animation-duration: 20s;
    }

    .clients-group {
        gap: 28px;
        padding-inline-end: 28px;
    }

    .client-logo {
        width: 82px;
        height: 42px;
        opacity: 0.55;
    }
}

@media (max-width: 480px) {
    .clients-label {
        font-size: 0.72rem;
        margin-bottom: 18px;
    }

    .clients-track {
        margin-bottom: 24px;
        animation-duration: 18s;
    }

    .clients-group {
        gap: 20px;
        padding-inline-end: 20px;
    }

    .client-logo {
        width: 72px;
        height: 38px;
    }
}

.contact {
    padding: 90px 0;
    background: var(--gray-50);
}

.contact-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px;
}

.contact-header .section-label {
    margin-bottom: 16px;
}

.contact-header .section-title {
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #0c42d8;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.contact-item-icon {
    width: 72px;
    height: 72px;
    border-radius: 30%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-item-icon svg {
    width: 30px;
    height: 30px;
    color: var(--gray-600);
    transition: all 0.4s ease;
}

.contact-item:hover .contact-item-icon {
    background: var(--contact-accent, var(--black));
    border-color: var(--contact-accent, var(--black));
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--contact-shadow, rgba(0, 0, 0, 0.18));
}

.contact-item:hover .contact-item-icon svg {
    color: var(--white);
}

.contact-item:hover .contact-item-label {
    color: var(--contact-accent, var(--black));
}

.contact-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 6px 14px;
    background: var(--contact-accent, var(--black));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.contact-item::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--black);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
    border-top-color: var(--contact-accent, var(--black));
}

.contact-item:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contact-item:hover::after {
    opacity: 1;
}

.contact-item-featured .contact-item-icon-bale {
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f5 100%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
}

.contact-item-featured .contact-item-icon-bale::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, transparent 60%);
    opacity: 0.7;
    transform: scale(0.8);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.contact-item-featured .contact-item-icon-bale svg {
    position: relative;
    z-index: 1;
    color: var(--black);
}

.contact-item-featured:hover .contact-item-icon-bale {
    background: var(--contact-accent);
    border-color: var(--contact-accent);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 14px 36px var(--contact-shadow);
}

.contact-item-featured:hover .contact-item-icon-bale svg {
    color: var(--white);
}

.contact-item-featured:hover .contact-item-icon-bale::before {
    opacity: 0;
    transform: scale(1.1);
}

.contact-item-featured .contact-item-label {
    color: var(--black);
    font-weight: 700;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact-header {
        margin-bottom: 48px;
    }

    .contact-subtitle {
        font-size: 0.95rem;
    }

    .contact-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .contact-item-icon {
        width: 62px;
        height: 62px;
    }

    .contact-item-icon svg {
        width: 26px;
        height: 26px;
    }

    .contact-item-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-row {
        gap: 16px;
    }

    .contact-item-icon {
        width: 54px;
        height: 54px;
    }

    .contact-item-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-item-label {
        font-size: 0.7rem;
    }
    .contact-item::before,
    .contact-item::after {
        display: none;
    }
}

.contact-phone {
    --contact-accent: #111111;
    --contact-shadow: rgba(17, 17, 17, 0.18);
}

.contact-whatsapp {
    --contact-accent: #25D366;
    --contact-shadow: rgba(37, 211, 102, 0.22);
}

.contact-telegram {
    --contact-accent: #229ED9;
    --contact-shadow: rgba(34, 158, 217, 0.22);
}

.contact-eitaa {
    --contact-accent: #F59E0B;
    --contact-shadow: rgba(245, 158, 11, 0.24);
}

.contact-bale {
    --contact-accent: #14B8A6;
    --contact-shadow: rgba(20, 184, 166, 0.24);
}

.terminal-section {
    padding: 120px 0;
    background: #fff;
}

.terminal-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.terminal-window {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.terminal-header {
    background: #16213e;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red    { background: #ff5f57; }

.terminal-dot.yellow { background: #ffbd2e; }

.terminal-dot.green  { background: #28c840; }

.terminal-title {
    color: #666;
    font-size: 0.8rem;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 28px 32px 36px;
    min-height: auto;
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.terminal-line.active {
    opacity: 1;
    transform: translateY(0);
}

.terminal-prompt {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.terminal-text {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
}

.terminal-output {
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-bottom: 2px;
}

.terminal-output.active {
    opacity: 1;
}

.skills-output {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0 4px;
}

.terminal-result {
    color: #94a3b8;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.terminal-success {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    display: block;
}

.terminal-success-sub {
    color: #555;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

.final-output {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
}

.final-output.active .terminal-success {
    text-shadow: 0 0 20px rgba(40, 200, 64, 0.4);
}

.terminal-cursor-line {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.terminal-cursor-line.active {
    opacity: 1;
}

.blinking-cursor {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    animation: termBlink 0.8s step-end infinite;
}

@keyframes termBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.skill-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: default;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

.skills-output.active .skill-tag {
    transform: scale(1);
}

.skills-output.active .skill-tag:hover {
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.tag-frontend { background: #28c840; color: #0d0d0d; }

.tag-backend  { background: #3b82f6; color: #fff; }

.tag-cms      { background: #f59e0b; color: #0d0d0d; }

.tag-db       { background: #8b5cf6; color: #fff; }

.tag-devops   { background: #ef4444; color: #fff; }

.tag-design   { background: #ec4899; color: #fff; }

.skills-output.active .skill-tag:nth-child(1)  { transition-delay: 0.00s; }

.skills-output.active .skill-tag:nth-child(2)  { transition-delay: 0.05s; }

.skills-output.active .skill-tag:nth-child(3)  { transition-delay: 0.10s; }

.skills-output.active .skill-tag:nth-child(4)  { transition-delay: 0.15s; }

.skills-output.active .skill-tag:nth-child(5)  { transition-delay: 0.20s; }

.skills-output.active .skill-tag:nth-child(6)  { transition-delay: 0.25s; }

.skills-output.active .skill-tag:nth-child(7)  { transition-delay: 0.30s; }

.skills-output.active .skill-tag:nth-child(8)  { transition-delay: 0.35s; }

.skills-output.active .skill-tag:nth-child(9)  { transition-delay: 0.40s; }

@media (max-width: 768px) {
    .terminal-section {
        padding: 60px 0;
    }

    .terminal-body {
        padding: 20px 16px 28px;
    }

    .terminal-text,
    .terminal-result,
    .terminal-success {
        font-size: 0.78rem;
    }

    .skill-tag {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    .skills-output {
        gap: 6px;
    }
}

.svc-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 800;
    transition: gap 0.25s ease, color 0.25s ease;
}

.svc-more svg {
    width: 16px;
    height: 16px;
}

.svc-more:hover {
    gap: 12px;
    color: var(--black);
}

.svc-more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.contact-bigphone {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0 0 22px;
    color: var(--black);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-bigphone-label {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-bigphone-number {
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.contact-bigphone:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.contact-bigphone:focus-visible,
.contact-order-btn:focus-visible,
.terminal-cta:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
    border-radius: 6px;
}

.contact-order {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.contact-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    background: var(--black);
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.contact-order-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.contact-order-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(29, 78, 216, 0.28);
}

.contact-order-btn:hover svg {
    transform: translateX(-4px);
}

.terminal-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
}

.terminal-tick {
    color: #28c840;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.terminal-note,
.terminal-success,
.terminal-cta {
    font-family: var(--font);
    unicode-bidi: plaintext;
    text-align: left;
}

.terminal-note {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.terminal-cta {
    display: block;
    margin-top: 10px;
    color: #60a5fa;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.terminal-cta:hover {
    color: #93c5fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-order {
        margin-top: 36px;
    }

    .contact-order-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .contact-bigphone {
        margin-bottom: 16px;
    }

    .terminal-note,
    .terminal-cta {
        font-size: 0.8rem;
    }

    .terminal-line {
        align-items: flex-start;
    }

    .terminal-text {
        min-width: 0;
        white-space: normal;
    }
}

@media (min-width: 1024px) {
    .svc-step:not(.is-active) .svc-more {
        visibility: hidden;
    }
}

@media (max-width: 1023px) {
    .svc-more {
        margin-top: 14px;
    }
}
