/* ================================================================
================================================================ */
/* ---------- Self-hosted Inter (variable, cyrillic + latin) ----------
   Заменяет внешний Google Fonts: убирает рендер-блокирующие запросы к
   fonts.googleapis.com / fonts.gstatic.com. Файлы — переменные (вес 100–900). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 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;
}

/* Длинные технические слова («импортозамещение», «микросервисная») на узких
   вьюпортах вылезали за контейнер заголовка. break-word (а не anywhere) переносит
   только когда слово реально не влезает, и не меняет расчёт ширин на десктопе. */
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

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: 95%;
    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);
}

/* Services mega-menu: слева 8 категорий, справа панель услуг наведённой категории */
.submenu--services {
    --submenu-rail: 430px;
    display: block;
    left: 50%;
    width: 100%;
    max-width: 1400px;
    /* на невысоких экранах меню целиком не помещается — прокручиваем его,
       чтобы нижние категории и «Все услуги» оставались доступны */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 0;
    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-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: var(--submenu-rail);
    /* Высоту меню задаёт колонка категорий, а панель услуг растянута по ней
       (position: absolute, top/bottom: 0). В короткой группе («ИТ-услуги» —
       5 категорий) рельсы не хватало на самую объёмную категорию, и список
       услуг обрезался скроллом — держим минимум под панель на 8 услуг. */
    min-height: 540px;
    padding: 20px 16px 20px clamp(16px, 3vw, 40px);
    background: #f7f8fb;
    border-right: 1px solid rgba(10, 10, 20, 0.08);
}

.submenu-cat__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.18s ease;
}

.submenu-cat__icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    transition: background 0.18s ease, color 0.18s ease;
}

.submenu-cat__text {
    min-width: 0;
}

.submenu-cat__name {
    display: block;
    color: #0f1115;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.submenu-cat__desc {
    display: block;
    margin-top: 3px;
    color: #5d6472;
    font-size: 13.5px;
    line-height: 1.35;
}

.submenu-cat__chevron {
    flex-shrink: 0;
    margin-left: auto;
    color: #a6adbb;
    transition: transform 0.18s ease, color 0.18s ease;
}

/* Наведённая категория; пока курсор не в меню — подсвечена первая */
.submenu-cat:hover > .submenu-cat__link,
.submenu-cat:focus-within > .submenu-cat__link,
.submenu-cats:not(:hover):not(:focus-within) .submenu-cat:first-child > .submenu-cat__link {
    background: var(--primary-soft);
}

.submenu-cat:hover .submenu-cat__icon,
.submenu-cat:focus-within .submenu-cat__icon,
.submenu-cats:not(:hover):not(:focus-within) .submenu-cat:first-child .submenu-cat__icon {
    background: var(--primary);
    color: #fff;
}

.submenu-cat:hover .submenu-cat__chevron,
.submenu-cat:focus-within .submenu-cat__chevron,
.submenu-cats:not(:hover):not(:focus-within) .submenu-cat:first-child .submenu-cat__chevron {
    color: var(--primary);
    transform: translateX(2px);
}

/* Панель услуг категории занимает правую часть меню; плавное скрытие даёт
   довести курсор от пункта категории до панели без «моргания» */
.submenu-cat__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--submenu-rail);
    padding: 24px clamp(24px, 4vw, 48px) 18px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

/* Правило «по умолчанию» действует только при ОТКРЫТОМ меню (:hover/:focus-within
   на пункте навигации): иначе visibility:visible у панели перебивает hidden
   закрытого меню, и невидимая панель ловит hover над контентом страницы,
   открывая меню (например, с полосы .clients-strip под шапкой). */
.submenu-cat:hover .submenu-cat__panel,
.submenu-cat:focus-within .submenu-cat__panel,
.nav__item--has-submenu:hover .submenu-cats:not(:hover):not(:focus-within) .submenu-cat:first-child .submenu-cat__panel,
.nav__item--has-submenu:focus-within .submenu-cats:not(:hover):not(:focus-within) .submenu-cat:first-child .submenu-cat__panel {
    opacity: 1;
    visibility: visible;
    /* активная панель поверх затухающей панели другой категории:
       без этого панель более поздней в DOM категории 160 мс перехватывает
       курсор над активной и «залипает» */
    z-index: 1;
}

