/* =========================================================
   BOTSHOT
   Общие стили сайта + главная страница + ресторанная страница
   ========================================================= */


/* =========================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ========================================================= */

:root {
    --paper: #fffdf9;
    --cream: #f7f0e6;
    --cream-deep: #eadfce;

    --brown: #2f1a13;
    --brown-soft: #5f4436;
    --brown-deep: #21130e;

    --terracotta: #b66d34;
    --terracotta-dark: #965424;

    --blue: #168ee5;
    --blue-dark: #0c5cae;
    --blue-light: #4bd7ff;

    --line: #e9dccb;
    --muted: #806c5e;
    --white: #fffaf4;

    --container-width: 1120px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;

    --menu-width: 234px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--brown);
    background: var(--paper);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

.container {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   2. ТИПОГРАФИКА И КНОПКИ
   ========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -2px;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -1px;
}

h3 {
    margin-bottom: 9px;
    font-size: 21px;
    line-height: 1.15;
}

.eyebrow,
.kicker {
    margin-bottom: 12px;
    color: var(--terracotta-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.text-accent {
    color: var(--terracotta-dark);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 750;
    text-align: center;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.button--primary {
    color: var(--white);
    background: var(--brown);
}

.button--primary:hover {
    background: var(--terracotta-dark);
}

.button--secondary {
    border-color: #cdb9a4;
    color: var(--brown);
    background: transparent;
}

.button--secondary:hover {
    background: var(--cream);
}


/* =========================================================
   3. ШАПКА И МАЛЕНЬКИЙ МАСКОТ
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--brown);
    font: 800 26px Georgia, "Times New Roman", serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    color: var(--brown-soft);
    font-size: 14px;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--terracotta-dark);
}

.header__cta {
    flex-shrink: 0;
    margin-left: 4px;
}


/* Обёртка маленького маскота */

.header-mascot-wrap {
    position: relative;
    width: 65px;
    height: 66px;
    flex: 0 0 65px;
}

.header-mascot-button {
    position: relative;
    z-index: 1101;
    width: 65px;
    height: 66px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 15px;
    background: transparent;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-mascot-button:hover,
.header-mascot-button:focus-visible {
    outline: none;
    background: #edf6fb;
    transform: translateY(-2px);
}

.header-mascot-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(22, 142, 229, 0.22);
}

.header-mascot-svg {
    width: 61px;
    height: 64px;
    overflow: visible;
    filter:
        drop-shadow(0 4px 4px rgba(47, 61, 79, 0.18))
        drop-shadow(0 1px 1px rgba(255, 255, 255, 0.9));
    transform-origin: 50% 100%;
    animation: header-mascot-idle 4s ease-in-out infinite;
}

.header-mascot-eyelid {
    transition: opacity 0.1s ease;
}

.header-mascot-button.is-blinking .header-mascot-eyelid {
    opacity: 1;
}


/* Облачко «Нажми на меня» слева от маскота */

.header-mascot-hint {
    position: absolute;
    z-index: 1102;
    top: 50%;
    right: calc(100% + 9px);
    width: max-content;
    max-width: 145px;
    padding: 7px 10px;
    border: 1px solid #b8d9ec;
    border-radius: 12px;
    color: #1f668e;
    background: #f8fdff;
    box-shadow: 0 7px 18px rgba(39, 83, 112, 0.14);
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    animation: mascot-hint-float-left 2.3s ease-in-out infinite;
}

.header-mascot-hint::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #b8d9ec;
    border-right: 1px solid #b8d9ec;
    background: #f8fdff;
    transform: translateY(-50%) rotate(45deg);
}

.header-mascot-wrap.is-menu-open .header-mascot-hint {
    opacity: 0;
    visibility: hidden;
    transform: translate(8px, -50%);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   4. БОКОВОЕ МЕНЮ
   ========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(18, 31, 44, 0);
    transition:
        visibility 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
}

.side-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: min(var(--menu-width), 82vw);
    min-height: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #bed7e6;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #eff8fd 100%
        );
    box-shadow: 12px 0 32px rgba(21, 56, 78, 0.16);
    transform: translateX(-105%);
    transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.menu-overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background: rgba(18, 31, 44, 0.42);
}

.menu-overlay.open .side-menu {
    transform: translateX(0);
}

.menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d5e8f3;
}

.menu-head .brand {
    min-width: 0;
    overflow: hidden;
    font-size: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.close-menu {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    padding: 0;
    border: 1px solid #b8d4e5;
    border-radius: 9px;
    color: #17384f;
    background: #f8fcff;
    font-size: 21px;
    line-height: 1;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.close-menu:hover {
    color: #ffffff;
    background: #168ee5;
}

.menu-title {
    margin: 19px 0 7px;
    color: #2875a5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.menu-list {
    display: grid;
    gap: 5px;
}

.menu-list a {
    padding: 10px 9px;
    border-radius: 8px;
    color: #365b70;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.menu-list a:hover,
.menu-list a.active {
    color: #ffffff;
    background: #168ee5;
}

.menu-footer {
    margin-top: auto;
    padding-top: 18px;
    color: #587183;
    font-size: 11px;
    line-height: 1.35;
}

.menu-footer strong {
    display: block;
    margin-top: 4px;
    color: #17384f;
    font-size: 12px;
}


/* =========================================================
   5. ГЛАВНАЯ СТРАНИЦА: HERO
   ========================================================= */

.hero {
    padding: 86px 0 72px;
    background:
        linear-gradient(
            110deg,
            var(--paper) 0%,
            var(--paper) 58%,
            var(--cream) 100%
        );
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 58px;
    align-items: center;
}

.hero__content {
    max-width: 730px;
}

.hero__lead {
    max-width: 630px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 18px;
}

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

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.platform-list__item {
    padding: 8px 12px;
    border: 1px solid #d9c3aa;
    border-radius: 999px;
    color: var(--brown-soft);
    background: var(--cream);
    font-size: 13px;
    font-weight: 750;
}


/* =========================================================
   6. ГЛАВНАЯ: СЦЕНА С БОЛЬШИМ МАСКОТОМ
   ========================================================= */

.bot-scene {
    position: relative;
    min-height: 490px;
    padding: 26px 0 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    isolation: isolate;
}

.bot-scene__background {
    position: absolute;
    z-index: -2;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 36% 30%,
            #f7fbff 0 16%,
            #e5edf5 47%,
            #c9d5e1 100%
        );
    box-shadow:
        inset 22px 22px 34px rgba(255, 255, 255, 0.86),
        inset -19px -19px 31px rgba(82, 112, 143, 0.12);
    transform: translate(-50%, -50%);
}

.bot-scene__shadow {
    position: absolute;
    z-index: -1;
    bottom: 14px;
    left: 50%;
    width: 302px;
    height: 28px;
    border-radius: 50%;
    background: rgba(34, 48, 63, 0.16);
    filter: blur(12px);
    transform: translateX(-50%);
}

.bot-svg {
    position: relative;
    z-index: 3;
    order: 1;
    width: 178px;
    height: auto;
    flex: 0 0 178px;
    margin-right: -12px;
    overflow: visible;
    filter:
        drop-shadow(0 15px 13px rgba(47, 61, 79, 0.18))
        drop-shadow(0 4px 3px rgba(255, 255, 255, 0.72));
    transform-origin: 50% 100%;
    animation: mascot-idle 4.2s ease-in-out infinite;
}

.mascot-head {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: mascot-head-alive 4.8s ease-in-out infinite;
}

.mascot-arm {
    transform-box: fill-box;
    transform-origin: center;
}

.mascot-arm--left {
    animation: mascot-left-arm-alive 4.3s ease-in-out infinite;
}

.mascot-arm--right {
    animation: mascot-right-arm-alive 4.3s ease-in-out infinite;
}

.mascot-leg {
    transform-box: fill-box;
    transform-origin: center top;
}

.mascot-leg--left {
    animation: mascot-left-leg-alive 4.1s ease-in-out infinite;
}

.mascot-leg--right {
    animation: mascot-right-leg-alive 4.1s ease-in-out infinite;
}

.mascot-antenna {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: mascot-antenna-wiggle 3.8s ease-in-out infinite;
}

.mascot-antenna-light {
    transform-box: fill-box;
    transform-origin: center;
    animation: mascot-antenna-glow 2.2s ease-in-out infinite;
}

.mascot-chest-light {
    transform-box: fill-box;
    transform-origin: center;
    animation: mascot-chest-pulse 2.1s ease-in-out infinite;
}


/* =========================================================
   7. ГЛАВНАЯ: ТЕЛЕФОН
   ========================================================= */

.phone {
    position: relative;
    z-index: 4;
    order: 2;
    width: 210px;
    height: 420px;
    padding: 5px;
    flex: 0 0 210px;
    overflow: visible;
    border: 3px solid #151c26;
    border-radius: 31px;
    background: #151c26;
    box-shadow:
        0 25px 48px rgba(29, 43, 59, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone__screen {
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
    background: #e8f0f7;
}

.phone__side-button,
.phone__power-button {
    position: absolute;
    z-index: 2;
    width: 3px;
    border-radius: 3px;
    background: #273241;
}

.phone__side-button--silent {
    top: 83px;
    left: -5px;
    height: 22px;
}

.phone__side-button--volume-up,
.phone__side-button--volume-down {
    left: -5px;
    height: 34px;
}

.phone__side-button--volume-up {
    top: 119px;
}

.phone__side-button--volume-down {
    top: 161px;
}

.phone__power-button {
    top: 126px;
    right: -5px;
    height: 63px;
}

.phone__dynamic-island {
    position: absolute;
    z-index: 8;
    top: 4px;
    left: 50%;
    width: 62px;
    height: 17px;
    border-radius: 0 0 11px 11px;
    background: #151c26;
    transform: translateX(-50%);
}

.phone__dynamic-island::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #28394b;
    box-shadow: inset 0 0 0 1px #51687d;
}


/* =========================================================
   8. ГЛАВНАЯ: TELEGRAM-ЭКРАН
   ========================================================= */

.telegram-screen {
    background: #e8f0f7;
    font-family: Arial, sans-serif;
}

.telegram-statusbar {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px 2px;
    color: #1b1e24;
    background: #f5eee5;
    font-size: 9px;
    font-weight: 700;
}

.telegram-status-icons {
    letter-spacing: 2px;
    font-size: 8px;
}

.telegram-header {
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    color: #ffffff;
    background: #172334;
}

.telegram-back {
    margin-right: 1px;
    font-size: 23px;
    line-height: 1;
}

.telegram-avatar {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #168ee5;
    font-size: 13px;
}

.telegram-title strong,
.telegram-title small {
    display: block;
}

.telegram-title strong {
    font-size: 10px;
}

.telegram-title small {
    margin-top: 2px;
    color: #79dcff;
    font-size: 7px;
}

.telegram-title small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-right: 3px;
    border-radius: 50%;
    background: #53c8f2;
}

.telegram-chat {
    min-height: 278px;
    padding: 8px 9px;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(22, 142, 229, 0.06) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 80% 62%,
            rgba(22, 142, 229, 0.04) 0 2px,
            transparent 3px
        ),
        #e8f0f7;
    background-size: 41px 41px, 57px 57px, auto;
}

.telegram-date {
    width: max-content;
    margin: 0 auto 8px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #557086;
    background: rgba(209, 222, 232, 0.9);
    font-size: 8px;
}

.telegram-message {
    position: relative;
    max-width: 84%;
    margin: 6px 0;
    padding: 7px 8px 13px;
    border-radius: 9px;
    color: #263847;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(56, 78, 98, 0.12);
    font-size: 9px;
    line-height: 1.35;
}

.telegram-message--bot {
    border-top-left-radius: 3px;
}

.telegram-message--user {
    margin-left: auto;
    border-top-right-radius: 3px;
    color: #ffffff;
    background: #2a9be2;
}

.telegram-message time {
    position: absolute;
    right: 8px;
    bottom: 4px;
    opacity: 0.65;
    font-size: 7px;
}

.telegram-quick-replies {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.telegram-quick-replies button {
    min-height: 27px;
    border: 1px solid #75b9dd;
    border-radius: 7px;
    color: #2875a5;
    background: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.telegram-quick-replies button:hover {
    color: #ffffff;
    background: #2a9be2;
    transform: translateY(-1px);
}

.telegram-input {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px 8px;
    border-top: 1px solid #c9d8e3;
    background: #f5f9fc;
}

.telegram-input input {
    min-width: 0;
    flex: 1;
    padding: 7px 9px;
    border: 0;
    border-radius: 14px;
    outline: none;
    color: #263847;
    background: #e4edf3;
    font: 9px Arial, sans-serif;
}

.telegram-input input::placeholder {
    color: #8b9daa;
}

.telegram-input input:focus {
    box-shadow: 0 0 0 2px rgba(42, 155, 226, 0.25);
}

.telegram-send {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #2a9be2;
    font-size: 12px;
}


/* =========================================================
   9. ОБЩИЕ СЕКЦИИ И КАРТОЧКИ
   ========================================================= */

.section {
    padding: 82px 0;
}

.section--soft {
    background: var(--cream);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.section-heading > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid--four {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.info-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
}

.section--soft .info-card {
    background: var(--paper);
}

.info-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.info-card__icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 11px;
    color: var(--white);
    background: var(--terracotta);
    font-size: 21px;
    font-weight: 800;
}

.info-card--niche {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-card--niche .button {
    margin-top: 18px;
}


/* =========================================================
   10. ОБЩИЕ ЭТАПЫ РАБОТЫ
   ========================================================= */

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

.process-card {
    position: relative;
    min-height: 100%;
    padding: 59px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    counter-increment: process;
}

.process-card::before {
    content: "0" counter(process);
    position: absolute;
    top: 18px;
    left: 24px;
    color: var(--terracotta);
    font: 800 30px Georgia, serif;
}

.process-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   11. ФОРМА И ПОДВАЛ
   ========================================================= */

.section--contact {
    padding-top: 0;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.9fr);
    gap: 34px;
    padding: 38px;
    border-radius: 9px;
    color: var(--white);
    background: var(--brown);
}

.contact-panel .kicker {
    color: #d69b65;
}

.contact-panel h2 {
    color: var(--white);
}

.contact-panel__lead {
    max-width: 560px;
    color: #e8d6c4;
    font-size: 18px;
}

.contact-panel__contacts {
    color: #f3dfcc;
}

.lead-form {
    display: grid;
    gap: 10px;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #765241;
    border-radius: 7px;
    outline: none;
    color: var(--white);
    background: #41271d;
    font: inherit;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #ccb4a0;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: #e1a069;
    box-shadow: 0 0 0 3px rgba(225, 160, 105, 0.16);
}

.lead-form textarea {
    min-height: 102px;
    resize: vertical;
}

.form-note {
    margin: 0;
    color: #dfc5ae;
    font-size: 12px;
}

.site-footer {
    padding: 25px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


/* =========================================================
   12. RESTAURANT PAGE: HERO
   ========================================================= */

.restaurant-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(77, 192, 255, 0.18) 0,
            rgba(77, 192, 255, 0.04) 31%,
            transparent 53%
        ),
        linear-gradient(
            118deg,
            #fffdf9 0%,
            #fffdf9 54%,
            #edf8fe 100%
        );
}

.restaurant-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.05);
    filter: blur(2px);
}

