
:root { --blue:#0f3d91; --accent:#f59e0b; --ink:#1f2937; --bg:#f8fafc; --e:#e5e7eb; }
* { margin:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color:var(--ink); line-height:1.6; background:#fff; }
a { color:inherit; text-decoration:none; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

header { background:#fff; border-bottom:1px solid var(--e); position:sticky; top:0; z-index:50; }
nav { display:flex; justify-content:space-between; align-items:center; padding:15px 0; }
.logo { font-size:18px; font-weight:800; color:var(--blue); letter-spacing:-.3px; }
.logo span { color:var(--accent); }
.nav-links { display:flex; gap:22px; }
.nav-links a { font-weight:500; font-size:14px; color:#4b5563; }
.nav-links a:hover { color:var(--blue); }
.cta-btn { background:var(--blue); color:#fff; padding:9px 18px; border-radius:6px; font-size:14px; font-weight:600; }
.cta-btn:hover { background:#0c3169; }

.hero {
  background: linear-gradient(135deg,rgba(10,18,40,.82),rgba(15,30,65,.75)), url('assets/BOLTS/Hexagon flange bolts-DIN6921/DIN6921-Black.jpg') center/cover no-repeat;
  color:#fff; padding:90px 0 100px; text-align:center;
}
.hero h1 { font-size:46px; font-weight:800; line-height:1.15; margin-bottom:18px; }
.hero p { font-size:17px; opacity:.85; max-width:640px; margin:0 auto 28px; }
.hero-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-p { background:var(--accent); color:#000; padding:14px 26px; border-radius:6px; font-weight:700; }
.btn-s { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.3); padding:14px 26px; border-radius:6px; font-weight:600; }

section { padding:80px 0; }
.sec-title { text-align:center; margin-bottom:44px; }
.sec-title h2 { font-size:30px; font-weight:800; margin-bottom:8px; }
.sec-title p { color:#6b7280; font-size:15px; }

.grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.card { background:#fff; border:1px solid var(--e); border-radius:12px; overflow:hidden; transition:transform .2s,box-shadow .2s; cursor:pointer; }
.card:hover { transform:translateY(-5px); box-shadow:0 14px 36px rgba(0,0,0,.07); }
.card img.card-img { width:100%; aspect-ratio:16/11; object-fit:cover; background:#eef2ff; display:block; }
.card-body { padding:15px 18px; }
.card h3 { font-size:16px; font-weight:700; }
.card p { font-size:13px; color:#6b7280; margin:4px 0 8px; }
.card-meta { font-size:12px; color:#9ca3af; }

.cat-section { background:var(--bg); }
.banner { width:100%; height: clamp(220px, 36vw, 420px); max-height:420px; object-fit:contain; background:#f1f5f9; border-radius:12px; margin-bottom:28px; }
.sub-pills { display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 20px; }
.pill { background:#fff; border:1px solid var(--e); padding:7px 14px; border-radius:6px; font-size:13px; cursor:pointer; font-weight:500; transition:all .2s; }
.pill:hover, .pill.on { border-color:var(--blue); color:var(--blue); background:#eff6ff; font-weight:700; }

.gal { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
.gal-item { background:#fff; border:1px solid var(--e); border-radius:8px; overflow:hidden; cursor:zoom-in; transition:transform .2s; }
.gal-item:hover { transform:scale(1.03); }
.gal-item img { width:100%; aspect-ratio:4/3; object-fit:cover; background:#eef2ff; display:block; }
.gal-item .gal-title { padding:8px 10px; font-size:12px; color:#374151; font-weight:500; }

.forms { background:#fff; border:1px solid var(--e); border-radius:12px; padding:30px; max-width:760px; margin:0 auto; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
input,select,textarea { width:100%; padding:11px; border:1px solid var(--e); border-radius:6px; font-size:14px; font-family:inherit; resize:vertical; }
.submit { background:var(--blue); color:#fff; padding:13px 26px; border:none; border-radius:6px; font-weight:700; font-size:14px; cursor:pointer; }
.submit:hover { background:#0c3169; }

footer { background:#0b1f54; color:#cbd5e1; padding:52px 0 22px; font-size:13px; }
.fgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:28px; margin-bottom:36px; }
footer h4 { color:#fff; margin-bottom:10px; font-size:13px; text-transform:uppercase; letter-spacing:1px; }
footer a { color:#94a3b8; display:block; padding:2px 0; }
footer a:hover { color:#fff; }
.copy { border-top:1px solid #1e3a6e; padding-top:20px; text-align:center; color:#64748b; font-size:12px; }

.light { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:999; display:none; align-items:center; justify-content:center; padding:24px; }
.light.open { display:flex; }
.light img { max-width:94vw; max-height:90vh; border-radius:6px; }
.light-hint { position:absolute; bottom:16px; left:0; right:0; text-align:center; color:#fff; opacity:.8; font-size:13px; cursor:pointer; }

.hidden { display:none; }
@media(max-width:860px){
  .grid { grid-template-columns:repeat(2,1fr); }
  .hero h1 { font-size:30px; }
  .nav-links { display:none; }
  .row { grid-template-columns:1fr; }
}