/* Курсор в колонке категорий, но не на категории (на «Все услуги», паддинге,
   зазоре): после короткой паузы показываем первую категорию, чтобы правая
   часть меню не пустела. Пауза сохраняет «мост» — быстрый проезд через зазор
   в сторону открытой панели не перехватывается. Браузеры без :has()
   пропустят эти правила: у них правая часть в этом состоянии просто пустеет. */
.submenu-cats:hover:not(:has(.submenu-cat:hover, .submenu-cat:focus-within)) .submenu-cat:first-child > .submenu-cat__link {
    background: var(--primary-soft);
    transition-delay: 0.25s;
}

.submenu-cats:hover:not(:has(.submenu-cat:hover, .submenu-cat:focus-within)) .submenu-cat:first-child .submenu-cat__icon {
    background: var(--primary);
    color: #fff;
    transition-delay: 0.25s;
}

.submenu-cats:hover:not(:has(.submenu-cat:hover, .submenu-cat:focus-within)) .submenu-cat:first-child .submenu-cat__chevron {
    color: var(--primary);
    transform: translateX(2px);
    transition-delay: 0.25s;
}

.submenu-cats:hover:not(:has(.submenu-cat:hover, .submenu-cat:focus-within)) .submenu-cat:first-child .submenu-cat__panel {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition-delay: 0.25s;
}

.submenu-cat__panel-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(10, 10, 20, 0.06);
    color: #0f1115;
    font-size: 19px;
    font-weight: 700;
}

.submenu-cat__panel-count {
    color: #5d6472;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.submenu-cat__panel-list {
    display: grid;
    grid-template-columns: minmax(0, 480px);
    align-content: start;
    row-gap: 10px;
    column-gap: clamp(28px, 4vw, 64px);
}

.submenu-cat__panel-list--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Самая большая категория (13 услуг): плотнее типографика, чтобы панель
   не превышала высоту колонки категорий и не появлялась прокрутка */
.submenu-cat__panel-list--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 48px);
    row-gap: 6px;
}

/* Панель «Технологии»: стеков втрое больше, чем услуг в средней категории —
   раскладываем в 4 колонки. Подписи здесь короткие (несколько слов), иначе при
   ширине колонки ~190px они переносятся на 3–4 строки и панель прокручивается. */
.submenu-cat__panel-list--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(20px, 2.4vw, 40px);
    row-gap: 4px;
}

.submenu-cat__panel-list--cols-4 .submenu-cat__item {
    padding: 8px 0;
}

.submenu-cat__panel-list--cols-4 .submenu-cat__item-name {
    font-size: 17px;
    line-height: 1.3;
}

.submenu-cat__panel-list--cols-4 .submenu-cat__item-desc {
    margin-top: 3px;
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.submenu-cat__panel-list--cols-3 .submenu-cat__item {
    padding: 6px 0;
}

.submenu-cat__panel-list--cols-3 .submenu-cat__item-name {
    font-size: 16px;
    line-height: 1.35;
}

/* Описание не длиннее двух строк: иначе самые крупные категории (20+ услуг)
   перерастают высоту колонки категорий и панель начинает прокручиваться */
.submenu-cat__panel-list--cols-3 .submenu-cat__item-desc {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Пункты услуг — в дизайне исходного мегаменю: жирный заголовок и
   серое описание под ним */
.submenu-cat__item {
    display: block;
    padding: 10px 0;
    border-left: 4px solid transparent;
    transition: border-left-color 0.22s ease, padding-left 0.22s ease, margin-right 0.22s ease;
}

.submenu-cat__item-name {
    display: block;
    color: #0f1115;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: 0.01em;
    transition: color 0.22s ease;
}

.submenu-cat__item-desc {
    display: block;
    margin-top: 6px;
    color: #5d6472;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.submenu-cat__item:hover {
    border-left-color: #6f4cff;
    padding-left: 10px;
    /* компенсирует padding-left: ширина текста не меняется, строки не
       переносятся заново и высота пункта не «прыгает» */
    margin-right: -10px;
}

.submenu-cat__item:hover .submenu-cat__item-name {
    color: #6f4cff;
}

/* «Все услуги» — итоговая строка под категориями */
.submenu-cats__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 16px 2px;
    border-top: 1px solid rgba(10, 10, 20, 0.08);
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.18s ease;
}

.submenu-cats__all-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6472;
    font-size: 13px;
    font-weight: 500;
}

