/* 
Art Direction 2026: Petrol Precision
Palette: Primary oklch(55% 0.12 220), BG oklch(98% 0.01 220), Neutral oklch(92% 0.02 220), Dark oklch(25% 0.04 220)
Typography: Headings - "Avenir Next Condensed", "Arial Narrow", sans-serif (Uppercase, Bold); Body - "Seravek", "Gill Sans", system-ui
Composition: Massive numeric anchors (01, 02...) as structural guides, high-density editorial rhythm
Form: Large radius 20px+, pill-shaped buttons, clean linear grids
Animation: Soft shifting radial background gradients, smooth fade-ins on scroll
*/
:root {
    --bcwm-primary: oklch(55% 0.12 220);
    --bcwm-bg: oklch(98% 0.01 220);
    --bcwm-neutral: oklch(92% 0.02 220);
    --bcwm-dark: oklch(25% 0.04 220);
    --bcwm-text: oklch(30% 0.02 220);
    --bcwm-white: #ffffff;
    --bcwm-radius: 24px;
    --bcwm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body { overflow-x: clip; scroll-behavior: smooth; }
body { 
    margin: 0; 
    padding: 0; 
    background-color: var(--bcwm-bg); 
    color: var(--bcwm-text); 
    font-family: "Seravek", "Gill Sans", system-ui, -apple-system, sans-serif; 
    line-height: 1.7; 
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

.bcwm-container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%; 
    box-sizing: border-box; 
}

/* Typography */
h1, h2, h3, h4 { 
    font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif; 
    text-transform: uppercase; 
    font-weight: 800; 
    line-height: 1.15; 
    margin: 0 0 1rem 0; 
    color: var(--bcwm-dark);
}
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }

p, li { 
    overflow-wrap: anywhere; 
    word-break: normal; 
    hyphens: auto; 
    margin-bottom: 1.5rem; 
}

/* Layout Components */
.bcwm-topbar { 
    background: var(--bcwm-neutral); 
    font-size: 0.85rem; 
    padding: 8px 0; 
    border-bottom: 1px solid oklch(85% 0.02 220); 
}
.bcwm-topbar-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.bcwm-header { 
    padding: 20px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: rgba(255,255,255,0.8); 
    backdrop-filter: blur(10px); 
}
.bcwm-header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.bcwm-logo { 
    display: flex; 
    flex-direction: column; 
    text-decoration: none; 
    color: var(--bcwm-dark); 
}
.bcwm-logo-brand { font-family: "Avenir Next Condensed", sans-serif; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.bcwm-logo-domain { font-size: 0.7rem; opacity: 0.6; }

.bcwm-nav { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}
.bcwm-nav-link { 
    text-decoration: none; 
    color: var(--bcwm-text); 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: var(--bcwm-transition); 
}
.bcwm-nav-link:hover { color: var(--bcwm-primary); }

.bcwm-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 12px 28px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    font-family: "Avenir Next Condensed", sans-serif; 
    text-transform: uppercase; 
    transition: var(--bcwm-transition); 
    cursor: pointer; 
    border: none; 
    font-size: 0.9rem; 
}
.bcwm-btn-primary { background: var(--bcwm-primary); color: var(--bcwm-white); }
.bcwm-btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.bcwm-menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px; 
}

/* Hero & Numbers */
.bcwm-hero { 
    padding: 80px 0; 
    position: relative; 
    overflow: hidden; 
}
.bcwm-hero-content { max-width: 700px; position: relative; z-index: 2; }
.bcwm-lead { font-size: clamp(1.1rem, 3vw, 1.4rem); opacity: 0.8; margin-bottom: 2rem; }

.bcwm-facts { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); 
    gap: 30px; 
    margin: 60px 0; 
}
.bcwm-fact-card { 
    background: var(--bcwm-neutral); 
    padding: 30px; 
    border-radius: var(--bcwm-radius); 
    text-align: center; 
}
.bcwm-fact-num { 
    display: block; 
    font-family: "Avenir Next Condensed", sans-serif; 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: var(--bcwm-primary); 
    line-height: 1; 
}

/* Services & Process */
.bcwm-services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); 
    gap: 40px; 
}
.bcwm-service-item { 
    padding: 40px; 
    border-radius: var(--bcwm-radius); 
    background: var(--bcwm-white); 
    border: 1px solid var(--bcwm-neutral); 
    transition: var(--bcwm-transition); 
    position: relative; 
}
.bcwm-service-item:hover { border-color: var(--bcwm-primary); transform: scale(1.02); }
.bcwm-service-id { 
    font-family: "Avenir Next Condensed", sans-serif; 
    font-size: 4rem; 
    font-weight: 800; 
    color: var(--bcwm-neutral); 
    position: absolute; 
    top: 10px; 
    right: 20px; 
    z-index: 0; 
    pointer-events: none; 
}
.bcwm-service-item h3 { position: relative; z-index: 1; }

.bcwm-process { display: grid; gap: 20px; }
.bcwm-step { 
    display: flex; 
    gap: 20px; 
    padding: 20px; 
    border-radius: var(--bcwm-radius); 
    background: var(--bcwm-white); 
}
.bcwm-step-num { 
    font-family: "Avenir Next Condensed", sans-serif; 
    font-weight: 800; 
    font-size: 2rem; 
    color: var(--bcwm-primary); 
}

