/* ОБЩИЕ СТИЛИ */
        :root {
            --bg-color: #02020a;
            --text-color: #ffffff;
            --accent-gradient: linear-gradient(90deg, #ff8c42, #ff0055);
            --accent-pink: #e6005c;
            --accent-orange: #ff9933;
            --card-bg: rgba(255, 255, 255, 0.03);
            --border-radius: 20px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            overflow-x: hidden;
            line-height: 1.5;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

        /* ФОНОВЫЕ ЭФФЕКТЫ (Градиентные пятна) */
        .bg-glow {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            overflow: hidden;
        }

        .glow-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.4;
        }

        .blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: purple; }
        .blob-2 { bottom: 10%; right: -10%; width: 500px; height: 500px; background: blue; }
        .blob-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: var(--accent-pink); opacity: 0.2; }

        /* Стили для нового логотипа */
.main-logo {
    width: 70px;  /* Размер логотипа, можно менять */
    height: auto; /* Сохраняет пропорции */
    margin-right: 15px; /* Отступ от картинки до текста */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); /* Легкое свечение */
}



        /* HEADER */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            width: 100%;
            top: 0;
            z-index: 10;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;

            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            width: 100%;

            background: rgba(2, 2, 10, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 12px;
            text-transform: uppercase;
            max-width: 450px;
        }


        nav ul {
            display: flex;
            gap: 30px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }

        nav ul li a:hover {
            color: var(--accent-orange);
        }

.header-buttons {
    display: flex;
    gap: 15px;
}

        /* HERO SECTION */
        .hero {
            height: 85vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding-top: 80px;
            position: relative;
        }

.hero_all {
            height: 55vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding-top: 140px;
            position: relative;
        }

        .hero h1 {
            font-size: 68px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 50px;
            letter-spacing: 1px;
            line-height: 1.2;
        }

        .hero-buttons {
            display: flex;
            gap: 30px;
            z-index: 2;
        }

        .btn {
            padding: 15px 50px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            border: none;
            cursor: pointer;
            color: white;
            background: var(--accent-gradient);
            box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
            transition: transform 0.2s;
        }

        .btn:hover {
            transform: translateY(-3px);
        }

        /* ВОЛНЫ (Декоративные разделители) */
        .wave-separator {
            width: 100%;
            height: 150px;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ff9933" fill-opacity="1" d="M0,224L80,213.3C160,203,320,181,480,192C640,203,800,245,960,250.7C1120,256,1280,224,1360,208L1440,192L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: bottom;
            margin-top: -100px;
            position: relative;
            z-index: 1;
        }

        /* О БИРЖЕ */
.about {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
}
        .about-image {
    flex: 1;
    text-align: center;
}
        .about-text {
            max-width: 600px;
        }


        .about-text p {
            font-size: 14px;
            line-height: 1.6;
            color: #ccc;
        }