.submenu-cats__all-note svg {
    color: var(--primary);
    transition: transform 0.18s ease;
}

.submenu-cats__all:hover {
    color: var(--primary-hover);
}

.submenu-cats__all:hover .submenu-cats__all-note svg {
    transform: translateX(3px);
}

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

/* Burger */
.burger {
    display: none;
    /* 44×44 — минимальный тап-таргет (Apple HIG / WCAG 2.5.5) */
    width: 44px;
    height: 44px;
    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;
    /* Меню не должно уходить за нижний край: в мобильном landscape (844×390)
       семи пунктам не хватает высоты. Ограничиваем остатком вьюпорта под шапкой
       и скроллим внутри себя. */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.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 {
    display: inline-block;
    margin-top: 15px;
    white-space: nowrap;
}

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

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

/* Панель «Наши клиенты» в правой части hero (только главная,
   модификатор .hero__inner--partners). Логотипы намеренно монохромные
   (контур currentColor), чтобы не спорить с палитрой hero. Углы прямые,
   ряды разделены линейками — плашка читается как строгая таблица,
   а не «карточка»; сверху тонкая акцентная кромка в цветах сайта. */
.hero__partners {
    position: relative;
    align-self: flex-start;
    padding: 22px 26px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__partners::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
}

.hero__partners-title {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.hero__partner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
}

.hero__partner + .hero__partner {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__partner-logo {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.72);
}

.hero__partner-logo svg {
    width: 100%;
    height: 100%;
}

.hero__partner-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.01em;
}

/* Широкий десктоп: контент слева, плашка фиксированной ширины справа */
@media (min-width: 1201px) {
    .hero__inner--partners {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
    }

    .hero__inner--partners .hero__content {
        flex: 1 1 auto;
    }

    .hero__partners {
        /* flex: 0 0 320px; */
        width: 220px;
        /* align-self: center; */
        margin-top: 15px;
        /* Без этого на узком десктопе (~1201px) flex ужимал плашку до 184px
           и названия упирались в правый край — ширину держим заданную. */
        flex-shrink: 0;
    }
}

/* Уже 1200px hero остаётся колонкой: плашка во всю ширину, логотипы
   выстраиваются горизонтально с переносом, линейки-разделители убираем */
@media (max-width: 1200px) {
    .hero__partners {
        align-self: stretch;
        padding: 20px 24px;
    }

    .hero__partners-title {
        padding-bottom: 0;
        border-bottom: 0;
        margin-bottom: 16px;
    }

    .hero__partners-list {
        display: flex;
        flex-wrap: wrap;
        gap: 14px 28px;
    }

    .hero__partner {
        padding: 0;
    }

    .hero__partner + .hero__partner {
        border-top: 0;
    }
}

@media (max-width: 600px) {
    .hero__partners {
        padding: 18px 20px;
    }

    .hero__partner-logo {
        width: 28px;
        height: 28px;
    }

    .hero__partner-name {
        font-size: 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__item::after {
        display: none;
    }
}

/* Четыре колонки цифр перестают помещаться заметно раньше, чем срабатывал
   старый брейкпоинт 700px: при 768px сетке нужно 963px при контейнере 736 —
   четвёртая цифра уезжала за экран и срезалась `.stats { overflow: hidden }`.
   Переход на две колонки — с канонического 1024px.
   minmax(0, 1fr) вместо 1fr: у `1fr` минимум равен min-content, и длинная
   цифра («от 2 недель») распирала бы колонку шире контейнера. */
@media (max-width: 1024px) {
    .stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 24px;
    }

    .stats__num {
        flex-wrap: wrap;
    }
}

/* В двух колонках уже 900px не хватает, чтобы «от 2 недель» встало в строку
   при 40pt. Тот же кегль, что и в мобильном блоке ниже, — цифра остаётся
   однострочной вплоть до 320px. */
@media (max-width: 900px) {
    .stats__num {
        font-size: 38px;
    }

    .stats__suffix {
        font-size: 24px;
    }
}

