/* 
Art Direction: 2026 Editorial Dark Theme
Palette: OKLCH Plum core (oklch(45% 0.18 330)) on Graphite (oklch(18% 0.02 330)).
Typography: Headers - Bold Condensed Sans (Uppercase); Text - Humanist Sans.
Concept: Overlapping fact-cards on imagery, thin architectural lines, pill-shaped UI.
Visuals: Radial light glows (blurred plums/purples), soft-shift background animation.
Interactions: Subtle elevation, smooth opacity transitions, 20px+ rounded corners.
*/

:root {
    --cnzb-bg: oklch(18% 0.02 330);
    --cnzb-bg-alt: oklch(14% 0.02 330);
    --cnzb-accent: oklch(45% 0.18 330);
    --cnzb-accent-light: oklch(60% 0.15 330);
    --cnzb-text: oklch(92% 0.01 330);
    --cnzb-text-muted: oklch(75% 0.02 330);
    --cnzb-border: oklch(30% 0.05 330);
    --cnzb-glow: radial-gradient(circle at var(--x, 50%) var(--y, 50%), oklch(30% 0.12 330) 0%, transparent 70%);
    --cnzb-radius: 24px;
    --cnzb-font-head: "Avenir Next Condensed", "Arial Narrow", sans-serif;
    --cnzb-font-body: "Seravek", "Gill Sans", system-ui, -apple-system, sans-serif;
}

html, body { 
    overflow-x: clip; 
    background-color: var(--cnzb-bg); 
    color: var(--cnzb-text); 
    font-family: var(--cnzb-font-body); 
    line-height: 1.7; 
    margin: 0;
}

[hidden] { display: none !important; }

/* Base & Layout */
.cnzb-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%; 
    box-sizing: border-box;
}

.cnzb-prose { 
    font-size: clamp(1rem, 2vw, 1.125rem); 
    overflow-wrap: anywhere; 
    word-break: normal; 
    hyphens: auto; 
}

.cnzb-prose h1, .cnzb-prose h2, .cnzb-prose h3 { 
    font-family: var(--cnzb-font-head); 
    text-transform: uppercase; 
    line-height: 1.15; 
    margin-top: 2.5rem;
}

.cnzb-table-wrap { 
    overflow-x: auto; 
    border-radius: var(--cnzb-radius); 
    border: 1px solid var(--cnzb-border); 
    margin: 2rem 0;
}

.cnzb-figure { 
    margin: 0; 
    position: relative; 
    border-radius: var(--cnzb-radius); 
    overflow: hidden;
}

.cnzb-figure img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover;
}

/* UI Elements */
.cnzb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 100px;
    font-family: var(--cnzb-font-head);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.cnzb-btn-primary {
    background-color: var(--cnzb-accent);
    color: white;
}

.cnzb-btn-primary:hover {
    background-color: var(--cnzb-accent-light);
    transform: translateY(-2px);
}

.cnzb-honey { 
    position: absolute; 
    opacity: 0; 
    pointer-events: none; 
    width: 0; 
    height: 0; 
}

/* Header & Navigation */
.cnzb-topbar {
    background: var(--cnzb-bg-alt);
    border-bottom: 1px solid var(--cnzb-border);
    font-size: 0.8rem;
    padding: 8px 0;
    color: var(--cnzb-text-muted);
}

.cnzb-topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cnzb-header {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(24, 24, 24, 0.8);
    backdrop-filter: blur(12px);
}

.cnzb-logo {
    font-family: var(--cnzb-font-head);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--cnzb-text);
    text-decoration: none;
}

.cnzb-logo-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--cnzb-text-muted);
    letter-spacing: 1px;
}

.cnzb-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.cnzb-nav-link {
    color: var(--cnzb-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.cnzb-nav-link:hover { color: var(--cnzb-accent-light); }

.cnzb-lang-switch {
    font-family: var(--cnzb-font-head);
    text-decoration: none;
    color: var(--cnzb-text-muted);
    font-size: 0.8rem;
    border: 1px solid var(--cnzb-border);
    padding: 4px 12px;
    border-radius: 100px;
}

.cnzb-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cnzb-text);
    cursor: pointer;
    padding: 10px;
}

/* Mobile Menu */
@media (max-width: 959px) {
    .cnzb-menu-toggle { display: block; }
    .cnzb-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--cnzb-bg);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
    }
    .cnzb-nav.cnzb-open { transform: translateX(0); }
}

/* Hero & Sectioning */
.cnzb-hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cnzb-hero-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cnzb-glow);
    z-index: -1;
    animation: cnzb-glow-move 10s infinite alternate ease-in-out;
}

@keyframes cnzb-glow-move {
    0% { --x: 20%; --y: 30%; }
    100% { --x: 80%; --y: 70%; }
}

.cnzb-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .cnzb-hero-content { grid-template-columns: 1fr; text-align: center; }
}

/* Fact Cards (Overlapping) */
.cnzb-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr));
    gap: 30px;
    margin: 60px 0;
}

.cnzb-fact-card {
    background: var(--cnzb-bg-alt);
    border: 1px solid var(--cnzb-border);
    padding: 30px;
    border-radius: var(--cnzb-radius);
    position: relative;
    transition: transform 0.3s;
}

