/* 
Art Direction: Cold Light Theme (Petrol Accent)
Palette: Petrol oklch(55% 0.12 230) on Lime-white oklch(98% 0.01 220) & Slate-blue neutrals.
Typography: Headers - Geometric Grotesk (Futura, Avenir, sans-serif); Body - System Sans.
Composition: Sticky-media (pinned images left, scrolling text right) & Editorial Grid.
Form: Soft radii 6-10px; high-contrast light/dark section rhythm.
Animation: Fade-in sections on scroll (via CSS transitions) & Rotating SVG badge.
*/
:root {
    --stck-color-primary: oklch(55% 0.12 230);
    --stck-color-bg: oklch(98% 0.01 220);
    --stck-color-bg-alt: oklch(94% 0.02 230);
    --stck-color-text: oklch(25% 0.02 230);
    --stck-color-text-muted: oklch(50% 0.03 230);
    --stck-color-border: oklch(85% 0.03 230);
    --stck-radius: 8px;
    --stck-transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --stck-container-width: 1240px;
}

html, body { 
    overflow-x: clip; 
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--stck-color-bg);
    color: var(--stck-color-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Futura", "Century Gothic", "Avenir", sans-serif;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

a { color: inherit; text-decoration: none; transition: var(--stck-transition); }
a:focus-visible { outline: 2px solid var(--stck-color-primary); outline-offset: 3px; }

[hidden] { display: none !important; }

.stck-container {
    max-width: var(--stck-container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Components */
.stck-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--stck-color-primary);
    color: white;
    padding: 1rem;
    z-index: 1000;
}
.stck-skip-link:focus { top: 0; }

.stck-topbar {
    background: var(--stck-color-bg-alt);
    border-bottom: 1px solid var(--stck-color-border);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.stck-topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stck-header {
    background: var(--stck-color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}
.stck-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stck-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.stck-logo-brand { font-weight: 800; font-size: 1.5rem; color: var(--stck-color-primary); }
.stck-logo-domain { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }

.stck-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.stck-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}
.stck-nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.stck-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--stck-color-primary);
    transition: var(--stck-transition);
}
.stck-nav-link:hover::after { width: 100%; }

.stck-lang-switch {
    display: flex;
    gap: 0.5rem;
    border-left: 1px solid var(--stck-color-border);
    padding-left: 1.5rem;
}

.stck-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--stck-color-primary);
    color: white;
    border-radius: var(--stck-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--stck-transition);
}
.stck-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.stck-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 959px) {
    .stck-menu-toggle { display: block; }
    .stck-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: var(--stck-transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: 110;
    }
    .stck-nav.stck-open { right: 0; }
    .stck-nav-list { flex-direction: column; align-items: center; text-align: center; }
}

.stck-hero {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: center;
}
.stck-hero-text { grid-column: span 7; }
.stck-hero-img { grid-column: span 5; border-radius: var(--stck-radius); overflow: hidden; }

.stck-lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--stck-color-text-muted);
    margin-bottom: 2rem;
}

.stck-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: 2rem;
    margin: 4rem 0;
}
.stck-fact-card {
    background: var(--stck-color-bg-alt);
    padding: 2rem;
    border-radius: var(--stck-radius);
    text-align: center;
    border: 1px solid var(--stck-color-border);
}
.stck-fact-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--stck-color-primary);
}

.stck-sticky-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
}
.stck-sticky-media {
    position: sticky;
    top: 120px;
    height: 60vh;
    border-radius: var(--stck-radius);
    overflow: hidden;
}
.stck-sticky-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stck-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
    gap: 2rem;
}
.stck-service-card {
    padding: 2.5rem;
    border: 1px solid var(--stck-color-border);
    border-radius: var(--stck-radius);
    transition: var(--stck-transition);
    position: relative;
}
.stck-service-card:hover { border-color: var(--stck-color-primary); background: white; }
.stck-service-num {
    font-family: "Futura", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.stck-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--stck-radius);
    border: 1px solid var(--stck-color-border);
}
.stck-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.stck-table th, .stck-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--stck-color-border);
}
.stck-table th { background: var(--stck-color-bg-alt); font-weight: 600; }

.stck-faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--stck-color-border);
    border-radius: var(--stck-radius);
}
.stck-faq-item summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stck-faq-item summary::-webkit-details-marker { display: none; }
.stck-faq-content { padding: 0 1rem 1rem 1rem; }

.stck-badge {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: stck-rotate 20s linear infinite;
    z-index: 10;
}
@keyframes stck-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.stck-prose {
    max-width: 700px;
    overflow-wrap: anywhere;
}
.stck-prose p { margin-bottom: 1.5rem; }

.stck-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--stck-color-border);
}
.stck-legal-col h4 { font-size: 1rem; margin-bottom: 1rem; }
.stck-legal-col ul { list-style: none; padding: 0; }
.stck-legal-col li { margin-bottom: 0.5rem; font-size: 0.9rem; }

.stck-footer {
    padding: 4rem 0 2rem 0;
    background: var(--stck-color-bg-alt);
}
.stck-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--stck-color-border);
    font-size: 0.8rem;
    color: var(--stck-color-text-muted);
    text-align: center;
}

.stck-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    z-index: 1000;
    padding: 1.5rem;
    border-radius: var(--stck-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}
.stck-cookie-btns {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.stck-cookie-panel {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stck-color-border);
}
.stck-cookie-cat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.stck-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
}
.stck-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.stck-form-input {
    padding: 0.8rem;
    border: 1px solid var(--stck-color-border);
    border-radius: var(--stck-radius);
    font-family: inherit;
}
.stck-honey { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.stck-figure { margin: 2rem 0; position: relative; }
.stck-figure img { width: 100%; height: auto; border-radius: var(--stck-radius); }

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 768px) {
    .stck-hero, .stck-sticky-section { grid-template-columns: 1fr; }
    .stck-hero-text, .stck-hero-img { grid-column: span 1; }
    .stck-sticky-media { position: relative; top: 0; height: auto; }
}

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