/* ================================================================
================================================================ */
/* 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;
}

/* Таблицы сравнения с числом колонок, отличным от базовых трёх (параметр +
   2 подхода): генератор проставляет модификатор .compare--cols-N. Без него
   лишние ячейки переносятся на новую строку сетки и таблица «рассыпается».
   Ограничено десктопом: на ≤900px таблица схлопывается в одну колонку
   (см. медиазапрос ниже), и это правило не должно её перебивать. */
@media (min-width: 901px) {
    .compare--cols-4 .compare__head,
    .compare--cols-4 .compare__row {
        grid-template-columns: 1fr repeat(3, 1.2fr);
    }

    .compare--cols-5 .compare__head,
    .compare--cols-5 .compare__row {
        grid-template-columns: 0.9fr repeat(4, 1fr);
    }
}

.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;
}

/* Вариант .compare для сравнительного блока внутри текстовых полос
   сервисных страниц (например «ERP на заказ или 1С:ERP») */
.page-prose .compare--service {
    margin: 2.5em 0 0;
}

/* ================================================================
================================================================ */
.footer {
    background: #06060d;
    color: var(--text-muted);
    /* padding-top на всех текущих страницах перекрыт правилом
       main:has(.cta--simple) + .footer — там карточка CTA наезжает на футер
       и запас считается от неё; это значение — для страниц без CTA. */
    padding: 80px 0 28px;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
    gap: clamp(28px, 4vw, 64px);
    padding-bottom: 32px;
}

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

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

.footer__tagline {
    margin: 0 0 20px;
    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: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer__contacts svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.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;
    font-size: 14px;
}

/* Услуги: полоса под верхним рядом — 16 категорий каталога в 4 колонки.
   Полный список услуг здесь не дублируется: он есть в сквозном меню шапки,
   а по «Все услуги» — каталог /uslugi/. */
.footer__services {
    padding: 32px 0 36px;
    border-top: 1px solid var(--border);
}

.footer__services-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.footer__services-head .footer__title {
    margin: 0;
}

.footer__cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px clamp(24px, 3.5vw, 56px);
}

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

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

/* Стек — одной строкой под категориями, а не отдельной колонкой:
   12 ссылок колонкой вытягивали полосу вдвое. */
.footer__stack {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px clamp(14px, 1.6vw, 22px);
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer__stack-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    transition: color 0.2s ease;
}

.footer__stack-title:hover {
    color: var(--primary-hover);
}

.footer__stack-list {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px clamp(14px, 1.6vw, 22px);
    min-width: 0;
}

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

.footer__stack-list a:hover {
    color: #fff;
}

.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: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.footer__social {
    display: flex;
    gap: 10px;
}

.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 {
        gap: 28px 24px;
    }
}

@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);
    }

    /* На сервисных страницах подписи колонок берём из названий подходов,
       а не из захардкоженных «Прошлое / Наше настоящее» (цвет — из базовых правил) */
    .compare--service .compare__cell--legacy::before,
    .compare--service .compare__cell--ai::before {
        content: attr(data-label);
    }

    .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--contacts {
        grid-column: 1 / -1;
    }

    .footer__col--contacts .footer__contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 24px;
    }

    .footer__services {
        padding: 28px 0 32px;
    }

    .footer__cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 24px;
    }

    .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 {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer__col--contacts .footer__contacts {
        grid-template-columns: 1fr;
    }

    /* Услуги: категории в два столбца — по одному имена категорий слишком
       разрежены, а в два строка вида «Документооборот и процессы» ещё влезает */
    .footer__services {
        padding: 24px 0 28px;
    }

    .footer__cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }

    .footer__cats a,
    .footer__stack-list a {
        font-size: 13px;
    }

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

    .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;
    /* Карточка с overflow:hidden срезала хвост слова, не влезавшего в колонку
       (1280px: scrollWidth 125 при clientWidth 116). */
    overflow-wrap: break-word;
}

.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;
    }
}

/* ================================================================
================================================================ */
/* ================================================================
   Блок 10. Технологический стек — LogoLoop
   Тёмная разделительная лента между Портфолио и FAQ.
   ================================================================ */
.techstack {
    position: relative;
    background: #0a0a14;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* Тонкий фиолетовый блик по верхней кромке — лента читается как
   осознанный разделитель, а не как провал между светлыми секциями. */
.techstack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(111, 76, 255, 0.5), transparent);
    pointer-events: none;
}

