body {
    background-color: #fefefeff;
}
h1 {
    font-family: 'Victor Mono', monospace;
}
p, li {
    line-height: 1.35em;
    font-size: 1.2em;
    font-family: 'Victor Mono', monospace;
    font-size: 1.2em;
    font-weight: 550;
    letter-spacing: -0.02em;
}
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1em;
}
header {
    max-width: 760px;
    padding-top: 2em;
    padding-bottom: 0em;
}
footer {
    position: relative;
    border-top: 2px solid #000;
    margin-top: 18em;
    font-size: 0.8em;
    padding-bottom: 0.9em;
    padding-left: 0em;
    padding-right: 0em;

    .copy {
        border-top: 1px dashed #7b7b7b;
        opacity: 0.5;
        padding-top: 0.5em;
        margin-bottom: 0;
        padding-left: 1.7em;
    }
}

h3 {
    font-family: 'Victor Mono', monospace;
    margin-bottom: 0.3em !important;
}

h2 {
    font-family: 'Victor Mono', monospace;
    letter-spacing: -0.05em;
    font-size: 3em !important;
    text-align: center;
    font-style: italic;
}

.call-to-action {
    background-color: #f4f4f4;
    padding: 1em;
    margin-top: 2em;
    text-align: center;
    min-height: 10em;
}
.services {
    position: relative;
    overflow: unset;
}
.price {
    width: 25%;
}

h2 {
    margin-bottom: 0.5em;
    font-size: 2.5em;
}
h3 {
    margin-bottom: 0.3em;
    font-size: 1em;
}
h3 + p,
h2 + p {
    margin-top: 0.2em;
}
ul {
    margin-bottom: 0.5em;

    li {
        margin-bottom: 0.4em;
    }
}
p + ul {
    margin-top: 0.5em;
}
p:has(+ ul) {
    margin-bottom: 0.2em;
}
.letter {
    position: relative;
    /* background: #fff1d3ff; */
    /* background: 
	linear-gradient(200deg, rgba(255, 247, 227, 1), rgba(255, 255, 255, 1)),
	url("data:image/svg+xml,%3Csvg viewBox='0 0 285 285' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='10' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); */
    background: #fffdf7ff;
    padding: 2em 3.5em 3em 3em;
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.075), 0 0 0.1em 0.02em rgba(0,0,0, 0.025), 0 0.4em 1.6em -0.8em rgba(0,0,0, 0.1), 0 0.8em 1.2em -1.6em rgba(0,0,0, 0.2), 0 1.2em 1.6em -2.4em rgba(0,0,0,0.3), 0 1.6em 2.4em -3.2em rgba(0,0,0,0.4);
    border-radius: 0.09em;
    max-width: 35em;
    margin: 2em auto;

        background-color: #fffaeaff;
background-image: url("https://www.transparenttextures.com/patterns/lined-paper-2.png");
    &:before {
        content: "";
        position: absolute;
        top: -0.1em;
        left: -2em;
        width: 101%;
        height: 101%;
        z-index: -1;
        /* background: linear-gradient(180deg, rgba(255, 248, 232, 1), rgba(255,255,255,1)),
	    url("data:image/svg+xml,%3Csvg viewBox='0 0 285 285' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='10' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); */
        background: #a28527ff;
        transform: rotate(-2.3deg);
        pointer-events: none;
        box-shadow: 0 0 0 1px rgba(0,0,0, 0.075), 0 0 0.1em 0.02em rgba(0,0,0, 0.025), 0 0.4em 1.6em -0.8em rgba(0,0,0, 0.1), 0 0.8em 1.2em -1.6em rgba(0,0,0, 0.2), 0 1.2em 1.6em -2.4em rgba(0,0,0,0.3), 0 1.6em 2.4em -3.2em rgba(0,0,0,0.4);
        border-radius: 0.09em;

        background-color: #fffef0;
background-image: url("https://www.transparenttextures.com/patterns/lined-paper-2.png");
    }
    &:after {
        content: "";
        position: absolute;
        top: 0.8em;
        left: 1em;
        width: 101%;
        height: 101%;
        z-index: -2;
        background: #fff3cdff;
        /* background: linear-gradient(180deg, rgba(255, 248, 232, 1), rgba(255,255,255,1)),
	    url("data:image/svg+xml,%3Csvg viewBox='0 0 285 285' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='10' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); */
        transform: rotate(1deg);
        pointer-events: none;
        box-shadow: 0 0 0 1px rgba(0,0,0, 0.075), 0 0 0.1em 0.02em rgba(0,0,0, 0.025), 0 0.4em 1.6em -0.8em rgba(0,0,0, 0.1), 0 0.8em 1.2em -1.6em rgba(0,0,0, 0.2), 0 1.2em 1.6em -2.4em rgba(0,0,0,0.3), 0 1.6em 2.4em -3.2em rgba(0,0,0,0.4);
        border-radius: 0.09em;

        background-color: #fffef0;
background-image: url("https://www.transparenttextures.com/patterns/lined-paper-2.png");
    }
    
    .logo {
        width: 8em;
        height: auto;
        margin-bottom: 1.5em;
        margin-left: -1em;
        margin-top: -0.4em;
    }
}
.call-to-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2em;
}