.about-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

        /* РОЗОВАЯ ПОЛОСА */
        .pink-divider {
            width: 100%;
            height: 80px;
            background: var(--accent-pink);
            margin: 50px 0;
            transform: skewY(-1deg); /* Легкий наклон как на макете */
        }

        /* ПРЕИМУЩЕСТВА */
        .benefits {
            padding: 80px 5%;
            text-align: center;
        }

                .section-title {
            text-align: center !important;
            display: block;
            width: 100%;
            margin-bottom: 40px;
        }
        .benefits-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
        }

        .benefit-item {
            width: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .benefit-icon {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
                        var(--accent-gradient) border-box;
            border: 6px solid transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        .benefit-icon svg {
            width: 40px;
            height: 40px;
            fill: white;
        }

        .benefit-text {
            font-size: 12px;
            line-height: 1.4;
        }

        /* УСЛУГИ */
        .services { padding: 80px 5%; }

        .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 40px;
    }

        .service-card {
            width: 300px;
            height: 250px;
            background: rgba(20, 20, 30, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 30px;
            text-align: left;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: 0.3s;

        }

        .service-card:hover {
            border-color: var(--accent-pink);
            transform: translateY(-5px);
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .card-icon {
            color: var(--accent-pink);
            font-size: 24px;
        }

        .card-title {
            font-size: 16px;
            font-weight: 700;
            line-height: 1.2;
        }

        /* ДЕКОРАТИВНЫЙ НИЗ */
        .footer-wave {
            width: 100%;
            height: 100px;
            background: linear-gradient(90deg, #ff8c42, #ff0055);
            clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
            position: absolute;
            bottom: 0;
        }

        /* АДАПТИВНОСТЬ */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 20px;
            }

            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero h1 {
                font-size: 32px;
                padding: 0 20px;
            }

            .about {
                flex-direction: column;
                text-align: center;
                gap: 40px;
            }

            .hero-buttons {
                flex-direction: column;
            }
        }

          /* Контейнер для волн */
.waves-container {
    position: relative;
    width: 100%;
    height: 150px; /* Высота волн */
    background: transparent;
    /*margin-top: -80px; !* Поднимаем вверх, чтобы перекрыть предыдущий блок *!*/
    z-index: 2;
    overflow: hidden;
}

/* Настройки самого SVG */
.waves {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
}

/* Анимация движения */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

/* Настраиваем каждый слой отдельно (скорость и задержка) */

/* 1. Задний слой (Темный) - самый медленный */
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

/* 2. Розовый слой */
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

/* 3. Оранжевый слой */
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

/* 4. Передний желтый слой - самый быстрый */
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

/* Сама анимация перемещения */
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Адаптив для мобильных (чтобы волны не были слишком высокими) */
@media (max-width: 768px) {
    .waves-container {
        height: 100px;
        margin-top: -50px;
    }
}

         /* --- 1. ОПРЕДЕЛЯЕМ АНИМАЦИИ --- */

    /* Морфинг (изменение формы) */
    @keyframes liquid-morph {
        0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
        50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
        100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    }

    /* Вращение (чтобы градиент переливался) */
    @keyframes spin-slow {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* --- 2. ОБЩИЕ НАСТРОЙКИ ДЛЯ ИКОНОК И БОЛЬШОГО КРУГА --- */
    .benefit-icon, .about-circle {
        /* Сбрасываем старые рамки и фоны */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    /* Размеры для иконок */
    .benefit-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    /* Размеры для большого круга */
    .about-circle {
        width: 300px;
        height: 300px;
        flex-shrink: 0;
    }

    /* --- 3. СОЗДАЕМ ЖИДКИЙ КОНТУР --- */

    /* Слой 1: ГРАДИЕНТ (Это сама рамка) */
    .benefit-icon::before, .about-circle::before {
        content: '';
        position: absolute;
        /* inset: -3px означает, что этот слой вылезает на 3px за пределы - это и есть толщина рамки */
        inset: -3px;
        background: linear-gradient(90deg, #ff9933, #ff0055, #e6005c, #ffcc00);
        background-size: 300% 300%; /* Чтобы градиент был насыщенным */
        z-index: -2; /* Самый нижний слой */

        /* Анимация */
        animation: liquid-morph 8s ease-in-out infinite, spin-slow 20s linear infinite;
    }

    /* Слой 2: МАСКА (Цвет фона сайта, закрывает центр) */
    .benefit-icon::after, .about-circle::after {
        content: '';
        position: absolute;
        /* inset: 0 означает, что этот слой точно по размеру контейнера */
        inset: 0;
        background: var(--bg-color); /* Тот же цвет, что и фон сайта (#02020a) */
        z-index: -1; /* Лежит поверх градиента, но под иконкой */

        /* ВАЖНО: Анимация должна быть ТОЧНО такой же, как у слоя выше, чтобы они двигались вместе */
        animation: liquid-morph 8s ease-in-out infinite, spin-slow 20s linear infinite;
    }

    /* --- 4. ДЕТАЛИ --- */

    /* Иконка должна лежать поверх всего */
    .benefit-icon svg {
        position: relative;
        z-index: 10;
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    }

    /* Убираем старый текст внутри большого круга если был, или декорации */
    .about-circle p {
        display: none;
    }

    /* Эффект при наведении: ускоряем движение и делаем рамку чуть толще */
    .benefit-item:hover .benefit-icon::before {
        animation-duration: 3s, 5s; /* Ускорение */
        filter: brightness(1.3);
        inset: -5px; /* Рамка становится толще */
        transition: inset 0.3s;
    }

       /* --- КОНТЕЙНЕР ДЛЯ ФИГУРЫ --- */
.glass-shape-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Перспектива для 3D эффекта */
    perspective: 1000px;
    filter: drop-shadow(0 0 60px rgba(138, 0, 230, 0.3)); /* Общее фиолетовое свечение */
}

.glass-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    /* Медленное покачивание всей фигуры */
    animation: float-glass 6s ease-in-out infinite;
}

/* --- ОБЩИЕ СТИЛИ ДЛЯ СЛОЕВ (КАПЕЛЬ) --- */
.glass-blob {
    position: absolute;
    top: 10%; left: 10%;
    width: 80%; height: 80%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    mix-blend-mode: screen; /* Режим наложения для создания светящихся пересечений */
    transition: all 1s ease;
}

/* --- НАСТРОЙКА СЛОЕВ (Цвета как на референсе) --- */

/* Слой 1: Темная основа (Фиолетовый/Синий) */
.layer-1 {
    background: linear-gradient(135deg, #4a00e0, #8e2de2);
    opacity: 0.7;
    animation: morph-spin 10s linear infinite;
    filter: blur(20px); /* Размытие для глубины */
    transform: translateZ(-50px); /* Уводим назад */
}

/* Слой 2: Переливы (Голубой, Розовый, Прозрачный) */
.layer-2 {
    background: linear-gradient(to right, #00c6ff, #0072ff, #ff00cc);
    opacity: 0.6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: morph-spin 15s linear infinite reverse; /* Крутится в другую сторону */
    transform: translateZ(0px);
}

/* Слой 3: "Золотые" и яркие блики (Имитация металла) */
.layer-3 {
    background: radial-gradient(circle at 30% 30%, rgba(255, 204, 0, 0.6), transparent 50%),
                linear-gradient(45deg, transparent 40%, rgba(255, 0, 200, 0.5) 100%);
    box-shadow: inset 10px 10px 30px rgba(255, 255, 255, 0.4),
                inset -10px -10px 30px rgba(255, 204, 0, 0.2); /* Золотой рефлекс внутри */
    animation: morph-spin 12s linear infinite;
    animation-delay: -2s; /* Рассинхрон */
    transform: translateZ(30px); /* Выдвигаем вперед */
}

/* Слой 4: Глянцевые грани (Самый верхний, создает ощущение стекла) */
.layer-4 {
    background: transparent;
    /* Тонкая светящаяся рамка */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.7),
                0 0 15px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: morph-spin 8s linear infinite reverse;
    transform: translateZ(60px) scale(0.95);
    filter: contrast(1.2);
}

/* --- АНИМАЦИИ --- */

/* Сложное вращение и изменение формы */
@keyframes morph-spin {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }
    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(360deg);
    }
}

/* Легкое парение всей композиции */
@keyframes float-glass {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(5deg); }
}

/* Адаптив для мобильных */
@media (max-width: 1024px) {
    .glass-shape-container {
        width: 300px;
        height: 300px;
        margin-top: 30px;
    }
}
        /* НОВОСТИ */
        .news {
            padding: 80px 5%;
            text-align: center;
            position: relative;
        }

        .news-grid {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-bottom: 50px;
        }

        .news-item {
            width: 350px;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: 0.4s;
            text-align: left;
            display: flex;
            flex-direction: column;
        }

        .news-item:hover {
            transform: translateY(-10px);
            border-color: var(--accent-orange);
            background: rgba(255, 255, 255, 0.05);
        }

        .news-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(45deg, #1a1a2e, #16213e); /* Заглушка, если нет фото */
            position: relative;
            overflow: hidden;
        }

        /* Эффект свечения для картинок */
        .news-image::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(0deg, var(--bg-color) 0%, transparent 100%);
            opacity: 0.6;
        }

        .news-content {
            padding: 25px;
        }

        .news-date {
            font-size: 12px;
            color: var(--accent-orange);
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
            text-transform: uppercase;
        }

        .news-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .news-description {
            font-size: 13px;
            color: #ccc;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .news-more {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-color);
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .news-more::after {
            content: '→';
            transition: 0.3s;
        }

        .news-item:hover .news-more::after {
            transform: translateX(5px);
            color: var(--accent-pink);
        }

        @media (max-width: 768px) {
            .news-item {
                width: 100%;
            }
        }

        /* ПРЕИМУЩЕСТВА (Обновленный стиль под Новости) */
        .benefits {
            padding: 80px 5%;
            text-align: center;
        }

        .benefits-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 25px;
        }

        .benefit-card {
            width: 280px;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 40px 25px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: 0.4s;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-pink);
            background: rgba(255, 255, 255, 0.07);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .benefit-icon-box {
            width: 70px;
            height: 70px;
            margin-bottom: 25px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(230, 0, 92, 0.1));
            border-radius: 15px;
            border: 1px solid rgba(230, 0, 92, 0.3);
            transition: 0.3s;
        }

        .benefit-card:hover .benefit-icon-box {
            background: var(--accent-gradient);
            transform: scale(1.1);
        }

        .benefit-icon-box i {
        font-size: 40px; /* Размер иконки */
        color: #ffcc00;  /* Ваш желтый акцентный цвет */
        /margin-bottom: 20px;
        display: inline-block;
        }

        .benefit-title {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5;
            color: #efefef;
        }

/* Стили для страницы Все объявления */
.all-ads-page {
    padding-top: 120px;
}

.section-title-center {
    font-size: 32px;
    text-align: center!important;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Сетка карточек */
.ads-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 260px); /* фикс ширина */
    gap: 16px;

    justify-content: start; /* НЕ растягивает */
}

.ad-card-v2 {
    display: flex;
    flex-direction: column;
}

.ad-thumb {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    /* Цветная полоска снизу картинки */
    border-bottom: 4px solid var(--accent-orange);
}

.ad-info .ad-cat-tag {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.ad-info .ad-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ad-info .ad-org {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Кнопка в стиле макета (контурная) */
.btn-ad-more {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    transition: 0.3s;
}

.btn-ad-more:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(230, 0, 92, 0.3);
}

@media (max-width: 1200px) {
    .ads-container {
        grid-template-columns: repeat(3, 260px);
    }
}

@media (max-width: 900px) {
    .ads-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .ads-container {
        grid-template-columns: 1fr;
    }
}

/* ФИЛЬТРЫ-КАТЕГОРИИ */
.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 5%;
    flex-wrap: wrap;
    z-index: 5;
    position: relative;
}

