@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');:root{--red:#d92332;--dark:#101d2e;--muted:#617188;--line:#e7ebee;--bg:#f5f8fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:DM Sans,Arial,sans-serif;color:var(--dark);background:white}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}.topbar{background:#071d35;color:#cbd2d7;font-size:12px;padding:9px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:15px}.header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{display:flex;align-items:center;gap:12px;font-weight:800;font-family:Manrope,sans-serif;letter-spacing:-.7px;font-size:22px}.logo-mark{background:var(--red);color:#fff;border-radius:9px;padding:8px 11px;font-size:19px}.links{display:flex;gap:30px;align-items:center;font-weight:600;font-size:14px}.links a:hover{color:var(--red)}.btn{border:0;background:var(--red);color:#fff;padding:14px 20px;border-radius:9px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:9px}.btn:hover{background:#b91828}.btn-outline{background:white;color:var(--dark);border:1px solid #d5dde2}.btn-outline:hover{background:#f2f5f7}.mobile{display:none}.hero{background:linear-gradient(115deg,#071a31 0%,#082b50 52%,#0055a4 100%);color:white;overflow:hidden}.hero-inner{min-height:525px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:45px}.eyebrow{text-transform:uppercase;letter-spacing:2.1px;font-size:12px;font-weight:800;color:#ff858c}.hero h1{font:800 clamp(36px,4.8vw,64px)/1.12 Manrope,sans-serif;letter-spacing:-2px;margin:18px 0}.hero p{color:#d3dde2;line-height:1.75;font-size:17px;max-width:550px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero .btn-outline{background:transparent;color:#fff;border-color:#72828c}.hero-visual{display:grid;grid-template-columns:1fr 1fr;gap:16px;transform:rotate(-5deg)}.hero-visual img{width:100%;height:225px;object-fit:contain;background:white;border-radius:18px;padding:12px;box-shadow:0 16px 32px #0003}.hero-visual img:nth-child(2){margin-top:55px}.section{padding:84px 0}.section.soft{background:var(--bg)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section h2,.page-hero h1{font:800 clamp(28px,3.2vw,43px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:8px 0 12px}.muted{color:var(--muted);line-height:1.8}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.category{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s}.category:hover,.product:hover{transform:translateY(-3px);box-shadow:0 14px 40px #1c2b3614}.category img{width:100%;height:220px;object-fit:contain;padding:26px;background:#fafbfc}.category .content{padding:23px}.category h3{font:800 21px Manrope;margin:0 0 9px}.category p{color:var(--muted);margin:0 0 20px}.redlink{color:var(--red);font-weight:700}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:40px}.stat{border-left:3px solid var(--red);padding-left:20px}.stat strong{display:block;font:800 29px Manrope}.stat span{color:var(--muted)}.page-hero{background:#f4f6f7;padding:58px 0}.page-hero p{max-width:720px}.catalog-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-bottom:25px}.filters{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #dbe1e6;background:white;border-radius:100px;padding:11px 16px;font-weight:700;color:#5a6872}.chip.active{background:var(--dark);color:#fff;border-color:var(--dark)}.search{border:1px solid #dbe1e6;border-radius:10px;padding:12px 15px;min-width:260px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product{border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;background:#fff}.product-photo{height:235px;background:#fafafa;display:flex;align-items:center;justify-content:center;padding:15px}.product-photo img{width:100%;height:100%;object-fit:contain}.product-body{padding:17px}.pill{display:inline-block;background:#fff1f2;color:#ba1b2a;border-radius:30px;padding:5px 10px;font-size:11px;font-weight:800}.product h3{font:800 15px/1.5 Manrope;margin:12px 0}.spec{font-size:12px;color:var(--muted);margin:4px 0}.product .redlink{display:inline-block;margin-top:15px;font-size:13px}.empty{padding:45px;text-align:center;color:var(--muted)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.about-image{background:#f5f7f8;border-radius:20px;padding:40px}.about-image img{width:100%;height:360px;object-fit:contain}.cta{background:linear-gradient(112deg,#071a31 0%,#0055a4 100%);color:#fff;border-radius:20px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{margin:0 0 10px}.cta p{margin:0;color:#ccd6dc}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}.contact-card{background:#f5f7f8;border-radius:18px;padding:32px}.contact-card p{line-height:1.8}.form{display:grid;gap:14px}.form label{font-weight:700;font-size:13px}.form input,.form textarea,.form select{width:100%;border:1px solid #d9e0e5;padding:13px 14px;border-radius:9px;background:white}.form textarea{min-height:135px;resize:vertical}.form small{color:var(--muted)}.footer{background:#071b31;color:#cad4da;padding:45px 0 25px}.footer-grid{display:flex;justify-content:space-between;gap:25px}.footer a:hover{color:white}.footnote{border-top:1px solid #34434e;margin-top:35px;padding-top:20px;display:flex;justify-content:space-between;font-size:12px;color:#98a8b3}.modal{position:fixed;inset:0;background:#09141bc9;z-index:50;display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-box{background:white;width:min(860px,100%);max-height:90vh;overflow:auto;border-radius:18px;display:grid;grid-template-columns:1fr 1fr;position:relative}.modal-img{padding:25px;background:#fafafa;display:flex;align-items:center}.modal-img img{width:100%;height:390px;object-fit:contain}.modal-content{padding:40px 30px}.modal-close{position:absolute;right:12px;top:12px;border:0;background:#edf0f2;border-radius:50%;width:36px;height:36px;font-size:20px}.modal-content h2{font:800 23px Manrope}.modal-content li{margin:10px 0;color:#53616d}.notice{font-size:12px;color:var(--muted)}@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,1fr)}.hero-inner{gap:20px}.links{gap:15px}}@media(max-width:680px){.topbar{display:none}.nav{height:68px}.links{display:none;position:absolute;top:68px;left:0;right:0;background:white;padding:24px;flex-direction:column;align-items:stretch;box-shadow:0 15px 25px #0001}.links.open{display:flex}.mobile{display:block;background:none;border:0;font-size:27px}.hero-inner{grid-template-columns:1fr;padding:65px 0}.hero-visual{display:none}.section{padding:60px 0}.category-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-photo{height:175px}.product-body{padding:13px}.catalog-controls{display:block}.search{margin-top:12px;width:100%}.stats{grid-template-columns:1fr}.cta,.footer-grid,.footnote{display:block}.cta .btn{margin-top:24px}.modal-box{grid-template-columns:1fr}.modal-img img{height:230px}.modal-content{padding:22px}.section-head{display:block}}
/* V3: originalni logo, kategorije i novosti */
.brand-logo{display:block;width:100%;max-width:260px;height:auto;object-fit:contain}.header .logo{width:260px;flex-shrink:0}.footer .brand-logo{max-width:250px;background:white;border-radius:5px;padding:6px}.about-images-two{display:grid;gap:18px;align-content:center}.about-images-two img{width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:14px;background:#f5f7f8}.category-landing .category-photo img{object-fit:contain}.catalog-all{text-align:center;margin-top:35px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.news-card{padding:38px;border:1px solid var(--line);border-radius:18px;background:#fff}.news-card h2{font:800 26px Manrope,Arial,sans-serif}.news-card p{color:var(--muted);line-height:1.7}.news-card .redlink{display:inline-block;margin-top:14px}
@media(max-width:950px){.header .logo{width:210px}.links{gap:12px;font-size:13px}}
@media(max-width:680px){.header .logo{width:200px}.news-grid{grid-template-columns:1fr}.news-card{padding:24px}.category-landing{grid-template-columns:1fr}}

.category-landing .category-body{padding:23px}.category-landing .redlink{display:inline-block;margin-top:4px}

.production-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}.production-gallery figure{margin:0;background:#f5f7f9;border-radius:12px;overflow:hidden}.production-gallery img{width:100%;height:280px;object-fit:cover;display:block}.production-gallery figcaption{padding:12px 16px;font-weight:600}@media(max-width:800px){.production-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.production-gallery{grid-template-columns:1fr}}

/* SPO-MATPLAST: Lovable-inspired navy-to-blue visual treatment */
.hero{background:linear-gradient(115deg,#071a31 0%,#082b50 52%,#0055a4 100%)}
.cta{background:linear-gradient(112deg,#071a31 0%,#0055a4 100%)}
.btn:not(.btn-outline){background:#d92332}.btn:not(.btn-outline):hover{background:#b91828}
.page-hero{background:linear-gradient(110deg,#f1f6fd,#ffffff)}

/* V5: plava industrijska pozadina, crveni brand naglasci */
:root{--red:#d92332;--bg:#f5f8fc}
.btn,.category,.product,.news-card{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.btn:not(.btn-outline):hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(217,35,50,.22)}
.category:hover,.product:hover,.news-card:hover{box-shadow:0 16px 36px rgba(7,26,49,.10)}
:focus-visible{outline:3px solid #d92332;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* V5 - modernizacija: velika fotografija proizvodnje, uredniji katalog, editorial galerija */
.hero-inner{grid-template-columns:1fr 1.04fr;gap:64px;padding-top:48px;padding-bottom:48px;min-height:580px}
.hero-photo{display:block;position:relative;transform:none;border-radius:22px;overflow:hidden;box-shadow:0 28px 65px rgba(0,8,25,.35);border:1px solid rgba(255,255,255,.17);height:460px;background:#14253b}
.hero-photo img,.hero-photo img:nth-child(2){width:100%;height:100%;display:block;object-fit:cover;object-position:center;padding:0;margin:0;border-radius:0;box-shadow:none;background:none}
.hero-photo-caption{position:absolute;bottom:0;left:0;right:0;padding:35px 22px 18px;color:white;font-weight:800;letter-spacing:2px;font-size:11px;background:linear-gradient(transparent,rgba(0,15,32,.85))}
.hero .eyebrow{color:#ff939b}.hero h1{max-width:650px}
.category-grid{gap:24px}.category{border-radius:20px;box-shadow:0 4px 24px rgba(7,26,49,.035)}
.category img{height:250px;padding:34px;background:linear-gradient(140deg,#f8fafd,#eef4fa)}
.category .content{padding:27px}.category-number{display:block;color:#d92332;font-size:10px;letter-spacing:1.6px;font-weight:800;margin-bottom:13px}
.category:hover{transform:translateY(-6px)}
.product-grid{gap:22px}.product{border-radius:18px;box-shadow:0 3px 20px rgba(7,26,49,.04)}
.product-photo{background:linear-gradient(150deg,#fafcff,#f1f5fa);height:245px;padding:24px}.product-body{padding:20px}
.product:hover{transform:translateY(-5px)}
.about-image{padding:0;overflow:hidden;background:#eaf0f5;box-shadow:0 14px 40px rgba(7,26,49,.10)}
.about-image img{display:block;height:400px;object-fit:cover}
.editorial-gallery{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.editorial-gallery .gallery-item{grid-column:span 4;min-width:0;background:#f1f5f9;border-radius:18px;box-shadow:0 3px 18px rgba(7,26,49,.05)}
.editorial-gallery .gallery-item:nth-child(1),.editorial-gallery .gallery-item:nth-child(4){grid-column:span 7}
.editorial-gallery .gallery-item:nth-child(2),.editorial-gallery .gallery-item:nth-child(3){grid-column:span 5}
.editorial-gallery .gallery-item:nth-child(5),.editorial-gallery .gallery-item:nth-child(6){grid-column:span 6}
.editorial-gallery img{height:300px;object-fit:cover;transition:transform .35s ease}
.editorial-gallery .gallery-item:nth-child(1) img,.editorial-gallery .gallery-item:nth-child(4) img{height:350px}
.editorial-gallery figure:hover img{transform:scale(1.025)}
.editorial-gallery figcaption{background:#fff;padding:17px 20px;color:#182b41}
@media(max-width:900px){.hero-inner{gap:30px}.hero-photo{height:390px}.editorial-gallery .gallery-item{grid-column:span 6!important}.editorial-gallery img,.editorial-gallery .gallery-item:nth-child(1) img,.editorial-gallery .gallery-item:nth-child(4) img{height:270px}}
@media(max-width:680px){.hero-inner{grid-template-columns:1fr;gap:28px;padding:55px 0}.hero-photo{display:block;height:320px}.hero h1{letter-spacing:-1.2px}.category img{height:210px}.editorial-gallery .gallery-item{grid-column:span 12!important}.editorial-gallery img,.editorial-gallery .gallery-item:nth-child(1) img,.editorial-gallery .gallery-item:nth-child(4) img{height:290px}.about-image img{height:290px}}
@media(prefers-reduced-motion:reduce){.editorial-gallery img{transition:none}}

/* V10: accessible contact form status, invisible honeypot */
.spam-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.form-success,.form-error{padding:12px 16px;border-radius:8px;margin-bottom:14px}.form-success{background:#e9f8ee;color:#155c2a}.form-error{background:#fff0f0;color:#8b1520}

/* V11: certifikati */
.cert-home-section{background:#f6f9fd}.cert-home-inner{display:flex;align-items:center;justify-content:space-between;gap:3rem;background:#fff;border:1px solid #e5edf6;border-radius:22px;padding:2.2rem 3rem;box-shadow:0 12px 34px rgba(7,26,49,.06)}.cert-home-inner h2{margin:.5rem 0 1rem}.cert-home-image{display:block;flex:0 1 340px}.cert-home-image img{width:100%;height:auto;display:block;object-fit:contain}.cert-news-image{display:flex;align-items:center;justify-content:center;min-height:90px;margin-bottom:1.1rem;background:#f6f9fd;border-radius:12px;padding:12px}.cert-news-image img{max-width:100%;max-height:82px;object-fit:contain}.cert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;align-items:start}.cert-document{background:white;border:1px solid #e3eaf3;border-radius:18px;padding:1.4rem;text-align:center;box-shadow:0 8px 25px rgba(7,26,49,.06)}.cert-document img{width:100%;max-height:680px;object-fit:contain;display:block;margin:1rem auto}.cert-document h2{margin:.2rem 0}.cert-back{margin-top:2rem}@media(max-width:720px){.cert-home-inner{flex-direction:column;align-items:stretch;padding:1.5rem;gap:1rem}.cert-home-image{flex-basis:auto;max-width:350px}.cert-grid{grid-template-columns:1fr}}
