/* 
Art Direction 2026: Sea-Wave Precision
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: Mono (ui-monospace, SF Mono, Menlo) for labels/digits; System Grotesk for headings/body
Composition: Sticky-media layout (fixed image left, scrolling text right) with editorial density
Form: Sharp 0px corners, 1px hairline borders, high-contrast linear structure
Animation: Slow continuous rotation of circular SVG badge, smooth fade-ins
Rhythm: High-density editorial sections with cold light lime-white backgrounds
*/
:root {
    --jchn-primary: oklch(65% 0.12 190);
    --jchn-bg: oklch(98% 0.01 190);
    --jchn-neutral: oklch(92% 0.02 190);
    --jchn-dark: oklch(25% 0.04 190);
    --jchn-text: oklch(30% 0.02 190);
    --jchn-text-dim: oklch(50% 0.02 190);
    --jchn-white: #ffffff;
    --jchn-mono: ui-monospace, SF Mono, Menlo, monospace;
    --jchn-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --jchn-container-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; background-color: var(--jchn-bg); color: var(--jchn-text); font-family: var(--jchn-sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.jchn-container { max-width: var(--jchn-container-width); margin: 0 auto; padding: 0 24px; }
.jchn-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid var(--jchn-dark); background: transparent; color: var(--jchn-dark); font-family: var(--jchn-mono); font-size: 14px; text-decoration: none; cursor: pointer; transition: all 0.2s ease; position: relative; }
.jchn-btn:hover { background: var(--jchn-dark); color: var(--jchn-white); }
.jchn-btn:focus-visible { outline: 2px solid var(--jchn-primary); outline-offset: 2px; }

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

.jchn-header { padding: 20px 0; border-bottom: 1px solid var(--jchn-dark); position: sticky; top: 0; background: var(--jchn-bg); z-index: 100; }
.jchn-header-inner { display: flex; justify-content: space-between; align-items: center; }
.jchn-logo { display: flex; flex-direction: column; text-decoration: none; color: var(--jchn-dark); line-height: 1; }
.jchn-logo-brand { font-weight: 700; font-size: clamp(1.2rem, 4vw, 1.5rem); }
.jchn-logo-domain { font-family: var(--jchn-mono); font-size: 10px; opacity: 0.6; }

.jchn-nav { display: flex; align-items: center; gap: 32px; }
.jchn-nav-list { display: flex; list-style: none; gap: 24px; }
.jchn-nav-link { text-decoration: none; color: var(--jchn-text); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.jchn-nav-link:hover { color: var(--jchn-primary); }

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

@media (max-width: 959px) {
    .jchn-menu-toggle { display: block; }
    .jchn-nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--jchn-white); border-left: 1px solid var(--jchn-dark); transition: right 0.3s ease; padding: 80px 40px; z-index: 110; }
    .jchn-nav.jchn-open { right: 0; }
    .jchn-nav-list { flex-direction: column; gap: 32px; }
    .jchn-nav-link { font-size: 24px; font-family: var(--jchn-mono); }
}

.jchn-hero { padding: 60px 0; text-align: left; }
.jchn-hero-h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 700; max-width: 900px; overflow-wrap: anywhere; }
.jchn-hero-lead { font-size: clamp(1.1rem, 3vw, 1.4rem); max-width: 600px; margin-bottom: 48px; color: var(--jchn-text-dim); }
.jchn-hero-img { width: 100%; height: auto; border: 1px solid var(--jchn-dark); }

.jchn-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 24px; padding: 40px 0; border-top: 1px solid var(--jchn-dark); border-bottom: 1px solid var(--jchn-dark); }
.jchn-fact-card { display: flex; flex-direction: column; }
.jchn-fact-value { font-family: var(--jchn-mono); font-size: 32px; font-weight: 700; color: var(--jchn-primary); }
.jchn-fact-label { font-size: 14px; text-transform: uppercase; opacity: 0.7; }

.jchn-services-table-wrap { overflow-x: auto; margin: 40px 0; border: 1px solid var(--jchn-dark); }
.jchn-services-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.jchn-services-table th { background: var(--jchn-neutral); border-bottom: 1px solid var(--jchn-dark); padding: 12px; font-family: var(--jchn-mono); }
.jchn-services-table td { padding: 12px; border-bottom: 1px solid var(--jchn-neutral); vertical-align: middle; }
.jchn-services-table tr:last-child td { border-bottom: none; }

.jchn-sticky-section { display: flex; gap: 60px; align-items: flex-start; margin: 80px 0; }
.jchn-sticky-media { position: sticky; top: 120px; width: 50%; height: 60vh; border: 1px solid var(--jchn-dark); }
.jchn-sticky-media img { width: 100%; height: 100%; object-fit: cover; }
.jchn-sticky-content { width: 50%; }