/* UI Elements */
.bcwm-table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--bcwm-radius); border: 1px solid var(--bcwm-neutral); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 20px; border-bottom: 1px solid var(--bcwm-neutral); }
th { background: var(--bcwm-neutral); font-family: "Avenir Next Condensed", sans-serif; text-transform: uppercase; }

details.bcwm-faq { background: var(--bcwm-white); border-radius: var(--bcwm-radius); margin-bottom: 15px; border: 1px solid var(--bcwm-neutral); }
summary.bcwm-faq-sum { padding: 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary.bcwm-faq-sum::after { content: '+'; font-size: 1.5rem; color: var(--bcwm-primary); }
details[open] summary.bcwm-faq-sum::after { content: '−'; }
.bcwm-faq-content { padding: 0 20px 20px; }

.bcwm-guide-card { 
    text-decoration: none; 
    color: inherit; 
    display: block; 
    padding: 30px; 
    border-radius: var(--bcwm-radius); 
    background: var(--bcwm-neutral); 
    transition: var(--bcwm-transition); 
}
.bcwm-guide-card:hover { background: var(--bcwm-white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.bcwm-kicker { font-family: "Avenir Next Condensed", sans-serif; color: var(--bcwm-primary); text-transform: uppercase; font-weight: 700; font-size: 0.9rem; }
.bcwm-read-time { font-size: 0.8rem; opacity: 0.6; margin-bottom: 1rem; display: block; }

/* Forms & Legal */
.bcwm-form { display: grid; gap: 20px; max-width: 600px; }
.bcwm-field { display: flex; flex-direction: column; gap: 8px; }
.bcwm-field label { font-weight: 600; font-size: 0.9rem; }
.bcwm-field input, .bcwm-field textarea { 
    padding: 12px; 
    border-radius: 12px; 
    border: 1px solid var(--bcwm-neutral); 
    font-family: inherit; 
}
.bcwm-honey { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.bcwm-legal-nav { margin-bottom: 30px; display: grid; gap: 10px; }
.bcwm-legal-nav a { color: var(--bcwm-primary); text-decoration: none; font-size: 0.9rem; }
.bcwm-legal-note { background: var(--bcwm-neutral); padding: 20px; border-radius: var(--bcwm-radius); font-size: 0.9rem; }

/* Footer */
.bcwm-footer { background: var(--bcwm-dark); color: var(--bcwm-white); padding: 60px 0 30px; }
.bcwm-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 40px; margin-bottom: 40px; }
.bcwm-footer-col h4 { color: var(--bcwm-white); font-size: 1rem; margin-bottom: 20px; }
.bcwm-footer-links { display: flex; flex-direction: column; gap: 10px; }
.bcwm-footer-links a { color: oklch(80% 0.02 220); text-decoration: none; font-size: 0.9rem; transition: var(--bcwm-transition); }
.bcwm-footer-links a:hover { color: var(--bcwm-white); }
.bcwm-footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; opacity: 0.7; }

/* Cookie Banner */
.bcwm-cookie-banner { 
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    right: 20px; 
    background: var(--bcwm-white); 
    z-index: 1000; 
    padding: 30px; 
    border-radius: var(--bcwm-radius); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    max-width: 600px; 
    margin: 0 auto; 
    border: 1px solid var(--bcwm-neutral); 
}
.bcwm-cookie-btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.bcwm-cookie-panel { margin-top: 20px; border-top: 1px solid var(--bcwm-neutral); padding-top: 20px; }
.bcwm-cookie-cat { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; font-size: 0.9rem; }

/* SVG Badge */
.bcwm-badge { 
    position: absolute; 
    width: 120px; 
    height: 120px; 
    animation: rotate 20s linear infinite; 
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.bcwm-light-spot { 
    position: absolute; 
    width: 40vw; 
    height: 40vw; 
    background: radial-gradient(circle, oklch(90% 0.05 220) 0%, transparent 70%); 
    z-index: -1; 
    animation: drift 15s ease-in-out infinite alternate; 
}
@keyframes drift { from { transform: translate(-10%, -10%); } to { transform: translate(10%, 10%); } }

.bcwm-skip-link { 
    position: absolute; 
    top: -100px; 
    left: 0; 
    background: var(--bcwm-primary); 
    color: white; 
    padding: 10px; 
    z-index: 1001; 
}
.bcwm-skip-link:focus { top: 0; }

/* Accessibility & Focus */
*:focus-visible { outline: 3px solid var(--bcwm-primary); outline-offset: 2px; }

/* Responsive */
@media (max-width: 959px) {
    .bcwm-nav { 
        position: fixed; 
        top: 0; 
        right: 0; 
        bottom: 0; 
        left: 0; 
        background: var(--bcwm-bg); 
        flex-direction: column; 
        justify-content: center; 
        transform: translateX(100%); 
        transition: var(--bcwm-transition); 
        z-index: 99; 
    }
    .bcwm-nav.bcwm-open { transform: translateX(0); }
    .bcwm-menu-toggle { display: block; }
}

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

