/* HVZEweb — стили сайта (главная, услуги, страницы услуг). Разметку генерирует scripts/build-site.mjs */

/* Шрифты лежат на сайте (fonts/, лицензия OFL): быстрее и без запросов к Google */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url(../fonts/unbounded-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: 'Unbounded';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url(../fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url(../fonts/unbounded-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url(../fonts/manrope-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: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url(../fonts/manrope-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #F4F2EC;
    --paper-2: #EAE7DE;
    --card: #FFFFFF;
    --ink: #121211;
    --muted: #67635A;
    --line: rgba(18, 18, 17, 0.13);
    --line-2: rgba(18, 18, 17, 0.07);
    --dark: #0F0F0E;
    --dark-2: #191917;
    --dark-3: #242421;
    --on-dark: #F4F2EC;
    --on-dark-2: #A9A59B;
    --line-dark: rgba(244, 242, 236, 0.12);
    --accent: #CFF24A;
    --radius: 22px;
    --font-d: 'Unbounded', 'Manrope', system-ui, sans-serif;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --hdr: 72px;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -18px rgba(0, 0, 0, 0.22);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

:where(a, button, summary, select, textarea):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
}

.wrap--narrow {
    --wrap: 860px;
}

.ic {
    width: 20px;
    height: 20px;
    flex: none;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
}

.skip:focus {
    left: 16px;
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 15px/1 var(--font);
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn .ic {
    width: 18px;
    height: 18px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--accent {
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}

.btn--accent:hover {
    box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--accent) 90%, transparent);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-dark);
    color: var(--on-dark);
}

.btn--ghost:hover {
    border-color: rgba(244, 242, 236, 0.4);
}

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

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

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

/* ---------- Шапка ---------- */

.hdr {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    color: var(--on-dark);
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.hdr.is-scrolled,
.hdr.is-menu {
    background: rgba(15, 15, 14, 0.94);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom-color: var(--line-dark);
}

.hdr__in {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--hdr);
}

.logo {
    font: 700 19px/1 var(--font-d);
    letter-spacing: -0.02em;
    color: var(--on-dark);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.logo--lg {
    font-size: 26px;
}

.nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav__a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--on-dark-2);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.nav__a:hover {
    color: var(--on-dark);
    background: rgba(255, 255, 255, 0.05);
}

.ic--chev {
    width: 16px;
    height: 16px;
    transition: transform 0.25s;
}

.nav__dd {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav__dd:hover .ic--chev,
.nav__dd:focus-within .ic--chev {
    transform: rotate(180deg);
}

.dd {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.nav__dd:hover .dd,
.nav__dd:focus-within .dd {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dd__in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 720px;
    padding: 16px;
    border: 1px solid var(--line-dark);
    border-radius: 22px;
    background: var(--dark-2);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
}

.dd__title {
    margin: 4px 10px 8px;
    color: var(--on-dark-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dd__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.dd__link:hover {
    background: var(--dark-3);
}

.dd__ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 11px;
    background: color-mix(in srgb, var(--c) 16%, transparent);
    color: var(--c);
}

.dd__name {
    display: block;
    color: var(--on-dark);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.3;
}

.dd__price {
    display: block;
    color: var(--on-dark-2);
    font-size: 13px;
}

.burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--on-dark);
    transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

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

.burger span:last-child {
    top: 25px;
}

.burger[aria-expanded='true'] span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.burger[aria-expanded='true'] span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.mnav {
    display: none;
    max-height: calc(100dvh - var(--hdr));
    overflow-y: auto;
    padding: 8px 0 28px;
    border-top: 1px solid var(--line-dark);
}

.mnav.is-open {
    display: block;
}

.mnav__title {
    margin: 12px 0 8px;
    color: var(--on-dark-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mnav__svcs {
    display: grid;
}

.mnav__svc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark);
    font-weight: 700;
    text-decoration: none;
}

.mnav__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c);
}

.mnav__price {
    margin-left: auto;
    color: var(--on-dark-2);
    font-weight: 600;
    font-size: 14px;
}

.mnav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0 24px;
}

.mnav__links a {
    color: var(--on-dark-2);
    font-weight: 600;
    text-decoration: none;
}

/* ---------- Первый экран ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--hdr) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
    background: var(--dark);
    color: var(--on-dark);
}

.hero--sub {
    padding-bottom: clamp(48px, 6vw, 80px);
}

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

.hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 420px at 82% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
        radial-gradient(520px 380px at 8% 92%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244, 242, 236, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 242, 236, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}

.hero__in {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero__in > * {
    min-width: 0;
}

.hero--sub .wrap {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--on-dark-2);
    font-size: 13.5px;
    font-weight: 600;
}

.eyebrow__ic {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--accent);
    color: var(--ink);
}

.eyebrow__ic .ic {
    width: 15px;
    height: 15px;
}

.pulse {
    position: relative;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.h1 {
    margin: 22px 0 0;
    font: 600 clamp(34px, 5.2vw, 68px)/1.04 var(--font-d);
    letter-spacing: -0.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
}

.h1 em {
    font-style: normal;
    color: var(--accent);
}

.h1--svc {
    font-size: clamp(32px, 4.3vw, 56px);
}

.h1--sub {
    margin-top: 0;
}

.lead {
    max-width: 580px;
    margin: 22px 0 0;
    color: var(--on-dark-2);
    font-size: clamp(17px, 1.4vw, 19.5px);
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 16px 32px;
    margin: 44px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line-dark);
    list-style: none;
}

.facts b {
    display: block;
    font: 600 20px/1.2 var(--font-d);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.facts span {
    color: var(--on-dark-2);
    font-size: 13.5px;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero__chips li {
    padding: 8px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: var(--on-dark-2);
    font-size: 14.5px;
    font-weight: 600;
}

.hero__chips li:first-child {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.hero__chips b {
    color: var(--accent);
    font-weight: 800;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--on-dark-2);
    font-size: 14px;
}

.crumbs a {
    color: var(--on-dark-2);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--on-dark);
}

.crumbs span:last-child {
    color: var(--on-dark);
}

/* Коллаж на главной */

.collage {
    position: relative;
    aspect-ratio: 1 / 0.9;
}

.mock {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #1c1c1a;
    box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.75);
}

.mock__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #20201e;
}

