:root {
    --bg: #07080b;
    --bg-soft: #0d1017;
    --bg-panel: rgba(15, 18, 24, 0.92);
    --bg-panel-strong: rgba(22, 27, 35, 0.96);
    --text: #f4f5f7;
    --muted: #a7adb9;
    --muted-2: #7c8392;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --accent: #ffffff;
    --accent-soft: rgba(255, 255, 255, .08);
    --shadow: 0 30px 80px rgba(0, 0, 0, .42);
    --shadow-soft: 0 22px 50px rgba(0, 0, 0, .28);
    --glow: 0 0 35px rgba(255,255,255,.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(135, 146, 179, 0.14), transparent 35%),
        linear-gradient(180deg, #07080b 0%, #090b10 35%, #07080b 100%);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================
   NOISE
   ========================================= */

.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}


/* =========================================
   HEADER
   ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    background: rgba(8, 10, 15, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.02), 0 10px 40px rgba(0,0,0,.22);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    white-space: nowrap;

    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-mark {
    width: auto;
    min-width: 42px;
    height: 34px;
    padding: 0 8px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.15),
            rgba(255,255,255,.04)
        );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 20px rgba(255,255,255,.06);
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav nav a {
    color: var(--muted);
    font-size: 13px;

    transition:
        color .25s ease,
        transform .25s ease;
}

.nav nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 650;

    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 25px rgba(0,0,0,.2);

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.nav-cta:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 30px rgba(0,0,0,.26);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 850px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 150px 0 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;

    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    opacity: .22;
}

.orb-a {
    width: 500px;
    height: 500px;

    right: 4%;
    top: 10%;

    background:
        radial-gradient(
            circle,
            rgba(125, 150, 255, .22),
            transparent 70%
        );

    animation: orbFloatA 12s ease-in-out infinite alternate;
}

.orb-b {
    width: 420px;
    height: 420px;

    left: -100px;
    bottom: -120px;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.09),
            transparent 70%
        );

    animation: orbFloatB 15s ease-in-out infinite alternate;
}

@keyframes orbFloatA {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-35px, 25px, 0);
    }
}

@keyframes orbFloatB {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(40px, -30px, 0);
    }
}


/* perspective grid */

.grid-plane {
    position: absolute;

    left: -10%;
    right: -10%;
    bottom: -36%;

    height: 65%;

    opacity: .28;

    transform:
        perspective(500px)
        rotateX(62deg);

    background-image:
        linear-gradient(
            rgba(255,255,255,.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.065) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    mask-image:
        linear-gradient(
            to top,
            black,
            transparent
        );
}


/* hero rings */

.ring {
    position: absolute;

    border: 1px solid rgba(255,255,255,.045);
    border-radius: 50%;
}

.ring-1 {
    width: 720px;
    height: 720px;

    right: -220px;
    top: 40px;

    animation: slowRotate 35s linear infinite;
}

.ring-2 {
    width: 940px;
    height: 940px;

    right: -320px;
    top: -70px;

    animation: slowRotateReverse 55s linear infinite;
}

@keyframes slowRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slowRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}


.hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 50px;
}

.hero-copy {
    position: relative;
    z-index: 4;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .16em;
}

.eyebrow i {
    width: 6px;
    height: 6px;

    display: block;

    border-radius: 50%;
    background: #fff;

    box-shadow:
        0 0 14px rgba(255,255,255,.75);
}

.hero h1 {
    max-width: 780px;

    margin: 0;

    font-size: clamp(48px, 6vw, 86px);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 650;
}

.hero h1 em {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #fff 0%,
            #898f9b 70%,
            #555b66 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    font-style: normal;
}

.hero-lead {
    max-width: 580px;

    margin: 32px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.65;
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 0 20px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.12);

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.btn span {
    font-size: 16px;
}

.btn.primary {
    color: #08090b;
    background: linear-gradient(180deg, #ffffff, #ebedf1);
    border-color: rgba(255,255,255,.9);
    box-shadow: 0 18px 30px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.7);
}