.restaurant-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 58px;
    align-items: center;
}

.restaurant-hero__content {
    max-width: 720px;
}

.restaurant-hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5.3vw, 65px);
}

.restaurant-hero__lead {
    max-width: 650px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 18px;
}

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

.restaurant-hero__note {
    max-width: 610px;
    margin-top: 24px;
    padding: 13px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #cce4f4;
    border-radius: 11px;
    color: #315c74;
    background: rgba(248, 253, 255, 0.8);
    font-size: 14px;
    line-height: 1.45;
}

.restaurant-hero__note-icon {
    width: 21px;
    height: 21px;
    display: grid;
    flex: 0 0 21px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-size: 12px;
}


/* =========================================================
   13. RESTAURANT PAGE: ДЕМО-ТЕЛЕФОН
   ========================================================= */

.restaurant-demo {
    position: relative;
    min-height: 472px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-demo__glow {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 355px;
    height: 355px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 34% 30%,
            #fbfeff 0 13%,
            #e4f3fb 50%,
            #c6dfed 100%
        );
    box-shadow:
        inset 20px 20px 30px rgba(255, 255, 255, 0.9),
        inset -18px -18px 28px rgba(60, 126, 164, 0.12);
    transform: translate(-50%, -50%);
}

.restaurant-phone {
    position: relative;
    z-index: 2;
    width: 222px;
    height: 442px;
    padding: 5px;
    overflow: visible;
    border: 3px solid #151c26;
    border-radius: 33px;
    background: #151c26;
    box-shadow:
        0 28px 55px rgba(25, 53, 75, 0.26),
        0 0 0 1px rgba(255, 255, 255, 0.64),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.restaurant-phone__screen {
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #e8f2f8;
}

.restaurant-phone__island {
    position: absolute;
    z-index: 5;
    top: 4px;
    left: 50%;
    width: 66px;
    height: 18px;
    border-radius: 0 0 12px 12px;
    background: #151c26;
    transform: translateX(-50%);
}

.restaurant-phone__island::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2e4358;
    box-shadow: inset 0 0 0 1px #506b83;
}

.restaurant-phone__side,
.restaurant-phone__power {
    position: absolute;
    width: 3px;
    border-radius: 3px;
    background: #273241;
}

.restaurant-phone__side--silent {
    top: 87px;
    left: -5px;
    height: 23px;
}

.restaurant-phone__side--up,
.restaurant-phone__side--down {
    left: -5px;
    height: 35px;
}

.restaurant-phone__side--up {
    top: 124px;
}

.restaurant-phone__side--down {
    top: 167px;
}

.restaurant-phone__power {
    top: 132px;
    right: -5px;
    height: 66px;
}

.demo-statusbar {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 13px 2px;
    color: #20252b;
    background: #f8f2ea;
    font-size: 9px;
    font-weight: 800;
}

.demo-chat-header {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    color: #ffffff;
    background: #172334;
}

.demo-chat-header__back {
    font-size: 25px;
    line-height: 1;
}

.demo-chat-header__avatar {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #168ee5;
    font-size: 13px;
}

.demo-chat-header__title strong,
.demo-chat-header__title small {
    display: block;
}

.demo-chat-header__title strong {
    font-size: 10px;
}

.demo-chat-header__title small {
    margin-top: 2px;
    color: #89e2ff;
    font-size: 7px;
}

.demo-chat-header__title small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-right: 3px;
    border-radius: 50%;
    background: #55d7a1;
}

.demo-chat-body {
    height: 320px;
    padding: 8px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(22, 142, 229, 0.06) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 82% 60%,
            rgba(22, 142, 229, 0.05) 0 2px,
            transparent 3px
        ),
        #e8f2f8;
    background-size: 42px 42px, 58px 58px, auto;
}

.demo-chat-date {
    width: max-content;
    margin: 0 auto 7px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #587385;
    background: rgba(205, 221, 231, 0.92);
    font-size: 7px;
}

.demo-message {
    position: relative;
    max-width: 88%;
    margin: 5px 0;
    padding: 6px 7px 12px;
    border-radius: 9px;
    color: #263847;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(56, 78, 98, 0.12);
    font-size: 8px;
    line-height: 1.35;
}

.demo-message--bot {
    border-top-left-radius: 3px;
}

.demo-message--user {
    margin-left: auto;
    border-top-right-radius: 3px;
    color: #ffffff;
    background: #2797dd;
}

.demo-message time {
    position: absolute;
    right: 7px;
    bottom: 3px;
    opacity: 0.65;
    font-size: 6px;
}

.demo-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 5px 0;
}

.demo-action-grid span {
    padding: 5px 3px;
    border: 1px solid #7ec1e4;
    border-radius: 6px;
    color: #2875a5;
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-size: 7px;
    font-weight: 700;
}

.demo-order-card {
    margin-top: 6px;
    padding: 7px;
    border: 1px solid #9bcdea;
    border-radius: 8px;
    color: #244e67;
    background: rgba(248, 253, 255, 0.94);
    font-size: 7px;
}

.demo-order-card strong,
.demo-order-card span,
.demo-order-card b {
    display: block;
}

.demo-order-card strong {
    margin-bottom: 3px;
    font-size: 8px;
}

.demo-order-card span {
    margin-bottom: 2px;
    color: #59778b;
}

.demo-order-card b {
    margin: 4px 0;
    color: #17384f;
    font-size: 9px;
}

.demo-order-card button {
    width: 100%;
    min-height: 22px;
    padding: 0 4px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #168ee5;
    font-size: 7px;
    font-weight: 800;
}

.demo-chat-input {
    min-height: 39px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-top: 1px solid #c9d8e3;
    background: #f5f9fc;
}

.demo-chat-input span {
    flex: 1;
    padding: 6px 8px;
    border-radius: 12px;
    color: #8b9daa;
    background: #e4edf3;
    font-size: 8px;
}

.demo-chat-input b {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #2797dd;
    font-size: 11px;
}

.restaurant-demo__badge {
    position: absolute;
    z-index: 3;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #c8e3f3;
    border-radius: 10px;
    color: #2a5e7d;
    background: rgba(251, 254, 255, 0.92);
    box-shadow: 0 10px 24px rgba(32, 89, 121, 0.13);
    font-size: 11px;
    font-weight: 700;
}

.restaurant-demo__badge span {
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    font-size: 8px;
    font-weight: 800;
}

.restaurant-demo__badge--top {
    top: 46px;
    right: -4px;
}

.restaurant-demo__badge--bottom {
    bottom: 48px;
    left: -13px;
}

.restaurant-demo__badge--bottom span {
    background: #36b781;
}


/* =========================================================
   14. RESTAURANT PAGE: ВЫГОДЫ
   ========================================================= */

.restaurant-benefits {
    padding-top: 88px;
}

.restaurant-benefits__heading {
    max-width: 850px;
}

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

.audience-benefit {
    min-height: 100%;
    padding: 30px;
    border-radius: 16px;
}

.audience-benefit--guest {
    border: 1px solid #cbe6f5;
    background:
        linear-gradient(
            145deg,
            #f8fdff 0%,
            #eaf7ff 100%
        );
}

.audience-benefit--business {
    border: 1px solid #e4d2bc;
    background:
        linear-gradient(
            145deg,
            #fffdf9 0%,
            #f8eee1 100%
        );
}

.audience-benefit__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.audience-benefit__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: #168ee5;
    font-size: 21px;
    font-weight: 800;
}

.audience-benefit--business .audience-benefit__icon {
    background: var(--terracotta);
}

.audience-benefit__label {
    color: #2a668b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.audience-benefit--business .audience-benefit__label {
    color: #965424;
}

.audience-benefit h3 {
    margin-bottom: 17px;
    font-size: 28px;
}

.audience-benefit__list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.audience-benefit__list li {
    position: relative;
    padding-left: 27px;
    color: #406277;
    font-size: 15px;
}

