:root {
  /* Industrial, high-trust corporate B2B color palette */
  --bg: #f8fafc;                 /* Crisp, clean professional background */
  --panel: #ffffff;              /* Pure white cards for stark contrast */
  --text: #0f172a;               /* Deep slate/charcoal for premium readability */
  --muted: #475569;              /* Professional steel gray for secondary text */
  --brand: #0284c7;              /* Precision industrial blue */
  --brand-dark: #0369a1;         /* Deep accent blue */
  --line: #e2e8f0;               /* Clean, sharp grid lines instead of fuzzy blurs */
  
  /* Precision design tokens - swapped bubbly rounds for sharp, engineered angles */
  --radius: 4px;                 /* Sharp, high-precision corners */
  --radius-sm: 2px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  background-color: var(--bg);
  color:var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{color:inherit;text-decoration:none;transition: all 0.2s ease}
img{max-width:100%;display:block;object-fit: cover}

.container{max-width:var(--max);margin:0 auto;padding:0 24px}

/* Clean, corporate fixed header */
.topbar{
  position:sticky;top:0;z-index:50;
  background: var(--panel);
  border-bottom:2px solid var(--line); /* Stronger structural separation */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand{
  display:flex;align-items:center;gap:14px;font-weight:700;letter-spacing:-0.5px;text-transform: uppercase;
}
.logo{
  width:32px;height:32px;border-radius:var(--radius-sm);
  background: var(--brand); /* Solid, reliable fill instead of casual gradient */
}
.brand th, .brand span { font-size: 20px; color: var(--text); }
.brand small{display:block;color:var(--muted);font-weight:500;letter-spacing:1px;font-size:11px;margin-top:2px}

.menu{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.menu a{
  padding:8px 16px;border-radius:var(--radius);color:var(--muted);
  font-weight: 500;font-size: 14px;
}
.menu a:hover,.menu a.active{
  color:var(--brand);
  background: #f1f5f9;
}

/* Dropdown styling tailored for corporate navigation (Capabilities, Industries) */
.dropdown{ position: relative; }
.dropbtn{
  padding:8px 16px;border-radius:var(--radius);
  color: var(--muted); background: transparent; border: none;
  cursor:pointer; font: inherit; font-weight: 500; font-size: 14px;
}
.dropbtn:hover{ color: var(--brand); background: #f1f5f9; }
.dropmenu{
  position:absolute;left:0;top: calc(100% + 4px);min-width: 220px;
  display:none;background: var(--panel);border:1px solid var(--line);
  border-radius: var(--radius);padding: 6px;box-shadow: var(--shadow);z-index: 60;
}
.dropmenu a{ display:block; padding:10px 12px; border-radius: var(--radius); color: var(--muted); font-size: 14px;}
.dropmenu a:hover{ background: #f1f5f9; color: var(--brand); }
.dropdown:hover .dropmenu{ display:block; }

/* Bold, action-driven Request a Quote (RFQ) buttons */
.actions{display:flex;gap:12px;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
  padding:10px 20px;border-radius:var(--radius); border: 1px solid var(--brand);
  cursor:pointer; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn:hover{background: var(--brand-dark); border-color: var(--brand-dark);}
.btn.secondary{background:transparent; color: var(--text); border-color: var(--muted);}
.btn.secondary:hover{background: #f1f5f9;}

.burger{
  display:none;border:1px solid var(--line);background:var(--panel);color:var(--text);
  padding:8px 12px;border-radius:var(--radius);cursor:pointer;
}

/* Structural Hero Banner to win RFQs instantly */
.hero{padding:80px 0; background: #0f172a; color: #ffffff; position: relative;}
.hero-grid{display:grid;gap:32px;grid-template-columns: 1.2fr .8fr;align-items:center;}
.hero-card{background: transparent; border: none; padding: 0; box-shadow: none;}
.tag{
  display:inline-flex; border:1px solid rgba(255,255,255,0.2); border-radius:var(--radius-sm);
  padding:4px 10px; color: #38bdf8; font-size:11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom:16px
}
.hero h1{font-size:48px; font-weight: 800; line-weight:1.15; margin:0 0 16px; letter-spacing: -1px;}
.hero p{color:#94a3b8; margin:0 0 28px; font-size:18px; line-height:1.6; max-width:65ch}

/* High-credibility engineering specs / KPI layout */
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.kpi{
  border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius);padding:16px;
  background: rgba(255,255,255,0.03);
}
.kpi strong{display:block;font-size:24px; font-weight: 700; color: #fff;}
.kpi span{color:#94a3b8;font-size:13px; text-transform: uppercase; letter-spacing: 0.5px;}

.side{display:grid;gap:16px}
.tile{
  border:1px solid var(--line); background: var(--panel);
  border-radius: var(--radius); padding:24px; box-shadow: var(--shadow);
}
.tile h3{margin:0 0 8px;font-size:18px; font-weight: 700;}
.tile p{margin:0;color:var(--muted);font-size:14px;}

/* Grid Sections for Capabilities (CNC Milling, Turning, Prototyping) */
.section{padding:60px 0}
.section h2{margin:0 0 12px;font-size:32px; font-weight: 700; letter-spacing: -0.5px;}
.section .sub{color:var(--muted);margin:0 0 32px;font-size: 16px;max-width:75ch}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{
  border:1px solid var(--line); background: var(--panel);
  border-radius: var(--radius); padding:24px; box-shadow: var(--shadow);
}
.card h3{margin:0 0 12px;font-size:20px; font-weight: 700;}
.card p{margin:0;color:var(--muted);font-size:15px;}
.card ul{margin:16px 0 0 20px;color:var(--muted)}
.card li{margin:8px 0; font-size:14px;}

.split{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.list{
  border:1px solid var(--line);border-radius: var(--radius);
  overflow:hidden;background: var(--panel);box-shadow: var(--shadow);
}
.list a{
  display:flex;justify-content:space-between;gap:14px;
  padding:16px 20px;border-bottom:1px solid var(--line);
  color:var(--text); font-weight: 500;
}
.list a:hover{color:var(--brand);background:#f8fafc}
.list a:last-child{border-bottom:0}

/* Industrial RFQ Form and Contact Section */
.page-head{padding:60px 0 24px}
.page-head h1{margin:0 0 12px;font-size:40px; font-weight: 800;}
.page-head p{margin:0;color:var(--muted);font-size:16px;}

.form{display:grid;gap:16px;max-width:600px; background: var(--panel); padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);}
.input{
  width:100%;padding:12px 16px;border-radius:var(--radius);
  border:1px solid #cbd5e1;background:var(--panel);color:var(--text);
  font-family: inherit; font-size: 14px; transition: border-color 0.2s;
}
.input:focus{outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(2,132,199,0.15);}
textarea.input{min-height:120px;resize:vertical}

/* Industrial Footer with Compliance / Badges */
.footer{
  border-top:2px solid var(--line); background: #0f172a;
  padding:56px 0; color:#94a3b8; font-size: 14px;
}
.footer-grid{ display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:32px; }
.footer h4{margin:0 0 16px;color:#fff; text-transform: uppercase; font-size: 12px; letter-spacing: 1px;}
.footer a{color:#94a3b8}
.footer a:hover{color:#fff}

.badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.badge{
  border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-sm);
  padding:8px 12px;background:rgba(255,255,255,0.05);color:#e2e8f0;
  font-size:12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}

@media (max-width: 940px){
  .hero-grid, .grid-3, .grid-2, .split, .footer-grid, .kpis {grid-template-columns:1fr}
  .menu, .actions .hide-sm{display:none}
  .burger{display:inline-flex}
  .hero h1{font-size:36px}
  .hero{padding: 48px 0;}
}
/* Hero Image Styling */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(15, 23, 42, 0.85);
  padding: 10px 16px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Select styling for corporate RFQ forms */
select.input {
  appearance: none;
  background: var(--panel);
  cursor: pointer;
}
