
:root{--primary:#0D47A1;--accent:#C62828;--text:#0B1220;--muted:#5B6472;--bg:#fff;--bg-alt:#F7FAFC;--border:#E5E7EB;--shadow:0 10px 30px rgba(0,0,0,.08)}
*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6;scroll-behavior:smooth}
img{max-width:100%;display:block;height:auto}.container{max-width:1200px;margin:0 auto;padding:0 20px}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(6px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand-text{display:flex;flex-direction:column}.brand-name{font-weight:800}.brand-tag{color:#64748B;font-style:italic}
nav a{color:inherit;text-decoration:none;margin-left:18px;font-weight:600;position:relative}
nav a::after{content:"";position:absolute;left:0;bottom:-6px;height:2px;width:0;background:var(--primary);transition:width .25s}
nav a:hover::after,nav a.active::after{width:100%}
footer{border-top:1px solid var(--border);background:var(--bg-alt);padding:32px 0;color:#334155}
.footer-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.brand-inline{display:flex;align-items:center;gap:10px}
.copyright{text-align:center;margin-top:12px;color:#64748B;font-size:.95rem}

/* Preloader */
#preloader{position:fixed;inset:0;background:#fff;display:grid;place-items:center;z-index:1000;transition:opacity .4s ease}
#preloader.hide{opacity:0;pointer-events:none}#preloader img{width:60px;height:60px;margin-bottom:10px}
.spinner{width:28px;height:28px;border:3px solid #e5e7eb;border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Hero slider */
.hero{position:relative}.slider{position:relative;height:72vh;min-height:420px;overflow:hidden}
.slide{position:absolute;inset:0;opacity:0;transform:scale(1.02);transition:opacity .8s ease, transform 1.2s ease}
.slide.active{opacity:1;transform:scale(1)}.slide video{width:100%;height:100%;object-fit:cover}
.overlay{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.25) 40%,rgba(0,0,0,.55))}
.overlay h1{font-size:clamp(2rem,5vw,3rem);margin:0 0 8px}.overlay p{max-width:820px;margin:0 auto 16px;color:#E9EEF5}
.slider-dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px}
.slider-dots button{width:10px;height:10px;border:none;border-radius:50%;background:#fff;opacity:.6;cursor:pointer}.slider-dots button.active{opacity:1}

/* Sections */
.section{padding:70px 0}.section h2{text-align:center;margin:0 0 8px}
.lead{text-align:center;color:var(--muted);max-width:860px;margin:0 auto 28px}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;align-items:center}
.bullets{margin:0;padding-left:18px}.bullets li{margin:6px 0}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.card{border:1px solid var(--border);background:#fff;border-radius:16px;padding:18px;box-shadow:var(--shadow);transition:transform .2s ease, box-shadow .2s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,.1)}

/* CTA banner */
.cta-banner{background:linear-gradient(90deg,rgba(13,71,161,.1),rgba(198,40,40,.08));border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0}

/* Banner */
.banner{position:relative;height:320px;overflow:hidden;border-bottom:1px solid var(--border)}
.banner img{width:100%;height:100%;object-fit:cover;filter:contrast(1.05) saturate(1.05)}
.banner h1{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;background:rgba(0,0,0,.45);padding:10px 16px;border-radius:12px}

/* Team */
.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;margin-top:12px}
.member{border:1px solid var(--border);border-radius:16px;padding:18px;text-align:center;background:#fff;box-shadow:var(--shadow)}
.member img{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto 10px;border:3px solid var(--primary)}
.member span{color:var(--muted);font-size:.95rem}

/* Products */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.product-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.product-card img{width:100%;height:180px;object-fit:cover}.pc-body{padding:14px}

/* News */
.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.news-card{display:flex;gap:12px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.news-card img{width:160px;height:120px;object-fit:cover}.news-card .date{color:var(--muted);font-size:.9rem}

/* Contact */
.contact-form .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:12px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:10px}

/* Buttons */
.btn{display:inline-block;padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:none;cursor:pointer}
.btn.primary{background:#88001b;color:#fff;box-shadow:var(--shadow)}
.btn.progota{background:#3f48cc;color:#fff;box-shadow:var(--shadow)}
.btn.ghost{border:1px solid var(--border);color:var(--text)}

/* Scroll to top */
#topBtn{display:none;position:fixed;bottom:20px;right:20px;background:var(--primary);color:#fff;border:none;border-radius:50%;width:42px;height:42px;cursor:pointer}
#topBtn.show{display:block}

.contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px;}
.contact-left form {  display: flex; flex-direction: column; gap: 14px;}
.contact-right h2 {  margin-bottom: 10px;}
.office {  margin-bottom: 18px;  background: #f9fafc;  border-left: 4px solid #0D47A1;  padding: 10px 16px;  border-radius: 6px;}
.map iframe {  margin-top: 15px;  border-radius: 10px;  box-shadow: 0 4px 12px rgba(0,0,0,0.1);}