.button {
    background-color: #229ED9;
    color: #fff;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 4px;
    font-size: 2em;
    font-weight: normal;
    transition: opacity 0.2s ease;

    &:hover {
        opacity: 0.8;
        transition: opacity 0s;
    }
}

.services {
    background-color: #fffef0;
background-image: url("https://www.transparenttextures.com/patterns/lined-paper-2.png");

    padding: 0em 0em 0em 0em;
    font-size: 1em;
    border-radius: 1.3em;
    corner-shape: superellipse(-1);
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.075), 0 0 0.1em 0.02em rgba(0,0,0, 0.025), 0 0.4em 1.6em -0.8em rgba(0,0,0, 0.1), 0 0.8em 1.2em -1.6em rgba(0,0,0, 0.2), 0 1.2em 1.6em -2.4em rgba(0,0,0,0.3), 0 1.6em 2.4em -3.2em rgba(0,0,0,0.4);

    h3 {
        font-family: 'Victor Mono', monospace;
        font-size: 1.8em;
        margin-bottom: 0.3em;
    }

    ol {
        li {

        }
    }
}
.main-title {
    h1 {
        margin: 0.3em 0 1.3em 0;
        line-height: 1.4em;
        font-weight: 700;
        font-size: 1.6em;
    }
}

/* =========================================
           1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И БАЗА
           ========================================= */
           :root {
            --accent-blue: #2b3eff;
            --accent-rgb: 43, 62, 255;
            --reg-border: #8c8279;
            --reg-text: #1a1a1a;
            --reg-hover: #1a1a1a;
            --reg-text-hover: #f4f1ea;
            --reg-bg-light: #ecebe6;
            --paper-color: #fdfbf9;
            --sidebar-width: 260px;
            /* Фиксированная ширина меню */
            --sidebar-text: #5a4a42;
            --sidebar-hover: var(--accent-blue);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            padding-left: 0;
            background-color: var(--reg-bg-light);
            font-size: 15px;
            overflow-x: hidden;
            margin: 0;
        }

        /* ГЛАВНЫЙ КОНТЕЙНЕР (ЦЕНТРИРОВАНИЕ) */
        .ids__wrapper {
            max-width: 1000px;
            width: 100%;
            box-sizing: border-box;
            padding-left: 20px;
            padding-right: 20px;
            /* Умное центрирование: центр экрана, но не наезжая на меню */
            margin-right: auto;
        }

        /* Заголовки разделов */
        .digital-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 30px;
        }

        .digital-header h2 {
            margin: 0;
            font-weight: 600;
            font-size: 1.6em;
            color: #000;
            text-transform: uppercase;
            letter-spacing: -0.02em;
        }

        .digital-header.dark-mode {
            border-bottom: 1px solid var(--sidebar-hover);
            margin-bottom: 50px;
            padding-bottom: 15px;
        }

        .digital-header.dark-mode h2 {
            color: var(--sidebar-hover);
            text-shadow: 0 0 15px rgba(43, 62, 255, 0.5);
        }

        .header-meta {
            font-size: 0.75em;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: #555;
            background: #fff;
            padding: 2px 6px;
            border: 1px solid #aaa;
        }

        ids-nav-item,
        .ids__nav-item {
            display: block;
            width: 100%;
        }

        /* =========================================
           2. САЙДБАР И НАВИГАЦИЯ
           ========================================= */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: var(--sidebar-width);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            padding-top: 40px;
            z-index: 1000;
            pointer-events: none;
        }

        .logo-container {
            display: block;
            width: 100%;
            margin-bottom: 40px;
            padding-left: 40px;
            pointer-events: auto;
        }

        .main-sidebar-logo {
            width: 100%;
            max-width: 100px;
            height: auto;
            display: block;
            mix-blend-mode: multiply;
        }

        ids-navbar {
            position: static !important;
            width: 100%;
            padding: 0;
            height: auto;
            background: transparent;
            pointer-events: auto;
        }

        .sidebar-list {
            /* Убираем маркеры у самого списка */
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding-left: 60px !important;
        }

        .sidebar-list li {
            list-style: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /* Защита от "умных" стилей, которые добавляют точки через псевдо-элементы */
        .sidebar-list li::before,
        .sidebar-list li::after {
            content: none !important;
            display: none !important;
        }

        .sidebar-list li a {
            font-size: 0.8em;
            font-weight: 700;
            text-transform: uppercase;
            color: #666;
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
            opacity: 0.6;
            letter-spacing: 0.05em;
        }

        .sidebar-list li a.current {
            color: #000;
            opacity: 1;
            transform: translateX(5px);
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-decoration-color: var(--sidebar-hover);
        }

        .sidebar-list li a:hover {
            color: #000;
            opacity: 1;
        }

        /* Переключатель языков */
        .lang-switcher {
            position: fixed;
            top: 40px;
            right: 40px;
            z-index: 2000;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 0.9em;
            mix-blend-mode: multiply;
        }

        .lang-btn {
            text-decoration: none;
            color: #000;
            opacity: 0.4;
            transition: all 0.2s ease;
        }

        .lang-separator {
            color: #000;
            opacity: 0.2;
            font-weight: 400;
        }

        .lang-btn:hover {
            opacity: 1;
            color: var(--accent-blue);
        }

        .lang-btn.active {
            opacity: 1;
            color: #000;
            text-decoration: underline;
            text-decoration-thickness: 2px;
            pointer-events: none;
        }

        /* =========================================
           3. БЛОК "О НАС" (СТОПКА БУМАГ)
           ========================================= */
        .paper-stack-container {
            position: relative;
            width: 100%;
            max-width: 750px;
            margin: 0 auto 60px auto; 
            z-index: 10;
        }

        .clean-sheet,
        .paper-under {
            background-color: #fcfbf9;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
            border-radius: 2px;
        }

        .clean-sheet.main-paper {
            position: relative;
            z-index: 10;
            padding: 2.5em 5em 3em 3em;
            min-height: 600px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            hyphens: auto;
        }

        .paper-under {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .paper-under.p-1 {
            transform: rotate(-1.5deg) translate(-2px, 2px);
        }

        .paper-under.p-2 {
            transform: rotate(2deg) translate(2px, 1px);
            z-index: 2;
        }

        .paper-under.p-3 {
            transform: rotate(0.5deg) translate(0, 3px);
            z-index: 3;
        }

        /* Типографика внутри листа */
        .intro-lead {
            font-weight: 700;
            font-size: 1.2em;
            margin-bottom: 25px;
            color: #000;
            border-bottom: 2px solid #000;
            padding-bottom: 10px;
        }

        .about-two-cols {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: start;
            margin-bottom: 20px;
        }

        .about-col p {
            hyphens: auto;
        }

        /* Элементы внутри листа */
        .important-blue-box {
            position: relative;
            text-align: left !important;
            text-indent: 0 !important;
            font-weight: 700;
            padding: 15px !important;
            margin: 20px 0 !important;
            font-size: 0.95em !important;
            color: #000 !important;
            transform: rotate(-1deg);
        }

        .important-blue-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid var(--accent-blue);
            border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
            pointer-events: none;
        }

        .dossier-footer {
            margin-top: auto;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            font-size: 0.7em;
            opacity: 0.5;
            border-top: 1px solid #7b7b7b8c;
            letter-spacing: 0.05em;
        }

        /* --- ФОТО-УЛИКА (С ПРЕВРАЩЕНИЕМ В КРЫС) --- */
        
        /* Контейнер для фото */
        .photo-evidence-vertical { 
            position: relative; /* Обязательно для позиционирования слоев */
            width: 100%; 
            margin: 2em 0 2em 0; 
            transform: rotate(1.5deg); 
            cursor: pointer;
            /* Чтобы второе фото не вылезало за рамки, если чуть не совпадает размер */
            overflow: hidden; 
            border: 4px solid #fff; /* Рамку переносим на контейнер */
            box-shadow: 0 3px 8px rgba(0,0,0,0.15);
        }

        .evidence-img { 
            display: block;
            width: 100%; 
            height: auto;
            /* Плавный переход для цвета и прозрачности */
            transition: all 0.2s ease-in-out;
        }

        .normal-photo {
            position: relative;
            z-index: 1;
        }

        /* Фото с крысами (лежит поверх) */
        .rat-photo {
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0; /* Скрыто по умолчанию */
            z-index: 2;
        }

        /* ХОВЕР (ПРИ НАВЕДЕНИИ) */

        /* 2. Проявляем фото с крысами */
        .photo-evidence-vertical:hover .rat-photo {
            opacity: 1;
        }

        /* Скотч (поверх всего) */
        .tape-strip { 
            position: absolute; top: -10px; left: 50%; 
            transform: translateX(-50%); 
            width: 70px; height: 25px; 
            background: rgba(255,255,255,0.6); 
            border-left: 1px dashed #ccc; 
            border-right: 1px dashed #ccc; 
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            pointer-events: none;
            z-index: 5; /* Самый верхний слой */
        }

        
       /* =========================================
           БЛОК: КРЫСА-ШТАМП И СОЦСЕТИ (CLEAN VERSION)
           ========================================= */

        /* --- 1. КРЫСА (КАРТИНКА) --- */
        .rat-corner-stamp {
            z-index: 0;
            pointer-events: none; 
            
            /* Размеры и вид */
            width: 110px;   
            height: auto;
            mix-blend-mode: multiply; /* Эффект печати */
            opacity: 0.85; 
            filter: contrast(120%);
            
            /* ПОЗИЦИЯ: ДЕСКТОП (Слева внизу) */
            bottom: 80px;   
            left: 40px; 
            right: auto; /* Сброс на всякий случай */
            margin-top: 3em;
        }

        /* --- 2. СОЦСЕТИ (ШТАМПЫ) --- */
        .social-stamps {
            position: absolute;
            z-index: 20;
            display: flex;
            
            /* ПОЗИЦИЯ: ДЕСКТОП (Рядом с крысой, вертикально) */
            bottom: 100px; 
            right: 80px;
            flex-direction: raw; 
            gap: 30px; 
        }

        .social-stamp-link {
            display: flex; align-items: center; justify-content: center;
            width: 36px; height: 36px;
            color: #2b3eff;
            transition: all 0.2s ease;
        }
        .social-stamp-link:hover {
            border-color: var(--accent-blue); color: var(--accent-blue);
 transform: scale(1.1) rotate(-5deg);
        }

        /* =========================================
           АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (max-width: 650px)
           ========================================= */
        @media (max-width: 650px) {
            
            /* Крыса переезжает в ПРАВЫЙ нижний угол */
            .rat-corner-stamp {
                width: 80px;      /* Чуть меньше */
                left: auto;       /* Отменяем левый отступ */
                right: 20px;   G   /* Прижимаем вправо */
                bottom: 60px;     /* Поднимаем, чтобы освободить место иконкам */
            }

            /* Соцсети встают ПОД крысу горизонтально */
            .social-stamps {
                left: auto;       /* Отменяем левый отступ! (ЭТО ВАЖНО) */
                right: 20px;      /* Выравниваем по правому краю с крысой */
                bottom: 20px;     /* В самом низу */
                
                flex-direction: row; /* В ряд, а не столбиком */
                gap: 15px;
            }
        }

        /* =========================================
           4. РЕЕСТР УСЛУГ
           ========================================= */
        .registry-container {
            display: flex;
            flex-direction: column;
            margin-bottom: 3em;
            background: #fff;
            hyphens: auto;
        }

        .registry-head {
            display: grid;
            grid-template-columns: 0.3fr 1.6fr 2fr 0.9fr;
            padding: 1em .3em;
            border-bottom: 2px solid #000;
            background: #fff;
            font-weight: bold;
            font-size: 0.8em;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .registry-head span {
            text-align: left;

            &:first-child {
                padding-left: 1.9em;
            }
            &:last-child {
                padding-right: 1.45em;
            }
        }

        .registry-head span:last-child {
            text-align: right;
        }

        .registry-row {
            display: grid;
            grid-template-columns: 0.3fr 1.6fr 2fr 0.9fr;
            border-bottom: 1px solid #ededed;
            align-items: stretch;
        }

/* Делаем так, чтобы ховер срабатывал, когда мышь на ссылке-обертке */
a:hover .registry-row {
    background-color: #2b3eff; /* Синий фон */
    color: #fff;
    cursor: pointer;
}

/* Красим текст внутри в белый при наведении */
a:hover .registry-row * {
    color: #fff !important;
}

        /* СТИЛЬ ЯЧЕЙКИ */
        .reg-cell {
            padding: 2em 3em 2em 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start !important;
            align-items: flex-start !important;
            text-align: left;
            height: auto;
            
            p {
                font-size: 1.23em;
            }


            &:last-child {
                padding-right: 1.5em;
            }
        }


        .reg-cell.reg-meta {
            align-items: flex-end !important;
            text-align: right;
        }

        /* ТИПОГРАФИКА В ТАБЛИЦЕ */
        .reg-id {
            opacity: 0.5;
            margin-top: 0;
            padding: 2.05em 1.5em;
        }

        .reg-title {
            font-size: 1.1em;
            text-transform: uppercase;
            font-style: bold;
            margin-top: 0;
        }

        .reg-desc {
            font-size: 0.85em;
            opacity: 0.9;
            margin: 0;
        }

        .reg-list li {
            list-style: none;
            font-size: 0.9em;
            position: relative;
            margin-bottom: 6px;
        }

        .reg-time {
            font-size: 0.75em;
            text-transform: uppercase;
            margin-bottom: 6px;
            opacity: 0.7;
            letter-spacing: 0.05em;
        }

        .reg-price {
            font-weight: 700;
            font-size: 1.1em;
        }

        /* =========================================
           5. ПРОЕКТЫ (КАРТОЧКИ)
           ========================================= */
        .archive-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 25px;
            margin-bottom: 4em;
        }

        .archive-item {
            position: relative;
            display: flex;
            flex-direction: column;
            text-decoration: none !important;
            color: inherit !important;
            background-color: #bcd1ff;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
            padding: 12px 14px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 2px;
            transition: all 0.2s ease;
            height: 100%;
            cursor: pointer;
        }

        .archive-item:hover {
            background-color: var(--accent-blue);
            border-color: var(--accent-blue);
            box-shadow: 0 8px 20px rgba(43, 62, 255, 0.25);
            transform: translateY(-2px);
            z-index: 10;
        }

        .archive-item:hover .archive-title,
        .archive-item:hover .archive-desc {
            color: #fff;
        }

        .archive-item:hover .archive-meta-row {
            color: rgba(255, 255, 255, 0.6);
        }

        .scrub-gallery {
            position: relative;
            width: 100%;
            aspect-ratio: 3/2;
            background: #fff;
            margin-bottom: 12px;
            overflow: hidden;
        }

        .scrub-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            filter: grayscale(100%) contrast(110%);
            mix-blend-mode: multiply;
        }

        .scrub-img.active {
            opacity: 1;
            z-index: 1;
        }

        .archive-item:hover .scrub-img {
            filter: grayscale(0%);
            mix-blend-mode: normal;
        }

        .archive-meta-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.7em;
            color: #999;
            margin-bottom: 8px;
            flex-direction: row-reverse;
        }

        .archive-title {
            font-size: 1.1em;
            font-weight: 700;
            margin: 0 0 4px 0;
        }

        .archive-desc {
            font-size: 0.8em;
            margin: 0;
            color: #444;
        }