.jchn-faq-item { border-bottom: 1px solid var(--jchn-neutral); }
.jchn-faq-item summary { padding: 20px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.jchn-faq-item summary::after { content: '+'; font-family: var(--jchn-mono); }
.jchn-faq-item[open] summary::after { content: '−'; }
.jchn-faq-content { padding: 0 0 20px 0; font-size: 15px; color: var(--jchn-text-dim); }

.jchn-prose { max-width: 75ch; }
.jchn-prose p { margin-bottom: 1.5rem; }
.jchn-prose h2 { font-size: 2rem; margin: 2rem 0 1rem; border-left: 4px solid var(--jchn-primary); padding-left: 16px; }

.jchn-legal-nav { margin-bottom: 40px; border: 1px solid var(--jchn-dark); padding: 20px; }
.jchn-legal-nav a { display: block; padding: 8px 0; color: var(--jchn-text); text-decoration: none; font-family: var(--jchn-mono); font-size: 14px; }
.jchn-legal-nav a:hover { color: var(--jchn-primary); }

.jchn-footer { background: var(--jchn-neutral); padding: 60px 0 20px; border-top: 1px solid var(--jchn-dark); margin-top: 80px; }
.jchn-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 40px; margin-bottom: 40px; }
.jchn-footer-col h4 { font-family: var(--jchn-mono); font-size: 14px; margin-bottom: 20px; text-transform: uppercase; }
.jchn-footer-links { list-style: none; }
.jchn-footer-links a { display: block; margin-bottom: 8px; text-decoration: none; color: var(--jchn-text-dim); font-size: 14px; }
.jchn-footer-links a:hover { color: var(--jchn-dark); }
.jchn-footer-bottom { border-top: 1px solid var(--jchn-dark); padding-top: 20px; font-size: 12px; color: var(--jchn-text-dim); }

.jchn-cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; background: var(--jchn-white); border: 1px solid var(--jchn-dark); padding: 24px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 600px; margin: 0 auto; }
.jchn-cookie-btns { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.jchn-cookie-panel { margin-top: 20px; border-top: 1px solid var(--jchn-neutral); padding-top: 20px; }
.jchn-cookie-cat { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; cursor: pointer; font-size: 14px; }

.jchn-badge { position: fixed; bottom: 24px; right: 24px; width: 80px; height: 80px; animation: jchn-rotate 20s linear infinite; z-index: 90; }
@keyframes jchn-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

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

.jchn-honey { position: absolute; left: -9999px; top: -9999px; }

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

@media (max-width: 768px) {
    .jchn-sticky-section { flex-direction: column; }
    .jchn-sticky-media, .jchn-sticky-content { width: 100%; position: static; }
    .jchn-sticky-media { height: 300px; margin-bottom: 24px; }
}

/* сборка: защита от переполнения и служебные правила (промпт, разделы 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}
.jchn-table-wrap{overflow-x:auto;max-width:100%}
.jchn-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){.jchn-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.jchn-btn:not([aria-controls]){display:none!important}}
/* Контейнер внутри сетки/флекса - на всю ширину: hero модели бывает сеткой из 12 колонок для «текст + картинка»,
   а контейнер между ними занимал одну колонку, и заголовок вставал в столбик по букве (sticketzyra.digital, 15.10.2026).
   Контейнер в hero наследует сетку родителя, чтобы span-ы детей продолжали работать. */
.jchn-container{grid-column:1 / -1;flex:1 1 100%;min-width:0}
.jchn-hero > .jchn-container{display:grid;grid-template-columns:inherit;gap:inherit;align-items:inherit;justify-items:start}
.jchn-hero > .jchn-container > *{min-width:0}
@media (max-width:959px){html.js :where(#jchn-menu):not(.jchn-open){display:none!important}:where(header):has(#jchn-menu){position:relative}:where(#jchn-menu).jchn-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(--jchn-bg,Canvas);color:var(--jchn-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#jchn-menu).jchn-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #jchn-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}
.jchn-breadcrumbs{font-size:.875rem;padding-block:1rem}.jchn-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0;padding:0}.jchn-breadcrumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5}
.jchn-table-wrap{overflow-x:auto;max-width:100%;margin-block:1.5rem}
.jchn-figure{margin:2rem 0}.jchn-figure img{display:block;width:100%;height:auto}
.jchn-legal-note{border-left:3px solid currentColor;padding:.75rem 1rem;margin:1rem 0}
.jchn-sitemap ul{columns:2 16rem;padding-left:1.1rem}
.jchn-form{display:grid;gap:1rem;max-width:40rem}.jchn-form label{display:block;font-weight:600}.jchn-form input,.jchn-form textarea,.jchn-form select{width:100%;box-sizing:border-box;min-height:44px}


/* сборка: контраст - текст был цвета фона */
.jchn-fact-value:not(:hover):not(:focus-visible){color:rgb(34 49 48)!important;-webkit-text-fill-color:rgb(34 49 48)!important}
.jchn-fact-value > small:not(:hover):not(:focus-visible){color:rgb(34 49 48)!important;-webkit-text-fill-color:rgb(34 49 48)!important}
.jchn-fact-value > a:not(:hover):not(:focus-visible){color:rgb(34 49 48)!important;-webkit-text-fill-color:rgb(34 49 48)!important}
