/* 
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: Charter, Bitstream Charter, Georgia, serif; Captions: italic
Composition: Split-screen layout, high-contrast saturated hero/footer, generous white-space
Form: Large radius (20px+), pill-shaped buttons, soft editorial rhythm
Animation: Continuous slow rotation of the circular SVG badge
*/

:root {
    --bndx-primary: oklch(65% 0.12 190);
    --bndx-primary-dark: oklch(55% 0.12 190);
    --bndx-bg: oklch(98% 0.01 190);
    --bndx-neutral: oklch(92% 0.02 190);
    --bndx-dark: oklch(25% 0.04 190);
    --bndx-white: #ffffff;
    --bndx-radius: 24px;
    --bndx-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { 
    overflow-x: clip; 
    background-color: var(--bndx-bg); 
    color: var(--bndx-dark); 
    font-family: Charter, "Bitstream Charter", Georgia, serif; 
    line-height: 1.7; 
    margin: 0; 
}

[hidden] { display: none !important; }

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

/* Typography */
h1, h2, h3, h4 { 
    line-height: 1.2; 
    margin-top: 0; 
    font-weight: 600; 
    color: var(--bndx-dark); 
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 1.75rem); }

.bndx-prose { 
    font-size: clamp(1rem, 2vw, 1.125rem); 
    overflow-wrap: anywhere; 
}

.bndx-prose p { margin-bottom: 1.5rem; }

.bndx-caption { 
    font-style: italic; 
    font-size: 0.9rem; 
    opacity: 0.8; 
}

/* Layout Components */
.bndx-split { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    align-items: center; 
    gap: 40px; 
}

@media (max-width: 959px) { 
    .bndx-split { grid-template-columns: 1fr; } 
}

/* Topbar */
.bndx-topbar { 
    background: var(--bndx-neutral); 
    font-size: 0.85rem; 
    padding: 8px 0; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}

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

/* Header & Nav */
.bndx-header { 
    padding: 20px 0; 
    background: var(--bndx-bg); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.bndx-header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.bndx-logo { 
    text-decoration: none; 
    color: var(--bndx-dark); 
    display: flex; 
    flex-direction: column; 
}

.bndx-logo-brand { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.bndx-logo-domain { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }

.bndx-nav { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.bndx-nav-link { 
    text-decoration: none; 
    color: var(--bndx-dark); 
    font-weight: 500; 
    transition: var(--bndx-transition); 
    position: relative; 
}

.bndx-nav-link:hover { color: var(--bndx-primary); }

.bndx-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 12px 28px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: var(--bndx-transition); 
    cursor: pointer; 
    border: none; 
}

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

.bndx-btn-primary:hover { 
    background: var(--bndx-primary-dark); 
    transform: translateY(-2px); 
}

.bndx-menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font: inherit; 
    cursor: pointer; 
}

@media (max-width: 959px) { 
    .bndx-menu-toggle { display: block; } 
    .bndx-nav { 
        position: fixed; 
        top: 0; 
        right: 0; 
        width: 300px; 
        height: 100vh; 
        background: var(--bndx-white); 
        flex-direction: column; 
        padding: 80px 40px; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
        transform: translateX(100%); 
        transition: transform 0.3s ease; 
        z-index: 101; 
    } 
    .bndx-nav.bndx-open { transform: translateX(0); } 
}

/* Hero */
.bndx-hero { 
    background: var(--bndx-primary); 
    color: var(--bndx-white); 
    padding: 100px 0; 
    border-radius: 0 0 var(--bndx-radius) var(--bndx-radius); 
}

.bndx-hero h1 { color: var(--bndx-white); margin-bottom: 24px; }

/* Facts */
.bndx-facts { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); 
    gap: 20px; 
    margin: -60px 0 60px; 
}

.bndx-fact-card { 
    background: var(--bndx-white); 
    padding: 30px; 
    border-radius: var(--bndx-radius); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    text-align: center; 
}

.bndx-fact-value { 
    display: block; 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--bndx-primary); 
}

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

.bndx-service-card { 
    padding: 40px; 
    border-radius: var(--bndx-radius); 
    background: var(--bndx-neutral); 
    transition: var(--bndx-transition); 
    border: 1px solid transparent; 
}

.bndx-service-card:hover { 
    background: var(--bndx-white); 
    border-color: var(--bndx-primary); 
    transform: scale(1.02); 
}

.bndx-service-num { 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--bndx-primary); 
    margin-bottom: 10px; 
    display: block; 
}

/* Tables */
.bndx-table-wrap { 
    overflow-x: auto; 
    margin: 2rem 0; 
    border-radius: var(--bndx-radius); 
    border: 1px solid var(--bndx-neutral); 
}

.bndx-table { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
}

.bndx-table th, .bndx-table td { 
    padding: 16px; 
    border-bottom: 1px solid var(--bndx-neutral); 
}