.filter-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    overflow: hidden; /* Чтобы полоска не вылезала за радиус */
}

.filter-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.filter-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
    stroke-width: 1.5;
}

.filter-label {
    padding: 0 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.5px;
    flex-grow: 1;
    line-height: 1.2;
}

/* Цветные полоски справа */
.accent-line {
    width: 6px;
    height: 50px;
    flex-shrink: 0;
}

/* Специфические цвета полосок из макета */
.line-orange { background: #ff9933; }
.line-pink   { background: #e6005c; }
.line-blue   { background: #000080; }
.line-coral  { background: #ff7f50; }
.line-grad   { background: linear-gradient(to bottom, #ff9933, #e6005c); }

/* Базовое состояние для анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Состояние, когда блок появляется в области видимости */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.public-filters-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.public-search-input,
.public-select {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    min-width: 220px;
    font-family: 'Montserrat', sans-serif;
}

.public-search-input::placeholder {
    color: #999;
}

.empty-state {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 40px;
    text-align: center;
    color: #ccc;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    grid-column: 1 / -1;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0 80px;
    flex-wrap: wrap;
}

.pagination-current {
    color: #ccc;
    font-size: 14px;
}

.listing-type-badge {
    font-size: 11px;
    color: var(--accent-pink);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.listing-image-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 5px solid var(--accent-orange);
}

.listing-image-box img {
    width: 100%;
    display: block;
    max-height: 520px;
    object-fit: cover;
    filter: brightness(0.85);
}

.detail-block {
    margin-bottom: 36px;
}

.detail-caption {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.detail-main-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-text {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.site-footer {
    padding: 140px 5% 40px;
    background: #000;
    text-align: left;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 50px;
    margin-bottom: 10px;
}

.footer-address {
    font-size: 11px;
    color: #555;
}

.footer-nav {
    font-size: 10px;
    text-transform: uppercase;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a:hover {
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .public-search-input,
    .public-select {
        width: 100%;
        min-width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.site-footer {
    padding: 120px 5% 40px;
    background: #000;
    text-align: left;
    position: relative;
    z-index: 3;
}

.footer-contact-box {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.footer-nav a {
    font-size: 20px;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--accent-orange);
}

.footer-brand-block {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.footer-logo-large {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.footer-address-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-address {
    font-size: 16px;
    color: #d7d7d7;
    margin: 0;
    line-height: 1.35;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-list,
.footer-info-list a,
.footer-worktime div,
.footer-account-note {
    font-size: 18px;
    color: #e5e5e5;
    line-height: 1.45;
}

.footer-info-list a:hover {
    color: var(--accent-orange);
}

.footer-account-note {
    color: #cfcfcf;
    max-width: 240px;
}

.footer-work-gap {
    height: 14px;
}

@media (max-width: 1200px) {
    .footer-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
    }

    .footer-nav-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 100px 5% 30px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .footer-nav a,
    .footer-info-list,
    .footer-info-list a,
    .footer-worktime div,
    .footer-account-note,
    .footer-address {
        font-size: 15px;
    }

    .footer-brand-block {
        align-items: center;
    }

    .footer-logo-large {
        width: 90px;
    }
}


/* =========================
   PUBLIC FORM PAGE
========================= */

.public-form-page {
    padding: 140px 5% 80px;
    position: relative;
    z-index: 2;
}

.public-form-container {
    max-width: 1200px;
    margin: 0 auto;
}

.public-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.public-form-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    font-weight: 700;
}

.public-form-title {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.public-back-btn {
    padding: 12px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
}

.public-back-btn:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.public-form-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.public-form-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.public-form-panel-head {
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.public-form-panel-head h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.public-form-panel-head p {
    margin: 0;
    font-size: 14px;
    color: #bcbcbc;
}

.public-form-panel-body {
    padding: 24px 28px 28px;
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.full-row {
    grid-column: 1 / -1;
}

.public-form-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 0 4px;
}

.public-form-help {
    margin-top: 10px;
    font-size: 13px;
    color: #cfcfcf;
}

.public-form-help.muted {
    color: #999;
}

.public-form-alert {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(230, 0, 92, 0.10);
    border: 1px solid rgba(230, 0, 92, 0.24);
    color: #ffd0de;
    font-size: 14px;
}

/* поля */
.public-form-page input[type="text"],
.public-form-page input[type="email"],
.public-form-page input[type="url"],
.public-form-page input[type="date"],
.public-form-page input[type="number"],
.public-form-page textarea,
.public-form-page select,
.public-form-page .form-control,
.public-form-page .form-select,
.public-dark-input,
.public-dark-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.65) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif;
}

.public-form-page input[type="text"],
.public-form-page input[type="email"],
.public-form-page input[type="url"],
.public-form-page input[type="date"],
.public-form-page input[type="number"],
.public-form-page select,
.public-form-page .form-control,
.public-form-page .form-select,
.public-dark-input,
.public-dark-select {
    min-height: 52px;
    padding: 0 16px !important;
}

.public-form-page textarea,
.public-form-page textarea.form-control {
    min-height: 130px;
    padding: 14px 16px !important;
    resize: vertical;
}

.public-form-page input::placeholder,
.public-form-page textarea::placeholder {
    color: #999 !important;
}

.public-form-page input:focus,
.public-form-page textarea:focus,
.public-form-page select:focus,
.public-form-page .form-control:focus,
.public-form-page .form-select:focus {
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 0 0.15rem rgba(255,153,51,0.18) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
}

.public-form-page input:disabled,
.public-form-page select:disabled,
.public-form-page .form-control:disabled,
.public-form-page .form-select:disabled {
    background: rgba(255,255,255,0.06) !important;
    color: #aaa !important;
    opacity: 1 !important;
}

.public-form-page label,
.public-form-page .form-label {
    color: #f2f2f2 !important;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.public-form-page .form-text,
.public-form-page small,
.public-form-page .text-muted,
.public-form-page .helptext {
    color: #a8a8a8 !important;
}

.public-form-page .invalid-feedback,
.public-form-page .text-danger,
.public-form-page .errorlist {
    color: #ff9fba !important;
}

.public-form-page .errorlist {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
}

.public-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

/* вложения */
.public-files-block {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.public-files-block h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.public-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.public-file-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.public-file-main a {
    color: #fff;
    word-break: break-word;
}

.public-file-main a:hover {
    color: var(--accent-orange);
}

.public-delete-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff9bb8;
    white-space: nowrap;
    cursor: pointer;
}

.public-delete-check input[type="checkbox"] {
    width: auto !important;
    min-height: auto !important;
    accent-color: var(--accent-pink);
}

.public-empty-note {
    color: #a0a0a0;
}

@media (max-width: 768px) {
    .public-form-page {
        padding: 120px 5% 60px;
    }

    .public-form-title {
        font-size: 28px;
    }

    .public-form-grid {
        grid-template-columns: 1fr;
    }

    .full-row {
        grid-column: auto;
    }

    .public-form-panel-head,
    .public-form-panel-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .public-file-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   DELETE PAGE
========================= */

.public-delete-wrap {
    max-width: 820px;
}

.public-delete-panel {
    margin-top: 10px;
}

.public-delete-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.public-delete-item {
    padding: 18px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.public-delete-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    font-weight: 700;
}

.public-delete-value {
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    word-break: break-word;
}

.public-delete-warning {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(230, 0, 92, 0.10);
    border: 1px solid rgba(230, 0, 92, 0.22);
    color: #ffd1df;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.public-delete-form {
    margin: 0;
}

.public-delete-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.public-danger-btn {
    padding: 15px 26px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #ff5a5a, #e6005c);
    box-shadow: 0 4px 18px rgba(230, 0, 92, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 0, 92, 0.42);
}

.public-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
}

.public-cancel-btn:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

@media (max-width: 768px) {
    .public-delete-meta {
        grid-template-columns: 1fr;
    }

    .public-delete-actions {
        flex-direction: column;
    }

    .public-danger-btn,
    .public-cancel-btn {
        width: 100%;
        text-align: center;
    }
}

.listing-action-btn-danger i {
    color: #ff6b8a;
}

.listing-action-btn-danger:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 24px rgba(230, 0, 92, 0.20);
}

@media (max-width: 768px) {
    .listing-actions-bar {
        width: 100%;
        flex-direction: column;
    }

    .listing-action-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================
   MY LISTINGS PAGE
========================= */

.my-listings-page {
    padding: 20px 5% 90px;
    position: relative;
    z-index: 2;
}

.my-listings-container {
    max-width: 1320px;
    margin: 0 auto;
}

.my-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.my-listings-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    font-weight: 700;
}

.section-title-left {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

.my-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.my-listing-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.my-listing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,153,51,0.35);
}

.my-listing-image-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-orange);
    background: rgba(255,255,255,0.02);
}

.my-listing-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.my-listing-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.my-listing-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.my-listing-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.status-published {
    background: rgba(80, 200, 120, 0.14);
    color: #8ff0a8;
    border: 1px solid rgba(80, 200, 120, 0.28);
}

.status-draft {
    background: rgba(255, 153, 51, 0.14);
    color: #ffbf7d;
    border: 1px solid rgba(255, 153, 51, 0.25);
}

.my-listing-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.my-listing-title a {
    color: #fff;
}

.my-listing-title a:hover {
    color: var(--accent-orange);
}

.my-listing-org {
    font-size: 13px;
    color: #b8b8b8;
    margin-bottom: 12px;
    line-height: 1.5;
}

.my-listing-text {
    font-size: 14px;
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

.my-listing-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.meta-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 5px;
}

.meta-value {
    display: block;
    font-size: 14px;
    color: #fff;
}

.my-listing-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.my-listing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.25s ease;
    flex: 1 1 auto;
    min-width: 120px;
}

.my-listing-btn i {
    color: var(--accent-orange);
}

.my-listing-btn:hover {
    border-color: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
}

.my-listing-btn-danger i {
    color: #ff6b8a;
}

.my-listing-btn-danger:hover {
    border-color: var(--accent-pink);
}

.my-listings-empty {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 34px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}

.my-listings-empty h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
}

.my-listings-empty p {
    font-size: 15px;
    color: #bcbcbc;
    margin-bottom: 24px;
}

@media (max-width: 1200px) {
    .my-listings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title-left {
        font-size: 28px;
    }

    .my-listings-grid {
        grid-template-columns: 1fr;
    }

    .my-listing-actions {
        flex-direction: column;
    }

    .my-listing-btn {
        width: 100%;
    }

    .my-listing-meta {
        grid-template-columns: 1fr;
    }
}


/* =========================
   MY LISTINGS PAGE
========================= */


/* =========================
   USER DROPDOWN
========================= */

.header-user {
    position: relative;
}

/* кнопка */
.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.25s;
}

.user-dropdown-trigger:hover {
    border-color: var(--accent-orange);
}

.user-dropdown-trigger i {
    color: var(--accent-orange);
}

.small-icon {
    font-size: 10px;
    opacity: 0.7;
}

/* меню */
.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 240px;

    background: rgba(20, 20, 30, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.6);

    padding: 10px;
    display: none;
    z-index: 999;
}

/* hover открытие */
.user-dropdown:hover .user-dropdown-menu {
    display: block;
}

/* пункты */
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;
    border-radius: 12px;

    font-size: 13px;
    color: #fff;
    transition: 0.2s;
}

.user-dropdown-menu a i {
    width: 18px;
    color: var(--accent-orange);
}

.user-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
}

/* разделитель */
.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 0;
}

/* logout */
.user-dropdown-menu a.logout i {
    color: #ff6b8a;
}

.user-dropdown-menu a.logout:hover {
    background: rgba(230, 0, 92, 0.15);
}

/* =========================
   USER DROPDOWN
========================= */

.header-user {
    position: relative;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

/* невидимый мостик между кнопкой и меню */
.user-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.25s;
}

.user-dropdown-trigger:hover {
    border-color: var(--accent-orange);
}

.user-dropdown-trigger i {
    color: var(--accent-orange);
}

.small-icon {
    font-size: 10px;
    opacity: 0.7;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 240px;

    background: rgba(20, 20, 30, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.6);

    padding: 10px;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

/* открытие */
.user-dropdown:hover .user-dropdown-menu,
.user-dropdown:focus-within .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: #fff;
    transition: 0.2s;
}

.user-dropdown-menu a i {
    width: 18px;
    color: var(--accent-orange);
}

.user-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 0;
}

.user-dropdown-menu a.logout i {
    color: #ff6b8a;
}

.user-dropdown-menu a.logout:hover {
    background: rgba(230, 0, 92, 0.15);
}

.my-listing-meta-text {
    font-size: 13px;
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.my-listing-meta-text strong {
    color: #fff;
    font-weight: 600;
}

.my-listing-org {
    font-size: 13px;
    color: #b8b8b8;
    margin-top: 6px;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* ===== ПОИСК ===== */

.public-search-block {
    max-width: 900px;
    margin: 0 auto 30px;
    display: flex;
    gap: 15px;
}

.main-search {
    flex: 1;
    height: 60px;
    font-size: 16px;
    padding: 0 20px;
    border-radius: 18px;
}

/* кнопка поиска */
.search-btn {
    height: 60px;
    padding: 0 30px;
    border-radius: 18px;
}

/* ===== ФИЛЬТРЫ ===== */

.public-filters-row {
    max-width: 1000px;
    margin: 0 auto 40px;

    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.public-filters-row .public-select {
    min-width: 220px;
    height: 48px;
    border-radius: 14px;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 768px) {
    .public-search-block {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .public-filters-row {
        flex-direction: column;
    }

    .public-filters-row .public-select {
        width: 100%;
    }
}

.reset-btn {
    height: 60px;
    padding: 0 25px;
    border-radius: 18px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    transition: 0.25s;
}

.reset-btn:hover {
    border-color: var(--accent-pink);
    color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

.detail-back {
    width: 100%;
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;

    color: #ccc;
    padding: 10px 14px;
    border-radius: 50px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.25s;
}

.back-link i {
    font-size: 12px;
}

.back-link:hover {
    color: #fff;
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px rgba(255, 140, 66, 0.3);
}

.listing-status-row {
    margin-top: 8px;
    margin-bottom: 6px;
}

.listing-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.listing-status-pill.status-draft {
    background: rgba(255, 153, 51, 0.14);
    color: #ffbf7d;
    border: 1px solid rgba(255, 153, 51, 0.25);
}

.listing-status-pill.status-submitted {
    background: rgba(90, 160, 255, 0.14);
    color: #9ec8ff;
    border: 1px solid rgba(90, 160, 255, 0.25);
}

.listing-status-pill.status-published {
    background: rgba(80, 200, 120, 0.14);
    color: #8ff0a8;
    border: 1px solid rgba(80, 200, 120, 0.28);
}

.listing-status-pill.status-rejected {
    background: rgba(230, 0, 92, 0.12);
    color: #ffafc9;
    border: 1px solid rgba(230, 0, 92, 0.24);
}

.inline-action-form {
    display: inline;
}

.listing-action-btn-submit {
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}

.listing-info-note {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(90, 160, 255, 0.10);
    border: 1px solid rgba(90, 160, 255, 0.20);
    color: #b9d7ff;
    font-size: 13px;
}


/* =========================
   NEWS SHOWCASE
========================= */

.news-showcase {
    padding: 90px 5%;
    position: relative;
    z-index: 2;
}

.news-showcase-header {
    max-width: 1320px;
    margin: 0 auto 34px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.news-showcase-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    font-weight: 700;
}

.news-showcase-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d6d6d6;
    border-bottom: 1px solid transparent;
}

.news-showcase-link:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.news-showcase-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 30px;
}

.news-feature-card {
    background: var(--card-bg);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.news-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,153,51,0.35);
}

.news-feature-image {
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-orange);
}

.news-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.news-feature-content {
    padding: 28px;
}

.news-feature-date {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.news-feature-title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.news-feature-text {
    font-size: 15px;
    line-height: 1.8;
    color: #cfcfcf;
    margin-bottom: 20px;
}

.news-feature-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.news-feature-more::after {
    content: "→";
    transition: 0.25s ease;
}

.news-feature-more:hover {
    color: var(--accent-orange);
}

.news-feature-more:hover::after {
    transform: translateX(4px);
}

.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-side-card {
    background: rgba(255,255,255,0.04);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 24px 24px 22px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
    transition: 0.3s ease;
}

.news-side-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 0, 92, 0.35);
}

.news-side-date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.news-side-title {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.news-side-more {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d8d8d8;
}

.news-side-more:hover {
    color: var(--accent-orange);
}

@media (max-width: 1024px) {
    .news-showcase-grid {
        grid-template-columns: 1fr;
    }

    .news-feature-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .news-showcase {
        padding: 70px 5%;
    }

    .news-feature-image {
        height: 240px;
    }

    .news-feature-content,
    .news-side-card {
        padding: 20px;
    }

    .news-feature-title {
        font-size: 20px;
    }

    .news-side-title {
        font-size: 16px;
    }
}

/* боковые новости с картинкой */
.news-side-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.news-side-image {
    width: 110px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
}

.news-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-side-content {
    flex: 1;
}

.news-side-text {
    font-size: 13px;
    color: #bfbfbf;
    line-height: 1.6;
    margin-top: 8px;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.news-modal.active {
    display: block;
}

.news-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}

/* контейнер для прокрутки */
.news-modal-scroll {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 40px 20px;
}

.news-modal-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.news-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}

.news-modal-image {
    height: 320px;
    overflow: hidden;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 28px;
}

.news-modal-date {
    color: var(--accent-orange);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.news-modal-body h2 {
    margin: 12px 0 16px;
    font-size: 26px;
}

.news-modal-body p {
    line-height: 1.8;
    color: #ccc;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .news-modal-scroll {
        padding: 20px 12px;
    }

    .news-modal-image {
        height: 220px;
    }

    .news-modal-body {
        padding: 20px;
    }

    .news-modal-body h2 {
        font-size: 22px;
    }
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card-image {
    height: 180px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 18px;
}

.news-card-title {
    font-size: 18px;
    margin: 10px 0;
}

.news-card-text {
    font-size: 14px;
    color: #bbb;
}


.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-meta {
    margin-bottom: 10px;
    color: #aaa;
}

.news-detail-image {
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-text {
    font-size: 16px;
    line-height: 1.7;
    color: #ddd;
}

.news-detail-actions {
    margin-top: 30px;
}

.news-page {
    padding: 30px 5% 90px;
    position: relative;
    z-index: 2;
}

.news-page-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.news-card-link {
    display: block;
}

.news-card {
    height: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,153,51,0.35);
}

.news-card-image {
    height: 220px;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-orange);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-body {
    padding: 20px;
}

.news-card-date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 0.8px;
}

.news-card-title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.news-card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #c7c7c7;
    margin: 0;
}