.techstack__loop {
    width: 100%;
}

/* Статический список-семя: источник ссылок для JS и фолбэк без JS.
   Скрипт забирает из него элементы и очищает контейнер. */
.techstack__seed {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0 20px;
    list-style: none;
}
.techstack__seed a {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------- Ядро LogoLoop (порт reactbits.dev/animations/logo-loop) ---------- */
.logoloop {
    position: relative;
    overflow: hidden;
    --logoloop-gap: 32px;
    --logoloop-logoHeight: 28px;
    --logoloop-fadeColorAuto: #0a0a14;
}

.logoloop--vertical {
    height: 100%;
    display: inline-block;
}

.logoloop--scale-hover {
    padding-top: calc(var(--logoloop-logoHeight) * 0.14);
    padding-bottom: calc(var(--logoloop-logoHeight) * 0.14);
}

.logoloop__track {
    display: flex;
    width: max-content;
    will-change: transform;
    user-select: none;
    position: relative;
    z-index: 0;
}

.logoloop--vertical .logoloop__track {
    flex-direction: column;
    height: max-content;
    width: 100%;
}

.logoloop__list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logoloop--vertical .logoloop__list {
    flex-direction: column;
}

/* display:flex вместо инлайн-потока: иначе строчный «страт» размером
   font-size (= logoHeight) распирал бы <li> выше самой плашки. */
.logoloop__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-right: var(--logoloop-gap);
    font-size: var(--logoloop-logoHeight);
    line-height: 1;
}

.logoloop--vertical .logoloop__item {
    margin-right: 0;
    margin-bottom: var(--logoloop-gap);
}

.logoloop__node {
    display: inline-flex;
    align-items: center;
}

.logoloop__item img {
    height: var(--logoloop-logoHeight);
    width: auto;
    display: block;
    object-fit: contain;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logoloop--scale-hover .logoloop__item {
    overflow: visible;
}

.logoloop--scale-hover .logoloop__node {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logoloop--scale-hover .logoloop__item:hover img,
.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
    transform: scale(1.2);
    transform-origin: center center;
}

.logoloop__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 999px;
    transition: opacity 0.2s ease;
}

.logoloop__link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Краевые растворения. Цвет совпадает с фоном ленты. */
.logoloop--fade::before,
.logoloop--fade::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 10%, 160px);
    pointer-events: none;
    z-index: 10;
}

.logoloop--fade::before {
    left: 0;
    background: linear-gradient(to right, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(10, 10, 20, 0) 100%);
}

.logoloop--fade::after {
    right: 0;
    background: linear-gradient(to left, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(10, 10, 20, 0) 100%);
}

.logoloop--vertical.logoloop--fade::before,
.logoloop--vertical.logoloop--fade::after {
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(24px, 8%, 120px);
}

.logoloop--vertical.logoloop--fade::before {
    top: 0;
    bottom: auto;
    background: linear-gradient(to bottom, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(10, 10, 20, 0) 100%);
}

.logoloop--vertical.logoloop--fade::after {
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(10, 10, 20, 0) 100%);
}

/* Режим без анимации: одна копия, лента прокручивается пальцем/колесом. */
.logoloop--static {
    overflow-x: auto;
    scrollbar-width: thin;
}
.logoloop--static .logoloop__track {
    transform: translate3d(0, 0, 0) !important;
    padding: 0 20px;
}
.logoloop--static .logoloop__item img,
.logoloop--static .logoloop__node {
    transition: none !important;
}

/* ---------- Плашка технологии (кастомный рендер, useCustomRender) ---------- */
.tech-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Плашка = иконка (--logoloop-logoHeight) + паддинг 8px с двух сторон. */
    width: calc(var(--logoloop-logoHeight) + 16px);
    height: calc(var(--logoloop-logoHeight) + 16px);
    padding: 8px;
    border-radius: 8px;
    border: 2px solid #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    text-decoration: none;
    /* Теней нет намеренно: на ховере меняем только фон и цвет рамки. */
    transition: border-color 0.3s ease, background 0.3s ease,
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-logo__mark {
    flex: 0 0 auto;
    width: var(--logoloop-logoHeight);
    height: var(--logoloop-logoHeight);
    color: #fff;
    transition: color 0.3s ease;
}
.tech-logo__mark svg,
.tech-logo__mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Логотип файлом: SVG одноцветный и чёрный, поэтому кладём его в маску
   и заливаем currentColor — цвет наследуется от чипа и меняется на ховере. */
