/*
Theme Name: dds_globaltechhldgs.com
Theme URI: https://globaltechhldgs.com
Author: Сергеева Виктория
Author URI: https://globaltechhldgs.com
Description: Тема для информационного сайта о кибербезопасности для бизнеса.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: gthbz
*/

/* ====== БАЗА ====== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: #E0E1DD;
    background-color: #0A1128;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(0,229,255,0.08) 0, transparent 38%),
        radial-gradient(circle at 88% 82%, rgba(0,229,255,0.05) 0, transparent 42%);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    margin: 0 0 0.7em;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a {
    color: #00E5FF;
    text-decoration: none;
    transition: color .18s ease, opacity .18s ease;
}
a:hover { color: #FFFFFF; text-decoration: underline; }

img { max-width: 100%; height: auto; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }

code, pre, .mono {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}
pre {
    background: #1E2A3E;
    color: #E0E1DD;
    padding: 1em 1.2em;
    border-left: 3px solid #00E5FF;
    overflow-x: auto;
    border-radius: 4px;
}

blockquote {
    margin: 1.2em 0;
    padding: 0.8em 1.2em;
    border-left: 3px solid #00E5FF;
    background: rgba(30, 42, 62, 0.55);
    color: #E0E1DD;
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid #2a3a55;
}
th, td {
    border: 1px solid #2a3a55;
    padding: 0.6em 0.85em;
    text-align: left;
}
th {
    background: #1E2A3E;
    color: #FFFFFF;
    font-weight: 700;
}
tr:nth-child(even) td { background: rgba(30,42,62,0.35); }

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00E5FF, transparent);
    margin: 2em 0;
}

/* ====== ОБЁРТКИ ====== */
.shell { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.site-main { padding: 32px 0 48px; }

.layout-with-sidebar {
    display: flex;
    gap: 6%;
    align-items: flex-start;
}
.layout-with-sidebar .content-area { flex: 0 0 67%; min-width: 0; }
.layout-with-sidebar .sidebar-area { flex: 0 0 27%; min-width: 0; }

.layout-no-sidebar .content-area { width: 85%; max-width: 85%; margin: 0 auto; }
.front .content-area { width: 85%; max-width: 85%; margin: 0 auto; }

@media (max-width: 960px) {
    .layout-with-sidebar { flex-direction: column; }
    .layout-with-sidebar .content-area,
    .layout-with-sidebar .sidebar-area { flex: none; width: 100%; }
    .layout-no-sidebar .content-area,
    .front .content-area { width: 100%; max-width: 100%; }
}

/* ====== ШАПКА: РЕЖИМ ДАТА-ЦЕНТРА ====== */
.dc-bar {
    background: #060B1A;
    border-bottom: 1px solid rgba(0,229,255,0.18);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #8b97ad;
    padding: 6px 0;
    letter-spacing: 0.04em;
}
.dc-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 22px;
    align-items: center;
}
.dc-status-list { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.dc-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.dc-led {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #2bd47c;
    box-shadow: 0 0 6px #2bd47c;
    animation: dc-blink 2.4s infinite ease-in-out;
}
.dc-led.amber {
    background: #ffb43b; box-shadow: 0 0 6px #ffb43b;
    animation-delay: .6s;
}
.dc-led.cyan {
    background: #00E5FF; box-shadow: 0 0 6px #00E5FF;
    animation-delay: 1.2s;
}
@keyframes dc-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.dc-clock { color: #00E5FF; font-weight: 600; }

.site-header {
    background: linear-gradient(180deg, #0A1128 0%, #0c1530 100%);
    border-bottom: 1px solid rgba(0,229,255,0.12);
    padding: 22px 0;
}
.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    flex: 1 1 auto;
    min-width: 0;
}
.brand:hover { text-decoration: none; color: inherit; }
.brand-logo, .brand-svg {
    width: 52px; height: 52px;
    flex: 0 0 52px;
    display: block;
}
.brand-svg { color: #00E5FF; filter: drop-shadow(0 0 4px rgba(0,229,255,0.45)); }
.brand-text { min-width: 0; }
.brand-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 3px;
    word-break: break-word;
}
.brand-tagline {
    font-size: 0.78rem;
    color: #8b97ad;
    line-height: 1.35;
    margin: 0;
    word-break: break-word;
}

/* ====== НАВИГАЦИЯ ШАПКИ ====== */
.primary-nav { flex: 0 0 auto; }
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.primary-nav li { margin: 0; }
.primary-nav a {
    display: block;
    padding: 9px 16px;
    color: #E0E1DD;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all .2s ease;
    text-decoration: none;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: #00E5FF;
    border-color: rgba(0,229,255,0.4);
    background: rgba(0,229,255,0.06);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    color: #00E5FF;
    border: 1px solid #00E5FF;
    border-radius: 4px;
    padding: 8px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
}
.nav-toggle:hover { background: #00E5FF; color: #0A1128; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-block; }
    .primary-nav { flex: 1 0 100%; }
    .primary-nav[data-collapsed="true"] ul { display: none; }
    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0 0;
    }
    .primary-nav a { display: block; }
}

/* ====== КНОПКИ ====== */
.btn, .more-link, button.cta, input[type="submit"], button[type="submit"] {
    display: inline-block;
    padding: 11px 22px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #00E5FF;
    background: transparent;
    border: 2px solid #00E5FF;
    outline: 1px solid transparent;
    outline-offset: -5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all .22s ease;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.0);
    letter-spacing: 0.01em;
}
.btn:hover, .more-link:hover, button.cta:hover,
input[type="submit"]:hover, button[type="submit"]:hover {
    color: #0A1128;
    background: #00E5FF;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
}