@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .news-page {
        padding: 20px 5% 70px;
    }

    .news-page-container {
        padding: 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-title {
        font-size: 18px;
    }
}

.news-detail {
    padding: 40px 5% 100px;
}

.news-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-detail-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px 35px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* дата */
.news-detail-meta {
    margin-bottom: 15px;
}

.news-detail-date {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 1px;
}

/* картинка */
.news-detail-image {
    margin: 20px 0 30px;
    border-radius: 20px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* текст */
.news-detail-text {
    font-size: 16px;
    line-height: 1.8;
    color: #d6d6d6;
}

.news-detail-text p {
    margin-bottom: 18px;
}

/* кнопка */
.news-detail-actions {
    margin-top: 35px;
}

/* мобилка */
@media (max-width: 768px) {
    .news-detail {
        padding: 20px 5% 60px;
    }

    .news-detail-card {
        padding: 20px;
    }

    .news-detail-text {
        font-size: 15px;
    }
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.news-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.news-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.news-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    height: min(84vh, 820px);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(14, 14, 22, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
    animation: newsModalIn 0.22s ease;
}

@keyframes newsModalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.news-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.news-modal-close:hover {
    background: rgba(230, 0, 92, 0.25);
    color: var(--accent-orange);
}

.news-modal-media {
    position: relative;
    height: 100%;
    min-height: 320px;
    background: #0a0a10;
}

.news-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92);
}