.tech-logo__mark--icon {
    background-color: currentColor;
    -webkit-mask: var(--tech-icon) center / contain no-repeat;
    mask: var(--tech-icon) center / contain no-repeat;
}

/* Название остаётся в разметке: плашка показывает только логотип, но
   скринридер и краулер по-прежнему получают текст ссылки. */
.tech-logo__name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.logoloop__item:hover .tech-logo,
.logoloop__item .tech-logo:focus-visible {
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.22);
}
.logoloop__item:hover .tech-logo .tech-logo__mark {
    color: #fff;
}

/* Пилюля широкая — 1.2 из оригинала смотрится грубо, берём мягкий масштаб. */
.logoloop--scale-hover .logoloop__item:hover .tech-logo {
    transform: scale(1.06);
}

@media (max-width: 900px) {
    .techstack {
        padding: 14px 0;
    }
    .tech-logo {
        border-radius: 8px;
    }
}


/* ================================================================
================================================================ */
.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 без max-height):
       на 320×568 и в landscape кнопка отправки становилась недостижимой.
       Ограничиваем высоту и скроллим содержимое внутри панели. */
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    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 {
    display: flex;
    flex-direction: column;
    padding: 56px 56px 48px;
}

/* Модалка открывается двумя кнопками и меняет порядок блоков, а не содержимое:
   «Обсудить проект» ставит наверх форму, «Наши контакты» — плитки каналов.
   Разметка одна, переставляет flex-order. */
.contact-modal[data-mode="contacts"] .contact-modal__header {
    order: -2;
}

.contact-modal[data-mode="contacts"] .contact-modal__grid {
    order: -1;
}

/* Разделитель показывается только тот, что стоит между блоками в этом режиме:
   в режиме формы — перед плитками, в режиме контактов — перед формой. */
.contact-modal[data-mode="contacts"] .contact-modal__divider,
.contact-modal[data-mode="form"] .lead-form__divider {
    display: none;
}

.contact-modal[data-mode="form"] .contact-modal__header {
    margin-bottom: 16px;
}

.contact-modal__divider {
    margin: 28px 0 22px;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    /* 44×44 — минимальный тап-таргет (Apple HIG / WCAG 2.5.5) */
    width: 44px;
    height: 44px;
    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;
}

/* ---------- Форма заявки в модалке ---------- */
.lead-form {
    margin-top: 28px;
}

.lead-form__divider,
.contact-modal__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark-muted);
}

.lead-form__divider::before,
.lead-form__divider::after,
.contact-modal__divider::before,
.contact-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(10, 10, 18, 0.1);
}

.lead-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lead-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lead-form__field--wide {
    grid-column: 1 / -1;
}

.lead-form__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.lead-form__optional {
    font-weight: 500;
    color: var(--text-dark-muted);
}

.lead-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(10, 10, 18, 0.14);
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form__input::placeholder {
    color: rgba(10, 10, 18, 0.38);
}

.lead-form__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111, 76, 255, 0.14);
}

.lead-form__textarea {
    resize: vertical;
    min-height: 84px;
}

.lead-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-dark-muted) 50%),
        linear-gradient(135deg, var(--text-dark-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

/* Ловушка для ботов: человек её не видит, скринридер пропускает */
.lead-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 18px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-dark-muted);
    cursor: pointer;
}

.lead-form__consent input {
    flex-shrink: 0;
    /* 18px + отступ: тап-таргет вместе с текстом метки перекрывает 44px */
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--primary);
}

.lead-form__consent a {
    color: var(--primary);
    text-decoration: underline;
}

.lead-form__submit {
    width: 100%;
    justify-content: center;
}

.lead-form__submit[disabled] {
    opacity: 0.6;
    cursor: default;
}

.lead-form__status {
    margin: 12px 0 0;
    min-height: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark-muted);
}

.lead-form__status--error {
    color: #c8365a;
}

/* Запасная доставка: показывается, когда приёмник не задан или не ответил */
.lead-form__fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.lead-form__fallback[hidden] {
    display: none;
}