.mock__bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3b3b37;
}

.mock__bar span {
    flex: 0 1 220px;
    margin-left: 10px;
    padding: 3px 10px;
    overflow: hidden;
    border-radius: 6px;
    background: #2a2a27;
    color: #8d897f;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mock img {
    display: block;
    width: 100%;
    height: auto;
}

.mock--back {
    position: absolute;
    top: 0;
    right: 0;
    width: 76%;
    transform: rotate(3deg);
    opacity: 0.75;
}

.mock--front {
    position: absolute;
    left: 0;
    top: 24%;
    width: 80%;
    transform: rotate(-2deg);
}

.badge-float {
    position: absolute;
    left: 4%;
    top: 7%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(25, 25, 23, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite;
}

/* Уведомление в стиле Telegram */

.ntf {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(27, 27, 25, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--on-dark);
    font-size: 13.5px;
    line-height: 1.4;
    box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.8);
}

.ntf__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ntf__av {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}

.ntf__av .ic {
    width: 15px;
    height: 15px;
}

.ntf__t {
    flex: 1;
    font-weight: 800;
}

.ntf__time {
    color: var(--on-dark-2);
    font-size: 11px;
}

.ntf__l {
    margin: 3px 0 0;
    color: #d8d5cc;
}

.ntf__draft {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ebe8df;
}

.ntf__draft span {
    display: block;
    margin-bottom: 4px;
    color: var(--on-dark-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ntf__btns {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 6px;
    margin-top: 12px;
}

.ntf__btns span {
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
}

.ntf__bars {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.ntf__bar {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 10px;
    color: #d8d5cc;
    font-size: 12.5px;
}

.ntf__bar i {
    display: block;
    width: var(--w);
    height: 8px;
    border-radius: 4px;
    background: var(--accent);
}

.ntf--hero {
    position: absolute;
    right: 0;
    bottom: 3%;
    width: 270px;
    animation: float 7s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Визуалы на страницах услуг */

.art {
    position: relative;
}

.art--browser .mock--main {
    transform: rotate(-1.5deg);
}

.art .ntf--float {
    position: absolute;
    right: -6px;
    bottom: -30px;
    width: 260px;
    animation: float 7s ease-in-out infinite;
}

.chat {
    max-width: 420px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background: #161615;
    box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.75);
}

.chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #1d1d1b;
}

.chat__head b {
    display: block;
    font-size: 15px;
}

.chat__head small {
    display: block;
    color: var(--on-dark-2);
    font-size: 12px;
}

.chat__av {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}

.chat__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 26px;
    background:
        radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 40%),
        #141413;
}

