/* MINDFLOW_BITRIX24_FORM_V1_START */

/* Старая плавающая кнопка Telegram больше не используется. */
.floating-chat {
    display: none !important;
}

/* Контейнер встроенной CRM-формы. */
.mindflow-b24-form {
    width: 100%;
    min-height: 540px;
    margin-top: 38px;
    padding: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line, #dce2ec);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(18, 31, 68, 0.12);
}

.mindflow-b24-form::before {
    content: "Заявка в Mindflow";
    display: block;
    margin: 0 0 18px;
    color: #69758b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mindflow-b24-form .b24-form {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 580px) {
    .mindflow-b24-form {
        min-height: 600px;
        margin-top: 28px;
        padding: 8px;
        border-radius: 14px;
    }

    .mindflow-b24-form::before {
        margin: 8px 8px 14px;
    }
}

/* MINDFLOW_BITRIX24_FORM_V1_END */



/* MF_READABILITY_CTA_V2_START */

/* Читаемый текст */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.6;
}

p,
li,
dd,
dt,
label,
input,
textarea,
select {
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.65;
}

small,
.eyebrow,
.section-kicker,
.section-title > span,
.footer-caption,
.contact-info-grid small,
.contact-choice small,
.package-card small,
.support-grid small,
.cloud-tariff-grid small,
.box-tariff-grid small,
.requisites-hero-card small,
.seo-breadcrumbs,
.hero-proof span,
.bitrix-partner-actions small,
.mf-footer-bottom span {
    font-size: clamp(14px, 0.9vw, 16px) !important;
    line-height: 1.55 !important;
}

/* Действия внутри карточек выглядят как кнопки */
.service-card footer i,
.product-home-card footer i,
.blog-home-grid footer,
.product-detail-copy footer a,
.seo-service-grid footer,
.case-list-heading a,
.blog-home-all,
.kwork-source-link,
.official-price-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px !important;
    border: 1px solid rgba(9, 165, 212, 0.55);
    border-radius: 10px;
    background: rgba(9, 165, 212, 0.12);
    color: #32c7f3 !important;
    font-size: clamp(15px, 0.95vw, 17px) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.service-card:hover footer i,
.product-home-card:hover footer i,
.blog-home-grid a:hover footer,
.product-detail-copy footer a:hover,
.seo-service-grid a:hover footer,
.case-list-heading a:hover,
.blog-home-all:hover,
.kwork-source-link:hover,
.official-price-link:hover {
    border-color: #09a5d4;
    background: #09a5d4;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Единственный глобальный CTA — настоящая кнопка */
#mindflow-global-cta-v2 {
    position: fixed;
    left: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 2147483000;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 54px;
    padding: 0 22px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;

    background: #09a5d4;
    color: #ffffff !important;

    box-shadow: 0 14px 34px rgba(5, 28, 78, .32);

    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;

    transition:
        transform .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

#mindflow-global-cta-v2:hover {
    background: #0e87c8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(5, 28, 78, .38);
}

/* Мобильная версия — одна нижняя кнопка */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    }

    #mindflow-global-cta-v2 {
        left: 12px;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));

        width: auto;
        min-width: 0;
        min-height: 56px;
        padding: 0 18px;

        border-radius: 14px;

        font-size: 17px !important;
    }

    .service-card footer i,
    .product-home-card footer i,
    .blog-home-grid footer,
    .product-detail-copy footer a,
    .seo-service-grid footer {
        min-height: 44px;
        padding: 10px 14px !important;
        font-size: 15px !important;
    }
}

@media print {
    #mindflow-global-cta-v2 {
        display: none !important;
    }
}

/* MF_READABILITY_CTA_V2_END */

/* MF_HERO_COMMAND_MOBILE_GRID_V2_START */