.lead-form__status--ok {
    color: #1f9d63;
}

@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;
    }

    .lead-form__fields {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
prefers-reduced-motion
================================================================ */
@media (prefers-reduced-motion: reduce) {
    .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;
}

/* Хлебные крошки в hero — «пилюли» на тёмном фоне (референс: haulmont.ru):
   белые пилюли-ссылки с тёмным текстом, тонированная пилюля текущей страницы,
   разделитель-стрелка «→». */
.page-breadcrumb--hero {
    margin: 0 0 30px;
    gap: 12px;
    font-size: 15px;
}

.page-breadcrumb--hero a,
.page-breadcrumb--hero [aria-current] {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-breadcrumb--hero a {
    background: #fff;
    color: #2b3649;
    font-weight: 500;
}

.page-breadcrumb--hero a:hover {
    background: #efeaff;
    color: var(--primary);
}

.page-breadcrumb--hero [aria-current] {
    background: rgba(129, 99, 255, 0.22);
    border: 1px solid rgba(129, 99, 255, 0.38);
    color: #d8c9ff;
    font-weight: 600;
}

.page-breadcrumb--hero .page-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    opacity: 1;
}

.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;
    }
}

/* ============================================================
   Главная: блоки «Когда нужна», «Сколько стоит», FAQ (SEO)
   Переиспользуют компоненты дизайна .card и .compare
   ============================================================ */

/* --- Когда нужна заказная разработка (на компоненте .card) --- */
.usecases {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    color: var(--text-dark);
}
.usecases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.usecases .card__title {
    font-size: 20px;
}
.usecases .card__text a {
    color: var(--primary);
    font-weight: 600;
}
.usecases__note {
    margin: 56px auto 0;
    max-width: 780px;
    text-align: center;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}
.usecases__note a {
    color: var(--primary);
}

/* --- Сколько стоит (тёмная секция; таблица .compare — белая; URL /stoimost/) --- */
.pricing {
    position: relative;
    overflow: hidden;
    background: #0a0a14;
    padding: var(--section-pad) 0;
    color: var(--text);
}
/* Слой аврора-фона — как в .team; canvas инициализирует soft-aurora.js */
.pricing__aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}
.pricing__aurora canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.pricing > .container {
    position: relative;
    z-index: 1;
}
.pricing__answer {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
}
.pricing__answer b {
    color: #fff;
}
/* Бенто стоимости. --pb-accent — осветлённый акцент: --primary-hover (#8366ff)
   на --surface даёт 4.4:1 и не проходит AA для мелкого текста, #a78bfa даёт 6.4:1.
   .reveal живёт на обёртке .pbento, а не на ячейках: у ячеек свой transition
   для hover, и на общем элементе он затёр бы opacity из .reveal (одинаковая
   специфичность, это правило ниже по файлу) — карточки появлялись бы рывком. */
.pricing .eyebrow--light {
    color: #a78bfa;
}
.pbento {
    --pb-accent: #a78bfa;
    display: grid;
    gap: 16px;
    margin-top: 8px;
}
.pbento__cell {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 2.2vw, 32px);
}

/* Прайс: четыре группы услуг */
.pbento__groups {
    display: grid;
    gap: 26px 32px;
}
.pbento__group-h {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pb-accent);
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-strong);
}
.pbento__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pbento__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pbento__list li:last-child {
    border-bottom: 0;
}
.pbento__list a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s ease;
}
.pbento__list a:hover {
    color: var(--pb-accent);
}
.pbento__list span {
    font-size: 13px;
    font-weight: 700;
    color: var(--pb-accent);
    white-space: nowrap;
}
.pbento__foot {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--border-strong);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}
.pbento__foot b {
    color: #fff;
    font-weight: 700;
}
.pbento__foot a {
    color: var(--pb-accent);
    font-weight: 600;
    white-space: nowrap;
}

/* Финальная плашка */
.pbento__cell--cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, #1d1748 0%, var(--surface) 70%);
}
.pbento__cta-text {
    flex: 1 1 420px;
}
.pbento__cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.pbento__cta-sub {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
}