.audience-benefit__list li::before {
    content: "✓";
    position: absolute;
    top: -1px;
    left: 0;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    font-size: 11px;
    font-weight: 800;
}

.audience-benefit--business .audience-benefit__list li {
    color: #604b3c;
}

.audience-benefit--business .audience-benefit__list li::before {
    background: var(--terracotta);
}


/* =========================================================
   15. RESTAURANT PAGE: ДВА СЦЕНАРИЯ
   ========================================================= */

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

.restaurant-scenario-card {
    position: relative;
    min-height: 100%;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #d5e8f3;
    border-radius: 16px;
    background: #ffffff;
}

.restaurant-scenario-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -60px;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.06);
}

.restaurant-scenario-card--coffee {
    border-color: #ebd9c5;
    background: #fffaf4;
}

.restaurant-scenario-card--coffee::after {
    background: rgba(182, 109, 52, 0.08);
}

.restaurant-scenario-card__number {
    position: relative;
    z-index: 1;
    margin-bottom: 19px;
    color: #168ee5;
    font: 800 34px Georgia, serif;
}

.restaurant-scenario-card--coffee .restaurant-scenario-card__number {
    color: var(--terracotta);
}

.restaurant-scenario-card__eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    color: #2875a5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.restaurant-scenario-card--coffee .restaurant-scenario-card__eyebrow {
    color: #9b5a2c;
}

.restaurant-scenario-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 30px;
}

.restaurant-scenario-card__lead {
    position: relative;
    z-index: 1;
    max-width: 510px;
    margin-bottom: 24px;
    color: #5f7481;
    font-size: 15px;
}

.restaurant-scenario-card--coffee .restaurant-scenario-card__lead {
    color: #725c4b;
}

.scenario-flow {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.scenario-flow li {
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #365b70;
    font-size: 14px;
}

.scenario-flow li span {
    width: 25px;
    height: 25px;
    display: grid;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 50%;
    color: #2875a5;
    background: #e7f5fc;
    font-size: 11px;
    font-weight: 800;
}

.restaurant-scenario-card--coffee .scenario-flow li {
    color: #664f3e;
}

.restaurant-scenario-card--coffee .scenario-flow li span {
    color: #965424;
    background: #f9ead8;
}

.restaurant-scenario-card__result {
    position: relative;
    z-index: 1;
    padding: 13px 14px;
    border-radius: 10px;
    color: #305c75;
    background: #edf8fe;
    font-size: 14px;
    line-height: 1.45;
}

.restaurant-scenario-card--coffee .restaurant-scenario-card__result {
    color: #694d37;
    background: #faecdb;
}

.restaurant-scenario-card__result strong {
    color: #17384f;
}

.restaurant-scenario-card--coffee .restaurant-scenario-card__result strong {
    color: #60391e;
}


/* =========================================================
   16. RESTAURANT PAGE: ПРЕДЗАКАЗ ПО ГОСТЯМ
   ========================================================= */

.restaurant-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.8fr);
    gap: 60px;
    align-items: center;
}

.restaurant-process__content {
    max-width: 680px;
}

.restaurant-process__lead {
    max-width: 630px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 17px;
}

.restaurant-process__steps {
    display: grid;
    gap: 10px;
}

.restaurant-process__steps > div {
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid #d9e9f3;
    border-radius: 10px;
    background: #f9fdff;
}

.restaurant-process__steps span {
    color: #168ee5;
    font: 800 20px Georgia, serif;
}

.restaurant-process__steps p {
    margin: 0;
    color: #5a7180;
    font-size: 14px;
}

.restaurant-process__steps strong {
    margin-right: 4px;
    color: #1d435a;
}

.restaurant-summary-card {
    padding: 22px;
    border: 1px solid #b9ddec;
    border-radius: 16px;
    color: #294f65;
    background:
        linear-gradient(
            155deg,
            #f9fdff 0%,
            #e7f5fc 100%
        );
    box-shadow: 0 18px 36px rgba(36, 105, 141, 0.14);
}

.restaurant-summary-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding-bottom: 13px;
    border-bottom: 1px solid #cde5f0;
    font-size: 12px;
    font-weight: 800;
}

.restaurant-summary-card__top b {
    padding: 4px 7px;
    border-radius: 99px;
    color: #28745a;
    background: #daf5e8;
    font-size: 9px;
}

.restaurant-summary-card__visit {
    margin: 16px 0 12px;
}

.restaurant-summary-card__visit span,
.restaurant-summary-card__visit strong,
.restaurant-summary-card__visit small {
    display: block;
}

.restaurant-summary-card__visit span {
    margin-bottom: 3px;
    color: #607b8b;
    font-size: 11px;
}

.restaurant-summary-card__visit strong {
    color: #17384f;
    font-size: 18px;
}

.restaurant-summary-card__visit small {
    margin-top: 2px;
    color: #5d7989;
    font-size: 11px;
}

.restaurant-summary-card__guest {
    margin-top: 8px;
    padding: 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.76);
    font-size: 11px;
}

.restaurant-summary-card__guest strong,
.restaurant-summary-card__guest span {
    display: block;
}

.restaurant-summary-card__guest strong {
    margin-bottom: 3px;
    color: #244d65;
    font-size: 12px;
}

.restaurant-summary-card__guest span {
    color: #617b8a;
    line-height: 1.5;
}

.restaurant-summary-card__guest--muted {
    opacity: 0.78;
}

.restaurant-summary-card__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #cbe3ee;
}

.restaurant-summary-card__total span {
    color: #4f6f81;
    font-size: 13px;
}

.restaurant-summary-card__total strong {
    color: #17384f;
    font-size: 22px;
}


/* =========================================================
   17. RESTAURANT PAGE: ИНТЕГРАЦИИ
   ========================================================= */

.restaurant-integrations {
    border-top: 1px solid #efe2d4;
    border-bottom: 1px solid #efe2d4;
}

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

.integration-card {
    min-height: 100%;
    padding: 22px 18px;
    border: 1px solid #e2d4c6;
    border-radius: 12px;
    background: #fffdf9;
}

.integration-card__icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 10px;
    color: #ffffff;
    background: #168ee5;
    font-size: 18px;
    font-weight: 800;
}

.integration-card:nth-child(2) .integration-card__icon {
    background: #36a87c;
}

.integration-card:nth-child(3) .integration-card__icon {
    background: #b66d34;
}

.integration-card:nth-child(4) .integration-card__icon {
    background: #785ccb;
}

.integration-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.integration-card p {
    margin-bottom: 0;
    color: #6b625a;
    font-size: 13px;
}


/* =========================================================
   18. RESTAURANT PAGE: ЗАПУСК И CTA
   ========================================================= */

.restaurant-launch-list {
    grid-template-columns: repeat(4, 1fr);
}

.contact-panel--restaurant {
    background:
        radial-gradient(
            circle at 92% 15%,
            rgba(60, 196, 255, 0.21) 0,
            transparent 28%
        ),
        var(--brown);
}

.restaurant-cta-points {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    color: #d8f3ff;
    font-size: 14px;
}

.restaurant-cta-points span {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   19. АНИМАЦИИ
   ========================================================= */

@keyframes header-mascot-idle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-1.5px) rotate(-0.8deg);
    }
}

@keyframes mascot-hint-float-left {
    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translate(-4px, -50%);
    }
}

@keyframes mascot-idle {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-0.8deg);
    }

    55% {
        transform: translateY(-1px) rotate(0.6deg);
    }

    75% {
        transform: translateY(-4px) rotate(-0.4deg);
    }
}

@keyframes mascot-head-alive {
    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }

    30% {
        transform: rotate(-1.4deg) translateY(-1px);
    }

    62% {
        transform: rotate(1.1deg) translateY(1px);
    }

    80% {
        transform: rotate(-0.5deg) translateY(0);
    }
}

@keyframes mascot-left-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-3deg);
    }
}

@keyframes mascot-right-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes mascot-left-leg-alive {
    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(1.4deg) translateY(2px);
    }
}

@keyframes mascot-right-leg-alive {
    0%,
    100% {
        transform: rotate(0deg) translateY(1px);
    }

    50% {
        transform: rotate(-1.4deg) translateY(0);
    }
}

@keyframes mascot-antenna-wiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(7deg);
    }

    70% {
        transform: rotate(-5deg);
    }
}

@keyframes mascot-antenna-glow {
    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.25);
    }
}

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

    50% {
        transform: scale(1.09);
        opacity: 1;
    }
}


/* =========================================================
   20. АДАПТИВНОСТЬ
   ========================================================= */

@media (max-width: 1050px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.8fr);
        gap: 36px;
    }

    .restaurant-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
        gap: 35px;
    }

    .card-grid--four,
    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .hero,
    .restaurant-hero {
        padding-top: 58px;
    }

    .hero__grid,
    .contact-panel,
    .restaurant-hero__grid,
    .restaurant-process__grid {
        grid-template-columns: 1fr;
    }

    .bot-scene {
        order: -1;
        min-height: 445px;
    }

    .restaurant-demo {
        min-height: 455px;
        order: -1;
    }

    .card-grid--three,
    .audience-benefits-grid,
    .restaurant-scenarios-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-process__grid {
        gap: 34px;
    }

    .restaurant-summary-card {
        max-width: 420px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--container-width));
    }

    h1 {
        font-size: clamp(39px, 13vw, 55px);
    }

    .header__cta {
        display: none;
    }

    .brand {
        font-size: 23px;
    }

    .header-mascot-wrap,
    .header-mascot-button {
        width: 57px;
        height: 61px;
        flex-basis: 57px;
    }

    .header-mascot-svg {
        width: 54px;
        height: 58px;
    }

    .header-mascot-hint {
        right: auto;
        left: calc(100% + 8px);
        max-width: 128px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .header-mascot-hint::after {
        right: auto;
        left: -6px;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid #b8d9ec;
        border-left: 1px solid #b8d9ec;
    }

    .side-menu {
        width: min(var(--menu-width), 80vw);
    }

    .hero {
        padding: 48px 0 54px;
    }

    .restaurant-hero {
        padding: 48px 0 52px;
    }

    .restaurant-hero h1 {
        font-size: clamp(38px, 12vw, 53px);
    }

    .hero__lead,
    .restaurant-hero__lead {
        font-size: 16px;
    }

    .restaurant-hero__note {
        padding: 12px;
        font-size: 13px;
    }

    .section {
        padding: 60px 0;
    }

    .bot-scene {
        min-height: 410px;
        margin: -18px -26px -30px;
        transform: scale(0.82);
        transform-origin: center top;
    }

    .restaurant-demo {
        min-height: 408px;
        margin: -8px -20px -25px;
        transform: scale(0.86);
        transform-origin: center top;
    }

    .restaurant-demo__badge--top {
        right: -15px;
    }

    .restaurant-demo__badge--bottom {
        left: -7px;
    }

    .restaurant-benefits {
        padding-top: 56px;
    }

    .audience-benefit,
    .restaurant-scenario-card {
        padding: 23px 18px;
    }

    .audience-benefit h3,
    .restaurant-scenario-card h3 {
        font-size: 25px;
    }

    .restaurant-process__steps > div {
        padding: 11px;
    }

    .card-grid--four,
    .card-grid--three,
    .process-list,
    .integration-grid,
    .restaurant-launch-list {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 26px 18px;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}

/* =========================================================
   RESTAURANT PAGE — УВЕЛИЧЕННЫЕ ТЕЛЕФОНЫ И КОФЕЙНЯ
   ========================================================= */


/* Основной телефон с бронированием увеличен */

.restaurant-demo--booking {
    min-height: 540px;
}

.restaurant-phone--large {
    width: 252px;
    height: 502px;
    padding: 6px;
    border-width: 4px;
    border-radius: 37px;
}

.restaurant-phone--large .restaurant-phone__screen {
    border-radius: 31px;
}

.restaurant-phone--large .restaurant-phone__island {
    width: 73px;
    height: 20px;
}

.restaurant-phone--large .demo-statusbar {
    height: 30px;
    padding: 6px 15px 3px;
    font-size: 10px;
}

.restaurant-phone--large .demo-chat-header {
    min-height: 58px;
    gap: 8px;
    padding: 6px 11px;
}

.restaurant-phone--large .demo-chat-header__avatar {
    width: 32px;
    height: 32px;
    font-size: 15px;
}

.restaurant-phone--large .demo-chat-header__title strong {
    font-size: 11px;
}

.restaurant-phone--large .demo-chat-header__title small {
    font-size: 8px;
}

.restaurant-phone--large .demo-chat-body {
    height: 364px;
    padding: 10px;
}

.restaurant-phone--large .demo-chat-date {
    margin-bottom: 9px;
    font-size: 8px;
}

.restaurant-phone--large .demo-message {
    margin: 6px 0;
    padding: 7px 8px 14px;
    font-size: 9px;
}

.restaurant-phone--large .demo-message time {
    right: 8px;
    bottom: 4px;
    font-size: 7px;
}

.restaurant-phone--large .demo-action-grid {
    gap: 5px;
    margin: 6px 0;
}

.restaurant-phone--large .demo-action-grid span {
    padding: 6px 4px;
    font-size: 8px;
}

.restaurant-phone--large .demo-order-card {
    margin-top: 8px;
    padding: 9px;
    font-size: 8px;
}

.restaurant-phone--large .demo-order-card strong {
    font-size: 9px;
}

.restaurant-phone--large .demo-order-card b {
    font-size: 10px;
}

.restaurant-phone--large .demo-order-card button {
    min-height: 25px;
    font-size: 8px;
}

.restaurant-phone--large .demo-chat-input {
    min-height: 43px;
    padding: 7px 9px;
}

.restaurant-phone--large .demo-chat-input span {
    padding: 7px 9px;
    font-size: 9px;
}

.restaurant-phone--large .demo-chat-input b {
    width: 26px;
    height: 26px;
    font-size: 12px;
}

.restaurant-demo--booking .restaurant-demo__badge--top {
    top: 40px;
    right: -22px;
}

.restaurant-demo--booking .restaurant-demo__badge--bottom {
    bottom: 42px;
    left: -25px;
}


/* =========================================================
   ВТОРОЙ ТЕЛЕФОН — СЦЕНАРИЙ КОФЕЙНИ
   ========================================================= */

.coffee-demo-section {
    overflow: hidden;
    padding-top: 95px;
    padding-bottom: 95px;
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(199, 119, 45, 0.12) 0,
            transparent 34%
        ),
        linear-gradient(
            115deg,
            #fffdf9 0%,
            #fff7ee 100%
        );
}