@media (max-width: 768px) {
    /*
     * На мобильном схема больше не использует
     * десктопные абсолютные координаты.
     */
    .home-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .hero-command {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas:
            "crm onec"
            "core core"
            "com analytics"
            "status status" !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 28px auto 0 !important;
        padding: 18px 12px 24px !important;
        gap: 12px !important;

        overflow: hidden !important;
        transform: none !important;
    }

    .hero-command .orbit {
        display: none !important;
    }

    .hero-command .command-card {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: flex !important;
        align-items: center !important;
        gap: 10px !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 74px !important;

        margin: 0 !important;
        padding: 12px !important;

        transform: none !important;
        z-index: 2 !important;
    }

    .hero-command .command-card.crm {
        grid-area: crm !important;
    }

    .hero-command .command-card[class~="1c"] {
        grid-area: onec !important;
    }

    .hero-command .command-card.com {
        grid-area: com !important;
    }

    .hero-command .command-card.bi {
        grid-area: analytics !important;
    }

    .hero-command .command-card > i {
        display: inline-flex !important;
        flex: 0 0 42px !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    .hero-command .command-card > span {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .hero-command .command-card b {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .hero-command .command-card small {
        font-size: 12px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    .hero-command .command-card em {
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .hero-command .command-core {
        grid-area: core !important;

        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: center !important;
        flex-direction: column !important;

        width: 158px !important;
        height: 158px !important;

        margin: 10px auto !important;

        transform: none !important;
        z-index: 1 !important;
    }

    .hero-command .command-core img {
        width: 28px !important;
        height: auto !important;
        margin-bottom: 8px !important;
    }

    .hero-command .command-core small {
        width: 120px !important;
        max-width: 120px !important;

        font-size: 12px !important;
        line-height: 1.35 !important;
        letter-spacing: .12em !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .hero-command .command-core strong {
        margin-top: 7px !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }

    .hero-command .command-status {
        grid-area: status !important;

        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        justify-self: center !important;

        width: auto !important;
        max-width: calc(100% - 24px) !important;
        margin: 2px auto 0 !important;

        transform: none !important;
        z-index: 2 !important;
    }
}

@media (max-width: 390px) {
    .hero-command {
        padding-right: 8px !important;
        padding-left: 8px !important;
        gap: 8px !important;
    }

    .hero-command .command-card {
        min-height: 68px !important;
        padding: 9px !important;
        gap: 7px !important;
    }

    .hero-command .command-card > i {
        flex-basis: 36px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
    }

    .hero-command .command-card b {
        font-size: 13px !important;
    }

    .hero-command .command-card small {
        font-size: 11px !important;
    }

    .hero-command .command-core {
        width: 144px !important;
        height: 144px !important;
    }
}

/* MF_HERO_COMMAND_MOBILE_GRID_V2_END */



/* MF_CONTACT_SVG_ICONS_V2_START */

:root {
    --mf-navy: #2d2d78;
    --mf-cyan: #09a5d4;
    --mf-indigo: #3f41a9;
    --mf-blue: #0e87c8;
}

/* Общая геометрия иконок */

.mf-link-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.mf-link-icon svg {
    display: block;
    width: 23px;
    height: 23px;
}

.mf-link-icon-telegram,
.mf-link-icon-max {
    overflow: hidden;
    background: transparent;
}

.mf-link-icon-telegram svg,
.mf-link-icon-max svg {
    width: 42px;
    height: 42px;
}

/* Заявка — фирменный голубой */

.mf-link-icon-request {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--mf-cyan),
            var(--mf-blue)
        );
    box-shadow: 0 9px 22px rgba(9, 165, 212, .22);
}

/* Телефон */

.mf-link-icon-phone {
    color: var(--mf-blue);
    background: rgba(14, 135, 200, .11);
    border: 1px solid rgba(14, 135, 200, .17);
}

/* Почта */

.mf-link-icon-email {
    color: var(--mf-indigo);
    background: rgba(63, 65, 169, .10);
    border: 1px solid rgba(63, 65, 169, .16);
}

/* Адрес */

.mf-link-icon-location {
    color: var(--mf-navy);
    background: rgba(45, 45, 120, .09);
    border: 1px solid rgba(45, 45, 120, .15);
}

/* Битрикс24 / партнёр */

.mf-link-icon-partner {
    color: var(--mf-cyan);
    background: rgba(9, 165, 212, .09);
    border: 1px solid rgba(9, 165, 212, .17);
}

/* Остальные внешние ссылки */

.mf-link-icon-external {
    color: var(--mf-blue);
    background: rgba(14, 135, 200, .08);
    border: 1px solid rgba(14, 135, 200, .14);
}

/* Стрелка — SVG, не emoji */

.mf-link-chevron {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    margin-left: auto;

    color: var(--mf-blue);

    opacity: .62;

    transition:
        transform .18s ease,
        opacity .18s ease;
}

.mf-link-chevron svg {
    width: 18px;
    height: 18px;
}

/* Быстрый старт */

.contact-choice a.mf-rich-link {
    display: grid !important;
    grid-template-columns:
        30px
        42px
        minmax(0, 1fr)
        24px !important;
    align-items: center !important;
    gap: 12px !important;

    min-height: 72px;
    padding: 12px 14px !important;

    border: 1px solid rgba(45, 45, 120, .11);
    border-radius: 14px;

    background: rgba(255, 255, 255, .72);
    text-decoration: none !important;

    box-shadow: 0 7px 20px rgba(19, 25, 75, .035);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

.contact-choice a.mf-rich-link > b {
    min-width: 0;
    color: var(--mf-navy);
    font-size: 16px;
    line-height: 1.35;
}

.contact-choice a.mf-rich-link > .mf-choice-number {
    color: rgba(45, 45, 120, .48);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .06em;
}

/* Карточки контактов */

.contact-info-grid > .mf-contact-card-clickable {
    padding: 0 !important;
    overflow: hidden;

    border-color: rgba(45, 45, 120, .10);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.contact-info-grid > .mf-contact-card-clickable > small {
    display: block;
    padding: 17px 18px 0;
}

.contact-info-grid a.mf-rich-link {
    display: grid !important;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        24px !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100%;
    min-height: 72px;
    padding: 11px 18px 17px !important;

    color: var(--mf-navy) !important;
    text-decoration: none !important;
}

.mf-rich-link-label {
    min-width: 0;

    font-size: clamp(15px, .98vw, 17px);
    font-weight: 650;
    line-height: 1.4;

    overflow-wrap: anywhere;
}

/* Кнопка заявки */

#mindflow-global-cta-v2.mf-rich-link {
    display: inline-grid !important;
    grid-template-columns: 32px auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

#mindflow-global-cta-v2 .mf-link-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;

    background: rgba(255,255,255,.16);
    box-shadow: none;
}

#mindflow-global-cta-v2 .mf-link-icon svg {
    width: 19px;
    height: 19px;
}

#mindflow-global-cta-v2 .mf-link-chevron {
    display: none;
}

/* Ссылки в нижних CTA-блоках */

.contact-actions a.mf-rich-link:not(.button) {
    display: inline-grid !important;
    grid-template-columns:
        36px
        minmax(0, 1fr)
        20px !important;
    align-items: center !important;
    gap: 9px !important;

    min-height: 48px;
    padding: 6px 11px !important;

    border: 1px solid rgba(9, 165, 212, .18);
    border-radius: 12px;

    background: rgba(9, 165, 212, .055);
    text-decoration: none !important;
}

.contact-actions a.mf-rich-link:not(.button) .mf-link-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.contact-actions a.mf-rich-link:not(.button) .mf-link-icon svg {
    width: 20px;
    height: 20px;
}

/* Наведение */

@media (hover: hover) and (pointer: fine) {
    .contact-choice a.mf-rich-link:hover {
        transform: translateY(-3px);
        border-color: rgba(9, 165, 212, .35);
        background: #ffffff;
        box-shadow: 0 14px 34px rgba(19, 25, 75, .10);
    }

    .contact-info-grid > .mf-contact-card-clickable:hover {
        transform: translateY(-3px);
        border-color: rgba(9, 165, 212, .31);
        box-shadow: 0 14px 34px rgba(19, 25, 75, .09);
    }

    .contact-actions a.mf-rich-link:not(.button):hover {
        transform: translateY(-2px);
        border-color: rgba(9, 165, 212, .36);
        background: rgba(9, 165, 212, .10);
    }

    .mf-rich-link:hover .mf-link-icon {
        transform: scale(1.045);
    }

    .mf-rich-link:hover .mf-link-chevron {
        transform: translateX(3px);
        opacity: 1;
    }
}

/* Клавиатурный фокус */

.mf-rich-link:focus-visible {
    outline: 3px solid rgba(9, 165, 212, .32);
    outline-offset: 3px;
}

/* Мобильная версия */

@media (max-width: 768px) {
    .contact-choice a.mf-rich-link {
        grid-template-columns:
            42px
            minmax(0, 1fr)
            24px !important;

        min-height: 68px;
        padding: 11px 12px !important;
        gap: 11px !important;
    }

    .contact-choice a.mf-rich-link > .mf-choice-number {
        display: none !important;
    }

    .contact-info-grid a.mf-rich-link {
        min-height: 68px;
    }

    .mf-link-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .mf-link-icon-telegram svg,
    .mf-link-icon-max svg {
        width: 40px;
        height: 40px;
    }
}

/* MF_CONTACT_SVG_ICONS_V2_END */

/* MF_CONTACT_CHOICE_REDESIGN_V3_START */

/* Внешняя панель быстрого старта */
.page-hero-aside .contact-choice {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;

    width: 100% !important;
    padding: 22px !important;

    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 22px !important;

    background:
        linear-gradient(
            145deg,
            rgba(21, 27, 95, .62),
            rgba(13, 24, 77, .38)
        ) !important;

    box-shadow:
        0 24px 60px rgba(4, 10, 48, .18),
        inset 0 1px 0 rgba(255, 255, 255, .05) !important;

    backdrop-filter: blur(14px);
}

/* Заголовок */
.page-hero-aside .contact-choice > small {
    display: block !important;
    margin: 0 0 8px !important;

    color: #54d8ff !important;

    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

/* Строка действия */
.page-hero-aside .contact-choice a.mf-rich-link {
    position: relative !important;

    display: grid !important;
    grid-template-columns:
        25px
        38px
        minmax(0, 1fr)
        20px !important;

    align-items: center !important;
    gap: 11px !important;

    width: 100% !important;
    min-height: 62px !important;
    padding: 10px 13px !important;

    overflow: hidden !important;

    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 14px !important;

    background: rgba(255, 255, 255, .055) !important;

    color: #ffffff !important;
    text-decoration: none !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035) !important;

    transition:
        transform .18s ease,
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease !important;
}

/* Основная заявка — визуальный приоритет */
.page-hero-aside .contact-choice a.mf-rich-link-request {
    border-color: rgba(9, 165, 212, .35) !important;

    background:
        linear-gradient(
            105deg,
            rgba(9, 165, 212, .20),
            rgba(14, 135, 200, .09)
        ) !important;
}

/* Номер строки */
.page-hero-aside .contact-choice .mf-choice-number {
    color: rgba(194, 214, 255, .56) !important;

    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
}

/* Иконки */
.page-hero-aside .contact-choice .mf-link-icon {
    flex: 0 0 38px !important;

    width: 38px !important;
    height: 38px !important;

    border-radius: 11px !important;

    box-shadow: none !important;
}

.page-hero-aside .contact-choice .mf-link-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.page-hero-aside .contact-choice .mf-link-icon-telegram svg,
.page-hero-aside .contact-choice .mf-link-icon-max svg {
    width: 38px !important;
    height: 38px !important;
}

/* Корпоративные иконки заявки и телефона */
.page-hero-aside .contact-choice .mf-link-icon-request {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #09a5d4,
            #0e87c8
        ) !important;
}

.page-hero-aside .contact-choice .mf-link-icon-phone {
    color: #71dfff !important;

    border: 1px solid rgba(9, 165, 212, .24) !important;
    background: rgba(9, 165, 212, .13) !important;
}

/* Текст */
.page-hero-aside .contact-choice a.mf-rich-link > b {
    min-width: 0 !important;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Векторный шеврон */
.page-hero-aside .contact-choice .mf-link-chevron {
    width: 20px !important;
    height: 20px !important;
    margin-left: 0 !important;

    color: rgba(116, 217, 255, .72) !important;

    opacity: 1 !important;
}

.page-hero-aside .contact-choice .mf-link-chevron svg {
    width: 16px !important;
    height: 16px !important;
}

/* Наведение */
@media (hover: hover) and (pointer: fine) {
    .page-hero-aside .contact-choice a.mf-rich-link:hover {
        transform: translateX(4px) !important;

        border-color: rgba(79, 208, 247, .34) !important;
        background: rgba(255, 255, 255, .095) !important;

        box-shadow:
            0 12px 30px rgba(3, 10, 49, .18),
            inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    }

    .page-hero-aside .contact-choice a.mf-rich-link-request:hover {
        background:
            linear-gradient(
                105deg,
                rgba(9, 165, 212, .31),
                rgba(14, 135, 200, .15)
            ) !important;
    }

    .page-hero-aside .contact-choice a.mf-rich-link:hover
    .mf-link-chevron {
        transform: translateX(2px) !important;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .page-hero-aside .contact-choice {
        padding: 15px !important;
        border-radius: 18px !important;
    }

    .page-hero-aside .contact-choice a.mf-rich-link {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            20px !important;

        min-height: 58px !important;
        padding: 9px 11px !important;
    }

    .page-hero-aside .contact-choice .mf-choice-number {
        display: none !important;
    }

    .page-hero-aside .contact-choice a.mf-rich-link > b {
        font-size: 14px !important;
    }
}

/* MF_CONTACT_CHOICE_REDESIGN_V3_END */

/* MF_CONTACT_ICONS_POLISH_V4_START */

:root {
    --mf-contact-navy: #2d2d78;
    --mf-contact-indigo: #3f41a9;
    --mf-contact-cyan: #09a5d4;
    --mf-contact-blue: #0e87c8;
}

/* ---------------------------------------------------------
   1. ЕДИНЫЙ РАЗМЕР ИКОНОК
   --------------------------------------------------------- */

.contact-info-grid .mf-link-icon {
    display: inline-flex !important;
    flex: 0 0 38px !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;

    border-radius: 12px !important;

    color: var(--mf-contact-navy) !important;

    border: 1px solid rgba(45, 45, 120, .13) !important;

    background:
        linear-gradient(
            145deg,
            rgba(63, 65, 169, .075),
            rgba(9, 165, 212, .045)
        ) !important;

    box-shadow: none !important;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease !important;
}

.contact-info-grid .mf-link-icon svg {
    display: block !important;

    width: 19px !important;
    height: 19px !important;
}

/* Telegram и MAX — без дополнительной квадратной подложки */

.contact-info-grid .mf-link-icon-telegram,
.contact-info-grid .mf-link-icon-max {
    width: 38px !important;
    height: 38px !important;

    overflow: hidden !important;

    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
}

.contact-info-grid .mf-link-icon-telegram svg,
.contact-info-grid .mf-link-icon-max svg {
    width: 38px !important;
    height: 38px !important;
}

/* ---------------------------------------------------------
   2. КОРПОРАТИВНЫЕ ОТТЕНКИ ПО ТИПАМ
   --------------------------------------------------------- */

.contact-info-grid .mf-link-icon-location {
    color: var(--mf-contact-indigo) !important;

    border-color: rgba(63, 65, 169, .16) !important;

    background:
        linear-gradient(
            145deg,
            rgba(63, 65, 169, .10),
            rgba(45, 45, 120, .035)
        ) !important;
}

.contact-info-grid .mf-link-icon-partner {
    color: var(--mf-contact-cyan) !important;

    border-color: rgba(9, 165, 212, .20) !important;

    background:
        linear-gradient(
            145deg,
            rgba(9, 165, 212, .12),
            rgba(14, 135, 200, .04)
        ) !important;
}

.contact-info-grid .mf-link-icon-requisites {
    color: var(--mf-contact-blue) !important;

    border-color: rgba(14, 135, 200, .18) !important;

    background:
        linear-gradient(
            145deg,
            rgba(14, 135, 200, .11),
            rgba(9, 165, 212, .045)
        ) !important;
}

.contact-info-grid .mf-link-icon-phone {
    color: var(--mf-contact-blue) !important;

    border-color: rgba(14, 135, 200, .17) !important;

    background: rgba(14, 135, 200, .075) !important;
}

.contact-info-grid .mf-link-icon-email {
    color: var(--mf-contact-indigo) !important;

    border-color: rgba(63, 65, 169, .16) !important;

    background: rgba(63, 65, 169, .07) !important;
}

/* ---------------------------------------------------------
   3. ССЫЛКИ ВНУТРИ КАРТОЧЕК
   --------------------------------------------------------- */

.contact-info-grid a.mf-rich-link {
    display: grid !important;
    grid-template-columns:
        38px
        minmax(0, 1fr)
        20px !important;

    align-items: center !important;
    gap: 15px !important;

    width: 100% !important;
    min-height: 48px !important;

    padding: 0 !important;

    color: var(--mf-contact-navy) !important;
    text-decoration: none !important;
}

.contact-info-grid .mf-rich-link-label {
    color: var(--mf-contact-navy) !important;

    font-size: 16px !important;
    font-weight: 680 !important;
    line-height: 1.45 !important;
}

.contact-info-grid .mf-link-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;

    color: var(--mf-contact-cyan) !important;

    opacity: .82 !important;
}

.contact-info-grid .mf-link-chevron svg {
    width: 15px !important;
    height: 15px !important;
}

/* ---------------------------------------------------------
   4. НОРМАЛЬНЫЕ ОТСТУПЫ В КАРТОЧКАХ
   --------------------------------------------------------- */

.contact-info-grid > .mf-contact-card-clickable {
    padding: 26px 22px !important;
}

.contact-info-grid > .mf-contact-card-clickable > small {
    display: block !important;

    margin: 0 0 28px !important;
    padding: 0 !important;

    color: rgba(45, 45, 120, .45) !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

/* Карточки Telegram и MAX без заголовка */

.contact-info-grid > .mf-contact-card-clickable:not(:has(> small)) {
    display: flex !important;
    align-items: flex-start !important;

    padding-top: 30px !important;
}

/* ---------------------------------------------------------
   5. ИСПОЛНИТЕЛЬ / РЕКВИЗИТЫ
   --------------------------------------------------------- */

.contact-info-grid > .mf-requisites-card {
    display: block !important;

    padding: 30px 24px 28px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(247, 250, 255, .94)
        ) !important;
}

.contact-info-grid > .mf-requisites-card > small {
    margin: 0 0 30px !important;
    padding: 0 !important;
}

.contact-info-grid > .mf-requisites-card p {
    margin: 0 !important;

    color: #242a40 !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
}

.contact-info-grid > .mf-requisites-card p + p {
    margin-top: 3px !important;
}

.contact-info-grid > .mf-requisites-card a.mf-rich-link {
    margin-top: 24px !important;
    padding: 11px 14px !important;

    border: 1px solid rgba(9, 165, 212, .16) !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            105deg,
            rgba(9, 165, 212, .075),
            rgba(63, 65, 169, .025)
        ) !important;
}

/* ---------------------------------------------------------
   6. НАВЕДЕНИЕ
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
    .contact-info-grid a.mf-rich-link:hover
    .mf-link-icon {
        transform: translateY(-1px) scale(1.035) !important;

        border-color: rgba(9, 165, 212, .28) !important;
    }

    .contact-info-grid a.mf-rich-link:hover
    .mf-link-chevron {
        transform: translateX(3px) !important;
        opacity: 1 !important;
    }

    .contact-info-grid > .mf-requisites-card
    a.mf-rich-link:hover {
        border-color: rgba(9, 165, 212, .30) !important;

        background:
            linear-gradient(
                105deg,
                rgba(9, 165, 212, .13),
                rgba(63, 65, 169, .045)
            ) !important;
    }
}

/* ---------------------------------------------------------
   7. МОБИЛЬНАЯ ВЕРСИЯ
   --------------------------------------------------------- */

@media (max-width: 768px) {
    .contact-info-grid > .mf-contact-card-clickable {
        padding: 22px 18px !important;
    }

    .contact-info-grid > .mf-requisites-card {
        padding: 26px 18px !important;
    }

    .contact-info-grid > .mf-requisites-card > small {
        margin-bottom: 22px !important;
    }

    .contact-info-grid > .mf-requisites-card a.mf-rich-link {
        margin-top: 20px !important;
        padding: 11px 12px !important;
    }
}

/* MF_CONTACT_ICONS_POLISH_V4_END */

/* MF_SITE_MOTION_V2_START */

/*
 * Безопасная анимация.
 * transform не используется, поэтому исходные координаты
 * и трансформации элементов сохраняются.
 */

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

.mf-motion-enabled .home-hero-copy > *,
.mf-motion-enabled .page-hero-copy > *,
.mf-motion-enabled .smart-hero-copy > *,
.mf-motion-enabled .seo-landing-hero > div > * {
    opacity: 0;
    translate: 0 16px;

    animation:
        mfSafeHeroEnter
        .72s
        cubic-bezier(.22,.75,.2,1)
        forwards;
}

.mf-motion-enabled .home-hero-copy > *:nth-child(1),
.mf-motion-enabled .page-hero-copy > *:nth-child(1),
.mf-motion-enabled .smart-hero-copy > *:nth-child(1) {
    animation-delay: .04s;
}

.mf-motion-enabled .home-hero-copy > *:nth-child(2),
.mf-motion-enabled .page-hero-copy > *:nth-child(2),
.mf-motion-enabled .smart-hero-copy > *:nth-child(2) {
    animation-delay: .12s;
}

.mf-motion-enabled .home-hero-copy > *:nth-child(3),
.mf-motion-enabled .page-hero-copy > *:nth-child(3),
.mf-motion-enabled .smart-hero-copy > *:nth-child(3) {
    animation-delay: .20s;
}

.mf-motion-enabled .home-hero-copy > *:nth-child(4),
.mf-motion-enabled .page-hero-copy > *:nth-child(4),
.mf-motion-enabled .smart-hero-copy > *:nth-child(4) {
    animation-delay: .28s;
}

.mf-motion-enabled .home-hero-copy > *:nth-child(5),
.mf-motion-enabled .page-hero-copy > *:nth-child(5),
.mf-motion-enabled .smart-hero-copy > *:nth-child(5) {
    animation-delay: .36s;
}

@keyframes mfSafeHeroEnter {
    from {
        opacity: 0;
        translate: 0 16px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}


/* Схема на главной */

.mf-motion-enabled .hero-command .command-card,
.mf-motion-enabled .hero-command .command-core,
.mf-motion-enabled .hero-command .command-status {
    opacity: 0;
    translate: 0 12px;

    animation:
        mfSafeDiagramEnter
        .62s
        cubic-bezier(.22,.75,.2,1)
        forwards;
}

.mf-motion-enabled .hero-command .command-card.crm {
    animation-delay: .16s;
}

.mf-motion-enabled .hero-command .command-card[class~="1c"] {
    animation-delay: .24s;
}

.mf-motion-enabled .hero-command .command-core {
    animation-delay: .32s;
}

.mf-motion-enabled .hero-command .command-card.com {
    animation-delay: .40s;
}

.mf-motion-enabled .hero-command .command-card.bi {
    animation-delay: .48s;
}

.mf-motion-enabled .hero-command .command-status {
    animation-delay: .56s;
}

@keyframes mfSafeDiagramEnter {
    from {
        opacity: 0;
        translate: 0 12px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}


/* Десктопные спокойные эффекты */

@media (min-width: 769px) {
    /*
     * Орбиты не вращаем через transform.
     * Только мягко меняем яркость.
     */
    .mf-motion-enabled .hero-command .orbit-one {
        animation: mfSafeOrbitGlow 5.5s ease-in-out infinite;
    }

    .mf-motion-enabled .hero-command .orbit-two {
        animation: mfSafeOrbitGlow 7s 1.1s ease-in-out infinite;
    }

    .mf-motion-enabled .hero-command .command-core {
        animation:
            mfSafeDiagramEnter
            .62s
            .32s
            cubic-bezier(.22,.75,.2,1)
            forwards,
            mfSafeCoreGlow
            5.5s
            1.2s
            ease-in-out
            infinite;
    }
}

@keyframes mfSafeOrbitGlow {
    0%,
    100% {
        opacity: .42;
        filter: brightness(1);
    }

    50% {
        opacity: .72;
        filter: brightness(1.16);
    }
}

@keyframes mfSafeCoreGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(9,165,212,0),
            0 18px 45px rgba(4,12,60,.15);
    }

    50% {
        box-shadow:
            0 0 0 11px rgba(9,165,212,.05),
            0 22px 54px rgba(4,12,60,.24);
    }
}


/* Разделы при прокрутке */

.mf-motion-enabled .mf-motion-reveal {
    opacity: 0;
    translate: 0 24px;

    transition:
        opacity .72s cubic-bezier(.22,.75,.2,1),
        translate .72s cubic-bezier(.22,.75,.2,1);
}

.mf-motion-enabled .mf-motion-reveal.mf-motion-visible {
    opacity: 1;
    translate: 0 0;
}


/* Карточки и кнопки */

.service-card,
.product-home-card,
.review-card,
.package-card,
.automation-grid article,
.smart-benefit-grid article,
.seo-service-grid > a,
.seo-stage-grid article,
.case-row-list > a,
.button,
.mf-header-cta,
#mindflow-global-cta-v2 {
    transition:
        translate .20s ease,
        box-shadow .20s ease,
        border-color .20s ease,
        background-color .20s ease;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .product-home-card:hover,
    .review-card:hover,
    .package-card:hover,
    .automation-grid article:hover,
    .smart-benefit-grid article:hover,
    .seo-service-grid > a:hover,
    .seo-stage-grid article:hover {
        translate: 0 -4px;
        box-shadow: 0 18px 42px rgba(5,15,55,.14);
    }

    .case-row-list > a:hover {
        translate: 5px 0;
    }

    .button:hover,
    .mf-header-cta:hover,
    #mindflow-global-cta-v2:hover {
        translate: 0 -2px;
    }

    /*
     * Важное правило:
     * transform карточек схемы не меняем.
     */
    .hero-command .command-card:hover {
        translate: 0 -3px;

        border-color: rgba(9,165,212,.48);
        box-shadow: 0 16px 36px rgba(2,10,45,.22);
    }
}


