/* ================================================================
================================================================ */
/* ---------- Tokens (10clouds-inspired violet palette) ---------- */
:root {
    --bg: #0a0a14;
    --bg-2: #11112a;
    --bg-light: #f6f6fb;
    --surface: #16163a;
    --surface-2: #1f1f4a;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #ffffff;
    --text-muted: #a8a8c0;
    --text-dark: #0a0a14;
    --text-dark-muted: #4a4a64;
    --primary: #6f4cff;
    --primary-hover: #8366ff;
    --primary-soft: rgba(111, 76, 255, 0.14);
    --accent: #b14bff;
    --accent-2: #ff4ec0;
    --accent-3: #4ea8ff;
    --teal: #2dd4bf;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --header-h: 100px;
    --section-pad: 50px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img, svg {
    display: block;
    max-width: 100%;
    padding-bottom: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1025px) {
    .container {
        padding: 0 4rem;
    }
}

@media (min-width: 1441px) {
    .container {
        padding: 3rem 3rem 3rem 3rem;
    }
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Typography helpers ---------- */
.text-gradient {
    /* color: var(--primary); */
}

.why .section-title .text-gradient, .revolution .section-title .text-gradient, .bento-showcase .section-title .text-gradient, .cases .section-title .text-gradient {
    /* color: oklch(51.1% 0.262 276.966); */
}

.text-accent-cyan {
    color: var(--teal);
}

/* ---------- Stagger animation for cards ---------- */
.why__grid .card:nth-child(1) {
    transition-delay: 0s;
}

.why__grid .card:nth-child(2) {
    transition-delay: 0.1s;
}

.why__grid .card:nth-child(3) {
    transition-delay: 0.2s;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* padding: 8px 18px; */
    border-radius: 999px;
    /* background: var(--primary-soft); */
    color: oklch(51.1% 0.262 276.966);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.eyebrow--light {
    /* background: rgba(111, 76, 255, 0.16); */
    color: var(--primary-hover);
    /* border: 1px solid rgba(111, 76, 255, 0.24); */
}

.section-rule {
    display: none;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 24px;
}

.section-head {
    max-width: 1000px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-title {
    font-size: clamp(40px, 5vw, 45px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.00em;
    margin: 0px 0 20px;
    color: var(--text-dark);
}

.section-title--light {
    color: var(--text);
}

.section-lead {
    font-size: clamp(16px, 1.6vw, 17px);
    line-height: 1.6;
    color: var(--text-dark-muted);
    margin: 0;
}

.section-lead--light {
    color: var(--text-muted);
}

.section-accent {
    margin-top: 22px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: oklch(51.1% 0.262 276.966);
    letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    /* border-radius: 8px; */
    /* font-weight: 600; */
    font-size: 15px;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: none;
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: none;
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 28px;
    font-size: 16px;
}

/* ================================================================
================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    overflow: visible;
    height: var(--header-h);
    background: rgb(16, 7, 39, 0.85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
    background: rgb(16, 7, 39);
    border-bottom-color: var(--border);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    line-height: 0;
}

.logo__img {
    display: block;
    height: 39px;
    width: auto;
}

.logo--footer .logo__img {
    height: 32px;
}

/* Nav */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

@media (min-width: 1181px) {
    .nav__item--has-submenu {
        position: static;
    }
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 15px;
    color: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    background: transparent;
    border: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

button.nav__link {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 8px;
    height: 3px;
    background: #2dd4bf;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after,
.nav__item--has-submenu:hover > .nav__link::after,
.nav__item--has-submenu > .nav__link.is-active::after {
    transform: scaleX(1);
}

.nav__link:hover, .nav__link:focus-visible, .nav__link:active, .nav__item--has-submenu:hover > .nav__link {
    color: #fff;
    outline: none;
}

.nav__chevron {
    flex-shrink: 0;
    padding-bottom: 0;
    transition: transform 0.2s ease;
}

.nav__item--has-submenu:hover .nav__chevron, .nav__item--has-submenu .nav__link[aria-expanded="true"] .nav__chevron {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 60;
    width: 100%;
    max-width: 1400px;
    margin: 0;
    padding: 10px 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.1);
    border-top: none;
    /* border-radius: 0 0 var(--radius-md) var(--radius-md); */
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

@media (min-width: 1025px) {
    .submenu {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1441px) {
    .submenu {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.nav__item--has-submenu:hover .submenu, .nav__item--has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-dark-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu__link:hover {
    background: var(--primary-soft);
    color: var(--text-dark);
}

.submenu__icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
}

.submenu__link:hover .submenu__icon {
    background: rgba(111, 76, 255, 0.22);
    color: var(--primary-hover);
}

/* Services mega-menu (full-width layout) */
.submenu--services {
    left: 50%;
    width: 100%;
    max-width: 1400px;
    padding: 24px 40px 28px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    column-gap: clamp(40px, 8vw, 120px);
    row-gap: 14px;
    justify-items: stretch;
    border-top: 1px solid rgba(10, 10, 20, 0.08);
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(10, 10, 20, 0.12);
    box-shadow: 0 14px 34px rgba(10, 10, 20, 0.08);
}

.submenu--services .submenu__icon {
    display: none;
}

.submenu--services .submenu__link {
    display: block;
    min-height: auto;
    padding: 10px 0;
    border-radius: 0;
    border-left: 4px solid transparent;
    background: transparent;
    color: #0f1115;
    text-align: left;
    transition: border-left-color 0.22s ease, padding-left 0.22s ease, color 0.22s ease;
}

.submenu--services .submenu__link:hover {
    background: transparent;
    color: #6f4cff;
    border-left-color: #6f4cff;
    padding-left: 10px;
}

.submenu--services .submenu__link:last-child {
    grid-column: -2 / -1;
    justify-self: stretch;
}

.submenu--services .submenu__link > span:last-child {
    display: block;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: 0.01em;
}

.submenu--services .submenu__link > span:last-child::after {
    content: "";
    display: block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #5d6472;
}

.submenu--services .submenu__link:nth-child(1) > span:last-child::after { content: "Разработка ERP для управления ресурсами, финансами и процессами."; }
.submenu--services .submenu__link:nth-child(2) > span:last-child::after { content: "Разработка CRM для продаж, лидов и клиентских коммуникаций."; }
.submenu--services .submenu__link:nth-child(3) > span:last-child::after { content: "Разработка AI-решений и ML-моделей для автоматизации задач."; }
.submenu--services .submenu__link:nth-child(4) > span:last-child::after { content: "Разработка iOS/Android-приложений, MVP и enterprise-решений."; }
.submenu--services .submenu__link:nth-child(5) > span:last-child::after { content: "Разработка Telegram Mini Apps и ботов с интеграциями."; }
.submenu--services .submenu__link:nth-child(6) > span:last-child::after { content: "Разработка SCM/WMS для управления поставками и складом."; }
.submenu--services .submenu__link:nth-child(7) > span:last-child::after { content: "Разработка BI-платформ: DWH, ETL и аналитические дашборды."; }
.submenu--services .submenu__link:nth-child(8) > span:last-child::after { content: "Разработка SaaS-платформ с multi-tenant архитектурой и API."; }
.submenu--services .submenu__link:nth-child(9) > span:last-child::after { content: "Разработка интернет-магазинов с highload-интеграциями."; }
.submenu--services .submenu__link:nth-child(10) > span:last-child::after { content: "Разработка маркетплейсов B2B/B2C с кабинетами продавцов."; }
.submenu--services .submenu__link:nth-child(11) > span:last-child::after { content: "Разработка решений для комплексной автоматизации бизнеса."; }
.submenu--services .submenu__link:nth-child(12) > span:last-child::after { content: "Разработка МИС и Digital Health платформ для медицины."; }
.submenu--services .submenu__link:nth-child(13) > span:last-child::after { content: "Разработка FinTech-продуктов: платежи, процессинг, банкинг."; }
.submenu--services .submenu__link:nth-child(14) > span:last-child::after { content: "Разработка blockchain/Web3-решений: dApps, DeFi, смарт-контракты."; }
.submenu--services .submenu__link:nth-child(15) > span:last-child::after { content: "Middle+/Senior специалисты в вашу команду."; }
.submenu--services .submenu__link:nth-child(16) > span:last-child::after { content: "Все направления разработки и цифровых услуг компании."; }

@media (max-width: 1200px) {
    .submenu--services {
        padding: 18px 24px 22px;
        column-gap: 28px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 900px) {
    .submenu--services {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

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

    .submenu--services .submenu__link:last-child {
        grid-column: auto;
    }
}

/* Header actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Burger */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu__link {
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.mobile-menu__link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-menu__cta {
    margin-top: 12px;
    align-self: stretch;
}

/* ================================================================
================================================================ */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 0 126px;
    background: #0a0a14;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 7, 25, 0.72) 0%, rgba(10, 7, 25, 0.82) 100%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.hero__content {
    max-width: 920px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-strong);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 14px var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero__title {
    margin: 0 0 28px;
    font-size: clamp(25px, 3.8vw, 53px);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero__subtitle {
    margin: 0 0 44px;
    max-width: 920px;
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 1.4;
    font-weight: 400;
    color: #d4d4e6;
}

.hero__highlight {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.hero__nowrap {
    white-space: nowrap;
}

/* На ультра-узких экранах разрешаем перенос, чтобы строка не обрезалась */
@media (max-width: 359px) {
    .hero__nowrap {
        white-space: normal;
    }
}

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

/* Directions row */
.directions {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.direction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7.68px;
    padding: 18px 12px;
    /* background: #faf8ff; */
    /* border: 1px solid rgba(10, 10, 18, 0.06); */
    border-radius: var(--radius-md);
    color: var(--text-dark);
    text-align: center;
    transform-origin: center center;
    transition: gap 0.28s ease, color 0.28s ease;
}

.direction:hover {
    gap: 5.12px;
    color: oklch(51.1% 0.262 276.966);
    background: transparent;
    position: relative;
    z-index: 1;
}

.direction__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: inherit;
    background: transparent;
    border: 0;
    transition: transform 0.8s ease-in-out, color 0.28s ease;
}

.direction__icon svg {
    width: 60px;
    height: 60px;
}

.direction:hover .direction__icon {
    transform: rotate(360deg) scale(1.15);
}

.direction__label {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    transition: transform 0.28s ease, color 0.28s ease;
}

.direction:hover .direction__label {
    transform: scale(1.15);
}

/* ================================================================
================================================================ */
.stats {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(37 0 131), rgb(0 40 124 / 92%)), url(https://img.magnific.com/free-photo/3d-rendering-hexagonal-texture-background_23-2150796421.jpg) center / cover no-repeat, radial-gradient(120% 120% at 50% 0%, #2a1f52 0%, #1a1338 38%, #130d29 100%);
    background-blend-mode: multiply, normal, normal;
    padding: 40px 0 40px;
    border-bottom: 1px solid var(--border);
}

.stats > .container {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.stats__item {
    position: relative;
    text-align: center;
    padding: 5px;
    margin: 20px 0px;
}

.stats__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(8, 6, 22, 0.55);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    border-radius: 28px;
    /* плавный уход фона в прозрачность по краям */
    -webkit-mask-image: radial-gradient(125% 135% at 50% 50%, #000 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(125% 135% at 50% 50%, #000 50%, rgba(0, 0, 0, 0) 100%);
}

.stats__num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 40pt;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.0em;
    color: var(--teal);
    font-family: BioSans-Regular, sans-serif;
}

.stats__suffix {
    color: var(--teal);
}

.stats__label {
    margin-top: 13px;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .stats__item::after {
        display: none;
    }
}

/* ================================================================
================================================================ */
/* Bento grid ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â Tailwind UI three-column */
.bento-showcase {
    background: var(--bg-light);
    padding: 56px 0;
    color: var(--text-dark);
}

.bento-showcase .section-title, .bento-showcase .section-lead {
    color: inherit;
}

.bento-showcase .section-lead {
    color: var(--text-dark-muted);
}

.bento-showcase__grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .bento-showcase__grid {
        margin-top: 4rem;
    }
}

@media (min-width: 1024px) {
    .bento-showcase__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 317px;
        /* gap: 1rem; */
    }
}

.bento-showcase__card {
    position: relative;
    min-height: 147px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.bento-showcase__card--lg {
    min-height: 240px;
}

.bento-showcase__card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (min-width: 1024px) {
    .bento-showcase__card:first-child {
        grid-row: span 2;
        border-radius: 32px 8px 8px 32px;
    }

    .bento-showcase__card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        border-radius: 16px 8px 8px 8px;
    }

    .bento-showcase__card:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        border-radius: 8px;
    }

    .bento-showcase__card:last-child {
        grid-column: 3;
        grid-row: span 2;
        border-radius: 8px 32px 32px 8px;
    }
}

.bento-showcase__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .bento-showcase__inner {
        padding: 3rem 2rem 0 2rem;
    }
}

.bento-showcase__card:last-child .bento-showcase__inner {
    padding-right: 0;
}

.bento-showcase__content {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .bento-showcase__content {
        margin-bottom: 1rem;
        padding-right: 2rem;
    }
}

.bento-showcase__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #030712;
    text-align: left;
}

.bento-showcase__desc {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666;
    text-align: left;
}

.bento-showcase__media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin-top: auto;
}

.bento-showcase__media img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.bento-showcase__media--code {
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 1rem;
}

.bento-showcase__code-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.bento-showcase__code-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    padding: 0 1rem;
    gap: 0;
}

.bento-showcase__code-tab {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.bento-showcase__code-tab.is-active {
    color: #fff;
    border-bottom-color: var(--primary);
}

.bento-showcase__code {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ccc;
    font-family: 'Courier New', monospace;
    scrollbar-width: none;
}

.bento-showcase__code::-webkit-scrollbar {
    display: none;
}

.code-kw {
    color: #ff79c6;
}

.code-fn {
    color: #8be9fd;
}

.code-str {
    color: #f1fa8c;
}

.code-cmt {
    color: #6272a4;
}

@media (min-width: 1024px) {
    .bento-showcase__desc {
        text-align: left;
    }
}

.bento-showcase__media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.bento-showcase__media--phone {
    container-type: inline-size;
    position: relative;
    width: 100%;
    min-height: 7.5rem;
    margin: 0 auto;
    max-width: 24rem;
}

@media (min-width: 1024px) {
    .bento-showcase__media--phone {
        min-height: 12rem;
        max-width: none;
        margin: 0;
    }
}

.bento-showcase__phone {
    position: absolute;
    left: -55px;
    right: 0;
    top: 0;
    bottom: -9px;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.bento-showcase__phone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.bento-showcase__media--center {
    /* padding: 2.5rem 2rem 3rem; */
}

@media (min-width: 640px) {
    .bento-showcase__media--center {
        /* padding: 2.5rem 2.5rem 3rem; */
    }
}

@media (min-width: 1024px) {
    .bento-showcase__media--center {
        /* padding-bottom: 0.5rem; */
    }
}

.bento-showcase__media--center {
    overflow: hidden;
    margin: 15px 0px;
}

.bento-showcase__media--center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-showcase__media--security {
    container-type: inline-size;
    padding: 1.5rem 0;
    margin: 13px 0px;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .bento-showcase__media--security {
        padding-bottom: 0.5rem;
    }
}

.bento-showcase__media--security img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-showcase__media--code {
    position: relative;
    flex: 1;
    min-height: 7.5rem;
}

@media (min-width: 1024px) {
    .bento-showcase__media--code {
        min-height: 12rem;
    }
}

.bento-showcase__media--code img {
    position: absolute;
    top: 2.5rem;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 2.5rem);
    object-fit: cover;
    object-position: top left;
    border-top-left-radius: 0.75rem;
}

/* Иконки рядом с заголовками в блоке «Преимущества» на узких экранах (≈ < 1000px) */
.bento-showcase__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bento-showcase__icon {
    display: none;
    flex-shrink: 0;
}

@media (max-width: 1023.98px) {
    .bento-showcase__media {
        display: none;
    }

    .bento-showcase__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: #fff;
        box-shadow: 0 6px 16px rgba(111, 76, 255, 0.3);
    }
}

.bento-showcase__ide {
    position: absolute;
    top: 2.5rem;
    right: 0;
    bottom: 0;
    left: 0rem;
    overflow: hidden;
    border-top-left-radius: 0.75rem;
    background: #111827;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    outline: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-showcase__ide-tabs {
    display: flex;
    background: #111827;
    outline: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
    color: #9ca3af;
}

.bento-showcase__ide-tab {
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid transparent;
}

.bento-showcase__ide-tab.is-active {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.bento-showcase__ide-tab:not(.is-active) {
    border-right-color: rgba(75, 85, 99, 0.1);
}

.bento-showcase__ide-body {
    padding: 1.5rem 1.5rem 3.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.bento-showcase__ide-body::-webkit-scrollbar {
    display: none;
}

.bento-showcase__code {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #d1d5db;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    tab-size: 2;
    white-space: pre;
}

.bento-showcase__code .code-kw {
    color: #818cf8;
}

.bento-showcase__code .code-fn {
    color: #7dd3fc;
}

.bento-showcase__code .code-str {
    color: #6ee7b7;
}

.bento-showcase__code .code-tag {
    color: #818cf8;
}

.bento-showcase__code .code-cmt {
    color: #6b7280;
}

@media (max-width: 639px) {
    .bento-showcase {
        padding: 56px 0;
    }

    .bento-showcase__copy {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bento-showcase__media--center {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bento-showcase__ide {
        left: 1.25rem;
        top: 1.5rem;
    }
}

/* ---- Единое отображение картинок в блоке «Преимущества» на моб./планшете ---- */
@media (max-width: 1023px) {
    /* Общий контейнер картинки: фиксированная высота, картинка по центру */
    .bento-showcase__media {
        flex: none;
        min-height: 0;
        height: 180px;
        margin: 1.25rem 0 0;
        padding: 0;
        overflow: hidden;
    }

    .bento-showcase__media img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    /* tec1 — сбрасываем десктопный абсолютный сдвиг (left:-55px и т.п.) */
    .bento-showcase__media--phone {
        max-width: none;
    }

    .bento-showcase__phone {
        position: relative;
        inset: auto;
        left: 0;
        right: auto;
        top: auto;
        bottom: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .bento-showcase__phone img {
        width: auto;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    /* tec2 / tec3 — убираем собственные отступы, чтобы высота была общей */
    .bento-showcase__media--center,
    .bento-showcase__media--security {
        margin: 1.25rem 0 0;
        padding: 0;
    }

    .bento-showcase__media--center img,
    .bento-showcase__media--security img {
        width: auto;
        height: 100%;
    }

    /* tec4 — относительный поток вместо absolute + contain вместо cover */
    .bento-showcase__media--code {
        position: relative;
        min-height: 0;
        padding: 0;
    }

    .bento-showcase__media--code img {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
    }
}

.clients-strip {
    position: relative;
    z-index: 5;
    /* padding: 0 0 64px; */
    background: var(--bg-light);
}

.clients-strip__card {
    margin-top: -136px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(10, 10, 18, 0.22);
    padding: 15px 40px;
    overflow: visible;
}

.clients-strip__card .directions {
    margin: 0;
    overflow: visible;
}

.clients-strip__divider {
    height: 1px;
    background: rgba(10, 10, 18, 0.08);
    margin: 28px 0 22px;
}

.clients-strip__caption {
    margin: 0 0 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark-muted);
}

.clients-strip__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.clients-strip__logo {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.clients-strip__logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.clients-strip__logo img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* На десктопе ниже 1441px глобальный .container теряет вертикальный
   padding (3rem появляется только с min-width:1441px). Из-за этого hero
   становится ниже, а карточка clients-strip ложится почти во всю ширину
   и перестаёт читаться «заехавшей» на hero. Возвращаем вертикальный
   отступ только этим двум контейнерам, горизонтальный (4rem) не трогаем,
   чтобы hero-контент оставался выровнен с остальными секциями. */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero__inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .clients-strip .container {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* Ниже 1025px глобальный .container сжимается до 1rem по бокам и теряет
   вертикальный padding, поэтому карточка снова разъезжается во всю ширину
   и не читается «заехавшей» на hero. Возвращаем вертикальный отступ обоим
   контейнерам и дополнительно сужаем саму карточку (горизонтальный padding
   её контейнера), чтобы тёмный hero обрамлял её с боков — «остров». */
@media (max-width: 1024px) {
    .hero {
        padding-bottom: 100px;
    }

    .hero__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .clients-strip .container {
        padding: 40px 40px;
    }
}

/* ================================================================
================================================================ */
.why {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    color: var(--text-dark);
}

.why .container {
    padding-top: 1rem;
}

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

.card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 10, 18, 0.08);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 10, 18, 0.06);
    border-color: rgba(111, 76, 255, 0.2);
}

.card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.card__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(111, 76, 255, 0.12);
    color: var(--primary);
}

.card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text-dark);
}

.card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dark-muted);
}

.why__final {
    margin: 72px auto 0;
    max-width: 800px;
    text-align: center;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

/* ================================================================
================================================================ */
.revolution {
    position: relative;
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    color: var(--text-dark);
    overflow: hidden;
}

.compare {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 10, 18, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.compare__head, .compare__row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.4fr;
    gap: 0;
}

.compare__head {
    background: #fafafd;
    border-bottom: 1px solid rgba(10, 10, 18, 0.08);
}

.compare__head-cell {
    padding: 24px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compare__head-cell--legacy {
    color: #8a8aa0;
}

.compare__head-cell--ai {
    color: #000000;
    background: var(--primary-soft);
    border-left: 1px solid rgba(10, 10, 18, 0.08);
}

.compare__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    width: fit-content;
}

.compare__tag--legacy {
    background: rgba(10, 10, 18, 0.06);
    color: #8a8aa0;
}

.compare__tag--ai {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.compare__row {
    border-bottom: 1px solid rgba(10, 10, 18, 0.08);
    transition: background 0.2s ease;
}

.compare__row:last-child {
    border-bottom: 0;
}

.compare__row:hover {
    background: #fafafd;
}

.compare__cell {
    padding: 22px 28px;
    font-size: 15px;
    line-height: 1.55;
}

.compare__cell--label {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.compare__cell--legacy {
    color: var(--text-dark-muted);
    border-left: 1px solid rgba(10, 10, 18, 0.08);
    position: relative;
}

.compare__cell--legacy::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
    transform: translateY(-50%);
    opacity: 0;
}

.compare__cell--ai {
    color: var(--text-dark);
    border-left: 1px solid rgba(10, 10, 18, 0.08);
    background: var(--primary-soft);
    position: relative;
}

.compare__cell--ai::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    opacity: 1;
}

/* ================================================================
================================================================ */
.footer {
    background: #06060d;
    color: var(--text-muted);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.7fr);
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer__col--services .footer__links--services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
}

.footer__links--services .footer__links-all-item {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.footer__col--brand {
    max-width: 360px;
}

.logo--footer {
    margin-bottom: 16px;
}

.footer__tagline {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer__contacts a {
    color: #fff;
    transition: color 0.2s ease;
}

.footer__contacts a:hover {
    color: var(--primary-hover);
}

.footer__title {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.footer__links-all {
    color: var(--primary-hover) !important;
    font-weight: 600;
}

.footer__links-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-soon {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer__social {
    display: flex;
    gap: 10px;
    order: -1;
}

.footer__social-link {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer__legal a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

/* ================================================================
Responsive
================================================================ */
@media (max-width: 1100px) {
    .directions {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__top {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    }

    .footer__col--services {
        grid-column: 1 / -1;
    }

    .footer__col--services .footer__links--services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header__actions .btn {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: calc(var(--header-h) + 28px) 0 90px;
    }

    .hero__inner {
        gap: 48px;
    }

    .why {
        padding: 80px 0;
    }

    .why__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .revolution {
        padding: 80px 0;
    }

    .compare__head, .compare__row {
        grid-template-columns: 1fr;
    }

    .compare__head-cell, .compare__cell {
        border-left: 0 !important;
        border-bottom: 1px solid rgba(10, 10, 18, 0.08);
    }

    .compare__head-cell:last-child, .compare__row > .compare__cell:last-child {
        border-bottom: 0;
    }

    .compare__cell--label {
        background: #fafafd;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 14px 24px;
    }

    .compare__head {
        display: none;
    }

    /* На мобиле шапка скрыта — подписываем ячейки, чтобы было видно, где что */
    .compare__cell--legacy::before,
    .compare__cell--ai::before {
        content: "Прошлое";
        position: static;
        display: block;
        width: auto;
        height: auto;
        margin: 0 0 6px;
        background: none;
        border-radius: 0;
        transform: none;
        opacity: 1;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #9a9aa6;
    }

    .compare__cell--ai::before {
        content: "Наше настоящее";
        color: var(--primary);
    }

    .footer {
        padding: 56px 0 24px;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding-bottom: 36px;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer__col--services .footer__links--services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__bottom {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .footer {
        padding: 48px 0 24px;
    }

    /* Компания | Ресурсы — рядом, бренд и услуги — на всю ширину */
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding-bottom: 28px;
    }

    .footer__col--brand,
    .footer__col--services {
        grid-column: 1 / -1;
    }

    .footer__col--brand {
        max-width: none;
    }

    .footer__col--services .footer__links--services {
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
    }

    /* Нижняя строка: соцсети сверху, копирайт и политика — в столбик слева */
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 24px;
    }

    .footer__social {
        order: -1;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }
}

/* ================================================================
================================================================ */
:root {
    --announce-h: 46px;
}

.announce {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--announce-h);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    display: none;
}

.announce.is-shown {
    display: block;
}

body.has-announce .hero {
    padding-top: calc(var(--header-h) + var(--announce-h) + 60px);
}

.announce__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
}

.announce__track {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.announce__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    text-align: center;
}

.announce__slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.announce__cta {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announce__dots {
    display: flex;
    gap: 6px;
}

.announce__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.announce__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.announce__close {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.announce__close:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 560px) {
    :root {
        --announce-h: 72px;
    }

    .announce__dots {
        display: none;
    }

    .announce__close {
        align-self: flex-start;
        margin-top: 6px;
    }

    .announce__inner {
        align-items: stretch;
    }

    .announce__slide {
        font-size: 12px;
        padding: 0 8px;
        line-height: 1.3;
    }
}

/* ================================================================
================================================================ */
.timeline {
    background: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2830&q=80&blend=111827&sat=-100&exp=15&blend-mode=multiply") center / cover no-repeat, var(--bg);
    padding: var(--section-pad) 0;
    color: var(--text);
}

.timeline__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.timeline__aside-inner {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.timeline__points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 0;
}

.timeline__points li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
}

.timeline__points strong {
    color: #fff;
    font-weight: 600;
}

.timeline__point-icon {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(111, 76, 255, 0.22), rgba(177, 75, 255, 0.12));
    /* border: 1px solid rgba(111, 76, 255, 0.35); */
    color: var(--teal);
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline__points li:hover .timeline__point-icon {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(111, 76, 255, 0.7);
    box-shadow: 0 8px 20px rgba(111, 76, 255, 0.28);
}

.timeline__benefit {
    margin: 32px 0 0;
    padding: 18px 22px;
    border-left: 3px solid var(--primary);
    background: var(--primary-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px;
    font-style: italic;
    color: #fff;
}

.timeline__steps {
    position: relative;
    padding-left: 56px;
}

.timeline__progress {
    position: absolute;
    left: 19px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--border);
    overflow: hidden;
}

.timeline__progress-fill {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transition: height 0.3s ease;
}

.timeline__step {
    position: relative;
    padding: 0 0 48px;
    opacity: 0.4;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline__step:last-child {
    padding-bottom: 0;
}

.timeline__step.is-active {
    opacity: 1;
    transform: translateY(0);
}

.timeline__node {
    position: absolute;
    left: -56px;
    top: -4px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-strong);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.timeline__step.is-active .timeline__node {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px var(--primary-soft);
}

.timeline__term {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
}

.timeline__step-title {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.timeline__body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

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

    .timeline__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline__aside-inner {
        position: static;
    }
}

/* ================================================================
================================================================ */
.services {
    background: var(--bg-2);
    padding: var(--section-pad) 0;
}

/* --- Team section --- */
.team {
    position: relative;
    overflow: hidden;
    background: #0a0a14;
    padding: var(--section-pad) 0;
    color: var(--text);
}

.team__aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}

.team__aurora canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.team > .container {
    position: relative;
    z-index: 1;
}

/* Team roles row (AI-native company) */
.team__carousel {
    position: relative;
    margin-top: 56px;
}

.team__roles {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.team__arrow {
    position: absolute;
    top: calc(50% - 7px);
    transform: translateY(-50%);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(168, 140, 255, 0.5);
    background: rgba(20, 18, 40, 0.82);
    color: #cdbcff;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.team__arrow--prev { left: -6px; }
.team__arrow--next { right: -6px; }

.team__arrow:hover {
    background: rgba(111, 76, 255, 0.9);
    border-color: rgba(168, 140, 255, 0.9);
    color: #fff;
}

.team__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.team__arrow:disabled:hover {
    background: rgba(20, 18, 40, 0.82);
    border-color: rgba(168, 140, 255, 0.5);
    color: #cdbcff;
}

.role-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    border-radius: 16px;
    border: 1px solid rgba(111, 76, 255, 0.45);
    background: linear-gradient(160deg, rgba(111, 76, 255, 0.32), rgba(20, 18, 40, 0.6));
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.role-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 0% 0%, rgba(111, 76, 255, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 76, 255, 0.45);
    background: linear-gradient(160deg, rgba(111, 76, 255, 0.4), rgba(20, 18, 40, 0.66));
}

.role-card:hover::before {
    opacity: 1;
}

/* Border Glow — a colored highlight on the border that follows the cursor
   (vanilla port of reactbits.dev/components/border-glow) */
.role-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        160px circle at var(--mx, 50%) var(--my, 0%),
        rgba(168, 140, 255, 0.95),
        rgba(111, 76, 255, 0.4) 26%,
        transparent 62%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 1;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.role-card--accent {
    border-color: rgba(111, 76, 255, 0.45);
    background: linear-gradient(160deg, rgba(111, 76, 255, 0.32), rgba(20, 18, 40, 0.6));
}

.role-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.role-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(111, 76, 255, 0.28);
    border: 1px solid rgba(111, 76, 255, 0.3);
    color: #fff;
}

.role-card__icon svg {
    width: 22px;
    height: 22px;
}

.role-card--accent .role-card__icon {
    background: rgba(111, 76, 255, 0.28);
    color: #fff;
}

.role-card__count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #b9a8ff;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(111, 76, 255, 0.12);
    border: 1px solid rgba(111, 76, 255, 0.28);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.role-card__title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
    color: var(--text);
}

.role-card__desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 16px;
}

.role-card__tools {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.role-card__tools li {
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    white-space: nowrap;
}

/* Below the single-row breakpoint: keep one row, scroll horizontally.
   Show a whole number of cards (no half-cards) and snap to card edges. */
@media (max-width: 1100px) {
    .team__roles {
        grid-template-columns: none;
        grid-auto-flow: column;
        /* exactly 3 cards visible */
        grid-auto-columns: calc((100% - 24px) / 3);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

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

    .role-card {
        scroll-snap-align: start;
        padding: 24px 22px;
    }

    /* На узких экранах стрелки не накладываем на карточки —
       выносим их в отдельный ряд под каруселью. */
    .team__carousel {
        padding-bottom: 60px;
    }

    .team__arrow {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .team__arrow--prev { left: calc(50% - 52px); }
    .team__arrow--next { right: calc(50% - 52px); }
}

/* exactly 2 cards visible */
@media (max-width: 760px) {
    .team__roles {
        grid-auto-columns: calc((100% - 12px) / 2);
    }
}

/* exactly 1 card visible */
@media (max-width: 520px) {
    .team__roles {
        grid-auto-columns: 100%;
    }
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 18px;
    grid-template-areas: "erp erp ai" "crm security ai" "mobile more more";
}

.bento__tile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento__tile:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.bento__tile--erp {
    grid-area: erp;
}

.bento__tile--crm {
    grid-area: crm;
}

.bento__tile--ai {
    grid-area: ai;
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
}

.bento__tile--security {
    grid-area: security;
}

.bento__tile--mobile {
    grid-area: mobile;
}

.bento__tile--more {
    grid-area: more;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    border-color: transparent;
}

.bento__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(177, 75, 255, 0.28), transparent 60%);
    transition: opacity 0.3s ease;
}

.bento__tile:hover .bento__glow {
    opacity: 1;
}

.bento__tile--more .bento__glow {
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.25), transparent 60%);
}

.bento__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
}

.bento__tile--ai .bento__icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bento__title {
    position: relative;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.bento__text {
    position: relative;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.bento__link {
    position: relative;
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-hover);
}

.bento__tile--ai .bento__link {
    color: #fff;
}

.bento__link--big {
    font-size: 18px;
    color: #fff;
}

.bento__tile--more .bento__title {
    font-size: 26px;
}

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

    .bento {
        grid-template-columns: 1fr;
        grid-template-areas: "erp" "crm" "ai" "security" "mobile" "more";
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "erp ai" "crm ai" "security mobile" "more more";
    }
}

/* ================================================================
================================================================ */
.cases {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    color: var(--text-dark);
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.cases .section-title {
    color: var(--text-dark);
}

.case-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    background: transparent;
    border: 2px solid #602be9;
    color: #4e4d6c;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.case-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, var(--bg-2), var(--surface));
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 56px;
    display: none;
}

.case-featured__content {
    padding: 56px;
    color: #fff;
}

.case-featured__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.case-featured__tags .case-tag {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.case-featured__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.case-featured__desc {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.case-featured__results {
    display: flex;
    gap: 32px;
    margin: 0 0 32px;
    flex-wrap: wrap;
}

.case-featured__results li {
    font-size: 14px;
    color: var(--text-muted);
}

.case-featured__results strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.case-featured__visual {
    position: relative;
    min-height: 380px;
    background: radial-gradient(circle at 70% 30%, rgba(177, 75, 255, 0.25), transparent 60%);
}

.case-3d {
    position: absolute;
    inset: 0;
}

.case-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.case-carousel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.case-carousel__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #100727;
}

.case-carousel__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-btn {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    /* border-radius: 50%; */
    border: none;
    background: transparent;
    color: #000000;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.carousel-btn:hover {
    background: #602be9;
    color: #fff;
    border-color: #602be9;
}

.carousel-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.carousel-btn.swiper-button-disabled:hover {
    background: transparent;
    color: #602be9;
}

.case-carousel__all {
    margin-left: 8px;
    font-weight: 600;
    color: #602be9;
    display: none;
}

.case-carousel .swiper {
    padding-bottom: 8px;
}

.case-carousel .swiper-wrapper, .testimonials__swiper .swiper-wrapper {
    height: auto;
}

.case-carousel .swiper-slide {
    height: auto;
}

.testimonials__swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
}

.case-card {
    height: 100%;
    background: transparent;
    border: 0;
    overflow: visible;
}

.case-card__shot {
    aspect-ratio: 3 / 2;
    background: #eceaf4;
    border-radius: 10px;
    overflow: hidden;
}

.case-card__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-card__shot img {
    transform: scale(1.03);
}

.case-card__body {
    padding: 22px 2px 4px;
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.case-card__tags .case-tag {
    padding: 0;
    border: 0;
    background: none;
    color: #7142eb;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-card__tags .case-tag:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
    color: rgba(113, 66, 235, 0.55);
}

.case-card__title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #100727;
}

.case-card__result {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #6c6b80;
    font-weight: 400;
}

.case-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-top: 28px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.case-carousel__controls .carousel-btn {
    flex-shrink: 0;
}

.case-carousel__progress {
    flex: 1;
    height: 3px;
    background: rgba(10, 10, 18, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.swiper-progress {
    height: 100%;
    width: 0;
    background: #602be9;
    transition: width 0.3s ease;
}

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

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

    .case-featured__content {
        padding: 36px;
    }

    .case-featured__visual {
        min-height: 260px;
        order: -1;
    }
}

/* ================================================================
================================================================ */
.techstack {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    display: none;
}

.marquee {
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__row {
    overflow: hidden;
}

.marquee__track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-left 40s linear infinite;
}

.marquee__track--reverse {
    animation: marquee-right 46s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }

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

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

    to {
        transform: translateX(0);
    }
}

.tech-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(10, 10, 18, 0.08);
    font-size: 16px;
    font-weight: 600;
    color: #8a8aa0;
    filter: grayscale(1);
    transition: color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.tech-chip:hover {
    color: var(--primary);
    border-color: var(--primary);
    filter: grayscale(0);
    transform: translateY(-2px);
}

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

/* ================================================================
================================================================ */
.testimonials {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

.testimonials__swiper {
    padding: 20px 0 60px;
}

.testimonial {
    margin: 0;
    height: 100%;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.testimonial__text {
    margin: 0 0 28px;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.55;
    color: #fff;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial__author strong {
    color: #fff;
    font-weight: 600;
}

.testimonial__avatar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
}

.testimonials .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.testimonials .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

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

/* ================================================================
================================================================ */
.cta {
    position: relative;
    background: var(--bg-2);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.cta__spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(111, 76, 255, 0.22), transparent 60%);
    transition: background 0.2s ease;
}

.cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.cta__inner--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.cta__inner--centered .cta__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1020px;
}

.cta__inner--centered .section-title {
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.25;
    margin: 0;
    font-weight: 300;
}

.cta__inner--centered .cta__submit {
    align-self: center;
}

/* --- .cta--simple: card overlapping footer (10clouds-style) --- */
.cta.cta--simple {
    position: relative;
    z-index: 3;
    background: var(--bg-light);
    overflow: visible;
    padding: 0;
    margin-top: 0;
}

.cta--simple .container {
    padding-top: 0;
}

.cta--simple .cta__card {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto -237px;
    padding: 70px 56px;
    background: linear-gradient(90deg, #0d0326 0%, #000000 45%, #0c042a 100%);
    border-radius: 0;
    box-shadow: 0 28px 64px -16px rgb(111 76 255 / 20%);
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.cta__bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.cta__card > .cta__text {
    position: relative;
    z-index: 1;
}

main:has(.cta--simple) + .footer {
    position: relative;
    z-index: 1;
    padding-top: calc(180px + 64px);
}

/* Ниже 1441px глобальный .container { padding: 3rem } отключается. Из-за этого
   у контейнера CTA пропадает нижний паддинг, отрицательный margin-bottom карточки
   схлопывается, и карточка перестаёт выступать за светлую секцию на тёмный футер
   («наезд» исчезает). Возвращаем нижний паддинг контейнера CTA (48px) — карточка
   снова выступает на футер на 189px, как на широких экранах. Паддинг футера
   доводим так, чтобы зазор до контента футера остался ~104px. */
@media (min-width: 901px) and (max-width: 1440px) {
    .cta--simple .container {
        padding-bottom: 48px;
    }

    main:has(.cta--simple) + .footer {
        padding-top: calc(180px + 64px + 49px);
    }
}

.cta__perks {
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta__perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #fff;
}

.cta__perk-icon {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.14);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: var(--teal);
}

.cta__form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta__field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.cta__field input, .cta__field textarea {
    font-family: inherit;
    font-size: 15px;
    color: #fff;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta__field input::placeholder, .cta__field textarea::placeholder {
    color: var(--text-dark-muted);
}

.cta__field input:focus, .cta__field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.cta__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.cta__consent input {
    margin-top: 2px;
    accent-color: var(--primary);
}

.cta__submit {
    margin-top: 4px;
}

.cta__success {
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: #fff;
    font-size: 14px;
    text-align: center;
}

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

    .cta__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cta--simple .cta__card {
        margin-bottom: -80px;
        padding: 48px 24px;
    }

    /* Без нижнего паддинга контейнера отрицательный margin-bottom карточки
       схлопывается, и она не выступает за светлую секцию на тёмный футер
       («наезд» пропадает). Возвращаем padding-bottom — карточка выступает
       на футер на 32px; футер-паддинг уменьшаем на те же 48px, чтобы зазор
       до контента футера остался ~56px. */
    .cta--simple .container {
        padding-bottom: 48px;
    }

    main:has(.cta--simple) + .footer {
        padding-top: calc(56px + 80px - 48px);
    }
}

/* ================================================================
================================================================ */
.cookie {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 80;
    max-width: 380px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: cookie-in 0.4s ease;
}

.cookie[hidden] {
    display: none;
}

@keyframes cookie-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie__text {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.cookie__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.messenger-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10%;
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    --fab-bg: linear-gradient(135deg, #6f4cff 0%, #a855f7 100%);
    --fab-color: #fff;
    --fab-shadow: 0 12px 30px rgba(111, 76, 255, 0.45);
    --fab-shadow-hover: 0 16px 38px rgba(111, 76, 255, 0.58);
    --fab-shadow-ring: 0 0 0 12px rgba(111, 76, 255, 0.14);
    background: var(--fab-bg);
    color: var(--fab-color);
    box-shadow: var(--fab-shadow);
    transition:
        background 0.45s ease,
        color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.2s ease;
    animation: fab-pulse 2.6s ease-in-out infinite;
}

.messenger-fab.is-on-light {
    --fab-bg: linear-gradient(135deg, #100727 0%, #2a1a5c 100%);
    --fab-shadow: 0 12px 28px rgba(16, 7, 39, 0.35);
    --fab-shadow-hover: 0 16px 36px rgba(16, 7, 39, 0.45);
    --fab-shadow-ring: 0 0 0 12px rgba(16, 7, 39, 0.1);
}

.messenger-fab.is-on-dark {
    --fab-bg: #fff;
    --fab-color: #2a1658;
    --fab-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    --fab-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.36);
    --fab-shadow-ring: 0 0 0 12px rgba(255, 255, 255, 0.14);
}

.messenger-fab:hover {
    transform: scale(1.08);
    box-shadow: var(--fab-shadow-hover);
}

@keyframes fab-pulse {
    0%, 100% {
        box-shadow: var(--fab-shadow);
    }

    50% {
        box-shadow: var(--fab-shadow), var(--fab-shadow-ring);
    }
}

@media (max-width: 560px) {
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* ================================================================
   Contact modal
================================================================ */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.contact-modal[hidden] {
    display: none !important;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 20, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.is-open .contact-modal__backdrop {
    opacity: 1;
}

.contact-modal__panel {
    position: relative;
    z-index: 1;
    width: min(552px, 100%);
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    color: var(--text-dark);
    box-shadow:
        0 24px 64px rgba(10, 8, 20, 0.22),
        0 0 0 1px rgba(10, 10, 18, 0.06);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-open .contact-modal__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-modal__inner {
    padding: 56px 56px 48px;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(10, 10, 18, 0.05);
    color: var(--text-dark-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-modal__close:hover {
    background: rgba(10, 10, 18, 0.09);
    color: var(--text-dark);
}

.contact-modal__header {
    padding-right: 40px;
    margin-bottom: 44px;
}

.contact-modal__title {
    margin: 0 0 16px;
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.contact-modal__accent {
    color: var(--primary);
}

.contact-modal__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark-muted);
}

.contact-modal__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-modal__row--contacts {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
}

.contact-modal__tile {
    border-radius: 0px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px 10px;
    border-radius: 0px;
    background: var(--bg-light);
    border: 1px solid rgba(10, 10, 18, 0.07);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-modal__tile:not(.contact-modal__tile--telegram):not(.contact-modal__tile--whatsapp):hover {
    border-color: rgba(111, 76, 255, 0.35);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 76, 255, 0.12);
}

.contact-modal__tile--telegram,
.contact-modal__tile--whatsapp {
    border-color: transparent;
    color: #fff;
}

.contact-modal__tile--telegram {
    background: #2aabee;
}

.contact-modal__tile--whatsapp {
    background: #25d366;
}

a.contact-modal__tile--telegram:hover,
a.contact-modal__tile--whatsapp:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 10, 20, 0.18);
}

a.contact-modal__tile--telegram:hover {
    background: #229ed9;
}

a.contact-modal__tile--whatsapp:hover {
    background: #20bd5a;
}

.contact-modal__tile--telegram .contact-modal__tile-icon,
.contact-modal__tile--whatsapp .contact-modal__tile-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-modal__tile--telegram .contact-modal__tile-text span,
.contact-modal__tile--whatsapp .contact-modal__tile-text span {
    color: rgba(255, 255, 255, 0.88);
}

.contact-modal__tile--telegram .contact-modal__tile-text strong,
.contact-modal__tile--whatsapp .contact-modal__tile-text strong {
    color: #fff;
}

.contact-modal__tile--muted {
    cursor: default;
}

.contact-modal__tile-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(111, 76, 255, 0.1);
    color: var(--primary);
}

.contact-modal__tile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-modal__tile-text strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

.contact-modal__tile-text span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark-muted);
    word-break: break-word;
}

@media (max-width: 480px) {
    .contact-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .contact-modal__panel {
        width: 100%;
        border-radius: 0;
    }

    .contact-modal__inner {
        padding: 48px 40px 40px;
    }

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

/* ================================================================
prefers-reduced-motion
================================================================ */
@media (prefers-reduced-motion: reduce) {
    .marquee__track, .marquee__track--reverse {
        animation: none;
    }

    .messenger-fab {
        animation: none;
        transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
    }

    .announce__slide {
        transition: none;
    }

    .contact-modal__panel,
    .contact-modal__backdrop {
        transition: none;
    }

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

    .reveal {
        transition: none;
    }
}

/* ================================================================
   Mobile fixes (<= 700px) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â overflow, scaling, alignment
================================================================ */
@media (max-width: 700px) {
    html {
        overflow-x: clip;
    }

    body {
        overflow-x: clip;
    }

    /* Team marquee: Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â´Ãƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Å¡ionally Ãƒâ€˜Ã‹â€ ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â²Ãƒâ€˜Ã…â€™Ãƒâ€˜Ã…Â½ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â° ÃƒÂÃ‚Â´ÃƒÂÃ‚Â»Ãƒâ€˜Ã‚Â ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â¼ÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â‚¬Â ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â¸.
       ÃƒÂÃ…Â¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¹ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â€šÂ¬ ÃƒÂÃ‚Â´ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¶ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½ ÃƒÂÃ‚ÂºÃƒÂÃ‚Â»ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã…â€™, Ãƒâ€˜Ã¢â‚¬Â¡Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â±Ãƒâ€˜Ã¢â‚¬Â¹ Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Â ÃƒÂÃ‚Â° ÃƒÂÃ‚Â½ÃƒÂÃ‚Âµ Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã¢â‚¬Â¦ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â´ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â»ÃƒÂÃ‚Â° ÃƒÂÃ‚Â² ÃƒÂÃ‚Â³ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â·ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â°ÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â¹ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»ÃƒÂÃ‚Â». */
    /* Stats: 50pt Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â»ÃƒÂÃ‚Â¸Ãƒâ€˜Ã‹â€ ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â¼ ÃƒÂÃ‚Â±ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™Ãƒâ€˜Ã‹â€ ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â¹ Ãƒâ€˜Ã‹â€ Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Å¾Ãƒâ€˜Ã¢â‚¬Å¡ ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â´ ÃƒÂÃ‚Â´ÃƒÂÃ‚Â²ÃƒÂÃ‚Âµ ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¸ ÃƒÂÃ‚Â½ÃƒÂÃ‚Â° 390px,
       Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã†â€™Ãƒâ€˜Ã¢â‚¬Å¾Ãƒâ€˜Ã¢â‚¬Å¾ÃƒÂÃ‚Â¸ÃƒÂÃ‚ÂºÃƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚Â¸ ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â´ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¸Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â¸ ÃƒÂÃ‚Â²Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â»ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â°ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¸ ÃƒÂÃ‚Â·ÃƒÂÃ‚Â° ÃƒÂÃ‚ÂºÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚ÂºÃƒâ€˜Ã†â€™. */
    .stats__num {
        font-size: 38px;
    }
    .stats__suffix {
        font-size: 24px;
    }
    .stats__label {
        font-size: 13px;
        margin-top: 8px;
    }
    .stats__grid {
        gap: 28px 16px;
    }

    /* Bento IDE: ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â´ Ãƒâ€˜Ã‚Â white-space:pre Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â·ÃƒÂÃ‚Â´ÃƒÂÃ‚Â²ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â³ÃƒÂÃ‚Â°ÃƒÂÃ‚Â» Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Â Ãƒâ€˜Ã†â€™. ÃƒÂÃ…Â¡ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â°ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ IDE,
       Ãƒâ€˜Ã¢â‚¬Â¡Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â±Ãƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â´ ÃƒÂÃ‚Â¿Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¾ÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â²ÃƒÂÃ‚Â°ÃƒÂÃ‚Â»Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã‚Â Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ ÃƒÂÃ‚Â²ÃƒÂÃ‚Â½Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¸ ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂµÃƒÂÃ‚Â³ÃƒÂÃ‚Â¾. */
    .bento-showcase__ide,
    .bento-showcase__media--code,
    .bento-showcase__code-block {
        max-width: 100%;
        overflow: hidden;
    }

    /* Cases swiper: ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â³Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â²ÃƒÂÃ‚Â°ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ Ãƒâ€˜Ã‹â€ ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â½Ãƒâ€˜Ã†â€™ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â»ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¹ÃƒÂÃ‚Â´ÃƒÂÃ‚Â°, Ãƒâ€˜Ã¢â‚¬Â¡Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â±Ãƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚ÂºÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚ÂºÃƒÂÃ‚Â° ÃƒÂÃ‚ÂºÃƒÂÃ‚ÂµÃƒÂÃ‚Â¹Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â°
       ÃƒÂÃ‚Â½ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â²Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â»ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â°ÃƒÂÃ‚Â»ÃƒÂÃ‚Â° ÃƒÂÃ‚Â·ÃƒÂÃ‚Â° ÃƒÂÃ‚Â¿Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚ÂµÃƒÂÃ‚Â´ÃƒÂÃ‚ÂµÃƒÂÃ‚Â»Ãƒâ€˜Ã¢â‚¬Â¹ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â°. */
    .case-carousel .swiper-slide {
        max-width: calc(100vw - 32px);
    }
    .case-card__title {
        font-size: 18px;
    }

    /* Directions cards ÃƒÂÃ‚Â² hero: Ãƒâ€˜Ã†â€™ÃƒÂÃ‚Â¼ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½Ãƒâ€˜Ã…â€™Ãƒâ€˜Ã‹â€ ÃƒÂÃ‚Â°ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ ÃƒÂÃ‚Â²ÃƒÂÃ‚Â½Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã†â€™ÃƒÂÃ‚Â¿Ãƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚Â¸ Ãƒâ€˜Ã‹â€ Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Å¾Ãƒâ€˜Ã¢â‚¬Å¡,
       Ãƒâ€˜Ã¢â‚¬Â¡Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â±Ãƒâ€˜Ã¢â‚¬Â¹ "ÃƒÂÃ‹Å“ÃƒÂÃ‚Â¼ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â·ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¼ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â‚¬Â°ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸ÃƒÂÃ‚Âµ" ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â¼ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â‚¬Â°ÃƒÂÃ‚Â°ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¾Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã…â€™ ÃƒÂÃ‚Â² ÃƒÂÃ‚ÂºÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚ÂºÃƒâ€˜Ã†â€™. */
    .directions {
        gap: 10px;
    }
    .direction {
        padding: 14px 6px;
    }
    .direction__label {
        font-size: 12px;
        line-height: 1.25;
    }
    .direction__icon {
        width: 48px;
        height: 48px;
    }
    .direction__icon svg {
        width: 46px;
        height: 46px;
    }

    /* Floating messenger button Ãƒâ€˜Ã¢â‚¬Â¡Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â±Ãƒâ€˜Ã¢â‚¬Â¹ ÃƒÂÃ‚Â½ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â¿ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚ÂµÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â²ÃƒÂÃ‚Â°ÃƒÂÃ‚Â» Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚ÂµÃƒÂÃ‚ÂºÃƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡ Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¹ÃƒÂÃ‚Â¼ÃƒÂÃ‚Â»ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¹ÃƒÂÃ‚Â½ÃƒÂÃ‚Â° */
    .messenger-fab,
    .messenger-fab-btn {
        opacity: 0.85;
    }
}

/* Mobile menu ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¾Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã…â€™Ãƒâ€˜Ã…Â½ ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¿Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â·Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â‚¬Â¡ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â¹ + Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â¶ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â´ÃƒÂÃ‚Â¾ ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â·ÃƒÂÃ‚Â° Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½ÃƒÂÃ‚Â° */
.mobile-menu.is-open {
    background: #0a0a14;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* ÃƒÂÃ‚Â£ÃƒÂÃ‚Â·ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¸ÃƒÂÃ‚Âµ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Â¹ 360-390px: ÃƒÂÃ‚Â´ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»ÃƒÂÃ‚Â½ÃƒÂÃ‚Â¸Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚ÂµÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™ÃƒÂÃ‚Â½ÃƒÂÃ‚Â°Ãƒâ€˜Ã‚Â Ãƒâ€˜Ã‚ÂÃƒâ€˜Ã¢â‚¬Å¡Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°Ãƒâ€˜Ã¢â‚¬Â¦ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â²ÃƒÂÃ‚ÂºÃƒÂÃ‚Â° ÃƒÂÃ‚Â´ÃƒÂÃ‚Â»Ãƒâ€˜Ã‚Â ÃƒÂÃ‚Â´ÃƒÂÃ‚Â»ÃƒÂÃ‚Â¸ÃƒÂÃ‚Â½ÃƒÂÃ‚Â½Ãƒâ€˜Ã¢â‚¬Â¹Ãƒâ€˜Ã¢â‚¬Â¦ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â»ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â² */
@media (max-width: 420px) {
    .stats__num {
        font-size: 32px;
        letter-spacing: 0;
    }
    .stats__suffix {
        font-size: 20px;
    }
}

/* ============ Inner pages ============ */
.page-body {
    background: var(--bg);
}

.page-main {
    padding-top: var(--header-h);
}

.page-hero {
    padding: 56px 0 72px;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(111, 76, 255, 0.28), transparent 60%),
        radial-gradient(700px 360px at 90% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
        linear-gradient(180deg, #0a0a14 0%, #12121f 100%);
    border-bottom: 1px solid var(--border);
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb__sep {
    opacity: 0.4;
}

.page-hero__eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal, #2dd4bf);
}

.page-hero__title {
    max-width: 920px;
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}

.page-hero__lead {
    max-width: 720px;
    margin: 20px 0 0;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.35;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.page-content {
    padding: 72px 0 96px;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-layout {
    display: grid;
    gap: 0;
}

.page-layout--with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 40px 48px;
    align-items: start;
}

.page-layout__main {
    min-width: 0;
}

.page-layout__sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.page-layout__sidebar .page-service-table {
    margin-top: 0;
}

.page-service-table__heading {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.page-service-table--sidebar .page-service-table__table {
    font-size: 15px;
}

.page-service-table--sidebar .page-service-table__table thead {
    display: none;
}

.page-service-table--sidebar .page-service-table__table tbody tr {
    display: block;
    border-bottom: 1px solid rgba(10, 10, 20, 0.08);
}

.page-service-table--sidebar .page-service-table__table tbody tr:last-child {
    border-bottom: none;
}

.page-service-table--sidebar .page-service-table__table tbody th,
.page-service-table--sidebar .page-service-table__table tbody td {
    display: block;
    width: 100%;
    border-bottom: none;
}

.page-service-table--sidebar .page-service-table__table tbody th[scope="row"] {
    width: auto;
    min-width: 0;
    padding: 18px 20px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: transparent;
}

.page-service-table--sidebar .page-service-table__table tbody td {
    padding: 0 20px 18px;
}

.page-service-table--sidebar .page-service-table__table tbody tr:last-child td {
    padding-bottom: 20px;
}

@media (max-width: 1024px) {
    .page-layout--with-sidebar {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-layout__sidebar {
        position: static;
    }
}

.page-prose {
    /* max-width: 820px; */
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-dark-muted);
}

.page-prose > * + * {
    margin-top: 1.25em;
}

.page-service-table {
    margin-top: 48px;
    overflow-x: auto;
}

.page-prose .page-service-table {
    margin-top: 2.5em;
}

.page-service-table__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(10, 10, 20, 0.06);
    overflow: hidden;
}

.page-service-table__table th,
.page-service-table__table td {
    padding: 20px 24px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(10, 10, 20, 0.08);
}

.page-service-table__table thead th {
    background: rgba(96, 43, 233, 0.06);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.page-service-table__table tbody th[scope="row"] {
    width: 28%;
    min-width: 140px;
    font-weight: 700;
    color: var(--text-dark);
    background: rgba(10, 10, 20, 0.02);
}

.page-service-table__table tbody tr:last-child th,
.page-service-table__table tbody tr:last-child td {
    border-bottom: none;
}

.page-service-table__table td {
    color: var(--text-dark-muted);
}

.page-service-table__list {
    margin: 12px 0 0;
    padding-left: 1.25em;
}

.page-service-table__list li + li {
    margin-top: 0.5em;
}

.page-prose a,
.page-inline-link {
    color: var(--purple, #602be9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-inline-link {
    font-weight: 600;
}

.page-intro {
    margin-bottom: 48px;
    font-size: clamp(17px, 1.8vw, 20px);
}

.page-section-title {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.page-section-lead {
    margin: 12px 0 32px;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dark-muted);
}

.page-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.page-pricing-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(10, 10, 20, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 43, 233, 0.22);
    box-shadow: 0 24px 60px rgba(96, 43, 233, 0.12);
}

.page-pricing-card--accent {
    background: linear-gradient(145deg, rgba(96, 43, 233, 0.06) 0%, rgba(45, 212, 191, 0.08) 100%);
}

.page-pricing-card__badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(96, 43, 233, 0.08);
    border: 1px solid rgba(96, 43, 233, 0.18);
    color: #602be9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-pricing-card__title {
    margin: 0;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.page-pricing-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark-muted);
}

.page-outro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    box-shadow: 0 18px 50px rgba(10, 10, 20, 0.05);
}

.page-outro p {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dark-muted);
}

.page-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-list--cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-list--cards li {
    padding: 24px 28px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(10, 10, 20, 0.05);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark-muted);
}

.page-list--cards li strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--text-dark);
}

.page-steps {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.page-steps li {
    counter-increment: step;
    display: grid;
    gap: 8px;
    padding: 24px 24px 24px 72px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 12px 36px rgba(10, 10, 20, 0.04);
}

.page-steps li::before {
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 24px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #602be9, #2dd4bf);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.page-steps li strong {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.page-steps li span {
    color: var(--text-dark-muted);
    font-size: 17px;
    line-height: 1.65;
}

.page-subsection {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(10, 10, 20, 0.1);
}

.page-subsection__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 1em;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.page-contacts {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 28px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(10, 10, 20, 0.08);
    list-style: none;
    box-shadow: 0 12px 36px rgba(10, 10, 20, 0.05);
}

.page-contacts li {
    font-size: 17px;
    color: var(--text-dark-muted);
}

.page-contacts a {
    color: #602be9;
}

.page-soon {
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed rgba(10, 10, 20, 0.15);
    color: var(--text-dark-muted);
}

.page-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.page-service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(10, 10, 20, 0.08);
    border-radius: 20px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    color: var(--text-dark);
}

.page-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(96, 43, 233, 0.12);
    border-color: rgba(96, 43, 233, 0.25);
}