.coffee-demo-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 66px;
    align-items: center;
}

.coffee-demo-section__content {
    max-width: 660px;
}

.coffee-demo-section__lead {
    max-width: 610px;
    margin-bottom: 27px;
    color: #715c4c;
    font-size: 17px;
}

.coffee-demo-section__points {
    display: grid;
    gap: 11px;
}

.coffee-demo-section__points > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid #ecd8c2;
    border-radius: 11px;
    background: rgba(255, 253, 249, 0.8);
}

.coffee-demo-section__points > div > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: #b66d34;
    font-size: 12px;
    font-weight: 800;
}

.coffee-demo-section__points p {
    margin: 0;
    color: #725c4b;
    font-size: 14px;
    line-height: 1.45;
}

.coffee-demo-section__points strong {
    display: block;
    margin-bottom: 2px;
    color: #5d371f;
}

.coffee-demo-phone-wrap {
    position: relative;
    min-height: 545px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coffee-demo-phone-wrap__glow {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 34% 30%,
            #fffdf9 0 14%,
            #f8e9d5 52%,
            #e8cdae 100%
        );
    box-shadow:
        inset 20px 20px 32px rgba(255, 255, 255, 0.9),
        inset -18px -18px 30px rgba(167, 104, 45, 0.12);
    transform: translate(-50%, -50%);
}

.restaurant-phone--coffee {
    z-index: 2;
    width: 246px;
    height: 490px;
    padding: 6px;
    border-width: 4px;
    border-radius: 37px;
}

.restaurant-phone--coffee .restaurant-phone__screen {
    border-radius: 31px;
}

.restaurant-phone--coffee .restaurant-phone__island {
    width: 73px;
    height: 20px;
}

.restaurant-phone--coffee .demo-statusbar {
    height: 30px;
    padding: 6px 15px 3px;
    font-size: 10px;
}

.demo-chat-header--coffee {
    min-height: 57px;
    background: #523725;
}

.demo-chat-header--coffee .demo-chat-header__avatar {
    width: 32px;
    height: 32px;
    background: #b66d34;
    font-size: 15px;
}

.demo-chat-header--coffee .demo-chat-header__title strong {
    font-size: 11px;
}

.demo-chat-header--coffee .demo-chat-header__title small {
    color: #f3cfab;
    font-size: 8px;
}

.coffee-chat-body {
    height: 351px;
    padding: 10px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(182, 109, 52, 0.08) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 82% 60%,
            rgba(182, 109, 52, 0.05) 0 2px,
            transparent 3px
        ),
        #f9efe4;
    background-size: 42px 42px, 58px 58px, auto;
}

.coffee-chat-body .demo-message {
    margin: 6px 0;
    padding: 7px 8px 14px;
    font-size: 9px;
}

.coffee-choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 6px 0;
}

.coffee-choice-row span {
    padding: 6px 3px;
    border: 1px solid #d6a878;
    border-radius: 6px;
    color: #8b5329;
    background: rgba(255, 253, 249, 0.86);
    text-align: center;
    font-size: 7px;
    font-weight: 800;
}

.coffee-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 7px 0;
}

.coffee-time-grid span {
    padding: 6px 3px;
    border: 1px solid #d4b08c;
    border-radius: 6px;
    color: #7c4b28;
    background: rgba(255, 253, 249, 0.86);
    text-align: center;
    font-size: 8px;
    font-weight: 800;
}

.coffee-time-grid span.active {
    border-color: #b66d34;
    color: #ffffff;
    background: #b66d34;
}

.coffee-payment-card {
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #d7aa7c;
    border-radius: 8px;
    color: #694125;
    background: rgba(255, 252, 247, 0.94);
    font-size: 8px;
}

.coffee-payment-card strong,
.coffee-payment-card span,
.coffee-payment-card b {
    display: block;
}

.coffee-payment-card strong {
    margin-bottom: 3px;
    font-size: 9px;
}

.coffee-payment-card span {
    margin-bottom: 2px;
    color: #846047;
}

.coffee-payment-card b {
    margin: 5px 0;
    color: #5a321b;
    font-size: 11px;
}

.coffee-payment-card button {
    width: 100%;
    min-height: 25px;
    padding: 0 4px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #b66d34;
    font-size: 8px;
    font-weight: 800;
}

.coffee-demo-phone-wrap__label {
    position: absolute;
    z-index: 3;
    top: 45px;
    right: -16px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ead0b8;
    border-radius: 10px;
    color: #7c4d2a;
    background: rgba(255, 252, 247, 0.95);
    box-shadow: 0 10px 24px rgba(123, 77, 42, 0.13);
    font-size: 11px;
    font-weight: 800;
}

.coffee-demo-phone-wrap__label span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #b66d34;
    font-size: 11px;
}

.coffee-demo-phone-wrap__pickup {
    position: absolute;
    z-index: 3;
    bottom: 43px;
    left: -24px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #ead0b8;
    border-radius: 10px;
    color: #6e482e;
    background: rgba(255, 252, 247, 0.95);
    box-shadow: 0 10px 24px rgba(123, 77, 42, 0.13);
    font-size: 10px;
    font-weight: 700;
}

.coffee-demo-phone-wrap__pickup span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: #b66d34;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   АДАПТИВ ДВУХ УВЕЛИЧЕННЫХ ТЕЛЕФОНОВ
   ========================================================= */

@media (max-width: 1050px) {
    .coffee-demo-section__grid {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
        gap: 38px;
    }
}

@media (max-width: 850px) {
    .coffee-demo-section__grid {
        grid-template-columns: 1fr;
    }

    .coffee-demo-phone-wrap {
        min-height: 525px;
        order: -1;
    }

    .restaurant-demo--booking {
        min-height: 520px;
    }
}

@media (max-width: 620px) {
    .restaurant-demo--booking {
        min-height: 448px;
        margin: -12px -37px -38px;
        transform: scale(0.82);
        transform-origin: center top;
    }

    .coffee-demo-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .coffee-demo-section__lead {
        font-size: 16px;
    }

    .coffee-demo-section__points > div {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 11px;
    }

    .coffee-demo-section__points > div > span {
        width: 35px;
        height: 35px;
        font-size: 10px;
    }

    .coffee-demo-phone-wrap {
        min-height: 450px;
        margin: -10px -38px -35px;
        transform: scale(0.82);
        transform-origin: center top;
    }

    .coffee-demo-phone-wrap__label {
        right: -30px;
    }

    .coffee-demo-phone-wrap__pickup {
        left: -8px;
    }
}

/* =========================================================
   21. ДОСТУПНОСТЬ
   ========================================================= */

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

/* =========================================================
   AUTO PAGE
   Полная стилизация страницы автобизнеса
   ========================================================= */


/* =========================================================
   AUTO PAGE: ВЫГОДЫ И СЦЕНАРИИ
   ========================================================= */

.auto-benefits {
    padding-top: 90px;
}

.auto-benefits__heading {
    max-width: 840px;
}

.auto-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.auto-benefit-card {
    min-height: 100%;
    padding: 30px;
    border: 1px solid #cbe6f5;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fdff 0%, #eaf7ff 100%);
    box-shadow: 0 12px 28px rgba(31, 92, 126, 0.06);
}

.auto-benefit-card--business {
    border-color: #e3d1bc;
    background: linear-gradient(145deg, #fffdf9 0%, #f8eee1 100%);
}

.auto-benefit-card__top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 19px;
}

.auto-benefit-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: #168ee5;
    font-size: 21px;
    font-weight: 800;
}

.auto-benefit-card--business .auto-benefit-card__icon {
    background: #b66d34;
}

.auto-benefit-card__label {
    color: #2a668b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.auto-benefit-card--business .auto-benefit-card__label {
    color: #965424;
}

.auto-benefit-card h3 {
    margin-bottom: 17px;
    color: #1d435a;
    font-size: 28px;
    line-height: 1.15;
}

.auto-benefit-card--business h3 {
    color: #4e3423;
}

.auto-benefit-card__list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auto-benefit-card__list li {
    position: relative;
    padding-left: 27px;
    color: #406277;
    font-size: 15px;
    line-height: 1.45;
}

.auto-benefit-card__list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    content: "✓";
    font-size: 11px;
    font-weight: 900;
}

.auto-benefit-card--business .auto-benefit-card__list li {
    color: #604b3c;
}

.auto-benefit-card--business .auto-benefit-card__list li::before {
    background: #b66d34;
}

/* =========================================================
   AUTO PAGE: СЦЕНАРИИ
   ========================================================= */

.auto-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.auto-scenario-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #d5e8f3;
    border-radius: 18px;
    background: #ffffff;
}

.auto-scenario-card::after {
    position: absolute;
    top: -75px;
    right: -65px;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.07);
    content: "";
}