.chat__m {
    max-width: 84%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
}

.chat__m--bot {
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    background: #262624;
}

.chat__m--user {
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 600;
}

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

.chat__btns span {
    padding: 6px 12px;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
    border-radius: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.js .chat__body > * {
    animation: msg-in 0.5s var(--ease) both;
}

.js .chat__body > :nth-child(2) { animation-delay: 0.5s; }
.js .chat__body > :nth-child(3) { animation-delay: 1.1s; }
.js .chat__body > :nth-child(4) { animation-delay: 1.7s; }
.js .chat__body > :nth-child(5) { animation-delay: 2.3s; }
.js .chat__body > :nth-child(6) { animation-delay: 2.9s; }

@keyframes msg-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
}

.art--chat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.art--chat .chat {
    width: 100%;
}

.chat__body {
    padding-bottom: 52px;
}

.ntf--below {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    width: 270px;
    margin-top: -44px;
    animation: float 7s ease-in-out infinite;
}

.art--stack {
    display: grid;
    gap: 14px;
    max-width: 440px;
    margin-left: auto;
}

.ntf--s0 {
    animation: float 7s ease-in-out infinite;
}

.ntf--s1 {
    margin-left: 44px;
    animation: float 8s ease-in-out infinite -3s;
}

.ntf--s2 {
    margin-right: 36px;
    animation: float 7.5s ease-in-out infinite -1.5s;
}

.dash {
    display: grid;
    grid-template-columns: 56px 1fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: #161615;
    box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.75);
}

.dash__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    background: #1c1c1a;
}

.dash__logo {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--accent);
}

.dash__side i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
}

.dash__side i.is-on {
    background: color-mix(in srgb, var(--accent) 35%, transparent);
}

.dash__main {
    display: grid;
    gap: 16px;
    padding: 20px;
}

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

.dash__top span {
    color: var(--on-dark-2);
    font-size: 13px;
}

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

.dash__kpis div {
    padding: 12px;
    border-radius: 12px;
    background: #1f1f1d;
}

.dash__kpis small {
    display: block;
    color: var(--on-dark-2);
    font-size: 11.5px;
}

.dash__kpis b {
    display: block;
    font: 600 22px/1.3 var(--font-d);
}

.dash__kpis em {
    color: var(--accent);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 700;
}

.dash__kpis em.is-warn {
    color: #FFB86B;
}

.dash__chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
}

.dash__chart i {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(to top, color-mix(in srgb, var(--accent) 25%, transparent), var(--accent));
}

.dash__rows div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #d8d5cc;
    font-size: 13px;
}

.dash__rows b {
    margin-left: auto;
    color: var(--on-dark);
    white-space: nowrap;
}

.dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
}

.dot--g {
    background: #6EE7B0;
}

.dot--y {
    background: #FFB86B;
}

/* Бегущая строка */

.ticker {
    overflow: hidden;
    background: var(--accent);
    color: var(--ink);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 60s linear infinite;
}

.ticker span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 0 16px 28px;
    font: 500 15px/1 var(--font-d);
    white-space: nowrap;
}

.ticker span::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink);
}

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

/* ---------- Секции ---------- */

.sec {
    position: relative;
    padding: clamp(72px, 9vw, 128px) 0;
}

.sec--tight {
    padding: clamp(48px, 6vw, 72px) 0;
}

.sec--dark {
    background: var(--dark);
    color: var(--on-dark);
}

.sec--paper2 {
    background: var(--paper-2);
}

.sec__head {
    max-width: 780px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--ink);
}

.sec--dark .kicker {
    color: var(--on-dark-2);
}

.sec--dark .kicker::before {
    background: var(--accent);
}

