:root{--accent:#1D4ED8;--accent2:#93B2FF;--dark:#101828;--muted:#5b6578;--bg:#f3f6fc;--line:#e4e8f0;--soft:#e8efff}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--dark);background:#fff;line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent2);outline-offset:2px}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
/* header */
.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;height:76px;gap:20px}
.logo img{height:58px;width:auto}
nav#nav{display:flex;gap:30px;font-weight:600;font-size:15px;align-items:center}
nav#nav a:hover,nav#nav a.on{color:var(--accent)}
.dd{position:relative}
.ddm{display:none;position:absolute;top:100%;left:-16px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px rgba(16,24,40,.12);padding:8px;min-width:220px}
.ddm a{display:block;padding:10px 14px;border-radius:8px}
.ddm a:hover{background:var(--soft)}
.dd:hover .ddm,.dd:focus-within .ddm{display:block}
.dd>a{display:block;padding:26px 0}
.right{display:flex;align-items:center;gap:18px}
.lang{display:flex;gap:10px;font-size:14px;color:var(--muted)}
.lang b{color:var(--accent)}
.burger{display:none;background:none;border:0;width:40px;height:40px;cursor:pointer;flex-direction:column;justify-content:center;gap:5px;align-items:center}
.burger span{width:24px;height:2px;background:var(--dark);display:block}
/* buttons */
.btn{display:inline-block;background:var(--accent);color:#fff;font-weight:700;padding:14px 26px;border-radius:12px;transition:.2s;border:2px solid var(--accent);cursor:pointer;font-size:15px;font-family:inherit}
.btn:hover{background:#1840b0;border-color:#1840b0}
.btn.sm{padding:10px 18px;font-size:14px}
.btn.ghost{background:#fff;color:var(--accent)}
.btn.white{background:#fff;color:var(--accent);border-color:#fff}
.btn.line{background:transparent;color:#fff;border-color:#fff}
/* hero */
.hero{background:linear-gradient(135deg,#eef3ff 0%,#fff 60%);padding:70px 0 80px;overflow:hidden}
.herow{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.tag{display:inline-block;background:var(--soft);color:var(--accent);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:7px 14px;border-radius:99px;margin-bottom:20px}
.tag.dark{background:var(--dark);color:#fff}
h1{font-size:clamp(32px,4.6vw,56px);line-height:1.1;margin-bottom:20px;letter-spacing:-.01em}
.hero p{font-size:19px;color:var(--muted);margin-bottom:32px;max-width:560px}
.row{display:flex;gap:14px;flex-wrap:wrap}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:48px;max-width:560px}
.stats b{display:block;font-size:34px;color:var(--accent);line-height:1.1}
.stats span{font-size:14px;color:var(--muted)}
.hpics{position:relative;height:440px}
.hpics img{position:absolute;background:#fff;border-radius:24px;box-shadow:0 24px 50px rgba(16,24,40,.14);object-fit:contain;padding:14px}
.hpics .a{width:62%;left:0;top:30px}
.hpics .b{width:44%;right:0;top:0}
.hpics .c{width:42%;right:12%;bottom:0}
/* sections */
section{padding:84px 0}
section.tight{padding:40px 0 84px}
section.alt{background:var(--bg)}
h2{font-size:clamp(26px,3.2vw,40px);line-height:1.18;margin-bottom:14px}
.lead{color:var(--muted);font-size:18px;max-width:700px;margin-bottom:40px}
.shead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.sbtn{display:flex;gap:10px;align-items:center;margin-bottom:40px}
.arr{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}
.arr:hover{border-color:var(--accent);color:var(--accent)}
.link{font-weight:700;color:var(--accent);margin-left:8px}
.slider{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/5);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;scrollbar-width:thin}
.slider .p{scroll-snap-align:start}
/* product card */
.p{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;transition:.2s;display:flex;flex-direction:column}
.p:hover{box-shadow:0 16px 36px rgba(16,24,40,.1);transform:translateY(-3px)}
.pic{aspect-ratio:1/1;border-radius:12px;overflow:hidden;margin-bottom:12px;background:#fff;display:flex;align-items:center;justify-content:center}
.pic img{width:100%;height:100%;object-fit:contain}
.ph{width:100%;height:100%;background:linear-gradient(140deg,var(--soft),#fff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--accent)}
.ph svg{width:46%;height:auto}
.ph span{font-weight:800;letter-spacing:.12em;font-size:13px;color:var(--dark)}
.p h4{font-size:16px;line-height:1.3;margin-bottom:4px}
.p p{color:var(--muted);font-size:14px;flex:1}
.p a{margin-top:10px;font-weight:700;color:var(--accent);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
h3.cat{font-size:24px;margin:40px 0 18px;scroll-margin-top:100px}
h3.cat:first-child{margin-top:0}
/* lines */
.lines{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.line-card{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;transition:.2s;min-height:280px}
.line-card:hover{box-shadow:0 18px 40px rgba(16,24,40,.1);transform:translateY(-3px)}
.line-card.dark{background:var(--dark);color:#fff;border-color:var(--dark)}
.line-card.dark p,.line-card.dark li{color:#c9d3e6}
.line-card h3{font-size:24px;margin-bottom:10px;line-height:1.2}
.line-card p{color:var(--muted)}
.line-card img{border-radius:16px;background:#fff;padding:8px;max-height:200px;margin:0 auto;object-fit:contain}
.more{display:inline-block;margin-top:16px;font-weight:700;color:var(--accent)}
.line-card.dark .more{color:var(--accent2)}
.sublist{list-style:none;margin:6px 0}
.sublist li{padding:5px 0;color:var(--muted);border-bottom:1px dashed var(--line)}
.line-card.dark .sublist li{border-color:rgba(255,255,255,.15)}
/* production */
.prod{background:var(--dark);color:#fff}
.prod .lead{color:#c9d3e6}
.prod .tag{background:rgba(147,178,255,.16);color:var(--accent2)}
.split{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.steps{display:grid;gap:14px}
.st{display:flex;gap:18px;align-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:18px 20px}
.st b{font-size:17px}
.st p{color:#c9d3e6;font-size:14px}
.sic{flex:0 0 52px;height:52px;border-radius:14px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center}
.sic svg{width:28px;height:28px}
/* cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;transition:.2s;display:block}
.card:hover{box-shadow:0 14px 34px rgba(16,24,40,.09);transform:translateY(-3px)}
.ic{width:56px;height:56px;border-radius:16px;background:var(--soft);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.ic svg{width:30px;height:30px}
.card h3{font-size:20px;margin-bottom:8px}
.card p{color:var(--muted);font-size:16px}
.who{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
/* cta */
.cta{background:var(--accent);color:#fff;padding:70px 0}
.ctaw{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.ctaw h2{max-width:640px}
.ctaw p{color:#e3ebff;font-size:18px;max-width:600px}
.ctab{display:flex;gap:12px;flex-wrap:wrap}
/* inner pages */
.phead{background:linear-gradient(135deg,#eef3ff 0%,#fff 70%);padding:40px 0 50px}
.crumbs{font-size:14px;color:var(--muted);margin-bottom:26px;display:flex;gap:8px;flex-wrap:wrap}
.crumbs a:hover{color:var(--accent)}
.crumbs i{font-style:normal;opacity:.5}
.big{font-size:20px;color:var(--muted);max-width:760px}
.tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.tabs a{padding:10px 18px;border-radius:99px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:15px}
.tabs a:hover{border-color:var(--accent);color:var(--accent)}
.note{margin-top:34px;color:var(--muted);background:var(--bg);border-radius:14px;padding:18px 22px}
.statbox{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.statbox div{background:var(--bg);border-radius:20px;padding:26px}
.statbox b{display:block;font-size:34px;color:var(--accent);line-height:1.15}
.statbox span{color:var(--muted)}
.req{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.req div{border:1px solid var(--line);border-radius:16px;padding:18px 20px}
.req span{display:block;color:var(--muted);font-size:14px;margin-bottom:4px}
.req a{color:var(--accent)}
.faq{max-width:860px}
details{border:1px solid var(--line);border-radius:16px;margin-bottom:12px;background:#fff}
summary{cursor:pointer;padding:20px 24px;font-weight:700;font-size:18px;list-style:none;position:relative;padding-right:56px}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";position:absolute;right:22px;top:14px;font-size:26px;color:var(--accent)}
details[open] summary:after{content:"−"}
details p{padding:0 24px 22px;color:var(--muted);font-size:17px}
.c3{margin-bottom:50px}
.form{background:var(--bg);border-radius:24px;padding:40px}
.form .lead{margin-bottom:24px}
form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
label.full{grid-column:1/-1}
input,textarea{font:inherit;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:400}
input:focus,textarea:focus{outline:2px solid var(--accent2);border-color:var(--accent)}
form .btn{justify-self:start}
/* footer */
footer{background:var(--dark);color:#c9d3e6;padding:56px 0 30px;font-size:15px}
.fgrid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:36px;margin-bottom:34px}
.flogo{height:44px;margin-bottom:14px;background:#fff;padding:6px 10px;border-radius:10px}
footer h4{color:#fff;margin-bottom:12px}
footer p{margin-bottom:6px}
footer a:hover{color:#fff}
.copy{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;font-size:14px}
.wa-float{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.2);z-index:30}
.wa-float svg{width:28px;height:28px}
/* responsive */
@media(max-width:1000px){
 .grid{grid-template-columns:repeat(3,1fr)}
 .slider{grid-auto-columns:calc((100% - 36px)/3)}
 .lines{grid-template-columns:1fr}
 .lang{display:none}
}
@media(max-width:860px){
 .burger{display:flex}
 nav#nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 18px;border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(16,24,40,.08)}
 body.menu nav#nav{display:flex}
 nav#nav>a,.dd>a{padding:14px 0;border-bottom:1px solid var(--line)}
 .ddm{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 14px;min-width:0}
 .herow,.split,.cards,.who,.fgrid,.req{grid-template-columns:1fr}
 .hpics{height:300px}
 section{padding:56px 0}
 .hero{padding:44px 0 56px}
 .stats{gap:10px}
 .stats b{font-size:26px}
 .line-card{grid-template-columns:1fr;padding:26px}
 .line-card img{max-height:160px}
 .ctaw{flex-direction:column;align-items:flex-start}
 form{grid-template-columns:1fr}
 .form{padding:26px}
}
@media(max-width:600px){
 .grid{grid-template-columns:repeat(2,1fr);gap:12px}
 .slider{grid-auto-columns:70%}
 .p{padding:10px}
 .bar .btn.sm{display:none}
 .logo img{height:46px}
 .statbox{grid-template-columns:1fr 1fr}
 .statbox b{font-size:26px}
}

/* animated paper background */
.hero{position:relative}
.hero .herow{position:relative;z-index:2}
.paperbg{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.paperbg i{position:absolute;display:block;background:#fff;border:1px solid rgba(29,78,216,.16);border-radius:6px;box-shadow:0 10px 30px rgba(29,78,216,.10);opacity:.6;animation:pfloat 18s ease-in-out infinite;will-change:transform}
.paperbg i:after{content:"";position:absolute;left:14%;right:14%;top:22%;height:2px;background:rgba(29,78,216,.18);box-shadow:0 12px 0 rgba(29,78,216,.14),0 24px 0 rgba(29,78,216,.12),0 36px 0 rgba(29,78,216,.1)}
.paperbg i:nth-child(1){width:110px;height:150px;left:4%;top:12%;--r:-14deg;animation-duration:19s}
.paperbg i:nth-child(2){width:80px;height:110px;left:30%;top:68%;--r:10deg;animation-duration:15s;animation-delay:-4s}
.paperbg i:nth-child(3){width:130px;height:176px;left:52%;top:6%;--r:8deg;animation-duration:22s;animation-delay:-8s}
.paperbg i:nth-child(4){width:90px;height:124px;left:68%;top:62%;--r:-9deg;animation-duration:17s;animation-delay:-2s}
.paperbg i:nth-child(5){width:70px;height:96px;left:86%;top:14%;--r:16deg;animation-duration:20s;animation-delay:-11s}
.paperbg i:nth-child(6){width:100px;height:136px;left:16%;top:72%;--r:-6deg;animation-duration:24s;animation-delay:-6s}
.paperbg i:nth-child(7){width:60px;height:84px;left:44%;top:34%;--r:12deg;animation-duration:16s;animation-delay:-9s;opacity:.55}
@keyframes pfloat{
0%{transform:translate3d(0,0,0) rotate(var(--r))}
25%{transform:translate3d(26px,-34px,0) rotate(calc(var(--r) + 9deg))}
50%{transform:translate3d(-14px,-58px,0) rotate(calc(var(--r) - 6deg))}
75%{transform:translate3d(-30px,-22px,0) rotate(calc(var(--r) + 5deg))}
100%{transform:translate3d(0,0,0) rotate(var(--r))}}
@media (prefers-reduced-motion:reduce){.paperbg i{animation:none}}
@media (max-width:760px){.paperbg i:nth-child(n+5){display:none}.paperbg i{opacity:.6}}

.herovid{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.herovid video{width:100%;height:100%;object-fit:cover;display:block}

.herovid{-webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}

/* === Karina-style layout (11.11) === */
:root{--navy:#22306e;--sub:#4653a3;--k-accent:#2f5bea;--k-bg:#f6f8fe;--k-card:#e2eefe}
body{color:var(--navy)}
h1,h2,h3,h4{color:var(--navy)}
.btn{background:var(--k-accent);border-color:var(--k-accent)}
.btn.sm{border-radius:400px;padding:11px 22px}
.btn.ghost{background:rgba(255,255,255,.85);color:var(--k-accent)}
/* hero: full-bleed video, centred text */
.hero{background:#eef1f6;padding:0;min-height:calc(100vh - 76px);max-height:none;display:flex;align-items:stretch}
.hero .herow{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;padding-top:110px;padding-bottom:40px;max-width:1085px}
.herovid{-webkit-mask-image:none;mask-image:none}
.herovid video{filter:brightness(1.22) contrast(1.05) saturate(.7)}
.herovid:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(240,246,255,.62) 0%,rgba(232,241,255,.34) 60%,rgba(221,234,255,.2) 100%)}
.hero h1{font-size:clamp(32px,4.2vw,52px);font-weight:700;max-width:860px;margin:0 auto 22px;line-height:1.15}
.hero p{color:var(--sub);font-size:20px;max-width:640px;margin:0 auto 36px}
.hero .row{justify-content:center}
.hblocks{display:flex;justify-content:space-between;width:100%;max-width:900px;margin-top:auto;padding-top:80px;gap:20px}
.hblocks div{display:flex;flex-direction:column;align-items:center;flex:1}
.hic{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--k-accent);display:flex;align-items:center;justify-content:center;margin-bottom:10px;box-shadow:0 8px 24px rgba(47,91,234,.15)}
.hic svg{width:32px;height:32px}
.hblocks b{font-size:22px;line-height:1.2}
.hblocks span{font-size:16px;color:var(--sub)}
/* products: category cards like Karina */
.prods{background:var(--k-bg)}
.prods .shead{align-items:center;margin-bottom:34px}
.prods .lead{margin-bottom:0}
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.cat-card{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:16px;padding:30px 20px 0;min-height:340px;background:linear-gradient(0deg,rgba(136,171,240,.2),rgba(255,255,255,.2)),#f5f9fe;box-shadow:0 4px 12px rgba(193,211,240,.35);transition:.2s;overflow:hidden}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(47,91,234,.15)}
.cat-card h3{font-size:26px;font-weight:500;margin-bottom:18px}
.cat-card img{width:78%;max-width:260px;height:230px;object-fit:contain;object-position:center bottom;margin-top:auto;mix-blend-mode:multiply;border-radius:12px}
/* light, rounded blocks instead of dark */
.lines .line-card{background:var(--k-card);border:0;border-radius:16px}
.lines .line-card.dark{background:var(--k-card);color:var(--navy)}
.lines .line-card.dark p{color:var(--sub)}
.lines .line-card.dark .more{color:var(--k-accent)}
.line-card p{color:var(--sub)}
.line-card .tag.dark{background:var(--navy)}
.line-card img{mix-blend-mode:multiply;background:transparent}
.prod{background:#fff;color:var(--navy)}
.prod .wrap.split{background:var(--k-card);border-radius:16px;padding:48px}
.prod .lead{color:var(--sub)}
.prod .tag{background:#fff;color:var(--k-accent)}
.prod .btn.white{background:var(--k-accent);color:#fff;border-color:var(--k-accent)}
.st{background:#fff;border:0}
.st p{color:var(--sub)}
.card{border:0;background:var(--k-bg);border-radius:16px}
.card p,.lead{color:var(--sub)}
section.alt{background:var(--k-bg)}
section.alt .card{background:#fff}
.cta{background:var(--k-accent)}
/* footer: light like Karina */
footer{background:var(--k-bg);color:var(--sub)}
footer h4{color:var(--navy)}
footer a:hover{color:var(--k-accent)}
.flogo{background:transparent;padding:0;height:56px}
.copy{border-top:1px solid #dfe5f3}
/* language switcher links */
.lang a{color:var(--muted)}
.lang a:hover{color:var(--k-accent)}
.lang b{color:var(--k-accent)}
@media(max-width:860px){
 .hero{min-height:auto}
 .hero .herow{padding-top:60px;padding-bottom:36px;text-align:left;align-items:flex-start}
 .hero h1,.hero p{margin-left:0}
 .hero .row{justify-content:flex-start}
 .hblocks{padding-top:44px;gap:8px}
 .hblocks b{font-size:17px}.hblocks span{font-size:13px}
 .hic{width:48px;height:48px}.hic svg{width:24px;height:24px}
 .cats{grid-template-columns:1fr;gap:18px}
 .cat-card{min-height:240px}
 .cat-card img{width:50%}
 .prod .wrap.split{padding:26px;margin:0 16px}
 .lang{display:flex}
}
@media(max-width:1000px){.lang{display:flex}}
@media(max-width:600px){.lang{gap:6px;font-size:13px}.right{gap:8px}}
.cta h2,.cta h3{color:#fff}
.hblocks div{text-align:center}
@media(max-width:860px){.hero p{font-size:17px}}
/* === format fix 11.11: one image frame for every product === */
.pic{aspect-ratio:1/1;background:#fff;border:1px solid #eef1f7;border-radius:14px;padding:6px}
.pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.p h4{min-height:2.6em}
.cat-card{padding:26px 22px 22px;min-height:0;justify-content:flex-start;gap:16px}
.cat-card h3{margin:0;font-size:24px}
.cat-card img{width:100%;max-width:300px;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 auto;background:#fff;border-radius:14px;mix-blend-mode:normal;padding:8px;box-shadow:0 6px 18px rgba(36,71,153,.08)}
.line-card img{width:100%;max-width:220px;height:auto;max-height:none;aspect-ratio:1/1;object-fit:contain;background:#fff;mix-blend-mode:normal;border-radius:14px;padding:6px}
.slider{scroll-padding-left:0}
@media(max-width:860px){
 .cats{grid-template-columns:repeat(3,1fr);gap:10px}
 .cat-card{padding:14px 8px;gap:10px;border-radius:14px}
 .cat-card h3{font-size:14px;line-height:1.25;min-height:2.5em;display:flex;align-items:center;justify-content:center}
 .cat-card img{width:100%;padding:4px;border-radius:10px}
 .line-card{grid-template-columns:1fr;text-align:left;padding:22px}
 .line-card img{max-width:180px;margin:6px 0 0}
 .hero .row{flex-direction:column;align-items:stretch;width:100%;max-width:340px}
 .hero .row .btn{width:100%;text-align:center;justify-content:center}
}
@media(max-width:600px){
 .p{padding:10px;border-radius:14px}
 .p h4{font-size:14px}
 .p p{font-size:13px}
 .slider{grid-auto-columns:46%;gap:12px}
}
html,body{overflow-x:hidden}

/* pakety */
.cats{grid-template-columns:repeat(4,1fr)}
@media(max-width:860px){.cats{grid-template-columns:repeat(2,1fr)}}