.news-modal-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.news-modal-head {
    padding: 34px 34px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.news-modal-date {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
}

.news-modal-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.news-modal-text-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 34px 34px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.22) transparent;
}

.news-modal-text-wrap::-webkit-scrollbar {
    width: 8px;
}

.news-modal-text-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.news-modal-text-wrap::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.20);
    border-radius: 999px;
}

.news-modal-text {
    font-size: 15px;
    line-height: 1.9;
    color: #d3d3d3;
    white-space: normal;
    word-break: break-word;
}

.news-modal-text br {
    content: "";
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .news-modal.active {
        padding: 14px;
    }

    .news-modal-dialog {
        grid-template-columns: 1fr;
        height: min(88vh, 920px);
    }

    .news-modal-media {
        height: 240px;
        min-height: 240px;
    }

    .news-modal-head {
        padding: 22px 20px 14px;
    }

    .news-modal-title {
        font-size: 24px;
    }

    .news-modal-text-wrap {
        padding: 18px 20px 22px;
    }
}

.news-check-wrap {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.news-check-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-pink);
}

.services {
    padding: 60px 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 26px;
    border-left: 4px solid transparent;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* цвета */
.service-pink { border-color: #e6005c; }
.service-yellow { border-color: #ffcc00; }
.service-blue { border-color: #0055ff; }

.card-icon {
    font-size: 22px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

/* список */
.card-list {
    padding-left: 18px;
    margin-bottom: 16px;
}

.card-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #cfcfcf;
}

/* текст */
.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #cfcfcf;
    margin-bottom: 16px;
}

/* срок */
.card-term {
    margin-top: 10px;
    font-weight: 600;
    color: #fff;
}

.card-term span {
    color: var(--accent-orange);
    margin-right: 6px;
}

/* примечание */
.card-note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

/* мобилка */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* В РЯД */
    gap: 20px;
}

.service-card {
    padding: 20px;
    border-radius: 16px;
    background: var(--card-bg);
    border-right: 4px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-pink { border-color: #e6005c; }
.service-yellow { border-color: #ffcc00; }
.service-blue { border-color: #0055ff; }
.service-green { border-color: #25c933; }
.service-purple { border-color: #8725c9; }
.service-red { border-color: #ef0f0f; }


.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #cfcfcf;
    margin-bottom: 14px;
}

/* низ карточки */
.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-term {
    font-weight: 600;
    font-size: 14px;
}

/* ссылка */
.card-link {
    font-size: 13px;
    color: #ff9933;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* мобилка */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 в ряд */
    gap: 16px;
}

/* компактная карточка */
.service-card {
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: var(--card-bg);
    border-right: 3px solid transparent;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 160px; /* фикс компактной высоты */
}

/* иконка меньше */
.card-icon {
    font-size: 14px;
    margin-bottom: 6px;
}

/* заголовок компактный */
.card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* текст компактный */
.card-desc {
    font-size: 12.5px;
    line-height: 1.4;
    color: #cfcfcf;
    margin-bottom: 6px;

    /* ограничение высоты (чтобы не растягивалось) */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* футер */
.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* срок */
.card-term {
    font-size: 12px;
    font-weight: 600;
}

/* ссылка */
.card-link {
    font-size: 12px;
    color: #ff9933;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* адаптив */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.listing-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* чтобы form не ломала flex */
.inline-action-form {
    display: inline;
}

/* базовая кнопка */
.listing-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;

    border-radius: 8px;
    border: none;

    cursor: pointer;
    text-decoration: none;

    background: #2b2b2b;
    color: #fff;

    transition: all 0.2s ease;
}

/* hover */
.listing-action-btn:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

/* иконка */
.listing-action-btn i {
    font-size: 12px;
}

/* удалить */
.listing-action-btn-danger {
    background: #7a1f1f;
}

.listing-action-btn-danger:hover {
    background: #a32a2a;
}

/* отправить */
.listing-action-btn-submit {
    background: #196d3c;
}

.listing-action-btn-submit:hover {
    background: #249256;
}

.listing-stats-bar {
    max-width: 1200px;
    margin: 10px auto 35px;
    padding: 0 5%;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.listing-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

.listing-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,153,51,0.35);
}

.listing-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #bdbdbd;
    margin-bottom: 8px;
    font-weight: 600;
}

.listing-stat-value {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 992px) {
    .listing-stats-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .listing-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-stat-value {
        font-size: 24px;
    }
}

.market-stats {
    padding: 90px 5%;
    position: relative;
    z-index: 2;
}

.market-stats-header {
    max-width: 1320px;
    margin: 0 auto 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.market-stats-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    font-weight: 700;
}

.market-stats-subtitle {
    max-width: 420px;
    margin: 0;
    color: #bdbdbd;
    line-height: 1.6;
    font-size: 14px;
}

.market-stats-layout {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 28px;
}

.market-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.market-kpi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.2);
    transition: 0.25s ease;
}

.market-kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,153,51,0.35);
}

.market-kpi-card.accent {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.12), rgba(230, 0, 92, 0.12));
    border-color: rgba(255,153,51,0.25);
}

.market-kpi-label {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    color: #bfbfbf;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.market-kpi-value {
    display: block;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.market-distribution-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}

.market-distribution-head {
    margin-bottom: 24px;
}

.market-distribution-head h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
}