/* =========================================
           ПОРТФОЛИО: КАРТОЧКИ (СИНИЕ)
           ========================================= */
           .gallery-item {
            display: flex;
            flex-direction: column;
            text-decoration: none; /* Убираем подчеркивание */
            
            /* ВОЗВРАЩАЕМ СТИЛЬ КАРТОЧКИ */
            background-color: #eef2ff;
            border: 1px solid #2b3eff;
            border-radius: 8px;
            overflow: hidden; /* Чтобы картинка не торчала */
            
            /* Плавность для ховера */
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* При наведении карточка всплывает */
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(43, 62, 255, 0.15);
        }

        /* Внутренние отступы для текста */
        .gallery-caption {
            padding: 15px 20px;
        }
        
        .gallery-caption h3 {
            margin-top: 0;
            color: #2b3eff;
            font-size: 1.2rem;
        }
        
        .gallery-caption p {
            margin-bottom: 0;
            color: #000;
        }
        /* --- СТИЛЬ ДЛЯ ВСПЛЫВАЮЩЕЙ ПОДСКАЗКИ (TOOLTIP) --- */
        .wip-tooltip {
            position: absolute;
            background: #000;       /* Черный фон */
            color: #fff;            /* Белый текст */
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 13px;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            
            z-index: 9999;          /* Чтобы было поверх всего */
            pointer-events: none;   /* Чтобы сквозь него можно было кликать */
            
            opacity: 0;             /* Скрыт по умолчанию */
            transform: translateY(10px);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        /* Класс, который делает подсказку видимой */
        .wip-tooltip.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* =========================================
           6. МАНИФЕСТ И ПОДХОД
           ========================================= */
        .manifesto-wrapper {
            background-color: #111;
            color: #fff;
            padding: 60px 40px;
            margin-bottom: 3em;
            border-top: 1px solid var(--sidebar-hover);
            border-bottom: 1px solid var(--sidebar-hover);
        }

        .manifesto-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .manifesto-item {
            border-left: 1px solid var(--sidebar-hover);
            padding-left: 30px;
        }

        .m-title {
            font-size: 1.2em;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .m-desc {
            font-size: 0.9em;
            line-height: 1.6;
            color: #ccc;
        }

        /* Декор текста */
        .mark-blue {
            background: linear-gradient(100deg, rgba(var(--accent-rgb), 0) 0%, rgba(var(--accent-rgb), 0.5) 3%, rgba(var(--accent-rgb), 0.6) 95%, rgba(var(--accent-rgb), 0) 100%);
            padding: 0.1em 0.2em;
            box-decoration-break: clone;
            -webkit-box-decoration-break: clone;
        }

        .mark-circle {
            position: relative;
            display: inline-block;
            z-index: 1;
            margin: 0 5px;
        }

        .mark-circle::before {
            content: "";
            position: absolute;
            top: -4px;
            left: -10px;
            right: -10px;
            bottom: -4px;
            border: 2px solid var(--sidebar-hover);
            border-radius: 50% 60% 50% 70% / 60% 50% 70% 50%;
            transform: rotate(-2deg);
            z-index: -1;
        }

        .mark-wave {
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='10' viewBox='0 0 20 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 5 10 10 5 T 20 5' fill='none' stroke='%232b3eff' stroke-width='2' stroke-linecap='round' /%3E%3C/svg%3E");
            background-repeat: repeat-x;
            background-position: 0 100%;
            background-size: 15px 8px;
            padding-bottom: 5px;
        }

        .

        /* --- ДЕТСКИЙ СТИЛЬ --- */
        .kid-style {
            font-family: 'Dela Gothic One', cursive;
            font-weight: 400;
            font-size: 2.8rem !important;
            line-height: 1.0;
            letter-spacing: -0.04em !important;
            margin-bottom: 20px;
            text-transform: lowercase !important;
            background: none;
            color: #fff;
            text-shadow: 3px 3px 0px #000;
            white-space: nowrap;
            display: inline-block;
        }

        .kid-style span {
            -webkit-text-stroke: 2px currentColor;

            paint-order: stroke fill;
            display: inline-block;
            animation: bounce-text 1.2s infinite ease-in-out;
        }

        /* Индивидуальные цвета и задержки для волны */
        .kid-style span:nth-child(1) {
            color: #5856D6;
            animation-delay: 0.0s;
        }

        .kid-style span:nth-child(2) {
            color: #4CD964;
            animation-delay: 0.1s;
        }

        .kid-style span:nth-child(3) {
            color: #FFCC00;
            animation-delay: 0.2s;
        }

        .kid-style span:nth-child(4) {
            color: #ff9500;
            animation-delay: 0.3s;
        }

        .kid-style span:nth-child(5) {
            color: #5AC8FA;
            animation-delay: 0.4s;
        }

        .kid-style span:nth-child(6) {
            color: #FF2D55;
            animation-delay: 0.5s;
        }

        .kid-style span:nth-child(7) {
            color: #FF3B30;
            animation-delay: 0.6s;
        }

        .kid-style span:nth-child(8) {
            color: #007AFF;
            animation-delay: 0.7s;
        }

        .kid-style span:nth-child(9) {
            color: #FF3B30;
            animation-delay: 0.8s;
        }

        .kid-style span:nth-child(10) {
            color: #5AC8FA;
            animation-delay: 0.9s;
        }

        .kid-style span:nth-child(11) {
            color: #FFCC00;
            animation-delay: 1.0s;
        }

        .kid-style span:nth-child(12) {
            color: #FF3B30;
            animation-delay: 1.1s;
        }

        .kid-style span:nth-child(13) {
            color: #FF9500;
            animation-delay: 1.2s;
        }

        .kid-style span:nth-child(14) {
            color: #007AFF;
            animation-delay: 1.3s;
        }

        .kid-style span:nth-child(15) {
            color: #5856D6;
            animation-delay: 1.4s;
        }

        .kid-style span:nth-child(16) {
            color: #FF2D55;
            animation-delay: 1.5s;
        }

        .kid-style span:nth-child(17) {
            color: #4CD964;
            animation-delay: 1.6s;
        }

        .kid-style span:nth-child(18) {
            color: #FF9500;
            animation-delay: 1.7s;
        }

        .kid-style span:nth-child(19) {
            color: #FFCC00;
            animation-delay: 1.8s;
        }

        .kid-style span:nth-child(20) {
            color: #FF3B30;
            animation-delay: 1.9s;
        }

        @keyframes bounce-text {

            0%,
            100% {
                transform: translateY(0);
            }

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

        @keyframes bounce-text {

            0%,
            100% {
                transform: translateY(0);
            }

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

        /* =========================================
           7. ОТЗЫВЫ
           ========================================= */
        .review-controls { display: flex; align-items: center; gap: 10px; }
        /* --- КНОПКИ НАВИГАЦИИ (ТЕКСТОВЫЕ) --- */
        .nav-btn {
            background: transparent;
            border: none; /* Убираем рамку */
            cursor: pointer;
            
            /* Крупный, жирный моноширинный шрифт */
            font-family: 'Courier Prime', monospace;
            font-weight: 700; 
            font-size: 1.6em; /* Достаточно крупно */
            
            color: #000;
            padding: 0 15px; /* Отступы, чтобы легко попадать пальцем/мышкой */
            
            transition: all 0.2s ease;
        }

        /* ХОВЕР */
        .nav-btn:hover {
            color: var(--accent-blue); /* Синеют при наведении */
            transform: scale(1.1); /* Чуть увеличиваются */
        }
        
        /* КЛИК */
        .nav-btn:active {
            transform: scale(0.95);
        }
        .reviews-scroll-wrapper { width: 100%; overflow-x: auto; margin-bottom: 3em; scrollbar-width: thin; scrollbar-color: #000 transparent; padding-bottom: 20px; }
        .reviews-track { display: flex; width: max-content; padding: 5px 2px; }
        
        .review-item { 
            width: 380px; flex-shrink: 0; display: flex; flex-direction: column; 
            padding: 30px 25px; min-height: 240px; background: #fff; position: relative; 
            border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;
        }
        .review-item::after, .review-item:first-child::before {
            content: ""; position: absolute; top: 0; bottom: 0; width: 12px; z-index: 5;
            background-image: radial-gradient(circle, var(--reg-bg-light) 3px, transparent 3.5px);
            background-size: 100% 18px;
            background-repeat: repeat-y;
            background-position: center;
        }

        .review-item::after {
            right: -6px;
        }

        .review-item:first-child::before {
            left: -6px;
        }

        .review-text {
            font-size: 1.15em;
            font-style: italic;
            flex-grow: 1;
            max-height: 160px;
            overflow-y: auto;
            padding-right: 10px;
            margin-bottom: 20px;
            scrollbar-width: thin;
            scrollbar-color: var(--accent-blue) rgba(0, 0, 0, 0.05);
        }

        .review-text::-webkit-scrollbar {
            width: 4px;
        }

        .review-text::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 2px;
        }

        .review-text::-webkit-scrollbar-thumb {
            background-color: var(--accent-blue);
            border-radius: 2px;
        }

        .review-text::before {
            content: "«";
            font-weight: bold;
            color: var(--sidebar-hover);
        }

        .review-author { font-family: "Inter", sans-serif; font-weight: 700; color: #000000; ; padding: 4px 12px; border-radius: 4px; font-size: 0.85em; }

        /* =========================================
           8. ВОПРОСЫ (FAQ)
           ========================================= */
        .faq-archive-container {
            border-top: 2px solid #000;
            display: flex;
            flex-direction: column;
            margin-bottom: 3em;
            background: #fff;
        }

        .faq-row {
            border-bottom: 1px solid #000;
            transition: 0.2s;
        }

        .faq-row:last-child {
            border-bottom: none;
        }

        .faq-trigger {
            width: 100%;
            display: grid;
            grid-template-columns: 0.073fr 1fr 40px;
            align-items: center;
            padding: 25px 20px;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
            font-size: 1em;
        }

        .faq-arrow {
            display: flex;
            justify-content: center;
            transition: 0.3s;
            color: var(--accent-blue);
        }

        .faq-row:hover {
            background-color: var(--sidebar-hover);
            color: #fff;
        }

        .faq-row:hover .faq-trigger,
        .faq-row:hover .faq-arrow {
            color: #fff;
        }

        .faq-row.active {
            background-color: #000;
            color: #fff;
        }

        .faq-row.active .faq-trigger,
        .faq-row.active .faq-arrow {
            color: #fff;
        }

        .faq-row.active .faq-arrow {
            transform: rotate(180deg);
        }

        .faq-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
            padding: 0 20px;
        }

        .faq-content-inner {
            padding: 0 0 2em 4em;
            opacity: 0.9;
            max-width: 800px;
            line-height: 1.6;
        }

        /* =========================================
           9. ФУТЕР
           ========================================= */
        footer { margin-top: 15em; padding-top: 20px; padding-bottom: 40px; border-top: 2px solid #000; position: relative; }
        
        .footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 40px; margin-bottom: 50px; }
        .footer-col h3 { font-size: 2em; font-weight: 500; margin-bottom: 20px; }
        .footer-col p { font-size: 1.3em; line-height: 1.6; opacity: 0.9; max-width: 320px; margin-bottom: 25px; }
        
        .footer-btn { 
            display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 14px 16px; 
            margin-bottom: 10px; border: 1px solid var(--accent-blue); color: #000; text-decoration: none; 
            font-weight: 700; text-transform: uppercase; transition: 0.3s;
            text-decoration: none !important;
        }
        .footer-btn:hover { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }
        .btn-icon { margin-right: 10px; font-style: normal; }

        .footer-meta { font-size: 1em; padding-top: 12px; border-top: 1px dashed #ccc; display: flex; align-items: center; margin-bottom: 8px; }
        .pin-icon-svg { width: 16px; height: 16px; margin-right: 8px; color: var(--accent-blue); flex-shrink: 0; }
        .footer-copyright { border-top: 1px solid #ddd; padding-top: 25px; text-align: center; font-family: 'Courier Prime', monospace; color: #888; text-transform: uppercase; }

/* --- АНИМАЦИЯ КРЫСЫ (JPG ВЕРСИЯ) --- */
.footer-rat-container {
            position: absolute; 
            top: -45px; 
            left: 0; 
            width: 80px;  
            height: 50px; 
            z-index: 20; 
            pointer-events: none;
            mix-blend-mode: multiply; 
            transform-origin: bottom center;
            will-change: transform;
        }

        /* Общий стиль для всех картинок внутри */
        .rat-img {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: auto;
            display: block;
            opacity: 0; 
            transition: none;
        }
        .rat-img.state-run-1,
        .rat-img.state-run-2 {
            /* Опускаем бегущую крысу на 10px ниже */
            bottom: -15px; 
        }
        /* ЛОГИКА ПОКАЗА: */

        /* 1. Если крыса стоит (класс .idle) -> показываем rat1.png */
        .footer-rat-container.idle .state-idle {
            opacity: 1;
        }

        /* 2. Если крыса НЕ стоит (бежит) и сейчас КАДР 1 -> показываем runrat1.png */
        .footer-rat-container:not(.idle).frame-1 .state-run-1 {
            opacity: 1;
        }

        /* 3. Если крыса НЕ стоит (бежит) и сейчас КАДР 2 -> показываем runrat2.png */
        .footer-rat-container:not(.idle).frame-2 .state-run-2 {
            opacity: 1;
        }
        /* --- КОРРЕКЦИЯ РАЗМЕРА СИДЯЩЕЙ КРЫСЫ --- */
        .rat-img.state-idle {
            width: 80% !important; 
            
            left: 10% !important; 
        }

        @keyframes rat-blink {

            0%,
            96%,
            100% {
                transform: scaleY(1);
            }

            98% {
                transform: scaleY(0.1);
            }
        }

        /* =========================================
           10. МОДАЛЬНОЕ ОКНО
           ========================================= */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(232, 230, 225, 0.9);
            backdrop-filter: blur(5px);
            z-index: 9999;
            display: none;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: 0.3s;
        }

        .modal-overlay.open {
            display: flex;
            opacity: 1;
        }

        .modal-window {
            background: #fff;
            border: 1px solid #000;
            box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 90%;
            max-width: 800px;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: -35px;
            right: 0;
            background: none;
            border: none;
            font-weight: 700;
            cursor: pointer;
        }

        .modal-content {
            width: 100%;
            aspect-ratio: 16/9;
            background: #f4f4f4;
            position: relative;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .modal-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            opacity: 0;
            transition: 0.3s;
            pointer-events: none;
        }

        .modal-slide.active {
            opacity: 1;
            pointer-events: auto;
        }

        .arrow-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            font-size: 3em;
            cursor: pointer;
            z-index: 20;
            opacity: 0.4;
        }

        .arrow-btn:hover {
            opacity: 1;
        }

        .arrow-btn.prev {
            left: 0;
        }

        .arrow-btn.next {
            right: 0;
        }

        .modal-footer {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid #000;
            padding-top: 15px;
            font-size: 0.85em;
        }

        /* =========================================
           11. АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ)
           ========================================= */
        @media (max-width: 1000px) {
            body {
                padding-top: 50px;
            }

            .ids__wrapper {
                margin: 0 auto;
            }

            .sidebar {
                position: relative;
                width: 100%;
                height: auto;
                flex-direction: row;
                justify-content: center;
                padding: 10px 0;
                background: rgba(236, 235, 230, 0.95);
                border-bottom: 1px solid #ccc;
                pointer-events: auto;
                top: auto;
                left: auto;
            }

            .logo-container {
                margin-bottom: 0;
                padding-left: 0;
                text-align: center;
            }

            .sidebar-list {
                flex-direction: row;
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
                padding-left: 0 !important;
            }

            .sidebar-list li a {
                font-size: 0.75em;
                opacity: 1;
            }

            .lang-switcher {
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 0.8em;
            }

            .clean-sheet.main-paper {
                padding: 25px 20px;
                height: auto;
            }

            .about-two-cols {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .social-stamps {
                left: 135px;
                bottom: 25px;
                gap: 6px;
            }

            .registry-head {
                display: none;
            }

            .registry-row {
                grid-template-columns: 1fr;
                padding: 25px;
                position: relative;
            }

            .reg-cell {
                padding: 0;
            }

            .reg-id {
                position: absolute;
                top: 25px;
                right: 25px;
                opacity: 0.2;
                font-size: 1.2em;
            }

            .reg-cell.reg-meta {
                align-items: flex-start !important;
                text-align: left;
                margin-top: 15px;
                padding-top: 15px;
                border-top: 1px dashed #ccc;
                width: 100%;
            }

            .manifesto-wrapper {
                padding: 40px 20px;
            }

            .manifesto-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 50px;
            }
        }
        