/* Мобильная версия */

@media (max-width: 768px) {
    .mf-motion-enabled .hero-command .command-card,
    .mf-motion-enabled .hero-command .command-core,
    .mf-motion-enabled .hero-command .command-status {
        animation-duration: .48s;
    }

    .mf-motion-enabled .mf-motion-reveal {
        translate: 0 16px;
        transition-duration: .55s;
    }

    .mf-motion-enabled .mf-motion-reveal.mf-motion-visible {
        translate: 0 0;
    }
}


/* Отключение движения */

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

    .mf-motion-enabled .home-hero-copy > *,
    .mf-motion-enabled .page-hero-copy > *,
    .mf-motion-enabled .smart-hero-copy > *,
    .mf-motion-enabled .seo-landing-hero > div > *,
    .mf-motion-enabled .hero-command .command-card,
    .mf-motion-enabled .hero-command .command-core,
    .mf-motion-enabled .hero-command .command-status,
    .mf-motion-enabled .mf-motion-reveal {
        opacity: 1 !important;
        translate: none !important;
    }
}

/* MF_SITE_MOTION_V2_END */

/* MF_DESKTOP_HERO_MOTION_V3_START */

/*
 * Используем opacity, filter, scale и box-shadow.
 * Существующий transform, который отвечает за координаты,
 * не изменяем.
 */