@media (min-width: 620px) {
    .pbento__groups {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1080px) {
    .pbento__groups {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- FAQ (светлая секция на фоне сайта --bg-light; белые карточки) --- */
.faq {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
    color: var(--text-dark);
}
/* Две колонки во всю ширину контейнера — вдвое меньше высоты секции.
   align-items: start, чтобы раскрытый вопрос тянул только свою карточку,
   а не весь ряд. */
.faq__list {
    margin: 8px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
}
@media (min-width: 860px) {
    .faq__list {
        grid-template-columns: 1fr 1fr;
    }
}
.faq__item {
    background: #fff;
    border: 1px solid rgba(10, 10, 18, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item:hover {
    border-color: rgba(111, 76, 255, 0.45);
    box-shadow: 0 12px 32px rgba(10, 10, 18, 0.10);
}
.faq__item[open] {
    border-color: var(--primary);
}
/* min-height держит закрытые вопросы одной высоты независимо от того,
   в одну или две строки лёг текст. align-items: start на сетке при этом
   сохранён — раскрытый вопрос тянет только свою карточку, не соседнюю.
   98px = высота двухстрочного вопроса (три самых длинных ложатся в две
   строки при 628px колонке); при 88px они выбивались из ряда. */
.faq__q {
    list-style: none;
    cursor: pointer;
    min-height: 98px;
    box-sizing: border-box;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.faq__q::-webkit-details-marker {
    display: none;
}
.faq__q::after {
    content: "+";
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(111, 76, 255, 0.12);
    color: var(--primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq__item[open] .faq__q::after {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}
.faq__a {
    padding: 0 26px 22px;
    color: var(--text-dark-muted);
    font-size: 15px;
    line-height: 1.7;
}
.faq__a a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 720px) {
    .usecases__grid {
        grid-template-columns: 1fr;
    }
    .faq__a {
        max-width: none;
    }
}

/* ================================================================
   Тап-таргеты на тач-вьюпортах (C2: ≥ 44×44 CSS px)

   Блок держится последним в файле намеренно: он перекрывает размеры,
   заданные выше по каскаду, не трогая десктопную раскладку (> 768px).
   Ширина ссылок остаётся по контенту — растим только кликабельную высоту,
   как разрешает исключение C2 для подвала.
================================================================ */
@media (max-width: 768px) {
    .footer__social-link {
        width: 44px;
        height: 44px;
    }

    .footer__links a,
    .footer__cats a,
    .footer__contacts a,
    .footer__stack-list a,
    .footer__stack-title,
    .footer__links-all,
    .footer__links-soon,
    .footer__legal a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    /* Логотип в шапке и в подвале — ссылка высотой в саму картинку (39/32px).
       Картинку не трогаем, добираем только зону нажатия. */
    .logo {
        min-height: 44px;
    }

    /* Компактные кнопки (btn--sm, 39px) на тач-экране недотягивают до нормы. */
    .btn--sm {
        min-height: 44px;
    }

    /* Инлайн-ссылка в абзаце: её бокс задаётся метрикой шрифта (~16px при кегле
       16px), а не межстрочным интервалом, поэтому до 24px по WCAG 2.5.8 её
       доводит только вертикальный padding. У строчного элемента он растит зону
       нажатия и bounding box, но не раздвигает строки — раскладка не меняется,
       подчёркивание остаётся на месте (оно привязано к базовой линии). */
    p a:not(.btn),
    li a:not(.btn) {
        padding-block: 5px;
    }
}

/* ================================================================
   Типографика на тач-вьюпортах (C3)

   Норма: основной текст ≥ 16px, вторичный (подписи, бейджи, сноски) ≥ 13px.
   На десктопе кегли остаются прежними — блок ограничен 768px, поэтому
   контроль десктопной регрессии (C12) правки не касаются.
================================================================ */
@media (max-width: 768px) {
    /* Основной текст: 14–15px → 16px. */
    .footer__contacts li,
    .card__text,
    .timeline__points li,
    .timeline__body p,
    .timeline__benefit,
    .bento-showcase__desc,
    .pbento__foot,
    .pbento__cta-sub,
    .role-card__desc {
        font-size: 16px;
    }

    /* Бейджи инструментов в карточке роли: 0.62rem (9.92px) — мелко даже по
       норме вторичного текста. Подняты сразу до основного кегля: их 23 на
       главной, и на 13px они перетягивали долю мелкого текста за порог в 10%. */
    .role-card__tools li {
        font-size: 16px;
    }
}