.market-distribution-head span {
    color: #a9a9a9;
    font-size: 14px;
}

.market-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.market-bar-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.market-bar-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.market-bar-top span {
    color: #d7d7d7;
}

.market-bar-top strong {
    color: #fff;
}

.market-bar-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.market-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.fill-orange { background: linear-gradient(90deg, #ff9933, #ffb566); }
.fill-pink   { background: linear-gradient(90deg, #e6005c, #ff4d94); }
.fill-blue   { background: linear-gradient(90deg, #0055ff, #4d8cff); }
.fill-purple { background: linear-gradient(90deg, #7a3cff, #a56bff); }
.fill-green  { background: linear-gradient(90deg, #1fa64a, #4fd47f); }
.fill-cyan   { background: linear-gradient(90deg, #00bcd4, #5ee7f5); }
.fill-red    { background: linear-gradient(90deg, #e53935, #ff7b72); }

.market-distribution-note {
    margin-top: 22px;
    font-size: 13px;
    color: #9f9f9f;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .market-stats-layout {
        grid-template-columns: 1fr;
    }

    .market-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .market-stats {
        padding: 70px 5%;
    }

    .market-kpi-grid {
        grid-template-columns: 1fr;
    }

    .market-kpi-value {
        font-size: 34px;
    }

    .market-distribution-card {
        padding: 20px;
    }
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-modal-card {
    width: min(980px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(8, 8, 16, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: auto;
    animation: cookieSlideUp 0.35s ease;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-text h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.cookie-modal-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #cfcfcf;
    max-width: 700px;
}

.cookie-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease;
}

.cookie-btn-primary {
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 4px 18px rgba(255, 0, 85, 0.28);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
    .cookie-modal {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-modal-card {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        gap: 16px;
        border-radius: 18px;
    }

    .cookie-modal-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal-text h3 {
        font-size: 18px;
    }

    .cookie-modal-text p {
        font-size: 13px;
    }
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.partners {
    padding: 80px 5%;
    text-align: center;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

/* Лента */
.partners-track {
    display: flex;
    gap: 60px;
    width: max-content;

    animation: scrollPartners 150s linear infinite;
}

/* Логотипы */
.partner-logo {
    height: 180px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Анимация */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}
.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #02020a, transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #02020a, transparent);
}
/* Заголовки */
.footer-title {
    font-size: 16px; /* было ~20px */
    margin-bottom: 14px;
}

/* Навигация */
.footer-nav a {
    font-size: 14px; /* было ~20px */
}

/* Основной текст */
.footer-info-list,
.footer-info-list a,
.footer-worktime div,
.footer-account-note {
    font-size: 14px; /* было ~18px */
}

/* Адрес */
.footer-address {
    font-size: 13px; /* было ~16px */
}

/* Копирайт */
.footer-copy {
    font-size: 12px; /* чуть меньше */
}

.listing-hero-card {
    width: 100%;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;

    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.listing-hero-media {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.listing-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-hero-info {
    min-width: 0;
}

.listing-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.listing-hero-meta-item .detail-caption {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .listing-hero-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .listing-hero-media {
        width: 100%;
        max-width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .listing-hero-meta {
        grid-template-columns: 1fr;
    }
}

.detail-link-block {
    margin-top: 10px;
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    border-radius: 50px;

    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.3);

    color: #ff9933;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;

    transition: 0.25s ease;
}

.detail-link i {
    font-size: 12px;
    transition: 0.25s;
}

/* hover эффект */
.detail-link:hover {
    background: linear-gradient(90deg, #ff8c42, #ff0055);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.3);
}

.detail-link:hover i {
    transform: translate(2px, -2px);
}

.detail-caption {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 10px;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.detail-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.detail-text {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.92);
}

.detail-block {
    margin-bottom: 24px;
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.detail-grid > div {
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.detail-text strong {
    color: #ffcc66;
    font-weight: 700;
}

.detail-text a {
    color: #ffb14d;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,177,77,0.45);
    transition: 0.2s ease;
}

.detail-text a:hover {
    color: #fff;
    border-color: var(--accent-orange);
}

@media (max-width: 768px) {
    .detail-main-title {
        font-size: 24px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-block,
    .detail-grid > div {
        padding: 18px;
    }
}

.hero-list{
    height: 60vh;
}

.about-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
}

.about-goal-card {
    position: relative;
    padding: 24px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.10), rgba(230, 0, 92, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.about-goal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,153,51,0.10), rgba(230,0,92,0.06));
    pointer-events: none;
}

.about-goal-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #ffb566;
}

.about-goal-text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #f3f3f3 !important;
}

@media (max-width: 768px) {
    .about-goal-card {
        padding: 20px 18px;
        text-align: left;
    }

    .about-goal-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

.about-goal-card {
    position: relative;
    padding: 24px 26px 24px 30px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.10), rgba(230, 0, 92, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.about-goal-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9933, #ff0055);
}

.about {
    padding: 90px 5%;
    position: relative;
    z-index: 2;
}

.about-container-modern {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.about-image-modern {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-modern img {
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    display: block;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.08);
}

.about-text-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
}

/* общие карточки */
.about-intro-card,
.about-list-card,
.about-goal-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* вступление */
.about-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-orange);
}

.about-subtitle {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.about-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #d2d2d2;
}

/* заголовок карточек */
.about-card-title {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

/* список */
.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.about-feature-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #d7d7d7;
}

.about-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9933, #ff0055);
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.35);
}

/* цель — сделать акцентнее */
.about-goal-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.10), rgba(230, 0, 92, 0.10));
    border: 1px solid rgba(255,153,51,0.18);
}

.about-goal-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9933, #ff0055);
}

.about-card-title-goal {
    padding-left: 14px;
    color: #ffbe7a;
}

.about-goal-text {
    margin: 0;
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.85;
    color: #f1f1f1;
}

.about-buttons {
    margin-top: 6px;
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .about-container-modern {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-image-modern {
        order: 1;
    }

    .about-text-modern {
        order: 2;
        max-width: 100%;
    }

    .about-image-modern img {
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 70px 5%;
    }

    .about-intro-card,
    .about-list-card,
    .about-goal-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .about-subtitle {
        font-size: 22px;
    }

    .about-lead,
    .about-feature-list li,
    .about-goal-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .about-buttons {
        justify-content: center;
    }
}

.about-image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 28px;
}

/* затемнение картинки */
.about-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 30px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.2),
        transparent
    );
}

/* кнопка */
.about-image-btn {
    padding: 14px 34px;
    font-size: 13px;

    backdrop-filter: blur(6px);
    background: linear-gradient(90deg, #ff8c42, #ff0055);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.35);
}

/* hover эффект */
.about-image-wrapper:hover img {
    transform: scale(1.05);
    transition: 0.5s;
}

.about-image-wrapper img {
    transition: 0.5s;
}

.about-container-modern {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: center; /* 🔥 ключевое — выравнивает по центру */
}

.about-image-modern {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-inner {
    width: 100%;
    max-width: 460px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-image-inner img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;

    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}

.market-empty-note {
    font-size: 14px;
    color: #a8a8a8;
    line-height: 1.6;
    padding: 8px 0;
}
.market-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    flex: none;
}
.market-bar-fill {
    min-width: 4px; /* чтобы нули были видны */
}

/*.waves {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    filter:*/
/*        drop-shadow(0 0 18px rgba(0, 201, 107, 0.18))*/
/*        drop-shadow(0 0 10px rgba(255, 40, 90, 0.10));*/
/*}*/

/* =========================
   FOOTER
========================= */

.site-footer {
    position: relative;
    z-index: 3;
    padding: 90px 5% 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
        #000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-box {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.1fr 1fr 1fr 1fr;
    gap: 36px 28px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-nav-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
}

.footer-brand-block a {
    display: inline-flex;
    align-items: center;
}

.footer-logo-large {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-brand-block a:hover .footer-logo-large {
    transform: translateY(-2px);
    opacity: 0.92;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
}

.footer-nav a {
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    line-height: 1.5;
    color: #f2f2f2;
    text-transform: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-orange);
    transform: translateX(3px);
}

.footer-address-block {
    margin-bottom: 14px;
}

.footer-address {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #cfcfcf;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-list a,
.footer-worktime div {
    font-size: 14px;
    line-height: 1.6;
    color: #e8e8e8;
}

.footer-info-list a {
    width: fit-content;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-info-list a:hover {
    color: var(--accent-orange);
    transform: translateX(3px);
}

.footer-worktime {
    gap: 6px;
}

.footer-worktime strong {
    color: #fff;
    font-weight: 700;
}

.footer-work-gap {
    height: 6px;
}

.footer-bottom {
    max-width: 1320px;
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.3px;
}

/* =========================
   FOOTER RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .footer-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .footer-nav-col {
        grid-column: 1 / -1;
    }

    .footer-brand-block {
        padding-bottom: 2px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 70px 5% 24px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-nav-col {
        grid-column: auto;
    }

    .footer-logo-large {
        width: 120px;
    }

    .footer-title {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .footer-nav a,
    .footer-info-list a,
    .footer-worktime div,
    .footer-address {
        font-size: 14px;
        line-height: 1.55;
    }

    .footer-bottom {
        margin-top: 26px;
        padding-top: 14px;
    }

    .footer-copy {
        font-size: 11px;
    }
}

.kind-invention   { --kind-color: #ff9933; }
.kind-utility     { --kind-color: #4d8cff; }
.kind-design      { --kind-color: #a56bff; }
.kind-trademark   { --kind-color: #ff4d94; }
.kind-plant       { --kind-color: #4fd47f; }
.kind-software    { --kind-color: #5ee7f5; }
.kind-knowhow     { --kind-color: #ff7b72; }

.my-listings-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1400px) {
    .my-listings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .my-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.my-listing-card {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    transition: 0.2s;
}

.my-listing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,153,51,0.35);
}

.my-listing-image-box {
    height: 120px; /* было 240 → уменьшаем */
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    margin-bottom: 10px;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);

    position: relative;
}

.my-listing-image-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.01)
    );

    border-left: 3px solid var(--kind-color);
}

.my-listing-image-box img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.my-listing-title {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.my-listing-org {
    font-size: 11px;
    margin-bottom: 6px;
}

.my-listing-text {
    font-size: 12px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ads-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    padding: 0 5% 80px;
}

@media (max-width: 1400px) {
    .ads-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .ads-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ads-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ads-container {
        grid-template-columns: 1fr;
    }
}

.listing-mini-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.listing-mini-card {
    height: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
}

.listing-mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,153,51,0.35);
}

.listing-mini-image-box {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.listing-mini-image-box img {
    max-width: 72%;
    max-height: 72%;
    object-fit: contain;
    display: block;
}

/* цветовые акценты */
.kind-invention .listing-mini-image-box { border-top: 3px solid #ff9933; }
.kind-utility_model .listing-mini-image-box { border-top: 3px solid #4d8cff; }
.kind-industrial_design .listing-mini-image-box { border-top: 3px solid #a56bff; }
.kind-trademark .listing-mini-image-box { border-top: 3px solid #ff4d94; }
.kind-plant_variety .listing-mini-image-box { border-top: 3px solid #4fd47f; }
.kind-software .listing-mini-image-box { border-top: 3px solid #5ee7f5; }
.kind-know_how .listing-mini-image-box { border-top: 3px solid #ff7b72; }

.listing-mini-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.listing-mini-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-orange);
    font-weight: 700;
    line-height: 1.4;
}

.listing-mini-title {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.listing-mini-org {
    font-size: 11px;
    line-height: 1.45;
    color: #bdbdbd;
}

.listing-mini-text {
    font-size: 12px;
    line-height: 1.5;
    color: #d2d2d2;
    margin: 0;
}


.listing-mini-image-box {
    height: 90px; /* было 120 → уменьшаем */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* сама PNG */
.listing-mini-image-box img {
    max-width: 55px;
    max-height: 55px;
    object-fit: contain;
    opacity: 0.9;
    transition: 0.2s ease;
}

/* hover эффект */
.listing-mini-card:hover .listing-mini-image-box img {
    transform: scale(1.1);
    opacity: 1;
}

.kind-invention img {
    filter: drop-shadow(0 0 8px rgba(255,153,51,0.4));
}

.kind-software img {
    filter: drop-shadow(0 0 8px rgba(94,231,245,0.4));
}

.kind-trademark img {
    filter: drop-shadow(0 0 8px rgba(255,77,148,0.4));
}

.listing-hero-media {
    width: 220px;
    height: 220px;

    border-radius: 24px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

/* обычные картинки */
.listing-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ИКОНКА (ключевое) */
.listing-hero-media img.hero-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;

    filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.3));
}

.listing-hero-media::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255,153,51,0.25),
        transparent 70%
    );

    filter: blur(20px);
}

.ads-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 6 в ряд */
    gap: 16px;
    padding: 0 5% 80px;
}

.listing-mini-card {
    height: 260px; /* 🔥 фиксируем высоту */

    display: flex;
    flex-direction: column;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    overflow: hidden;

    transition: 0.25s ease;
}

.listing-mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,153,51,0.35);
}

.listing-mini-image-box {
    height: 80px; /* фикс */

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0; /* 🔥 важно */
}

.listing-mini-body {
    padding: 12px;

    display: flex;
    flex-direction: column;
    flex-grow: 1;

    overflow: hidden; /* 🔥 важно */
}

.listing-mini-title {
    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 5; /* максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-mini-desc {
    font-size: 12px;
    color: #bbb;

    margin-top: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2; /* максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-mini-footer {
    margin-top: auto; /* 🔥 прижимает вниз */
    font-size: 11px;
    color: #888;
}

@media (max-width: 1200px) {
    .ads-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .ads-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px 0 80px;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.pagination-btn:hover,
.pagination-page:hover {
    border-color: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
}

.pagination-page.active {
    background: linear-gradient(90deg, #ff8c42, #ff0055);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.22);
}

.pagination-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.pagination-dots {
    color: #888;
    font-size: 18px;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .pagination-wrap {
        gap: 10px;
    }

    .pagination-btn,
    .pagination-page {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 12px;
    }
}

.info-modal[hidden] {
    display: none !important;
}

.info-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.info-modal-card {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    padding: 32px 28px 26px;
    border-radius: 26px;
    background: rgba(10, 10, 18, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    text-align: center;
    animation: infoModalShow 0.28s ease;
}

@keyframes infoModalShow {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.info-modal-close:hover {
    background: rgba(230, 0, 92, 0.20);
    color: var(--accent-orange);
}

.info-modal-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,153,51,0.16), rgba(230,0,92,0.16));
    border: 1px solid rgba(255,255,255,0.08);
}

.info-modal-icon i {
    font-size: 30px;
    color: var(--accent-orange);
}

.info-modal-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.info-modal-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #d2d2d2;
}

.info-modal-card a {
    color: var(--accent-orange);
    font-weight: 600;
}

.info-modal-card a:hover {
    color: #fff;
}

.info-modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .info-modal-card {
        padding: 26px 18px 20px;
        border-radius: 20px;
    }

    .info-modal-card h3 {
        font-size: 20px;
    }

    .info-modal-card p {
        font-size: 14px;
        line-height: 1.7;
    }
}

.test-mode-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

/* карточка */
.test-mode-floating-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;
    border-radius: 16px;

    background: rgba(10, 10, 18, 0.85);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);

    transition: 0.25s ease;
}

/* hover эффект */
.test-mode-floating-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-orange);
}