.btn.primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #ffffff, #dde2eb);
    box-shadow: 0 20px 38px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.9);
}

.btn.ghost {
    color: var(--text);
    background: rgba(255,255,255,.025);
}

.btn.ghost:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.08);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 26px;

    color: var(--muted-2);

    font-size: 12px;
}

.pulse {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 0 0 rgba(255,255,255,.35);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    70% {
        box-shadow:
            0 0 0 9px rgba(255,255,255,0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(255,255,255,0);
    }
}


/* =========================================
   HERO PLANET
   ========================================= */

.hero-visual {
    position: relative;

    min-height: 600px;

    display: grid;
    place-items: center;
}

.planet {
    position: relative;

    width: 440px;
    height: 440px;

    display: grid;
    place-items: center;

    perspective: 1000px;
}

.planet-glow {
    position: absolute;
    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.18) 0%,
            rgba(130,145,180,.08) 35%,
            transparent 72%
        );

    filter: blur(25px);

    animation: planetGlow 5s ease-in-out infinite alternate;
}

@keyframes planetGlow {
    from {
        transform: scale(.96);
        opacity: .65;
    }

    to {
        transform: scale(1.06);
        opacity: 1;
    }
}

.planet-sphere {
    position: relative;

    width: 300px;
    height: 300px;

    overflow: hidden;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 32% 25%,
            #ffffff 0%,
            #aeb5c1 4%,
            #4e5664 18%,
            #171b23 46%,
            #080a0e 73%,
            #020304 100%
        );

    box-shadow:
        inset -45px -35px 80px rgba(0,0,0,.9),
        inset 25px 20px 55px rgba(255,255,255,.12),
        0 0 60px rgba(255,255,255,.08),
        0 35px 100px rgba(0,0,0,.6);

    transform-style: preserve-3d;

    animation: planetFloat 7s ease-in-out infinite;
}

@keyframes planetFloat {
    0%,
    100% {
        transform:
            translateY(0)
            rotateZ(-1deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotateZ(1deg);
    }
}


/* planet surface */

.planet-grid {
    position: absolute;
    inset: -15%;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 17px,
            rgba(255,255,255,.075) 18px,
            transparent 19px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 17px,
            rgba(255,255,255,.055) 18px,
            transparent 19px
        );

    transform:
        rotate(-13deg)
        scale(1.25);

    opacity: .42;

    mask-image:
        radial-gradient(
            circle,
            black 30%,
            transparent 72%
        );

    animation: gridRotate 18s linear infinite;
}

@keyframes gridRotate {
    from {
        transform:
            rotate(-13deg)
            scale(1.25)
            translateX(0);
    }

    to {
        transform:
            rotate(-13deg)
            scale(1.25)
            translateX(28px);
    }
}


/* planet light */

.planet-shine {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 28% 23%,
            rgba(255,255,255,.5),
            transparent 19%
        ),
        radial-gradient(
            circle at 72% 70%,
            rgba(0,0,0,.7),
            transparent 48%
        );

    pointer-events: none;
}


/* central core */

.planet-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 104px;
    height: 104px;

    display: grid;
    place-items: center;

    transform:
        translate(-50%, -50%);

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.13),
            rgba(255,255,255,.025) 70%
        );

    box-shadow:
        0 0 45px rgba(255,255,255,.1),
        inset 0 0 35px rgba(255,255,255,.06);

    backdrop-filter: blur(5px);
}

.planet-core::before {
    content: "";

    position: absolute;
    inset: -13px;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;

    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    50% {
        transform: scale(1.12);
        opacity: .45;
    }
}

.planet-core span {
    position: relative;

    font-size: 31px;
    font-weight: 800;
    letter-spacing: -.08em;

    color: #fff;

    text-shadow:
        0 0 25px rgba(255,255,255,.35);
}


/* orbital rings */

