/* 
Art Direction 2026: Sea Wave Contrast
Palette: Primary oklch(65% 0.12 190), BG oklch(98% 0.01 190), Neutral oklch(92% 0.02 190), Dark oklch(25% 0.04 190)
Typography: Headings - Geometric Sans (Futura, Avenir, sans-serif), Body - system-ui, sans-serif
Composition: Massive numeric anchors (01, 02) as structural guides, high-density editorial rhythm
Form: Sharp corners (0px), precise linear structure, 1px hair-lines
Animation: Link underline expanding left-to-right, smooth section fade-ins
*/
:root {
    --klbt-primary: oklch(65% 0.12 190);
    --klbt-bg: oklch(98% 0.01 190);
    --klbt-neutral: oklch(92% 0.02 190);
    --klbt-dark: oklch(25% 0.04 190);
    --klbt-white: #ffffff;
    --klbt-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --klbt-font-head: "Futura", "Century Gothic", "Avenir", sans-serif;
    --klbt-font-body: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; background: var(--klbt-bg); color: var(--klbt-dark); font-family: var(--klbt-font-body); line-height: 1.8; }
[hidden] { display: none !important; }

.klbt-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.klbt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--klbt-primary); color: var(--klbt-white); text-decoration: none; font-family: var(--klbt-font-head); font-weight: bold; border: none; cursor: pointer; transition: var(--klbt-transition); font-size: clamp(0.9rem, 2vw, 1rem); }
.klbt-btn:hover { filter: brightness(1.1); }

.klbt-skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.klbt-skip-link:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; padding: 20px; background: var(--klbt-primary); color: var(--klbt-white); z-index: 1000; }

.klbt-topbar { background: var(--klbt-neutral); border-bottom: 1px solid var(--klbt-dark); font-size: 0.8rem; padding: 8px 0; }
.klbt-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

.klbt-header { background: var(--klbt-bg); border-bottom: 1px solid var(--klbt-dark); position: sticky; top: 0; z-index: 100; }
.klbt-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.klbt-logo { display: flex; flex-direction: column; text-decoration: none; color: var(--klbt-dark); }
.klbt-logo-brand { font-family: var(--klbt-font-head); font-weight: 900; font-size: clamp(1.2rem, 3vw, 1.5rem); text-transform: uppercase; line-height: 1; }
.klbt-logo-domain { font-size: 0.65rem; opacity: 0.7; letter-spacing: 0.05em; }

#klbt-menu { display: flex; align-items: center; gap: 30px; }
#klbt-menu a { text-decoration: none; color: var(--klbt-dark); font-size: 0.9rem; position: relative; padding-bottom: 4px; }
#klbt-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--klbt-primary); transition: var(--klbt-transition); }
#klbt-menu a:hover::after { width: 100%; }

.klbt-lang-switch { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.klbt-lang-switch a { text-decoration: none; color: var(--klbt-dark); border: 1px solid var(--klbt-dark); padding: 2px 6px; transition: var(--klbt-transition); }
.klbt-lang-switch a:hover { background: var(--klbt-dark); color: var(--klbt-bg); }

.klbt-menu-toggle { display: none; background: none; border: 1px solid var(--klbt-dark); padding: 8px 12px; cursor: pointer; font-family: var(--klbt-font-head); }

@media (max-width: 959px) {
    .klbt-menu-toggle { display: block; }
    #klbt-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--klbt-bg); flex-direction: column; padding: 20px; gap: 20px; border-bottom: 1px solid var(--klbt-dark); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: var(--klbt-transition); }
    #klbt-menu.klbt-open { transform: translateY(0); opacity: 1; pointer-events: all; }
}

.klbt-hero { background: var(--klbt-primary); color: var(--klbt-white); padding: 80px 0; border-bottom: 1px solid var(--klbt-dark); }
.klbt-hero h1 { font-family: var(--klbt-font-head); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; }
.klbt-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 700px; margin-bottom: 30px; opacity: 0.9; }

.klbt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 1px; background: var(--klbt-dark); border: 1px solid var(--klbt-dark); margin: 40px 0; }
.klbt-fact-item { background: var(--klbt-bg); padding: 30px; text-align: center; }
.klbt-fact-num { display: block; font-family: var(--klbt-font-head); font-size: 2.5rem; font-weight: 900; color: var(--klbt-primary); }

.klbt-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); gap: 30px; margin: 60px 0; }
.klbt-service-card { border: 1px solid var(--klbt-dark); padding: 30px; position: relative; transition: var(--klbt-transition); }
.klbt-service-card:hover { background: var(--klbt-neutral); }
.klbt-service-num { font-family: var(--klbt-font-head); font-size: 3rem; font-weight: 900; opacity: 0.15; position: absolute; top: 10px; right: 20px; }

.klbt-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr)); gap: 20px; }
.klbt-process-step { padding: 20px; border-left: 1px solid var(--klbt-dark); }
.klbt-process-step h3 { font-family: var(--klbt-font-head); text-transform: uppercase; margin-bottom: 10px; }

.klbt-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--klbt-dark); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--klbt-dark); }
th { background: var(--klbt-neutral); font-family: var(--klbt-font-head); text-transform: uppercase; }

