/* STYLES 30.09.2026
Developer: LAPSE DEVELOPER
Screen resolution: 640, 900, 1024, 1180 */
@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy-Regular.woff2) format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy-Medium.woff2) format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy-Bold.woff2) format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Gilroy;
    src: url(../fonts/Gilroy-ExtraBold.woff2) format("woff2");
    font-weight: 800;
    font-display: swap;
}

/* BASIC */
:root {
    --bg: #07070b;
    --bg-2: #0d0d14;
    --card: #111119;
    --card-2: #16161f;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #f4f4f8;
    --muted: #9a98a8;
    --indigo: #4543fe;
    --violet: #9d6bff;
    --coral: #ff8f5e;
    --accent: #ff6a3d;
    --grad: linear-gradient(120deg, #4543fe 0%, #9d6bff 50%, #ff8f5e 100%);
    --radius: 24px;
    --radius-sm: 14px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 900px) {
    :root {
        --header-h: 68px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font: 500 16px/1.55 Gilroy, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60vw 40vw at 85% -10%, rgba(69, 67, 254, .18), transparent 60%), radial-gradient(50vw 35vw at -10% 30%, rgba(157, 107, 255, .10), transparent 60%);
}

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

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

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
}

ul, ol {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

b, strong {
    font-weight: 700;
}

[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

.section {
    padding: 110px 0;
}

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

.section--tight {
    padding-top: 40px;
}

@media (max-width: 900px) {
    .section--tight {
        padding-top: 20px;
    }
}

/* UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, opacity .25s;
}

.btn:active {
    transform: scale(.97);
}

.btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.btn--primary {
    background: var(--grad);
    background-size: 150% 100%;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(111, 90, 255, .7);
}

.btn--primary:not(:disabled):hover {
    background-position: 100% 0;
    box-shadow: 0 14px 40px -10px rgba(255, 143, 94, .6);
    transform: translateY(-2px);
}

.btn--ghost {
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .03);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .07);
}

.btn--sm {
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
}

.btn--lg {
    height: 58px;
    padding: 0 30px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(157, 107, 255, .12);
    border: 1px solid rgba(157, 107, 255, .25);
    color: #c9b4ff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tags span {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    color: #c8c7d3;
}

.stitle {
    max-width: 720px;
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .stitle {
        margin-bottom: 32px;
    }
}

.stitle__tag {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stitle__h {
    font-size: clamp(32px, 4.4vw, 54px);
}

.stitle__sub {
    margin-top: 16px;
    color: var(--muted);
    font-size: 18px;
}

@media (max-width: 640px) {
    .stitle__sub {
        font-size: 16px;
    }
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 640px) {
    .section__head {
        display: block;
    }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 52px;
    font-weight: 600;
    color: #d6d5e0;
    white-space: nowrap;
    transition: gap .25s, color .25s;
}

@media (max-width: 640px) {
    .link-arrow {
        margin: -12px 0 28px;
    }
}

.link-arrow:hover {
    gap: 12px;
    color: #fff;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-h);
    background: linear-gradient(180deg, rgba(16, 16, 28, .8), transparent);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s;
}

.header.is-scrolled {
    background: rgba(10, 10, 16, .82);
    border-color: var(--line);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 56px;
    height: 100%;
}

@media (max-width: 1180px) {
    .header__inner {
        gap: 36px;
    }
}

.header__logo img {
    display: block;
    width: 100px;
    height: auto;
}

@media (max-width: 900px) {
    .header__logo img {
        width: 90px;
    }
}

.header__nav {
    display: flex;
    gap: 30px;
    margin-right: auto;
}

@media (max-width: 1180px) {
    .header__nav {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .header__nav {
        display: none;
    }
}

.header__nav a {
    font-size: 15px;
    color: var(--muted);
    transition: color .2s;
}

.header__nav a:hover, .header__nav a.is-active {
    color: #fff;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}

.lang a {
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    transition: color .2s, background .2s;
}

.lang a:hover {
    color: #fff;
}

.lang a.is-active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.header__burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
    .header__burger {
        display: block;
    }
}

.header__burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s var(--ease), top .3s var(--ease), left .3s var(--ease);
}

.header__burger span:first-child {
    top: 17px;
}

.header__burger span:last-child {
    top: 25px;
    left: 19px;
}

.header.is-open .header__burger span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.header.is-open .header__burger span:last-child {
    top: 21px;
    left: 13px;
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .header.is-open {
        background: var(--bg);
        border-color: var(--line);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header__cta, .header__actions > .lang {
        display: none;
    }

    .header.is-open .mob-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header.is-open ~ .wa-float {
        display: none;
    }
}

.mob-menu {
    display: none;
}

@media (max-width: 900px) {
    .mob-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        padding: 12px 20px 28px;
        background: var(--bg);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }

    .mob-menu__nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 24px;
        font-weight: 700;
    }

    .mob-menu__nav i {
        color: var(--muted);
        font-size: 18px;
    }

    .mob-menu__foot {
        display: grid;
        gap: 12px;
        margin-top: auto;
        padding-top: 28px;
    }

    .mob-menu__contacts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mob-menu__contacts a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .06);
        font-weight: 600;
    }

    .mob-menu__contacts a:first-child {
        grid-column: 1 / -1;
    }

    .mob-menu__foot .lang {
        justify-self: center;
    }

    .mob-menu__foot .lang a {
        padding: 7px 14px;
        font-size: 13px;
    }

    .mob-menu__cta {
        width: 100%;
    }
}

/* HERO */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 70px) 0 90px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .hero {
        padding: calc(var(--header-h) + 40px) 0 50px;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    opacity: .5;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 40px;
}

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
}