.planet-ring {
    position: absolute;

    width: 390px;
    height: 130px;

    border: 1px solid rgba(255,255,255,.17);

    border-radius: 50%;

    pointer-events: none;
}

.planet-ring-a {
    transform:
        rotate(-14deg)
        scaleY(.36);

    animation:
        planetRingA 13s linear infinite;
}

.planet-ring-b {
    width: 350px;
    height: 110px;

    border-color: rgba(255,255,255,.08);

    transform:
        rotate(48deg)
        scaleY(.32);

    animation:
        planetRingB 18s linear infinite reverse;
}

@keyframes planetRingA {
    from {
        transform:
            rotate(-14deg)
            scaleY(.36);
    }

    to {
        transform:
            rotate(346deg)
            scaleY(.36);
    }
}

@keyframes planetRingB {
    from {
        transform:
            rotate(48deg)
            scaleY(.32);
    }

    to {
        transform:
            rotate(408deg)
            scaleY(.32);
    }
}


/* labels */

.planet-label {
    position: absolute;

    font-size: 9px;
    font-weight: 750;
    letter-spacing: .18em;

    color: rgba(255,255,255,.45);

    white-space: nowrap;
}

.planet-label-top {
    top: 8px;
    left: 50%;

    transform: translateX(-50%);
}

.planet-label-bottom {
    bottom: 10px;
    left: 50%;

    transform: translateX(-50%);
}


/* floating cards */

/* =========================================
   PLANET FLOAT CARDS
   ========================================= */

.float-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 175px;

    padding: 13px 14px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(20,22,28,.88),
            rgba(10,12,16,.72)
        );

    box-shadow:
        0 18px 50px rgba(0,0,0,.32);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /*
     * ВАЖНО:
     * никакой постоянной анимации здесь больше нет.
     * Карточки всегда остаются резкими.
     */

    transition:
        transform .3s cubic-bezier(.22,.61,.36,1),
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


/* hover */

.float-card:hover {
    border-color:
        rgba(255,255,255,.38);

    background:
        linear-gradient(
            135deg,
            rgba(38,41,49,.94),
            rgba(13,15,20,.88)
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,.42),
        0 0 28px rgba(255,255,255,.08),
        inset 0 0 25px rgba(255,255,255,.035);

    transform:
        translateY(-6px)
        scale(1.025);
}


/* номер */

.float-card > strong {
    margin-left: auto;

    color: rgba(255,255,255,.2);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;

    transition:
        color .3s ease;
}

.float-card:hover > strong {
    color: rgba(255,255,255,.65);
}


/* центральная информация */

.float-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.float-main span {
    color: rgba(255,255,255,.72);

    font-size: 9px;
    font-weight: 750;
    letter-spacing: .14em;
}

.float-main b {
    color: rgba(255,255,255,.38);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: .1em;

    transition:
        color .3s ease;
}

.float-card:hover .float-main b {
    color: rgba(255,255,255,.8);
}


/* зеленая точка */

.mini-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #b9ffc8;

    box-shadow:
        0 0 12px rgba(185,255,200,.65);

    transition:
        box-shadow .3s ease,
        transform .3s ease;
}

.float-card:hover .mini-dot {
    transform: scale(1.25);

    box-shadow:
        0 0 20px rgba(185,255,200,.95);
}


/* символ */

.float-symbol {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;

    background:
        rgba(255,255,255,.045);

    color: rgba(255,255,255,.75);

    font-size: 14px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.float-card:hover .float-symbol {
    border-color:
        rgba(255,255,255,.3);

    background:
        rgba(255,255,255,.1);

    transform:
        rotate(8deg);
}


/* третий символ */

.float-symbol-square {
    position: relative;

    transform: rotate(45deg);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.9),
            rgba(100,106,118,.5)
        );

    border: 0;
}

.float-symbol-square::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 2px;

    background: #0b0d12;
}

.float-card:hover .float-symbol-square {
    transform:
        rotate(135deg)
        scale(1.05);
}


/* положения карточек */