.h2 {
    margin: 0;
    font: 600 clamp(30px, 3.8vw, 50px)/1.08 var(--font-d);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.h3 {
    margin: 0;
    font: 600 clamp(20px, 2vw, 26px)/1.2 var(--font-d);
    letter-spacing: -0.02em;
}

.sec__lead {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.sec--dark .sec__lead {
    color: var(--on-dark-2);
}

.sub-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px 24px;
    margin: clamp(56px, 7vw, 88px) 0 28px;
}

.sec--tight .sub-head {
    margin-top: 0;
}

.sub-head p {
    margin: 0;
    color: var(--muted);
}

.sec--dark .sub-head p {
    color: var(--on-dark-2);
}

/* ---------- Карточки услуг ---------- */

.sgroup + .sgroup {
    margin-top: clamp(40px, 5vw, 56px);
}

.sgroup__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 24px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.sgroup__head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.scards {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), 1fr);
    gap: 16px;
}

.scard .scard__bg {
    position: absolute;
    top: -22px;
    right: -22px;
    color: var(--c);
    opacity: 0.45;
    transform: rotate(-10deg);
    transition: transform 0.5s var(--ease);
    pointer-events: none;
}

.scard .scard__bg .ic {
    width: 120px;
    height: 120px;
    stroke-width: 1;
}

.scard:hover .scard__bg {
    transform: rotate(-4deg) scale(1.06);
}

.scard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 240px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.scard::before {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--c);
    opacity: 0;
    filter: blur(50px);
    transition: opacity 0.35s;
    pointer-events: none;
}

.scard:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.scard:hover::before {
    opacity: 0.45;
}

.scard > * {
    position: relative;
}

.scard__ic {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--c);
    color: var(--ink);
}

.scard__ic .ic {
    width: 24px;
    height: 24px;
}

.scard__name {
    margin-top: 12px;
    font: 600 20px/1.2 var(--font-d);
    letter-spacing: -0.02em;
}

.scard__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.scard__foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.scard__price {
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
}

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

.scard__go {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    flex: none;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    transition: transform 0.3s var(--ease);
}

.scard__go .ic {
    width: 17px;
    height: 17px;
}

.scard:hover .scard__go {
    transform: translateX(3px);
}

/* ---------- Кейсы и демо ---------- */

.cases,
.examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.examples {
    align-items: start;
}

.case {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--dark-2);
    color: var(--on-dark);
}

.case::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent);
    pointer-events: none;
}

.case > * {
    position: relative;
}

.case__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tag {
    padding: 6px 11px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c) 14%, transparent);
    color: var(--c);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case__svc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--on-dark-2);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.case__svc .ic {
    width: 15px;
    height: 15px;
    transition: transform 0.2s;
}

.case__svc:hover {
    color: var(--on-dark);
}

.case__svc:hover .ic {
    transform: translateX(3px);
}

.case__metric {
    margin-top: 6px;
}

.case__metric b {
    display: block;
    color: var(--c);
    font: 600 46px/1 var(--font-d);
    letter-spacing: -0.04em;
}

.case__metric span {
    display: block;
    margin-top: 6px;
    color: var(--on-dark-2);
    font-size: 14px;
}

.case__title {
    margin: 4px 0 0;
    font: 600 19px/1.3 var(--font-d);
    letter-spacing: -0.015em;
}

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

.case__pts li {
    position: relative;
    padding-left: 20px;
    color: #cfccc2;
    font-size: 15px;
    line-height: 1.5;
}

.case__pts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 2px;
    background: var(--c);
}

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

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

.chip {
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--on-dark-2);
    font-size: 12.5px;
    font-weight: 700;
}

.case__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.case__link .ic {
    width: 16px;
    height: 16px;
}

.demos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.demo {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--dark-2);
    color: var(--on-dark);
    text-decoration: none;
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.demo:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 242, 236, 0.3);
}

.demo__img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #222220;
}

.demo__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s var(--ease);
}

.demo:hover .demo__img img {
    transform: scale(1.04);
}

.demo__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.demo__kind {
    display: block;
    color: var(--on-dark-2);
    font-size: 12.5px;
    font-weight: 600;
}

.demo__title {
    display: block;
    font-weight: 800;
    font-size: 15.5px;
}