.hero__title {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.hero__title b {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__sub {
    max-width: 580px;
    font-size: 19px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .hero__sub {
        font-size: 17px;
    }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero__visual {
        position: absolute;
        top: calc(var(--header-h) - 20px);
        right: -150px;
        z-index: 0;
        opacity: .3;
        pointer-events: none;
        transform: scale(.8);
        transform-origin: top right;
    }
}

.hero__phones {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 60px;
    animation: phonesIn 1.2s var(--ease) .3s both;
}

.hero__phones img {
    position: relative;
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: phone 20s linear infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}

.hero__phones img:nth-child(1) {
    width: 130px;
    margin-bottom: -60px;
    z-index: 4;
}

.hero__phones img:nth-child(2) {
    z-index: 3;
}

.hero__phones img:nth-child(3) {
    width: 400px;
    height: auto;
    margin: -90px 0 0 -120px;
    z-index: 2;
    animation-direction: reverse;
}

.hero__phones img:nth-child(4) {
    margin: -120px 0 0 -100px;
    z-index: 1;
}

@keyframes phone {
    50% {
        transform: rotate3d(1, 1, 1, 10deg) translate(-20px, -20px);
    }
}

@keyframes phonesIn {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
}

.hero__orb {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(69, 67, 254, .55), transparent 60%), radial-gradient(circle at 70% 70%, rgba(255, 143, 94, .45), transparent 60%);
    filter: blur(50px);
    animation: orb 10s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {
    .hero__content {
        position: relative;
        z-index: 1;
    }

    .hero__orb {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero__actions .btn {
        width: 100%;
    }
}

@keyframes orb {
    to {
        transform: scale(1.12) rotate(25deg);
    }
}

/* CLIENTS */
.clients {
    padding: 10px 0 30px;
}

.clients__track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.clients__row {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.clients__row img {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .45;
    transition: opacity .3s;
}

.clients__row img:hover {
    opacity: .9;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* SERVICES */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 640px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}

.svc {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s;
}

@media (max-width: 640px) {
    .svc {
        padding: 24px;
    }
}

.svc::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 107, 255, .25), transparent 65%);
    opacity: 0;
    transition: opacity .4s;
}

.svc:hover {
    transform: translateY(-6px);
    border-color: rgba(157, 107, 255, .35);
}

.svc:hover::before {
    opacity: 1;
}

.svc__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--grad);
    font-size: 22px;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(111, 90, 255, .8);
}