.auto-scenario-card--service {
    border-color: #e7d6c4;
    background: #fffaf5;
}

.auto-scenario-card--service::after {
    background: rgba(182, 109, 52, 0.09);
}

.auto-scenario-card__number,
.auto-scenario-card__eyebrow,
.auto-scenario-card h3,
.auto-scenario-card__lead,
.auto-scenario-flow,
.auto-scenario-card__result {
    position: relative;
    z-index: 1;
}

.auto-scenario-card__number {
    margin-bottom: 18px;
    color: #168ee5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.auto-scenario-card--service .auto-scenario-card__number {
    color: #b66d34;
}

.auto-scenario-card__eyebrow {
    margin-bottom: 8px;
    color: #2875a5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.auto-scenario-card--service .auto-scenario-card__eyebrow {
    color: #9b5a2c;
}

.auto-scenario-card h3 {
    margin-bottom: 12px;
    color: #1d435a;
    font-size: 30px;
    line-height: 1.12;
}

.auto-scenario-card--service h3 {
    color: #5f3c25;
}

.auto-scenario-card__lead {
    max-width: 510px;
    margin-bottom: 24px;
    color: #5f7481;
    font-size: 15px;
    line-height: 1.55;
}

.auto-scenario-card--service .auto-scenario-card__lead {
    color: #765e4b;
}

.auto-scenario-flow {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.auto-scenario-flow li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 37px;
    color: #365b70;
    font-size: 14px;
    line-height: 1.42;
}

.auto-scenario-flow li > span {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #2875a5;
    background: #e7f5fc;
    font-size: 11px;
    font-weight: 800;
}

.auto-scenario-card--service .auto-scenario-flow li {
    color: #6b513d;
}

.auto-scenario-card--service .auto-scenario-flow li > span {
    color: #965424;
    background: #f9ead8;
}

.auto-scenario-card__result {
    margin-top: auto;
    padding: 13px 14px;
    border-radius: 10px;
    color: #305c75;
    background: #edf8fe;
    font-size: 14px;
    line-height: 1.45;
}

.auto-scenario-card__result strong {
    color: #17384f;
}

.auto-scenario-card--service .auto-scenario-card__result {
    color: #694d37;
    background: #faecdb;
}

.auto-scenario-card--service .auto-scenario-card__result strong {
    color: #60391e;
}

/* =========================================================
   AUTO PAGE: АДАПТИВНОСТЬ БЛОКОВ
   ========================================================= */

@media (max-width: 850px) {
    .auto-benefits-grid,
    .auto-scenarios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .auto-benefits {
        padding-top: 60px;
    }

    .auto-benefit-card,
    .auto-scenario-card {
        padding: 23px 18px;
        border-radius: 15px;
    }

    .auto-benefit-card h3,
    .auto-scenario-card h3 {
        font-size: 25px;
    }

    .auto-benefit-card__list li {
        font-size: 14px;
    }

    .auto-scenario-card__lead {
        font-size: 14px;
    }
}
/* =========================================================
   1. HERO
   ========================================================= */

.auto-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(79, 180, 245, 0.2) 0,
            rgba(79, 180, 245, 0.05) 30%,
            transparent 54%
        ),
        linear-gradient(
            118deg,
            #fffdf9 0%,
            #fffdf9 53%,
            #eef6fb 100%
        );
}

.auto-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 490px;
    height: 490px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.05);
}

.auto-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
    gap: 52px;
    align-items: center;
}

.auto-hero__content {
    max-width: 720px;
}

.auto-hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5.2vw, 65px);
}

.auto-hero__lead {
    max-width: 650px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 18px;
}

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

.auto-hero__note {
    max-width: 620px;
    margin-top: 24px;
    padding: 13px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #cce4f4;
    border-radius: 11px;
    color: #315c74;
    background: rgba(248, 253, 255, 0.8);
    font-size: 14px;
    line-height: 1.45;
}

.auto-hero__note-icon {
    width: 22px;
    height: 22px;
    display: grid;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    font-size: 12px;
}


/* =========================================================
   2. СЦЕНА С МАШИНОЙ И ТЕЛЕФОНОМ
   ========================================================= */

.auto-demo-scene {
    position: relative;
    min-height: 545px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    isolation: isolate;
}

.auto-demo-scene__glow {
    position: absolute;
    z-index: -3;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 34% 30%,
            #fbfeff 0 14%,
            #e1f0f9 49%,
            #c2d9e8 100%
        );
    box-shadow:
        inset 23px 23px 35px rgba(255, 255, 255, 0.9),
        inset -19px -19px 32px rgba(62, 113, 150, 0.13);
    transform: translate(-50%, -50%);
}

.auto-demo-scene__road {
    position: absolute;
    z-index: -2;
    bottom: 7px;
    left: 50%;
    width: 390px;
    height: 36px;
    border-radius: 50%;
    background: rgba(38, 58, 75, 0.16);
    filter: blur(10px);
    transform: translateX(-50%);
}

.auto-demo-scene__road::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 72px;
    width: 245px;
    height: 2px;
    border-radius: 99px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.75) 0 18px,
            transparent 18px 34px
        );
    opacity: 0.65;
}


/* =========================================================
   3. МАШИНА
   ========================================================= */

.auto-car {
    position: relative;
    z-index: 3;
    width: 332px;
    flex: 0 0 332px;
    margin-right: -42px;
    overflow: visible;
    transform-origin: center bottom;
    animation: auto-car-idle 4.4s ease-in-out infinite;
}

.auto-car__svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: visible;
    filter:
        drop-shadow(0 17px 14px rgba(39, 68, 89, 0.18))
        drop-shadow(0 3px 3px rgba(255, 255, 255, 0.74));
}

.auto-car__beam {
    position: absolute;
    z-index: 1;
    bottom: 52px;
    width: 178px;
    height: 75px;
    opacity: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(238, 252, 255, 0.84) 0%,
            rgba(141, 224, 255, 0.32) 37%,
            rgba(120, 210, 255, 0) 100%
        );
    filter: blur(7px);
    transition:
        opacity 0.24s ease,
        filter 0.24s ease;
}

.auto-car__beam--left {
    left: -120px;
    clip-path: polygon(
        100% 19%,
        100% 81%,
        0 100%,
        16% 50%,
        0 0
    );
    transform: rotate(4deg);
}

.auto-car__beam--right {
    right: -120px;
    clip-path: polygon(
        0 19%,
        0 81%,
        100% 100%,
        84% 50%,
        100% 0
    );
    transform: rotate(-4deg);
}


/* Дальний свет */

.auto-car.is-high-beam .auto-car__beam {
    opacity: 1;
    filter: blur(8px) brightness(1.18);
    animation: auto-high-beam-pulse 0.58s ease-in-out 3;
}

.auto-car.is-high-beam .auto-car__headlight {
    fill: #f8ffff;
    stroke: #a7efff;
    filter: brightness(1.5);
    animation: auto-headlight-flash 0.58s ease-in-out 3;
}


/* Маскот внутри автомобиля: видна голова */

.car-mascot {
    transform-box: fill-box;
    transform-origin: center bottom;
    clip-path: inset(0 0 31% 0);
    animation: car-mascot-idle 4.2s ease-in-out infinite;
}

.car-mascot-antenna {
    transform-box: fill-box;
    transform-origin: center;
    animation: car-mascot-antenna-pulse 2.4s ease-in-out infinite;
}

.car-mascot-eyelid {
    transition: opacity 0.12s ease;
}

.auto-car.is-blinking .car-mascot-eyelid {
    opacity: 1;
}


/* =========================================================
   4. ТЕЛЕФОН АВТОСТРАНИЦЫ
   ========================================================= */

.auto-phone {
    position: relative;
    z-index: 4;
    width: 246px;
    height: 490px;
    padding: 6px;
    flex: 0 0 246px;
    margin-left: 14px;
    overflow: visible;
    border: 4px solid #151c26;
    border-radius: 37px;
    background: #151c26;
    box-shadow:
        0 29px 55px rgba(25, 53, 75, 0.27),
        0 0 0 1px rgba(255, 255, 255, 0.66),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateX(20px);
}

.auto-phone__screen {
    height: 100%;
    overflow: hidden;
    border-radius: 31px;
    background: #e7f0f6;
}

.auto-phone__island {
    position: absolute;
    z-index: 5;
    top: 4px;
    left: 50%;
    width: 73px;
    height: 20px;
    border-radius: 0 0 13px 13px;
    background: #151c26;
    transform: translateX(-50%);
}

.auto-phone__island::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2e4358;
    box-shadow: inset 0 0 0 1px #506b83;
}

.auto-phone__side,
.auto-phone__power {
    position: absolute;
    width: 3px;
    border-radius: 3px;
    background: #273241;
}

.auto-phone__side--silent {
    top: 93px;
    left: -6px;
    height: 24px;
}

.auto-phone__side--up,
.auto-phone__side--down {
    left: -6px;
    height: 37px;
}

.auto-phone__side--up {
    top: 132px;
}

.auto-phone__side--down {
    top: 177px;
}

.auto-phone__power {
    top: 140px;
    right: -6px;
    height: 69px;
}


/* =========================================================
   5. ЧАТ АВТОСТРАНИЦЫ
   ========================================================= */

.auto-demo-statusbar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 15px 3px;
    color: #20252b;
    background: #f4f1ea;
    font-size: 10px;
    font-weight: 800;
}

.auto-demo-header {
    min-height: 57px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #ffffff;
    background: #182838;
}

.auto-demo-header__back {
    font-size: 26px;
    line-height: 1;
}

.auto-demo-header__avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #168ee5;
    font-size: 15px;
}

.auto-demo-header__title strong,
.auto-demo-header__title small {
    display: block;
}

.auto-demo-header__title strong {
    font-size: 11px;
}

.auto-demo-header__title small {
    margin-top: 2px;
    color: #8ce3ff;
    font-size: 8px;
}

.auto-demo-header__title small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-right: 3px;
    border-radius: 50%;
    background: #55d7a1;
}

.auto-demo-chat {
    height: 361px;
    padding: 10px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 16% 14%,
            rgba(22, 142, 229, 0.06) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 82% 60%,
            rgba(22, 142, 229, 0.05) 0 2px,
            transparent 3px
        ),
        #e7f0f6;
    background-size: 42px 42px, 58px 58px, auto;
}

.auto-demo-date {
    width: max-content;
    margin: 0 auto 8px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #587385;
    background: rgba(205, 221, 231, 0.92);
    font-size: 8px;
}

.auto-demo-message {
    position: relative;
    max-width: 88%;
    margin: 6px 0;
    padding: 7px 8px 14px;
    border-radius: 9px;
    color: #263847;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(56, 78, 98, 0.12);
    font-size: 9px;
    line-height: 1.35;
}

.auto-demo-message--bot {
    border-top-left-radius: 3px;
}

.auto-demo-message--user {
    margin-left: auto;
    border-top-right-radius: 3px;
    color: #ffffff;
    background: #2a9be2;
}

.auto-demo-message time {
    position: absolute;
    right: 8px;
    bottom: 4px;
    opacity: 0.65;
    font-size: 7px;
}

.auto-demo-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 6px 0;
}

.auto-demo-services span {
    padding: 6px 3px;
    border: 1px solid #7ec1e4;
    border-radius: 6px;
    color: #2875a5;
    background: rgba(255, 255, 255, 0.84);
    text-align: center;
    font-size: 7px;
    font-weight: 800;
    line-height: 1.15;
}

.auto-demo-car-data {
    margin: 6px 0;
    padding: 7px 8px;
    border: 1px solid #9fcae4;
    border-radius: 8px;
    color: #254d65;
    background: rgba(249, 253, 255, 0.92);
    font-size: 8px;
}