.bndx-table th { background: var(--bndx-neutral); font-weight: 600; }

/* FAQ */
.bndx-faq-group { margin-bottom: 40px; }
.bndx-faq-item { 
    margin-bottom: 10px; 
    border-radius: 12px; 
    background: var(--bndx-white); 
    border: 1px solid var(--bndx-neutral); 
}

.bndx-faq-item summary { 
    padding: 20px; 
    cursor: pointer; 
    font-weight: 600; 
    list-style: none; 
}

.bndx-faq-item p { padding: 0 20px 20px; }

/* Forms */
.bndx-form { 
    display: grid; 
    gap: 20px; 
    max-width: 600px; 
}

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

.bndx-form-input { 
    padding: 14px; 
    border-radius: 12px; 
    border: 1px solid var(--bndx-neutral); 
    font-family: inherit; 
}

.bndx-honey { display: none; }

/* Footer */
.bndx-footer { 
    background: var(--bndx-primary); 
    color: var(--bndx-white); 
    padding: 80px 0 40px; 
    border-radius: var(--bndx-radius) var(--bndx-radius) 0 0; 
}

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

.bndx-footer-col h4 { color: var(--bndx-white); margin-bottom: 20px; }
.bndx-footer-links { list-style: none; padding: 0; }
.bndx-footer-links a { 
    color: var(--bndx-white); 
    text-decoration: none; 
    opacity: 0.8; 
    transition: var(--bndx-transition); 
    display: block; 
    margin-bottom: 10px; 
}
.bndx-footer-links a:hover { opacity: 1; }

.bndx-footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 30px; 
    font-size: 0.85rem; 
    opacity: 0.7; 
}

/* Cookie Banner */
.bndx-cookie-banner { 
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    right: 20px; 
    background: var(--bndx-white); 
    color: var(--bndx-dark); 
    padding: 30px; 
    border-radius: var(--bndx-radius); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    z-index: 1000; 
    max-width: 500px; 
    margin: 0 auto; 
}

.bndx-cookie-btns { 
    display: grid; 
    gap: 10px; 
    margin-top: 20px; 
}

.bndx-cookie-panel { 
    margin-top: 20px; 
    padding-top: 20px; 
    border-top: 1px solid var(--bndx-neutral); 
}

.bndx-cookie-cat { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 10px; 
    cursor: pointer; 
}

/* Badge & Decor */
.bndx-badge { 
    width: 120px; 
    height: 120px; 
    animation: bndx-rotate 20s linear infinite; 
}

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

.bndx-glow { 
    position: absolute; 
    width: 300px; 
    height: 300px; 
    background: radial-gradient(circle, var(--bndx-primary) 0%, transparent 70%); 
    opacity: 0.1; 
    pointer-events: none; 
    z-index: -1; 
}

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

/* Utility */
.bndx-breadcrumbs { margin-bottom: 2rem; font-size: 0.9rem; }
.bndx-breadcrumbs a { color: var(--bndx-primary); text-decoration: none; }

@media (prefers-reduced-motion: reduce) { 
    * { 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}
.bndx-table-wrap{overflow-x:auto;max-width:100%}
.bndx-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){.bndx-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.bndx-btn:not([aria-controls]){display:none!important}}
@media (max-width:959px){html.js :where(#bndx-menu):not(.bndx-open){display:none!important}:where(header):has(#bndx-menu){position:relative}:where(#bndx-menu).bndx-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(--bndx-bg,Canvas);color:var(--bndx-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#bndx-menu).bndx-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #bndx-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}
.bndx-figure{margin:2rem 0}.bndx-figure img{display:block;width:100%;height:auto}
.bndx-legal-note{border-left:3px solid currentColor;padding:.75rem 1rem;margin:1rem 0}
.bndx-sitemap ul{columns:2 16rem;padding-left:1.1rem}


/* сборка: контраст - текст был цвета фона */
.bndx-footer a:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-footer > .bndx-container > .bndx-footer-grid > .bndx-footer-col > .bndx-footer-links > a:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-footer > .bndx-container > .bndx-footer-bottom > .bndx-container > p:not(:hover):not(:focus-visible){color:rgb(17 17 17)!important;-webkit-text-fill-color:rgb(17 17 17)!important}
.bndx-breadcrumbs.bndx-container > ol > li > a:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important}
.bndx-hero > .bndx-container.bndx-split > .bndx-figure > .bndx-caption:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-hero > .bndx-container.bndx-split > .bndx-prose > .bndx-caption:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-hero > .bndx-container > .bndx-split > .bndx-prose > .bndx-caption:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-hero > .bndx-container.bndx-split > div > .bndx-caption:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
.bndx-hero > .bndx-container > .bndx-split > div > .bndx-caption:not(:hover):not(:focus-visible){color:rgb(4 40 38)!important;-webkit-text-fill-color:rgb(4 40 38)!important;opacity:1!important}