.svc__icon--lg {
    width: 68px;
    height: 68px;
    font-size: 28px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.svc__title {
    margin: 24px 0 10px;
    font-size: 24px;
}

.svc__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.svc__text {
    color: var(--muted);
}

.svc__list {
    margin: 20px 0 26px;
    display: grid;
    gap: 8px;
    font-size: 15px;
    color: #d6d5e0;
}

.svc__list li {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.svc__list i {
    font-size: 12px;
    color: #3ddc84;
}

.svc__foot {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.svc__price {
    font-size: 22px;
    font-weight: 800;
}

.svc__days {
    font-size: 14px;
    color: var(--muted);
}

.svc__more {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    transition: .3s var(--ease);
    flex-shrink: 0;
}

.svc:hover .svc__more {
    background: #fff;
    color: #000;
    transform: rotate(-45deg);
}

/* PORTFOLIO */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
}

@media (max-width: 640px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px 26px;
        padding: 0 16px;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }
}

.tab {
    height: 44px;
    padding: 0 20px;
    border-radius: 100px;
    border: 1px solid var(--line-2);
    font-weight: 600;
    font-size: 15px;
    color: #cfcedb;
    transition: .25s var(--ease);
}

@media (max-width: 640px) {
    .tab {
        flex-shrink: 0;
    }
}

.tab sup {
    font-size: 11px;
    color: var(--muted);
    margin-left: 2px;
}

.tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

.tab.is-active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.tab.is-active sup {
    color: #666;
}

.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 28px;
    padding-top: 18px;
}

@media (max-width: 1024px) {
    .cases {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases {
        gap: 52px 22px;
    }
}

@media (max-width: 640px) {
    .cases {
        grid-template-columns: 1fr;
    }

    .cases {
        gap: 48px;
    }
}

.case {
    --tone: 139, 195, 74;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case--shop {
    --tone: 255, 152, 56;
}

.case--platform {
    --tone: 46, 166, 205;
}

.case--mobile {
    --tone: 157, 107, 255;
}

.case--ai {
    --tone: 244, 67, 54;
}

.case--design {
    --tone: 236, 90, 180;
}

.case.is-hidden {
    display: none;
}

/* screenshot with two faded copies peeking out behind it */

.case__stack {
    position: relative;
    isolation: isolate;
    transition: transform .6s var(--ease);
}

.case__stack::before, .case__stack::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 22px;
    background: var(--img) center top / cover, var(--card-2);
    opacity: .12;
    transition: transform .6s var(--ease), opacity .6s;
}

.case__stack::before {
    inset: -9px 5px 9px;
}

.case__stack::after {
    inset: -18px 20px 18px;
    z-index: -2;
    opacity: .07;
}

.case__shot {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    background: var(--card-2);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}

.case__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s var(--ease);
}

.case__shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 11, .3), transparent 32%, transparent 68%, rgba(7, 7, 11, .45));
    pointer-events: none;
}

.case__label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgb(var(--tone));
    box-shadow: 0 4px 22px -3px rgba(var(--tone), .7);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.case__metric {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(7, 7, 11, .6);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 700;
}

.case__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 4px;
}

.case__title {
    font-size: 25px;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .case__title {
        font-size: 23px;
    }
}

.case__title a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.case__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.case__title i {
    font-size: 17px;
    color: var(--muted);
    transition: transform .4s var(--ease), color .3s;
}

.case__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.case__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.case__foot span {
    padding: 4px 11px;
    border-radius: 50px;
    border: 1px solid var(--line-2);
    color: #cfcedb;
    font-size: 12px;
    font-weight: 600;
}

.case__foot em {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

.case:hover .case__stack {
    transform: translateY(-4px) scale(1.02);
}

.case:hover .case__stack::before {
    transform: translateY(-6px);
    opacity: .28;
}

.case:hover .case__stack::after {
    transform: translateY(-12px);
    opacity: .16;
}

.case:hover .case__shot img {
    transform: scale(1.05);
}

.case:hover .case__title i {
    color: #fff;
    transform: translate(3px, -3px);
}

.portfolio__more {
    margin-top: 36px;
    text-align: center;
}

/* WHY */
.why {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1024px) {
    .why {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.why__head {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

@media (max-width: 1024px) {
    .why__head {
        position: static;
    }
}

.why__list {
    display: grid;
    gap: 14px;
}

.why__list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: start;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    transition: border-color .3s;
}

@media (max-width: 640px) {
    .why__list li {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px;
    }
}

.why__list li:hover {
    border-color: var(--line-2);
}

.why__num {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    padding-top: 4px;
}

.why__list h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.why__list p {
    color: var(--muted);
}

.gis {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 340px;
    margin-bottom: 48px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(69, 67, 254, .18), rgba(255, 143, 94, .12));
    border: 1px solid var(--line-2);
    transition: transform .3s var(--ease);
}

.gis:hover {
    transform: translateY(-4px);
}

.gis__stars {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffc348;
    margin-bottom: 4px;
}

.gis__stars b {
    margin-left: 8px;
    color: #fff;
    font-size: 20px;
}

.gis strong {
    font-size: 19px;
}

.gis span {
    color: #cfcedb;
    font-size: 14px;
}

.gis em {
    margin-top: 6px;
    font-style: normal;
    font-weight: 700;
}

.why__head .gis {
    width: auto;
    max-width: 380px;
    margin: 32px 0 0;
}

@media (max-width: 640px) {
    .why__head .gis {
        max-width: none;
    }

    .why__list .chip {
        justify-self: start;
    }
}

/* FORMS */
.field {
    position: relative;
    margin-bottom: 14px;
}

.field input, .field textarea {
    width: 100%;
    padding: 24px 18px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .03);
    outline: none;
    font-size: 16px;
    transition: border-color .2s, background .2s;
    resize: vertical;
}

.field input {
    height: 60px;
}

.field label {
    position: absolute;
    left: 19px;
    top: 19px;
    color: var(--muted);
    pointer-events: none;
    transition: .2s var(--ease);
}

.field input:focus, .field textarea:focus {
    border-color: var(--violet);
    background: rgba(157, 107, 255, .06);
}

.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 12px;
}