.demo__go {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.demo__go .ic {
    width: 16px;
    height: 16px;
}

.demo:hover .demo__go {
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
}

/* ---------- Процесс и гарантии ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 22px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
}

.step__n {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    font: 600 14px/1 var(--font-d);
}

.step__t {
    margin-top: 6px;
    font-weight: 800;
    font-size: 18px;
}

.step__d {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.guar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.guar__item {
    display: flex;
    gap: 14px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--on-dark);
}

.guar__ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}

.guar__ic .ic {
    width: 18px;
    height: 18px;
    stroke-width: 2.6;
}

.guar__t {
    display: block;
    font-weight: 800;
    font-size: 16px;
}

.guar__d {
    display: block;
    margin-top: 4px;
    color: var(--on-dark-2);
    font-size: 14px;
    line-height: 1.45;
}

/* ---------- Цены ---------- */

.ptable {
    display: grid;
    gap: 10px;
}

.prow {
    display: grid;
    grid-template-columns: 46px 1fr 130px 150px 38px;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: var(--card);
    text-decoration: none;
    transition: transform 0.25s var(--ease), border-color 0.25s;
}

.prow:hover {
    transform: translateX(4px);
    border-color: var(--ink);
}

.prow__ic {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--c);
}

.prow__name b {
    display: block;
    font-weight: 800;
    font-size: 17px;
}

.prow__name small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.prow__days {
    color: var(--muted);
    font-size: 15px;
}

.prow__price {
    font: 600 18px/1.2 var(--font-d);
    letter-spacing: -0.02em;
    text-align: right;
    white-space: nowrap;
}

.prow__go {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
}

.prow__go .ic {
    width: 17px;
    height: 17px;
}

/* ---------- FAQ ---------- */

.faq {
    display: grid;
    gap: 10px;
}

.faq__item {
    border: 1px solid var(--line-2);
    border-radius: 18px;
    background: var(--card);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.4;
    list-style: none;
}

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

.faq__ic {
    width: 22px;
    height: 22px;
    transition: transform 0.3s var(--ease);
}

.faq__item[open] .faq__ic {
    transform: rotate(45deg);
}

.faq__item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
    line-height: 1.6;
}

/* ---------- Контакты и бриф ---------- */

.contact {
    overflow: hidden;
}

.contact__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 460px at 15% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
    pointer-events: none;
}

.contact__in {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.contact__links {
    display: grid;
    gap: 12px;
    max-width: 420px;
    margin-top: 32px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--dark-2);
    color: var(--on-dark);
    text-decoration: none;
    transition: border-color 0.25s, transform 0.25s var(--ease);
}

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

.clink__ic {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
}

.clink__label {
    display: block;
    color: var(--on-dark-2);
    font-size: 13px;
}

.clink__val {
    display: block;
    font-weight: 800;
    font-size: 17px;
}

.brief {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 26px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.brief__title {
    margin: 0;
    font: 600 22px/1.2 var(--font-d);
    letter-spacing: -0.02em;
}

.fld {
    display: grid;
    gap: 8px;
}

.fld__l {
    font-weight: 700;
    font-size: 14px;
}

.fld select,
.fld textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink);
    font: 500 16px/1.4 var(--font);
}

.fld select {
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121211' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.fld textarea {
    min-height: 110px;
    resize: vertical;
}

.fld select:focus-visible,
.fld textarea:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}

.brief__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brief .btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.brief .btn--ghost:hover {
    border-color: var(--ink);
}

.brief__note {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- Страница услуги ---------- */

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

.pain {
    padding: 26px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
}

.pain__n {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent);
    font: 600 12.5px/1 var(--font-d);
}

.pain__t {
    margin: 18px 0 8px;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.3;
}

.pain__d {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.incl {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--card);
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.45;
}

.checks .ic {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent);
    stroke-width: 2.8;
}

.incl__card {
    position: sticky;
    top: calc(var(--hdr) + 24px);
    display: grid;
    gap: 6px;
    padding: 28px;
    border-radius: 26px;
    background: var(--dark);
    color: var(--on-dark);
}

.incl__ic {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: var(--accent);
    color: var(--ink);
}

.incl__ic .ic {
    width: 26px;
    height: 26px;
}

.incl__name {
    margin: 14px 0 0;
    color: var(--on-dark-2);
    font-weight: 700;
}

.incl__price {
    margin: 0;
    color: var(--accent);
    font: 600 34px/1.15 var(--font-d);
    letter-spacing: -0.03em;
}

.incl__days {
    margin: 0 0 16px;
    color: var(--on-dark-2);
}