.btn-ghost {
    color: #FFFFFF;
    border: 1px dashed rgba(255,255,255,0.55);
    background: transparent;
}
.btn-ghost:hover {
    border-color: #FFFFFF;
    background: rgba(255,255,255,0.06);
    color: #FFFFFF;
    box-shadow: none;
}

/* Кнопка с угловым вырезом */
.btn-cut {
    position: relative;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

/* ====== ГЕРО: СЕТКА ЗАЩИТЫ ====== */
.hero {
    position: relative;
    padding: 70px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,229,255,0.12);
}
.hero-grid-bg {
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: auto;
    opacity: 0.55;
}
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 760px;
}
.hero-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #00E5FF;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-left: 2px solid #00E5FF;
    padding: 4px 0 4px 12px;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: 2.7rem;
    line-height: 1.1;
    margin-bottom: 18px;
}
.hero p.lead {
    font-size: 1.1rem;
    color: #c8cdd9;
    max-width: 620px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 600px) {
    .hero h1 { font-size: 1.95rem; }
    .hero { padding: 50px 0 60px; }
}

/* ====== СЕКЦИИ ====== */
.section {
    padding: 60px 0;
    position: relative;
}
.section + .section { border-top: 1px solid rgba(0,229,255,0.07); }
.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #00E5FF;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}
.section-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
}
.section-lead {
    color: #b3bccc;
    max-width: 760px;
    margin-bottom: 36px;
}