@media (min-width: 769px) {

    /* -----------------------------------------------------
       КАРТОЧКИ СХЕМЫ
       ----------------------------------------------------- */

    .mf-hero-motion-v3 .hero-command .command-card,
    .mf-hero-motion-v3 .hero-command .command-core,
    .mf-hero-motion-v3 .hero-command .command-status {
        opacity: 0;
        scale: .94;
        filter: blur(5px) brightness(.88);

        animation:
            mfHeroObjectEnter
            .72s
            cubic-bezier(.2,.8,.2,1)
            forwards;
    }

    .mf-hero-motion-v3 .hero-command .command-card.crm {
        animation-delay: .12s;
    }

    .mf-hero-motion-v3 .hero-command .command-card[class~="1c"] {
        animation-delay: .24s;
    }

    .mf-hero-motion-v3 .hero-command .command-core {
        animation:
            mfHeroObjectEnter
            .76s
            .36s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfHeroCorePulse
            4.6s
            1.35s
            ease-in-out
            infinite;
    }

    .mf-hero-motion-v3 .hero-command .command-card.com {
        animation-delay: .48s;
    }

    .mf-hero-motion-v3 .hero-command .command-card.bi {
        animation-delay: .60s;
    }

    .mf-hero-motion-v3 .hero-command .command-status {
        animation:
            mfHeroObjectEnter
            .65s
            .72s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfStatusGlow
            3.6s
            1.5s
            ease-in-out
            infinite;
    }

    @keyframes mfHeroObjectEnter {
        0% {
            opacity: 0;
            scale: .94;
            filter: blur(5px) brightness(.88);
        }

        65% {
            opacity: 1;
            scale: 1.015;
            filter: blur(0) brightness(1.08);
        }

        100% {
            opacity: 1;
            scale: 1;
            filter: blur(0) brightness(1);
        }
    }

    /* -----------------------------------------------------
       ЦЕНТРАЛЬНЫЙ КРУГ
       ----------------------------------------------------- */

    @keyframes mfHeroCorePulse {
        0%,
        100% {
            box-shadow:
                0 0 0 0 rgba(9, 165, 212, 0),
                0 18px 45px rgba(3, 11, 59, .20);

            filter:
                brightness(1)
                saturate(1);
        }

        50% {
            box-shadow:
                0 0 0 14px rgba(9, 165, 212, .055),
                0 0 40px rgba(9, 165, 212, .20),
                0 25px 60px rgba(3, 11, 59, .32);

            filter:
                brightness(1.12)
                saturate(1.08);
        }
    }

    /* -----------------------------------------------------
       ОРБИТЫ
       ----------------------------------------------------- */

    .mf-hero-motion-v3 .hero-command .orbit-one {
        animation:
            mfOrbitBreathOne
            5.2s
            ease-in-out
            infinite;
    }

    .mf-hero-motion-v3 .hero-command .orbit-two {
        animation:
            mfOrbitBreathTwo
            7s
            .8s
            ease-in-out
            infinite;
    }

    @keyframes mfOrbitBreathOne {
        0%,
        100% {
            opacity: .30;
            filter: brightness(.9);
        }

        50% {
            opacity: .72;
            filter: brightness(1.35);
        }
    }

    @keyframes mfOrbitBreathTwo {
        0%,
        100% {
            opacity: .22;
            filter: brightness(.9);
        }

        50% {
            opacity: .56;
            filter: brightness(1.25);
        }
    }

    /* -----------------------------------------------------
       ПЕРИОДИЧЕСКАЯ ПОДСВЕТКА КАРТОЧЕК
       ----------------------------------------------------- */

    .mf-hero-motion-v3 .hero-command .command-card.crm {
        animation:
            mfHeroObjectEnter
            .72s
            .12s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfCommandCardGlow
            7.2s
            1.4s
            ease-in-out
            infinite;
    }

    .mf-hero-motion-v3 .hero-command .command-card[class~="1c"] {
        animation:
            mfHeroObjectEnter
            .72s
            .24s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfCommandCardGlow
            7.2s
            2.3s
            ease-in-out
            infinite;
    }

    .mf-hero-motion-v3 .hero-command .command-card.com {
        animation:
            mfHeroObjectEnter
            .72s
            .48s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfCommandCardGlow
            7.2s
            3.2s
            ease-in-out
            infinite;
    }

    .mf-hero-motion-v3 .hero-command .command-card.bi {
        animation:
            mfHeroObjectEnter
            .72s
            .60s
            cubic-bezier(.2,.8,.2,1)
            forwards,

            mfCommandCardGlow
            7.2s
            4.1s
            ease-in-out
            infinite;
    }

    @keyframes mfCommandCardGlow {
        0%,
        72%,
        100% {
            border-color: rgba(255, 255, 255, .11);
            box-shadow: 0 12px 28px rgba(2, 8, 42, .13);
            filter: brightness(1);
        }

        82% {
            border-color: rgba(38, 201, 245, .50);
            box-shadow:
                0 0 26px rgba(9, 165, 212, .16),
                0 18px 38px rgba(2, 8, 42, .24);
            filter: brightness(1.12);
        }
    }

    @keyframes mfStatusGlow {
        0%,
        100% {
            box-shadow: 0 8px 22px rgba(2, 8, 42, .10);
            filter: brightness(1);
        }

        50% {
            box-shadow:
                0 0 24px rgba(35, 226, 143, .16),
                0 10px 28px rgba(2, 8, 42, .18);
            filter: brightness(1.12);
        }
    }
}