.page-service-card--accent {
    background: linear-gradient(135deg, rgba(96, 43, 233, 0.08), rgba(45, 212, 191, 0.08));
}

.page-service-card__title {
    font-size: 20px;
    font-weight: 700;
}

.page-service-card__excerpt {
    flex: 1;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dark-muted);
}

.page-service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: #602be9;
}

.page-cta {
    margin-bottom: 0;
}

.page-cta .container {
    padding-top: 0;
}

.nav__link.is-active {
    color: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 36px 0 48px;
    }

    .page-content {
        padding: 48px 0 72px;
    }

    .page-prose,
    .page-pricing-card__text,
    .page-outro p {
        font-size: 16px;
    }

    .page-pricing-grid {
        grid-template-columns: 1fr;
    }

    .page-outro {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-steps li {
        padding-left: 24px;
        padding-top: 56px;
    }

    .page-steps li::before {
        left: 24px;
        top: 16px;
    }

    .page-service-table__table thead {
        display: none;
    }

    .page-service-table__table tbody tr {
        display: block;
        border-bottom: 1px solid rgba(10, 10, 20, 0.08);
    }

    .page-service-table__table tbody tr:last-child {
        border-bottom: none;
    }

    .page-service-table__table tbody th,
    .page-service-table__table tbody td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .page-service-table__table tbody th[scope="row"] {
        padding-bottom: 8px;
        min-width: 0;
    }
}