/* ====== УРОВНИ ДОВЕРИЯ — стекломорфизм ====== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.trust-tile {
    position: relative;
    padding: 28px 26px;
    border-radius: 12px;
    background: rgba(30, 42, 62, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,229,255,0.18);
    transform-style: preserve-3d;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    overflow: hidden;
}
.trust-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.trust-tile:hover {
    transform: translateY(-6px) rotateX(2deg);
    border-color: rgba(0,229,255,0.55);
    box-shadow: 0 18px 40px -18px rgba(0,229,255,0.45);
}
.trust-metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00E5FF;
    line-height: 1;
    margin-bottom: 10px;
}
.trust-tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust-tile p { color: #b3bccc; margin: 0; font-size: 0.93rem; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* ====== СТОЛБИКОВЫЕ БЛОКИ — шаги/особенности ====== */
.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.feature-cell {
    padding: 24px 20px;
    background: #1E2A3E;
    border-radius: 12px;
    border: 1px solid #28354f;
    transition: transform .25s ease, border-color .25s ease;
}
.feature-cell:hover {
    transform: translateY(-4px);
    border-color: #00E5FF;
}
.feature-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: #00E5FF;
    margin-bottom: 8px;
}
.feature-cell h4 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-cell p { font-size: 0.9rem; color: #b3bccc; margin: 0; }
@media (max-width: 960px) { .feature-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-row { grid-template-columns: 1fr; } }

/* ====== СПИСОК ЗАПИСЕЙ — КАРТОЧКИ ====== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
@media (max-width: 960px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

.card {
    display: flex;
    flex-direction: column;
    background: #14203a;
    border: 1px solid #28354f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,255,0.5);
    box-shadow: 0 14px 32px -12px rgba(0,229,255,0.25);
}

/* Эффект «настороженности» на планшетах */
@media (min-width: 601px) and (max-width: 960px) {
    .posts-grid .card:nth-child(odd)  { transform: rotate(-0.5deg); }
    .posts-grid .card:nth-child(even) { transform: rotate(0.5deg); }
    .posts-grid .card:hover { transform: translateY(-4px) rotate(0deg); }
}

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #1E2A3E;
}
.card-thumb-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background:
        repeating-linear-gradient(45deg, #1E2A3E 0 12px, #18233a 12px 24px);
    position: relative;
}
.card-thumb-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,229,255,0.15) 0, transparent 60%);
}