.card-one {
    left: 0;
    top: 100px;
}

.card-two {
    right: 0;
    top: 200px;
}

.card-three {
    left: 50px;
    bottom: 60px;
}

@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =========================================
   MARQUEE
   ========================================= */

.marquee {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background: rgba(255,255,255,.015);

    padding: 18px 0;
}

.marquee-track {
    display: flex;

    width: max-content;

    margin: 0;
    padding: 0;

    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    width: max-content;

    white-space: nowrap;
}

.marquee-group span {
    display: inline-block;

    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;

    color: rgba(255,255,255,.72);
}

.marquee-group b {
    display: inline-block;

    flex-shrink: 0;

    margin: 0 38px;

    font-size: 10px;
    font-weight: 700;

    color: rgba(255,255,255,.35);
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    position: relative;

    padding: 76px 0;
}

.section-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    align-items: end;

    gap: 32px;

    margin-bottom: 42px;
}

.section-head h2 {
    max-width: 800px;

    margin: 0;

    font-size: clamp(40px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.06em;
}

.section-head h2 span {
    display: block;

    color: var(--muted);
}

.section-head > p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   FEATURES
   ========================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature {
    position: relative;

    min-height: 380px;

    padding: 34px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.012)
        );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);

    overflow: hidden;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.feature:hover {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.02)
        );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 35px rgba(0,0,0,.18);
    transform: translateY(-5px);
}

.feature-num {
    color: var(--muted-2);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.feature-icon {
    margin-top: 70px;

    font-size: 32px;

    color: rgba(255,255,255,.8);
}

.feature h3 {
    margin: 28px 0 12px;

    font-size: 22px;
    letter-spacing: -.035em;
}

.feature p {
    max-width: 330px;

    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

.feature-arrow {
    position: absolute;

    right: 30px;
    bottom: 27px;

    font-size: 22px;

    color: var(--muted);
}

/* =========================================
   CASE
   ========================================= */

.case-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,255,255,.015)
        );
}

.case-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 48px;
}

.case-top h2 {
    margin: 0;

    font-size: clamp(48px, 7vw, 90px);
    line-height: .9;
    letter-spacing: -.07em;
}

.case-sub {
    max-width: 500px;

    margin: 20px 0 0;

    color: var(--muted);

    font-size: 16px;
}

.case-tag {
    padding: 13px 16px;

    border: 1px solid var(--line);

    color: var(--muted);

    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .15em;

    text-align: right;
}

.case-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}

.case-text > p {
    max-width: 520px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}

.case-points {
    margin-top: 42px;

    border-top: 1px solid var(--line);
}

.case-points > div {
    display: grid;
    grid-template-columns: 45px 1fr;

    gap: 15px;

    padding: 17px 0;

    border-bottom: 1px solid var(--line);
}

.case-points b {
    color: var(--muted-2);

    font-size: 10px;
    letter-spacing: .1em;
}

.case-points span {
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(255,255,255,.35);

    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    transition: transform .25s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}


/* browser */

.browser {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    background: linear-gradient(180deg, rgba(12,14,18,0.98), rgba(11,13,17,0.92));

    box-shadow: var(--shadow);
}

.browser-bar {
    height: 46px;

    display: grid;
    grid-template-columns: 100px 1fr 100px;

    align-items: center;

    padding: 0 15px;

    border-bottom: 1px solid var(--line);

    background: rgba(255,255,255,.025);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255,255,255,.25);
}

.browser-url {
    justify-self: center;

    color: var(--muted-2);

    font-size: 9px;
    letter-spacing: .04em;
}

.browser-screen {
    min-height: 390px;

    display: grid;
    grid-template-columns: 145px 1fr;
}

.fake-side {
    display: flex;
    flex-direction: column;
    gap: 13px;

    padding: 25px 18px;

    border-right: 1px solid var(--line);

    background: rgba(255,255,255,.018);
}

.fake-side b {
    margin-bottom: 12px;

    font-size: 13px;
}