/* иконка */
.test-mode-floating-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(255,153,51,0.2),
        rgba(230,0,92,0.15)
    );

    flex-shrink: 0;
}

.test-mode-floating-icon i {
    color: var(--accent-orange);
    font-size: 18px;
}

/* текст */
.test-mode-floating-content {
    display: flex;
    flex-direction: column;
}

.test-mode-floating-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
}

.test-mode-floating-content p {
    margin: 0;
    font-size: 12px;
    color: #ccc;
}

.test-mode-floating-content a {
    color: var(--accent-orange);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,153,51,0.4);
}

.test-mode-floating-content a:hover {
    color: #fff;
}

/* кнопка закрытия */
.test-mode-floating-close {
    position: absolute;
    top: -8px;
    right: -8px;

    width: 22px;
    height: 22px;

    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.7);
    color: #fff;

    font-size: 14px;
    cursor: pointer;

    transition: 0.2s;
}

.test-mode-floating-close:hover {
    background: var(--accent-pink);
}


.ads-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 260px);
    gap: 16px;

    justify-content: center; /* ← ВОТ ЭТО ГЛАВНОЕ */
}

@media (max-width: 1200px) {
    .ads-container {
        grid-template-columns: repeat(3, 260px);
    }
}

@media (max-width: 900px) {
    .ads-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .ads-container {
        grid-template-columns: 1fr;
    }
}


.listing-mini-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* статус */
.listing-mini-status {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
}

/* цвета */
.status-draft {
    background: rgba(255,153,51,0.15);
    color: #ffbf7d;
}

.status-submitted {
    background: rgba(90,160,255,0.15);
    color: #9ec8ff;
}

.status-published {
    background: rgba(80,200,120,0.15);
    color: #8ff0a8;
}

.status-rejected {
    background: rgba(112, 34, 34, 0.15);
    color: #ef0f0f;
}

/* требования перед созданием */
.public-requirements-box {
    margin-bottom: 28px;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 20px 24px;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        rgba(255,153,51,0.08),
        rgba(230,0,92,0.06)
    );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.public-requirements-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(255,255,255,0.05);
}

.public-requirements-icon i {
    font-size: 24px;
    color: #ff9933;
}

.public-requirements-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.public-requirements-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #f2f2f2;
}

.public-requirements-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;

    color: var(--accent-orange);
}

.public-requirements-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .public-requirements-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }
}