.card-body {
    flex: 1;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.15rem;
    margin: 0 0 8px;
    line-height: 1.3;
}
.card-title a { color: #FFFFFF; text-decoration: none; }
.card-title a:hover { color: #00E5FF; }

.card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #8b97ad;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.card-meta a { color: #8b97ad; }
.card-meta a:hover { color: #00E5FF; }

.card-excerpt {
    color: #c8cdd9;
    font-size: 0.95rem;
    margin-bottom: 14px;
    flex: 1;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-footer { margin-top: auto; }
.card-footer .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* ====== САЙДБАР И ВИДЖЕТЫ ====== */
.widget {
    background: #14203a;
    border: 1px solid #28354f;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 22px;
}
.widget-title {
    font-size: 1.05rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,229,255,0.18);
    color: #FFFFFF;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
    margin: 0 0 9px;
    padding: 0 0 9px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.widget li:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.widget a { color: #E0E1DD; }
.widget a:hover { color: #00E5FF; }

.widget select {
    width: 100%;
    background: #0A1128;
    color: #E0E1DD;
    border: 1px solid #28354f;
    padding: 8px 10px;
    border-radius: 4px;
}

/* ====== ХЛЕБНЫЕ КРОШКИ ====== */
.crumbs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #8b97ad;
    padding: 16px 0 8px;
    letter-spacing: 0.02em;
}
.crumbs a { color: #00E5FF; }
.crumbs .sep { margin: 0 8px; color: #4a5670; }
.crumbs .current { color: #E0E1DD; }

/* ====== ПАГИНАЦИЯ ====== */
.pagination {
    margin: 30px 0;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    margin: 0 3px 6px;
    color: #E0E1DD;
    background: #14203a;
    border: 1px solid #28354f;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all .2s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #00E5FF;
    color: #0A1128;
    border-color: #00E5FF;
    box-shadow: 0 0 10px rgba(0,229,255,0.4);
}

/* ====== ПОИСК ====== */
.search-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.search-form .search-field {
    flex: 1;
    background: #0A1128;
    color: #E0E1DD;
    border: 1px solid #28354f;
    padding: 10px 14px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    min-width: 0;
}
.search-form .search-field:focus {
    outline: none;
    border-color: #00E5FF;
    box-shadow: 0 0 0 2px rgba(0,229,255,0.18);
}

/* ====== ОДИНОЧНАЯ ЗАПИСЬ / СТРАНИЦА ====== */
.entry-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,229,255,0.12);
}
.entry-title { margin-bottom: 10px; }
.entry-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #8b97ad;
}
.entry-meta a { color: #8b97ad; }
.entry-meta a:hover { color: #00E5FF; }

.entry-thumb {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    display: block;
}

.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img {
    border-radius: 8px;
    display: block;
    margin: 1em auto;
}
.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ====== КОММЕНТАРИИ ====== */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,229,255,0.12);
}
.comments-title { margin-bottom: 18px; }
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.comment-list li { margin-bottom: 18px; }
.comment-body {
    background: #14203a;
    border: 1px solid #28354f;
    border-radius: 8px;
    padding: 16px 18px;
}
.comment-author {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.comment-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #8b97ad;
    margin-bottom: 10px;
}
.comment .children {
    list-style: none;
    margin: 18px 0 0 24px;
    padding-left: 18px;
    border-left: 1px solid rgba(0,229,255,0.18);
}

/* Форма комментария / контактов — стиль терминала */
.comment-form,
.terminal-form {
    background: #0a1530;
    border: 1px solid #1f3157;
    border-radius: 8px;
    padding: 18px 20px;
    font-family: 'JetBrains Mono', monospace;
}
.comment-form p { margin: 0 0 14px; }
.comment-form label,
.terminal-form label {
    display: block;
    color: #2bd47c;
    font-size: 0.82rem;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}
.comment-form label::before,
.terminal-form label::before {
    content: '$ ';
    color: #2bd47c;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.terminal-form input,
.terminal-form textarea {
    width: 100%;
    background: #050a1a;
    color: #2bd47c;
    border: 1px solid #1f3157;
    border-radius: 4px;
    padding: 9px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92rem;
    caret-color: #2bd47c;
}
.comment-form input:focus,
.comment-form textarea:focus,
.terminal-form input:focus,
.terminal-form textarea:focus {
    outline: none;
    border-color: #2bd47c;
    box-shadow: 0 0 0 2px rgba(43,212,124,0.18);
}

/* ====== ПОДВАЛ ====== */
.site-footer {
    background: #060B1A;
    border-top: 1px solid rgba(0,229,255,0.12);
    padding: 50px 0 0;
    margin-top: 60px;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } }

.footer-col .widget {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

/* Компас угроз */
.threat-compass-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(0,229,255,0.1);
}
.threat-compass {
    position: relative;
    width: 200px;
    height: 200px;
}
.threat-compass svg { width: 100%; height: 100%; }
.tc-rotor {
    transform-origin: 100px 100px;
    animation: tc-spin 8s linear infinite;
}
@keyframes tc-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.tc-label {
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #8b97ad;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.copyright {
    text-align: center;
    padding: 22px 0;
    border-top: 1px solid rgba(0,229,255,0.08);
    font-size: 0.85rem;
    color: #8b97ad;
    font-family: 'JetBrains Mono', monospace;
}

/* ====== COOKIE-БАННЕР (правило A11) ====== */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(6, 11, 26, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid #00E5FF;
    box-shadow: 0 -4px 24px rgba(0,229,255,0.18);
}
.cookie-text {
    flex: 1;
    color: #E0E1DD;
    font-size: 0.92rem;
    margin: 0;
    min-width: 220px;
}
.cookie-text a { color: #00E5FF; text-decoration: underline; }
.cookie-accept {
    flex: 0 0 auto;
}

/* ====== 404 ====== */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}
.error-404 .code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    color: #00E5FF;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0,229,255,0.5);
    margin-bottom: 12px;
}
.error-404 h1 { margin-bottom: 14px; }
.error-404 .search-form { max-width: 480px; margin: 24px auto; }

/* ====== АДАПТИВ ====== */
@media (max-width: 600px) {
    .shell { padding: 0 16px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .section { padding: 40px 0; }
    .hero { padding: 40px 0 50px; }
    .site-main { padding: 20px 0 30px; }
    .dc-bar-inner { justify-content: flex-start; }
    .dc-clock { display: none; }
}
