/* ==========================================================
   Прилавок — лендинг платформы
   ========================================================== */

:root {
    --ink: #0b111c;
    --ink-2: #121a29;
    --ink-3: #1a2436;
    --paper: #fbf8f3;
    --paper-2: #f3eee5;
    --white: #fff;
    --text: #18202e;
    --muted: #5d6677;
    --line: #e7e1d6;
    --line-dark: rgba(255, 255, 255, 0.09);

    --accent: #ff7a3d;
    --accent-2: #ffb547;
    --accent-dark: #e85f22;
    --grad: linear-gradient(135deg, #ffb547 0%, #ff6a3d 100%);
    --blue: #0a76b8;
    --blue-2: #00a5e5;
    --green: #2fb36b;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px -24px rgba(16, 24, 38, 0.28);
    --shadow-soft: 0 10px 30px -12px rgba(16, 24, 38, 0.18);
    --ease: cubic-bezier(.2, .8, .2, 1);

    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Unbounded', 'Manrope', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

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

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

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 15px/1 var(--font);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(255, 122, 61, .45); outline-offset: 3px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--accent { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 106, 61, .65); }
.btn--accent:hover { box-shadow: 0 18px 40px -12px rgba(255, 106, 61, .8); }
.btn--glass { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(10px); }
.btn--glass:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); }
.btn--ghost { border-color: rgba(255, 255, 255, .2); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--ghost-dark { border-color: var(--line); background: var(--white); color: var(--text); }
.btn--ghost-dark:hover { border-color: var(--text); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--blue { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 12px 30px -10px rgba(10, 118, 184, .6); }
.btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }

.play-ico {
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
}

/* ---------- Значки и подписи ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 600;
}
.pill--light { border-color: var(--line); background: var(--white); color: var(--text); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 179, 107, .6); animation: ping 2s infinite; }
.pill__dot--orange { background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 122, 61, .6); }

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(47, 179, 107, .55); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(47, 179, 107, 0); }
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow--light { color: var(--accent-2); }
.eyebrow--blue { color: var(--blue); }

.tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.tag--dark { background: rgba(255, 181, 71, .14); color: var(--accent-2); }

/* ---------- Шапка ---------- */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 18px 0;
    transition: padding .3s var(--ease), background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
    padding: 10px 0;
    background: rgba(11, 17, 28, .78);
    box-shadow: 0 1px 0 var(--line-dark);
    backdrop-filter: blur(16px) saturate(1.4);
}
.header__inner { display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo img { border-radius: 12px; transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
/* Плашка «CMS» рядом с названием */
.logo__cms {
    margin-left: 8px;
    padding: 3px 7px 2px;
    border-radius: 7px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 600; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transition: right .3s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

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

.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 5px auto; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 0;
    background: var(--ink);
    color: #fff;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 18s ease-in-out infinite; }
.blob--1 { top: -180px; left: -120px; width: 560px; height: 560px; background: #ff6a3d; opacity: .35; }
.blob--2 { top: 80px; right: -200px; width: 620px; height: 620px; background: #2b5cff; opacity: .28; animation-delay: -6s; }
.blob--3 { bottom: -260px; left: 35%; width: 520px; height: 520px; background: #ffb547; opacity: .22; animation-delay: -12s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.08); }
    66% { transform: translate(-40px, 70px) scale(.95); }
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
    padding-bottom: 90px;
}

.hero__title { margin: 26px 0 22px; font-size: clamp(34px, 4.3vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.hero__lead { max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 18.5px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.hero__facts li { position: relative; padding-left: 22px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.hero__facts b { color: #fff; }

.hero__media { position: relative; perspective: 1600px; }

/* ---------- Окно браузера ---------- */
.browser {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: var(--ink-2);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; max-width: 380px; margin: 0 auto; padding: 5px 14px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .6); font-size: 12.5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0f1520; }

.browser--hero { transform: rotateY(-11deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.hero__media:hover .browser--hero { transform: rotateY(-4deg) rotateX(2deg); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }

/* Карточки событий поверх видео */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    font-size: 14px;
    line-height: 1.3;
    animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card__ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 800; }
.float-card__ico--green { background: linear-gradient(135deg, #3fd486, #1f9d5b); }
.float-card__ico--blue { background: linear-gradient(135deg, var(--blue-2), var(--blue)); font-size: 12px; }
.float-card__ico--gold { background: var(--grad); }
.float-card--order { top: 14%; left: -46px; }
.float-card--chat { bottom: 12%; right: -26px; animation-delay: -2s; }
.float-card--review { bottom: -22px; left: 12%; animation-delay: -4s; }

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

/* Бегущая строка */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { position: relative; color: rgba(255, 255, 255, .55); font-size: 15px; font-weight: 600; white-space: nowrap; }
.marquee__track span::before { content: "✦"; margin-right: 48px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: 120px 0; }
.section--tight { padding-top: 40px; }
.section--light { background: var(--paper); }
.section--dark { overflow: hidden; background: var(--ink); color: #fff; }

.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section__head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section__head--light p { color: rgba(255, 255, 255, .65); }
.section__head--left { margin: 0; text-align: left; }

.note { margin-top: 28px; color: var(--muted); font-size: 15px; text-align: center; }
.muted { color: var(--muted); font-size: 14.5px; }
.muted-light { color: rgba(255, 255, 255, .55); font-size: 14.5px; }

/* ---------- Для кого ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience__card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.audience__card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.audience__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--paper-2); font-size: 26px; }
.audience__card h3 { margin-bottom: 10px; font-size: 21px; }
.audience__card p { color: var(--muted); font-size: 16px; }

/* ---------- Плитки возможностей ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento__item {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__item--wide { grid-column: span 2; }
.bento__item h3 { margin-bottom: 10px; font-size: 21px; }
.bento__item p { position: relative; color: var(--muted); font-size: 15.5px; }
.bento__item--dark { border-color: transparent; background: var(--ink); color: #fff; }
.bento__item--dark p { color: rgba(255, 255, 255, .68); }

/* Подсветка за курсором */
.glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(255, 140, 70, .12), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.glow:hover::before { opacity: 1; }

.bento__shot {
    margin: 26px -32px -32px 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-right: 0;
    border-radius: 16px 0 0 0;
    box-shadow: var(--shadow-soft);
}
.bento__shot img { width: 100%; transition: transform 1.2s var(--ease); }
.bento__item:hover .bento__shot img { transform: scale(1.04) translateY(-2%); }

.mini-search { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
.mini-search__input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mini-search__input b { font-weight: 600; }
.mini-search__ico { width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 50%; position: relative; flex: none; }
.mini-search__ico::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.mini-search__list { margin: 0; padding: 6px; list-style: none; }
.mini-search__list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.mini-search__list li:first-child { background: var(--paper); }
.mini-search__list i { padding: 2px 8px; border-radius: 6px; background: var(--paper-2); color: var(--accent-dark); font-size: 11px; font-style: normal; font-weight: 800; }
.mini-search__list em { margin-left: auto; color: var(--muted); font-style: normal; white-space: nowrap; }

.mini-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: all .3s; }
.chip--on { border-color: transparent; background: var(--ink); color: #fff; }
.range { position: relative; width: 100%; height: 4px; margin: 22px 6px 6px; border-radius: 4px; background: var(--line); }
.range__fill { position: absolute; left: 18%; right: 30%; top: 0; bottom: 0; border-radius: 4px; background: var(--grad); animation: rangeMove 5s ease-in-out infinite; }
.range i { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: var(--shadow-soft); animation: rangeLeft 5s ease-in-out infinite; }
.range i + i { animation-name: rangeRight; }
@keyframes rangeMove { 0%, 100% { left: 18%; right: 30%; } 50% { left: 30%; right: 12%; } }
@keyframes rangeLeft { 0%, 100% { left: 18%; } 50% { left: 30%; } }
@keyframes rangeRight { 0%, 100% { left: 70%; } 50% { left: 88%; } }

.status-line { position: relative; display: flex; justify-content: space-between; margin: 28px 0 4px; padding: 0; list-style: none; counter-reset: st; }
.status-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--line); }
.status-line li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.status-line li::before { content: ""; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%; background: var(--white); }
.status-line li.is-done::before { border-color: transparent; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.status-line li.is-now { color: var(--text); }
.status-line li.is-now::before { border-color: var(--accent); background: var(--grad); animation: pulseRing 1.8s infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 61, .5); } 100% { box-shadow: 0 0 0 12px rgba(255, 122, 61, 0); } }

.review-mini { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--paper); }
.review-mini__stars { color: #f5a524; letter-spacing: 2px; }
.review-mini p { margin: 6px 0 10px; color: var(--text); font-size: 14.5px; font-style: italic; }
.review-mini__badge { color: var(--green); font-size: 12.5px; font-weight: 800; }

.import-bar { position: relative; margin-top: 26px; }
.import-bar::before { content: ""; display: block; height: 10px; border-radius: 10px; background: var(--paper-2); }
.import-bar__fill { position: absolute; left: 0; top: 0; width: 0; height: 10px; border-radius: 10px; background: var(--grad); transition: width .2s linear; }
.import-bar small { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.import-bar b { color: var(--text); }

.ai-lines { display: grid; gap: 10px; margin-top: 26px; }
.ai-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 13px 16px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.ai-line span { min-width: 140px; color: rgba(255, 255, 255, .5); }
.ai-line b { color: #fff; font-weight: 600; }
.typing::after { content: "▌"; margin-left: 2px; color: var(--accent-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Заказы услуг: лента статусов и карточка заказа */
.svc-flow { position: relative; display: flex; justify-content: space-between; gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; }
.svc-flow::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; background: var(--line); }
.svc-flow li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.25; }
.svc-flow li::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 50%; background: var(--white); }
.svc-flow li.is-done::before { border-color: transparent; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.svc-flow li.is-now { color: var(--text); }
.svc-flow li.is-now::before { border-color: var(--accent); background: var(--grad); animation: pulseRing 1.8s infinite; }

.svc-card { display: grid; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; }
.svc-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.svc-card__row:first-child { border-top: 0; background: var(--paper); }
.svc-card__row span { color: var(--muted); }
.svc-card__row .ok { color: var(--green); }
.svc-badge { padding: 4px 10px; border-radius: 999px; background: rgba(255, 122, 61, .12); color: var(--accent-dark) !important; font-size: 12px; font-weight: 800; white-space: nowrap; }

.supplier-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.supplier-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.supplier-list i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; }
.supplier-list span { display: grid; line-height: 1.3; font-size: 14px; }
.supplier-list small { color: var(--muted); font-size: 12.5px; }
.supplier-list em { margin-left: auto; padding: 3px 9px; border-radius: 8px; background: var(--paper-2); color: var(--text); font-size: 12.5px; font-style: normal; font-weight: 800; }

/* ---------- Проекты ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.project { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__media { position: relative; padding: 28px 28px 0; background: linear-gradient(160deg, #1b2433, #0b111c); }
.project--soft .project__media { background: linear-gradient(160deg, #e6f3f2, #f6e6e8); }
.project__shot { width: 82%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .35); transition: transform .8s var(--ease); }
.project__phone { position: absolute; right: 22px; bottom: -40px; width: 24%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border: 5px solid #05080d; border-radius: 22px; box-shadow: var(--shadow); transition: transform .8s var(--ease); }
.project:hover .project__shot { transform: translateY(-6px); }
.project:hover .project__phone { transform: translateY(-14px) rotate(-2deg); }
.project__body { position: relative; z-index: 1; padding: 30px 30px 32px; background: var(--white); }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.project__tags span { padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.project h3 { margin-bottom: 10px; font-size: 26px; }
.project p { color: var(--muted); font-size: 15.5px; }
.project__link { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 800; border-bottom: 2px solid var(--accent); }
.project__link:hover { color: var(--accent-dark); }

/* ---------- Админка ---------- */
.section--dark.section--admin::before { background: radial-gradient(closest-side, rgba(46, 196, 182, .22), transparent); }
.eyebrow--teal { color: #5fe0d4; }

.compare { position: relative; max-width: 1080px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8); user-select: none; }
.compare__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__top .compare__img { height: 100%; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #2ec4b6; box-shadow: 0 0 20px rgba(46, 196, 182, .7); transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #2ec4b6; color: #062421; font-size: 20px; font-weight: 800; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__label { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 17, 28, .75); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); pointer-events: none; }
.compare__label--left { left: 16px; }
.compare__label--right { right: 16px; background: rgba(255, 255, 255, .85); color: var(--ink); }

.palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.palette__chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; }
.palette__chip i { width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }

.admin-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.admin-shot { margin: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 18px; background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s; }
.admin-shot:hover { transform: translateY(-6px); border-color: rgba(46, 196, 182, .5); }
.admin-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.admin-shot figcaption { padding: 16px 18px 18px; color: rgba(255, 255, 255, .55); font-size: 14px; }
.admin-shot b { display: block; margin-bottom: 2px; color: #fff; font-size: 15.5px; }

/* ---------- Цена ---------- */
.price { position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 36px; margin-bottom: 22px; overflow: hidden; padding: 42px 44px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.price h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 38px); }
.price p { color: var(--muted); font-size: 16px; }
.price__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.price__list li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; font-weight: 600; }
.price__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }

/* ---------- Витрина скриншотов ---------- */
.section--dark::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 122, 61, .22), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.showcase__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.showcase__tab {
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .7);
    font: 700 14.5px var(--font);
    cursor: pointer;
    transition: all .3s var(--ease);
}
.showcase__tab:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.showcase__tab.is-active { border-color: transparent; background: #fff; color: var(--ink); }

.showcase__stage { position: relative; max-width: 1040px; margin: 0 auto; padding-right: 90px; }
.browser--show { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8); }
.showcase__screens { aspect-ratio: 16 / 10; }
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.showcase__img.is-active { opacity: 1; transform: scale(1); }
.showcase__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.showcase__progress.is-running { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }

.phone {
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 220px;
    padding: 10px;
    border-radius: 38px;
    background: #05080d;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12) inset;
    transform: rotate(4deg);
    transition: transform .6s var(--ease);
}
.phone:hover { transform: rotate(0) translateY(-8px); }
.phone__notch { position: absolute; top: 18px; left: 50%; z-index: 2; width: 74px; height: 20px; border-radius: 20px; background: #05080d; transform: translateX(-50%); }
.phone__screen { overflow: hidden; aspect-ratio: 390 / 844; border-radius: 30px; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.showcase__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 90px; text-align: center; }

/* ---------- Чат ---------- */
.section--chat { overflow: hidden; background: linear-gradient(180deg, #eef6fc 0%, var(--paper) 100%); }
.chat-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 70px; }
.chat-grid h2 { font-size: clamp(30px, 3.6vw, 46px); }
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; }

.checks { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(47, 179, 107, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fb36b' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks b { color: var(--text); }
.checks--light li { color: rgba(255, 255, 255, .75); }

.flow { display: flex; align-items: center; gap: 10px; margin-top: 36px; }
.flow__step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; padding: 16px 10px; border: 1px solid #d9e6f1; border-radius: 16px; background: var(--white); color: var(--text); font-size: 13.5px; font-weight: 700; text-align: center; }
.flow__step span { font-size: 22px; }
.flow__step--blue { border-color: transparent; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; }
.flow__arrow { position: relative; flex: 0 0 34px; height: 2px; overflow: hidden; background: #d9e6f1; }
.flow__arrow i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--blue-2); animation: flowDot 1.6s linear infinite; }
@keyframes flowDot { to { left: 100%; } }

.chat-grid__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }

.chat-demo {
    overflow: hidden;
    border: 1px solid #d9e6f1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 40px 90px -30px rgba(10, 70, 120, .35);
}
.chat-demo__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; }
.chat-demo__head b { display: block; font-size: 16px; }
.chat-demo__head small { display: flex; align-items: center; gap: 6px; opacity: .85; font-size: 13px; }
.chat-demo__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-weight: 800; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #7dffb0; }
.chat-demo__badge { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 700; }
.chat-demo__body { display: flex; flex-direction: column; gap: 12px; height: 430px; padding: 20px; overflow: hidden; background: #f4f8fc; }
.chat-demo__input { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-top: 1px solid #e3edf6; color: #9aa7b6; font-size: 14.5px; }
.chat-demo__input i { color: var(--blue); font-style: normal; }

.msg { max-width: 84%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.98); animation: msgIn .45s var(--ease) forwards; }
.msg--user { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; }
.msg--bot { align-self: flex-start; border: 1px solid #e3edf6; border-bottom-left-radius: 6px; background: #fff; }
.msg__who { display: block; margin-bottom: 4px; color: #8a97a8; font-size: 12px; font-weight: 700; }
.msg__who em { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: #eaf3fb; color: var(--blue); font-style: normal; }
@keyframes msgIn { to { opacity: 1; transform: none; } }

.typing-dots { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b3c2d2; animation: dot 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.product-card { display: flex; align-items: center; gap: 12px; align-self: flex-start; width: 84%; padding: 10px; border: 1px solid #dbe8f4; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px -10px rgba(10, 70, 120, .3); opacity: 0; transform: translateY(10px); animation: msgIn .45s var(--ease) forwards; }
.product-card img { width: 52px; height: 52px; border-radius: 12px; background: var(--paper); object-fit: cover; }
.product-card b { display: block; font-size: 14px; }
.product-card small { color: #7b8796; font-size: 12.5px; }
.product-card span:last-child { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; }

/* ---------- Шаги ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 42px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.steps__item { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.steps__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.steps__num { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.steps__item h3 { margin-bottom: 8px; font-size: 18.5px; }
.steps__item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Поддержка ---------- */
.support { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.support__free {
    position: relative;
    display: flex;
    gap: 34px;
    overflow: hidden;
    padding: 48px;
    border-radius: 28px;
    background: var(--ink);
    color: #fff;
}
.support__free::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 61, .35), transparent); pointer-events: none; }
.support__big { flex: none; font-family: var(--font-display); font-size: 150px; font-weight: 700; line-height: .85; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support__free h2 { margin-bottom: 14px; font-size: clamp(26px, 2.8vw, 36px); }
.support__free p { color: rgba(255, 255, 255, .7); }
.support__paid { position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.support__paid h3 { margin-bottom: 12px; font-size: 26px; }
.support__paid p { color: var(--muted); }
.support__paid .btn { margin-top: 30px; }

/* ---------- Демо ---------- */
.demo {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 56px 56px 0;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(255, 181, 71, .18), transparent 60%),
        radial-gradient(500px 300px at 100% 100%, rgba(255, 106, 61, .14), transparent 60%),
        var(--white);
}
.demo__text { padding-bottom: 56px; }
.demo h2 { margin: 18px 0 14px; font-size: clamp(26px, 3vw, 38px); }
.demo p { max-width: 520px; color: var(--muted); }
.demo__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.demo__visual { align-self: end; max-width: 300px; margin: 0 auto; overflow: hidden; border: 8px solid var(--ink); border-bottom: 0; border-radius: 34px 34px 0 0; box-shadow: var(--shadow); transform: translateY(20px); transition: transform .6s var(--ease); }
.demo:hover .demo__visual { transform: translateY(0); }
.demo__visual img { width: 100%; }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-soft); }
.faq__item summary { position: relative; padding: 22px 60px 22px 26px; list-style: none; font-weight: 700; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e85f22' stroke-width='3'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ---------- Заявка ---------- */
.section--cta { overflow: hidden; background: var(--ink); color: #fff; }
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.cta h2 { font-size: clamp(30px, 3.8vw, 48px); }
.cta__text p { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: 18px; }
.cta__contacts { display: grid; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.cta__contacts a { transition: color .2s; }
.cta__contacts a:hover { color: var(--accent-2); }

.form { display: grid; gap: 16px; padding: 36px; border: 1px solid var(--line-dark); border-radius: 28px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(14px); }
.form__field { display: grid; gap: 8px; }
.form__field span { color: rgba(255, 255, 255, .65); font-size: 14px; font-weight: 600; }
.form input, .form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font: 500 16px var(--font);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .35); }
.form input:focus, .form textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(255, 122, 61, .18); outline: none; }
.form .is-invalid { border-color: #ff6b6b; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: 15px; font-weight: 600; text-align: center; }
.form__status.is-ok { color: #7dffb0; }
.form__status.is-error { color: #ff9b9b; }
.form__legal { color: rgba(255, 255, 255, .4); font-size: 12.5px; text-align: center; }

/* ---------- Окно заявки (кнопки с data-lead) ---------- */
html.modal-open { overflow: hidden; }

.lead-modal {
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #fff;
}
.lead-modal::backdrop {
    background: rgba(5, 8, 14, .72);
    backdrop-filter: blur(6px);
    animation: fadeIn .25s ease;
}
.lead-modal[open] .lead-modal__box { animation: modalIn .35s var(--ease); }
.lead-modal.is-closing .lead-modal__box { animation: modalOut .2s ease forwards; }
.lead-modal.is-closing::backdrop { animation: fadeOut .2s ease forwards; }

@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

.lead-modal__box {
    position: relative;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 34px 34px 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 28px;
    background:
        radial-gradient(420px 220px at 0% 0%, rgba(255, 122, 61, .22), transparent 70%),
        radial-gradient(360px 200px at 100% 100%, rgba(43, 92, 255, .16), transparent 70%),
        var(--ink-2);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
}
.lead-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}
.lead-modal__close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.lead-modal__close:focus-visible { outline: 3px solid rgba(255, 122, 61, .45); outline-offset: 2px; }

.lead-modal__head { margin-bottom: 22px; padding-right: 36px; }
.lead-modal__icon img { margin-bottom: 16px; border-radius: 13px; }
.lead-modal__head h2 { margin-bottom: 8px; font-size: clamp(22px, 4vw, 28px); }
.lead-modal__head p { color: rgba(255, 255, 255, .65); font-size: 15.5px; }

.lead-modal .form--modal { padding: 0; border: 0; background: none; backdrop-filter: none; gap: 14px; }
.form--modal .form__field em { color: rgba(255, 255, 255, .4); font-style: normal; font-weight: 500; }

.lead-modal__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .5); font-size: 14px; }
.lead-modal__alt a { color: #fff; font-weight: 700; }
.lead-modal__alt a:hover { color: var(--accent-2); }

/* «Спасибо» после отправки */
.lead-modal__done { display: none; padding: 30px 0 10px; text-align: center; }
.lead-modal__check { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: linear-gradient(135deg, #3fd486, #1f9d5b); color: #fff; font-size: 34px; font-weight: 800; animation: pulseOk 1.6s ease-out 1; }
.lead-modal__done h3 { margin-bottom: 8px; font-size: 24px; }
.lead-modal__done p { color: rgba(255, 255, 255, .65); }
.lead-modal.is-sent .lead-modal__done { display: block; }
.lead-modal.is-sent .form--modal,
.lead-modal.is-sent .lead-modal__head,
.lead-modal.is-sent .lead-modal__alt { display: none; }
@keyframes pulseOk { 0% { box-shadow: 0 0 0 0 rgba(63, 212, 134, .55); } 100% { box-shadow: 0 0 0 22px rgba(63, 212, 134, 0); } }

@media (max-width: 600px) {
    .lead-modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 100dvh; }
    .lead-modal__box { max-height: 92dvh; padding: 26px 18px 20px; border-radius: 24px 24px 0 0; }
    .lead-modal[open] .lead-modal__box { animation-name: sheetIn; }
    .lead-modal.is-closing .lead-modal__box { animation-name: sheetOut; }
    .lead-modal__icon { display: none; }
}
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }

/* ---------- Подвал ---------- */
.footer { padding: 46px 0; border-top: 1px solid var(--line-dark); background: var(--ink); color: rgba(255, 255, 255, .55); font-size: 14.5px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px 40px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a:hover { color: #fff; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; gap: 70px; }
    .hero__text { max-width: 720px; }
    .hero__media { max-width: 760px; }
    .float-card--order { left: -10px; }
    .float-card--chat { right: -10px; }
    .chat-grid, .cta, .faq { grid-template-columns: 1fr; gap: 50px; }
    .faq .section__head { position: static; }
    .support { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .footer__inner { grid-template-columns: 1fr; }
    .nav { gap: 18px; }
    .nav a { font-size: 14px; }
    .header__demo { display: none; }
    .price { grid-template-columns: 1fr; gap: 26px; }
    .price__btn { justify-self: start; }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        inset: 0 0 auto;
        z-index: -1;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 90px 24px 24px;
        background: rgba(11, 17, 28, .97);
        backdrop-filter: blur(16px);
        transform: translateY(-110%);
        transition: transform .45s var(--ease);
    }
    .nav.is-open { transform: none; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
    .nav a::after { display: none; }
    .burger { display: block; }
    .header__actions { margin-left: auto; }
    .header__demo { display: none; }
    .audience, .bento { grid-template-columns: 1fr; }
    .bento__item--wide { grid-column: auto; }
    .showcase__stage { padding-right: 0; }
    .phone { display: none; }
    .showcase__foot { margin-top: 40px; }
    .demo { grid-template-columns: 1fr; padding: 40px 28px 0; }
    .demo__text { padding-bottom: 0; }
    .demo__visual { max-width: 240px; }
    .projects, .admin-shots { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .section { padding: 80px 0; }
    .section--tight { padding-top: 24px; }
    .section__head { margin-bottom: 40px; }
    .hero { padding-top: 120px; }
    .hero__inner { padding-bottom: 70px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .header .btn--accent { display: none; }
    .browser--hero { transform: none; }
    .float-card { padding: 9px 12px 9px 9px; font-size: 12.5px; }
    .float-card__ico { width: 32px; height: 32px; }
    .float-card--order { top: -26px; left: 6px; }
    .float-card--chat { right: 6px; bottom: 14%; }
    .float-card--review { display: none; }
    .audience__card, .bento__item { padding: 26px 22px; }
    .bento__shot { margin: 22px -22px -26px 22px; }
    .steps { grid-template-columns: 1fr; }
    .support__free { flex-direction: column; gap: 10px; padding: 32px 24px; }
    .support__big { font-size: 110px; }
    .support__paid { padding: 32px 24px; }
    .flow { flex-direction: column; }
    .flow__step { width: 100%; }
    .flow__arrow { flex-basis: 22px; width: 2px; height: 22px; }
    .flow__arrow i { width: 100%; height: 40%; left: 0; top: -40%; animation-name: flowDotY; }
    .chat-demo__body { height: 400px; padding: 14px; }
    .form { padding: 24px 18px; }
    .cta__contacts { font-size: 19px; }
    .svc-flow li { font-size: 10.5px; }
    .svc-card__row { flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; }
    .price { padding: 30px 22px; }
    .price__list { grid-template-columns: 1fr; }
    .price__btn { width: 100%; }
    .project__media { padding: 18px 18px 0; }
    .project__body { padding: 26px 22px 26px; }
    .compare__handle span { width: 40px; height: 40px; font-size: 17px; }
    .palette__chip { font-size: 13px; }
}
@keyframes flowDotY { to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Финансы и редактор (мини-виджеты в «Возможностях») ---------- */
.fin-mini { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.fin-mini__periods { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fin-mini__periods span { padding: 5px 12px; border-radius: 999px; }
.fin-mini__periods .is-on { background: var(--ink); color: #fff; }
.fin-mini__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fin-mini__kpis div { padding: 12px 14px; border-radius: 12px; background: var(--white); }
.fin-mini__kpis small { display: block; color: var(--muted); font-size: 12px; }
.fin-mini__kpis b { font-family: var(--font-display); font-size: 16px; white-space: nowrap; }
.fin-mini__kpis .ok { color: var(--green); }
.fin-mini__kpis .wait { color: var(--accent-dark); }
.fin-mini__bars { display: flex; align-items: flex-end; gap: 10px; height: 74px; margin-top: 14px; padding: 0 4px; }
.fin-mini__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--grad); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.fin-mini__bars i.svc { background: var(--blue-2); }
.reveal.is-visible .fin-mini__bars i { transform: scaleY(1); }
.reveal.is-visible .fin-mini__bars i:nth-child(2) { transition-delay: .06s; }
.reveal.is-visible .fin-mini__bars i:nth-child(3) { transition-delay: .12s; }
.reveal.is-visible .fin-mini__bars i:nth-child(4) { transition-delay: .18s; }
.reveal.is-visible .fin-mini__bars i:nth-child(5) { transition-delay: .24s; }
.reveal.is-visible .fin-mini__bars i:nth-child(6) { transition-delay: .3s; }
.reveal.is-visible .fin-mini__bars i:nth-child(7) { transition-delay: .36s; }
.reveal.is-visible .fin-mini__bars i:nth-child(8) { transition-delay: .42s; }

.editor-mini { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 14px; }
.editor-mini__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.editor-mini__bar > * { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px; color: var(--text); font-style: normal; }
.editor-mini__bar i { font-style: italic; font-family: Georgia, serif; }
.editor-mini__bar em { margin-left: auto; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; }
.editor-mini__body { padding: 14px 14px 16px; line-height: 1.9; color: var(--text); }
.editor-mini__chip { display: inline-block; padding: 2px 10px; border: 1px dashed var(--accent); border-radius: 8px; background: #fff3ea; color: var(--accent-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }

@media (max-width: 600px) {
    .fin-mini__kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- Полосы прокрутки в стиле сайта ---------- */
/* Firefox: только цвет и толщина; Chrome, Safari и Edge — ::-webkit-scrollbar ниже (без стрелок) */
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: #ff8a3d var(--ink); }
    .lead-modal__box { scrollbar-width: thin; scrollbar-color: #ff8a3d transparent; }
}
.lead-modal__box textarea::-webkit-scrollbar { width: 8px; }
.lead-modal__box textarea::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255, 255, 255, .22); }
.lead-modal__box::-webkit-scrollbar-button, html::-webkit-scrollbar-button { display: none; }

/* Окно заявки: тонкая полоса внутри скруглённой рамки */
.lead-modal__box::-webkit-scrollbar { width: 10px; }
.lead-modal__box::-webkit-scrollbar-track { margin: 26px 0; background: transparent; }
.lead-modal__box::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffb547, #ff6a3d) padding-box;
}
.lead-modal__box::-webkit-scrollbar-thumb:hover { border-width: 2px; }

/* Страница: тёмная дорожка, оранжевый ползунок */
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--ink); }
html::-webkit-scrollbar-thumb {
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffb547, #ff6a3d);
}
html::-webkit-scrollbar-thumb:hover { border-width: 2px; }

/* ---------- Демо: композиция из кадров демо-магазина (сайт, админка, телефон) ---------- */
.demo:has(.demo__visual--stack) { grid-template-columns: 1fr 1.1fr; }
.demo__visual--stack {
    position: relative;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 380px;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}
.demo:hover .demo__visual--stack { transform: none; }
.demo-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(16, 24, 38, .45);
    transition: transform .7s var(--ease);
}
.demo-frame img { display: block; width: 100%; height: auto; }
.demo-frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 12px;
    background: #eef0f5;
}
.demo-frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3d7e0; }
.demo-frame__bar i:first-child { background: #ff6159; }
.demo-frame__bar i:nth-child(2) { background: #ffbd2e; }
.demo-frame__bar i:nth-child(3) { background: #28c940; }
.demo-frame__bar b { margin-left: 10px; color: #8a93a3; font-size: 11px; font-weight: 600; }
/* Админка — сзади справа, сайт — по центру, телефон — спереди */
.demo-frame--admin { top: 0; right: -14px; width: 70%; background: #0d0f11; transform: rotate(2deg); }
.demo-frame--admin .demo-frame__bar { background: #16191c; }
.demo-frame--site { top: 92px; left: 0; width: 72%; z-index: 1; }
.demo-frame--phone {
    right: 4%;
    bottom: -18px;
    z-index: 2;
    width: 24%;
    border: 6px solid var(--ink);
    border-radius: 24px;
}
.demo-badge {
    position: absolute;
    left: 6%;
    bottom: 26px;
    z-index: 3;
    padding: 9px 14px;
    border-radius: 12px;
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    box-shadow: var(--shadow-soft);
}
.demo-badge b { color: #ffb547; }
.demo:hover .demo-frame--site { transform: translateY(-6px); }
.demo:hover .demo-frame--admin { transform: rotate(3deg) translate(6px, -4px); }
.demo:hover .demo-frame--phone { transform: translateY(-10px) rotate(-2deg); }

@media (max-width: 900px) {
    .demo:has(.demo__visual--stack) { grid-template-columns: 1fr; }
    .demo__visual--stack { min-height: 300px; margin-top: 8px; }
}
@media (max-width: 600px) {
    .demo__visual--stack { min-height: 230px; }
    .demo-frame--site { top: 44px; width: 86%; }
    .demo-frame--admin { width: 72%; }
    .demo-frame--phone { width: 30%; bottom: -10px; border-width: 4px; border-radius: 16px; }
    .demo-badge { bottom: 14px; left: 4%; font-size: 12px; padding: 7px 11px; }
}