.auto-demo-car-data strong,
.auto-demo-car-data span {
    display: block;
}

.auto-demo-car-data strong {
    font-size: 9px;
}

.auto-demo-car-data span {
    margin-top: 1px;
    color: #617d90;
}

.auto-demo-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 7px 0;
}

.auto-demo-slots span {
    padding: 6px 3px;
    border: 1px solid #9ccce7;
    border-radius: 6px;
    color: #2875a5;
    background: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-size: 8px;
    font-weight: 800;
}

.auto-demo-slots span.active {
    border-color: #168ee5;
    color: #ffffff;
    background: #168ee5;
}

.auto-demo-confirmation {
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #9bcae6;
    border-radius: 8px;
    color: #244c64;
    background: rgba(249, 253, 255, 0.95);
    font-size: 8px;
}

.auto-demo-confirmation strong,
.auto-demo-confirmation span {
    display: block;
}

.auto-demo-confirmation strong {
    margin-bottom: 3px;
    font-size: 9px;
}

.auto-demo-confirmation span {
    margin-bottom: 2px;
    color: #617d90;
}

.auto-demo-confirmation button {
    width: 100%;
    min-height: 25px;
    margin-top: 5px;
    padding: 0 4px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #168ee5;
    font-size: 8px;
    font-weight: 800;
}

.auto-demo-input {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-top: 1px solid #c9d8e3;
    background: #f5f9fc;
}

.auto-demo-input span {
    flex: 1;
    padding: 7px 9px;
    border-radius: 13px;
    color: #8b9daa;
    background: #e4edf3;
    font-size: 9px;
}

.auto-demo-input b {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #2a9be2;
    font-size: 12px;
}

/* =========================================================
   AUTO PAGE: ГОТОВАЯ ЗАЯВКА
   ========================================================= */

.auto-request-section {
    padding-top: 92px;
    padding-bottom: 92px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 48%,
            rgba(57, 173, 235, 0.12) 0,
            rgba(57, 173, 235, 0) 31%
        ),
        linear-gradient(115deg, #fffdf9 0%, #f3faff 100%);
}

.auto-request-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    gap: 64px;
    align-items: center;
}

.auto-request-section__content {
    max-width: 680px;
}

.auto-request-section__content h2 {
    max-width: 720px;
    margin-bottom: 18px;
}

.auto-request-section__lead {
    max-width: 610px;
    margin-bottom: 26px;
    color: #5b7485;
    font-size: 17px;
    line-height: 1.6;
}

.auto-request-section__steps {
    display: grid;
    gap: 11px;
}

.auto-request-section__steps > div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid #d6e8f2;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 6px 16px rgba(42, 94, 123, 0.04);
}

.auto-request-section__steps > div > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #168ee5 0%, #55c8f0 100%);
    box-shadow: 0 7px 15px rgba(22, 142, 229, 0.22);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 800;
}

.auto-request-section__steps p {
    margin: 0;
    color: #647b89;
    font-size: 14px;
    line-height: 1.45;
}

.auto-request-section__steps strong {
    margin-right: 4px;
    color: #24485d;
}

/* Карточка готовой заявки */

.auto-request-card {
    position: relative;
    width: min(100%, 350px);
    margin: 0 auto;
    padding: 23px;
    border: 1px solid #b9ddec;
    border-radius: 19px;
    color: #294f65;
    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(83, 196, 245, 0.2) 0,
            rgba(83, 196, 245, 0) 36%
        ),
        linear-gradient(155deg, #f9fdff 0%, #e7f5fc 100%);
    box-shadow:
        0 22px 42px rgba(36, 105, 141, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.auto-request-card::before {
    position: absolute;
    z-index: -1;
    top: 28px;
    right: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.1);
    content: "";
    filter: blur(8px);
}

.auto-request-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding-bottom: 14px;
    border-bottom: 1px solid #cde5f0;
    color: #315c73;
    font-size: 12px;
    font-weight: 800;
}

.auto-request-card__top b {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    color: #28745a;
    background: #daf5e8;
    font-size: 9px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.auto-request-card__car {
    margin: 18px 0 14px;
}

.auto-request-card__car > span,
.auto-request-card__slot > span,
.auto-request-card__payment > span {
    display: block;
    margin-bottom: 3px;
    color: #607b8b;
    font-size: 11px;
}

.auto-request-card__car strong,
.auto-request-card__slot strong,
.auto-request-card__payment strong {
    display: block;
    color: #17384f;
    font-size: 19px;
    line-height: 1.15;
}

.auto-request-card__car small,
.auto-request-card__slot small {
    display: block;
    margin-top: 3px;
    color: #5d7989;
    font-size: 11px;
    line-height: 1.45;
}

.auto-request-card__service {
    display: grid;
    gap: 5px;
    margin: 13px 0;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.76);
    font-size: 11px;
}

.auto-request-card__service strong {
    margin-bottom: 2px;
    color: #244d65;
    font-size: 12px;
}

.auto-request-card__service span {
    position: relative;
    padding-left: 14px;
    color: #617b8a;
    line-height: 1.4;
}

.auto-request-card__service span::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #168ee5;
    content: "";
}

.auto-request-card__slot {
    padding: 13px 0;
    border-top: 1px solid #cbe3ee;
    border-bottom: 1px solid #cbe3ee;
}

.auto-request-card__payment {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    align-items: end;
    padding-top: 14px;
}

.auto-request-card__payment > span {
    grid-column: 1 / -1;
}

.auto-request-card__payment strong {
    font-size: 21px;
}

.auto-request-card__payment b {
    margin-bottom: 2px;
    padding: 5px 7px;
    border-radius: 6px;
    color: #28745a;
    background: #daf5e8;
    font-size: 9px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

/* =========================================================
   AUTO PAGE: ИНТЕГРАЦИИ
   ========================================================= */

.auto-integrations {
    border-top: 1px solid #e3edf3;
    border-bottom: 1px solid #e3edf3;
}

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

.auto-integration-card {
    min-height: 100%;
    padding: 23px 18px;
    border: 1px solid #d4e5ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 81, 106, 0.04);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.auto-integration-card__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 10px;
    color: #ffffff;
    background: #168ee5;
    font-size: 19px;
    font-weight: 800;
}

.auto-integration-card:nth-child(2) .auto-integration-card__icon {
    background: #36a87c;
}

.auto-integration-card:nth-child(3) .auto-integration-card__icon {
    background: #b66d34;
}

.auto-integration-card:nth-child(4) .auto-integration-card__icon {
    background: #785ccb;
}

.auto-integration-card h3 {
    margin-bottom: 8px;
    color: #243f50;
    font-size: 19px;
    line-height: 1.2;
}

.auto-integration-card p {
    margin-bottom: 0;
    color: #657987;
    font-size: 13px;
    line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
    .auto-integration-card:hover {
        transform: translateY(-5px);
        border-color: #acd7ea;
        box-shadow: 0 16px 28px rgba(34, 81, 106, 0.1);
    }
}

/* =========================================================
   AUTO PAGE: АДАПТИВНОСТЬ НОВЫХ БЛОКОВ
   ========================================================= */

@media (max-width: 1050px) {
    .auto-request-section__grid {
        gap: 38px;
    }

    .auto-integration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .auto-request-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .auto-request-section__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .auto-request-card {
        width: min(100%, 410px);
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .auto-request-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .auto-request-section__lead {
        font-size: 16px;
    }

    .auto-request-section__steps {
        gap: 9px;
    }

    .auto-request-section__steps > div {
        grid-template-columns: 35px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .auto-request-section__steps > div > span {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        font-size: 11px;
    }

    .auto-request-section__steps p {
        font-size: 13px;
    }

    .auto-request-card {
        width: 100%;
        padding: 19px 16px;
        border-radius: 16px;
    }

    .auto-request-card__top {
        align-items: flex-start;
        font-size: 11px;
    }

    .auto-integration-grid {
        grid-template-columns: 1fr;
    }

    .auto-integration-card {
        padding: 20px 17px;
    }
}

/* =========================================================
   6. Restaurant: одинаковые телефоны
   ========================================================= */

.restaurant-phone--large,
.restaurant-phone--coffee {
    width: 252px !important;
    height: 502px !important;
    min-width: 252px !important;
    max-width: 252px !important;
    flex: 0 0 252px !important;
    padding: 6px !important;
    border-width: 4px !important;
    border-radius: 37px !important;
}

.restaurant-phone--large .restaurant-phone__screen,
.restaurant-phone--coffee .restaurant-phone__screen {
    width: 100% !important;
    height: 100% !important;
    border-radius: 31px !important;
}

.restaurant-phone--large .restaurant-phone__island,
.restaurant-phone--coffee .restaurant-phone__island {
    width: 73px !important;
    height: 20px !important;
}

.restaurant-phone--coffee .coffee-chat-body {
    height: 363px !important;
}


/* =========================================================
   7. Анимации
   ========================================================= */

@keyframes header-mascot-idle {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1.5px);
    }
}

@keyframes mascot-hint-float-left {
    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translate(-4px, -50%);
    }
}

@keyframes mascot-idle {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes mascot-head-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1deg);
    }
}

@keyframes mascot-left-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-3deg);
    }
}

@keyframes mascot-right-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes mascot-left-leg-alive {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(2px);
    }
}

@keyframes mascot-right-leg-alive {
    0%,
    100% {
        transform: translateY(1px);
    }

    50% {
        transform: translateY(0);
    }
}

@keyframes mascot-antenna-wiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

@keyframes mascot-antenna-glow {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

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

    50% {
        transform: scale(1.09);
    }
}


/* =========================================================
   8. Адаптивность
   ========================================================= */

@media (max-width: 1050px) {
    .hero__grid,
    .restaurant-hero__grid {
        gap: 36px;
    }

    .card-grid--four,
    .process-list,
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero__grid,
    .restaurant-hero__grid,
    .contact-panel,
    .restaurant-process__grid,
    .coffee-demo-section__grid {
        grid-template-columns: 1fr;
    }

    .restaurant-demo,
    .coffee-demo-phone-wrap {
        order: -1;
    }

    .audience-benefits-grid,
    .restaurant-scenarios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .header__cta {
        display: none;
    }

    .brand {
        font-size: 23px;
    }

    .header-mascot-wrap,
    .header-mascot-button {
        width: 57px;
        height: 61px;
        flex-basis: 57px;
    }

    .header-mascot-svg {
        width: 54px;
        height: 58px;
    }

    .header-mascot-hint {
        right: auto;
        left: calc(100% + 8px);
        font-size: 10px;
    }

    .hero,
    .restaurant-hero {
        padding: 48px 0 52px;
    }

    .section {
        padding: 60px 0;
    }

    .card-grid--four,
    .card-grid--three,
    .process-list,
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-demo {
        transform: scale(0.82);
        transform-origin: center top;
    }

    .coffee-demo-phone-wrap {
        transform: scale(0.82);
        transform-origin: center top;
    }

    .contact-panel {
        padding: 26px 18px;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}


/* =========================================================
   9. Accessibility
   ========================================================= */

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

/* =========================================================
   EVENTS PAGE
   Стилизация страницы ивентов
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.events-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(
            circle at 76% 40%,
            rgba(95, 165, 235, 0.22) 0,
            rgba(95, 165, 235, 0.06) 28%,
            transparent 52%
        ),
        linear-gradient(
            118deg,
            #fffdf9 0%,
            #fffdf9 52%,
            #eef5fc 100%
        );
}

.events-hero::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -140px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.06);
}

.events-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
    gap: 54px;
    align-items: center;
}

.events-hero__content {
    max-width: 720px;
}

.events-hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5.2vw, 65px);
}

.events-hero__lead {
    max-width: 650px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 18px;
}

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

.events-hero__note {
    max-width: 620px;
    margin-top: 24px;
    padding: 13px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #cce4f4;
    border-radius: 11px;
    color: #315c74;
    background: rgba(248, 253, 255, 0.8);
    font-size: 14px;
    line-height: 1.45;
}

.events-hero__note-icon {
    width: 22px;
    height: 22px;
    display: grid;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    font-size: 12px;
}


/* =========================================================
   2. СЦЕНА С МАСКОТОМ НА СЦЕНЕ
   ========================================================= */

.events-demo-scene {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    isolation: isolate;
}

.events-demo-scene__glow {
    position: absolute;
    z-index: -3;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 28%,
            #f7fbff 0 15%,
            #e3eef7 48%,
            #c5d6e6 100%
        );
    box-shadow:
        inset 22px 22px 34px rgba(255, 255, 255, 0.88),
        inset -18px -18px 30px rgba(62, 98, 130, 0.12);
    transform: translate(-50%, -50%);
}