.incl__note {
    margin: 8px 0 0;
    color: var(--on-dark-2);
    font-size: 13.5px;
    text-align: center;
}

.pkgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 12px;
}

.pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--card);
}

.pkg.is-active {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--on-dark);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.pkg__badge {
    position: absolute;
    top: -13px;
    left: 24px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 800;
}

.pkg__name {
    margin: 0;
    font-weight: 800;
    font-size: 18px;
}

.pkg__price {
    margin: 10px 0 0;
    font: 600 30px/1.15 var(--font-d);
    letter-spacing: -0.03em;
}

.pkg__price small {
    font: 700 15px/1 var(--font);
    letter-spacing: 0;
    opacity: 0.75;
}

.pkg.is-active .pkg__price {
    color: var(--accent);
}

.pkg__days {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.pkg__note {
    margin: 12px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.pkg.is-active .pkg__days,
.pkg.is-active .pkg__note {
    color: var(--on-dark-2);
}

.pkg.is-active .pkg__note {
    border-color: var(--line-dark);
}

.pkg__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none;
}

.pkg__link .ic {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.pkg__link:hover .ic {
    transform: translateX(3px);
}

.others {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.other {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--card);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s var(--ease);
}

.other:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.other__ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c);
}

.other__ic .ic {
    width: 17px;
    height: 17px;
}

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

.sticky-cta {
    display: none;
}

/* ---------- Статьи ---------- */

.acards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.acard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.acard:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.acard__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.acard__ic {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--c);
    color: var(--ink);
}

.acard__ic .ic {
    width: 17px;
    height: 17px;
}

.acard__title {
    font: 600 20px/1.25 var(--font-d);
    letter-spacing: -0.02em;
}

.acard__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.acard__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    font-weight: 800;
    font-size: 15px;
}

.acard__go .ic {
    width: 17px;
    height: 17px;
    transition: transform 0.2s;
}

.acard:hover .acard__go .ic {
    transform: translateX(3px);
}

.h1--article {
    font-size: clamp(30px, 4vw, 50px);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--on-dark-2);
    font-size: 14.5px;
    font-weight: 600;
}

.sec--article {
    padding-top: clamp(48px, 6vw, 72px);
}

.prose {
    font-size: 18px;
    line-height: 1.7;
}

.prose h2 {
    margin: 48px 0 16px;
    font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font-d);
    letter-spacing: -0.02em;
}

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

.prose p {
    margin: 0 0 16px;
}

.prose a {
    font-weight: 700;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

.prose ul {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.prose li {
    position: relative;
    padding-left: 24px;
}

.prose li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.68em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.table-wrap {
    margin: 8px 0 24px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
}

.prose table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15.5px;
    line-height: 1.45;
}

.prose th,
.prose td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line-2);
    text-align: left;
    vertical-align: top;
}

.prose thead th {
    background: var(--ink);
    color: var(--on-dark);
    font-weight: 700;
}

.prose tbody th {
    font-weight: 800;
}

.prose tbody tr:last-child > * {
    border-bottom: 0;
}

.cta-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px 20px;
    align-items: center;
    margin-top: 48px;
    padding: 28px;
    border-radius: 24px;
    background: var(--dark);
    color: var(--on-dark);
}

.cta-box__ic {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--ink);
}

.cta-box__ic .ic {
    width: 26px;
    height: 26px;
}

.cta-box__title {
    margin: 0;
    font: 600 20px/1.3 var(--font-d);
    letter-spacing: -0.02em;
}

.cta-box__text {
    margin: 6px 0 0;
    color: var(--on-dark-2);
    font-size: 15.5px;
}

.cta-box__btns {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Документы ---------- */

.legal h2 {
    margin: 40px 0 12px;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p {
    margin: 0;
    color: var(--muted);
}

.legal a {
    color: var(--ink);
    font-weight: 700;
}

/* ---------- Подвал ---------- */

.ftr {
    padding: 72px 0 32px;
    border-top: 1px solid var(--line-dark);
    background: var(--dark);
    color: var(--on-dark-2);
}

.ftr__top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
    gap: 36px;
}

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

.ftr__brand p {
    max-width: 340px;
    margin: 16px 0 20px;
    font-size: 15px;
}

.ftr__contacts {
    display: grid;
    gap: 8px;
}

.ftr__contacts a {
    color: var(--on-dark);
    font-weight: 700;
    text-decoration: none;
}

.ftr__contacts a:hover {
    color: var(--accent);
}

.ftr__title {
    margin: 0 0 14px;
    color: var(--on-dark);
    font-weight: 800;
    font-size: 15px;
}

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

.ftr__col a {
    color: var(--on-dark-2);
    font-size: 15px;
    text-decoration: none;
}

.ftr__col a:hover {
    color: var(--on-dark);
}

.ftr__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    font-size: 14px;
}