.field.is-error input {
    border-color: #ff5c5c;
}

.form__note {
    margin-top: 12px;
    font-size: 12px;
    color: #6f6d7d;
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* FAQ */
.faq__list {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.faq__item {
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--line);
    transition: border-color .3s;
}

.faq__item[open] {
    border-color: var(--line-2);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

@media (max-width: 640px) {
    .faq__item summary {
        font-size: 16px;
        padding: 18px;
    }
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary i {
    flex-shrink: 0;
    transition: transform .3s var(--ease);
    color: var(--muted);
}

.faq__item[open] summary i {
    transform: rotate(45deg);
    color: #fff;
}

.faq__item p {
    padding: 0 24px 24px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .faq__item p {
        padding: 0 18px 18px;
    }
}

/* CONTACT */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 56px;
    border-radius: 32px;
    background: radial-gradient(90% 120% at 100% 0%, rgba(157, 107, 255, .2), transparent 60%), var(--card);
    border: 1px solid var(--line-2);
}

@media (max-width: 1024px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 24px 16px;
        border-radius: 24px;
    }
}

.contact__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 32px;
}

@media (max-width: 640px) {
    .contact__links {
        grid-template-columns: 1fr;
    }
}

.contact__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    font-weight: 600;
    transition: .25s;
    min-width: 0;
}

.contact__links a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact__links a:hover {
    border-color: var(--line-2);
    background: rgba(255, 255, 255, .06);
}

.contact__links i {
    font-size: 20px;
    color: var(--violet);
}

.langs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.langs__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.langs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.langs__list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    font-size: 14px;
    font-weight: 600;
}