.fake-side span {
    color: var(--muted-2);

    font-size: 9px;
}

.fake-main {
    padding: 30px;
}

.fake-line {
    width: 120px;
    height: 10px;

    margin-bottom: 10px;

    border-radius: 5px;

    background: rgba(255,255,255,.1);
}

.fake-line.wide {
    width: 210px;
    background: rgba(255,255,255,.05);
}

.fake-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 35px;
}

.fake-cards i {
    height: 85px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            transparent
        );
}

.fake-table {
    margin-top: 20px;

    border: 1px solid var(--line);
    border-radius: 10px;

    overflow: hidden;
}

.fake-table i {
    display: block;

    height: 42px;

    border-bottom: 1px solid var(--line);
}

.fake-table i:last-child {
    border-bottom: 0;
}


/* =========================================
   GALLERY
   ========================================= */

.gallery-wrap {
    margin-top: 100px;
}

.gallery-head {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}

.gallery-head h3 {
    margin: 0;

    font-size: 30px;
    letter-spacing: -.045em;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-controls button {
    width: 40px;
    height: 40px;

    border: 1px solid var(--line-strong);
    border-radius: 50%;

    background: rgba(255,255,255,.025);

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.gallery-controls button:hover {
    background: rgba(255,255,255,.09);
    transform: translateY(-2px);
}

.dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(255,255,255,.25);
}

.dot.active {
    background: #fff;
}

.gallery {
    overflow: hidden;
}

.gallery-track {
    display: flex;

    gap: 16px;

    transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.gallery-item {
    flex: 0 0 calc(33.333% - 11px);

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 14px;

    cursor: pointer;

    background: #0b0d12;
}

.gallery-item img {
    width: 100%;
    height: 300px;

    object-fit: cover;

    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-hint {
    margin-top: 15px;

    color: var(--muted-2);

    font-size: 10px;
}

/* =========================================
   TUZBOOKING — 3D SCREEN CAROUSEL
   ========================================= */

.screens-carousel {
    position: relative;

    width: 100%;
    height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    perspective: 1400px;
}

/* Карточка скриншота */

.screen-card {
    position: absolute;

    top: 50%;
    left: 50%;

    padding: 0;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    background: #0b0d12;

    overflow: hidden;

    cursor: pointer;

    transform-origin: center center;

    transition:
    transform .8s cubic-bezier(.22,.61,.36,1),
    width .8s cubic-bezier(.22,.61,.36,1),
    height .8s cubic-bezier(.22,.61,.36,1),
    opacity .65s ease,
    filter .65s ease,
    box-shadow .55s ease,
    border-color .5s ease;

    box-shadow:
        0 30px 80px rgba(0,0,0,.4);

    outline: none;
}

.screen-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;

    transition:
        transform .7s cubic-bezier(.22,.61,.36,1);
}

/* Центральная */

.screen-current {
    width: min(720px, 62vw);
    height: 420px;

    transform:
        translate(-50%, -50%)
        translateZ(120px)
        scale(1);

    opacity: 1;

    z-index: 10;

    border-color:
        rgba(255,255,255,.24);

    box-shadow:
        0 40px 100px rgba(0,0,0,.52),
        0 0 0 1px rgba(255,255,255,.04);
}

/* Левая */

.screen-prev {
    width: min(600px, 52vw);
    height: 350px;

    transform:
        translate(-50%, -50%)
        translateX(-390px)
        translateZ(-80px)
        scale(.82);

    opacity: .62;

    z-index: 4;

    filter: brightness(.65) saturate(.8);

    border-color:
        rgba(255,255,255,.08);
}

/* Правая */

.screen-next {
    width: min(600px, 52vw);
    height: 350px;

    transform:
        translate(-50%, -50%)
        translateX(390px)
        translateZ(-80px)
        scale(.82);

    opacity: .62;

    z-index: 4;

    filter: brightness(.65) saturate(.8);

    border-color:
        rgba(255,255,255,.08);
}

/* Hover боковых */

.screen-prev:hover,
.screen-next:hover {
    opacity: .9;

    filter:
        brightness(.85)
        saturate(.95);

    border-color:
        rgba(255,255,255,.22);
}

/* Hover центральной */

.screen-current:hover img {
    transform: scale(1.025);
}

.screen-current:hover {
    border-color:
        rgba(255,255,255,.34);

    box-shadow:
        0 45px 110px rgba(0,0,0,.58),
        0 0 35px rgba(255,255,255,.07);
}


/* =========================================
   CONTROLS
   ========================================= */

.screens-controls {
    position: absolute;

    left: 50%;
    bottom: 8px;

    transform: translateX(-50%);

    z-index: 30;

    display: flex;
    align-items: center;
    gap: 18px;
}

.screen-arrow {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;

    background:
        rgba(15,17,22,.8);

    color: rgba(255,255,255,.72);

    font-size: 16px;

    cursor: pointer;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.screen-arrow:hover {
    transform: scale(1.08);

    background:
        rgba(255,255,255,.1);

    border-color:
        rgba(255,255,255,.3);

    color: #fff;
}

.screen-counter {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 65px;

    justify-content: center;

    color: rgba(255,255,255,.4);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}

.screen-counter span:first-child {
    color: rgba(255,255,255,.9);
}

.screen-counter i {
    width: 18px;
    height: 1px;

    display: block;

    background:
        rgba(255,255,255,.18);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .screens-carousel {
        height: 430px;
    }

    .screen-current {
        width: 76vw;
        height: 300px;
    }

    .screen-prev {
        width: 66vw;
        height: 270px;

        transform:
            translate(-50%, -50%)
            translateX(-250px)
            translateZ(-80px)
            scale(.78);
    }

    .screen-next {
        width: 66vw;
        height: 270px;

        transform:
            translate(-50%, -50%)
            translateX(250px)
            translateZ(-80px)
            scale(.78);
    }
}


@media (max-width: 600px) {

    .screens-carousel {
        height: 350px;
    }

  .screen-prev {
    width: min(600px, 52vw);
    height: 350px;

    transform:
        translate(-50%, -50%)
        translateX(-390px)
        translateZ(-80px)
        scale(.82);

    opacity: .58;

    z-index: 4;

    filter:
        brightness(.62)
        saturate(.8);
}

.screen-current {
    width: min(720px, 62vw);
    height: 420px;

    transform:
        translate(-50%, -50%)
        translateZ(120px)
        scale(1);

    opacity: 1;

    z-index: 10;

    filter: none;

    border-color:
        rgba(255,255,255,.24);

    box-shadow:
        0 40px 100px rgba(0,0,0,.52),
        0 0 0 1px rgba(255,255,255,.04);
}

.screen-next {
    width: min(600px, 52vw);
    height: 350px;

    transform:
        translate(-50%, -50%)
        translateX(390px)
        translateZ(-80px)
        scale(.82);

    opacity: .58;

    z-index: 4;

    filter:
        brightness(.62)
        saturate(.8);
}

    .screens-controls {
        bottom: 0;
    }
}
/* =========================================
   STATEMENT
   ========================================= */

.statement {
    position: relative;

    overflow: hidden;

    padding: 82px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.statement-bg {
    position: absolute;

    right: -50px;
    top: 20px;

    color: rgba(255,255,255,.025);

    font-size: 600px;
    line-height: .6;

    pointer-events: none;
}

.statement h2 {
    max-width: 1000px;

    margin: 0;

    font-size: clamp(48px, 7vw, 100px);
    line-height: .93;
    letter-spacing: -.07em;
}

.statement h2 em {
    display: block;

    color: var(--muted);

    font-style: normal;
}

.statement p {
    max-width: 610px;

    margin: 24px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================
   PROCESS
   ========================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.step {
    min-height: 290px;

    padding: 30px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.step > b {
    color: var(--muted-2);

    font-size: 10px;
    letter-spacing: .12em;
}

.step h3 {
    margin: 80px 0 12px;

    font-size: 23px;
    letter-spacing: -.035em;
}

.step p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================
   CONTACT
   ========================================= */

.contact {
    position: relative;

    padding: 82px 0;

    border-top: 1px solid var(--line);

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(255,255,255,.045),
            transparent 35%
        );
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 64px;
}

.contact h2 {
    max-width: 650px;

    margin: 0;

    font-size: clamp(50px, 6vw, 82px);
    line-height: .93;
    letter-spacing: -.07em;
}

.contact h2 em {
    display: block;

    color: var(--muted);

    font-style: normal;
}

.contact-copy > p {
    max-width: 500px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}

.contact-decoration {
    margin-top: 90px;

    color: rgba(255,255,255,.16);

    font-size: 15px;
    font-weight: 800;
    letter-spacing: .14em;
}

.contact-decoration span {
    color: rgba(255,255,255,.5);

    margin: 0 12px;
}

.contact-decoration small {
    display: block;

    margin-top: 14px;

    color: rgba(255,255,255,.2);

    font-size: 8px;
    letter-spacing: .25em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.consent-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.contact-form .consent-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.contact-form .consent-row input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #ffffff;
    flex-shrink: 0;
}

.contact-form .consent-row a,
.policy-link {
    color: #f5f7fb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 10px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 650;
    letter-spacing: .05em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 16px 14px 14px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    outline: none;

    resize: vertical;

    color: var(--text);

    background: rgba(255,255,255,.02);

    font-size: 15px;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.04);
    box-shadow: 0 0 0 4px rgba(255,255,255,.04);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted-2);
}

.contact-form .btn {
    align-self: flex-start;

    margin-top: 8px;
}

.form-note {
    margin: -8px 0 0;

    color: var(--muted-2);

    font-size: 10px;
}

.form-status {
    min-height: 20px;
    margin: -8px 0 0;
    color: #dfffe9;
    font-size: 12px;
    line-height: 1.6;
}

.form-status.error {
    color: #ffb3b3;
}

.legal-modal-header {
    padding: 6px 0 18px;
    border-bottom: 1px solid var(--line);
}

.legal-modal-header .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
}

.legal-modal-header h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.legal-modal-body {
    max-height: 58vh;
    overflow-y: auto;
    padding: 18px 2px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.legal-modal-body h4 {
    margin: 18px 0 10px;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

.legal-modal-body p,
.legal-modal-body li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.legal-modal-body ul {
    margin: 10px 0 0 18px;
    padding-left: 16px;
}

.legal-modal-body .full-policy-link {
    color: var(--text);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#consentModal,
#legalModal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 4, 6, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

#consentModal.visible,
#legalModal.visible {
    opacity: 1;
    visibility: visible;
}

.consent-modal-overlay,
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 4, 6, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.consent-modal-overlay.visible,
.legal-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.consent-modal,
.legal-modal {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    padding: 28px 24px 22px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(16, 19, 25, 0.98), rgba(9, 11, 15, 0.96));
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.legal-modal {
    width: min(760px, calc(100vw - 32px));
    max-height: 82vh;
    overflow: hidden;
    text-align: left;
    padding-bottom: 18px;
}

.consent-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

.consent-modal-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.consent-modal h3 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.consent-modal p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.consent-modal-btn {
    margin: 0 auto;
}

.success-modal-link {
    color: var(--text);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    border-top: 1px solid var(--line);
}

.foot {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: var(--muted-2);

    font-size: 10px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(3,4,6,.92);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: min(1200px, 90vw);
    max-height: 85vh;
    object-fit: contain;

    border: 1px solid var(--line-strong);
    border-radius: 10px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.7);
}

.lightbox button {
    position: absolute;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line-strong);
    border-radius: 50%;

    background: rgba(255,255,255,.06);

    cursor: pointer;

    font-size: 20px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.lightbox button:hover {
    background: rgba(255,255,255,.13);
    transform: scale(1.05);
}

.lightbox-close {
    top: 25px;
    right: 25px;
}

.lightbox-prev {
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================================
   REVEAL
   ========================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .nav nav {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-visual {
        min-height: 540px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        flex-basis: calc(50% - 8px);
    }
}


@media (max-width: 700px) {

    .wrap {
        width: min(100% - 30px, 1240px);
    }

    .header .nav {
        min-height: 66px;
    }

    .brand > span:last-child {
        display: none;
    }

    .nav-cta {
        padding: 10px 13px;
    }

    .hero {
        min-height: auto;

        padding:
            125px 0
            70px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .planet {
        width: 350px;
        height: 350px;
    }

    .planet-sphere {
        width: 240px;
        height: 240px;
    }

    .planet-ring {
        width: 310px;
        height: 105px;
    }

    .float-card {
        transform: scale(.85);
    }

    .card-one {
        left: -10px;
        top: 60px;
    }

    .card-two {
        right: -10px;
        top: 150px;
    }

    .card-three {
        left: 5px;
        bottom: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head h2 {
        font-size: 45px;
    }

    .case-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-top h2 {
        font-size: 62px;
    }

    .browser-screen {
        grid-template-columns: 95px 1fr;
    }

    .fake-side {
        padding: 20px 12px;
    }

    .fake-main {
        padding: 20px;
    }

    .fake-cards {
        grid-template-columns: 1fr;
    }

    .fake-cards i {
        height: 55px;
    }

    .gallery-item {
        flex-basis: 85%;
    }

    .gallery-item img {
        height: 240px;
    }

    .gallery-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .contact {
        padding: 72px 0;
    }

    .contact-grid {
        gap: 60px;
    }

    .contact h2 {
        font-size: 52px;
    }

    .contact-decoration {
        margin-top: 55px;
    }

    .foot {
        align-items: flex-start;
        flex-direction: column;

        padding: 25px 0;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* =========================================
   TUZBOOKING — LIGHTBOX
   ========================================= */

#screenLightbox {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px 100px;

    background: rgba(0, 0, 0, .94);

    opacity: 0;

    transition: opacity .25s ease;

    cursor: zoom-out;
}

#screenLightbox.active {
    opacity: 1;
}


/* =========================================
   ОБЛАСТЬ ИЗОБРАЖЕНИЯ
   ========================================= */

.lightbox-stage {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 90vw;
    max-height: 90vh;

    cursor: default;
}

#screenLightbox img {
    display: block;

    max-width: 88vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, .85),
        0 0 0 1px rgba(255,255,255,.12);

    transform: scale(.94);

    transition:
        transform .3s cubic-bezier(.22,.61,.36,1);

    cursor: default;
}

#screenLightbox.active img {
    transform: scale(1);
}


/* =========================================
   СТРЕЛКИ
   ========================================= */

.lightbox-arrow {
    position: fixed;

    top: 50%;

    width: 64px;
    height: 64px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;

    background: rgba(15,17,22,.9);

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    z-index: 1000001;

    transform: translateY(-50%);

    box-shadow:
        0 10px 35px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.04);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-arrow:hover {
    transform:
        translateY(-50%)
        scale(1.1);

    background: rgba(255,255,255,.14);

    border-color: rgba(255,255,255,.5);

    box-shadow:
        0 12px 40px rgba(0,0,0,.65),
        0 0 25px rgba(255,255,255,.08);
}

.lightbox-arrow span {
    display: block;

    transform: translateY(-1px);
}


/* =========================================
   МОБИЛЬНЫЕ
   ========================================= */

@media (max-width: 600px) {

    #screenLightbox {
        padding: 30px 55px;
    }

    #screenLightbox img {
        max-width: 86vw;
        max-height: 82vh;
    }

    .lightbox-arrow {
        width: 46px;
        height: 46px;

        font-size: 21px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}