/* ---------------------------------------------------------
   КНОПКА «БЕСПЛАТНЫЙ АУДИТ»
   --------------------------------------------------------- */

.mf-hero-audit-button {
    position: relative !important;
    isolation: isolate;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 198px !important;
    min-height: 54px !important;
    padding: 0 27px !important;

    overflow: hidden;

    border: 1px solid rgba(80, 220, 255, .36) !important;
    border-radius: 12px !important;

    background:
        linear-gradient(
            110deg,
            #09a5d4 0%,
            #0e87c8 38%,
            #28c1e9 52%,
            #0e87c8 66%,
            #09a5d4 100%
        ) !important;

    background-size: 230% 100% !important;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    box-shadow:
        0 13px 30px rgba(9, 165, 212, .22),
        inset 0 1px 0 rgba(255, 255, 255, .20) !important;

    animation:
        mfAuditGradient
        5.5s
        ease-in-out
        infinite,

        mfAuditPulse
        4.2s
        ease-in-out
        infinite !important;

    transition:
        scale .18s ease,
        translate .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

@keyframes mfAuditGradient {
    0%,
    100% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes mfAuditPulse {
    0%,
    100% {
        box-shadow:
            0 13px 30px rgba(9, 165, 212, .22),
            0 0 0 0 rgba(9, 165, 212, 0),
            inset 0 1px 0 rgba(255, 255, 255, .20);
    }

    50% {
        box-shadow:
            0 17px 38px rgba(9, 165, 212, .34),
            0 0 0 7px rgba(9, 165, 212, .065),
            inset 0 1px 0 rgba(255, 255, 255, .28);
    }
}

@media (hover: hover) and (pointer: fine) {
    .mf-hero-audit-button:hover {
        translate: 0 -3px !important;
        scale: 1.025 !important;

        border-color: rgba(125, 232, 255, .72) !important;

        box-shadow:
            0 20px 44px rgba(9, 165, 212, .38),
            0 0 30px rgba(9, 165, 212, .18),
            inset 0 1px 0 rgba(255, 255, 255, .30) !important;
    }
}

@media (max-width: 768px) {
    .mf-hero-audit-button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
    }

    /*
     * На телефоне убираем постоянную подсветку карточек,
     * оставляем только входную анимацию текущей мобильной сетки.
     */
    .hero-command .command-card,
    .hero-command .command-core,
    .hero-command .command-status {
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mf-hero-motion-v3 .hero-command .command-card,
    .mf-hero-motion-v3 .hero-command .command-core,
    .mf-hero-motion-v3 .hero-command .command-status,
    .mf-hero-motion-v3 .hero-command .orbit-one,
    .mf-hero-motion-v3 .hero-command .orbit-two,
    .mf-hero-audit-button {
        animation: none !important;
        opacity: 1 !important;
        scale: 1 !important;
        filter: none !important;
    }
}

/* MF_DESKTOP_HERO_MOTION_V3_END */
