/* Enable selecting text for entire messenger link, keep icons non-selectable */
.quick-messenger-link {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.quick-messenger-link img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Intro video base layout */
.intro-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    line-height: 0; /* убрать базовую линию, чтобы не было пустых отступов */
}
/* Removed empty marker rule for .header-contacts-desktop to satisfy linter */
/* Disable hover effects for header phone link/icon (desktop only) */
@media (min-width: 1024px) {
    .block_choose .header-contacts-desktop .footer-link {
        color: #363738 !important;
    }
    .block_choose .header-contacts-desktop .footer-link:hover {
        color: #363738 !important;
        transform: none;
        border-left-color: transparent;
        opacity: 1;
    }
    .block_choose .header-contacts-desktop .footer-link:hover::before {
        width: 0;
    }
    .block_choose .header-contacts-desktop .footer-link:hover .footer-contact-icon {
        opacity: 0.7;
        transform: none;
    }
}
.intro-video iframe,
.intro-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-video .video-poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(120% 120% at 50% 50%, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.6) 80%);
    background-size: cover;
    background-position: center;
}
.intro-video::before { /* визуальный fallback на старых браузерах без aspect-ratio */
    content: "";
    display: none;
}
@supports not (aspect-ratio: 16 / 9) {
    .intro-video {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 */
    }
    .intro-video::before {
        display: block;
    }
    .intro-video iframe,
    .intro-video video,
    .intro-video .video-poster {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
    }
}
.video-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #111;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.video-play-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.video-play-icon { font-size: 16px; }
.video-play-text { font-size: 14px; }
/* Mobile UX adjustments */
@media (max-width: 768px) {
    /* Use flex column to allow reordering of children on mobile */
    .hero-container {
        display: flex;
        flex-direction: column;
    }
    /* Show visual first, then content on mobile */
    .hero-visual { order: -1; }
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn-large {
        width: 100%;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .stat-divider { display: none; }
    .intro-video {
        margin: 0 0 16px 0;
        border-radius: 12px;
    }
    .platform-intro-card { margin-top: 0; }

    .quick-cta-action .btn-quick-cta { width: 100%; }
    .quick-cta-messengers { flex-wrap: wrap; gap: 8px; }
    .quick-messenger-link { width: 32px; height: 32px; padding: 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.4rem; line-height: 1.2; }
    .hero-description { font-size: 0.95rem; }
}
/* X UI: Account dropdown modern design */
:root {
    --xui-surface: #ffffff;
    --xui-text: #1a1a1a;
    --xui-muted: #6b7280;
    --xui-border: rgba(0, 0, 0, 0.08);
    --xui-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --xui-radius: 12px;
    --xui-primary: #7796C6;
    --xui-primary-700: #1548ba;
}

/* X UI: Desktop Header Nav Dropdown */
@media (min-width: 769px) {
    .Header_nav.xui-nav {
        position: fixed; /* не создаём новый контекст, держим шапку поверх */
        z-index: 1000;    /* выше любых оверлеев и фоновых слоёв */
        overflow: visible; /* не обрезаем выпадающие подменю */
        transition: transform 0.24s ease; /* плавное скрытие/показ при скролле */
        will-change: transform;
        transform: translateY(0) !important; /* базовое положение меню */
    }
    /* Скрытие меню при прокрутке: поддержка классов из JS */
    .Header_nav.is-hidden {
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
    }
    html.scrolling-down .Header_nav {
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
    }
    html.scrolling-up .Header_nav {
        transform: translateY(0);
        opacity: 1;
    }
    body.nav-hidden .Header_nav {
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
            /* На десктопе/планшете — блок Вход/Аккаунт идёт последним после пунктов меню */
            .Header_nav .Header_navLinkList-main > .nav-login-item {
                order: 999;
            }
    }
    body.nav-hidden .Header_navLinkList-main {
        display: none !important;
    }
    .Header_navLinkList-main.is-hidden {
        display: none !important;
    }
    .Header_nav.xui-nav.xui-hidden {
        /* Полностью уводим фиксированное меню выше области шапки */
        transform: translateY(calc(-100% - var(--header-height))) !important;
        pointer-events: none; /* исключаем взаимодействие пока скрыто */
    }
    .Header_navLinkList.xui-nav-list {
        display: flex;
        align-items: center;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: space-evenly; /* равномерно распределяем пункты как было ранее */
    }
    .Header_navLinkList-main.xui-nav-main {
        display: flex;
        width: 100%;
        /* доп. отступ как в шаблоне */
        margin-top: 70px;
    }
    .HeaderNavigationMenu_root.xui-nav-item {
        position: relative;
        width: 100%;
    }
    .HeaderNavigationMenu_trigger.xui-nav-trigger {
        appearance: none;
        background: transparent;
        border: 0;
        padding: 10px 12px;
        color: #f8fafc; /* светлый текст на тёмном фоне шапки */
        cursor: pointer;
        border-radius: 8px;
    }
    .HeaderNavigationMenu_trigger.xui-nav-trigger:hover,
    .HeaderNavigationMenu_trigger.xui-nav-trigger:focus-visible {
        color: #ffffff;
        background: rgba(255,255,255,0.08);
        outline: none;
    }
    .HeaderNavigationMenu_trigger.xui-nav-trigger::after {
        content: '';
        display: inline-block;
        margin-left: 8px;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.18s ease;
    }
    .HeaderNavigationMenu_root.xui-nav-item:hover .HeaderNavigationMenu_trigger.xui-nav-trigger::after,
    .HeaderNavigationMenu_root.xui-nav-item:focus-within .HeaderNavigationMenu_trigger.xui-nav-trigger::after,
    .HeaderNavigationMenu_trigger[aria-expanded="true"].xui-nav-trigger::after {
        transform: rotate(-135deg);
    }

    .HeaderNavigationMenu_menu__zI5Te.xui-dropdown-menu {
        /* наследуем позиционирование от контейнера .partner-dropdown-menu */
        min-width: 280px;
        max-width: 360px;
        background: var(--xui-surface);
        border: 1px solid var(--xui-border);
        border-radius: var(--xui-radius);
        box-shadow: var(--xui-shadow);
        padding: 12px;
        transform: translateY(6px) scale(0.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }
    .HeaderNavigationMenu_root.xui-nav-item:hover .HeaderNavigationMenu_menu__zI5Te.xui-dropdown-menu,
    .HeaderNavigationMenu_root.xui-nav-item:focus-within .HeaderNavigationMenu_menu__zI5Te.xui-dropdown-menu,
    .HeaderNavigationMenu_trigger[aria-expanded="true"] ~ .partner-dropdown-menu .HeaderNavigationMenu_menu__zI5Te.xui-dropdown-menu {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* Принудительное раскрытие через класс от JS */
    .partner-dropdown-menu.xui-open {
        display: block !important;
        visibility: visible !important;
    }
    .partner-dropdown-menu.xui-open .HeaderNavigationMenu_menu__zI5Te {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Элементы внутри выпадающего меню */
    .xui-dropdown-menu .NavigationMenuItem_item__Xc7Dz a {
        display: block;
        padding: 8px 10px;
        border-radius: 10px;
        color: #0f172a !important;
        text-decoration: none !important;
    }
    .xui-dropdown-menu .NavigationMenuItem_item__Xc7Dz a:hover {
        background: rgba(119, 150, 198, 0.12);
        color: var(--xui-primary-700) !important;
    }
}

/* Explicit nav login placement: tablet/desktop vs mobile */
@media (min-width: 768px) {
    .Header_nav .Header_navLinkList-main { display: flex; }
    .Header_nav .Header_navLinkList-main > .nav-login-item { order: 999 !important; }
}
@media (max-width: 767px) {
    .Header_nav .Header_navLinkList-main { display: flex; flex-direction: column; }
    .Header_nav .Header_navLinkList-main > .nav-login-item { order: -999 !important; }
}

/* Мобильная версия: контейнер навигации должен быть доступен */
@media (max-width: 768px) {
    .Header_nav {
        display: block !important; /* не скрываем контейнер, меню управляется классами */
        box-shadow: none !important;
    }
}

.account_list.xui-dropdown {
    position: relative;
    z-index: 2001; /* выше фиксированного десктопного меню */
}

.xui-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--xui-border);
    border-radius: 999px;
    backdrop-filter: saturate(1.2) blur(6px);
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    color: var(--xui-text);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}
.xui-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.xui-avatar-btn:active {
    transform: translateY(1px);
}
.xui-avatar-btn:focus-visible {
    outline: 2px solid var(--xui-primary-700);
    outline-offset: 2px;
}

.xui-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px var(--xui-border);
}

.xui-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.account_list.is-open .xui-caret {
    transform: rotate(-135deg);
}

.acnt_list_sub-menu.xui-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 280px;
    max-width: 320px;
    background: var(--xui-surface);
    border: 1px solid var(--xui-border);
    border-radius: var(--xui-radius);
    box-shadow: var(--xui-shadow);
    padding: 8px;
    text-align: left;
    z-index: 2002; /* поверх Header_nav */
    transform: translateY(6px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.account_list.is-open .acnt_list_sub-menu.xui-menu {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.xui-menu-header.acount_name {
    font-weight: 600;
    color: var(--xui-text);
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0,0,0,0.03);
}
.xui-divider[role="separator"] {
    height: 1px;
    margin: 8px 0;
    background: var(--xui-border);
}
.xui-menu-item {
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}
.xui-menu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a !important; /* повышаем контраст текста и перекрываем глобальные a */
    font-weight: 500; /* немного плотнее шрифт */
    font-size: 15px; /* оптимальный размер для читаемости */
    line-height: 1.4;
    opacity: 1; /* убираем возможное наследование прозрачности */
    justify-content: flex-start; /* выравниваем контент влево */
    text-decoration: none !important;
}
.xui-menu-item a svg { opacity: 1; filter: none; }

/* Акцентные пункты (Акция, Партнёрка) */
.xui-menu-item--accent a {
    color: #111827 !important;
    font-weight: 600;
}
.xui-menu-item--accent a svg path,
.xui-menu-item--accent a svg g path {
    fill: #E75656 !important;
    stroke: #E75656 !important;
}
.xui-menu-item:hover {
    background: rgba(119, 150, 198, 0.12);
}
.xui-menu-item a:hover {
    color: var(--xui-primary-700) !important;
}

@media (max-width: 768px) {
    .acnt_list_sub-menu.xui-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        top: auto;
        padding: 12px;
        border-radius: 16px;
    }
}
/* КРИТИЧЕСКИ ВАЖНЫЕ МОБИЛЬНЫЕ СТИЛИ - ДОЛЖНЫ БЫТЬ В НАЧАЛЕ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Универсальное правило для всех элементов с фиксированной шириной */
    div, section, article, aside, nav, main, footer, form, table {
        max-width: 100% !important;
        /* overflow-x: hidden !important; */
    }
    
    /* Исключение для header - позволяем ему занимать всю ширину viewport */
    .header, .Header_nav {
        max-width: 100vw !important;
        width: 100vw !important;
        overflow-x: visible !important;
    }
    
    /* Исправляем base_wrapper для мобильной версии */
    .base_wrapper {
        max-width: 100vw !important;
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin: 0 !important;
    }
    
    /* Исправляем изображения и медиа */
    img, video, svg, canvas, iframe {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .container, .container-fluid, .row, .col, [class*="col-"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@import url(./style_account.css);
@import url(./style_crm.css);
@import url(./style_calendar.css);
@import url(./style_forecast.css);

* {
    margin: 0;
    padding: 0;
    border: 0;
}
*,*:before,*:after{
   box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
:focus,:active{
    outline: none;
}

/* Современная цветовая схема */
:root {
    /* Основные цвета */
    --primary-color: #7796C6;        /* Основной синий */
    --primary-hover: #FFA216;        /* Синий при наведении */
    --accent-color: #FFA216;         /* Акцентный оранжевый */
    --danger-color: #E75656;         /* Красный для важных элементов */
    --success-color: #58d68e;        /* Зеленый для успеха */
    --warning-color: #FFC107;        /* Желтый для предупреждений */
    --error-color: #E75656;          /* Красный для ошибок */
    --info-color: #7797C6;           /* Синий для информации */
    
    /* Цвета текста */
    --text-primary: #2D3748;         /* Основной цвет текста */
    --text-secondary: #4A5568;       /* Вторичный цвет текста */
    --text-light: #718096;           /* Светлый цвет текста */
    --text-dark: #2c3e50;            /* Темный цвет текста */
    
    /* Цвета фона */
    --background-primary: #FFFFFF;   /* Основной фон */
    --background-secondary: #F7FAFC; /* Вторичный фон */
    
    /* Границы */
    --border-color: #E2E8F0;         /* Цвет границ */
    
    /* Тени */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* Радиусы скругления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #5A7BC1 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #FF8C00 100%);
    /* Размеры шапки */
    --header-height: 100px;
    
    /* Переходы */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,body {
    height: 100%;
    width: 100%;
    max-width: 100vw !important; /* Важно: ограничиваем шириной viewport */
    overflow-x: hidden !important; /* Предотвращает горизонтальный скролл */
    font-size: 100%;
    background: var(--background-primary) !important;
    font-family: "Roboto", "Arial" !important;
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

/* Исправляем переполнение контейнеров */
*, *:before, *:after {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* Дополнительная защита от переполнения */
.container, .container-fluid, .row, .col, [class*="col-"] {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Исправляем проблемные элементы */
table, .table, .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
}
@font-face {
    font-family: "Roboto"; 
    src: local("Roboto"),
    url('/fonts/roboto/Roboto-Regular.ttf') format('truetype'),
    url('/fonts/roboto/Roboto-Thin.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: "Roboto"; 
    src: url('/fonts/roboto/Roboto-Italic.ttf') format('truetype');
    font-style: italic;
}

@font-face {
    font-family: "Rubik";
    src: local("Rubik"),
    url('/fonts/rubik/Rubik-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: "Rubik";
    src: url('/fonts/rubik/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
}

h1 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
}
h2 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
}
h3 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: clamp(1.25rem, 3vw, 1.875rem) !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.75rem !important;
}
h4 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    letter-spacing: -0.005em !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
}
h5 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: 0em !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
}
h6 {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    color: var(--text-secondary) !important;
    margin-bottom: 0.5rem !important;
}

/* Современные стили для параграфов и текста */
p {
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-light);
}

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-light { color: var(--text-light) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-danger { color: var(--danger-color) !important; }

.font-weight-light { font-weight: 300; }
.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Подчеркивание важных слов */
.highlight {
    background: linear-gradient(120deg, var(--accent-color) 0%, var(--accent-color) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
    padding: 0.1em 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, main, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    font-style: normal;
}
a {
    color: var(--primary-color) !important;
    border: none !important;
    text-decoration: none !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
    color: var(--primary-hover) !important;
    text-decoration: none !important;
    opacity: 0.8;
}
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
a:focus,a:active{
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}
a.header_logo:focus,
a.header_logo:active,
.header_logo:focus,
.header_logo:active,
.header_logo img:focus,
.header_logo img:active,
a.header_logo_atsm:focus,
a.header_logo_atsm:active,
.header_logo_atsm:focus,
.header_logo_atsm:active {
    outline: none !important;
}
a.header_logo:focus-visible,
.header_logo_atsm:focus-visible,
a.header_logo_atsm:focus-visible {
    outline: 3px solid var(--accent-color) !important;
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}
a, a:visited{
    text-decoration: none;
}
.text_icon_education{
    color: #E2E8F0;
   transition: all 0.3s ease;
   font-weight: 500;
}
/* Современные вспомогательные классы */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-small {
    padding: 2rem 0;
}

.card {
    background: var(--background-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.card-body {
    padding: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-accent {
    background: var(--gradient-accent);
    color: white;
}

.badge-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}
nav,footer,header,aside{
    display: block;
}
input,button,textarea{
    font-family: inherit;
}

ul li {
    list-style-type: none;
}
img{
    vertical-align: top;
}
input{
    background-color: #ffffff;
}
input::-webkit-input-placeholder {
    vertical-align: middle;
}
input::-ms-clear{
    display: none;
}
input[type=file]::file-selector-button {
  cursor: pointer;
  width:120px;
    height: 30px;
    background-color:#F0F0F0;
    border:1px solid black;
    border-radius:4px;
    border: 1px solid #808080;
    box-shadow: 0px -1px 4px 3px #D9D9D966;
    cursor: pointer;
    font-size: 12px;
    color: black;
}
input[type=file]::file-selector-button:hover {
   background-color:#e8e8e8;
   border: 2px solid #C1C0C0;
}
.btn-primary, input[type="submit"] {
    min-width: 180px;
    height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    background: var(--gradient-accent);
    color: white !important;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* Мобильная адаптация для кнопок */
@media (max-width: 480px) {
    .btn-primary, input[type="submit"] {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
}

.btn-primary:hover, input[type="submit"]:hover {
    background: var(--accent-color);
    /* На мобильных — блок Вход/Регистрация первым в списке */
    .Header_nav .Header_navLinkList-main {
        display: flex;
        flex-direction: column;
    }
    .Header_nav .Header_navLinkList-main > .nav-login-item {
        order: -999;
        margin-left: 0;
    }
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
    border-color: var(--accent-color);
    color: white !important;
}

.btn-secondary {
    min-width: 180px;
    height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.btn-danger {
    min-width: 180px;
    height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--danger-color);
    border-radius: 8px;
    background: var(--danger-color);
    color: #7796C6 !important;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 2px 8px var(--shadow-light);
}
.btn-danger:hover {
    background: #D73F3F;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}
input[type="date"] {
    color: #757575;
    background: none !important;
}
input[type="date"]:placeholder {
    color: #757575;
}
input[type="reset"] {
    width: 170px;
    height: 45px;
    border-radius: 1.25em;
    border: 2px solid #E8E8E8;
    color: #A9A9A9;
    display: flex;
    justify-content: center;
    align-items: center;
}
input[type="reset"]:hover {
    border: 2px solid #C1C0C0;
}
input[type="button"] {
    width: 170px;
    height: 45px;
    border-radius: 1.25em;
    border: 2px solid #E8E8E8;
    color: #A9A9A9;
    display: flex;
    justify-content: center;
    align-items: center;
}
input[type="button"]:hover {
    border: 2px solid #C1C0C0;
}
input[type="text"] {
    border: 1px solid #D4D4D4;
}
input[type="checkbox"] {
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
}
input:checked {
    accent-color: var(--accent-color);
}
input[type="radio"] {
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
}
button{
    cursor: pointer;
}
button:hover {
    background-color: #e8e8e8;
}
button::-moz-focus-inner{
    padding: 0;
    border: 0;
}
::placeholder{
    font-size: .8rem;
}
textarea{
    padding:10px;
    overflow: hidden;
    outline: none; 
    overflow-y: hidden;
    border: 1px solid black;
}
textarea::placeholder {
   padding-top: 0.625em;
}
textarea:focus {
    outline: none;
    border: 1px solid black; 
}
select {
  color: #757575;
  font-size: 0.75rem !important;
}

.full_wrapper {
    display: grid;
    min-height: calc(100vh - 400px);
    grid-template-rows: minmax(140px, auto) minmax(auto, auto) 1fr minmax(260px, auto);
    grid-template-areas: 
        "header"
        "header_menu"
        "base_wrapper"
        "footer";
}
/*Шапка*/
.header{
    grid-area: header;
    display: grid;
    grid-template: 1fr / 250px 170px 1fr;
    align-items: center;
    min-width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2b3a67 0%, #1f2a52 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500; /* выше навигации, чтобы дропдаун аккаунта перекрывал меню */
    overflow: visible; /* не обрезаем выпадающий аккаунт */
}
.header_logo{
    display: flex;
    align-items: center;
    height: calc(var(--header-height) - 30px);
    max-height: calc(var(--header-height) - 30px);
    overflow: hidden;
    margin: 0;
}
.header_logo img{
    position: static;
    display: block;
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

/*меню с вкладками ниже лого*/
.Header_nav{
    grid-area: header_menu;
    display: grid;
    grid-template: 1fr / 1fr;
    align-items: center;
    min-width: 100%;
    background: linear-gradient(135deg, #2b3a67 0%, #1f2a52 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    z-index: 100;
}
.Header_navLinkList {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
    padding: 0;
}

.Header_navLinkList-main{
    display: flex;
    width: 100%;
}

/* Разделители между пунктами главного меню (только десктоп) */
@media (min-width: 769px) {
    .Header_navLinkList-main > .HeaderNavigationMenu_root + .HeaderNavigationMenu_root {
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }
    .Header_navLinkList-main > .HeaderNavigationMenu_root:not(:first-child) {
        padding-left: 0;
    }
}

.HeaderNavigationMenu_root {
    position: relative;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.HeaderNavigationMenu_trigger {
    margin-top: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    color: #E2E8F0;
    transition: color 0.2s ease, background 0.2s ease;
}
.HeaderNavigationMenu_trigger:hover{
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

/* Активный раздел меню (универсально) */
.HeaderNavigationMenu_root.is-active,
.HeaderNavigationMenu_trigger[aria-current="page"],
.HeaderNavigationMenu_trigger[aria-current="true"] {
    color: #FFFFFF;
}

.HeaderNavigationMenu_root.is-active .HeaderNavigationMenu_trigger,
.HeaderNavigationMenu_trigger[aria-current="page"],
.HeaderNavigationMenu_trigger[aria-current="true"] {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

/* Индикатор активного пункта (десктоп) */
@media (min-width: 769px) {
    .HeaderNavigationMenu_root.is-active .HeaderNavigationMenu_trigger {
        position: relative;
    }
    .HeaderNavigationMenu_root.is-active .HeaderNavigationMenu_trigger::before,
    .HeaderNavigationMenu_trigger[aria-current="page"]::before,
    .HeaderNavigationMenu_trigger[aria-current="true"]::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 16px;
        right: 16px;
        height: 2px;
        background: var(--accent-color);
        border-radius: 2px;
        opacity: 0.9;
    }
}

/* Базовые стили для подменю - только для десктопа */
@media (min-width: 769px) {
    .partner-dropdown-menu {
        position: absolute;
        display: none;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.25);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 250px;
        top: 100%;
        left: 0;
        z-index: 1000;
        overflow: hidden;
    }

    /* Выравнивание выпадающего меню Вход/Регистрация по правому краю (десктоп) */
    .Header_nav .Header_navLinkList-main > .nav-login-item .partner-dropdown-menu {
        left: auto;
        right: 0;
    }
    
    .HeaderNavigationMenu_menu__zI5Te {
        background: white;
        border: none;
        border-radius: 8px;
        box-shadow: none;
        visibility: visible;
        transition: all 0.3s ease;
        z-index: 120;
    }
    
    .NavigationMenuItem_item__Xc7Dz {
        padding: 12px 16px;
        background: white;
        display: block;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
    }
    
    .NavigationMenuItem_item__Xc7Dz:last-child {
        border-bottom: none;
    }
    
    .NavigationMenuItem_item__Xc7Dz:hover {
        background: rgba(43, 58, 103, 0.06);
    }
    
    .NavigationMenuItem_item__Xc7Dz a {
        color: var(--text-primary) !important;
        font-size: 14px;
        font-weight: 400;
        text-decoration: none;
        display: block;
        transition: color 0.2s ease;
    }
    
    .NavigationMenuItem_item__Xc7Dz:hover a {
        color: var(--primary-color) !important;
    }
}

/* Мобильные стили для подменю */
@media (max-width: 768px) {
    .partner-dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        width: 100%;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: slideInFromLeft 0.5s ease-out;
    }

    /* Выравнивание выпадающего меню Вход/Регистрация по правому краю (мобайл) */
    .Header_nav .Header_navLinkList-main > .nav-login-item {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .Header_nav .Header_navLinkList-main > .nav-login-item .partner-dropdown-menu {
        width: auto;
        align-self: flex-end;
    }
    .Header_nav .Header_navLinkList-main > .nav-login-item .HeaderNavigationMenu_menu__zI5Te {
        width: max-content;
        max-width: 100vw;
    }
}

/* Стили перенесены в медиа-запросы выше */

.NavigationMenuItem_item__Xc7Dz a {
    text-decoration: none;
    color: #808080 !important;
    display: block;
} 
/*Стили страницы редактора договора*/
/* Основные переменные для единообразного дизайна */
/* Раздел договора - современная карточка */
.contract-section { 
    background: #ffffff;
    border: 2px solid var(--border-color);
    margin: 24px 0;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contract-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-hover));
    opacity: 0;
    transition: var(--transition);
}

.contract-section:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contract-section:hover::before {
    opacity: 1;
}

/* Статус раздела с иконками */
.section-status { 
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

/* Текст раздела */
.section-text { 
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 15px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.section-text:hover {
    background: #f0f2f5;
}

/* Кнопки действий */
.edit-btn, .accept-btn {
    min-width: 180px;
    height: 44px;
    padding: 0 24px;
    margin: 12px 12px 12px 0;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.edit-btn:hover, .accept-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.edit-btn:active, .accept-btn:active {
    transform: translateY(0);
}

.accept-btn {
    background: var(--success-color);
    border-color: var(--success-color);
}

.accept-btn:hover {
    background: #4bc279;
    border-color: #4bc279;
}

/* Кнопка принятия всего договора */
#acceptAllBtn, #acceptAllBtn2 { 
    min-width: 280px;
    height: 52px;
    padding: 0 32px;
    margin: 32px auto 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#acceptAllBtn:hover, #acceptAllBtn2:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Модальное окно - overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-overlay[style*="display: block"] {
    display: flex !important;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Модальное окно - контейнер */
.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Модальное окно подтверждения */
.confirm-modal {
    padding: 40px 32px;
    text-align: center;
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-description {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Модальное окно редактирования */
.edit-modal {
    padding: 10px;
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header .modal-title {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f2f5;
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--error-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 28px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-textarea {
    width: 100%;
    min-height: 150px;
    max-height: 350px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    resize: vertical;
    transition: var(--transition);
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 162, 22, 0.1);
}

.form-hint {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

/* Модальные действия */
.modal-actions {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.btn-primary, .btn-confirm, .btn-cancel {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary, .btn-confirm {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-confirm:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cancel {
    background: white;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-cancel:hover {
    background: #f8f9fa;
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Совместимость со старыми классами */
#confirmModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    align-items: center;
    justify-content: center;
}

#confirmModal[style*="display: block"] {
    display: flex !important;
}

#confirmModal .modal-content {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

#confirmYes, #confirmNo {
    width: 100%;
    max-width: 200px;
    height: 44px;
    margin: 8px auto;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#confirmYes {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

#confirmYes:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

#confirmNo {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

#confirmNo:hover {
    background: #f8f9fa;
    border-color: var(--text-dark);
}

#editModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    align-items: center;
    justify-content: center;
}

#editModal[style*="display: block"] {
    display: flex !important;
}

#editText {
    width: 100%;
    min-height: 150px;
    max-height: 350px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    resize: vertical;
    transition: var(--transition);
    font-family: inherit;
}

#editText:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 162, 22, 0.1);
}

#saveEdit {
    width: 100%;
    max-width: 280px;
    height: 44px;
    margin: 16px auto 12px;
    padding: 0 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

#saveEdit:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#cancelEdit {
    width: 100%;
    max-width: 200px;
    height: 44px;
    margin: 0 auto;
    padding: 0 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-dark) !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

#cancelEdit:hover {
    background: #f8f9fa;
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .contract-section {
        padding: 20px 16px;
        margin: 16px 0;
    }
    
    .section-text {
        padding: 16px;
        font-size: 14px;
    }
    
    .edit-btn, .accept-btn {
        width: 100%;
        margin: 8px 0;
        min-width: unset;
    }
    
    #acceptAllBtn, #acceptAllBtn2 {
        width: 100%;
        min-width: unset;
        margin: 24px auto 16px;
    }
    
    .modal-box {
        width: 95%;
        margin: 16px;
    }
    
    .confirm-modal {
        padding: 32px 24px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary, .btn-confirm, .btn-cancel {
        width: 100%;
        min-width: unset;
    }
    
    #confirmYes, #confirmNo {
        max-width: 100%;
    }
    
    #saveEdit {
        max-width: 100%;
    }
    
    #cancelEdit {
        max-width: 100%;
    }
}

/* Улучшение доступности */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Темная тема (опционально) */
/* @media (prefers-color-scheme: dark) {
    .contract-section {
        background: #1e1e1e;
        border-color: #404040;
    }
    
    .section-text {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .modal-box {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .form-textarea {
        background: #2a2a2a;
        border-color: #404040;
        color: #e0e0e0;
    }
} */

/* Современные стили для новостной секции */
.news-section, .posts-section {
    padding: 4rem 0;
    background: var(--background-secondary);
    position: relative;
}

.news-container, .posts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-title, .posts-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.news-title::after, .posts-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.news-grid, .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card, .post-card {
    background: var(--background-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover, .post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.news-image, .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img, .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img,
.post-card:hover .post-image img {
    transform: scale(1.05);
}

.news-placeholder, .post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--gradient-primary);
    color: white;
}

.news-content, .post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-headline, .post-headline {
    margin-bottom: 1rem;
}

.news-headline a, .post-headline a {
    color: var(--text-primary) !important;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.news-headline a:hover, .post-headline a:hover {
    color: var(--primary-color) !important;
}

.news-excerpt, .post-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-meta, .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.news-date, .post-date {
    font-weight: 500;
}

.news-category, .post-category {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-action, .posts-action {
    text-align: center;
    margin-top: 2rem;
}

.news-button, .posts-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.news-button:hover, .posts-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
    color: white !important;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.news-button:hover .button-arrow,
.posts-button:hover .button-arrow {
    transform: translateX(4px);
}

/* Сообщение об ошибке */
.news-error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.news-error-message h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.news-error-message p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Современная Hero-секция */
.hero-section {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    min-height: calc(100vh - 140px);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transform: skewX(-15deg);
    transform-origin: top right;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    z-index: 2;
    position: relative;
    align-self: start; /* place hero-content at the top of hero-container */
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badge-text {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90% !important;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--background-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    height: auto;
    min-width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
    transform: translateX(4px);
}

.hero-trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.trust-icon {
    flex-shrink: 0;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Platform Intro Card - Новый раздел */
.platform-intro-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    max-width: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.platform-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.platform-intro-title {
     text-align: center;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 2rem !important;
    line-height: 1.3 !important;
}

.platform-intro-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-question,
.intro-answer,
.intro-solution {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
}

.intro-question {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid var(--accent-color);
}

.intro-answer {
    background: rgba(99, 102, 241, 0.06);
    border-left: 3px solid var(--primary-color);
}

.intro-solution {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    padding: 1.5rem;
}

.intro-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}



.solution-gradient {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.intro-icon,
.intro-icon-check,
.intro-icon-solution {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-icon svg,
.intro-icon-check svg {
    width: 24px;
    height: 24px;
}

.intro-icon-solution svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.3));
}

.intro-question p,
.intro-answer p,
.intro-solution p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.intro-answer p strong,
.intro-solution p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight-number {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05em;
}

.hero-card {
    background: var(--background-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-medium);
    border: 1px solid var(--border-color);
    max-width: 550px;
    width: 100%;
}

.card-header h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}



.step-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-text {
    font-weight: 500;
    color: var(--text-secondary);
}

.step-text a {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.step-text a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.step-arrow {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* How it works section */
.how-it-works-section {
    padding: 60px 0;
}
.how-it-works-section .hero-card {
    margin: 0 auto;
}

/* Intro + How: horizontal layout */
.intro-how-section {
    padding: 60px 0;
}
.intro-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.intro-col, .how-col {
    min-width: 0; /* allow content to shrink inside grid */
}

@media (max-width: 968px) {
    .intro-how-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .intro-how-section {
        padding: 40px 0;
        position: relative;
        background: white;
    }
}

/* Intro video embed (responsive 16:9) */
.intro-video {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-medium);
    margin: 0 0 24px;
}
.intro-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Адаптивность Hero-секции */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .platform-intro-card {
        max-width: 100%;
    }
    
    .platform-intro-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-steps {
        align-items: flex-start;
    }
    
    .step {
        text-align: left;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .platform-intro-card {
        padding: 1.75rem;
    }
    
    .platform-intro-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .intro-question,
    .intro-answer,
    .intro-solution {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .intro-icon svg,
    .intro-icon-check svg {
        width: 20px;
        height: 20px;
    }
    
    .intro-icon-solution svg {
        width: 24px;
        height: 24px;
    }
    
    .highlight-number {
        font-size: 1em;
        padding: 0.1rem 0.4rem;
    }
}

/* Секция преимуществ */
.benefits-section {
    padding: 3rem 0;
    background: var(--background-primary);
    position: relative;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Оптимизированные размеры для компактности - v2 */
.benefit-card {
    background: var(--background-primary);
    padding: 1.8rem 1.5rem !important;
    border-radius: 20px;
    box-shadow: 0 4px 24px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    transition: left 0.8s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    box-shadow: 0 8px 32px var(--shadow-medium);
    border-color: rgba(74, 144, 226, 0.3);
}

.benefit-card-featured {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.benefit-card-featured::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.benefit-card-featured .benefit-title,
.benefit-card-featured .benefit-description {
    color: white;
}

.benefit-badge {
    position: absolute;
    top: -12px;
    right: 20px;
}

.benefit-icon {
    width: 64px !important;
    height: 64px !important;
    background: var(--background-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem !important;
    transition: all 0.3s ease;
}

.benefit-card-featured .benefit-icon {
    background: rgba(255, 255, 255, 0.2);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.05);
}

.benefit-title {
    margin-bottom: 0.75rem !important;
    font-size: 1.375rem;
}

.benefit-description {
    line-height: 1.7;
    margin-bottom: 1rem !important;
}

.benefit-highlight {
    margin-top: 1rem;
}

.benefit-extra-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    flex: 1;
}

.benefit-extra-icon .support-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.1), rgba(255, 162, 22, 0.1));
    border: 1px solid rgba(119, 150, 198, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-extra-icon .support-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.benefit-extra-icon .support-icon:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.benefit-extra-icon .support-icon:hover {
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.2), rgba(255, 162, 22, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(119, 150, 198, 0.3);
    transform: scale(1.05);
}

.demo-link {
    color: var(--accent-color) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.demo-link:hover {
    color: var(--primary-color) !important;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section {
    text-align: center;
    background: var(--background-secondary);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cta-section h3 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Адаптивность секции преимуществ */
@media (max-width: 768px) {
    .benefits-section {
        padding: 4rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1.25rem;
    }
    
    .section-subtitle {
        margin-bottom: 3rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .security-features {
        align-items: center;
    }
}

/* Адаптивность новостей */
@media (max-width: 768px) {
    .news-container, .posts-container {
        padding: 0 1rem;
    }
    
    .news-grid, .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-section, .posts-section {
        padding: 3rem 0;
    }
    
    .news-image, .post-image {
        height: 180px;
    }
    
    .news-meta, .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        margin-top: auto;
    }
}
#editModal{
    display:none; 
    position:fixed; 
    top:0; 
    left: 10px;
    width: 95vw;
    height:100vh; 
    background:rgba(0,0,0,0.3); 
    z-index:9999;
}
#editText{
    width: 100%;
    min-height: 50px;
    max-height: 250px;
    overflow-y: auto;
    resize: none; /* отключаем стандартное изменение размера */
    box-sizing: border-box;
    border: 3px dashed #FAA216;
    border-radius: 6px;
}
  /* Адаптивные стили */
  @media (max-width: 768px) {
    .Header_nav {
        padding: 15px 0;
        height: auto;
        background: none;
        z-index: 1100;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        border-top: none !important;
        box-sizing: border-box !important;
    }

    .Header_navLinkList {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
        backdrop-filter: blur(10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        padding: 80px 20px 20px;
        z-index: 1000;
        overflow-y: auto;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    .Header_navLinkList.is-mobile-open {
        display: block;
        width: 85%;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .Header_navLinkList.show-submenu .HeaderNavigationMenu_trigger {
        display: none;
    }

    .Header_navLinkList.show-submenu .partner-dropdown-menu {
        display: block;
    }

    /*Кнопка бургер*/
    .mobile-menu-toggle {
        display: flex;
        background: linear-gradient(135deg, var(--primary-color), #5A7BC1);
        border: none;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 52px;
        width: 52px !important;
        position: fixed;
        right: 15px;
        top: 20px;
        z-index: 1500;
        border-radius: 16px;
        box-shadow: 
            0 8px 25px rgba(119, 151, 198, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: scale(1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: 
            0 12px 35px rgba(119, 151, 198, 0.5),
            0 8px 20px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        background: linear-gradient(135deg, #5A7BC1, var(--primary-color));
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(1.02) translateY(0px);
        box-shadow: 
            0 6px 20px rgba(119, 151, 198, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .burger-line {
        display: block;
        height: 3px;
        width: 26px;
        margin: 2.5px 0;
        background-color: white;
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu-toggle.active .burger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* Кнопка крестик */
    .mobile-close_menu-toggle {
        display: none;
        background: linear-gradient(135deg, var(--danger-color), #dc2626);
        border: none;
        cursor: pointer;
        height: 48px;
        width: 48px !important;
        position: absolute;
        right: 15px;
        top: 12px;
        z-index: 130;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(231, 86, 86, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        justify-content: center;
        align-items: center;
    }
    
    .mobile-close_menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(231, 86, 86, 0.4);
        background: linear-gradient(135deg, #dc2626, var(--danger-color));
    }
    
    .mobile-close_menu-toggle:active {
        transform: scale(0.95);
    }

    .close-line1 {
        position: absolute;
        transform: rotate(45deg);
        height: 3px;
        width: 24px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
        
    .close-line2 {
        position: absolute;
        transform: rotate(-45deg);
        height: 3px;
        width: 24px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Кнопка стрелки возврата в меню-бургер*/
    .mobile-return_menu-toggle {
        display: none;
        background: linear-gradient(135deg, var(--accent-color), #ff8c00);
        border: none;
        cursor: pointer;
        height: 48px;
        width: 48px !important;
        position: absolute;
        left: 15px;
        top: 12px;
        z-index: 130;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(255, 162, 34, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        justify-content: center;
        align-items: center;
    }
    
    .mobile-return_menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 162, 34, 0.4);
        background: linear-gradient(135deg, #ff8c00, var(--accent-color));
    }
    
    .mobile-return_menu-toggle:active {
        transform: scale(0.95);
    }
    
    /* Стрелка влево из CSS */
    .mobile-return_menu-toggle::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 12px solid white;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-return_menu-toggle:hover::before {
        transform: translateX(-2px);
    }
    
    /* Убираем старые стили линий */
    .return-line1,
    .return-line2 {
        display: none;
    }

    .HeaderNavigationMenu_root {
        width: 100%;
        text-align: left;
        padding: 0;
        margin: 8px 0;
        border-radius: 12px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .HeaderNavigationMenu_root:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .HeaderNavigationMenu_trigger {
        width: 100%;
        padding: 18px 20px;
        color: white;
        text-align: left;
        font-size: 18px;
        font-weight: 500;
        border: none;
        background: transparent;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .HeaderNavigationMenu_trigger::after {
        content: '→';
        font-size: 16px;
        opacity: 0.7;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .HeaderNavigationMenu_trigger:hover::after {
        transform: translateX(4px);
        opacity: 1;
    }

    .HeaderNavigationMenu_menu__zI5Te {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        position: relative;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }

    .NavigationMenuItem_item__Xc7Dz {
        width: 100%;
        padding: 0;
        margin: 6px 0;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .NavigationMenuItem_item__Xc7Dz a {
        display: block;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 16px;
        font-weight: 400;
        padding: 16px 20px;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    
    .NavigationMenuItem_item__Xc7Dz a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--accent-color);
        transform: scaleY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: bottom;
    }

    .NavigationMenuItem_item__Xc7Dz:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .NavigationMenuItem_item__Xc7Dz:hover a {
        color: white !important;
    }
    
    .NavigationMenuItem_item__Xc7Dz:hover a::before {
        transform: scaleY(1);
        transform-origin: top;
    }

    /* Overlay для затемнения фона */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Улучшаем скроллбар в мобильном меню */
    .Header_navLinkList::-webkit-scrollbar {
        width: 6px;
    }
    
    .Header_navLinkList::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .Header_navLinkList::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 3px;
    }
    
    .Header_navLinkList::-webkit-scrollbar-thumb:hover {
        background: #ff8c00;
    }
    .Header_navLinkList-main{
        display: block;
    }

    .mobile-close_menu-toggle,
    .mobile-return_menu-toggle {
        display: block;
    }
    
    /* Добавляем состояние фокуса для доступности */
    .mobile-menu-toggle:focus,
    .mobile-close_menu-toggle:focus,
    .mobile-return_menu-toggle:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    /* Улучшенная анимация для плавности на слабых устройствах */
    @media (prefers-reduced-motion: reduce) {
        .mobile-menu-toggle,
        .mobile-close_menu-toggle,
        .mobile-return_menu-toggle,
        .Header_navLinkList,
        .HeaderNavigationMenu_root,
        .NavigationMenuItem_item__Xc7Dz,
        .burger-line,
        .close-line1,
        .close-line2,
        .return-line1,
        .return-line2 {
            transition: none !important;
            animation: none !important;
        }
    }
    
    /* Оптимизация для touch устройств */
    @media (hover: none) and (pointer: coarse) {
        .mobile-menu-toggle,
        .mobile-close_menu-toggle,
        .mobile-return_menu-toggle {
            min-height: 48px;
            min-width: 48px;
        }
        
        .HeaderNavigationMenu_trigger {
            min-height: 48px;
            padding: 20px;
        }
        
        .NavigationMenuItem_item__Xc7Dz a {
            padding: 18px 20px;
            min-height: 48px;
            display: flex;
            align-items: center;
        }
    }

    /* Стили для partner-dropdown-menu перенесены в основной блок мобильных стилей */
    
    /* Анимации для плавного появления */
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-30px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    /* Анимация для элементов меню */
    .HeaderNavigationMenu_root {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
    }
    
    .HeaderNavigationMenu_root:nth-child(1) { animation-delay: 0.1s; }
    .HeaderNavigationMenu_root:nth-child(2) { animation-delay: 0.2s; }
    .HeaderNavigationMenu_root:nth-child(3) { animation-delay: 0.3s; }
    .HeaderNavigationMenu_root:nth-child(4) { animation-delay: 0.4s; }
    .HeaderNavigationMenu_root:nth-child(5) { animation-delay: 0.5s; }
    .HeaderNavigationMenu_root:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        0% {
            transform: translateY(20px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Анимация для подменю */
    .NavigationMenuItem_item__Xc7Dz {
        animation: fadeInLeft 0.4s ease-out forwards;
        opacity: 0;
    }
    
    .NavigationMenuItem_item__Xc7Dz:nth-child(1) { animation-delay: 0.1s; }
    .NavigationMenuItem_item__Xc7Dz:nth-child(2) { animation-delay: 0.2s; }
    .NavigationMenuItem_item__Xc7Dz:nth-child(3) { animation-delay: 0.3s; }
    .NavigationMenuItem_item__Xc7Dz:nth-child(4) { animation-delay: 0.4s; }
    .NavigationMenuItem_item__Xc7Dz:nth-child(5) { animation-delay: 0.5s; }
    .NavigationMenuItem_item__Xc7Dz:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInLeft {
        0% {
            transform: translateX(-20px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
  }
    /* Показываем контейнер выпадашки вместе с внутренним меню */
    .HeaderNavigationMenu_root.xui-nav-item:hover .partner-dropdown-menu,
    .HeaderNavigationMenu_root.xui-nav-item:focus-within .partner-dropdown-menu,
    .HeaderNavigationMenu_trigger[aria-expanded="true"] ~ .partner-dropdown-menu {
        display: block !important;
        visibility: visible !important;
    }
    .HeaderNavigationMenu_trigger[aria-expanded="true"] ~ .partner-dropdown-menu .HeaderNavigationMenu_menu__zI5Te,
    .HeaderNavigationMenu_root.xui-nav-item:hover .HeaderNavigationMenu_menu__zI5Te,
    .HeaderNavigationMenu_root.xui-nav-item:focus-within .HeaderNavigationMenu_menu__zI5Te {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }

/* Логотип Арбитражного суда */
.header_logo_atsm {
    display: block; /* Делает ссылку блочной */
    width: 180px; /* Ширина логотипа */
    height: 65px; /* Высота логотипа под соотношение 2:1 */
    background-image: url('../images/logo_atsm600x300_bord.png'); /* Фоновое изображение */
    background-size: contain; /* Сохраняем пропорции без обрезания */
    background-repeat: no-repeat; /* Отключает повтор изображения */
    background-position: right center; /* Выравнивание справа по центру */
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0; /* Убираем возможный внутренний зазор */
    box-sizing: border-box !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.header_menu{
    color: #000;
}

.header_list{
    display: grid;
    grid-auto-flow: column;
    justify-items: end;
    align-items: center;
    margin-bottom: 0;
    color: #E2E8F0; /* Цвет текста элементов списка в хедере */
}
.header_list a,
.header_list button,
.header_list .HeaderNavigationMenu_trigger {
    color: #f8fafc !important;/* Переопределяем цвет ссылок и кнопок в хедере */
}
/* Не перекрашивать пункты выпадающих меню внутри шапки */
.header_list .xui-menu .xui-menu-item a,
.header_list .acnt_list_sub-menu .xui-menu-item a,
.header_list .xui-dropdown-menu .xui-menu-item a,
/* Пункты без класса .xui-menu-item (например, "Выйти") */
.header_list .acnt_list_sub-menu a,
.header_list .acnt_list_sub-menu_li a {
    color: #0f172a !important;
}
/* Стабильный hover-цвет для ссылок в выпадающих меню хедера */
.header_list .acnt_list_sub-menu a:hover,
.header_list .acnt_list_sub-menu_li a:hover,
.header_list .xui-menu .xui-menu-item a:hover,
.header_list .xui-dropdown-menu .xui-menu-item a:hover {
    color: #0f172a !important;
}
.icon_education{
    fill: #E2E8F0;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon_education:hover {
    transform: scale(1.1);
}

.icon_education svg {
    transition: all 0.3s ease;
}

/* Принудительно перекрашиваем inline SVG в хедере */
.header_list { color: #E2E8F0; }
.header_list svg:not(.no-recolor) { fill: #E2E8F0 !important; stroke: #E2E8F0 !important; }
.header_list svg:not(.no-recolor) path,
.header_list svg:not(.no-recolor) rect,
.header_list svg:not(.no-recolor) circle,
.header_list svg:not(.no-recolor) polygon,
.header_list svg:not(.no-recolor) use { fill: #E2E8F0 !important; stroke: #E2E8F0 !important; }


.icon_education:hover svg {
    transform: scale(1.15);
}

.icon_education:hover .text_icon_education {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.icon_education_page{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 16px 7px rgba(0, 0, 0, 0.1);
}
.icon_education_page:hover{
        box-shadow: 0 2px 8px 15px rgba(0, 0, 0, 0.1);
}
.hello_date{
	padding-top: 1.563em;
    margin-right: 55px;
    color: #363738 !important;
}
.block_notice_header{
    display:flex;
    height: 80px;
}
.notification_num{
    position: relative;
    fill: #808080;
    width: 80px;
    height: 45px;
}
/* Фокус-стили для ссылок уведомлений */
.work_notification a:focus-visible,
.task_notification a:focus-visible,
.message_notification a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}
/* Стили для позиционирования номера уведомлений в правом верхнем углу SVG */
.work_notification .notification_num .num,
.message_notification .notification_num .num,
.task_notification .notification_num .num {
    position: absolute;
    top: -5px;
    right: 15px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    box-sizing: border-box;
    z-index: 10;
    animation: notification-pulse 2s infinite;
}

/* Анимация пульсации для номеров уведомлений */
@keyframes notification-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}
.block_choose {
    position: relative;
    height: 50px;
    margin: 0 20px 0 0;
}
.enter_exec {
    background-color: transparent;
    position: relative;
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
}
.svg_enter_exec{
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}

.enter_menu_triger{
    background: none;
    color: #f8fafc;
}
.enter_menu_triger:hover{
    background: none;
}
.enter_suggest{
    position: absolute;
    top: 30px;
    right: 0;
    display: none;
    background: var(--xui-surface);
    border: 1px solid var(--xui-border);
    border-radius: var(--xui-radius);
    box-shadow: var(--xui-shadow);
    transition: opacity 0.18s ease, transform 0.18s ease;
    min-width: 280px;
    padding: 10px;
    z-index: 9999;
}
.demo_enter_suggest{
    position: absolute;
    top: 85px;
    right: 0;
    display: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    min-width: 300px;
    padding: 10px;
}
.enter_suggest.is-open,
.demo_enter_suggest.is-open {
    display: block;
}
.enter_suggest_item{
        border-bottom: 1px solid var(--xui-border);
        padding: 8px 10px;
}
.enter_suggest_item:hover {
        background: rgba(119, 150, 198, 0.12) !important;
}

/* Desktop modern UX for block_choose dropdown */
@media (min-width: 769px) {
    .block_choose { position: relative; }
    .block_choose .xui-login-trigger {
        appearance: none;
        background: transparent;
        border: 0;
        padding: 0 12px;
        font-weight: 600;
        color: #f8fafc !important;
        cursor: pointer;
        border-radius: 8px;
    }
    .block_choose .xui-login-trigger:hover,
    .block_choose .xui-login-trigger:focus-visible {
        color: #ffffff !important;
        background: rgba(255,255,255,0.08);
        outline: none;
    }
    .block_choose .svg_enter_exec svg {
        transition: transform 0.18s ease;
    }
    .block_choose .xui-login-trigger[aria-expanded="true"] ~ .svg_enter_exec svg {
        transform: rotate(180deg);
    }
    .block_choose .enter_suggest.xui-dropdown-menu {
        transform: translateY(6px) scale(0.98);
        opacity: 0;
        pointer-events: none;
    }
    .block_choose:hover .enter_suggest.xui-dropdown-menu,
    .block_choose:focus-within .enter_suggest.xui-dropdown-menu,
    .enter_suggest.xui-dropdown-menu.is-open {
        display: block;
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }
    .enter_suggest_item a {
        display: flex;
        align-items: center;
        color: #0f172a !important;
        text-decoration: none !important;
        font-weight: 500;
    }
}
.bread_crumbs_lk_cred {
    height: 2.5em;
    width: 100%;
    padding-left: 55px;
    margin: 10px 0 40px 0;
}
.bread_crumbs_lk_exec {
    height: 2.5em;
    width: 100%;
    padding-left: 55px;
    margin: 10px 0 40px 0;
}
.account_list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 3.125em;
    padding-right: 10px;
}
.acnt_list_sub-menu {
    width: 200px; 
    background-color: #FFFFFF;
    cursor: pointer;
    position: fixed;
    top:90px;
    padding-left: 0;
    text-align: right;
    border-radius: 6px;
} 
.acnt_list_sub-menu_li {
    padding: 10px 10px 0 10px;
    border-bottom: 1px solid #99999977;
    display:none;
}
.acnt_list_sub-menu_li:hover {
    background: rgb(237, 237, 237);
}
.acount_name{
    font-size: 0.875rem;
    line-height: 1.5;
}
/* Современное поведение для меню аккаунта */
.account_toggle {
    background: transparent;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}
.account_toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
.account_list.is-open .acnt_list_sub-menu_li {
    display: block;
}

/* Skip link для доступности */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: calc(var(--header-height) + 12px);
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: var(--background-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}
/*Контент*/
.base_wrapper{
    min-height: calc(100vh - 400px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding-bottom: 30px;
}

.wrapper_top {
    grid-area: wrapper_top;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 220px;
    left: 0;
    z-index: 1;
}
@media screen and (min-width: 320px) and (max-width: 395px) {
    .wrapper_top {
        position: inherit;
        margin: 0 0 30px 0;
    }
}

@media screen and (min-width: 395px) and (max-width: 700px) {
    .wrapper_top {
        position: inherit;
        margin: 100px 0 100px 0;
    }
}

.text_wrapper_top{
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 50px auto;
    text-align: center;
    box-sizing: border-box;
}
.count_total_cases{
    width: 95%;
    box-shadow: 0px 9px 13px 9px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding-left: 10px;
    border-radius: 8px;
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: 2rem !important;
    line-height: 50px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}
.title_recommend{
    padding-left: 0;
}
.recommend{
    display: grid;
    grid-template-rows: auto auto;
    grid-auto-columns: minmax(150px, auto);
    grid-auto-flow: column dense;
    column-gap: 40px;
    margin: 0 auto;
}
.block_recommend{
    display: flex;
}
/* КНОПКИ переключалки НА ГЛАВНОЙ СТРАНИЦЕ */
.grid_switch{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 90px;
    width: 80%;
    max-width: 80%;
    margin: 0 auto;
}
.wrap_switch_left_exec{
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #F4F4F4;
    align-items: center;
    border-radius: 15px;
}
.grid_switch_left_exec{
    position: absolute;
    top: 5px;
    left: 10px;
    color: #fff !important;
    background-color: #7797C6;
    width: 95%;
    height: 85%;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.375rem !important;
    box-shadow: -5px 0px 17px 1px rgba(0, 0, 0, 0.25);
}
.grid_switch_left_exec:hover{
    box-shadow: -1px -1px 10px 9px rgba(0, 0, 0, 0.25);
}
.mobile-br {
  display: none; /* Скрываем на десктопе */
}

@media (max-width: 768px) {
  .mobile-br {
    display: inline; /* Показываем <br> только на мобильных */
  }
}
/*Блок для кого*/
.block_hu_img{
    display: grid;
    grid-template: minmax(290px,auto) / 1fr 0.7fr;
    width: 90%;
    max-width: 90%;
    padding: 30px;
    align-items: start;
    background: #FFFFFF;
    box-shadow: 0px 0px 7px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    box-sizing: border-box;
    margin-top: 50px;
}
.name_perfect{
    display: flex;
    height: 60px;
    align-items: center;
    margin-top: 20px;
}
.circle_icon{
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}
.svg-icon {
    fill: #363738;
    width: 40px;
    height: 40px;
}
.img_btn_cred {
    position: relative;
    width: 90%;
    height: 100%;
    border-radius: 16px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* чтобы изображения не выходили за границы */
}
.img_btn_cred::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/creditor2.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    z-index: 1;
}
.img_btn_cred::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/creditor.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    opacity: 0;
    z-index: 2;
}
.img_btn_cred:hover::after {
    opacity: 1;
}
.img_btn_exec {
    position: relative;
    width: 90%;
    height: 100%;
    border-radius: 16px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* чтобы изображения не выходили за границы */
}
.img_btn_exec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/executor.jpg") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    z-index: 1;
}
.img_btn_exec::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/executor2.jpg") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    opacity: 0;
    z-index: 2;
}
.img_btn_exec:hover::after {
    opacity: 1;
}
/*блок про регистрацию*/
.block_title_fast_reg{
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    justify-items: stretch;
}
.block_fast_reg{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    align-items: start;
    background: #FFFFFF;
    box-shadow: 0px 0px 7px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    box-sizing: border-box;
}
.block_btn_go_reg{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.btn_go_reg{
    width: 280px;
    height: 80px;
    border-radius: 1.25em;
    border: 1px solid #D4D4D4;
    color: #363738;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    transition: all 0.35s;
    box-sizing: border-box;
}
.btn_go_reg:hover {
    border: 2px solid #5e5e5e;
    box-shadow: 0 0 0.5em 0em #5e5e5e;
    transform: translateY(-0.25em);
}
.btn_go_reg2{
    width: 280px;
    height: 80px;
    border-radius: 1.25em;
    border: 1px solid #D4D4D4;
    color: #363738;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    transition: all 0.35s;
    box-sizing: border-box;
}
.btn_go_reg2:hover {
    border: 2px solid #5e5e5e;
    box-shadow: 0 0 0.5em 0em #5e5e5e;
    transform: translateY(-0.25em);
}
.block_anime{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}
/*Блок с модулями*/
/*Модуль поиска*/
.grd_search{
    display: grid;
    grid-template: 1fr / 1fr 0.3fr; 
    column-gap: 20px;
    margin-top: 50px;
}
.block_about_search{
    display: grid;
    grid-template: 600px / 0.7fr 1fr;
    column-gap: 10px;
    padding: 30px;
    background: #FFFFFF;
    box-shadow: 0px 0 7px 3px #7797C6;
}
.list-group {
    overflow-y: scroll;
    overflow-x: auto;
    -ms-overflow-style: auto !important;
    scrollbar-width: none !important;
    height: 34.375em;
    animation-name: move;
    animation-duration: 5s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-timing-function: linear;
    scroll-behavior: smooth;
    width:100%;
    border-radius: 1em !important;
}
/*@-webkit-keyframes move*/
@keyframes move {
  0% {
    margin-top: -1px;
  }
  100% {
    margin-top: -10px;
  }
}
.list-group:hover {
  /* -webkit-animation-play-state: paused; */
  animation-play-state: paused;
}
.list-group::-webkit-scrollbar {
    width: 0;
    height: 0;
}
/*блок с сертификатами в базе исполнителей*/
.upline_card_list_exec{
    display: grid;
    grid-auto-flow: column;
    height: 82px;
    width: 100%;
    max-width: 100%;
    padding: 10px 10px 0 10px;
    justify-items: start;
    box-sizing: border-box;
}
.circle{
    width: 3.75em;
    height: 3.75em;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), radial-gradient(50% 50% at 50% 50%, #FFB13C 0%, rgba(237, 122, 17, 0.9) 100%);
    border-radius: 1.875em;
    display: flex; /* Используем flex для выравнивания содержимого внутри ячейки */
    align-items: center; /* Вертикальное выравнивание */
    justify-content: center;
    box-sizing: border-box;
}
.rating_counter{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}
.item_sert{
    height: 60px;
    width: 90px;
    box-sizing: border-box;
}
.item_conf{
    height: 60px;
    width: 90px;
    box-sizing: border-box;
}
/*блок учебного центра*/
.block_educ_about{
    display: grid;
    grid-template: repeat(5, auto) / 1fr;
    padding: 30px;
    align-items: stretch;
    box-shadow: 0px 0 7px 3px #7797C6;
    position: relative;
    align-content: space-between;
}
.style_circle_icon{
    width: 30px;
    height: 30px;
}
.image_education {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 16px;
    box-sizing: border-box;
    overflow: hidden; /* чтобы изображения не выходили за границы */
    margin: auto;
}
.image_education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/image_education2.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    z-index: 1;
}
.image_education::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/image_education.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Переход для плавного изменения непрозрачности */
    opacity: 0;
    z-index: 2;
}
.image_education:hover::after {
    opacity: 1;
}
.block_text_btn_go_educ{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block_btn_go_educ{
    display: flex;
    vertical-align: middle;
    box-sizing: border-box;
}
.icon_go{
    width:30px;
    height:30px;
    box-sizing: border-box;
}
/*Модуль про договор*/
.grd_contract_panel{
    display: grid;
    grid-template: 1fr / 0.3fr 1fr; 
    column-gap: 20px;
    margin-top: 20px;
}
.block_about_contract{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 0.1fr;
    padding: 30px;
    box-shadow: 0px 0 7px 3px #7797C6;
    justify-items: stretch;
    align-items: stretch;
}
/*Модуль Контролная панель*/

.block_control_panel{
    display: grid;
    grid-template: 1fr 0.7fr / 1fr;
    padding: 30px;
    align-items: start;
    box-shadow: 0px 0 7px 3px #7797C6;
    box-sizing: border-box;
}
.wrap_sun_mac{
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}
.svg_mac{
    width: 100%;
    max-width: 400px;
    height: auto;
    position: absolute;
    left: 0;
    top: -25px;
    object-fit: contain;
    z-index: 10;
}
.sun{
    width: 240px;
    max-width: 240px;
    height: 240px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 162, 22, 0.9) 0%, rgba(255, 192, 31, 0.9) 100%);
    border-radius: 50%;
    filter: blur(15px);
    position: absolute;
    left: 260px;
    top: -120px;
    
}
/*Блок про корпоративныйх клиентов*/
.corporat_block{
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    grid-template-rows: auto;
    width: 85%;
    max-width: 100%;
    padding: 30px;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0px 0px 7px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    margin: 50px 0 100px 0;
}
.img_corporat {
    position: relative;
    width: 310px;
    height: 260px;
    border-radius: 16px;
    background-size: cover;
    overflow: hidden; /* предотвращает выход изображения за пределы контейнера */
}

.img_corporat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/corporat_img.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Плавный переход для смены прозрачности */
    z-index: 1;
}

.img_corporat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/corporat_img2.png") no-repeat center center;
    background-size: cover;
    transition: opacity 2s ease; /* Плавный переход для смены прозрачности */
    opacity: 0;
    z-index: 2;
}

.img_corporat:hover::after {
    opacity: 1;
}

/* Секция безопасности */
.security-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.security-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.security-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    color: white;
}

.security-feature p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-medium);
}

.security-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.security-link:hover {
    color: var(--accent-color);
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

#fin_scheme {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 20px;
    border: 2px dashed var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

#fin_scheme::before {
    content: "Схема взаиморасчетов";
}

/* Секция тарифов */
.pricing-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: visible !important;
    transform: none !important;
    position: static !important;
}

.pricing-section .container {
    overflow: visible !important;
    transform: none !important;
    position: static !important;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    overflow: visible !important;
    position: static;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(119, 150, 198, 0.1);
    position: relative;
    overflow: visible !important;
    contain: none;
}

.pricing-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card-executor {
    border: 2px solid var(--accent-color);
}

.pricing-card-executor:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 0 20px 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card-free .pricing-header {
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.1), rgba(119, 150, 198, 0.05));
}

.pricing-card-executor .pricing-header {
    background: linear-gradient(135deg, var(--accent-color), #ff8c42);
    color: white;
}

.pricing-card-platform .pricing-header {
    background: linear-gradient(135deg, rgba(231, 86, 86, 0.1), rgba(231, 86, 86, 0.05));
}

.pricing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.pricing-card-free .pricing-icon {
    color: var(--primary-color);
    background: rgba(119, 150, 198, 0.1);
}

.pricing-card-executor .pricing-icon {
    color: white;
}

.pricing-card-platform .pricing-icon {
    color: var(--danger-color);
    background: rgba(231, 86, 86, 0.1);
}

.pricing-header h3 {
    margin-bottom: 1rem !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-body {
    padding: 2rem;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-stages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 162, 22, 0.2);
}

.stage-number {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stage-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stage-content strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.stage-content span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-link {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.pricing-link:hover {
    color: var(--primary-color);
}

.pricing-guarantee {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(119, 150, 198, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(119, 150, 198, 0.1);
}

.guarantee-icon {
    flex-shrink: 0;
}

.guarantee-text strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.guarantee-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card-executor {
        transform: none;
    }
    
    .pricing-card-executor:hover {
        transform: translateY(-8px);
    }
    
    .pricing-header {
        padding: 1.5rem;
    }
    
    .pricing-body {
        padding: 1.5rem;
    }
}

.pricing-details {
    line-height: 1.6;
}

.pricing-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.pricing-link:hover {
    color: var(--accent-color);
}
.pricing-highlight {
    background: linear-gradient(135deg, rgba(231, 86, 86, 0.1), rgba(255, 162, 22, 0.1));
}

.pricing-highlight .pricing-cell {
    border-bottom: none;
}

/* Финальная секция призыва к действию */
.final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 0.8; }
}

.final-cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.final-cta-header {
    margin-bottom: 3rem;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-cta-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.final-cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-benefit {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.cta-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.cta-benefit:hover::before {
    left: 100%;
}

.cta-benefit:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.benefit-text {
    text-align: center;
    color: white;
}

.benefit-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.final-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.btn-text {
    display: flex;
    align-items: center;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-cta:hover .btn-arrow {
    transform: translateX(4px);
}

.cta-guarantee {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 0;
    }
    
    .final-cta-header h2 {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .final-cta-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-cta {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .cta-icon {
        width: 64px;
        height: 64px;
    }
}

/* Мобильная демонстрация */
.mobile-demo-section {
    padding: 40px 0;
    background: white;
    color: white;
}

.mobile-demo-content {
    text-align: center;
}

.mobile-demo-content .section-title {
    color: white;
    margin-bottom: 3rem;
}

.mobile-demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}

.mobile-device, .desktop-device {
    max-height: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.mobile-device:hover, .desktop-device:hover {
    transform: scale(1.05);
}

.mobile-demo-text {
    max-width: 800px;
    margin: 0 auto;
}

.mobile-demo-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-content,
    .final-cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-service {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .mobile-demo-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .final-cta-action .btn-large {
        min-width: auto;
        width: 100%;
    }
    
    /* Уменьшение отступов на мобильных */
    .benefits-section,
    .partners-section,
    .quick-registration-section,
    .support-section,
    .services-section,
    .trust-section,
    .education-section,
    .security-section,
    .pricing-section,
    .mobile-demo-section,
    .final-cta-section {
        padding: 30px 0 !important;
        position: relative !important;
        background: white;
    }
    
    .service-card,
    .registration-cta {
        padding: 1.5rem !important;
    }
    
    .text_phone_mac,
    .upper_text_phone_mac {
        padding: 20px !important;
    }
}

/*Блок про мобильную версию*/
.block_phone_mac{
    grid-area: block_phone_mac;
    display: grid;
    grid-template: minmax(50px,auto) auto minmax(200px,auto) / 1fr;
    max-width: 100%;
    height: auto;
    background-color: #7797C6;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}
.text_phone_mac{
    padding: 30px;
}
.wrap_phone_mac{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.png_phone{
    object-fit: contain;
    max-width: 200px;
}
.png_mac{
    object-fit: contain;
    max-width: 630px;
}
.upper_text_phone_mac{
    padding: 30px;
}
/*блок про спецсчет*/
.main2 {
    grid-area: main2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 100px;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 2;
    padding: 30px 20px 0 20px;
}
.block_fin_scheme_text{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    max-width: 80%;
    padding: 30px;
    background: #FFFFFF;
    box-shadow: 0px 0px 7px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    justify-items: stretch;
    margin-top: 50px
}
.wrap_fin_scheme{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#fin_scheme{
    width: 100%;
    height: 70%;
    background-size: contain !important;
    background: url(../images/fin_scheme540x210.png) no-repeat center center;
    opacity: 0.8;
}
/*Блок про тарифы*/
.block_text_rate{
    color: #808080;
}
.text_rate{
    display: grid;
    grid-template: repeat(3,auto) / 0.35fr 1fr;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    margin-top: 50px;
}
.rate_row1_col1{
    border-bottom: 1px solid #E8E8E8;
    border-right: 1px solid #E8E8E8;
    padding: 20px;
}
.rate_row2_col1{
    border-bottom: 1px solid #E8E8E8;
    border-right: 1px solid #E8E8E8;
    padding: 20px;
}
.rate_row3_col1{
    border-right: 1px solid #E8E8E8;
    padding: 20px;
}
.rate_row1_col2{
    border-bottom: 1px solid #E8E8E8;
    padding: 20px;
}
.rate_row2_col2{
    border-bottom: 1px solid #E8E8E8;
    padding: 20px;
}
.rate_row3_col2{
    padding: 20px;
}
/*Блок запрос регистрации*/
.block_request{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    background-color: #7797C6;
    color: #FFFFFF;
    padding: 30px;
}
/* Блок акции */
.referal_wrap{
    padding: 50px;
}
.bordered-table {
    border-collapse: collapse;
    width: 100%;
}
.bordered-table th, 
.bordered-table td {
    border: 1px solid #bababa;
    padding: 8px;
    width: 10%;
}
.promo_notice{
    background-color: #E75656;
    color: white;
    width: 50%;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
}
.promo_sign{
    width: 60px;
    margin: 0 auto 20px auto;
}
.block_greed_promo{
    padding: 0 50px;
}
.grid-container {
        display: grid;
        grid-template-columns: repeat(4, auto);
        border: 1px solid #000;
        border-collapse: collapse;
    }
    
    .grid-header {
        padding: 10px;
        background: #f0f0f0;
        font-weight: bold;
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
        text-align: center;
    }
    
    .grid-item {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
        text-align: center;
    }
    
    .grid-header:last-child,
    .grid-item:last-child {
        border-right: none;
    }
    
    .grid-container > div:nth-last-child(-n+4) {
        border-bottom: none;
    }
.promo_sign_account{
    width: 20px;
    display: flex;
}
.flex1{
    display: flex;
}
/*Рееральная программа*/
.grid-container_ref {
    display: grid;
    grid-template-columns: repeat(8, auto);
    border: 1px solid #000;
    border-collapse: collapse;
    max-width: 100%; /* Не позволяет выйти за границы экрана */
    overflow-x: auto; /* Горизонтальный скролл, если не помещается */
}
@media screen and (min-width: 320px) and (max-width: 400px) {
    .grid-container_ref {
        grid-template-columns: repeat(8, 43.6px);
        max-width: 350px;
        font-size: 8px;
    }
}
@media screen and (min-width: 401px) and (max-width: 480px) {
    .grid-container_ref {
        grid-template-columns: repeat(8, 43px);
        max-width: 380px;
        font-size: 8px;
    }
}

/* НОВОСТНОЙ БЛОК */
.wraper_news{
    grid-area: wraper_news;
    display: grid;
    grid-template: minmax(50px, auto) 1fr minmax(50px, auto) / 1fr;
    background-color: #FFFFFF;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}
.text_wrapper_news{
    padding: 40px 0 20px 0;
}
.blocK_news{    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
}
.wrap_item_news{
    color: #808080;
}
.item_news{
    display:grid;
    grid-template: 1fr / 70px 1fr;
    }
.img_news{
    position: relative;
    padding: 0 0 85% 0;
    margin-top: 5px;
}
.img_news img{
    width: 100%;
    height: 100%;
    position: static;
    object-fit: contain;
}
.item_news_text{
    padding: 0 20px 0 20px;
    color: #808080 !important;
}
.all_list_news{
    width: auto;
    padding: 30px 0 30px 0;
    text-decoration: underline !important;
    color:#7797C6 !important;
}
/* ФУТЕР - Современный дизайн */
.wraper_footer {
    grid-area: footer;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    min-width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 90;
    padding: 3rem 2rem 1rem;
    border-top: 3px solid #e75656;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    overflow-x: hidden; /* Предотвращает горизонтальную прокрутку */
}

/* Секции footer */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section--social {
    grid-column: span 1;
}

.footer-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e75656;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e75656;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
    width: 60px;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    margin: 1.5rem 0 0.75rem 0;
}

/* Навигация в footer */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #363738 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
    position: relative;
    overflow: hidden;
}

.footer-link:hover {
    color: #363738 !important;
    border-left-color: #e75656;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(231, 86, 86, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link--important {
    font-weight: 600;
    color: #495057;
}

.footer-link--promo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e75656;
    font-weight: 500;
}

.footer-promo-icon {
    transition: transform 0.3s ease;
}

.footer-link--promo:hover .footer-promo-icon {
    transform: rotate(360deg);
}

/* Контакты */
.contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-phone,
.footer-contact-email,
.footer-contact-telegram {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #495057;
}

.footer-contact-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-link:hover .footer-contact-icon {
    opacity: 1;
    transform: scale(1.1);
}

.footer-working-hours {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-style: italic;
    color: #6c757d;
    padding: 0.5rem;
    background: rgba(231, 86, 86, 0.05);
    border-radius: 6px;
    border-left: 3px solid #e75656;
}

/* Социальные сети */
.social_box {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
}

.social-link {
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.img_social {
    width: 40px;
    height: 40px;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover .img_social {
    box-shadow: 0 8px 25px rgba(231, 86, 86, 0.3);
    transform: scale(1.1);
}

/* Партнеры */
.footer-partners {
    margin-top: 1.5rem;
}

.partner-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.partner-link {
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.partner-logo {
    max-width: 120px !important;
    height: auto !important;
    transition: all 0.3s ease;
    filter: grayscale(30%) opacity(0.8);
    border-radius: 6px;
}

.partner-logo--rkn {
    max-width: 100px;
    max-height: 50px;
}

.partner-link:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Нижняя часть footer */
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.copyright-text {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.copyright-details {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.footer-address {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: #6c757d !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #6c757d !important;
    text-decoration: underline;
}

.footer-separator {
    color: #dee2e6;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .wraper_footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 1.5rem 1rem;
    }
    
    .footer-section--social {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .wraper_footer {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 1rem;
        gap: 2rem;
    }
    
    .footer-section--social {
        grid-column: span 1;
        order: -1; /* Социальные сети вверх на мобильных */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .partner-logos {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social_box {
        justify-content: center;
    }
    
    .footer-link {
        padding: 0.5rem 0;
        transform: none;
    }
    
    .footer-link:hover {
        transform: none;
        padding-left: 1rem;
    }
    
    .contact {
        align-items: center;
        text-align: center;
    }
    
    .footer-contact-phone,
    .footer-contact-email,
    .footer-contact-telegram {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wraper_footer {
        padding: 1.5rem 0.75rem 0.75rem;
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid #e75656;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section:hover .footer-title::after {
        width: 40px;
    }
    
    .footer-subtitle {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .footer-nav {
        align-items: center;
        text-align: center;
    }
    
    .footer-link {
        font-size: 0.9rem;
        border-left: none;
        border-bottom: 1px solid transparent;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        margin: 0.25rem 0;
    }
    
    .footer-link:hover {
        border-left: none;
        border-bottom-color: #e75656;
        background: rgba(231, 86, 86, 0.1);
        padding-left: 1rem;
    }
    
    .img_social {
        width: 35px;
        height: 35px;
    }
    
    .partner-logo {
        max-width: 80px;
    }
    
    .footer-contact-phone,
    .footer-contact-email,
    .footer-contact-telegram {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .footer-working-hours {
        font-size: 0.85rem;
        text-align: center;
        padding: 0.75rem 0.5rem;
    }
    
    .footer-copyright {
        align-items: center;
    }
    
    .copyright-text {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .copyright-details {
        font-size: 0.75rem;
        margin-left: 0;
        text-align: center;
    }
    
    .footer-address {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .wraper_footer {
        padding: 1rem 0.5rem 0.5rem;
        gap: 1rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
    
    .footer-contact-phone,
    .footer-contact-email,
    .footer-contact-telegram {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .img_social {
        width: 30px;
        height: 30px;
    }
    
    .partner-logo {
        max-width: 70px;
    }
    
    .social_box {
        gap: 0.5rem;
    }
    
    .partner-logos {
        gap: 0.5rem;
    }
    
    .footer-working-hours {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Улучшения для touch устройств */
@media (hover: none) and (pointer: coarse) {
    .footer-link {
        padding: 0.75rem 1rem;
        min-height: 44px; /* Минимальный размер для touch */
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .footer-link:active {
        background: rgba(231, 86, 86, 0.15);
        transform: scale(0.98);
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .partner-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
}
.banners{
    margin: 55px;
}
/*****************************************/

/******************************************/

.bread_crumbs {
    height: 2.5em;
    width: 100%;
    padding-left: 55px;
    margin: 50px 0 20px 0;
}
.clr_grey{
    color:#808080 !important;
}
.top_header_buttons{
    display: flex;
    justify-content: space-around;
    height: 50%;
    width: 100%;
}
.btn {
    max-width: 20em;
    flex: 1 1;
    padding: 0.625em;
    line-height: 1.625em;
    background-color: #E75656;
    color: white;
    border: none !important;
    cursor: pointer;
}
.img_btn{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0.625em;
    cursor: pointer;
    outline: none;
    border: 0.1px solid rgb(205, 202, 202);
}
.btn-outline-primary{
    --bs-btn-hover-bg: none !important;
    --bs-btn-hover-color:#198754 !important;
    --bs-btn-color: #198754 !important;
}

.btn-outline-success{
    --bs-btn-hover-bg: none !important;
    --bs-btn-hover-color:#198754 !important;
}
.btn-outline-success, .btn-outline-primary {
    --bs-btn-active-bg: none !important;
}
/* СПИСКИ  */
.h1_list {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 60px !important;
    font-weight: 400 !important; /* Bold */
    letter-spacing: -0.02em !important; /* Уменьшенное расстояние между буквами */
    color: #4A5568 !important;
    margin-top: 10px;
}
.h2_list {
    font-family: "rubik", "Arial", sans-serif !important;
    font-size: 1rem !important;
    line-height: 50px !important;
    font-weight: 400 !important; /* Semi-bold */
    letter-spacing: -0.01em !important; /* Уменьшенное расстояние между буквами */
    color: #4A5568 !important;
    margin-top: 10px;
}
.h1_ltl{
    font-size: 0.1rem !important;
    margin: 0 auto;
    height: 10px;
}
.title_list{
        height: 60px;
        width: 100%;
        background-color: #EBEBEB;
        border-radius: 1em;
        font-size: 1.125rem;
        padding: 15px 0 0 20px;
        cursor: pointer;
}
.active {
    position: fixed;
    top: 0;
    background: none;
    border-color: #E8E8E8 !important;
    color: white !important;
}
.list-group-item {
    border-radius: 16px !important;
    border: 1px solid #9999991A !important;
    box-shadow: 0 4px 4px 0 #8A8A8A40 !important;
    width: 700px;
}
.card_list_exec{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(119, 150, 198, 0.1);
    box-shadow: 0px 4px 4px 0px #00000029;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.card_list_exec:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(119, 150, 198, 0.2);
}
.block_filter_exec{
    width: 30%;
    margin: 10px auto 0 auto;
    position: sticky;
    top: 140px;
    bottom: 346px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
}
.filter_exec{
    width: 90%;
    border: 2px solid #E8E8E8;
    border-radius: 16px;
    color: #A9A9A9;
    padding: 15px;
}
.rating_icons{
    margin: 4px;
    cursor: pointer;
}
.downline_card_list_exec{
    margin: 10px;
}
.card_list_offers{
    width: 100%;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000029;
    border-radius: 1em;
    border: 2px solid #EEEEEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    margin-bottom: 15px;
}
.ellipsis {
    width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: nowrap;
}
.ellipsis:after {
  content: '\2807';
  font-size: 1.875rem;
  color: #939393;
}
.block_notif{
    width: 100%;
    height: 100%;
    background: rgba(31, 29, 29, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    top: 90px;
    left: 0px;
    align-items: center;
    z-index: 100;
}
.block_notif_video{
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 400px;
    margin: 0 auto;
}
.notif{
    width: 350px;
    height: auto;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    border: 1px solid #E75656;
    border-radius: 16px;
    background: white;
    padding: 20px;
    margin: 0 auto;
}
.text_notif{
    padding: 20px;
}
.form_notif{
    margin: 0 auto;
}
.container_video_notif{
    margin: 30px auto 0 auto;
}
.exclamation_point{
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}
.mb-1{
    display: table; 
    margin: 0.625em 0.625em 0 0;
    color: #808080;
}

.wraper_about{
    padding: 1.25em 8.75em 0 4.688em;
}
.block_list_filter{
    display: flex;
    margin-top:50px;
}
.block_list_filter_pre{
    display: flex;
    margin-top:60px;
}
.bread_crumbs_pre_order {
    height: 2.5em;
    width: 100%;
    padding-left: 55px;
    margin: 60px 0 20px 0;
}
.wrap_list {
    width: 60%;
    padding: 15.625em 8.75em 1.875em 4.688em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.wrap_elem_list{
    display: flex;
    padding-left: 4.688em;
    padding-right: 8.75em;
    padding-bottom: 1.875em;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    width: 50%;
}
.list_header{
    position: fixed;
    z-index: 3;
    width: 40%;
    padding: 0.938em 0 0.625em 0.625em;
    margin: 7.5em 0 0 2.5em;
    font-weight: bold;
    background-color: #FFFFFF;
    text-align: center;
}
.suggestions-input{
    width: 55% !important;
    cursor: pointer;
} 
/*Отдельный лист с новостной лентой*/
.separate_list_news{
    padding: 1.25em 8.75em 0 4.688em;
}
.item_separate_list_news{
    width:700px;
}
.block_item_img_text{
    display:flex;
    box-sizing: border-box;
}
.img_item_separate_list{
    width:20%;
}
.text_item_separate_list{
    width:80%;
}
/*Блок Учебного центра*/
.block_education{
    width: 100%;
    height:auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text_block_education{
    width:800px;
    margin:30px 0 30px 0;
}
.discribe_exam-video{
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 20px;
}
.discribe_exam-video_box{
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}
.exam-video{
    cursor: pointer;
}
.exam-video:hover{
    cursor: pointer;
    transform: translateY(-0.25em);
}
.iframe_video{
        width:640px;
        height:360px;
    }
.block_video_doc{
    display: flex;
    width: 90%;
    flex-direction: row;
    justify-content: space-around;
    margin: 30px auto 50px auto;
}
.list_video{
    width: 40%;
    border: 1px solid black;
    padding: 20px;
}
.list_video a:hover{
    text-decoration: underline !important;
    text-decoration-color: #7797C6 !important;
    text-decoration-thickness: 2px !important;
}
.list_document{
    width: 40%;
    border: 1px solid black;
    padding: 20px;
}
.list_document a:hover{
   text-decoration: underline !important;
   text-decoration-color: #7797C6 !important;
   text-decoration-thickness: 2px !important;
}
#notis_time{
        width:40%;
        margin:30px auto 0 auto;
        display:block;
    }
.block_rules{
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #808080;
    background-color: #f8f9fa;
    padding: 20px;
}
.block_rules_box{
    max-width: 800px !important;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.block_rules_box h2,
.block_rules_box h3 {
    color: #7797C6;
    margin-top: 20px;
}
    
    .block_rules_box ul {
        list-style-type: disc;
        margin-left: 20px;
        padding-left: 20px;
    }
    
    .block_rules_box li {
        margin-bottom: 10px;
    }
    
    .block_rules_box a {
        text-decoration: underline !important;
    }
    
    .block_rules_box p {
        margin-bottom: 20px;
}

.block_ceo{
    width: 50%;
    box-sizing: border-box;
    margin: 60px;
}
.block_ceo a {
    text-decoration: underline !important;
}
.img_notice{
    transition: all 0.35s;
}
.img_notice:hover{
    transform: translateY(-0.25em);
    box-shadow: 0 0 0.5em 0em #5e5e5e;
    border-radius: 8px;
}
.img_example_status{
    transition: all 0.35s;
}
.img_example_status:hover{
    transform: translateY(-0.25em);
    width: 460px;
    height:300px;
    z-index:3;
}
#timer{
    font-weight: bold;
    font-size: 1.25rem;
    width: 80px;
    margin: 50px auto 0 auto;
}
/*Блок контакты*/
.block_contact {
    display: flex;
    margin: 50px auto 60px auto;
    width: 100%;
    text-align: center;
}
.ava_contact{
    width:33%;
    height:auto;
}
.bank_details{
    padding-left:55px;
}
/*Блок видео инструкций*/
.block_video_instr{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 150px;
    margin: 50px 100px;
}
.container_video{
    display:grid;
    grid-auto-flow:row;
    grid-template: minmax(150px, auto) 1fr minmax(150px,auto) / 1fr; 
    box-shadow: 0 0 0.5em 0em #FFA216;
}
.img_item{
   position:relative;
}
.img_item img{
    width:100%;
    height:100%;
    position:absolute;
    left:0;
    top:0;
    object-fit:cover;
}
.video_instr{
    border: 2px solid black;
}
.upper_text_video{
     padding: 20px 0 20px 0;
     text-align: center;
     font-weight:700;
     color:#363738 !important;
     width: 250px;
    }
/*Стили лендинговой странцы*/
/* Общие стили */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header2 {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
}

.header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo2 {
    font-weight: bold;
    font-size: 1.5rem;
}

.contacts2 a {
    color: white !important;
    text-decoration: none;
    margin-left: 20px;
}

/* Основной контент */
.hero {
    background-color: #3498db;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-stats p {
    font-size: 1.2rem;
    margin: 10px 0;
    text-align: left;
}

.btn2 {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.btn2:hover {
    background-color: #c0392b;
}

/* Блоки информации */
.section2 {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin: 30px 0;
    font-size: 2rem !important;
    color: #2c3e50 !important;
    text-transform: uppercase;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Гарантии */
.guarantee {
    background-color: #f9f9f9;
}

.guarantee-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guarantee-item {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Подвал */
.footer2 {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-contacts {
    text-align: center;
}

.footer-contacts h3 {
    margin-bottom: 15px;
}

.footer-contacts p {
    margin: 5px 0;
}
/*Разное*/
.full_wrapper_thanks {
    display: grid;
    grid-template-rows: minmax(140px, auto) minmax(auto, auto);
    grid-template-areas:
        "header"
        "header_menu";
}
.thanks_go{
    color: #fff !important;
    background-color: #7797C6;
    width: 30%;
    height: 90px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 40px auto 0;
    font-size: 1.375rem !important;
    box-shadow: -5px 0px 17px 1px rgba(0, 0, 0, 0.25);
}
.thanks_go:hover{
    box-shadow: -1px -1px 10px 9px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats p {
        font-size: 1rem;
    }
}
/* Блок стилей для АДАПТИВНОСТИ**************************************/
/* **************************************************************** */
@media screen and (min-width: 320px) and (max-width: 700px) {
    html,body {
        font-size: 1rem !important;
    }
    h1 {
        font-size: 2.75rem !important; /* Примерно 24px */
        letter-spacing: -0.015em !important; /* Уменьшенное расстояние между буквами */
        line-height: 1 !important;
        font-weight: 600 !important;
    }

    h2 {
        font-size: 2rem !important; /* Примерно 20px */
        letter-spacing: -0.01em !important; /* Уменьшенное расстояние между буквами */
    }

    h3 {
        font-size: 26px !important; /* Примерно 16px */
        letter-spacing: 0em !important; /* Стандартное расстояние между буквами */
    }

    h4 {
        font-size: 1.25rem !important; /* Примерно 14px */
        letter-spacing: 0.01em !important; /* Увеличенное расстояние между буквами */
    }

    h5 {
        font-size: 1rem !important; /* Примерно 12px */
        letter-spacing: 0.02em !important; /* Увеличенное расстояние между буквами */
    }

    h6 {
        font-size: 14px !important; /* Примерно 10px */
        letter-spacing: 0.02em !important; /* Увеличенное расстояние между буквами */
    }
    .full_wrapper {
        grid-template-rows: minmax(190px, auto) 1fr 1fr;
    }
    
    .header{
        display: grid;
        grid-template: 1fr / 1fr 1fr auto;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        z-index: 0;
     }
     
     .header_logo_atsm {
          display: block; /* Делает ссылку блочной */
          width: 100px; /* Ширина ссылки */
          height: 70px; /* Высота ссылки */
          background-image: url('../images/ATCM_logo_ronb_1800x2100.png'); /* Фоновое изображение */
          background-size: contain; /* Сохраняем пропорции без обрезания */
          background-repeat: no-repeat; /* Отключает повтор изображения */
          background-position: right center; /* Выравнивание справа по центру */
          padding: 0 !important; /* Убираем ненужные отступы */
          margin: 0 !important;
          line-height: 0;
    }
    .header_menu{
        grid-column: span 2;
        border-top:  2px solid #8E8E8E26;
    }
     .header_list {
        margin: 0;
        width: 100%;
        height: 75px;
    }
    /* .header_link {
        justify-items: start;
        display: none;
    } */
    
    .block_choose {
        margin: 0;
    }
    .acnt_list_sub-menu {
        top: 60px;
    }    
    .account_list {
        padding-right: 0;
    }
    .demo_enter_suggest{
        top: 165px;
    }
    
    /* Исправляем base_wrapper для мобильных устройств */
    .base_wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-top: 130px !important;
        position: relative;
        background: white;
    }
    
    /*Оставляем только нужные стили*/
    .count_total_cases{
        margin: 0 auto;
    }
    /* .wrapper_top {
        position: inherit;
        margin: 0 0 30px 0;
    } */
    .text_wrapper_top{
        margin-bottom:50px;
        width: 90%;
    }
    .grid_switch{
        width: 100%;
        max-width: 100%;
    }
    .grid_switch_left, .grid_switch_left_exec {
       text-align: center;
        left: 5px;
    }
    .title_block_hu{
        padding-top:55px;
        width: 90%;
        margin: 0 auto;
    }
    .block_hu_img {
        display: flex;
        flex-direction: column-reverse;
        width: 90%;
        margin: 0 auto;
    }
    .name_perfect {
        height: auto;
    }
    .img_btn_cred {
        display:block;
         width: 100%;
        height: 200px;
        margin: 20px auto;
    }
    .bread_crumbs_lk_cred {
        margin: 10px 0 50px 0;
        padding-left: 20px;
    }
     .bread_crumbs_lk_exec {
        margin: 10px 0 50px 0;
        padding-left: 20px;
    }
    /*Быстрая регистрация*/
    .block_title_fast_reg {
        display:block;
        width: 90%;
        margin: 0 auto;
    }
    .block_fast_reg {
        display:block;
        margin: 50px auto 0 auto;
    }
    /*Блок Акции*/
    .referal_wrap {
        padding: 20px;
    }
    .promo_notice{
        width: 90%;
    }
    .block_greed_promo{
        padding: 0 15px;
        width: 375px;
    }
    .flex1{
        display: block;
    }
}
    @media screen and (min-width: 320px) and (max-width: 900px) {

    .header_logo_atsm {
        display: block; /* Делает ссылку блочной */
        width: 100px; /* Ширина ссылки */
        height: 70px; /* Высота ссылки */
        background-image: url('../images/ATCM_logo_ronb_1800x2100.png'); /* Фоновое изображение */
        background-size: contain; /* Сохраняем пропорции без обрезания */
        background-repeat: no-repeat; /* Отключает повтор изображения */
        background-position: right center; /* Выравнивание справа по центру */
        padding: 0 !important; /* Убираем ненужные отступы */
        margin: 0 !important;
        line-height: 0;
    }
    .title_recommend{
        padding-left: 20px;
    }
    .recommend{
        display: none;
    }
    .block_recommend{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .icon_education{
        margin-bottom: 10px;
    }
    .text_icon_education{
        display:none;
    }
    /*модули*/
    /*блок поиска*/
    .grd_search {
        display:block;
        width: 90%;
        margin: 50px auto 0 auto;
    }
    .wrap_block_about_search{
        display:block;
    }
    .block_about_search {
        display:block;
    }
    .count_total_cases{
        margin: 0 auto;
    }
    .block_data_execut {
        display:block;
        margin-top:20px;
        max-width: 600px;
    }
    .item_conf {
        display: none;
    }
    .block_educ_about {
       display:block;
    }  
    .image_education{
        width: 100%;
        background-size: cover;
        margin: 20px auto;
    }
    .block_text_btn_go_educ {
        justify-content: space-around;
    }
    .ellipsis:after {
        content: none;
    }
}
@media screen and (min-width: 320px) and (max-width: 700px) {
    .header_logo_atsm {
        display: block; /* Делает ссылку блочной */
        width: 100px; /* Ширина ссылки */
        height: 70px; /* Высота ссылки */
        background-image: url('../images/ATCM_logo_ronb_1800x2100.png'); /* Фоновое изображение */
        background-size: contain; /* Сохраняем пропорции без обрезания */
        background-repeat: no-repeat; /* Отключает повтор изображения */
        background-position: right center; /* Выравнивание справа по центру */
        padding: 0 !important; /* Убираем ненужные отступы */
        margin: 0 !important;
        line-height: 0;
    }
    /* Скрываем блок header_menu на мобильной ширине, сохраняем сетку */
    .header_menu {
        display: none !important;
        grid-column: span 2;
        border-top: 2px solid #8E8E8E26;
    }
    /* При открытом меню (через JS) показываем навигацию снова */
    body.menu-open .Header_nav {
        display: block !important;
    }
    body.menu-open .header_menu {
        display: block !important;
    }
    .wrap_contract_control{
        display: block;
        width: 90%;
        margin: 50px auto 0 auto;
    }
    .grd_contract_panel {
        display: block;
        width: 90%;
        margin: 50px auto 0 auto;
    }
    .block_about_contract{
        display:block;
    }
    .wrap_sun_mac {
        width: 300px;
    }
    .svg_mac {
        width: 90%;
        top: 40px;
    }
    .sun{
        width: 140px;
        height: 140px;
        position: static;
    }
    .title_corporat_block, .title_grd_search{
        width: 90%;
        margin: 0 auto 0 auto;
    }
    .corporat_block{
        display:flex;
        width: 90%;
        flex-direction: column-reverse;
        margin: 50px auto 0 auto;
    }
    .img_corporat {
        display: block;
        width: 100%;
        height: 200px;
        margin: 20px auto;
    }
    /*Телефон и мак*/
    .wrap_phone_mac{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .text_phone_mac{
        padding: 60px 0 60px 30px;
    }
    .png_phone{
        margin-bottom: 30px;
    }
    .png_mac{
        max-width: 90%;
    }
    .upper_text_phone_mac{
        padding: 30px 0 0 30px;
    }
    /*********************/
    .main2 {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
        padding: 20px 5px 0 5px;
    }
    /*блок спецсчет*/
    .title_fin_scheme{
        margin-top:50px;
    }
    .block_fin_scheme_text{
        display: flex;
        flex-direction: column-reverse;
        max-height: 100%;
        max-width: 100%;
    }
    .wrap_fin_scheme{
        background-size: cover;
    }
    #fin_scheme{
        width: 100%;
        height: 200px;
    }
    .title_text_rate{
        margin-top: 0;    
    }
    /*Блок запрос регистрации*/
    .block_request{
        grid-template: 0.3fr 0.7fr / 1fr;
    }
    /**************************/
    .crm_date {
        display:none;
    }
    .block_notice_header {
        margin-top: 30px;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-item {
        margin-bottom: 10px;
    }
    .upline_card_list_exec{
        text-align: center;
    }
    /*Отдельный лист с новостной лентой*/
    .separate_list_news{
        padding: 10px 10px 0 10px;
    }
    .item_separate_list_news{
        width: 100%;
        border-bottom: 1px solid #808080;
    }
    .block_item_img_text{
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: justify;
    }
    .img_item_separate_list{
        width:20%;
    }
    .text_item_separate_list{
        width: 100%;
        margin-bottom: 10px;
    }
    /* ФУТЕР */
    .wraper_footer{
        display: block;
    }
    .nav_bar{
        padding-left: 0;
    }
    .contact{
        padding-left: 0;
    }
    .social_box{
        padding-left: 0 !important;
    }
    /*Хлебные крошки*/
    .bread_crumbs {
        padding-left: 20px;
        margin: 0 0 50px 0;
    }
    /*Учебная страница*/
    .block_education {
        width: 100%;
        align-items: center;
    }
    .img_banner{
        width: 100%;
    }
    .exam-video {
        background-size: cover;
        width: 95%;
    }
    .discribe_text_ed{
        width: 100%;
        padding: 20px;
        line-height: 180%;
    }
    .text_block_education{
        width:100%;
        margin:0;
        padding: 20px;
    }
    
    .block_video_doc {
        display: flex;
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
        align-items: center;
    }
    .list_video {
        width: 100%;
    }
    .list_document {
         width: 100%;
    }
    .iframe_video{
        width:100%;
        height:auto;
    }
    #notis_time{
        width:100%;
    }
    /*База исполнителей*/
    .block_list_filter {
        margin-top: 0;
        flex-direction: column-reverse;
    }
    .block_filter_exec {
        width: 90%;
        margin: 10px auto 0 auto;
        position: relative;
        top: 0;
    }
    .filter_exec {
        width: 100%;
    }
    .wrap_list {
        width: 100%;
        padding: 0;
    }
    /*База дел*/
    .block_cases_filter {
        flex-direction: column-reverse;
    }
    .block_filter {
        width: 100%;
        height: auto;
        position: relative;
        top: 0px;
        margin-bottom: 30px;
    }
    ._filter {
        width: 100%;
    }
    .block_list_cases {
        width: 100%;
    }
    .wrap_list_cases {
        padding: 0;
    }
    .card_list_offers {
        display:block;
    }
    /* НОВОСТНОЙ БЛОК */
    .wraper_news{
        padding: 0 20px 0 20px;
        text-align: justify;
    }
    .text_wrapper_news{
        color: #808080;
    }
    .blocK_news{    
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        color: #808080;
    }
    .wrap_item_news{
        color: #808080;
    }
    .item_news{
        grid-template: auto auto / 1fr;
    }
    .item_news_text {
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
        border-radius: 0 0 6px 6px;
        border-top:none;
        padding: 20px 5px;
        -webkit-font-smoothing: antialiased;
    }
    .img_news {
        padding: 0;
    }
    .img_news img{
        box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
        border-radius: 6px 6px 0 0;
        position: static;
        height: auto;
    }
    .all_list_news{
        width: auto;
        padding: 30px 0 30px 0;
    }
    /*Футер*/
    .block_ceo {
        width: 90%;
        margin: 20px;
    }
    .block_contact {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .ava_contact{
        width:30%;
    }
    .img_example_status{
        width: 100%;
    }
    .block_list_filter_pre{
        flex-direction: column;
    }
    .circle {
        width:50px;
        height:50px;
    }
    .rating_counter {
        display:block;   
    }
    /*Блок видео инструкций*/
    .block_video_instr{
        display: flex;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin: 50px 0;
    }
    .video_instr{
        width: 250px;
        height: 150px;
    }
    .card_list_exec {
        width: 90%;
        margin: 0 auto;
    }
    .thanks_go{
        width: 60%;
        margin-top: 100px;
    }
}
/* Блок стилей для АДАПТИВНОСТИ */
@media screen and (min-width: 701px) and (max-width: 1200px) {
    h1 {
        font-size: 1.75rem; /* Примерно 28px */
        line-height: 36px; /* Примерно 36px */
        letter-spacing: -0.02em; /* Уменьшенное расстояние между буквами */
    }

    h2 {
        font-size: 1.375rem; /* Примерно 22px */
        line-height: 30px; /* Примерно 30px */
        letter-spacing: -0.01em; /* Уменьшенное расстояние между буквами */
    }

    h3 {
        font-size: 1.125rem; /* Примерно 18px */
        line-height: 26px; /* Примерно 26px */
        letter-spacing: 0em; /* Стандартное расстояние между буквами */
    }

    h4 {
        font-size: 1rem; /* Примерно 16px */
        line-height: 24px; /* Примерно 24px */
        letter-spacing: 0.01em; /* Увеличенное расстояние между буквами */
    }

    h5 {
        font-size: 0.875rem; /* Примерно 14px */
        line-height: 20px; /* Примерно 20px */
        letter-spacing: 0.02em; /* Увеличенное расстояние между буквами */
    }

    h6 {
        font-size: 0.75rem; /* Примерно 12px */
        line-height: 18px; /* Примерно 18px */
        letter-spacing: 0.02em; /* Увеличенное расстояние между буквами */
    }
    .header_logo_atsm {
        display: block; /* Делает ссылку блочной */
        width: 180px; /* Ширина логотипа */
        height: 70px; /* Высота логотипа */
        background-image: url('../images/logo_atsm600x300_bord.png'); /* Фоновое изображение */
        background-size: contain; /* Изображение подгоняется под размер */
        background-repeat: no-repeat; /* Отключает повтор изображения */
        background-position: right center;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0;
    }
    .demo_enter_suggest{
        top: 100px;
    }
    /*Оставляем только нужные стили*/
    .text_style{
        width: 80%;
        margin: 0 auto;
    }
    .grd_search {
        display: block;
        margin: 50px auto 0 auto;
        width: 90%;
    }
    .recommend{ 
        column-gap: 0px;
        grid-auto-columns: minmax(120px, auto);
    }
    .count_total_cases{
        margin: 0 auto;
    }
    .account_list {
        position: static;
    }
    .crm_date {
        display:none;
    }
    .block_notice_header {
        margin-top: 30px;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-item {
        margin-bottom: 10px;
    }
    .title_recommend{
        padding-left: 20px;
    }
    .block_hu_img{
        display: grid;
        grid-template-rows: auto;
        width: 100%;
        max-width: 100%;
    }
    .block_title_fast_reg {
        grid-template-columns: 1fr;
        grid-template-rows: 0.5fr 1fr;
    }
    .grd_contract_panel {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .block_about_contract {
        grid-template-rows: 1fr 0.1fr;
    }
    .corporat_block {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 0.5fr;
        width: 100%;
        max-width: 100%;
    }
    .img_corporat {
        grid-row-start: 1;
        margin: 30px auto 30px auto;
        background-size: cover;
        border-radius: 16px;
    }
    .png_mac {
        max-width: 60%;
    }
    .block_fin_scheme_text {
        grid-template-columns: 50% 50%;
        max-width: 100%;
    }
    .block_request {
        grid-template-columns: 100%;
        /* grid-template-rows: 33.33% 66.67%; */
        grid-template-rows: 1fr;
    }
    .list {
        width: 90%;
        margin-bottom: 50px;
    }
    /*Отдельный лист с новостной лентой*/
    .separate_list_news{
        padding: 10px 10px 0 10px;
    }
    .item_separate_list_news{
        width: 100%;
        border-bottom: 1px solid #808080;
    }
    .block_item_img_text{
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: justify;
    }
    .img_item_separate_list{
        width:20%;
    }
    .text_item_separate_list{
        width: 100%;
        margin-bottom: 10px;
    }
    /*Хлебные крошки*/
    .bread_crumbs {
        padding-left: 10px;
    }
    /*Учебная страница*/
    .block_education {
        width: 100%;
        align-items: center;
    }
    .img_banner{
        width: 100%;
    }
    .exam-video {
        background-size: cover;
        width: 95%;
    }
    .discribe_text_ed{
        width: 100%;
        padding: 20px;
        line-height: 180%;
    }
    .text_block_education{
        width:100%;
        margin:0;
        padding: 20px;
    }
    .block_video_doc {
        display: flex;
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
        align-items: center;
    }
    .list_video {
        width: 100%;
    }
    .list_document {
         width: 100%;
    }
    .iframe_video{
        width:100%;
        height:auto;
    }
    #notis_time{
        width:50%;
    }
    /*База исполнителей*/
    .block_list_filter {
        margin-top: 0;
        flex-direction: column-reverse;
        align-items: center;
    }
    .block_filter_exec {
        width: 50%;
        margin: 10px auto 0 auto;
        position: relative;
        top: 0;
    }
    .filter_exec {
        width: 100%;
    }
    .wrap_list {
        width: 50%;
        padding: 0;
    }
    /*База дел*/
    .block_cases_filter {
        flex-direction: column-reverse;
        align-items: center;
    }
    .block_filter {
        width: 100%;
        height: auto;
        position: relative;
        top: 0px;
        margin-bottom: 30px;
    }
    ._filter {
        width: 50%;
    }
    .block_list_cases {
        width: 50%;
    }
    .wrap_list_cases {
        padding: 0;
    }
    .card_list_offers {
        display:block;
    }
    .ellipsis:after {
        content: none;
    }
    /*Футер*/
    .block_ceo {
        width: 90%;
        margin: 20px;
    }
    .block_contact {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .ava_contact{
        width:30%;
    }
    .img_example_status{
        width: 100%;
    }
    .block_list_filter_pre{
        flex-direction: column;
    }
}

/* Секция доверия */
.trust-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    text-align: center;
}

.trust-stat {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trust-stat:hover {
    transform: translateY(-4px);
}

.trust-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(119, 150, 198, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(119, 150, 198, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.star {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(119, 150, 198, 0.1);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.guarantee-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(119, 150, 198, 0.1);
}

.guarantee-item:hover {
    transform: translateY(-4px);
}

.guarantee-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.guarantee-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guarantee-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Адаптивность для секции доверия */
@media (max-width: 768px) {
    .trust-section {
        padding: 60px 0;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .trust-stat-number {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guarantee-item {
        padding: 1.5rem;
    }
}

/* Секция успешных кейсов */
.success-cases-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

/* На мобильных делаем фон сплошным, визуально близким к градиенту */
@media (max-width: 768px) {
    .success-cases-section {
        /* Оpaque tint approximating the subtle gradient */
        background: #F4F2FE !important;
    }
}

.cases-slider-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

.cases-slider {
    overflow: hidden;
    width: 100%;
}

.cases-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

/* Мобильная прокрутка пальцем */
@media (max-width: 768px) {
    .cases-slider {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .cases-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .cases-track {
        transition: none; /* Отключаем анимацию для touch */
        padding: 0 1rem; /* Отступы слева и справа */
    }
    
    .case-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

.case-card {
    min-width: 340px;
    background: var(--background-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.case-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.case-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.case-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.case-preview {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

.case-more-btn {
    align-self: flex-start;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Модальное окно с полным текстом кейса */
.case-full-content {
    position: fixed;
    top: 150px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.case-full-content.active {
    display: flex;
}

.case-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    backdrop-filter: blur(4px);
}

.case-full-text {
    position: relative;
    background: var(--background-primary);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px !important;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.case-full-text h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.case-full-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-full-text p:last-child {
    margin-bottom: 0;
}

.case-full-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.case-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px !important;
    height: 40px !important;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* Кнопки навигации слайдера */
.cases-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: var(--background-primary);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cases-slider-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.cases-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cases-slider-prev {
    left: 0;
}

.cases-slider-next {
    right: 0;
}

/* Адаптивность для кейсов */
@media (max-width: 768px) {
    .cases-slider-wrapper {
        padding: 0;
    }
    
    .case-card {
        min-width: 280px;
    }
    
    .cases-slider-btn {
        display: none; /* Скрываем кнопки на мобильных */
    }
    
    .case-full-text {
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }
    
    .case-full-text h4 {
        font-size: 1.25rem;
        padding-right: 2rem;
    }
    
    .case-full-text p {
        font-size: 0.95rem;
    }
    
    .case-close-btn {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .cases-slider-wrapper {
        padding: 0;
    }
    
    .case-card {
        min-width: 260px;
        padding: 1.5rem;
    }
    
    .case-title {
        font-size: 1rem;
    }
    
    .case-preview {
        font-size: 0.875rem;
    }
    
    .cases-slider-btn {
        display: none; /* Скрываем кнопки на мобильных */
    }
}

/* Видео успешных кейсов */
.success-video-section {
    padding: 4rem 0;
    background: var(--background-primary);
}

.success-video-header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.success-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.success-video-card {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.case-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0c10;
}

.case-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .success-video-section {
        padding: 3rem 0;
    }
}

/* Отзывы клиентов */
.client-reviews-section {
    padding: 4rem 0;
    background: var(--background-primary);
}

.client-reviews-header {
    max-width: 720px;
    margin: 0 auto 2rem;
}

.client-reviews-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.client-reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 320px);
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem;
    margin: 0 -0.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.client-review-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-snap-align: start;
}

.client-review-text {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.client-review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.client-review-name {
    font-weight: 700;
    color: var(--text-dark);
}

.client-reviews-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.client-reviews-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: #f9fbff;
}

.client-reviews-nav:active {
    transform: translateY(0);
}

@media (max-width: 960px) {
    .client-reviews-wrapper {
        grid-template-columns: 1fr;
    }
    .client-reviews-nav {
        display: none;
    }
    .client-reviews-track {
        margin: 0;
        padding: 0.5rem 0;
    }
}

/* Секция партнеров */
.partners-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

/* удалены стили блока видео в рекомендациях */

.partners-grid {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(119, 150, 198, 0.1);
}

.partners-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.partner-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(119, 150, 198, 0.1);
    background: #fafbfc;
    display: flex;
    align-items: stretch;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(119, 150, 198, 0.2);
    background: white;
}

.partner-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 0.75rem;
}

.partner-card img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
}

.partner-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-color);
}

/* Адаптивность для секции партнеров */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1rem;
    }
    
    .partner-card img {
        width: 100px;
        height: 60px;
    }
}

/* Дополнительная адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .hero-section {
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary, .btn-danger {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1.25rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .trust-stat-number {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partners-logos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Планшеты в портретной ориентации */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Улучшения для touch устройств */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, .btn-secondary, .btn-danger {
        min-height: 48px;
        font-size: 1.1rem;
    }
    
    .benefit-card, .testimonial-card, .trust-stat, .guarantee-item, .partner-card {
        transform: none !important;
    }
    
    .benefit-card:active, .testimonial-card:active, .trust-stat:active, .guarantee-item:active, .partner-card:active {
        transform: scale(0.98);
    }
}

/* Секция быстрой регистрации */
/* Секция призыва к действию (объединенная) */
.quick-cta-section {
    background: #FBFAFF !important;
}

.quick-cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quick-cta-header .section-subtitle {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.quick-cta-action {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(119, 150, 198, 0.3);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.quick-cta-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.btn-quick-cta {
    position: relative;
    z-index: 2;
    background: white !important;
    color: var(--primary-color) !important;
    font-size: 1.25rem !important;
    padding: 16px 40px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-quick-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
    background: var(--primary-color) !important;
    color: white !important;
}

.quick-cta-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.cta-badge svg {
    flex-shrink: 0;
}

.quick-cta-alternative {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.quick-cta-text {
    font-size: 1.2rem;
    color: white;
}

.quick-cta-messengers {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.quick-messenger-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.quick-messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 45px;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.quick-messenger-link:hover {
    transform: translateY(-1px);
    opacity: 1;
}
.quick-messenger-link img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.quick-messenger-text {
    font-size: 14px;
    color: #ffffff;
}

/* Старые стили для совместимости */
.quick-registration-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.registration-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.registration-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(119, 150, 198, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.1), rgba(255, 162, 22, 0.1));
    border: 1px solid rgba(119, 150, 198, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-icon svg {
    transition: transform 0.3s ease, fill 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.2), rgba(255, 162, 22, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(119, 150, 198, 0.3);
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-item p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.registration-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(119, 150, 198, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.registration-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.registration-cta .btn-danger {
    background: white !important;
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.registration-cta .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.registration-cta .btn-danger svg {
    transition: transform 0.3s ease;
}

.registration-cta .btn-danger:hover svg {
    transform: translateX(4px);
}

.cta-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .cta-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .quick-cta-section {
        position: relative;
    }
    
    .quick-cta-action {
        padding: 2rem 1.5rem;
    }
    
    .btn-quick-cta {
        font-size: 1rem !important;
        padding: 14px 28px !important;
    }
    
    .quick-cta-badges {
        gap: 1rem;
        flex-direction: column;
    }
    
    .quick-cta-messengers {
        gap: 1rem;
        flex-direction: column;
    }
    
    .quick-messenger-link {
        padding: 0.6rem 1rem;
    }
}

/* Секция поддержки */
.support-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.support-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.support-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(119, 150, 198, 0.1);
    transition: transform 0.3s ease;
}

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

.support-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.1), rgba(255, 162, 22, 0.1));
    border: 1px solid rgba(119, 150, 198, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.support-icon svg {
    transition: transform 0.3s ease, fill 0.3s ease;
}

.support-feature:hover .support-icon {
    background: linear-gradient(135deg, rgba(119, 150, 198, 0.2), rgba(255, 162, 22, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(119, 150, 198, 0.3);
}

.support-feature:hover .support-icon svg {
    transform: scale(1.1);
}

.support-feature p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.executors-preview {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(119, 150, 198, 0.1);
}

.executors-preview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.executors-list {
    max-height: 630px;
    overflow-y: auto;
}

/* Дублирующие стили .card_list_exec объединены в базовый блок */

/* Адаптивность для новых секций */
@media (max-width: 768px) {
    .quick-registration-section,
    .support-section {
        padding: 60px 0;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-list {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
        position: relative;
    }
    
    .registration-cta {
        padding: 2rem;
    }
    
    .support-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-feature {
        padding: 1rem;
    }
}

/* Секция образования */
.education-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.education-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.education-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.education-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(119, 150, 198, 0.1);
    transition: transform 0.3s ease;
}

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

.education-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
}

.education-feature p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.education-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.education-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.education-image::before {
    content: '📚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.7;
}

/* Адаптивность для секции образования */
@media (max-width: 768px) {
    .education-section {
        padding: 60px 0;
    }
    
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-features {
        gap: 1rem;
    }
    
    .education-feature {
        padding: 1rem;
    }
    
    .education-image {
        width: 200px;
        height: 200px;
    }
    
    .education-image::before {
        font-size: 3rem;
    }
}

/* Секция услуг */
.services-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(119, 150, 198, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(119, 150, 198, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.service-feature svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-feature span {
    color: var(--text-dark);
    line-height: 1.5;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white !important;
}

.service-visual {
    margin-top: 2rem;
    text-align: center;
}

.service-visual img {
    transition: transform 0.3s ease;
}

.service-card:hover .service-visual img {
    transform: scale(1.05);
}

/* Адаптивность для секции услуг */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-features {
        gap: 0.75rem;
    }
}

/* Corporate Section */
.corporate-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.corporate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 200, 120, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.corporate-header {
    text-align: center;
    margin-bottom: 4rem;
}

.corporate-content {
    max-width: 1200px;
    margin: 0 auto;
}

.corporate-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.corporate-feature {
    background: var(--background-primary);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.corporate-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.08), transparent);
    transition: left 0.8s ease;
}

.corporate-feature:hover::before {
    left: 100%;
}

.corporate-feature:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(80, 200, 120, 0.03) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(74, 144, 226, 0.4);
}

.corporate-icon {
    margin-bottom: 1.5rem;
}

.icon-bg {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.corporate-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.corporate-link:hover {
    color: var(--accent-color);
}

.corporate-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.corporate-link:hover::after {
    width: 100%;
}

/* Анимации */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .corporate-section {
        padding: 3rem 0;
    }
    
    .corporate-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .corporate-feature {
        padding: 1.5rem;
    }
}

/* Transparency Section */
.transparency-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.transparency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.transparency-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.transparency-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.transparency-cta {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.transparency-cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.transparency-cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color) !important;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.faq-question-link:hover {
    background: var(--background-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    color: var(--text-primary);
}

.question-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.question-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.transparency-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.transparency-main-btn {
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.transparency-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #2C3E50;
    color: white;
}

.transparency-contact-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.transparency-contact-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.transparency-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.transparency-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .transparency-section {
        padding: 3rem 0;
    }
    
    .transparency-cta {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .transparency-cta-content h3 {
        font-size: 1.5rem;
    }
    
    .faq-questions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .faq-question-link {
        padding: 0.875rem 1.25rem;
    }
    
    .question-text {
        font-size: 0.875rem;
    }
    
    .transparency-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .transparency-main-btn,
    .transparency-contact-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .transparency-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Popular Queries Section */
.popular-queries-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.popular-queries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(80, 200, 120, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.popular-queries-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.popular-queries-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.popular-queries-header p {
    font-size: 1.125rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.popular-queries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.query-category {
    background: var(--background-primary);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.query-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(80, 200, 120, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.query-category:hover::before {
    opacity: 1;
}

/* Hover-эффекты только для устройств с поддержкой hover */
@media (hover: hover) {
    .query-category:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-color: rgba(74, 144, 226, 0.2);
    }
    
    .query-tag:hover {
        background: var(--primary-color);
        color: white !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-2px) scale(1.03) !important;
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }
    
    .query-tag:hover::before {
        left: 100%;
    }
}

/* Touch-устройства - активные состояния */
@media (hover: none) {
    .query-category {
        transition: all 0.2s ease;
    }
    
    .query-category:active {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-color: rgba(74, 144, 226, 0.15);
    }
    
    .query-tag:active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: scale(0.98);
    }
}

/* Focus-состояния для доступности */
.query-tag:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background: rgba(74, 144, 226, 0.12);
}

.query-tag:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Уменьшенная анимация для пользователей с настройками доступности */
@media (prefers-reduced-motion: reduce) {
    .query-category,
    .query-tag {
        transition: none;
    }
    
    .query-category:hover,
    .query-category:active {
        transform: none;
    }
    
    .query-tag:hover,
    .query-tag:active {
        transform: none;
    }
    
    .query-tag::before {
        display: none;
    }
}

.query-category h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.query-category h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.query-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.query-tag {
    display: inline-block;
    width: 100%;
    min-height: 70px;
    padding: 0.75rem 1.25rem;
    background: rgba(74, 144, 226, 0.08);
    border: 1px solid rgba(74, 144, 226, 0.15) !important;
    border-radius: 12px;
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.query-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

/* Адаптивность для Popular Queries */

/* Большие экраны */
@media (min-width: 1400px) {
    .popular-queries-section {
        padding: 6rem 0;
    }
    
    .popular-queries-grid {
        max-width: 1320px;
        gap: 2.5rem;
    }
    
    .query-category {
        padding: 2.5rem;
    }
    
    .query-category h3 {
        font-size: 1.5rem;
    }
    
    .query-tag {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Планшеты горизонтально и маленькие десктопы */
@media (max-width: 1024px) {
    .popular-queries-section {
        padding: 4rem 0;
    }
    
    .popular-queries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .query-category {
        padding: 1.75rem;
    }
}

/* Планшеты вертикально */
@media (max-width: 768px) {
    .popular-queries-section {
        padding: 3rem 0;
    }
    
    .popular-queries-header {
        margin-bottom: 3rem;
    }
    
    .popular-queries-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .popular-queries-header p {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .popular-queries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .query-category {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .query-category h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .query-tags {
        gap: 0.5rem;
    }
    
    .query-tag {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
        border-radius: 10px;
    }
}

/* Мобильные устройства */
@media (max-width: 480px) {
    .popular-queries-section {
        padding: 2.5rem 0;
    }
    
    .popular-queries-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .popular-queries-header h2 {
        font-size: 1.75rem;
    }
    
    .popular-queries-header p {
        font-size: 0.9375rem;
    }
    
    .popular-queries-grid {
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .query-category {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .query-category h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .query-category h3::after {
        width: 30px;
        height: 2px;
    }
    
    .query-tags {
        gap: 0.375rem;
    }
    
    .query-tag {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
        border-radius: 8px;
        line-height: 1.3;
    }
    .executors-preview {
        display: none;
    }
    .support-content {
        grid-template-columns: 1fr;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .popular-queries-section {
        padding: 2rem 0;
    }
    
    .popular-queries-header {
        padding: 0 0.75rem;
    }
    
    .popular-queries-header h2 {
        font-size: 1.5rem;
    }
    
    .popular-queries-grid {
        padding: 0 0.75rem;
    }
    
    .query-category {
        padding: 1rem;
    }
    
    .query-tag {
        padding: 0.4375rem 0.75rem;
        font-size: 0.6875rem;
    }
}

/* Анимации при скролле */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Секции до анимации */

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */

/* Основные мобильные стили */
@media (max-width: 768px) {
    /* Предотвращаем горизонтальный скролл */
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Ограничиваем все контейнеры */
    .container, .row, .col, [class*="col-"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Убираем минимальные ширины */
    * {
        min-width: auto !important;
    }
    
    /* Адаптивные таблицы */
    table {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    /* Адаптивные формы */
    form, .form-group {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Адаптивные кнопки */
    .btn, button, input[type="submit"], input[type="button"] {
        width: 100% !important;
        min-width: auto !important;
        margin: 5px 0 !important;
    }
}

/* Маленькие мобильные экраны */
@media (max-width: 480px) {
    /* Уменьшаем отступы */
    .container {
        padding: 10px !important;
    }
    
    /* Уменьшаем размер шрифта */
    body {
        font-size: 0.9rem !important;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    
    /* Скрываем ненужные элементы */
    .desktop-only {
        display: none !important;
    }
}
.hero-section,
.features-section,
.services-section,
.transparency-section,
.pricing-section,
.faq-section,
.contact-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.popular-queries-section,
.hero-section {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для уведомления о куки */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(119, 150, 198, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px !important;
    width: calc(100% - 40px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}

.cookie-notice-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    background: rgba(119, 150, 198, 0.1);
    border-radius: 12px;
    padding: 8px;
    margin-top: 4px;
}

.cookie-notice-text {
    flex: 1;
    margin-right: 16px;
}

.cookie-notice-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.cookie-notice-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: var(--accent-color);
}

.cookie-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    justify-content: center;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(119, 150, 198, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(119, 150, 198, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Мобильная адаптация уведомления о куки */
@media (max-width: 768px) {
    .cookie-notice {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(100px);
        width: auto;
        max-width: none;
    }
    
    .cookie-notice.show {
        transform: translateY(0);
    }
    
    .cookie-notice-content {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .cookie-notice-text {
        margin-right: 0;
    }
    
    .cookie-notice-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
}
/* Стили для модального окна приветствия повторных посетителей */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: welcomeModalFadeIn 0.3s ease;
}

@keyframes welcomeModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.welcome-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.welcome-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px !important;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: welcomeModalSlideIn 0.4s ease;
    z-index: 10001;
}

@keyframes welcomeModalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.welcome-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
}

.welcome-modal-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

.welcome-modal-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.welcome-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.welcome-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.welcome-btn-home {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.welcome-btn-home:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.welcome-btn-continue {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

.welcome-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.welcome-btn svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .welcome-modal-content {
        padding: 2rem;
        max-width: 90%;
    }
    
    .welcome-modal-title {
        font-size: 1.5rem;
    }
    
    .welcome-modal-text {
        font-size: 0.95rem;
    }
    
    .welcome-modal-buttons {
        flex-direction: column;
    }
    
    .welcome-btn {
        width: 100%;
    }
}

/* Стили для сворачиваемых секций для повторных посетителей */
.collapsible-section .section-content {
    max-height: 5000px;
    overflow: hidden !important;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out;
    opacity: 1;
}

.collapsible-section.collapsed .section-content {
    max-height: 0 !important;
    opacity: 0 !important;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.collapsible-section .toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
    font-size: 0.8em;
}

.collapsible-section.collapsed .toggle-icon {
    transform: rotate(0deg);
}

.collapsible-section:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
}

.collapsible-section .section-toggle {
    cursor: pointer;
    user-select: none;
}

.collapsible-section .section-toggle:hover {
    opacity: 0.9;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .collapsible-section .section-content {
        max-height: 8000px;
    }
}