.cnzb-fact-card:hover { transform: translateY(-10px); }

.cnzb-fact-val {
    font-family: var(--cnzb-font-head);
    font-size: 3rem;
    display: block;
    color: var(--cnzb-accent-light);
}

/* Services Numbering */
.cnzb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
    gap: 20px;
}

.cnzb-service-item {
    padding: 40px;
    border-radius: var(--cnzb-radius);
    background: var(--cnzb-bg-alt);
    border: 1px solid var(--cnzb-border);
    position: relative;
    transition: border-color 0.3s;
}

.cnzb-service-item:hover { border-color: var(--cnzb-accent); }

.cnzb-service-num {
    font-family: var(--cnzb-font-head);
    font-size: 1rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}

/* FAQ & Knowledge */
.cnzb-faq-item {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--cnzb-border);
}

.cnzb-faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cnzb-faq-item summary::-webkit-details-marker { display: none; }

.cnzb-faq-content {
    padding-bottom: 20px;
    color: var(--cnzb-text-muted);
}

/* Forms */
.cnzb-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.cnzb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cnzb-form-input {
    padding: 14px 20px;
    border-radius: 100px;
    border: 1px solid var(--cnzb-border);
    background: var(--cnzb-bg-alt);
    color: var(--cnzb-text);
    font-family: inherit;
}

.cnzb-form-input:focus {
    outline: 2px solid var(--cnzb-accent);
    border-color: transparent;
}

/* Footer */
.cnzb-footer {
    background: var(--cnzb-bg-alt);
    padding: 80px 0 40px;
    border-top: 1px solid var(--cnzb-border);
    font-size: 0.9rem;
}

.cnzb-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.cnzb-footer-col h4 {
    font-family: var(--cnzb-font-head);
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--cnzb-accent-light);
}

.cnzb-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cnzb-footer-link {
    color: var(--cnzb-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.cnzb-footer-link:hover { color: var(--cnzb-text); }

.cnzb-footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--cnzb-border);
    text-align: center;
    color: var(--cnzb-text-muted);
    font-size: 0.8rem;
}

/* Cookie Banner */
.cnzb-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--cnzb-bg-alt);
    border: 1px solid var(--cnzb-border);
    padding: 32px;
    border-radius: var(--cnzb-radius);
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.cnzb-cookie-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px,100%), 1fr));
    gap: 12px;
    margin-top: 24px;
}

.cnzb-cookie-panel {
    background: var(--cnzb-bg);
    padding: 20px;
    border-radius: var(--cnzb-radius);
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.cnzb-cookie-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

/* Accessibility & Misc */
.cnzb-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--cnzb-accent);
    color: white;
    padding: 10px;
    z-index: 2000;
    text-decoration: none;
}

.cnzb-skip-link:focus { top: 0; }

*:focus-visible {
    outline: 3px solid var(--cnzb-accent-light);
    outline-offset: 4px;
}

.cnzb-badge-svg {
    width: 120px;
    height: 120px;
    animation: cnzb-rotate 20s linear infinite;
}

@keyframes cnzb-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* сборка: защита от переполнения и служебные правила */
[hidden]{display:none!important}
html,body{overflow-x:clip}
img,video{max-width:100%;height:auto}
:where(main,header,footer) :where(div,section,article,aside,ul,ol,li,figure,details,form,fieldset,nav){min-width:0}
:where(main,footer) :where(h1,h2,h3,h4,p,li,td,th,dd,dt,summary,figcaption,a){overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.cnzb-table-wrap{overflow-x:auto;max-width:100%}
.cnzb-honey{position:absolute!important;left:auto!important;right:auto!important;top:auto!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important}
:where(a){color:inherit;text-underline-offset:.2em}
:where(main) :where(section,article,div,li,figure){position:relative}
@media (max-width:479px){.cnzb-btn,:where(button,[type=submit],[type=button]){white-space:normal!important;max-width:100%;box-sizing:border-box}:where(input,select,textarea){max-width:100%!important;box-sizing:border-box}:where(header) :where(div,nav,ul,ol){column-gap:min(1rem,3vw)!important}:where(header) a.cnzb-btn:not([aria-controls]){display:none!important}}
@media (max-width:959px){html.js :where(#cnzb-menu):not(.cnzb-open){display:none!important}:where(header):has(#cnzb-menu){position:relative}:where(#cnzb-menu).cnzb-open{display:flex!important;flex-direction:column;align-items:stretch;gap:.25rem;position:absolute;left:0;right:0;top:100%;z-index:90;max-height:calc(100vh - 4rem);overflow-y:auto;padding:1rem clamp(16px,4vw,32px) 1.5rem;box-sizing:border-box;visibility:visible!important;opacity:1!important;transform:none!important;background:var(--cnzb-bg,Canvas);color:var(--cnzb-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#cnzb-menu).cnzb-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #cnzb-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}
.cnzb-breadcrumbs{font-size:.875rem;padding-block:1rem}.cnzb-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0;padding:0}.cnzb-breadcrumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5}
.cnzb-legal-note{border-left:3px solid currentColor;padding:.75rem 1rem;margin:1rem 0}
.cnzb-sitemap ul{columns:2 16rem;padding-left:1.1rem}