.events-demo-scene__stage {
    position: absolute;
    z-index: -2;
    bottom: 8px;
    left: 50%;
    width: 360px;
    height: 32px;
    border-radius: 50%;
    background: rgba(36, 54, 70, 0.18);
    filter: blur(10px);
    transform: translateX(-50%);
}

.events-demo-scene__stage::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 60px;
    width: 240px;
    height: 2px;
    border-radius: 99px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.7) 0 16px,
            transparent 16px 32px
        );
    opacity: 0.6;
}


/* =========================================================
   3. МАСКОТ НА СЦЕНЕ
   ========================================================= */

.events-mascot {
    position: relative;
    z-index: 3;
    width: 220px;
    flex: 0 0 220px;
    margin-right: -28px;
    overflow: visible;
    transform-origin: center bottom;
    animation: events-mascot-idle 4.3s ease-in-out infinite;
}

.events-mascot-stand {
    transform-box: fill-box;
    transform-origin: center bottom;
}

.events-mic {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: events-mic-pulse 2.6s ease-in-out infinite;
}

.events-mascot-head {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: events-mascot-head-alive 4.6s ease-in-out infinite;
}

.events-mascot-arm {
    transform-box: fill-box;
    transform-origin: center;
}

.events-mascot-arm--left {
    animation: events-mascot-left-arm-alive 4.2s ease-in-out infinite;
}

.events-mascot-arm--right {
    animation: events-mascot-right-arm-alive 4.2s ease-in-out infinite;
}

.events-mascot-leg {
    transform-box: fill-box;
    transform-origin: center top;
}

.events-mascot-leg--left {
    animation: events-mascot-left-leg-alive 4s ease-in-out infinite;
}

.events-mascot-leg--right {
    animation: events-mascot-right-leg-alive 4s ease-in-out infinite;
}

.events-mascot-eyelid {
    transition: opacity 0.12s ease;
}

.events-mascot.is-blinking .events-mascot-eyelid {
    opacity: 1;
}


/* =========================================================
   4. ТЕЛЕФОН ИВЕНТОВ
   ========================================================= */

.events-phone {
    position: relative;
    z-index: 4;
    width: 246px;
    height: 490px;
    padding: 6px;
    flex: 0 0 246px;
    margin-left: 14px;
    overflow: visible;
    border: 4px solid #151c26;
    border-radius: 37px;
    background: #151c26;
    box-shadow:
        0 29px 55px rgba(25, 53, 75, 0.27),
        0 0 0 1px rgba(255, 255, 255, 0.66),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.events-phone__screen {
    height: 100%;
    overflow: hidden;
    border-radius: 31px;
    background: #e7f0f6;
}

.events-phone__island {
    position: absolute;
    z-index: 5;
    top: 4px;
    left: 50%;
    width: 73px;
    height: 20px;
    border-radius: 0 0 13px 13px;
    background: #151c26;
    transform: translateX(-50%);
}

.events-phone__island::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2e4358;
    box-shadow: inset 0 0 0 1px #506b83;
}

.events-phone__side,
.events-phone__power {
    position: absolute;
    width: 3px;
    border-radius: 3px;
    background: #273241;
}

.events-phone__side--silent {
    top: 93px;
    left: -6px;
    height: 24px;
}

.events-phone__side--up,
.events-phone__side--down {
    left: -6px;
    height: 37px;
}

.events-phone__side--up {
    top: 132px;
}

.events-phone__side--down {
    top: 177px;
}

.events-phone__power {
    top: 140px;
    right: -6px;
    height: 69px;
}


/* =========================================================
   5. ЧАТ ИВЕНТОВ
   ========================================================= */

.events-demo-statusbar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 15px 3px;
    color: #20252b;
    background: #f4f1ea;
    font-size: 10px;
    font-weight: 800;
}

.events-status-icons {
    letter-spacing: 3px;
    font-size: 9px;
}

.events-demo-header {
    min-height: 57px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #ffffff;
    background: #182838;
}

.events-demo-header__back {
    font-size: 26px;
    line-height: 1;
}

.events-demo-header__avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #168ee5;
    font-size: 15px;
}

.events-demo-header__title strong,
.events-demo-header__title small {
    display: block;
}

.events-demo-header__title strong {
    font-size: 11px;
}

.events-demo-header__title small {
    margin-top: 2px;
    color: #8ce3ff;
    font-size: 8px;
}

.events-demo-header__title small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    margin-right: 3px;
    border-radius: 50%;
    background: #55d7a1;
}

.events-demo-chat {
    height: 361px;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    background:
        radial-gradient(
            circle at 16% 14%,
            rgba(22, 142, 229, 0.06) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 82% 60%,
            rgba(22, 142, 229, 0.05) 0 2px,
            transparent 3px
        ),
        #e7f0f6;
    background-size: 42px 42px, 58px 58px, auto;
}

.events-demo-chat::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.events-demo-date {
    width: max-content;
    margin: 0 auto 8px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #587385;
    background: rgba(205, 221, 231, 0.92);
    font-size: 8px;
}

.events-demo-message {
    position: relative;
    max-width: 88%;
    margin: 6px 0;
    padding: 7px 8px 14px;
    border-radius: 9px;
    color: #263847;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(56, 78, 98, 0.12);
    font-size: 9px;
    line-height: 1.35;
}

.events-demo-message--bot {
    border-top-left-radius: 3px;
}

.events-demo-message--user {
    margin-left: auto;
    border-top-right-radius: 3px;
    color: #ffffff;
    background: #2a9be2;
}

.events-demo-message time {
    position: absolute;
    right: 8px;
    bottom: 4px;
    opacity: 0.65;
    font-size: 7px;
}

.events-demo-seats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 6px 0;
}

.events-demo-seats span {
    padding: 6px 3px;
    border: 1px solid #7ec1e4;
    border-radius: 6px;
    color: #2875a5;
    background: rgba(255, 255, 255, 0.84);
    text-align: center;
    font-size: 7px;
    font-weight: 800;
    line-height: 1.15;
}

.events-demo-seats span.active {
    border-color: #168ee5;
    color: #ffffff;
    background: #168ee5;
}

.events-demo-form {
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #9bcae6;
    border-radius: 8px;
    color: #244c64;
    background: rgba(249, 253, 255, 0.95);
    font-size: 8px;
}

.events-demo-form strong,
.events-demo-form span {
    display: block;
}

.events-demo-form strong {
    margin-bottom: 3px;
    font-size: 9px;
}

.events-demo-form span {
    margin-bottom: 2px;
    color: #617d90;
}

.events-demo-form button {
    width: 100%;
    min-height: 25px;
    margin-top: 5px;
    padding: 0 4px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #168ee5;
    font-size: 8px;
    font-weight: 800;
}

.events-demo-input {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-top: 1px solid #c9d8e3;
    background: #f5f9fc;
}

.events-demo-input span {
    flex: 1;
    padding: 7px 9px;
    border-radius: 13px;
    color: #8b9daa;
    background: #e4edf3;
    font-size: 9px;
}

.events-demo-input b {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #2a9be2;
    font-size: 12px;
}


/* =========================================================
   6. СЦЕНАРИИ ИВЕНТОВ
   ========================================================= */

.events-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.events-scenario-card {
    position: relative;
    min-height: 100%;
    padding: 59px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    counter-increment: process;
}

.events-scenario-card__number {
    position: absolute;
    top: 18px;
    left: 24px;
    color: var(--terracotta);
    font: 800 30px Georgia, serif;
}

.events-scenario-card__eyebrow {
    margin-bottom: 7px;
    color: var(--terracotta-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.events-scenario-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.events-scenario-card__lead {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.events-scenario-card__result {
    margin-top: 14px;
    padding: 10px;
    border: 1px solid #d9c3aa;
    border-radius: 7px;
    color: #4a362a;
    background: #f7f0e6;
    font-size: 13px;
    line-height: 1.35;
}


/* =========================================================
   7. ВЫГОДА ИВЕНТОВ
   ========================================================= */

.events-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.events-benefit {
    position: relative;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
}

.events-benefit__top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.events-benefit__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(22, 142, 229, 0.12);
    font-size: 19px;
}

.events-benefit__label {
    color: var(--terracotta-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.events-benefit h3 {
    margin-bottom: 11px;
    font-size: 18px;
}

.events-benefit__list {
    margin: 0;
    padding: 0 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.events-benefit__list li {
    margin-bottom: 6px;
}


/* =========================================================
   8. АНИМАЦИИ
   ========================================================= */

@keyframes events-mascot-idle {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.5px);
    }
}

@keyframes events-mascot-head-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(1.2deg);
    }
}

@keyframes events-mascot-left-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-2.5deg);
    }
}

@keyframes events-mascot-right-arm-alive {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@keyframes events-mascot-left-leg-alive {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1.5px);
    }
}

@keyframes events-mascot-right-leg-alive {
    0%,
    100% {
        transform: translateY(1px);
    }
    50% {
        transform: translateY(0);
    }
}

@keyframes events-mic-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}


/* =========================================================
   9. АДАПТИВНОСТЬ
   ========================================================= */