.ftr__bottom a {
    color: var(--on-dark-2);
}

/* ---------- Появление при прокрутке ---------- */

.js .rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .rv.is-in {
    opacity: 1;
    transform: none;
}

/* Первый экран появляется сразу через CSS, не дожидаясь скрипта */
.js .hero .rv {
    opacity: 1;
    transform: none;
    transition: none;
    animation: rise 0.8s var(--ease) both;
}

.js .hero .rv:nth-child(2) { animation-delay: 0.06s; }
.js .hero .rv:nth-child(3) { animation-delay: 0.12s; }
.js .hero .rv:nth-child(4) { animation-delay: 0.18s; }
.js .hero .rv:nth-child(5) { animation-delay: 0.24s; }
.js .hero .rv:nth-child(6) { animation-delay: 0.3s; }
.js .hero .rv:nth-child(7) { animation-delay: 0.36s; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* ---------- Адаптив ---------- */

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

    .hero__art {
        width: 100%;
        max-width: 620px;
        margin-top: 16px;
    }

    .art--chat .chat,
    .art--stack {
        margin-left: 0;
    }

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

    .scard:last-child:nth-child(odd) {
        grid-column: span 2;
    }

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

    .incl {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .incl__card {
        position: static;
        max-width: 420px;
    }

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

    .ftr__brand {
        grid-column: 1 / -1;
    }
}

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

    .hdr__cta {
        margin-left: auto;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 760px) {
    .facts {
        grid-template-columns: repeat(2, auto);
    }

    .pkgs,
    .checks,
    .contact__in {
        grid-template-columns: 1fr;
    }

    .pkgs {
        gap: 28px;
    }

    .prow {
        grid-template-columns: 44px 1fr auto;
        gap: 14px;
        padding: 14px;
    }

    .prow__ic {
        width: 44px;
        height: 44px;
    }

    .prow__days,
    .prow__go {
        display: none;
    }

    .prow__price {
        font-size: 15px;
    }

    .page-service .sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 8px 8px 20px;
        border: 1px solid var(--line-dark);
        border-radius: 999px;
        background: rgba(15, 15, 14, 0.92);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        color: var(--on-dark);
        transform: translateY(150%);
        transition: transform 0.35s var(--ease);
    }

    .sticky-cta.is-on {
        transform: none;
    }

    .sticky-cta small {
        display: block;
        color: var(--on-dark-2);
        font-size: 12px;
    }

    .sticky-cta b {
        display: block;
        font-size: 16px;
    }

    .page-service .ftr {
        padding-bottom: 104px;
    }

    .art .ntf--float,
    .ntf--below {
        width: 230px;
        right: 0;
    }

    .ntf--below {
        margin-left: 16px;
    }
}

@media (max-width: 600px) {
    .hdr__cta {
        display: none;
    }

    .burger {
        margin-left: auto;
    }

    .pains,
    .steps,
    .guar,
    .scards {
        grid-template-columns: 1fr;
    }

    .scard:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .scard {
        min-height: 0;
    }

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

    .collage {
        aspect-ratio: 1 / 1;
    }

    .ntf--hero {
        width: 230px;
        font-size: 12.5px;
    }

    .badge-float {
        font-size: 12.5px;
    }

    .case,
    .scard,
    .pain {
        padding: 22px;
    }

    .case__metric b {
        font-size: 40px;
    }

    .cases,
    .examples,
    .acards {
        grid-template-columns: 1fr;
    }

    .prose {
        font-size: 17px;
    }

    .cta-box {
        padding: 22px;
    }

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

    .dash__kpis b {
        font-size: 18px;
    }

    .faq__item summary {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq__item p {
        padding: 0 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .rv {
        opacity: 1;
        transform: none;
    }
}