.klbt-faq-item { border-bottom: 1px solid var(--klbt-dark); }
.klbt-faq-item summary { padding: 20px 0; cursor: pointer; font-weight: bold; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.klbt-faq-item summary::after { content: '+'; font-size: 1.5rem; }
.klbt-faq-item[open] summary::after { content: '−'; }
.klbt-faq-content { padding: 0 0 20px 0; }

.klbt-guide-card { border: 1px solid var(--klbt-dark); padding: 20px; text-decoration: none; color: inherit; display: block; transition: var(--klbt-transition); }
.klbt-guide-card:hover { border-color: var(--klbt-primary); box-shadow: 5px 5px 0 var(--klbt-primary); }
.klbt-guide-kicker { font-size: 0.7rem; text-transform: uppercase; color: var(--klbt-primary); font-weight: bold; }
.klbt-guide-meta { font-size: 0.75rem; opacity: 0.6; margin-bottom: 10px; }

.klbt-prose h2 { font-family: var(--klbt-font-head); text-transform: uppercase; margin: 40px 0 20px; border-bottom: 1px solid var(--klbt-dark); display: inline-block; }
.klbt-prose p { margin-bottom: 1.5rem; overflow-wrap: anywhere; }

.klbt-legal-toc { margin-bottom: 30px; padding: 20px; background: var(--klbt-neutral); border: 1px solid var(--klbt-dark); }
.klbt-legal-toc ul { list-style: none; }
.klbt-legal-toc a { color: var(--klbt-dark); text-decoration: none; font-size: 0.9rem; }
.klbt-legal-note { font-size: 0.85rem; padding: 15px; border: 1px solid var(--klbt-primary); margin: 20px 0; }

.klbt-form { display: grid; gap: 20px; max-width: 600px; }
.klbt-form-group { display: flex; flex-direction: column; gap: 5px; }
.klbt-form input, .klbt-form textarea { padding: 12px; border: 1px solid var(--klbt-dark); font-family: inherit; }
.klbt-honey { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.klbt-footer { background: var(--klbt-primary); color: var(--klbt-white); padding: 60px 0 20px; border-top: 1px solid var(--klbt-dark); }
.klbt-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 40px; margin-bottom: 40px; }
.klbt-footer h4 { font-family: var(--klbt-font-head); text-transform: uppercase; margin-bottom: 20px; border-bottom: 1px solid var(--klbt-white); display: inline-block; }
.klbt-footer a { color: var(--klbt-white); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 8px; opacity: 0.8; transition: var(--klbt-transition); }
.klbt-footer a:hover { opacity: 1; text-decoration: underline; }
.klbt-footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; font-size: 0.75rem; opacity: 0.7; }

.klbt-cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--klbt-white); border: 1px solid var(--klbt-dark); padding: 25px; z-index: 1000; max-width: 600px; box-shadow: 10px 10px 0 var(--klbt-dark); }
.klbt-cookie-btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.klbt-cookie-btns button { flex: 1; min-width: 120px; padding: 10px; cursor: pointer; font-family: var(--klbt-font-head); border: 1px solid var(--klbt-dark); background: none; transition: var(--klbt-transition); }
.klbt-cookie-btns button:hover { background: var(--klbt-neutral); }
.klbt-cookie-panel { margin-top: 20px; border-top: 1px solid var(--klbt-dark); padding-top: 20px; display: grid; gap: 10px; }
.klbt-cookie-panel label { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; cursor: pointer; }

.klbt-badge { position: fixed; bottom: 20px; right: 20px; width: 100px; height: 100px; z-index: 90; pointer-events: none; }
.klbt-badge svg { width: 100%; height: 100%; animation: klbt-rotate 10s linear infinite; }
@keyframes klbt-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.klbt-light-spot { position: absolute; width: 40vw; height: 40vw; background: radial-gradient(circle, var(--klbt-neutral) 0%, transparent 70%); opacity: 0.5; z-index: -1; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-delay: -1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* сборка: защита от переполнения и служебные правила (промпт, разделы 6-7) */
[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}
.klbt-table-wrap{overflow-x:auto;max-width:100%}
.klbt-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){.klbt-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.klbt-btn:not([aria-controls]){display:none!important}}
@media (max-width:959px){html.js :where(#klbt-menu):not(.klbt-open){display:none!important}:where(header):has(#klbt-menu){position:relative}:where(#klbt-menu).klbt-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(--klbt-bg,Canvas);color:var(--klbt-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#klbt-menu).klbt-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #klbt-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}
.klbt-breadcrumbs{font-size:.875rem;padding-block:1rem}.klbt-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0;padding:0}.klbt-breadcrumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5}
.klbt-figure{margin:2rem 0}.klbt-figure img{display:block;width:100%;height:auto}
.klbt-sitemap ul{columns:2 16rem;padding-left:1.1rem}


/* сборка: контраст - текст был цвета фона */
.klbt-hero > .klbt-container > .klbt-lead:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.klbt-fact-item > .klbt-fact-num:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.klbt-guide-kicker:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.klbt-footer > .klbt-container > .klbt-footer-grid > div > a:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.klbt-footer > .klbt-container > .klbt-footer-grid > div > address > a:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.klbt-footer > .klbt-container > .klbt-footer-bottom > div:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-footer > .klbt-container > .klbt-footer-bottom > div > span:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-btn:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-hero > .klbt-lead:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.klbt-hero > .klbt-prose > .klbt-guide-kicker:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.klbt-hero > .klbt-prose > .klbt-guide-meta > span:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-hero > .klbt-prose > .klbt-lead:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.klbt-hero > .klbt-container > .klbt-guide-kicker:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.klbt-hero > .klbt-container > .klbt-guide-meta > span:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-fact-item:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.klbt-hero > .klbt-guide-kicker:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.klbt-hero > .klbt-guide-meta > span:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