@media (max-width: 1050px) {
    .events-hero__grid {
        gap: 36px;
    }

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

@media (max-width: 850px) {
    .events-hero__grid {
        grid-template-columns: 1fr;
    }

    .events-demo-scene {
        order: -1;
    }

    .events-scenarios-grid,
    .events-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .events-hero {
        padding: 48px 0 52px;
    }

    .events-demo-scene {
        transform: scale(0.82);
        transform-origin: center top;
    }
}

/* =========================================================
   EVENTS: правки сцены
   ========================================================= */

.niche-page--events .events-demo-scene {
    min-height: 575px;
    align-items: flex-end;
}

.niche-page--events .events-mascot {
    width: 368px;
    flex-basis: 368px;
    margin-right: -112px;
}

/* Телефон ивентов: выше и компактнее */

.niche-page--events .events-phone {
    transform: translateY(-22px);
}

.niche-page--events .events-demo-statusbar {
    height: 25px;
    padding: 4px 15px 2px;
}

.niche-page--events .events-demo-header {
    min-height: 43px;
    padding: 4px 9px;
    gap: 6px;
}

.niche-page--events .events-demo-header__back {
    font-size: 22px;
}

.niche-page--events .events-demo-header__avatar {
    width: 25px;
    height: 25px;
    font-size: 12px;
}

.niche-page--events .events-demo-header__title strong {
    font-size: 9px;
}

.niche-page--events .events-demo-header__title small {
    margin-top: 1px;
    font-size: 7px;
}

.niche-page--events .events-demo-chat {
    height: 380px;
    padding: 8px;
}

.niche-page--events .events-demo-input {
    min-height: 39px;
    padding: 6px 8px;
}

/* =========================================================
   EVENTS: крупный маскот и микрофон впереди
   ========================================================= */

.niche-page--events .events-demo-scene {
    min-height: 620px;
    align-items: flex-end;
}

/*
   Маскот становится крупнее телефона:
   телефон — 490px по высоте,
   маскот — примерно 430px визуальной высоты.
*/
.niche-page--events .events-mascot {
    position: relative;
    z-index: 5;
    width: 430px;
    height: 508px;
    flex: 0 0 430px;
    margin-right: -168px;
    overflow: visible;
    transform: translateY(8px);
    transform-origin: center bottom;
}



/*
   Небольшая тень под увеличенным маскотом.
*/
.niche-page--events .events-demo-scene__stage {
    width: 470px;
    height: 42px;
    bottom: 3px;
}

@media (max-width: 850px) {
    .niche-page--events .events-demo-scene {
        min-height: 590px;
    }

    .niche-page--events .events-mascot {
        width: 365px;
        height: 432px;
        flex-basis: 365px;
        margin-right: -135px;
    }
}

@media (max-width: 620px) {
    .niche-page--events .events-demo-scene {
        min-height: 530px;
        transform: scale(0.78);
        transform-origin: center top;
    }

    .niche-page--events .events-mascot {
        width: 330px;
        height: 390px;
        flex-basis: 330px;
        margin-right: -125px;
    }

    .niche-page--events .events-phone {
        transform: translateY(-18px);
    }
}



/* =========================================================
   FAQ
   ========================================================= */

section[id] {
    scroll-margin-top: 96px;
}

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 820px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
}

.faq-item summary {
    position: relative;
    padding: 17px 48px 17px 18px;
    color: var(--brown);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--terracotta-dark);
    font-size: 22px;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   EVENTS: анимация демо-чата
   ========================================================= */

/*
   Все элементы сценария изначально скрыты.
   JavaScript добавляет .is-visible в нужный момент.
*/
.niche-page--events .events-demo-step {
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px) scale(0.98);
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s ease;
}

.niche-page--events .events-demo-step.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/*
   Выбранная кнопка кратко подсвечивается,
   как при реальном нажатии в Telegram-боте.
*/
.niche-page--events [data-events-choice] {
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.niche-page--events [data-events-choice].is-selected {
    border-color: #168ee5;
    color: #ffffff;
    background: #168ee5;
    transform: scale(0.96);
}

/*
   Визуальный курсор во время набора сообщения.
*/
.niche-page--events .events-demo-input span.is-typing::after {
    content: "";
    width: 1px;
    height: 10px;
    display: inline-block;
    margin-left: 2px;
    vertical-align: -1px;
    background: #4b6374;
    animation: events-demo-caret 0.65s steps(1, end) infinite;
}

/*
   Имитация нажатия кнопки отправки.
*/
.niche-page--events .events-demo-input b {
    transition:
        transform 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.niche-page--events .events-demo-input b.is-sending {
    background: #0d70b8;
    box-shadow: 0 0 0 4px rgba(22, 142, 229, 0.16);
    transform: scale(0.84);
}

@keyframes events-demo-caret {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/*
   Если пользователь включил настройку уменьшения анимации,
   сообщения остаются видимыми сразу.
*/
@media (prefers-reduced-motion: reduce) {
    .niche-page--events .events-demo-step {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .niche-page--events .events-demo-input span.is-typing::after {
        animation: none;
    }
}

/* =========================================================
   ГЛАВНАЯ: ПОДХОД BOTSHOT
   ========================================================= */

.trust-section {
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(22, 142, 229, 0.05);
    pointer-events: none;
}

.trust-section .container {
    position: relative;
    z-index: 1;
}

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

.trust-card {
    min-height: 100%;
    padding: 27px 24px 24px;
    border: 1px solid #cfe3ef;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(239, 248, 253, 0.96) 100%
        );
    box-shadow: 0 12px 26px rgba(37, 91, 122, 0.07);
}

.trust-card__number {
    display: block;
    margin-bottom: 16px;
    color: var(--blue);
    font: 800 30px Georgia, "Times New Roman", serif;
    line-height: 1;
}

.trust-card h3 {
    margin-bottom: 10px;
    color: var(--brown);
    font-size: 21px;
}

.trust-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

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

/* =========================================================
   ФОРМА: СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ
   ========================================================= */

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 4px;
    color: #dfc5ae;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.consent-field input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 1px 0 0;
    accent-color: #e1a069;
    cursor: pointer;
}

.consent-field a {
    color: #f4d3b4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-field a:hover {
    color: #ffffff;
}

.consent-field input:focus-visible {
    outline: 2px solid #e1a069;
    outline-offset: 2px;
}

.lead-form input:invalid:not(:placeholder-shown),
.lead-form textarea:invalid:not(:placeholder-shown) {
    border-color: #e89191;
}

/* =========================================================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ========================================================= */

.privacy-page {
    padding-top: 74px;
}

.privacy-page__content {
    max-width: 820px;
}

.privacy-page__content h1 {
    max-width: 780px;
}

.privacy-page__lead {
    max-width: 720px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.privacy-page__date {
    margin-bottom: 38px;
    color: var(--muted);
    font-size: 14px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h2 {
    margin-bottom: 12px;
    font-size: 25px;
}

.privacy-section p,
.privacy-section li {
    color: var(--brown-soft);
}

.privacy-section ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.privacy-section li {
    margin-bottom: 7px;
}

@media (max-width: 620px) {
    .privacy-page {
        padding-top: 46px;
    }

    .privacy-page__lead {
        font-size: 16px;
    }

    .privacy-section h2 {
        font-size: 22px;
    }
}

/* =========================================================
   EVENTS: СЦЕНАРИИ
   Более выразительные карточки для двух ключевых сценариев.
   ========================================================= */

.niche-page--events .events-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.niche-page--events .events-scenario-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #cfe5f3;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(61, 183, 243, 0.14) 0,
            rgba(61, 183, 243, 0) 35%
        ),
        #ffffff;
    box-shadow: 0 14px 34px rgba(28, 82, 113, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.niche-page--events .events-scenario-card--guests {
    border-color: #d8d3ef;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(125, 92, 203, 0.16) 0,
            rgba(125, 92, 203, 0) 35%
        ),
        #ffffff;
}

@media (hover: hover) and (pointer: fine) {
    .niche-page--events .events-scenario-card:hover {
        transform: translateY(-6px);
        border-color: #83c9ea;
        box-shadow: 0 22px 42px rgba(28, 82, 113, 0.14);
    }

    .niche-page--events .events-scenario-card--guests:hover {
        border-color: #afa1e4;
        box-shadow: 0 22px 42px rgba(77, 52, 144, 0.14);
    }
}

.niche-page--events .events-scenario-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.niche-page--events .events-scenario-card__number {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #168ee5 0%, #58c5ee 100%);
    box-shadow: 0 8px 18px rgba(22, 142, 229, 0.25);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__number {
    background: linear-gradient(135deg, #7554c7 0%, #a58add 100%);
    box-shadow: 0 8px 18px rgba(117, 84, 199, 0.23);
}

.niche-page--events .events-scenario-card__badge {
    padding: 7px 10px;
    border: 1px solid #cce6f4;
    border-radius: 999px;
    color: #25729a;
    background: #f4fbff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__badge {
    border-color: #ded7f4;
    color: #7357b9;
    background: #faf8ff;
}

.niche-page--events .events-scenario-card__eyebrow {
    margin-bottom: 9px;
    color: #2875a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__eyebrow {
    color: #7357b9;
}

.niche-page--events .events-scenario-card h3 {
    max-width: 430px;
    margin-bottom: 12px;
    color: #18364b;
    font-size: clamp(25px, 2.2vw, 32px);
    line-height: 1.08;
}

.niche-page--events .events-scenario-card__lead {
    max-width: 510px;
    margin-bottom: 26px;
    color: #587284;
    font-size: 15px;
    line-height: 1.55;
}

.niche-page--events .events-scenario-flow {
    display: grid;
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.niche-page--events .events-scenario-flow li {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 0;
    color: #426477;
}

.niche-page--events .events-scenario-flow li::before {
    position: absolute;
    top: 33px;
    left: 16px;
    width: 2px;
    height: calc(100% - 15px);
    content: "";
    background: #d3eaf7;
}

.niche-page--events .events-scenario-flow li:last-child::before {
    display: none;
}

.niche-page--events .events-scenario-flow li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #b9dff1;
    border-radius: 50%;
    color: #27759e;
    background: #eef9ff;
    font-size: 12px;
    font-weight: 800;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-flow li::before {
    background: #e2dcf5;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-flow li > span {
    border-color: #d5cbed;
    color: #7255b9;
    background: #f7f4ff;
}

.niche-page--events .events-scenario-flow strong {
    display: block;
    margin-bottom: 2px;
    color: #24485e;
    font-size: 14px;
    line-height: 1.35;
}

.niche-page--events .events-scenario-flow p {
    margin: 0;
    color: #688091;
    font-size: 13px;
    line-height: 1.45;
}

.niche-page--events .events-scenario-card__result {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    margin-top: auto;
    padding: 15px;
    border: 1px solid #cce7f5;
    border-radius: 13px;
    color: #315d75;
    background: #f3fbff;
}

.niche-page--events .events-scenario-card__result > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #168ee5;
    font-size: 13px;
    font-weight: 900;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__result {
    border-color: #ddd6f2;
    color: #554779;
    background: #faf8ff;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__result > span {
    background: #7554c7;
}

.niche-page--events .events-scenario-card__result p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.niche-page--events .events-scenario-card__result strong {
    color: #173e56;
}

.niche-page--events .events-scenario-card--guests
.events-scenario-card__result strong {
    color: #4e3f73;
}

/* FAQ: общие стили для нишевых страниц */
.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 56px 18px 20px;
    color: var(--brown);
    cursor: pointer;
    font-weight: 750;
    line-height: 1.35;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--terracotta);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary {
    color: var(--terracotta-dark);
}

.faq-item[open] summary::after {
    background: var(--brown);
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    max-width: 760px;
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.faq-item:hover {
    border-color: #d9c3aa;
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(22, 142, 229, 0.28);
    outline-offset: -3px;
}

@media (max-width: 620px) {
    .faq-item summary {
        min-height: 58px;
        padding: 15px 50px 15px 16px;
        font-size: 15px;
    }

    .faq-item summary::after {
        right: 15px;
        width: 25px;
        height: 25px;
        font-size: 20px;
    }

    .faq-item p {
        padding: 0 16px 17px;
        font-size: 14px;
    }
}

@media (max-width: 850px) {
    .niche-page--events .events-scenarios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .niche-page--events .events-scenarios-grid {
        gap: 16px;
    }

    .niche-page--events .events-scenario-card {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .niche-page--events .events-scenario-card h3 {
        font-size: 25px;
    }

    .niche-page--events .events-scenario-card__lead {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .niche-page--events .events-scenario-flow {
        gap: 12px;
    }

    .niche-page--events .events-scenario-flow li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
    }

    .niche-page--events .events-scenario-flow li > span {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .niche-page--events .events-scenario-flow li::before {
        top: 29px;
        left: 14px;
    }
}

/* Выравнивание CTA-кнопок в карточках сценариев мероприятий */
.events-scenario-card {
    display: flex;
    flex-direction: column;
}

.events-scenario-card .button {
    margin-top: auto;
    align-self: flex-start;
}