.langs__list i {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.langs--hero {
    margin-top: 28px;
}

.langs--contact {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* INNER PAGES */
.page-hero {
    padding: calc(var(--header-h) + 50px) 0 30px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    font-size: 14px;
    color: var(--muted);
}

.crumbs a:hover {
    color: #fff;
}

.crumbs i {
    font-size: 10px;
}

.crumbs span {
    color: #d6d5e0;
}

.project-head, .service-head {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 50px;
    align-items: end;
}

@media (max-width: 1024px) {
    .project-head, .service-head {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.project-head__title {
    margin: 18px 0;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.service-head .project-head__title {
    margin-top: 0;
}

.project-head__desc {
    max-width: 720px;
    font-size: 19px;
    color: var(--muted);
}

.project-facts {
    display: grid;
    gap: 1px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.project-facts > div {
    padding: 18px 22px;
    background: var(--card);
}

.project-facts dt {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.project-facts dd {
    font-weight: 700;
}

.project-facts__metric dd {
    font-size: 24px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-cover {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card);
}

.project-cover img {
    width: 100%;
}

.project-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .project-blocks {
        grid-template-columns: 1fr;
    }
}

.project-block {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
}

.project-block h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.project-block p {
    color: var(--muted);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

.gallery a, .project-cover a {
    display: block;
    cursor: zoom-in;
}

.gallery img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform .4s var(--ease);
}

.gallery a:hover img {
    transform: scale(1.015);
}

.service-price {
    display: grid;
    gap: 1px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-2);
    background: var(--line);
}

.service-price > div {
    padding: 24px 26px;
    background: var(--card);
}

.service-price span {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}

.service-price strong {
    font-size: 30px;
    font-weight: 800;
}

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

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.features li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 22px 24px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--line);
    font-weight: 600;
}

.features i {
    color: #3ddc84;
}

.notfound {
    padding: calc(var(--header-h) + 100px) 0 120px;
    text-align: center;
}

.notfound__code {
    font-size: clamp(100px, 20vw, 200px);
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.notfound h1 {
    font-size: 36px;
    margin: 10px 0 12px;
}

.notfound p {
    color: var(--muted);
    margin-bottom: 32px;
}

/* STATIC PAGES */
.doc {
    max-width: 900px;
}

.doc__title {
    font-size: clamp(32px, 4.4vw, 52px);
}

.doc__date {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

.prose {
    padding: 44px 48px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    color: #c9c8d4;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

@media (max-width: 640px) {
    .prose {
        padding: 24px 20px;
        border-radius: var(--radius-sm);
        font-size: 16px;
    }
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #fff;
    line-height: 1.25;
}

.prose h1 {
    margin: 44px 0 16px;
    font-size: 32px;
}

.prose h2 {
    margin: 40px 0 14px;
    font-size: 25px;
}

@media (max-width: 640px) {
    .prose h2 {
        font-size: 21px;
        margin-top: 32px;
    }
}

.prose h3 {
    margin: 30px 0 10px;
    font-size: 20px;
}

.prose h4, .prose h5, .prose h6 {
    margin: 24px 0 8px;
    font-size: 17px;
}

.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table {
    margin: 0 0 16px;
}

.prose ul, .prose ol {
    padding-left: 24px;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.prose li::marker {
    color: var(--violet);
}

.prose li > ul, .prose li > ol {
    margin: 6px 0 0;
}

.prose strong {
    color: #fff;
}

.prose a {
    color: #c9b4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.prose a:hover {
    color: #fff;
}

.prose blockquote {
    padding: 14px 20px;
    border-left: 3px solid var(--violet);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, .03);
}

.prose blockquote > :last-child {
    margin-bottom: 0;
}

.prose hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    font-size: .88em;
}

.prose pre {
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    overflow-x: auto;
}

.prose pre code {
    padding: 0;
    background: none;
}

.prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 15px;
}

.prose th, .prose td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
}

.prose th {
    color: #fff;
    background: rgba(255, 255, 255, .04);
}

.prose img {
    border-radius: 12px;
    margin: 8px 0;
}

/* FOOTER */
.footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}

@media (max-width: 900px) {
    .footer {
        padding-bottom: 90px;
    }
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 640px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

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

.footer__brand img {
    display: block;
    width: 84px;
    height: auto;
}

.footer__brand span {
    color: #6f6d7d;
    font-size: 13px;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

@media (max-width: 640px) {
    .footer__nav {
        gap: 10px 22px;
    }
}

.footer__nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}

.footer__nav a:hover {
    color: #fff;
}

.footer__soc {
    display: flex;
    gap: 8px;
}

.footer__soc a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    font-size: 15px;
    transition: background .25s, color .25s;
}

.footer__soc a:hover {
    background: #fff;
    color: #000;
}

/* FLOATING */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 20px 0 16px;
    border-radius: 100px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
    transition: transform .3s var(--ease);
}

@media (max-width: 900px) {
    .wa-float {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        height: 52px;
        padding: 0 18px 0 14px;
        font-size: 15px;
    }
}

.wa-float i {
    font-size: 26px;
}

@media (max-width: 900px) {
    .wa-float i {
        font-size: 24px;
    }
}

.wa-float:hover {
    transform: translateY(-3px);
}

#spotlight {
    background: rgba(7, 7, 11, .96);
    font-family: inherit;
}

.toasts {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 110;
    transform: translateX(-50%);
    display: grid;
    gap: 10px;
    width: min(92vw, 420px);
}

@media (max-width: 900px) {
    .toasts {
        bottom: 84px;
    }
}

.toast {
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--card-2);
    border: 1px solid var(--line-2);
    font-weight: 600;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
    animation: toastIn .35s var(--ease);
}

.toast--success {
    border-color: rgba(61, 220, 132, .5);
}

.toast--error {
    border-color: rgba(255, 92, 92, .6);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* REVEAL */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
